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 2f7c6def428852450d0e08c4526510d83eeebd00 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-ssh7583734706083395426.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-ssh7838009856960120518.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-ssh99883994221965078.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-ssh3245859433372172805.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-ssh17629268042769559234.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-2584 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 2f7c6def428852450d0e08c4526510d83eeebd00 Merge succeeded, producing 2f7c6def428852450d0e08c4526510d83eeebd00 Checking out Revision 2f7c6def428852450d0e08c4526510d83eeebd00 (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 2f7c6def428852450d0e08c4526510d83eeebd00 # 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 2f7c6def428852450d0e08c4526510d83eeebd00 # timeout=10 Commit message: "refactor(snap): Use copyDir library in install hook" > git rev-list --no-walk f1039673fb73a975d4717530427a4339b1e5412c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T14:18:47.350Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T14:18:47.412Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T14:18:47.424Z] ========================================================= [2022-06-17T14:18:47.424Z] EdgeX Global Pipelines Version Info [2022-06-17T14:18:47.424Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:18:48.190Z] ------------------- [2022-06-17T14:18:48.190Z] stable info: [2022-06-17T14:18:48.190Z] ------------------- [2022-06-17T14:18:48.190Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T14:18:48.190Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T14:18:48.190Z] Message: update stable to v1.0.234 [2022-06-17T14:18:48.765Z] ------------------- [2022-06-17T14:18:48.765Z] experimental info: [2022-06-17T14:18:48.765Z] ------------------- [2022-06-17T14:18:48.765Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T14:18:48.765Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T14:18:48.765Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T14:18:48.936Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-17T14:18:48.944Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-17T14:18:48.952Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T14:18:48.961Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T14:18:48.969Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T14:18:48.978Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T14:18:48.986Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T14:18:48.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T14:18:49.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T14:18:49.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T14:18:49.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T14:18:49.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-17T14:18:49.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T14:18:49.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T14:18:49.062Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T14:18:49.073Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T14:18:49.084Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T14:18:49.096Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T14:18:49.106Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T14:18:49.119Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T14:18:49.129Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T14:18:49.140Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T14:18:49.151Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T14:18:49.164Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T14:18:49.180Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T14:18:49.196Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T14:18:49.213Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T14:18:49.229Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-17T14:18:49.240Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-17T14:18:49.251Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-17T14:18:49.262Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f7c6def428852450d0e08c4526510d83eeebd00 [Pipeline] echo [2022-06-17T14:18:49.273Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f7c6de [Pipeline] echo [2022-06-17T14:18:49.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T14:18:49.323Z] provisioning config files... [2022-06-17T14:18:49.337Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config182175440637971455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:18:49.724Z] ---> docker-login.sh [2022-06-17T14:18:49.724Z] nexus3.edgexfoundry.org:10001 [2022-06-17T14:18:49.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:18:50.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:18:50.248Z] Configure a credential helper to remove this warning. See [2022-06-17T14:18:50.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:18:50.248Z] [2022-06-17T14:18:50.248Z] Login Succeeded [2022-06-17T14:18:50.248Z] nexus3.edgexfoundry.org:10002 [2022-06-17T14:18:50.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:18:50.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:18:50.508Z] Configure a credential helper to remove this warning. See [2022-06-17T14:18:50.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:18:50.508Z] [2022-06-17T14:18:50.508Z] Login Succeeded [2022-06-17T14:18:50.508Z] nexus3.edgexfoundry.org:10003 [2022-06-17T14:18:50.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:18:50.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:18:50.508Z] Configure a credential helper to remove this warning. See [2022-06-17T14:18:50.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:18:50.508Z] [2022-06-17T14:18:50.508Z] Login Succeeded [2022-06-17T14:18:50.508Z] nexus3.edgexfoundry.org:10004 [2022-06-17T14:18:50.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:18:50.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:18:50.771Z] Configure a credential helper to remove this warning. See [2022-06-17T14:18:50.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:18:50.771Z] [2022-06-17T14:18:50.771Z] Login Succeeded [2022-06-17T14:18:50.771Z] docker.io [2022-06-17T14:18:50.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:18:51.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:18:51.345Z] Configure a credential helper to remove this warning. See [2022-06-17T14:18:51.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:18:51.345Z] [2022-06-17T14:18:51.345Z] Login Succeeded [2022-06-17T14:18:51.345Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T14:18:51.355Z] 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:18:51.735Z] + git rev-list -1 --merges 2f7c6def428852450d0e08c4526510d83eeebd00~1..2f7c6def428852450d0e08c4526510d83eeebd00 [Pipeline] echo [2022-06-17T14:18:51.776Z] -----------> git rev-list -1 --merges 2f7c6def428852450d0e08c4526510d83eeebd00~1..2f7c6def428852450d0e08c4526510d83eeebd00 2f7c6def428852450d0e08c4526510d83eeebd00 [false] [Pipeline] sh [2022-06-17T14:18:52.075Z] + git log --format=format:%s -1 2f7c6def428852450d0e08c4526510d83eeebd00 [Pipeline] echo [2022-06-17T14:18:52.094Z] ========================================================= [2022-06-17T14:18:52.094Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T14:18:52.094Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T14:18:52.441Z] + git log --format=format:%s -1 2f7c6def428852450d0e08c4526510d83eeebd00 [Pipeline] echo [2022-06-17T14:18:52.455Z] [semverPrep] GIT_COMMIT: 2f7c6def428852450d0e08c4526510d83eeebd00, Commit Message: refactor(snap): Use copyDir library in install hook [Pipeline] echo [2022-06-17T14:18:52.467Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T14:18:52.833Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T14:18:52.833Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T14:18:52.833Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T14:18:52.833Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T14:18:52.833Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T14:18:52.833Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T14:18:52.833Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:18:53.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T14:18:53.272Z] [2022-06-17T14:18:53.272Z] 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:18:53.582Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T14:18:53.582Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T14:18:53.582Z] 42c077c10790: Pulling fs layer [2022-06-17T14:18:53.582Z] f63e77b7563a: Pulling fs layer [2022-06-17T14:18:53.582Z] bd5fdadae976: Pulling fs layer [2022-06-17T14:18:53.582Z] 205491f53016: Pulling fs layer [2022-06-17T14:18:53.582Z] df18705c85c3: Pulling fs layer [2022-06-17T14:18:53.582Z] bdb3f477010e: Pulling fs layer [2022-06-17T14:18:53.582Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T14:18:53.582Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T14:18:53.582Z] bdb8f0575790: Pulling fs layer [2022-06-17T14:18:53.582Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T14:18:53.582Z] 2343380bae48: Pulling fs layer [2022-06-17T14:18:53.582Z] bdb8f0575790: Waiting [2022-06-17T14:18:53.582Z] c8a8fc8e1c8f: Waiting [2022-06-17T14:18:53.582Z] 2c6e9b1d212d: Waiting [2022-06-17T14:18:53.582Z] 386e3cb2ff24: Waiting [2022-06-17T14:18:53.582Z] 2343380bae48: Waiting [2022-06-17T14:18:53.582Z] df18705c85c3: Waiting [2022-06-17T14:18:53.582Z] bdb3f477010e: Waiting [2022-06-17T14:18:53.582Z] f63e77b7563a: Download complete [2022-06-17T14:18:53.582Z] 205491f53016: Verifying Checksum [2022-06-17T14:18:53.582Z] 205491f53016: Download complete [2022-06-17T14:18:53.843Z] df18705c85c3: Verifying Checksum [2022-06-17T14:18:53.843Z] df18705c85c3: Download complete [2022-06-17T14:18:53.843Z] bd5fdadae976: Verifying Checksum [2022-06-17T14:18:53.843Z] bd5fdadae976: Download complete [2022-06-17T14:18:53.843Z] bdb3f477010e: Verifying Checksum [2022-06-17T14:18:53.843Z] bdb3f477010e: Download complete [2022-06-17T14:18:53.843Z] 2c6e9b1d212d: Download complete [2022-06-17T14:18:53.843Z] bdb8f0575790: Download complete [2022-06-17T14:18:53.843Z] 386e3cb2ff24: Verifying Checksum [2022-06-17T14:18:53.843Z] 386e3cb2ff24: Download complete [2022-06-17T14:18:53.843Z] 2343380bae48: Download complete [2022-06-17T14:18:53.843Z] 42c077c10790: Verifying Checksum [2022-06-17T14:18:53.843Z] 42c077c10790: Download complete [2022-06-17T14:18:54.104Z] c8a8fc8e1c8f: Download complete [2022-06-17T14:18:55.488Z] 42c077c10790: Pull complete [2022-06-17T14:18:55.488Z] f63e77b7563a: Pull complete [2022-06-17T14:18:56.057Z] bd5fdadae976: Pull complete [2022-06-17T14:18:56.058Z] 205491f53016: Pull complete [2022-06-17T14:18:56.319Z] df18705c85c3: Pull complete [2022-06-17T14:18:56.580Z] bdb3f477010e: Pull complete [2022-06-17T14:18:58.500Z] c8a8fc8e1c8f: Pull complete [2022-06-17T14:18:58.500Z] 2c6e9b1d212d: Pull complete [2022-06-17T14:18:58.761Z] bdb8f0575790: Pull complete [2022-06-17T14:18:58.761Z] 386e3cb2ff24: Pull complete [2022-06-17T14:18:58.761Z] 2343380bae48: Pull complete [2022-06-17T14:18:58.761Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T14:18:58.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T14:18:59.024Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:18:59.141Z] prd-ubuntu20.04-docker-8c-8g-2584 does not seem to be running inside a container [2022-06-17T14:18:59.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-17T14:19:00.983Z] $ docker top 93bdfcd4363730922be2163bbd7b71b3cd8a1fb83859aff105af30c16f11f4f4 -eo pid,comm [2022-06-17T14:19:01.053Z] 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:19:01.053Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T14:19:01.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T14:19:01.089Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T14:19:01.222Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T14:19:01.229Z] $ docker exec 93bdfcd4363730922be2163bbd7b71b3cd8a1fb83859aff105af30c16f11f4f4 ssh-agent [2022-06-17T14:19:01.355Z] SSH_AUTH_SOCK=/tmp/ssh-SVEEJCRiLu3R/agent.33 [2022-06-17T14:19:01.355Z] SSH_AGENT_PID=39 [2022-06-17T14:19:01.362Z] Running ssh-add (command line suppressed) [2022-06-17T14:19:01.487Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_8430939834866871685.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_8430939834866871685.key) [2022-06-17T14:19:01.502Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T14:19:01.793Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T14:19:01.811Z] $ docker exec --env ******** --env ******** 93bdfcd4363730922be2163bbd7b71b3cd8a1fb83859aff105af30c16f11f4f4 ssh-agent -k [2022-06-17T14:19:01.931Z] unset SSH_AUTH_SOCK; [2022-06-17T14:19:01.931Z] unset SSH_AGENT_PID; [2022-06-17T14:19:01.931Z] echo Agent pid 39 killed; [2022-06-17T14:19:01.942Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T14:19:01.969Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T14:19:01.969Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T14:19:02.113Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T14:19:02.119Z] $ docker exec 93bdfcd4363730922be2163bbd7b71b3cd8a1fb83859aff105af30c16f11f4f4 ssh-agent [2022-06-17T14:19:02.255Z] SSH_AUTH_SOCK=/tmp/ssh-ud5psrOixjzK/agent.73 [2022-06-17T14:19:02.255Z] SSH_AGENT_PID=79 [2022-06-17T14:19:02.261Z] Running ssh-add (command line suppressed) [2022-06-17T14:19:02.402Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_7260931162159060298.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_7260931162159060298.key) [2022-06-17T14:19:02.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T14:19:02.710Z] + git semver init [2022-06-17T14:19:03.282Z] 2022-06-17 14:19:03,040 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T14:19:03.282Z] 2022-06-17 14:19:03,041 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-17T14:19:03.282Z] 2022-06-17 14:19:03,041 [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:19:03.282Z] 2022-06-17 14:19:03,041 [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:19:04.226Z] 2022-06-17 14:19:03,977 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-17T14:19:04.226Z] 2022-06-17 14:19:03,978 [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:19:04.226Z] 2022-06-17 14:19:03,978 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-17T14:19:04.226Z] 2022-06-17 14:19:03,982 [execute] INFO git cat-file --batch-check [2022-06-17T14:19:04.226Z] 2022-06-17 14:19:03,983 [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:19:04.226Z] 2022-06-17 14:19:03,991 [execute] INFO git cat-file --batch [2022-06-17T14:19:04.226Z] 2022-06-17 14:19:03,991 [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:19:04.226Z] 2022-06-17 14:19:03,997 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-17T14:19:04.226Z] 0.0.0 [Pipeline] } [2022-06-17T14:19:04.241Z] $ docker exec --env ******** --env ******** 93bdfcd4363730922be2163bbd7b71b3cd8a1fb83859aff105af30c16f11f4f4 ssh-agent -k [2022-06-17T14:19:04.361Z] unset SSH_AUTH_SOCK; [2022-06-17T14:19:04.362Z] unset SSH_AGENT_PID; [2022-06-17T14:19:04.362Z] echo Agent pid 79 killed; [2022-06-17T14:19:04.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T14:19:04.674Z] + git semver [Pipeline] } [2022-06-17T14:19:04.954Z] $ docker stop --time=1 93bdfcd4363730922be2163bbd7b71b3cd8a1fb83859aff105af30c16f11f4f4 [2022-06-17T14:19:06.309Z] $ docker rm -f 93bdfcd4363730922be2163bbd7b71b3cd8a1fb83859aff105af30c16f11f4f4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T14:19:06.672Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T14:19:06.924Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T14:19:06.926Z] [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:19:07.114Z] provisioning config files... [2022-06-17T14:19:07.123Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config3180849993057898634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:19:07.416Z] ---> docker-login.sh [2022-06-17T14:19:07.416Z] nexus3.edgexfoundry.org:10001 [2022-06-17T14:19:07.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:19:07.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:19:07.416Z] Configure a credential helper to remove this warning. See [2022-06-17T14:19:07.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:19:07.416Z] [2022-06-17T14:19:07.416Z] Login Succeeded [2022-06-17T14:19:07.416Z] nexus3.edgexfoundry.org:10002 [2022-06-17T14:19:07.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:19:07.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:19:07.678Z] Configure a credential helper to remove this warning. See [2022-06-17T14:19:07.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:19:07.678Z] [2022-06-17T14:19:07.678Z] Login Succeeded [2022-06-17T14:19:07.678Z] nexus3.edgexfoundry.org:10003 [2022-06-17T14:19:07.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:19:07.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:19:07.678Z] Configure a credential helper to remove this warning. See [2022-06-17T14:19:07.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:19:07.678Z] [2022-06-17T14:19:07.678Z] Login Succeeded [2022-06-17T14:19:07.678Z] nexus3.edgexfoundry.org:10004 [2022-06-17T14:19:07.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:19:07.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:19:07.939Z] Configure a credential helper to remove this warning. See [2022-06-17T14:19:07.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:19:07.939Z] [2022-06-17T14:19:07.939Z] Login Succeeded [2022-06-17T14:19:07.939Z] docker.io [2022-06-17T14:19:07.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:19:08.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:19:08.200Z] Configure a credential helper to remove this warning. See [2022-06-17T14:19:08.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:19:08.200Z] [2022-06-17T14:19:08.200Z] Login Succeeded [2022-06-17T14:19:08.200Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T14:19:08.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T14:19:08.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T14:19:08.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T14:19:08.299Z] ========================================================= [2022-06-17T14:19:08.299Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T14:19:08.299Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:19:08.615Z] + 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:19:08.615Z] Sending build context to Docker daemon 23.04MB [2022-06-17T14:19:08.615Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T14:19:08.615Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T14:19:08.885Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T14:19:08.885Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T14:19:08.885Z] 666ba61612fd: Pulling fs layer [2022-06-17T14:19:08.885Z] 8ed8ca486205: Pulling fs layer [2022-06-17T14:19:08.885Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T14:19:08.885Z] c516ae0d96e1: Pulling fs layer [2022-06-17T14:19:08.885Z] 684cea983483: Pulling fs layer [2022-06-17T14:19:08.885Z] dd3240ac7de5: Pulling fs layer [2022-06-17T14:19:08.885Z] b1e948a4e11c: Pulling fs layer [2022-06-17T14:19:08.885Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T14:19:08.885Z] 646ad004c059: Pulling fs layer [2022-06-17T14:19:08.885Z] 684cea983483: Waiting [2022-06-17T14:19:08.885Z] dd3240ac7de5: Waiting [2022-06-17T14:19:08.885Z] b1e948a4e11c: Waiting [2022-06-17T14:19:08.885Z] a8fd76ee1af6: Waiting [2022-06-17T14:19:08.886Z] 646ad004c059: Waiting [2022-06-17T14:19:08.886Z] cc1cd167ecdc: Waiting [2022-06-17T14:19:08.886Z] c516ae0d96e1: Waiting [2022-06-17T14:19:08.886Z] 8ed8ca486205: Verifying Checksum [2022-06-17T14:19:08.886Z] 8ed8ca486205: Download complete [2022-06-17T14:19:08.886Z] 666ba61612fd: Verifying Checksum [2022-06-17T14:19:08.886Z] 666ba61612fd: Download complete [2022-06-17T14:19:08.886Z] c516ae0d96e1: Download complete [2022-06-17T14:19:08.886Z] 684cea983483: Verifying Checksum [2022-06-17T14:19:08.886Z] 684cea983483: Download complete [2022-06-17T14:19:08.886Z] dd3240ac7de5: Verifying Checksum [2022-06-17T14:19:08.886Z] dd3240ac7de5: Download complete [2022-06-17T14:19:08.886Z] 59bf1c3509f3: Download complete [2022-06-17T14:19:09.153Z] b1e948a4e11c: Verifying Checksum [2022-06-17T14:19:09.153Z] b1e948a4e11c: Download complete [2022-06-17T14:19:09.153Z] 59bf1c3509f3: Pull complete [2022-06-17T14:19:09.153Z] 666ba61612fd: Pull complete [2022-06-17T14:19:09.426Z] 8ed8ca486205: Pull complete [2022-06-17T14:19:09.426Z] 646ad004c059: Verifying Checksum [2022-06-17T14:19:09.426Z] 646ad004c059: Download complete [2022-06-17T14:19:09.689Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T14:19:09.689Z] cc1cd167ecdc: Download complete [2022-06-17T14:19:09.689Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T14:19:09.689Z] a8fd76ee1af6: Download complete [2022-06-17T14:19:13.888Z] cc1cd167ecdc: Pull complete [2022-06-17T14:19:13.888Z] c516ae0d96e1: Pull complete [2022-06-17T14:19:13.888Z] 684cea983483: Pull complete [2022-06-17T14:19:13.888Z] dd3240ac7de5: Pull complete [2022-06-17T14:19:14.148Z] b1e948a4e11c: Pull complete [2022-06-17T14:19:16.687Z] a8fd76ee1af6: Pull complete [2022-06-17T14:19:17.255Z] 646ad004c059: Pull complete [2022-06-17T14:19:17.255Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T14:19:17.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T14:19:17.255Z] ---> 8f69c11f6b0c [2022-06-17T14:19:17.255Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T14:19:19.801Z] ---> Running in ed464449464f [2022-06-17T14:19:19.801Z] Removing intermediate container ed464449464f [2022-06-17T14:19:19.801Z] ---> 6bb98ecfa960 [2022-06-17T14:19:19.801Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T14:19:19.801Z] ---> Running in 3b74e45b2476 [2022-06-17T14:19:20.064Z] Removing intermediate container 3b74e45b2476 [2022-06-17T14:19:20.064Z] ---> 2ca11fe1cbbe [2022-06-17T14:19:20.064Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-17T14:19:20.064Z] ---> Running in 233fb4e87391 [2022-06-17T14:19:20.064Z] Removing intermediate container 233fb4e87391 [2022-06-17T14:19:20.064Z] ---> a310ba0a0b79 [2022-06-17T14:19:20.064Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:19:20.325Z] ---> Running in c842a0e0daa7 [2022-06-17T14:19:20.896Z] Removing intermediate container c842a0e0daa7 [2022-06-17T14:19:20.896Z] ---> b7e152c367cb [2022-06-17T14:19:20.896Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T14:19:20.896Z] ---> Running in d0459cdd7424 [2022-06-17T14:19:21.157Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T14:19:22.080Z] Still waiting to schedule task [2022-06-17T14:19:22.080Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-17T14:19:22.103Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T14:19:22.674Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T14:19:22.674Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T14:19:22.674Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T14:19:22.674Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T14:19:22.936Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T14:19:22.936Z] OK: 224 MiB in 56 packages [2022-06-17T14:19:23.509Z] Removing intermediate container d0459cdd7424 [2022-06-17T14:19:23.509Z] ---> c2452ec83217 [2022-06-17T14:19:23.509Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-17T14:19:23.509Z] ---> 7b5096ad3033 [2022-06-17T14:19:23.509Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T14:19:23.509Z] ---> Running in bec399d44f00 [2022-06-17T14:19:41.644Z] Removing intermediate container bec399d44f00 [2022-06-17T14:19:41.644Z] ---> 593e38984c00 [2022-06-17T14:19:41.644Z] Step 10/12 : COPY . . [2022-06-17T14:19:41.906Z] ---> bbd418090590 [2022-06-17T14:19:41.906Z] Step 11/12 : ARG MAKE='make build' [2022-06-17T14:19:41.906Z] ---> Running in c78f55d7dbac [2022-06-17T14:19:41.906Z] Removing intermediate container c78f55d7dbac [2022-06-17T14:19:41.906Z] ---> 1144ea13b894 [2022-06-17T14:19:41.906Z] Step 12/12 : RUN $MAKE [2022-06-17T14:19:42.167Z] ---> Running in 1f51b99db9c7 [2022-06-17T14:19:42.428Z] noop [2022-06-17T14:19:42.690Z] Removing intermediate container 1f51b99db9c7 [2022-06-17T14:19:42.690Z] ---> 0b530842e07e [2022-06-17T14:19:42.690Z] Successfully built 0b530842e07e [2022-06-17T14:19:42.690Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:19:43.013Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T14:19:43.013Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:19:43.103Z] prd-ubuntu20.04-docker-8c-8g-2584 does not seem to be running inside a container [2022-06-17T14:19:43.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T14:19:43.618Z] $ docker top 0d52bf1c4bc09de8694af54be63f5b8cc61b1d1905a5d5b63f8a70ab60644736 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T14:19:43.999Z] + go version [2022-06-17T14:19:43.999Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T14:19:44.019Z] $ docker stop --time=1 0d52bf1c4bc09de8694af54be63f5b8cc61b1d1905a5d5b63f8a70ab60644736 [2022-06-17T14:19:45.352Z] $ docker rm -f 0d52bf1c4bc09de8694af54be63f5b8cc61b1d1905a5d5b63f8a70ab60644736 [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:19:45.768Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T14:19:45.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:19:45.850Z] prd-ubuntu20.04-docker-8c-8g-2584 does not seem to be running inside a container [2022-06-17T14:19:45.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T14:19:46.319Z] $ docker top d1b49c20bc3f4bed3b2df933e20c302462eca515ff6ea7fd03b2c65020a334a3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T14:19:46.680Z] + make test [2022-06-17T14:19:46.680Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T14:19:47.254Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-17T14:19:57.244Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-17T14:19:57.244Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-06-17T14:20:03.837Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T14:20:07.131Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T14:20:07.131Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T14:20:07.131Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T14:20:07.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T14:20:07.737Z] $ docker stop --time=1 d1b49c20bc3f4bed3b2df933e20c302462eca515ff6ea7fd03b2c65020a334a3 [2022-06-17T14:20:09.683Z] $ docker rm -f d1b49c20bc3f4bed3b2df933e20c302462eca515ff6ea7fd03b2c65020a334a3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T14:20:10.123Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T14:20:10.162Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T14:20:10.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T14:20:10.962Z] + ls -al . [2022-06-17T14:20:10.962Z] total 192 [2022-06-17T14:20:10.962Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 14:20 . [2022-06-17T14:20:10.962Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 14:18 .. [2022-06-17T14:20:10.962Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 14:19 .git [2022-06-17T14:20:10.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:18 .github [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 17 14:18 .gitignore [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 14:18 .golangci.yml [2022-06-17T14:20:10.962Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 14:19 .semver [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 17 14:18 Attribution.txt [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 17 14:18 CHANGELOG.md [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 17 14:18 Dockerfile [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 14:18 GOVERNANCE.md [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 14:18 Jenkinsfile [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 14:18 LICENSE [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 17 14:18 Makefile [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 17 14:18 OWNERS.md [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 17 14:18 README.md [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 14:19 VERSION [2022-06-17T14:20:10.962Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 14:18 bin [2022-06-17T14:20:10.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:18 cmd [2022-06-17T14:20:10.962Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 17 14:19 coverage.out [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 17 14:18 go.mod [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 17 14:18 go.sum [2022-06-17T14:20:10.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:18 internal [2022-06-17T14:20:10.962Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:18 snap [2022-06-17T14:20:10.962Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 14:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:20:11.273Z] + 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=2f7c6def428852450d0e08c4526510d83eeebd00 --label arch=amd64 --label version=0.0.0 . [2022-06-17T14:20:11.273Z] Sending build context to Docker daemon 23.08MB [2022-06-17T14:20:11.273Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T14:20:11.273Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T14:20:11.273Z] ---> 0b530842e07e [2022-06-17T14:20:11.273Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T14:20:11.541Z] ---> Running in a5ac61964120 [2022-06-17T14:20:11.541Z] Removing intermediate container a5ac61964120 [2022-06-17T14:20:11.541Z] ---> aa23ee637e79 [2022-06-17T14:20:11.541Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T14:20:11.541Z] ---> Running in a6b8057a184c [2022-06-17T14:20:11.802Z] Removing intermediate container a6b8057a184c [2022-06-17T14:20:11.802Z] ---> f11e12cb0e80 [2022-06-17T14:20:11.802Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-17T14:20:11.802Z] ---> Running in fcda2567e07c [2022-06-17T14:20:11.802Z] Removing intermediate container fcda2567e07c [2022-06-17T14:20:11.802Z] ---> 49ded1ad3724 [2022-06-17T14:20:11.802Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:20:11.802Z] ---> Running in b9acaac0f319 [2022-06-17T14:20:12.373Z] Removing intermediate container b9acaac0f319 [2022-06-17T14:20:12.373Z] ---> bf604b75526d [2022-06-17T14:20:12.373Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T14:20:12.373Z] ---> Running in 842dbab11260 [2022-06-17T14:20:12.945Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T14:20:13.544Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T14:20:13.803Z] OK: 224 MiB in 56 packages [2022-06-17T14:20:14.377Z] Removing intermediate container 842dbab11260 [2022-06-17T14:20:14.377Z] ---> 0acdf6dab58e [2022-06-17T14:20:14.377Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-17T14:20:14.377Z] ---> d455b06ca0a0 [2022-06-17T14:20:14.377Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T14:20:14.377Z] ---> Running in 4ac4328b34dc [2022-06-17T14:20:14.946Z] Removing intermediate container 4ac4328b34dc [2022-06-17T14:20:14.946Z] ---> 498607e264fe [2022-06-17T14:20:14.946Z] Step 10/26 : COPY . . [2022-06-17T14:20:15.515Z] ---> 3b711419fde1 [2022-06-17T14:20:15.515Z] Step 11/26 : ARG MAKE='make build' [2022-06-17T14:20:15.515Z] ---> Running in 458184d7cb28 [2022-06-17T14:20:15.515Z] Removing intermediate container 458184d7cb28 [2022-06-17T14:20:15.515Z] ---> 2ed01a7a793f [2022-06-17T14:20:15.515Z] Step 12/26 : RUN $MAKE [2022-06-17T14:20:15.774Z] ---> Running in f6bd06913669 [2022-06-17T14:20:16.034Z] 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:20:37.994Z] Removing intermediate container f6bd06913669 [2022-06-17T14:20:37.994Z] ---> e54ca50ac0f6 [2022-06-17T14:20:37.994Z] Step 13/26 : FROM alpine:3.14 [2022-06-17T14:20:37.994Z] 3.14: Pulling from library/alpine [2022-06-17T14:20:37.994Z] 8663204ce13b: Pulling fs layer [2022-06-17T14:20:37.994Z] 8663204ce13b: Verifying Checksum [2022-06-17T14:20:37.994Z] 8663204ce13b: Download complete [2022-06-17T14:20:37.994Z] 8663204ce13b: Pull complete [2022-06-17T14:20:37.994Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T14:20:37.994Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T14:20:37.994Z] ---> e04c818066af [2022-06-17T14:20:37.994Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-17T14:20:37.994Z] ---> Running in 48421db3a380 [2022-06-17T14:20:37.994Z] Removing intermediate container 48421db3a380 [2022-06-17T14:20:37.994Z] ---> bc7bfadb938f [2022-06-17T14:20:37.994Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:20:37.994Z] ---> Running in b2aab3dba4a0 [2022-06-17T14:20:37.994Z] Removing intermediate container b2aab3dba4a0 [2022-06-17T14:20:37.994Z] ---> efb1195fd2a2 [2022-06-17T14:20:37.994Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T14:20:37.994Z] ---> Running in 0c4211c1124b [2022-06-17T14:20:37.994Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-17T14:20:38.254Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-17T14:20:38.515Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T14:20:38.776Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T14:20:38.776Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T14:20:38.776Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T14:20:39.036Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T14:20:39.036Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T14:20:39.036Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T14:20:39.036Z] OK: 8 MiB in 20 packages [2022-06-17T14:20:39.608Z] Removing intermediate container 0c4211c1124b [2022-06-17T14:20:39.608Z] ---> 814ac138600d [2022-06-17T14:20:39.608Z] Step 17/26 : WORKDIR / [2022-06-17T14:20:39.608Z] ---> Running in ec25b03cb49f [2022-06-17T14:20:39.608Z] Removing intermediate container ec25b03cb49f [2022-06-17T14:20:39.608Z] ---> 8adef6152e7d [2022-06-17T14:20:39.608Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-17T14:20:39.868Z] ---> cff4b80ec917 [2022-06-17T14:20:39.868Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-17T14:20:39.868Z] ---> 8eeebd930008 [2022-06-17T14:20:39.868Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-17T14:20:40.441Z] ---> 38d27578dcef [2022-06-17T14:20:40.441Z] Step 21/26 : EXPOSE 59900 [2022-06-17T14:20:40.704Z] ---> Running in 20a590199d19 [2022-06-17T14:20:40.704Z] Removing intermediate container 20a590199d19 [2022-06-17T14:20:40.704Z] ---> d740766f6e00 [2022-06-17T14:20:40.704Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-17T14:20:40.704Z] ---> Running in 89fc5c253a08 [2022-06-17T14:20:40.704Z] Removing intermediate container 89fc5c253a08 [2022-06-17T14:20:40.704Z] ---> fd9f5912054a [2022-06-17T14:20:40.704Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T14:20:40.963Z] ---> Running in 0595b80b2e54 [2022-06-17T14:20:40.963Z] Removing intermediate container 0595b80b2e54 [2022-06-17T14:20:40.963Z] ---> 21759720092e [2022-06-17T14:20:40.963Z] Step 24/26 : LABEL arch=amd64 [2022-06-17T14:20:40.963Z] ---> Running in 51e1163bb63b [2022-06-17T14:20:40.963Z] Removing intermediate container 51e1163bb63b [2022-06-17T14:20:40.963Z] ---> 4101496d4d31 [2022-06-17T14:20:40.963Z] Step 25/26 : LABEL git_sha=2f7c6def428852450d0e08c4526510d83eeebd00 [2022-06-17T14:20:41.222Z] ---> Running in 627f9043f918 [2022-06-17T14:20:41.222Z] Removing intermediate container 627f9043f918 [2022-06-17T14:20:41.222Z] ---> 222eb0921bd6 [2022-06-17T14:20:41.222Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T14:20:41.222Z] ---> Running in 8ffa00b64a6f [2022-06-17T14:20:41.222Z] Removing intermediate container 8ffa00b64a6f [2022-06-17T14:20:41.222Z] ---> b608e599a33e [2022-06-17T14:20:41.222Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T14:20:41.222Z] Successfully built b608e599a33e [2022-06-17T14:20:41.222Z] 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:20:41.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T14:20:41.654Z] [2022-06-17T14:20:41.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:20:41.958Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T14:20:41.958Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T14:20:41.958Z] 5eb5b503b376: Pulling fs layer [2022-06-17T14:20:41.958Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T14:20:41.958Z] ec43610c2a17: Pulling fs layer [2022-06-17T14:20:41.958Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T14:20:41.958Z] 33b1e0a273af: Pulling fs layer [2022-06-17T14:20:41.958Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T14:20:41.958Z] 2f39f015ded8: Pulling fs layer [2022-06-17T14:20:41.958Z] 33b1e0a273af: Waiting [2022-06-17T14:20:41.958Z] 5d3b04190fa2: Waiting [2022-06-17T14:20:41.958Z] 2f39f015ded8: Waiting [2022-06-17T14:20:41.959Z] 5c69ac0246d0: Download complete [2022-06-17T14:20:41.959Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-17T14:20:41.959Z] 3a2ae6a8a46f: Download complete [2022-06-17T14:20:41.959Z] 33b1e0a273af: Verifying Checksum [2022-06-17T14:20:41.959Z] 33b1e0a273af: Download complete [2022-06-17T14:20:41.959Z] ec43610c2a17: Verifying Checksum [2022-06-17T14:20:41.959Z] ec43610c2a17: Download complete [2022-06-17T14:20:41.959Z] 5d3b04190fa2: Download complete [2022-06-17T14:20:42.219Z] 5eb5b503b376: Download complete [2022-06-17T14:20:42.791Z] 2f39f015ded8: Download complete [2022-06-17T14:20:43.360Z] 5eb5b503b376: Pull complete [2022-06-17T14:20:43.620Z] 5c69ac0246d0: Pull complete [2022-06-17T14:20:44.187Z] ec43610c2a17: Pull complete [2022-06-17T14:20:44.187Z] 3a2ae6a8a46f: Pull complete [2022-06-17T14:20:44.446Z] 33b1e0a273af: Pull complete [2022-06-17T14:20:44.446Z] 5d3b04190fa2: Pull complete [2022-06-17T14:20:48.639Z] 2f39f015ded8: Pull complete [2022-06-17T14:20:48.639Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T14:20:48.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T14:20:48.639Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:20:48.734Z] prd-ubuntu20.04-docker-8c-8g-2584 does not seem to be running inside a container [2022-06-17T14:20:48.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T14:20:50.277Z] $ docker top a132277d112a9d781944e578364af1c1c4c3638fbc284caa4c2bf6211f8e2d2a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:20:50.684Z] ---> job-cost.sh [2022-06-17T14:20:50.684Z] lf-activate-venv: SKIPPING [2022-06-17T14:20:50.684Z] INFO: No Stack... [2022-06-17T14:20:51.294Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T14:20:51.580Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T14:20:51.905Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-17T14:20:51.905Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T14:20:51.919Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-5-stack-cost] [2022-06-17T14:20:51.924Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-5-stack-cost] did not exist. Created. [2022-06-17T14:20:51.924Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T14:20:52.230Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T14:20:52.264Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T14:20:52.271Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T14:20:52.300Z] $ docker stop --time=1 a132277d112a9d781944e578364af1c1c4c3638fbc284caa4c2bf6211f8e2d2a [2022-06-17T14:20:53.475Z] $ docker rm -f a132277d112a9d781944e578364af1c1c4c3638fbc284caa4c2bf6211f8e2d2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T14:20:58.050Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2585 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-17T14:20:58.064Z] Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout [2022-06-17T14:20:58.099Z] The recommended git tool is: git [2022-06-17T14:21:04.473Z] using credential edgex-jenkins-ssh [2022-06-17T14:21:04.490Z] Cloning the remote Git repository [2022-06-17T14:21:04.545Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T14:21:04.618Z] > git init /w/workspace/device-virtual-go/5 # timeout=10 [2022-06-17T14:21:04.710Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T14:21:04.711Z] > git --version # timeout=10 [2022-06-17T14:21:04.737Z] > git --version # 'git version 2.25.1' [2022-06-17T14:21:04.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T14:21:04.830Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T14:21:06.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-17T14:21:06.722Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T14:21:06.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-17T14:21:06.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T14:21:06.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T14:21:06.919Z] > 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:21:07.450Z] Merging remotes/origin/main commit dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a into PR head commit 2f7c6def428852450d0e08c4526510d83eeebd00 [2022-06-17T14:21:07.653Z] Merge succeeded, producing 2f7c6def428852450d0e08c4526510d83eeebd00 [2022-06-17T14:21:07.653Z] Checking out Revision 2f7c6def428852450d0e08c4526510d83eeebd00 (PR-290) [2022-06-17T14:21:07.475Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T14:21:07.487Z] > git checkout -f 2f7c6def428852450d0e08c4526510d83eeebd00 # timeout=10 [2022-06-17T14:21:07.568Z] > git remote # timeout=10 [2022-06-17T14:21:07.586Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T14:21:07.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T14:21:07.611Z] > git merge dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 [2022-06-17T14:21:07.635Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T14:21:07.661Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T14:21:07.674Z] > git checkout -f 2f7c6def428852450d0e08c4526510d83eeebd00 # timeout=10 [2022-06-17T14:21:11.805Z] Commit message: "refactor(snap): Use copyDir library in install hook" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T14:21:12.779Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T14:21:12.779Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T14:21:12.780Z] Dload Upload Total Spent Left Speed [2022-06-17T14:21:12.780Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 68452 0 --:--:-- --:--:-- --:--:-- 68072 [Pipeline] sh [2022-06-17T14:21:13.570Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T14:21:13.917Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T14:21:13.918Z] + sudo tee /etc/docker/daemon.new [2022-06-17T14:21:13.918Z] { [2022-06-17T14:21:13.918Z] "registry-mirrors": [ [2022-06-17T14:21:13.918Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T14:21:13.918Z] ], [2022-06-17T14:21:13.918Z] "bip": "10.250.0.254/24", [2022-06-17T14:21:13.918Z] "hosts": [ [2022-06-17T14:21:13.918Z] "tcp://0.0.0.0:5555", [2022-06-17T14:21:13.918Z] "unix:///var/run/docker.sock" [2022-06-17T14:21:13.918Z] ], [2022-06-17T14:21:13.918Z] "mtu": 1458, [2022-06-17T14:21:13.918Z] "selinux-enabled": true, [2022-06-17T14:21:13.918Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T14:21:13.918Z] } [Pipeline] sh [2022-06-17T14:21:14.259Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T14:21:14.597Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T14:21:32.962Z] provisioning config files... [2022-06-17T14:21:32.986Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config2689147993877227210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:21:33.348Z] ---> docker-login.sh [2022-06-17T14:21:33.348Z] nexus3.edgexfoundry.org:10001 [2022-06-17T14:21:33.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:21:34.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:21:34.223Z] Configure a credential helper to remove this warning. See [2022-06-17T14:21:34.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:21:34.223Z] [2022-06-17T14:21:34.223Z] Login Succeeded [2022-06-17T14:21:34.223Z] nexus3.edgexfoundry.org:10002 [2022-06-17T14:21:34.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:21:34.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:21:34.773Z] Configure a credential helper to remove this warning. See [2022-06-17T14:21:34.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:21:34.773Z] [2022-06-17T14:21:34.773Z] Login Succeeded [2022-06-17T14:21:34.773Z] nexus3.edgexfoundry.org:10003 [2022-06-17T14:21:35.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:21:35.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:21:35.047Z] Configure a credential helper to remove this warning. See [2022-06-17T14:21:35.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:21:35.047Z] [2022-06-17T14:21:35.047Z] Login Succeeded [2022-06-17T14:21:35.047Z] nexus3.edgexfoundry.org:10004 [2022-06-17T14:21:35.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:21:35.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:21:35.651Z] Configure a credential helper to remove this warning. See [2022-06-17T14:21:35.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:21:35.651Z] [2022-06-17T14:21:35.651Z] Login Succeeded [2022-06-17T14:21:35.651Z] docker.io [2022-06-17T14:21:35.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:21:36.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:21:36.519Z] Configure a credential helper to remove this warning. See [2022-06-17T14:21:36.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:21:36.519Z] [2022-06-17T14:21:36.519Z] Login Succeeded [2022-06-17T14:21:36.519Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T14:21:36.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T14:21:37.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T14:21:37.048Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T14:21:37.061Z] ========================================================= [2022-06-17T14:21:37.061Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T14:21:37.061Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:21:37.451Z] + 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:21:38.053Z] Sending build context to Docker daemon 11.67MB [2022-06-17T14:21:38.053Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T14:21:38.053Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T14:21:38.053Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T14:21:38.053Z] 9b3977197b4f: Pulling fs layer [2022-06-17T14:21:38.053Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T14:21:38.053Z] 94645a83ff95: Pulling fs layer [2022-06-17T14:21:38.053Z] e6fb740bc735: Pulling fs layer [2022-06-17T14:21:38.053Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T14:21:38.053Z] 355e64cbe906: Pulling fs layer [2022-06-17T14:21:38.053Z] 63ab81a10011: Pulling fs layer [2022-06-17T14:21:38.053Z] 555d1d1c4555: Pulling fs layer [2022-06-17T14:21:38.053Z] 7d9057610161: Pulling fs layer [2022-06-17T14:21:38.053Z] 355e64cbe906: Waiting [2022-06-17T14:21:38.053Z] 63ab81a10011: Waiting [2022-06-17T14:21:38.053Z] 555d1d1c4555: Waiting [2022-06-17T14:21:38.053Z] 7d9057610161: Waiting [2022-06-17T14:21:38.053Z] e6fb740bc735: Waiting [2022-06-17T14:21:38.053Z] 3a77bd46dcc9: Waiting [2022-06-17T14:21:38.053Z] 94645a83ff95: Verifying Checksum [2022-06-17T14:21:38.053Z] 94645a83ff95: Download complete [2022-06-17T14:21:38.053Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T14:21:38.053Z] 1a89e8eeedd5: Download complete [2022-06-17T14:21:38.053Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T14:21:38.053Z] 3a77bd46dcc9: Download complete [2022-06-17T14:21:38.331Z] 9b3977197b4f: Verifying Checksum [2022-06-17T14:21:38.331Z] 9b3977197b4f: Download complete [2022-06-17T14:21:38.331Z] 355e64cbe906: Verifying Checksum [2022-06-17T14:21:38.331Z] 355e64cbe906: Download complete [2022-06-17T14:21:38.331Z] 63ab81a10011: Verifying Checksum [2022-06-17T14:21:38.331Z] 63ab81a10011: Download complete [2022-06-17T14:21:39.320Z] 9b3977197b4f: Pull complete [2022-06-17T14:21:39.320Z] 7d9057610161: Verifying Checksum [2022-06-17T14:21:39.320Z] 7d9057610161: Download complete [2022-06-17T14:21:39.597Z] 1a89e8eeedd5: Pull complete [2022-06-17T14:21:40.213Z] 94645a83ff95: Pull complete [2022-06-17T14:21:40.488Z] 555d1d1c4555: Verifying Checksum [2022-06-17T14:21:40.488Z] 555d1d1c4555: Download complete [2022-06-17T14:21:41.093Z] e6fb740bc735: Verifying Checksum [2022-06-17T14:21:41.093Z] e6fb740bc735: Download complete [2022-06-17T14:21:53.513Z] e6fb740bc735: Pull complete [2022-06-17T14:21:53.513Z] 3a77bd46dcc9: Pull complete [2022-06-17T14:21:53.513Z] 355e64cbe906: Pull complete [2022-06-17T14:21:53.788Z] 63ab81a10011: Pull complete [2022-06-17T14:22:00.520Z] 555d1d1c4555: Pull complete [2022-06-17T14:22:02.502Z] 7d9057610161: Pull complete [2022-06-17T14:22:02.502Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T14:22:02.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T14:22:02.502Z] ---> 819e984ddca1 [2022-06-17T14:22:02.502Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T14:22:03.106Z] ---> Running in ccf9e84e9a51 [2022-06-17T14:22:03.380Z] Removing intermediate container ccf9e84e9a51 [2022-06-17T14:22:03.380Z] ---> 7caef57ed316 [2022-06-17T14:22:03.380Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T14:22:03.380Z] ---> Running in 079806a768f3 [2022-06-17T14:22:03.654Z] Removing intermediate container 079806a768f3 [2022-06-17T14:22:03.654Z] ---> 4f051e59322c [2022-06-17T14:22:03.654Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-17T14:22:03.654Z] ---> Running in c091419d1141 [2022-06-17T14:22:03.931Z] Removing intermediate container c091419d1141 [2022-06-17T14:22:03.931Z] ---> b8d1a808a01d [2022-06-17T14:22:03.931Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:22:04.212Z] ---> Running in 1da57aaa0651 [2022-06-17T14:22:06.839Z] Removing intermediate container 1da57aaa0651 [2022-06-17T14:22:06.839Z] ---> c8f648ee18b4 [2022-06-17T14:22:06.839Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T14:22:06.839Z] ---> Running in b979fd4de466 [2022-06-17T14:22:07.821Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T14:22:08.800Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T14:22:09.777Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T14:22:09.777Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T14:22:09.777Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T14:22:10.055Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T14:22:10.055Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T14:22:10.055Z] OK: 224 MiB in 56 packages [2022-06-17T14:22:11.047Z] Removing intermediate container b979fd4de466 [2022-06-17T14:22:11.047Z] ---> b12412c77fcc [2022-06-17T14:22:11.047Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-17T14:22:11.647Z] ---> 68e88559ff75 [2022-06-17T14:22:11.647Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T14:22:11.647Z] ---> Running in 93420e2c4348 [2022-06-17T14:22:58.651Z] Removing intermediate container 93420e2c4348 [2022-06-17T14:22:58.651Z] ---> 21cc1bf4a9bd [2022-06-17T14:22:58.651Z] Step 10/12 : COPY . . [2022-06-17T14:22:58.651Z] ---> b4703fef75b8 [2022-06-17T14:22:58.651Z] Step 11/12 : ARG MAKE='make build' [2022-06-17T14:22:58.651Z] ---> Running in 06592601cf51 [2022-06-17T14:22:58.651Z] Removing intermediate container 06592601cf51 [2022-06-17T14:22:58.651Z] ---> 6dba48db88c7 [2022-06-17T14:22:58.651Z] Step 12/12 : RUN $MAKE [2022-06-17T14:22:58.651Z] ---> Running in 3c3b2c73d82a [2022-06-17T14:22:58.651Z] noop [2022-06-17T14:22:58.651Z] Removing intermediate container 3c3b2c73d82a [2022-06-17T14:22:58.651Z] ---> 3764ffb66a27 [2022-06-17T14:22:58.651Z] Successfully built 3764ffb66a27 [2022-06-17T14:22:58.651Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:22:59.016Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T14:22:59.016Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:22:59.275Z] prd-ubuntu20.04-docker-arm64-4c-16g-2585 does not seem to be running inside a container [2022-06-17T14:22:59.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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:23:00.625Z] $ docker top 814c0134a033ae551548c9dcc3a9557c151a26df8929c75a2ed18c741e9bd57b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T14:23:01.524Z] + go version [2022-06-17T14:23:01.525Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T14:23:01.549Z] $ docker stop --time=1 814c0134a033ae551548c9dcc3a9557c151a26df8929c75a2ed18c741e9bd57b [2022-06-17T14:23:03.178Z] $ docker rm -f 814c0134a033ae551548c9dcc3a9557c151a26df8929c75a2ed18c741e9bd57b [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:23:03.777Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T14:23:03.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:23:04.015Z] prd-ubuntu20.04-docker-arm64-4c-16g-2585 does not seem to be running inside a container [2022-06-17T14:23:04.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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:23:05.333Z] $ docker top e4f7c9214344fe556ea26d3c2cbffe1a48873f82abf83322f60a235e37fce6f4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T14:23:06.263Z] + make test [2022-06-17T14:23:06.263Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T14:23:07.710Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-17T14:24:29.566Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-17T14:24:29.566Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements [2022-06-17T14:24:29.566Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T14:24:29.566Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T14:24:51.770Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T14:24:51.770Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T14:24:51.770Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T14:24:52.064Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T14:24:52.081Z] $ docker stop --time=1 e4f7c9214344fe556ea26d3c2cbffe1a48873f82abf83322f60a235e37fce6f4 [2022-06-17T14:24:53.845Z] $ docker rm -f e4f7c9214344fe556ea26d3c2cbffe1a48873f82abf83322f60a235e37fce6f4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T14:24:54.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T14:24:54.812Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T14:24:55.306Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T14:24:55.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T14:24:56.029Z] + ls -al . [2022-06-17T14:24:56.029Z] total 188 [2022-06-17T14:24:56.029Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 14:24 . [2022-06-17T14:24:56.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 14:21 .. [2022-06-17T14:24:56.029Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 14:21 .git [2022-06-17T14:24:56.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:21 .github [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 17 14:21 .gitignore [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 14:21 .golangci.yml [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 17 14:21 Attribution.txt [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 17 14:21 CHANGELOG.md [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 17 14:21 Dockerfile [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 14:21 GOVERNANCE.md [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 14:21 Jenkinsfile [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 14:21 LICENSE [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 17 14:21 Makefile [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 17 14:21 OWNERS.md [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 17 14:21 README.md [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 14:19 VERSION [2022-06-17T14:24:56.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 14:21 bin [2022-06-17T14:24:56.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:21 cmd [2022-06-17T14:24:56.030Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 17 14:24 coverage.out [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 17 14:21 go.mod [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 17 14:21 go.sum [2022-06-17T14:24:56.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:21 internal [2022-06-17T14:24:56.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:21 snap [2022-06-17T14:24:56.030Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 14:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:24:56.388Z] + 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=2f7c6def428852450d0e08c4526510d83eeebd00 --label arch=arm64 --label version=0.0.0 . [2022-06-17T14:24:56.996Z] Sending build context to Docker daemon 11.71MB [2022-06-17T14:24:56.996Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T14:24:56.996Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T14:24:56.996Z] ---> 3764ffb66a27 [2022-06-17T14:24:56.996Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T14:24:56.996Z] ---> Running in 64c1a186da83 [2022-06-17T14:24:57.271Z] Removing intermediate container 64c1a186da83 [2022-06-17T14:24:57.271Z] ---> 260d3a806b06 [2022-06-17T14:24:57.271Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T14:24:57.271Z] ---> Running in 1b9a92f8de9b [2022-06-17T14:24:57.546Z] Removing intermediate container 1b9a92f8de9b [2022-06-17T14:24:57.546Z] ---> 4167826a29ad [2022-06-17T14:24:57.546Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-17T14:24:57.822Z] ---> Running in 922353e4fb0b [2022-06-17T14:24:58.096Z] Removing intermediate container 922353e4fb0b [2022-06-17T14:24:58.097Z] ---> 0e9e482f28bb [2022-06-17T14:24:58.097Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:24:58.097Z] ---> Running in bf189e26c4a6 [2022-06-17T14:25:00.075Z] Removing intermediate container bf189e26c4a6 [2022-06-17T14:25:00.075Z] ---> 0ce48986c848 [2022-06-17T14:25:00.075Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T14:25:00.075Z] ---> Running in 3a0f1b5f59de [2022-06-17T14:25:01.055Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T14:25:01.651Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T14:25:02.714Z] OK: 224 MiB in 56 packages [2022-06-17T14:25:03.359Z] Removing intermediate container 3a0f1b5f59de [2022-06-17T14:25:03.359Z] ---> 86e34eced708 [2022-06-17T14:25:03.359Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-17T14:25:03.985Z] ---> befa3670acfa [2022-06-17T14:25:03.985Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T14:25:04.320Z] ---> Running in c05ae7131aeb [2022-06-17T14:25:06.343Z] Removing intermediate container c05ae7131aeb [2022-06-17T14:25:06.343Z] ---> 6caf533477a2 [2022-06-17T14:25:06.343Z] Step 10/26 : COPY . . [2022-06-17T14:25:07.325Z] ---> a717486402bf [2022-06-17T14:25:07.325Z] Step 11/26 : ARG MAKE='make build' [2022-06-17T14:25:07.599Z] ---> Running in 999cdc1703f3 [2022-06-17T14:25:07.873Z] Removing intermediate container 999cdc1703f3 [2022-06-17T14:25:07.873Z] ---> be8c0e697d93 [2022-06-17T14:25:07.873Z] Step 12/26 : RUN $MAKE [2022-06-17T14:25:07.873Z] ---> Running in 0f3290a39628 [2022-06-17T14:25:08.854Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-17T14:27:15.714Z] Removing intermediate container 0f3290a39628 [2022-06-17T14:27:15.714Z] ---> 973f9a7fc853 [2022-06-17T14:27:15.714Z] Step 13/26 : FROM alpine:3.14 [2022-06-17T14:27:15.714Z] 3.14: Pulling from library/alpine [2022-06-17T14:27:15.714Z] 455c02918c45: Pulling fs layer [2022-06-17T14:27:15.714Z] 455c02918c45: Verifying Checksum [2022-06-17T14:27:15.714Z] 455c02918c45: Pull complete [2022-06-17T14:27:15.714Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T14:27:15.714Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T14:27:15.714Z] ---> ac73e934f311 [2022-06-17T14:27:15.714Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-17T14:27:15.714Z] ---> Running in 52d661f347c9 [2022-06-17T14:27:15.714Z] Removing intermediate container 52d661f347c9 [2022-06-17T14:27:15.714Z] ---> 3c2c62210532 [2022-06-17T14:27:15.714Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:27:15.714Z] ---> Running in df83d180428c [2022-06-17T14:27:15.714Z] Removing intermediate container df83d180428c [2022-06-17T14:27:15.714Z] ---> 1dec1cd50a62 [2022-06-17T14:27:15.714Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T14:27:15.714Z] ---> Running in 11e1276370ab [2022-06-17T14:27:15.714Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-17T14:27:15.714Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-17T14:27:15.714Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T14:27:15.714Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T14:27:15.714Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T14:27:15.714Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T14:27:15.714Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T14:27:15.714Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T14:27:15.714Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T14:27:15.714Z] OK: 8 MiB in 20 packages [2022-06-17T14:27:15.714Z] Removing intermediate container 11e1276370ab [2022-06-17T14:27:15.714Z] ---> cbe5a629600a [2022-06-17T14:27:15.714Z] Step 17/26 : WORKDIR / [2022-06-17T14:27:15.714Z] ---> Running in a08b24f79850 [2022-06-17T14:27:15.714Z] Removing intermediate container a08b24f79850 [2022-06-17T14:27:15.714Z] ---> f036a7277ec8 [2022-06-17T14:27:15.714Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-17T14:27:15.714Z] ---> 920d080fc9df [2022-06-17T14:27:15.714Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-17T14:27:15.714Z] ---> 610982fb05ac [2022-06-17T14:27:15.714Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-17T14:27:15.714Z] ---> 6998b4cd0c50 [2022-06-17T14:27:15.714Z] Step 21/26 : EXPOSE 59900 [2022-06-17T14:27:15.714Z] ---> Running in a311b52b2071 [2022-06-17T14:27:15.714Z] Removing intermediate container a311b52b2071 [2022-06-17T14:27:15.714Z] ---> 0085b25d4e47 [2022-06-17T14:27:15.714Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-17T14:27:15.714Z] ---> Running in 6db3d4605131 [2022-06-17T14:27:15.714Z] Removing intermediate container 6db3d4605131 [2022-06-17T14:27:15.714Z] ---> 0abd37b22bba [2022-06-17T14:27:15.714Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T14:27:15.714Z] ---> Running in 9b55e6f1e3c1 [2022-06-17T14:27:15.714Z] Removing intermediate container 9b55e6f1e3c1 [2022-06-17T14:27:15.714Z] ---> 7866377001bb [2022-06-17T14:27:15.714Z] Step 24/26 : LABEL arch=arm64 [2022-06-17T14:27:15.714Z] ---> Running in 451b70823437 [2022-06-17T14:27:15.714Z] Removing intermediate container 451b70823437 [2022-06-17T14:27:15.714Z] ---> 61bd5318f717 [2022-06-17T14:27:15.714Z] Step 25/26 : LABEL git_sha=2f7c6def428852450d0e08c4526510d83eeebd00 [2022-06-17T14:27:15.714Z] ---> Running in 05871f72ddb9 [2022-06-17T14:27:15.714Z] Removing intermediate container 05871f72ddb9 [2022-06-17T14:27:15.714Z] ---> aff1c1b43a16 [2022-06-17T14:27:15.714Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T14:27:15.714Z] ---> Running in 313b7415a69c [2022-06-17T14:27:15.714Z] Removing intermediate container 313b7415a69c [2022-06-17T14:27:15.714Z] ---> 831cf1f57c29 [2022-06-17T14:27:15.714Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T14:27:15.714Z] Successfully built 831cf1f57c29 [2022-06-17T14:27:15.714Z] 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:27:16.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T14:27:16.166Z] [2022-06-17T14:27:16.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:27:16.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T14:27:16.792Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T14:27:16.792Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T14:27:16.792Z] 04944245beec: Pulling fs layer [2022-06-17T14:27:16.792Z] 699f458cf7ca: Pulling fs layer [2022-06-17T14:27:16.792Z] 765212b225bb: Pulling fs layer [2022-06-17T14:27:16.792Z] f23df028b6ca: Pulling fs layer [2022-06-17T14:27:16.792Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T14:27:16.792Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T14:27:16.792Z] f23df028b6ca: Waiting [2022-06-17T14:27:16.792Z] d65c8cfc05b1: Waiting [2022-06-17T14:27:16.792Z] 2437ff75d9bd: Waiting [2022-06-17T14:27:16.792Z] 765212b225bb: Waiting [2022-06-17T14:27:16.792Z] 04944245beec: Verifying Checksum [2022-06-17T14:27:16.792Z] 04944245beec: Download complete [2022-06-17T14:27:16.792Z] 765212b225bb: Verifying Checksum [2022-06-17T14:27:16.792Z] 765212b225bb: Download complete [2022-06-17T14:27:16.792Z] f23df028b6ca: Download complete [2022-06-17T14:27:16.792Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T14:27:16.792Z] d65c8cfc05b1: Download complete [2022-06-17T14:27:17.070Z] 699f458cf7ca: Verifying Checksum [2022-06-17T14:27:17.070Z] 699f458cf7ca: Download complete [2022-06-17T14:27:17.343Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T14:27:17.343Z] 8998bd30e6a1: Download complete [2022-06-17T14:27:19.972Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T14:27:19.972Z] 2437ff75d9bd: Download complete [2022-06-17T14:27:21.420Z] 8998bd30e6a1: Pull complete [2022-06-17T14:27:22.021Z] 04944245beec: Pull complete [2022-06-17T14:27:23.455Z] 699f458cf7ca: Pull complete [2022-06-17T14:27:23.728Z] 765212b225bb: Pull complete [2022-06-17T14:27:24.705Z] f23df028b6ca: Pull complete [2022-06-17T14:27:24.705Z] d65c8cfc05b1: Pull complete [2022-06-17T14:27:39.788Z] 2437ff75d9bd: Pull complete [2022-06-17T14:27:39.788Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T14:27:39.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T14:27:39.788Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:27:40.038Z] prd-ubuntu20.04-docker-arm64-4c-16g-2585 does not seem to be running inside a container [2022-06-17T14:27:40.118Z] $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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:27:42.750Z] $ docker top 865c2dc49a2653b8b829c15dd52f8be3e202db7af6ed3553738cfa227d4a4123 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:27:43.679Z] ---> job-cost.sh [2022-06-17T14:27:43.679Z] lf-activate-venv: SKIPPING [2022-06-17T14:27:43.679Z] INFO: No Stack... [2022-06-17T14:27:43.949Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T14:27:44.924Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T14:27:45.580Z] + cat /w/workspace/device-virtual-go/5/archives/cost.csv [2022-06-17T14:27:45.580Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T14:27:45.635Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-5-stack-cost] [2022-06-17T14:27:45.641Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-5-stack-cost] did not exist. Created. [2022-06-17T14:27:45.641Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T14:27:46.320Z] /w/workspace/device-virtual-go/5@tmp/durable-3fad4d8b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T14:27:47.000Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T14:27:47.019Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T14:27:47.065Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T14:27:47.072Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T14:27:47.087Z] $ docker stop --time=1 865c2dc49a2653b8b829c15dd52f8be3e202db7af6ed3553738cfa227d4a4123 [2022-06-17T14:27:48.598Z] $ docker rm -f 865c2dc49a2653b8b829c15dd52f8be3e202db7af6ed3553738cfa227d4a4123 [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:27:49.069Z] provisioning config files... [2022-06-17T14:27:49.078Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config6649535852310430186tmp [Pipeline] { [Pipeline] sh [2022-06-17T14:27:49.376Z] + set +x [2022-06-17T14:27:49.376Z] + curl -s https://codecov.io/bash [2022-06-17T14:27:49.376Z] + bash -s -- [2022-06-17T14:27:49.376Z] [2022-06-17T14:27:49.376Z] _____ _ [2022-06-17T14:27:49.376Z] / ____| | | [2022-06-17T14:27:49.376Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T14:27:49.376Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T14:27:49.376Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T14:27:49.376Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T14:27:49.376Z] Bash-1.0.6 [2022-06-17T14:27:49.376Z] [2022-06-17T14:27:49.376Z] [2022-06-17T14:27:49.376Z] ==> git version 2.25.1 found [2022-06-17T14:27:49.376Z] ==> 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:27:49.376Z] Release-Date: 2020-01-08 [2022-06-17T14:27:49.376Z] 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:27:49.376Z] 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:27:49.376Z] ==> Jenkins CI detected. [2022-06-17T14:27:49.376Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-17T14:27:49.376Z] project root: . [2022-06-17T14:27:49.376Z] --> token set from env [2022-06-17T14:27:49.376Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T14:27:49.376Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T14:27:49.376Z] ==> Python coveragepy not found [2022-06-17T14:27:49.376Z] ==> Searching for coverage reports in: [2022-06-17T14:27:49.376Z] + . [2022-06-17T14:27:49.376Z] -> Found 1 reports [2022-06-17T14:27:49.376Z] ==> Detecting git/mercurial file structure [2022-06-17T14:27:49.376Z] ==> Reading reports [2022-06-17T14:27:49.376Z] + ./coverage.out bytes=44128 [2022-06-17T14:27:49.639Z] ==> Appending adjustments [2022-06-17T14:27:49.639Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T14:27:49.639Z] + Found adjustments [2022-06-17T14:27:49.639Z] ==> Gzipping contents [2022-06-17T14:27:49.639Z] 8.0K /tmp/codecov.h2hMaL.gz [2022-06-17T14:27:49.639Z] ==> Uploading reports [2022-06-17T14:27:49.639Z] url: https://codecov.io [2022-06-17T14:27:49.639Z] query: branch=PR-290&commit=2f7c6def428852450d0e08c4526510d83eeebd00&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-17T14:27:49.639Z] -> Pinging Codecov [2022-06-17T14:27:49.639Z] 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=2f7c6def428852450d0e08c4526510d83eeebd00&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-17T14:27:49.900Z] -> Uploading to [2022-06-17T14:27:49.900Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/5E52B4B073DB2E39498172D8E973AA87/2f7c6def428852450d0e08c4526510d83eeebd00/6a51af86-897a-4dfe-b9a2-989385539fe6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T142749Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be9ae2ac7f83f3baed368cd5e7259542d544f597f24f6ef03a9f1ea62bcdf631 [2022-06-17T14:27:49.900Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T14:27:49.900Z] Dload Upload Total Spent Left Speed [2022-06-17T14:27:50.161Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5485 0 0 100 5485 0 18222 --:--:-- --:--:-- --:--:-- 18222 [2022-06-17T14:27:50.161Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/2f7c6def428852450d0e08c4526510d83eeebd00 [Pipeline] } [2022-06-17T14:27:50.170Z] 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:27:50.891Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-17T14:27:50.891Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T14:27:50.891Z] total 16 [2022-06-17T14:27:50.891Z] drwxr-xr-x 3 root root 4096 Jun 17 14:20 . [2022-06-17T14:27:50.891Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 14:20 .. [2022-06-17T14:27:50.891Z] drwxr-xr-x 2 root root 4096 Jun 17 14:20 cost [2022-06-17T14:27:50.891Z] -rw-r--r-- 1 root root 88 Jun 17 14:20 cost.csv [2022-06-17T14:27:50.891Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T14:27:50.891Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T14:27:50.891Z] total 16 [2022-06-17T14:27:50.891Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 14:20 . [2022-06-17T14:27:50.891Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 14:20 .. [2022-06-17T14:27:50.891Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 14:20 cost [2022-06-17T14:27:50.891Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 17 14:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:27:51.184Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:27:52.051Z] ---> package-listing.sh [2022-06-17T14:27:52.051Z] ++ facter osfamily [2022-06-17T14:27:52.051Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T14:27:52.312Z] + OS_FAMILY=debian [2022-06-17T14:27:52.312Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-17T14:27:52.312Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T14:27:52.312Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T14:27:52.312Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T14:27:52.312Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T14:27:52.312Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-17T14:27:52.312Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T14:27:52.312Z] + case "${OS_FAMILY}" in [2022-06-17T14:27:52.312Z] + dpkg -l [2022-06-17T14:27:52.312Z] + grep '^ii' [2022-06-17T14:27:52.312Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T14:27:52.312Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T14:27:52.312Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T14:27:52.312Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-17T14:27:52.312Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-17T14:27:52.312Z] + 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:27:52.324Z] 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:27:52.607Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:27:53.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T14:27:53.172Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:27:53.252Z] prd-ubuntu20.04-docker-8c-8g-2584 does not seem to be running inside a container [2022-06-17T14:27:53.294Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T14:27:53.544Z] $ docker top 275d7299cfbf047bea71998a39fd53ff5f4148d4fd37c0fc09b534ce9ee97a7b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T14:27:53.893Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T14:27:54.187Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T14:27:54.477Z] + ls /var/log/sa-host [2022-06-17T14:27:54.477Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T14:27:54.611Z] provisioning config files... [2022-06-17T14:27:54.620Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config6239936482993651862tmp [Pipeline] { [Pipeline] echo [2022-06-17T14:27:54.636Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:27:54.922Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T14:27:54.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:27:55.269Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T14:27:55.279Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:27:55.567Z] ---> sudo-logs.sh [2022-06-17T14:27:55.567Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T14:27:55.600Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:27:55.887Z] ---> job-cost.sh [2022-06-17T14:27:55.887Z] lf-activate-venv: SKIPPING [2022-06-17T14:27:55.887Z] DEBUG: total: 0.2199999988079071 [2022-06-17T14:27:55.887Z] INFO: Retrieving Stack Cost... [2022-06-17T14:27:56.148Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T14:27:56.720Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T14:27:56.731Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:27:57.017Z] ---> logs-deploy.sh [2022-06-17T14:27:57.017Z] lf-activate-venv: SKIPPING [2022-06-17T14:27:57.017Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/5 [2022-06-17T14:27:57.017Z] INFO: archiving workspace using pattern(s): [2022-06-17T14:27:57.957Z] Archives upload complete. [2022-06-17T14:27:57.957Z] INFO: archiving logs to Nexus