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 6c956091e39ebf418aab18435948f90fcdb39d95 rather than 91de058d25bd39d5ee8e4f968f0dfa221084a88f Obtained Jenkinsfile from 6c956091e39ebf418aab18435948f90fcdb39d95 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-ssh11221941451415143817.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-ssh18250940223413441770.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-ssh17373691811977832869.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-ssh9491818485177894908.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-ssh1853382401720148743.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-15449 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 6c956091e39ebf418aab18435948f90fcdb39d95 into PR head commit 91de058d25bd39d5ee8e4f968f0dfa221084a88f Merge succeeded, producing 91de058d25bd39d5ee8e4f968f0dfa221084a88f Checking out Revision 91de058d25bd39d5ee8e4f968f0dfa221084a88f (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 91de058d25bd39d5ee8e4f968f0dfa221084a88f # 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 6c956091e39ebf418aab18435948f90fcdb39d95 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91de058d25bd39d5ee8e4f968f0dfa221084a88f # timeout=10 Commit message: "refactor(snap): Combine install and configure hook executables (#2)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-23T12:44:38.878Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-23T12:44:38.938Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-23T12:44:38.958Z] ========================================================= [2022-06-23T12:44:38.958Z] EdgeX Global Pipelines Version Info [2022-06-23T12:44:38.958Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1336791b902c63d46858c1764c9f706e487a85dc # timeout=10 [2022-06-23T12:44:39.736Z] ------------------- [2022-06-23T12:44:39.736Z] stable info: [2022-06-23T12:44:39.736Z] ------------------- [2022-06-23T12:44:39.736Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-23T12:44:39.736Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T12:44:39.736Z] Message: update stable to v1.0.234 [2022-06-23T12:44:40.310Z] ------------------- [2022-06-23T12:44:40.310Z] experimental info: [2022-06-23T12:44:40.310Z] ------------------- [2022-06-23T12:44:40.310Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-23T12:44:40.310Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T12:44:40.310Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-23T12:44:40.479Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-23T12:44:40.490Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-23T12:44:40.502Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-23T12:44:40.514Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-23T12:44:40.526Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-23T12:44:40.537Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-23T12:44:40.549Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-23T12:44:40.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-23T12:44:40.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-23T12:44:40.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-23T12:44:40.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-23T12:44:40.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-23T12:44:40.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-23T12:44:40.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-23T12:44:40.649Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T12:44:40.661Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T12:44:40.672Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T12:44:40.687Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T12:44:40.697Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-23T12:44:40.709Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-23T12:44:40.725Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-23T12:44:40.741Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-23T12:44:40.757Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-23T12:44:40.774Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-23T12:44:40.787Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-23T12:44:40.799Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-23T12:44:40.811Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-23T12:44:40.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-23T12:44:40.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-23T12:44:40.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-23T12:44:40.869Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91de058d25bd39d5ee8e4f968f0dfa221084a88f [Pipeline] echo [2022-06-23T12:44:40.883Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91de058 [Pipeline] echo [2022-06-23T12:44:40.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T12:44:40.941Z] provisioning config files... [2022-06-23T12:44:40.955Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config1000420235612677379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:44:41.260Z] ---> docker-login.sh [2022-06-23T12:44:41.260Z] nexus3.edgexfoundry.org:10001 [2022-06-23T12:44:41.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:44:41.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:44:41.783Z] Configure a credential helper to remove this warning. See [2022-06-23T12:44:41.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:44:41.783Z] [2022-06-23T12:44:41.783Z] Login Succeeded [2022-06-23T12:44:41.783Z] nexus3.edgexfoundry.org:10002 [2022-06-23T12:44:41.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:44:41.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:44:41.783Z] Configure a credential helper to remove this warning. See [2022-06-23T12:44:41.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:44:41.783Z] [2022-06-23T12:44:41.783Z] Login Succeeded [2022-06-23T12:44:41.783Z] nexus3.edgexfoundry.org:10003 [2022-06-23T12:44:41.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:44:42.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:44:42.044Z] Configure a credential helper to remove this warning. See [2022-06-23T12:44:42.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:44:42.044Z] [2022-06-23T12:44:42.045Z] Login Succeeded [2022-06-23T12:44:42.045Z] nexus3.edgexfoundry.org:10004 [2022-06-23T12:44:42.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:44:42.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:44:42.045Z] Configure a credential helper to remove this warning. See [2022-06-23T12:44:42.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:44:42.045Z] [2022-06-23T12:44:42.045Z] Login Succeeded [2022-06-23T12:44:42.045Z] docker.io [2022-06-23T12:44:42.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:44:42.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:44:42.618Z] Configure a credential helper to remove this warning. See [2022-06-23T12:44:42.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:44:42.618Z] [2022-06-23T12:44:42.618Z] Login Succeeded [2022-06-23T12:44:42.618Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T12:44:42.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-23T12:44:43.031Z] + git rev-list -1 --merges 91de058d25bd39d5ee8e4f968f0dfa221084a88f~1..91de058d25bd39d5ee8e4f968f0dfa221084a88f [Pipeline] echo [2022-06-23T12:44:43.129Z] -----------> git rev-list -1 --merges 91de058d25bd39d5ee8e4f968f0dfa221084a88f~1..91de058d25bd39d5ee8e4f968f0dfa221084a88f 91de058d25bd39d5ee8e4f968f0dfa221084a88f [2022-06-23T12:44:43.129Z] 91de058d25bd39d5ee8e4f968f0dfa221084a88f [false] [Pipeline] sh [2022-06-23T12:44:43.420Z] + git log --format=format:%s -1 91de058d25bd39d5ee8e4f968f0dfa221084a88f [Pipeline] echo [2022-06-23T12:44:43.436Z] ========================================================= [2022-06-23T12:44:43.436Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-23T12:44:43.436Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T12:44:43.773Z] + git log --format=format:%s -1 91de058d25bd39d5ee8e4f968f0dfa221084a88f [Pipeline] echo [2022-06-23T12:44:43.785Z] [semverPrep] GIT_COMMIT: 91de058d25bd39d5ee8e4f968f0dfa221084a88f, Commit Message: refactor(snap): Combine install and configure hook executables (#2) [Pipeline] echo [2022-06-23T12:44:43.796Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-23T12:44:44.182Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T12:44:44.182Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-23T12:44:44.182Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-23T12:44:44.182Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-23T12:44:44.182Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-23T12:44:44.182Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-23T12:44:44.182Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:44:44.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T12:44:44.609Z] [2022-06-23T12:44:44.609Z] 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-23T12:44:44.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T12:44:44.917Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-23T12:44:44.917Z] 42c077c10790: Pulling fs layer [2022-06-23T12:44:44.917Z] f63e77b7563a: Pulling fs layer [2022-06-23T12:44:44.917Z] bd5fdadae976: Pulling fs layer [2022-06-23T12:44:44.917Z] 205491f53016: Pulling fs layer [2022-06-23T12:44:44.917Z] df18705c85c3: Pulling fs layer [2022-06-23T12:44:44.917Z] bdb3f477010e: Pulling fs layer [2022-06-23T12:44:44.917Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-23T12:44:44.917Z] 2c6e9b1d212d: Pulling fs layer [2022-06-23T12:44:44.917Z] bdb8f0575790: Pulling fs layer [2022-06-23T12:44:44.917Z] 386e3cb2ff24: Pulling fs layer [2022-06-23T12:44:44.917Z] 2343380bae48: Pulling fs layer [2022-06-23T12:44:44.917Z] 205491f53016: Waiting [2022-06-23T12:44:44.917Z] bdb3f477010e: Waiting [2022-06-23T12:44:44.917Z] bdb8f0575790: Waiting [2022-06-23T12:44:44.917Z] c8a8fc8e1c8f: Waiting [2022-06-23T12:44:44.917Z] 2c6e9b1d212d: Waiting [2022-06-23T12:44:44.917Z] df18705c85c3: Waiting [2022-06-23T12:44:44.917Z] 386e3cb2ff24: Waiting [2022-06-23T12:44:44.917Z] 2343380bae48: Waiting [2022-06-23T12:44:44.917Z] f63e77b7563a: Verifying Checksum [2022-06-23T12:44:44.917Z] f63e77b7563a: Download complete [2022-06-23T12:44:44.917Z] 205491f53016: Verifying Checksum [2022-06-23T12:44:44.917Z] 205491f53016: Download complete [2022-06-23T12:44:45.177Z] bd5fdadae976: Verifying Checksum [2022-06-23T12:44:45.177Z] bd5fdadae976: Download complete [2022-06-23T12:44:45.177Z] df18705c85c3: Verifying Checksum [2022-06-23T12:44:45.177Z] df18705c85c3: Download complete [2022-06-23T12:44:45.177Z] bdb3f477010e: Verifying Checksum [2022-06-23T12:44:45.177Z] bdb3f477010e: Download complete [2022-06-23T12:44:45.177Z] 2c6e9b1d212d: Verifying Checksum [2022-06-23T12:44:45.177Z] 2c6e9b1d212d: Download complete [2022-06-23T12:44:45.177Z] bdb8f0575790: Verifying Checksum [2022-06-23T12:44:45.177Z] bdb8f0575790: Download complete [2022-06-23T12:44:45.177Z] 386e3cb2ff24: Verifying Checksum [2022-06-23T12:44:45.177Z] 386e3cb2ff24: Download complete [2022-06-23T12:44:45.177Z] 2343380bae48: Verifying Checksum [2022-06-23T12:44:45.177Z] 2343380bae48: Download complete [2022-06-23T12:44:45.177Z] 42c077c10790: Verifying Checksum [2022-06-23T12:44:45.177Z] 42c077c10790: Download complete [2022-06-23T12:44:45.436Z] c8a8fc8e1c8f: Download complete [2022-06-23T12:44:46.822Z] 42c077c10790: Pull complete [2022-06-23T12:44:46.822Z] f63e77b7563a: Pull complete [2022-06-23T12:44:47.391Z] bd5fdadae976: Pull complete [2022-06-23T12:44:47.391Z] 205491f53016: Pull complete [2022-06-23T12:44:47.652Z] df18705c85c3: Pull complete [2022-06-23T12:44:47.652Z] bdb3f477010e: Pull complete [2022-06-23T12:44:49.559Z] c8a8fc8e1c8f: Pull complete [2022-06-23T12:44:49.559Z] 2c6e9b1d212d: Pull complete [2022-06-23T12:44:49.559Z] bdb8f0575790: Pull complete [2022-06-23T12:44:49.819Z] 386e3cb2ff24: Pull complete [2022-06-23T12:44:49.819Z] 2343380bae48: Pull complete [2022-06-23T12:44:49.819Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-23T12:44:49.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T12:44:49.819Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T12:44:49.921Z] prd-ubuntu20.04-docker-8c-8g-15449 does not seem to be running inside a container [2022-06-23T12:44:49.914Z] $ 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-23T12:44:51.507Z] $ docker top ef9a883d7730b3a4252a415268f365e9120d4fa63e56d0626563d6b09ea5d7bb -eo pid,comm [2022-06-23T12:44:51.623Z] 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-23T12:44:51.623Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T12:44:51.656Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T12:44:51.656Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T12:44:51.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T12:44:51.736Z] $ docker exec ef9a883d7730b3a4252a415268f365e9120d4fa63e56d0626563d6b09ea5d7bb ssh-agent [2022-06-23T12:44:51.892Z] SSH_AUTH_SOCK=/tmp/ssh-QIeSflyZznW7/agent.33 [2022-06-23T12:44:51.892Z] SSH_AGENT_PID=39 [2022-06-23T12:44:51.898Z] Running ssh-add (command line suppressed) [2022-06-23T12:44:51.990Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_3787645482492564315.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_3787645482492564315.key) [2022-06-23T12:44:52.039Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T12:44:52.330Z] + git tag --points-at HEAD [Pipeline] } [2022-06-23T12:44:52.320Z] $ docker exec --env ******** --env ******** ef9a883d7730b3a4252a415268f365e9120d4fa63e56d0626563d6b09ea5d7bb ssh-agent -k [2022-06-23T12:44:52.425Z] unset SSH_AUTH_SOCK; [2022-06-23T12:44:52.425Z] unset SSH_AGENT_PID; [2022-06-23T12:44:52.426Z] echo Agent pid 39 killed; [2022-06-23T12:44:52.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-23T12:44:52.497Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T12:44:52.497Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T12:44:52.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T12:44:52.611Z] $ docker exec ef9a883d7730b3a4252a415268f365e9120d4fa63e56d0626563d6b09ea5d7bb ssh-agent [2022-06-23T12:44:52.768Z] SSH_AUTH_SOCK=/tmp/ssh-Lj36wlOBWq0B/agent.72 [2022-06-23T12:44:52.768Z] SSH_AGENT_PID=78 [2022-06-23T12:44:52.773Z] Running ssh-add (command line suppressed) [2022-06-23T12:44:52.858Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_3018131725224916039.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_3018131725224916039.key) [2022-06-23T12:44:52.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T12:44:53.204Z] + git semver init [2022-06-23T12:44:53.465Z] 2022-06-23 12:44:53,372 [run_init] DEBUG init version:0.0.0 force:False [2022-06-23T12:44:53.465Z] 2022-06-23 12:44:53,373 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-23T12:44:53.465Z] 2022-06-23 12:44:53,373 [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-23T12:44:53.465Z] 2022-06-23 12:44:53,373 [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-23T12:44:54.408Z] 2022-06-23 12:44:54,262 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-23T12:44:54.408Z] 2022-06-23 12:44:54,263 [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-23T12:44:54.408Z] 2022-06-23 12:44:54,263 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-23T12:44:54.408Z] 2022-06-23 12:44:54,267 [execute] INFO git cat-file --batch-check [2022-06-23T12:44:54.408Z] 2022-06-23 12:44:54,267 [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-23T12:44:54.408Z] 2022-06-23 12:44:54,273 [execute] INFO git cat-file --batch [2022-06-23T12:44:54.408Z] 2022-06-23 12:44:54,274 [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-23T12:44:54.408Z] 2022-06-23 12:44:54,278 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-23T12:44:54.408Z] 0.0.0 [Pipeline] } [2022-06-23T12:44:54.394Z] $ docker exec --env ******** --env ******** ef9a883d7730b3a4252a415268f365e9120d4fa63e56d0626563d6b09ea5d7bb ssh-agent -k [2022-06-23T12:44:54.515Z] unset SSH_AUTH_SOCK; [2022-06-23T12:44:54.516Z] unset SSH_AGENT_PID; [2022-06-23T12:44:54.516Z] echo Agent pid 78 killed; [2022-06-23T12:44:54.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T12:44:54.869Z] + git semver [Pipeline] } [2022-06-23T12:44:55.122Z] $ docker stop --time=1 ef9a883d7730b3a4252a415268f365e9120d4fa63e56d0626563d6b09ea5d7bb [2022-06-23T12:44:56.440Z] $ docker rm -f ef9a883d7730b3a4252a415268f365e9120d4fa63e56d0626563d6b09ea5d7bb [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T12:44:56.818Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-23T12:44:57.056Z] Stashed 1 file(s) [Pipeline] echo [2022-06-23T12:44:57.059Z] [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-23T12:44:57.187Z] provisioning config files... [2022-06-23T12:44:57.196Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config246797721761605771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:44:57.494Z] ---> docker-login.sh [2022-06-23T12:44:57.494Z] nexus3.edgexfoundry.org:10001 [2022-06-23T12:44:57.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:44:57.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:44:57.494Z] Configure a credential helper to remove this warning. See [2022-06-23T12:44:57.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:44:57.495Z] [2022-06-23T12:44:57.495Z] Login Succeeded [2022-06-23T12:44:57.495Z] nexus3.edgexfoundry.org:10002 [2022-06-23T12:44:57.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:44:57.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:44:57.755Z] Configure a credential helper to remove this warning. See [2022-06-23T12:44:57.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:44:57.755Z] [2022-06-23T12:44:57.755Z] Login Succeeded [2022-06-23T12:44:57.755Z] nexus3.edgexfoundry.org:10003 [2022-06-23T12:44:57.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:44:57.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:44:57.755Z] Configure a credential helper to remove this warning. See [2022-06-23T12:44:57.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:44:57.755Z] [2022-06-23T12:44:57.755Z] Login Succeeded [2022-06-23T12:44:57.755Z] nexus3.edgexfoundry.org:10004 [2022-06-23T12:44:57.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:44:58.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:44:58.014Z] Configure a credential helper to remove this warning. See [2022-06-23T12:44:58.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:44:58.014Z] [2022-06-23T12:44:58.014Z] Login Succeeded [2022-06-23T12:44:58.014Z] docker.io [2022-06-23T12:44:58.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:44:58.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:44:58.274Z] Configure a credential helper to remove this warning. See [2022-06-23T12:44:58.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:44:58.274Z] [2022-06-23T12:44:58.274Z] Login Succeeded [2022-06-23T12:44:58.274Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T12:44:58.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T12:44:58.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T12:44:58.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T12:44:58.374Z] ========================================================= [2022-06-23T12:44:58.374Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-23T12:44:58.374Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:44:58.703Z] + 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-23T12:44:58.703Z] Sending build context to Docker daemon 23.13MB [2022-06-23T12:44:58.703Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T12:44:58.703Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-23T12:44:58.968Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-23T12:44:58.968Z] 59bf1c3509f3: Pulling fs layer [2022-06-23T12:44:58.968Z] 666ba61612fd: Pulling fs layer [2022-06-23T12:44:58.968Z] 8ed8ca486205: Pulling fs layer [2022-06-23T12:44:58.968Z] cc1cd167ecdc: Pulling fs layer [2022-06-23T12:44:58.968Z] c516ae0d96e1: Pulling fs layer [2022-06-23T12:44:58.968Z] 684cea983483: Pulling fs layer [2022-06-23T12:44:58.968Z] dd3240ac7de5: Pulling fs layer [2022-06-23T12:44:58.968Z] b1e948a4e11c: Pulling fs layer [2022-06-23T12:44:58.968Z] a8fd76ee1af6: Pulling fs layer [2022-06-23T12:44:58.968Z] 646ad004c059: Pulling fs layer [2022-06-23T12:44:58.968Z] cc1cd167ecdc: Waiting [2022-06-23T12:44:58.968Z] c516ae0d96e1: Waiting [2022-06-23T12:44:58.968Z] 684cea983483: Waiting [2022-06-23T12:44:58.968Z] dd3240ac7de5: Waiting [2022-06-23T12:44:58.968Z] b1e948a4e11c: Waiting [2022-06-23T12:44:58.968Z] a8fd76ee1af6: Waiting [2022-06-23T12:44:58.968Z] 646ad004c059: Waiting [2022-06-23T12:44:58.968Z] 8ed8ca486205: Download complete [2022-06-23T12:44:58.968Z] 666ba61612fd: Download complete [2022-06-23T12:44:58.969Z] c516ae0d96e1: Verifying Checksum [2022-06-23T12:44:58.969Z] c516ae0d96e1: Download complete [2022-06-23T12:44:58.969Z] 684cea983483: Verifying Checksum [2022-06-23T12:44:58.969Z] 684cea983483: Download complete [2022-06-23T12:44:58.969Z] dd3240ac7de5: Verifying Checksum [2022-06-23T12:44:58.969Z] dd3240ac7de5: Download complete [2022-06-23T12:44:58.969Z] 59bf1c3509f3: Verifying Checksum [2022-06-23T12:44:58.969Z] 59bf1c3509f3: Download complete [2022-06-23T12:44:58.969Z] b1e948a4e11c: Verifying Checksum [2022-06-23T12:44:58.969Z] b1e948a4e11c: Download complete [2022-06-23T12:44:58.969Z] 59bf1c3509f3: Pull complete [2022-06-23T12:44:59.229Z] 666ba61612fd: Pull complete [2022-06-23T12:44:59.229Z] 8ed8ca486205: Pull complete [2022-06-23T12:44:59.490Z] a8fd76ee1af6: Verifying Checksum [2022-06-23T12:44:59.490Z] a8fd76ee1af6: Download complete [2022-06-23T12:44:59.490Z] 646ad004c059: Verifying Checksum [2022-06-23T12:44:59.490Z] 646ad004c059: Download complete [2022-06-23T12:44:59.490Z] cc1cd167ecdc: Verifying Checksum [2022-06-23T12:44:59.490Z] cc1cd167ecdc: Download complete [2022-06-23T12:45:03.685Z] cc1cd167ecdc: Pull complete [2022-06-23T12:45:03.685Z] c516ae0d96e1: Pull complete [2022-06-23T12:45:03.685Z] 684cea983483: Pull complete [2022-06-23T12:45:03.685Z] dd3240ac7de5: Pull complete [2022-06-23T12:45:03.685Z] b1e948a4e11c: Pull complete [2022-06-23T12:45:05.593Z] a8fd76ee1af6: Pull complete [2022-06-23T12:45:06.533Z] 646ad004c059: Pull complete [2022-06-23T12:45:06.533Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-23T12:45:06.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-23T12:45:06.533Z] ---> 8f69c11f6b0c [2022-06-23T12:45:06.533Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T12:45:08.453Z] ---> Running in 51be1ee0947b [2022-06-23T12:45:08.453Z] Removing intermediate container 51be1ee0947b [2022-06-23T12:45:08.453Z] ---> 779eda414c34 [2022-06-23T12:45:08.453Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T12:45:08.453Z] ---> Running in b727072e2154 [2022-06-23T12:45:08.453Z] Removing intermediate container b727072e2154 [2022-06-23T12:45:08.453Z] ---> 6e5f41278c94 [2022-06-23T12:45:08.453Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-23T12:45:08.453Z] ---> Running in bc8527eab69f [2022-06-23T12:45:08.453Z] Removing intermediate container bc8527eab69f [2022-06-23T12:45:08.453Z] ---> 564130d06855 [2022-06-23T12:45:08.453Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T12:45:08.453Z] ---> Running in 14565e36f893 [2022-06-23T12:45:09.024Z] Removing intermediate container 14565e36f893 [2022-06-23T12:45:09.024Z] ---> ebc84acae142 [2022-06-23T12:45:09.024Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T12:45:09.285Z] ---> Running in c5414a7c48df [2022-06-23T12:45:09.546Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T12:45:10.502Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T12:45:10.502Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-23T12:45:10.764Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-23T12:45:10.764Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-23T12:45:11.026Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-23T12:45:11.026Z] Executing busybox-1.34.1-r3.trigger [2022-06-23T12:45:11.026Z] OK: 224 MiB in 56 packages [2022-06-23T12:45:11.286Z] Removing intermediate container c5414a7c48df [2022-06-23T12:45:11.286Z] ---> 2a0a18fa01df [2022-06-23T12:45:11.286Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-23T12:45:11.547Z] ---> 44c565a0d25c [2022-06-23T12:45:11.547Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T12:45:11.547Z] ---> Running in 7f9be772a022 [2022-06-23T12:45:12.160Z] Still waiting to schedule task [2022-06-23T12:45:12.160Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-23T12:45:26.454Z] Removing intermediate container 7f9be772a022 [2022-06-23T12:45:26.454Z] ---> 3d1a56046375 [2022-06-23T12:45:26.454Z] Step 10/12 : COPY . . [2022-06-23T12:45:26.454Z] ---> 8b866ae6df0f [2022-06-23T12:45:26.454Z] Step 11/12 : ARG MAKE='make build' [2022-06-23T12:45:26.454Z] ---> Running in 0d9fbb28f128 [2022-06-23T12:45:26.454Z] Removing intermediate container 0d9fbb28f128 [2022-06-23T12:45:26.454Z] ---> 027794e2868d [2022-06-23T12:45:26.454Z] Step 12/12 : RUN $MAKE [2022-06-23T12:45:26.454Z] ---> Running in 7c2cb5423e61 [2022-06-23T12:45:26.454Z] noop [2022-06-23T12:45:26.454Z] Removing intermediate container 7c2cb5423e61 [2022-06-23T12:45:26.454Z] ---> 5ea461ed5b2d [2022-06-23T12:45:26.454Z] Successfully built 5ea461ed5b2d [2022-06-23T12:45:26.454Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:45:26.770Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T12:45:26.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T12:45:26.853Z] prd-ubuntu20.04-docker-8c-8g-15449 does not seem to be running inside a container [2022-06-23T12:45:26.896Z] $ 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-23T12:45:27.286Z] $ docker top cf8dea8f70ccde8beb0e5085f8573d672a3a7f15d6be0c282b50ed07ede05f1b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T12:45:27.638Z] + go version [2022-06-23T12:45:27.638Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-23T12:45:27.655Z] $ docker stop --time=1 cf8dea8f70ccde8beb0e5085f8573d672a3a7f15d6be0c282b50ed07ede05f1b [2022-06-23T12:45:28.949Z] $ docker rm -f cf8dea8f70ccde8beb0e5085f8573d672a3a7f15d6be0c282b50ed07ede05f1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:45:29.528Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T12:45:29.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T12:45:29.648Z] prd-ubuntu20.04-docker-8c-8g-15449 does not seem to be running inside a container [2022-06-23T12:45:29.691Z] $ 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-23T12:45:30.082Z] $ docker top f09c9e35580ac5047b8386a75ec6c2616cd3d18e7e0adb8eb21f5a3efc5257f6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T12:45:30.460Z] + make test [2022-06-23T12:45:30.460Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-23T12:45:30.720Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-23T12:45:40.706Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-23T12:45:40.706Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements [2022-06-23T12:45:45.987Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T12:45:50.191Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T12:45:50.191Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T12:45:50.191Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T12:45:50.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T12:45:50.224Z] $ docker stop --time=1 f09c9e35580ac5047b8386a75ec6c2616cd3d18e7e0adb8eb21f5a3efc5257f6 [2022-06-23T12:45:52.089Z] $ docker rm -f f09c9e35580ac5047b8386a75ec6c2616cd3d18e7e0adb8eb21f5a3efc5257f6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T12:45:52.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T12:45:52.595Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-23T12:45:53.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T12:45:53.372Z] + ls -al . [2022-06-23T12:45:53.372Z] total 192 [2022-06-23T12:45:53.372Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 12:45 . [2022-06-23T12:45:53.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 12:44 .. [2022-06-23T12:45:53.372Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 12:44 .git [2022-06-23T12:45:53.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 12:44 .github [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 23 12:44 .gitignore [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 23 12:44 .golangci.yml [2022-06-23T12:45:53.372Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 12:44 .semver [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 23 12:44 Attribution.txt [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 23 12:44 CHANGELOG.md [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 23 12:44 Dockerfile [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 12:44 GOVERNANCE.md [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 12:44 Jenkinsfile [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 12:44 LICENSE [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 23 12:44 Makefile [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 23 12:44 OWNERS.md [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 23 12:44 README.md [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 12:44 VERSION [2022-06-23T12:45:53.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 12:44 bin [2022-06-23T12:45:53.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 12:44 cmd [2022-06-23T12:45:53.372Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 23 12:45 coverage.out [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 23 12:44 go.mod [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 23 12:44 go.sum [2022-06-23T12:45:53.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 12:44 internal [2022-06-23T12:45:53.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 12:44 snap [2022-06-23T12:45:53.372Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 23 12:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:45:53.700Z] + 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=91de058d25bd39d5ee8e4f968f0dfa221084a88f --label arch=amd64 --label version=0.0.0 . [2022-06-23T12:45:53.700Z] Sending build context to Docker daemon 23.17MB [2022-06-23T12:45:53.700Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T12:45:53.700Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T12:45:53.700Z] ---> 5ea461ed5b2d [2022-06-23T12:45:53.700Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T12:45:53.960Z] ---> Running in 78383f5f4068 [2022-06-23T12:45:53.960Z] Removing intermediate container 78383f5f4068 [2022-06-23T12:45:53.960Z] ---> f127642fc6ef [2022-06-23T12:45:53.960Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T12:45:53.960Z] ---> Running in beabe3bad9c1 [2022-06-23T12:45:54.219Z] Removing intermediate container beabe3bad9c1 [2022-06-23T12:45:54.219Z] ---> 332e8deb7223 [2022-06-23T12:45:54.219Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-23T12:45:54.219Z] ---> Running in 41e23c053250 [2022-06-23T12:45:54.219Z] Removing intermediate container 41e23c053250 [2022-06-23T12:45:54.219Z] ---> e7e99f9c018d [2022-06-23T12:45:54.219Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T12:45:54.219Z] ---> Running in 79cf10596c81 [2022-06-23T12:45:54.789Z] Removing intermediate container 79cf10596c81 [2022-06-23T12:45:54.789Z] ---> aca63ecfc368 [2022-06-23T12:45:54.789Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T12:45:54.789Z] ---> Running in 30c8fb9a1a36 [2022-06-23T12:45:55.049Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T12:45:55.993Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T12:45:56.256Z] OK: 224 MiB in 56 packages [2022-06-23T12:45:56.516Z] Removing intermediate container 30c8fb9a1a36 [2022-06-23T12:45:56.516Z] ---> 73d82809f446 [2022-06-23T12:45:56.516Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-23T12:45:56.778Z] ---> a661d03c292a [2022-06-23T12:45:56.778Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T12:45:56.778Z] ---> Running in 329f7a6acf4e [2022-06-23T12:45:57.349Z] Removing intermediate container 329f7a6acf4e [2022-06-23T12:45:57.349Z] ---> b0dbe3762b2e [2022-06-23T12:45:57.349Z] Step 10/26 : COPY . . [2022-06-23T12:45:57.920Z] ---> 51c49dee53ce [2022-06-23T12:45:57.920Z] Step 11/26 : ARG MAKE='make build' [2022-06-23T12:45:57.920Z] ---> Running in dd2bb320008d [2022-06-23T12:45:58.181Z] Removing intermediate container dd2bb320008d [2022-06-23T12:45:58.181Z] ---> 3d28f25b52d1 [2022-06-23T12:45:58.181Z] Step 12/26 : RUN $MAKE [2022-06-23T12:45:58.181Z] ---> Running in d665cdc1697a [2022-06-23T12:45:58.442Z] 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-23T12:46:20.396Z] Removing intermediate container d665cdc1697a [2022-06-23T12:46:20.396Z] ---> 0dafeff96b63 [2022-06-23T12:46:20.396Z] Step 13/26 : FROM alpine:3.14 [2022-06-23T12:46:20.396Z] 3.14: Pulling from library/alpine [2022-06-23T12:46:20.396Z] 8663204ce13b: Pulling fs layer [2022-06-23T12:46:20.396Z] 8663204ce13b: Download complete [2022-06-23T12:46:20.396Z] 8663204ce13b: Pull complete [2022-06-23T12:46:20.396Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-23T12:46:20.396Z] Status: Downloaded newer image for alpine:3.14 [2022-06-23T12:46:20.396Z] ---> e04c818066af [2022-06-23T12:46:20.396Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-23T12:46:20.396Z] ---> Running in 4f2222eacd12 [2022-06-23T12:46:20.396Z] Removing intermediate container 4f2222eacd12 [2022-06-23T12:46:20.396Z] ---> e6dbd67f2945 [2022-06-23T12:46:20.396Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T12:46:20.396Z] ---> Running in 138bb4221fd2 [2022-06-23T12:46:20.396Z] Removing intermediate container 138bb4221fd2 [2022-06-23T12:46:20.396Z] ---> b184d71d2e5f [2022-06-23T12:46:20.396Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T12:46:20.396Z] ---> Running in 414075d770af [2022-06-23T12:46:20.396Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-23T12:46:20.396Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-23T12:46:20.657Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T12:46:20.917Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-23T12:46:20.917Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T12:46:20.917Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-23T12:46:21.178Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T12:46:21.178Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T12:46:21.178Z] Executing busybox-1.33.1-r7.trigger [2022-06-23T12:46:21.443Z] OK: 8 MiB in 20 packages [2022-06-23T12:46:21.704Z] Removing intermediate container 414075d770af [2022-06-23T12:46:21.704Z] ---> 82b8c97ceb9d [2022-06-23T12:46:21.704Z] Step 17/26 : WORKDIR / [2022-06-23T12:46:21.704Z] ---> Running in db2e937dba1c [2022-06-23T12:46:21.704Z] Removing intermediate container db2e937dba1c [2022-06-23T12:46:21.704Z] ---> 58334c0c1421 [2022-06-23T12:46:21.704Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-23T12:46:21.964Z] ---> f84007b415ca [2022-06-23T12:46:21.964Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-23T12:46:22.223Z] ---> 2adcc1fcd36e [2022-06-23T12:46:22.223Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-23T12:46:22.796Z] ---> 7c15e05fac93 [2022-06-23T12:46:22.796Z] Step 21/26 : EXPOSE 59900 [2022-06-23T12:46:22.796Z] ---> Running in 226b43c40a4a [2022-06-23T12:46:22.796Z] Removing intermediate container 226b43c40a4a [2022-06-23T12:46:22.796Z] ---> 7500edfc1d99 [2022-06-23T12:46:22.796Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-23T12:46:22.796Z] ---> Running in 138e72265fd5 [2022-06-23T12:46:23.058Z] Removing intermediate container 138e72265fd5 [2022-06-23T12:46:23.058Z] ---> 258ef0a47095 [2022-06-23T12:46:23.058Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T12:46:23.058Z] ---> Running in 21194b06507c [2022-06-23T12:46:23.058Z] Removing intermediate container 21194b06507c [2022-06-23T12:46:23.058Z] ---> ba25b32977c2 [2022-06-23T12:46:23.058Z] Step 24/26 : LABEL arch=amd64 [2022-06-23T12:46:23.058Z] ---> Running in 7d985ddff0dd [2022-06-23T12:46:23.058Z] Removing intermediate container 7d985ddff0dd [2022-06-23T12:46:23.058Z] ---> bb622e06f71b [2022-06-23T12:46:23.058Z] Step 25/26 : LABEL git_sha=91de058d25bd39d5ee8e4f968f0dfa221084a88f [2022-06-23T12:46:23.319Z] ---> Running in 021ca77356c7 [2022-06-23T12:46:23.319Z] Removing intermediate container 021ca77356c7 [2022-06-23T12:46:23.319Z] ---> 3878dfdc1a42 [2022-06-23T12:46:23.319Z] Step 26/26 : LABEL version=0.0.0 [2022-06-23T12:46:23.319Z] ---> Running in 5372c0f0254e [2022-06-23T12:46:23.319Z] Removing intermediate container 5372c0f0254e [2022-06-23T12:46:23.319Z] ---> 3cbaf3e1aab2 [2022-06-23T12:46:23.319Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T12:46:23.319Z] Successfully built 3cbaf3e1aab2 [2022-06-23T12:46:23.319Z] 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-23T12:46:23.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T12:46:23.745Z] [2022-06-23T12:46:23.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:46:24.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T12:46:24.053Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-23T12:46:24.053Z] 5eb5b503b376: Pulling fs layer [2022-06-23T12:46:24.053Z] 5c69ac0246d0: Pulling fs layer [2022-06-23T12:46:24.053Z] ec43610c2a17: Pulling fs layer [2022-06-23T12:46:24.053Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-23T12:46:24.053Z] 33b1e0a273af: Pulling fs layer [2022-06-23T12:46:24.053Z] 5d3b04190fa2: Pulling fs layer [2022-06-23T12:46:24.053Z] 2f39f015ded8: Pulling fs layer [2022-06-23T12:46:24.053Z] 3a2ae6a8a46f: Waiting [2022-06-23T12:46:24.053Z] 5d3b04190fa2: Waiting [2022-06-23T12:46:24.053Z] 2f39f015ded8: Waiting [2022-06-23T12:46:24.053Z] 5c69ac0246d0: Download complete [2022-06-23T12:46:24.053Z] 3a2ae6a8a46f: Download complete [2022-06-23T12:46:24.053Z] 33b1e0a273af: Verifying Checksum [2022-06-23T12:46:24.053Z] 33b1e0a273af: Download complete [2022-06-23T12:46:24.053Z] 5d3b04190fa2: Verifying Checksum [2022-06-23T12:46:24.053Z] 5d3b04190fa2: Download complete [2022-06-23T12:46:24.313Z] ec43610c2a17: Verifying Checksum [2022-06-23T12:46:24.313Z] ec43610c2a17: Download complete [2022-06-23T12:46:24.313Z] 5eb5b503b376: Verifying Checksum [2022-06-23T12:46:24.313Z] 5eb5b503b376: Download complete [2022-06-23T12:46:24.881Z] 2f39f015ded8: Download complete [2022-06-23T12:46:25.449Z] 5eb5b503b376: Pull complete [2022-06-23T12:46:25.709Z] 5c69ac0246d0: Pull complete [2022-06-23T12:46:25.969Z] ec43610c2a17: Pull complete [2022-06-23T12:46:26.227Z] 3a2ae6a8a46f: Pull complete [2022-06-23T12:46:26.488Z] 33b1e0a273af: Pull complete [2022-06-23T12:46:26.488Z] 5d3b04190fa2: Pull complete [2022-06-23T12:46:30.682Z] 2f39f015ded8: Pull complete [2022-06-23T12:46:30.682Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-23T12:46:30.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T12:46:30.682Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T12:46:30.772Z] prd-ubuntu20.04-docker-8c-8g-15449 does not seem to be running inside a container [2022-06-23T12:46:30.822Z] $ 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-23T12:46:32.758Z] $ docker top bf6a7c3109a104d64b512812f1dc8a87d4c8a57846812ef9b0bc91fbbdf913e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:46:33.153Z] ---> job-cost.sh [2022-06-23T12:46:33.153Z] lf-activate-venv: SKIPPING [2022-06-23T12:46:33.153Z] INFO: No Stack... [2022-06-23T12:46:33.413Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T12:46:33.983Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T12:46:34.280Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-23T12:46:34.280Z] + cut -d, -f6 [Pipeline] lock [2022-06-23T12:46:34.292Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-23-stack-cost] [2022-06-23T12:46:34.298Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-23-stack-cost] did not exist. Created. [2022-06-23T12:46:34.298Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T12:46:34.604Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-23T12:46:34.637Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T12:46:34.643Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T12:46:34.669Z] $ docker stop --time=1 bf6a7c3109a104d64b512812f1dc8a87d4c8a57846812ef9b0bc91fbbdf913e4 [2022-06-23T12:46:35.831Z] $ docker rm -f bf6a7c3109a104d64b512812f1dc8a87d4c8a57846812ef9b0bc91fbbdf913e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-23T12:46:47.172Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15450 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-23T12:46:47.185Z] Running in /w/workspace/device-virtual-go/23 [Pipeline] { [Pipeline] checkout [2022-06-23T12:46:47.244Z] The recommended git tool is: git [2022-06-23T12:46:54.080Z] using credential edgex-jenkins-ssh [2022-06-23T12:46:54.099Z] Cloning the remote Git repository [2022-06-23T12:46:54.209Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-23T12:46:54.332Z] > git init /w/workspace/device-virtual-go/23 # timeout=10 [2022-06-23T12:46:54.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-23T12:46:54.488Z] > git --version # timeout=10 [2022-06-23T12:46:54.541Z] > git --version # 'git version 2.25.1' [2022-06-23T12:46:54.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T12:46:54.674Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T12:46:56.565Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-23T12:46:56.631Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T12:46:56.661Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-23T12:46:56.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-23T12:46:56.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T12:46:56.780Z] > 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-23T12:46:57.352Z] Merging remotes/origin/main commit 6c956091e39ebf418aab18435948f90fcdb39d95 into PR head commit 91de058d25bd39d5ee8e4f968f0dfa221084a88f [2022-06-23T12:46:57.583Z] Merge succeeded, producing 91de058d25bd39d5ee8e4f968f0dfa221084a88f [2022-06-23T12:46:57.583Z] Checking out Revision 91de058d25bd39d5ee8e4f968f0dfa221084a88f (PR-290) [2022-06-23T12:46:57.372Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T12:46:57.394Z] > git checkout -f 91de058d25bd39d5ee8e4f968f0dfa221084a88f # timeout=10 [2022-06-23T12:46:57.490Z] > git remote # timeout=10 [2022-06-23T12:46:57.508Z] > git config --get remote.origin.url # timeout=10 [2022-06-23T12:46:57.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T12:46:57.535Z] > git merge 6c956091e39ebf418aab18435948f90fcdb39d95 # timeout=10 [2022-06-23T12:46:57.564Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-23T12:46:57.591Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T12:46:57.602Z] > git checkout -f 91de058d25bd39d5ee8e4f968f0dfa221084a88f # timeout=10 [2022-06-23T12:47:01.754Z] Commit message: "refactor(snap): Combine install and configure hook executables (#2)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T12:47:02.711Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-23T12:47:02.711Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T12:47:02.711Z] Dload Upload Total Spent Left Speed [2022-06-23T12:47:02.711Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 88151 0 --:--:-- --:--:-- --:--:-- 88789 [Pipeline] sh [2022-06-23T12:47:03.473Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-23T12:47:03.826Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-23T12:47:03.826Z] sudo tee /etc/docker/daemon.new [2022-06-23T12:47:03.826Z] { [2022-06-23T12:47:03.826Z] "registry-mirrors": [ [2022-06-23T12:47:03.826Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-23T12:47:03.826Z] ], [2022-06-23T12:47:03.826Z] "bip": "10.250.0.254/24", [2022-06-23T12:47:03.826Z] "hosts": [ [2022-06-23T12:47:03.826Z] "tcp://0.0.0.0:5555", [2022-06-23T12:47:03.826Z] "unix:///var/run/docker.sock" [2022-06-23T12:47:03.826Z] ], [2022-06-23T12:47:03.826Z] "mtu": 1458, [2022-06-23T12:47:03.826Z] "selinux-enabled": true, [2022-06-23T12:47:03.826Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-23T12:47:03.826Z] } [Pipeline] sh [2022-06-23T12:47:04.175Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-23T12:47:04.519Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T12:47:22.870Z] provisioning config files... [2022-06-23T12:47:22.894Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/23@tmp/config7013401782920305778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:47:23.253Z] ---> docker-login.sh [2022-06-23T12:47:23.253Z] nexus3.edgexfoundry.org:10001 [2022-06-23T12:47:23.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:47:24.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:47:24.123Z] Configure a credential helper to remove this warning. See [2022-06-23T12:47:24.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:47:24.123Z] [2022-06-23T12:47:24.123Z] Login Succeeded [2022-06-23T12:47:24.123Z] nexus3.edgexfoundry.org:10002 [2022-06-23T12:47:24.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:47:24.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:47:24.672Z] Configure a credential helper to remove this warning. See [2022-06-23T12:47:24.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:47:24.672Z] [2022-06-23T12:47:24.672Z] Login Succeeded [2022-06-23T12:47:24.672Z] nexus3.edgexfoundry.org:10003 [2022-06-23T12:47:24.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:47:24.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:47:24.948Z] Configure a credential helper to remove this warning. See [2022-06-23T12:47:24.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:47:24.948Z] [2022-06-23T12:47:24.948Z] Login Succeeded [2022-06-23T12:47:24.948Z] nexus3.edgexfoundry.org:10004 [2022-06-23T12:47:25.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:47:25.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:47:25.550Z] Configure a credential helper to remove this warning. See [2022-06-23T12:47:25.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:47:25.550Z] [2022-06-23T12:47:25.550Z] Login Succeeded [2022-06-23T12:47:25.550Z] docker.io [2022-06-23T12:47:25.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T12:47:26.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T12:47:26.096Z] Configure a credential helper to remove this warning. See [2022-06-23T12:47:26.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T12:47:26.096Z] [2022-06-23T12:47:26.096Z] Login Succeeded [2022-06-23T12:47:26.096Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T12:47:26.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T12:47:26.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T12:47:26.688Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T12:47:26.696Z] ========================================================= [2022-06-23T12:47:26.696Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-23T12:47:26.696Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:47:27.124Z] + 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-23T12:47:27.723Z] Sending build context to Docker daemon 11.76MB [2022-06-23T12:47:27.723Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T12:47:27.723Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-23T12:47:27.723Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-23T12:47:27.723Z] 9b3977197b4f: Pulling fs layer [2022-06-23T12:47:27.723Z] 1a89e8eeedd5: Pulling fs layer [2022-06-23T12:47:27.723Z] 94645a83ff95: Pulling fs layer [2022-06-23T12:47:27.723Z] e6fb740bc735: Pulling fs layer [2022-06-23T12:47:27.723Z] 3a77bd46dcc9: Pulling fs layer [2022-06-23T12:47:27.723Z] 355e64cbe906: Pulling fs layer [2022-06-23T12:47:27.723Z] 63ab81a10011: Pulling fs layer [2022-06-23T12:47:27.723Z] 555d1d1c4555: Pulling fs layer [2022-06-23T12:47:27.723Z] 7d9057610161: Pulling fs layer [2022-06-23T12:47:27.723Z] e6fb740bc735: Waiting [2022-06-23T12:47:27.723Z] 3a77bd46dcc9: Waiting [2022-06-23T12:47:27.723Z] 355e64cbe906: Waiting [2022-06-23T12:47:27.723Z] 63ab81a10011: Waiting [2022-06-23T12:47:27.723Z] 555d1d1c4555: Waiting [2022-06-23T12:47:27.723Z] 7d9057610161: Waiting [2022-06-23T12:47:28.005Z] 94645a83ff95: Verifying Checksum [2022-06-23T12:47:28.005Z] 94645a83ff95: Download complete [2022-06-23T12:47:28.005Z] 1a89e8eeedd5: Download complete [2022-06-23T12:47:28.005Z] 3a77bd46dcc9: Verifying Checksum [2022-06-23T12:47:28.005Z] 3a77bd46dcc9: Download complete [2022-06-23T12:47:28.005Z] 355e64cbe906: Download complete [2022-06-23T12:47:28.005Z] 9b3977197b4f: Verifying Checksum [2022-06-23T12:47:28.005Z] 9b3977197b4f: Download complete [2022-06-23T12:47:28.005Z] 63ab81a10011: Verifying Checksum [2022-06-23T12:47:28.005Z] 63ab81a10011: Download complete [2022-06-23T12:47:29.015Z] 9b3977197b4f: Pull complete [2022-06-23T12:47:29.015Z] 7d9057610161: Verifying Checksum [2022-06-23T12:47:29.015Z] 7d9057610161: Download complete [2022-06-23T12:47:29.627Z] 1a89e8eeedd5: Pull complete [2022-06-23T12:47:29.906Z] 94645a83ff95: Pull complete [2022-06-23T12:47:30.181Z] 555d1d1c4555: Verifying Checksum [2022-06-23T12:47:30.181Z] 555d1d1c4555: Download complete [2022-06-23T12:47:30.785Z] e6fb740bc735: Verifying Checksum [2022-06-23T12:47:30.785Z] e6fb740bc735: Download complete [2022-06-23T12:47:43.216Z] e6fb740bc735: Pull complete [2022-06-23T12:47:43.216Z] 3a77bd46dcc9: Pull complete [2022-06-23T12:47:43.216Z] 355e64cbe906: Pull complete [2022-06-23T12:47:43.492Z] 63ab81a10011: Pull complete [2022-06-23T12:47:50.212Z] 555d1d1c4555: Pull complete [2022-06-23T12:47:51.657Z] 7d9057610161: Pull complete [2022-06-23T12:47:51.657Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-23T12:47:51.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-23T12:47:51.657Z] ---> 819e984ddca1 [2022-06-23T12:47:51.657Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T12:47:53.648Z] ---> Running in 6ed29e5ed868 [2022-06-23T12:47:53.648Z] Removing intermediate container 6ed29e5ed868 [2022-06-23T12:47:53.648Z] ---> 56d2b72604ef [2022-06-23T12:47:53.648Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T12:47:53.648Z] ---> Running in e42fa0cb2f86 [2022-06-23T12:47:53.935Z] Removing intermediate container e42fa0cb2f86 [2022-06-23T12:47:53.935Z] ---> d3a792757bd5 [2022-06-23T12:47:53.935Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-23T12:47:53.935Z] ---> Running in d54d635cf308 [2022-06-23T12:47:54.532Z] Removing intermediate container d54d635cf308 [2022-06-23T12:47:54.532Z] ---> f8b23356315c [2022-06-23T12:47:54.532Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T12:47:54.532Z] ---> Running in 64f54ef5d9aa [2022-06-23T12:47:56.512Z] Removing intermediate container 64f54ef5d9aa [2022-06-23T12:47:56.512Z] ---> 83109ff427a7 [2022-06-23T12:47:56.512Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T12:47:56.512Z] ---> Running in c3ee55320b5d [2022-06-23T12:47:58.497Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T12:47:59.473Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T12:48:00.069Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-23T12:48:00.342Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-23T12:48:00.342Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-23T12:48:00.616Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-23T12:48:00.616Z] Executing busybox-1.34.1-r3.trigger [2022-06-23T12:48:00.616Z] OK: 224 MiB in 56 packages [2022-06-23T12:48:01.605Z] Removing intermediate container c3ee55320b5d [2022-06-23T12:48:01.605Z] ---> ac8e8b593d6e [2022-06-23T12:48:01.605Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-23T12:48:02.203Z] ---> 2042b93cf585 [2022-06-23T12:48:02.203Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T12:48:02.203Z] ---> Running in dbad2ef02304 [2022-06-23T12:48:49.228Z] Removing intermediate container dbad2ef02304 [2022-06-23T12:48:49.228Z] ---> a334b8f694ca [2022-06-23T12:48:49.228Z] Step 10/12 : COPY . . [2022-06-23T12:48:49.228Z] ---> 41bd01d95d6d [2022-06-23T12:48:49.228Z] Step 11/12 : ARG MAKE='make build' [2022-06-23T12:48:49.228Z] ---> Running in e7ae2663dcda [2022-06-23T12:48:49.228Z] Removing intermediate container e7ae2663dcda [2022-06-23T12:48:49.228Z] ---> 3c8b6a778e20 [2022-06-23T12:48:49.228Z] Step 12/12 : RUN $MAKE [2022-06-23T12:48:49.228Z] ---> Running in d4f5a48f5026 [2022-06-23T12:48:49.228Z] noop [2022-06-23T12:48:49.228Z] Removing intermediate container d4f5a48f5026 [2022-06-23T12:48:49.228Z] ---> d4f9b580281e [2022-06-23T12:48:49.228Z] Successfully built d4f9b580281e [2022-06-23T12:48:49.228Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:48:49.602Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T12:48:49.603Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T12:48:49.868Z] prd-ubuntu20.04-docker-arm64-4c-16g-15450 does not seem to be running inside a container [2022-06-23T12:48:49.963Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/23 -v /w/workspace/device-virtual-go/23:/w/workspace/device-virtual-go/23:rw,z -v /w/workspace/device-virtual-go/23@tmp:/w/workspace/device-virtual-go/23@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-23T12:48:51.244Z] $ docker top 11c68713185201d5a14baabd7549c3855caddb9c067a73702cfcf623440e9e85 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T12:48:52.168Z] + go version [2022-06-23T12:48:52.168Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-23T12:48:52.204Z] $ docker stop --time=1 11c68713185201d5a14baabd7549c3855caddb9c067a73702cfcf623440e9e85 [2022-06-23T12:48:53.860Z] $ docker rm -f 11c68713185201d5a14baabd7549c3855caddb9c067a73702cfcf623440e9e85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:48:54.451Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T12:48:54.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T12:48:54.685Z] prd-ubuntu20.04-docker-arm64-4c-16g-15450 does not seem to be running inside a container [2022-06-23T12:48:54.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/23 -v /w/workspace/device-virtual-go/23:/w/workspace/device-virtual-go/23:rw,z -v /w/workspace/device-virtual-go/23@tmp:/w/workspace/device-virtual-go/23@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-23T12:48:56.034Z] $ docker top 6ecd36e0b89d055055ec7195a3638d282b61dbff59c7b8bafd983f6c2f1689ef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T12:48:56.941Z] + make test [2022-06-23T12:48:56.941Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-23T12:48:58.375Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-23T12:50:20.239Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-23T12:50:20.239Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.136s coverage: 65.7% of statements [2022-06-23T12:50:20.239Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-23T12:50:20.239Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T12:50:42.439Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T12:50:42.439Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T12:50:42.439Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T12:50:42.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T12:50:42.484Z] $ docker stop --time=1 6ecd36e0b89d055055ec7195a3638d282b61dbff59c7b8bafd983f6c2f1689ef [2022-06-23T12:50:44.296Z] $ docker rm -f 6ecd36e0b89d055055ec7195a3638d282b61dbff59c7b8bafd983f6c2f1689ef [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T12:50:45.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T12:50:45.266Z] Warning: overwriting stash ‘coverage-report’ [2022-06-23T12:50:45.785Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T12:50:46.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T12:50:46.522Z] + ls -al . [2022-06-23T12:50:46.522Z] total 188 [2022-06-23T12:50:46.522Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 12:50 . [2022-06-23T12:50:46.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 12:46 .. [2022-06-23T12:50:46.522Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 12:47 .git [2022-06-23T12:50:46.522Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 12:46 .github [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 23 12:46 .gitignore [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 23 12:46 .golangci.yml [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 23 12:46 Attribution.txt [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 23 12:46 CHANGELOG.md [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 23 12:46 Dockerfile [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 12:46 GOVERNANCE.md [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 12:46 Jenkinsfile [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 12:46 LICENSE [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 23 12:46 Makefile [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 23 12:46 OWNERS.md [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 23 12:46 README.md [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 12:44 VERSION [2022-06-23T12:50:46.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 12:46 bin [2022-06-23T12:50:46.522Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 12:46 cmd [2022-06-23T12:50:46.522Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 23 12:50 coverage.out [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 23 12:46 go.mod [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 23 12:46 go.sum [2022-06-23T12:50:46.522Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 12:46 internal [2022-06-23T12:50:46.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 12:46 snap [2022-06-23T12:50:46.522Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 23 12:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:50:46.881Z] + 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=91de058d25bd39d5ee8e4f968f0dfa221084a88f --label arch=arm64 --label version=0.0.0 . [2022-06-23T12:50:47.482Z] Sending build context to Docker daemon 11.81MB [2022-06-23T12:50:47.482Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T12:50:47.482Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T12:50:47.482Z] ---> d4f9b580281e [2022-06-23T12:50:47.482Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T12:50:47.482Z] ---> Running in cef7c0dfac0d [2022-06-23T12:50:47.758Z] Removing intermediate container cef7c0dfac0d [2022-06-23T12:50:47.758Z] ---> a374e4f5b6d2 [2022-06-23T12:50:47.758Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T12:50:48.032Z] ---> Running in c0530961ebe5 [2022-06-23T12:50:48.305Z] Removing intermediate container c0530961ebe5 [2022-06-23T12:50:48.305Z] ---> 3f8e87849b21 [2022-06-23T12:50:48.305Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-23T12:50:48.305Z] ---> Running in cb2abbcf1e4a [2022-06-23T12:50:48.592Z] Removing intermediate container cb2abbcf1e4a [2022-06-23T12:50:48.592Z] ---> d04114a3356e [2022-06-23T12:50:48.592Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T12:50:48.592Z] ---> Running in 0c824b01356c [2022-06-23T12:50:50.585Z] Removing intermediate container 0c824b01356c [2022-06-23T12:50:50.585Z] ---> 95b31e3236e6 [2022-06-23T12:50:50.585Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T12:50:50.585Z] ---> Running in a8700e4aae26 [2022-06-23T12:50:51.565Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T12:50:52.164Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T12:50:53.143Z] OK: 224 MiB in 56 packages [2022-06-23T12:50:53.742Z] Removing intermediate container a8700e4aae26 [2022-06-23T12:50:53.742Z] ---> 0337da7c6ede [2022-06-23T12:50:53.742Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-23T12:50:54.341Z] ---> cfa87a5aac37 [2022-06-23T12:50:54.341Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T12:50:54.341Z] ---> Running in 6928705a71ec [2022-06-23T12:50:56.328Z] Removing intermediate container 6928705a71ec [2022-06-23T12:50:56.328Z] ---> 3b42727e7637 [2022-06-23T12:50:56.328Z] Step 10/26 : COPY . . [2022-06-23T12:50:57.767Z] ---> 71ebcd35641d [2022-06-23T12:50:57.767Z] Step 11/26 : ARG MAKE='make build' [2022-06-23T12:50:57.767Z] ---> Running in 54b62c1a1f5a [2022-06-23T12:50:58.043Z] Removing intermediate container 54b62c1a1f5a [2022-06-23T12:50:58.043Z] ---> dfddc9131ad5 [2022-06-23T12:50:58.043Z] Step 12/26 : RUN $MAKE [2022-06-23T12:50:58.043Z] ---> Running in d52cab970853 [2022-06-23T12:50:59.035Z] 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-23T12:53:05.929Z] Removing intermediate container d52cab970853 [2022-06-23T12:53:05.929Z] ---> ee6fd489a025 [2022-06-23T12:53:05.929Z] Step 13/26 : FROM alpine:3.14 [2022-06-23T12:53:05.929Z] 3.14: Pulling from library/alpine [2022-06-23T12:53:05.929Z] 455c02918c45: Pulling fs layer [2022-06-23T12:53:05.929Z] 455c02918c45: Download complete [2022-06-23T12:53:05.929Z] 455c02918c45: Pull complete [2022-06-23T12:53:05.929Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-23T12:53:05.929Z] Status: Downloaded newer image for alpine:3.14 [2022-06-23T12:53:05.929Z] ---> ac73e934f311 [2022-06-23T12:53:05.929Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-23T12:53:05.929Z] ---> Running in 64f0bef08b40 [2022-06-23T12:53:05.929Z] Removing intermediate container 64f0bef08b40 [2022-06-23T12:53:05.929Z] ---> 913b5e4c2553 [2022-06-23T12:53:05.929Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T12:53:05.929Z] ---> Running in 14d6b336779a [2022-06-23T12:53:05.929Z] Removing intermediate container 14d6b336779a [2022-06-23T12:53:05.929Z] ---> be3c32aa0f6c [2022-06-23T12:53:05.929Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T12:53:05.929Z] ---> Running in f577a9875191 [2022-06-23T12:53:05.929Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-23T12:53:05.929Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-23T12:53:05.929Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T12:53:05.929Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-23T12:53:05.929Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T12:53:05.929Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-23T12:53:05.929Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T12:53:05.929Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T12:53:05.929Z] Executing busybox-1.33.1-r7.trigger [2022-06-23T12:53:05.929Z] OK: 8 MiB in 20 packages [2022-06-23T12:53:05.929Z] Removing intermediate container f577a9875191 [2022-06-23T12:53:05.929Z] ---> 40a24d05cd85 [2022-06-23T12:53:05.929Z] Step 17/26 : WORKDIR / [2022-06-23T12:53:05.929Z] ---> Running in 8d6d0d4d8245 [2022-06-23T12:53:05.929Z] Removing intermediate container 8d6d0d4d8245 [2022-06-23T12:53:05.929Z] ---> 86edb0a98ba1 [2022-06-23T12:53:05.929Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-23T12:53:05.929Z] ---> c5e5cae2a74c [2022-06-23T12:53:05.929Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-23T12:53:05.929Z] ---> b97e7022b424 [2022-06-23T12:53:05.929Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-23T12:53:05.929Z] ---> d07b6a5f92d5 [2022-06-23T12:53:05.929Z] Step 21/26 : EXPOSE 59900 [2022-06-23T12:53:05.929Z] ---> Running in c579cb4f2bd5 [2022-06-23T12:53:05.929Z] Removing intermediate container c579cb4f2bd5 [2022-06-23T12:53:05.929Z] ---> 2595f9766e49 [2022-06-23T12:53:05.929Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-23T12:53:05.929Z] ---> Running in b92fc5b222a1 [2022-06-23T12:53:05.929Z] Removing intermediate container b92fc5b222a1 [2022-06-23T12:53:05.929Z] ---> a11289d4fac0 [2022-06-23T12:53:05.929Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T12:53:05.929Z] ---> Running in 72581182113f [2022-06-23T12:53:05.929Z] Removing intermediate container 72581182113f [2022-06-23T12:53:05.929Z] ---> d27b3c5ed88c [2022-06-23T12:53:05.929Z] Step 24/26 : LABEL arch=arm64 [2022-06-23T12:53:05.929Z] ---> Running in 3722e5aa18f3 [2022-06-23T12:53:05.929Z] Removing intermediate container 3722e5aa18f3 [2022-06-23T12:53:05.929Z] ---> 7d49e9892d8a [2022-06-23T12:53:05.929Z] Step 25/26 : LABEL git_sha=91de058d25bd39d5ee8e4f968f0dfa221084a88f [2022-06-23T12:53:05.929Z] ---> Running in 0a53c3a5b785 [2022-06-23T12:53:05.929Z] Removing intermediate container 0a53c3a5b785 [2022-06-23T12:53:05.929Z] ---> cb6426bb5234 [2022-06-23T12:53:05.929Z] Step 26/26 : LABEL version=0.0.0 [2022-06-23T12:53:05.929Z] ---> Running in 79fecfd04009 [2022-06-23T12:53:06.203Z] Removing intermediate container 79fecfd04009 [2022-06-23T12:53:06.203Z] ---> 5a5f8301b0f2 [2022-06-23T12:53:06.203Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T12:53:06.203Z] Successfully built 5a5f8301b0f2 [2022-06-23T12:53:06.203Z] 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-23T12:53:06.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T12:53:06.659Z] [2022-06-23T12:53:06.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:53:07.019Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T12:53:07.296Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-23T12:53:07.296Z] 8998bd30e6a1: Pulling fs layer [2022-06-23T12:53:07.296Z] 04944245beec: Pulling fs layer [2022-06-23T12:53:07.296Z] 699f458cf7ca: Pulling fs layer [2022-06-23T12:53:07.296Z] 765212b225bb: Pulling fs layer [2022-06-23T12:53:07.296Z] f23df028b6ca: Pulling fs layer [2022-06-23T12:53:07.296Z] d65c8cfc05b1: Pulling fs layer [2022-06-23T12:53:07.296Z] 2437ff75d9bd: Pulling fs layer [2022-06-23T12:53:07.296Z] 765212b225bb: Waiting [2022-06-23T12:53:07.296Z] f23df028b6ca: Waiting [2022-06-23T12:53:07.296Z] d65c8cfc05b1: Waiting [2022-06-23T12:53:07.296Z] 2437ff75d9bd: Waiting [2022-06-23T12:53:07.296Z] 04944245beec: Verifying Checksum [2022-06-23T12:53:07.296Z] 04944245beec: Download complete [2022-06-23T12:53:07.296Z] 765212b225bb: Verifying Checksum [2022-06-23T12:53:07.296Z] 765212b225bb: Download complete [2022-06-23T12:53:07.296Z] f23df028b6ca: Verifying Checksum [2022-06-23T12:53:07.296Z] f23df028b6ca: Download complete [2022-06-23T12:53:07.296Z] d65c8cfc05b1: Verifying Checksum [2022-06-23T12:53:07.297Z] d65c8cfc05b1: Download complete [2022-06-23T12:53:07.573Z] 699f458cf7ca: Verifying Checksum [2022-06-23T12:53:07.573Z] 699f458cf7ca: Download complete [2022-06-23T12:53:07.850Z] 8998bd30e6a1: Verifying Checksum [2022-06-23T12:53:07.850Z] 8998bd30e6a1: Download complete [2022-06-23T12:53:10.480Z] 2437ff75d9bd: Verifying Checksum [2022-06-23T12:53:10.480Z] 2437ff75d9bd: Download complete [2022-06-23T12:53:12.464Z] 8998bd30e6a1: Pull complete [2022-06-23T12:53:12.464Z] 04944245beec: Pull complete [2022-06-23T12:53:14.445Z] 699f458cf7ca: Pull complete [2022-06-23T12:53:14.445Z] 765212b225bb: Pull complete [2022-06-23T12:53:15.047Z] f23df028b6ca: Pull complete [2022-06-23T12:53:15.322Z] d65c8cfc05b1: Pull complete [2022-06-23T12:53:30.436Z] 2437ff75d9bd: Pull complete [2022-06-23T12:53:30.436Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-23T12:53:30.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T12:53:30.436Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T12:53:30.687Z] prd-ubuntu20.04-docker-arm64-4c-16g-15450 does not seem to be running inside a container [2022-06-23T12:53:30.800Z] $ 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/23 -v /w/workspace/device-virtual-go/23:/w/workspace/device-virtual-go/23:rw,z -v /w/workspace/device-virtual-go/23@tmp:/w/workspace/device-virtual-go/23@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-23T12:53:33.284Z] $ docker top 20a40f2bb53d4837b9f7b5a0c748285ef608994bd8c467143899d93b41ae9ad3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:53:34.187Z] ---> job-cost.sh [2022-06-23T12:53:34.187Z] lf-activate-venv: SKIPPING [2022-06-23T12:53:34.187Z] INFO: No Stack... [2022-06-23T12:53:34.784Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-23T12:53:35.379Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T12:53:36.045Z] + cut -d, -f6 [2022-06-23T12:53:36.045Z] + cat /w/workspace/device-virtual-go/23/archives/cost.csv [Pipeline] lock [2022-06-23T12:53:36.108Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-23-stack-cost] [2022-06-23T12:53:36.115Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-23-stack-cost] did not exist. Created. [2022-06-23T12:53:36.115Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T12:53:36.829Z] /w/workspace/device-virtual-go/23@tmp/durable-5bfc4af2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-23T12:53:37.515Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-23T12:53:37.544Z] Warning: overwriting stash ‘stack-cost’ [2022-06-23T12:53:37.589Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T12:53:37.598Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T12:53:37.635Z] $ docker stop --time=1 20a40f2bb53d4837b9f7b5a0c748285ef608994bd8c467143899d93b41ae9ad3 [2022-06-23T12:53:39.180Z] $ docker rm -f 20a40f2bb53d4837b9f7b5a0c748285ef608994bd8c467143899d93b41ae9ad3 [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-23T12:53:39.628Z] provisioning config files... [2022-06-23T12:53:39.637Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config8318675308418914866tmp [Pipeline] { [Pipeline] sh [2022-06-23T12:53:39.961Z] + set +x [2022-06-23T12:53:39.961Z] + curl -s https://codecov.io/bash [2022-06-23T12:53:39.961Z] + bash -s -- [2022-06-23T12:53:39.961Z] [2022-06-23T12:53:39.961Z] _____ _ [2022-06-23T12:53:39.961Z] / ____| | | [2022-06-23T12:53:39.961Z] | | ___ __| | ___ ___ _____ __ [2022-06-23T12:53:39.961Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-23T12:53:39.961Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-23T12:53:39.961Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-23T12:53:39.961Z] Bash-1.0.6 [2022-06-23T12:53:39.961Z] [2022-06-23T12:53:39.961Z] [2022-06-23T12:53:39.961Z] ==> git version 2.25.1 found [2022-06-23T12:53:39.961Z] ==> 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-23T12:53:39.961Z] Release-Date: 2020-01-08 [2022-06-23T12:53:39.961Z] 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-23T12:53:39.961Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-23T12:53:39.961Z] ==> Jenkins CI detected. [2022-06-23T12:53:39.961Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-23T12:53:39.961Z] project root: . [2022-06-23T12:53:39.961Z] --> token set from env [2022-06-23T12:53:39.961Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-23T12:53:39.961Z] ==> Running gcov in . (disable via -X gcov) [2022-06-23T12:53:39.961Z] ==> Python coveragepy not found [2022-06-23T12:53:39.961Z] ==> Searching for coverage reports in: [2022-06-23T12:53:39.961Z] + . [2022-06-23T12:53:39.961Z] -> Found 1 reports [2022-06-23T12:53:39.961Z] ==> Detecting git/mercurial file structure [2022-06-23T12:53:39.961Z] ==> Reading reports [2022-06-23T12:53:40.243Z] + ./coverage.out bytes=44128 [2022-06-23T12:53:40.243Z] ==> Appending adjustments [2022-06-23T12:53:40.243Z] https://docs.codecov.io/docs/fixing-reports [2022-06-23T12:53:40.243Z] + Found adjustments [2022-06-23T12:53:40.243Z] ==> Gzipping contents [2022-06-23T12:53:40.243Z] 8.0K /tmp/codecov.sgB9EX.gz [2022-06-23T12:53:40.243Z] ==> Uploading reports [2022-06-23T12:53:40.243Z] url: https://codecov.io [2022-06-23T12:53:40.244Z] query: branch=PR-290&commit=91de058d25bd39d5ee8e4f968f0dfa221084a88f&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-23T12:53:40.244Z] -> Pinging Codecov [2022-06-23T12:53:40.244Z] 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=91de058d25bd39d5ee8e4f968f0dfa221084a88f&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-23T12:53:40.529Z] -> Uploading to [2022-06-23T12:53:40.529Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-23/5E52B4B073DB2E39498172D8E973AA87/91de058d25bd39d5ee8e4f968f0dfa221084a88f/b118d2e4-6653-4103-9d6e-be82aac9fe15.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220623T125340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=292f975e752273e73929af040cd6f6872c31ec42ec5287f6f42e22fa8e778785 [2022-06-23T12:53:40.529Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T12:53:40.529Z] Dload Upload Total Spent Left Speed [2022-06-23T12:53:40.791Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5509 0 0 100 5509 0 24927 --:--:-- --:--:-- --:--:-- 24815 100 5509 0 0 100 5509 0 21603 --:--:-- --:--:-- --:--:-- 21519 [2022-06-23T12:53:40.791Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/91de058d25bd39d5ee8e4f968f0dfa221084a88f [Pipeline] } [2022-06-23T12:53:40.799Z] 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-23T12:53:41.500Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-23T12:53:41.500Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-23T12:53:41.500Z] total 16 [2022-06-23T12:53:41.500Z] drwxr-xr-x 3 root root 4096 Jun 23 12:46 . [2022-06-23T12:53:41.500Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 12:46 .. [2022-06-23T12:53:41.500Z] drwxr-xr-x 2 root root 4096 Jun 23 12:46 cost [2022-06-23T12:53:41.500Z] -rw-r--r-- 1 root root 89 Jun 23 12:46 cost.csv [2022-06-23T12:53:41.500Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-23T12:53:41.500Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-23T12:53:41.500Z] total 16 [2022-06-23T12:53:41.500Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 12:46 . [2022-06-23T12:53:41.500Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 12:46 .. [2022-06-23T12:53:41.500Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 12:46 cost [2022-06-23T12:53:41.500Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 23 12:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:53:41.801Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:53:42.666Z] ---> package-listing.sh [2022-06-23T12:53:42.666Z] ++ facter osfamily [2022-06-23T12:53:42.666Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-23T12:53:42.927Z] + OS_FAMILY=debian [2022-06-23T12:53:42.927Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-23T12:53:42.927Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-23T12:53:42.927Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-23T12:53:42.927Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-23T12:53:42.927Z] + PACKAGES=/tmp/packages_start.txt [2022-06-23T12:53:42.927Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-23T12:53:42.927Z] + PACKAGES=/tmp/packages_end.txt [2022-06-23T12:53:42.927Z] + case "${OS_FAMILY}" in [2022-06-23T12:53:42.927Z] + dpkg -l [2022-06-23T12:53:42.927Z] + grep '^ii' [2022-06-23T12:53:42.927Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-23T12:53:42.927Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-23T12:53:42.927Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-23T12:53:42.927Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-23T12:53:42.927Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-23T12:53:42.927Z] + 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-23T12:53:42.938Z] 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-23T12:53:43.217Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T12:53:43.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T12:53:43.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T12:53:43.873Z] prd-ubuntu20.04-docker-8c-8g-15449 does not seem to be running inside a container [2022-06-23T12:53:43.928Z] $ 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-23T12:53:44.137Z] $ docker top 1e815266b84a2d633e7bf6faea909da08c46a89bd0c151553bc552143c6e1824 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T12:53:44.483Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-23T12:53:44.775Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-23T12:53:45.065Z] + ls /var/log/sa-host [2022-06-23T12:53:45.065Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T12:53:45.197Z] provisioning config files... [2022-06-23T12:53:45.206Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config7113567916109454240tmp [Pipeline] { [Pipeline] echo [2022-06-23T12:53:45.217Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:53:45.502Z] ---> create-netrc.sh [Pipeline] } [2022-06-23T12:53:45.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:53:45.849Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-23T12:53:45.857Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:53:46.141Z] ---> sudo-logs.sh [2022-06-23T12:53:46.141Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-23T12:53:46.172Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:53:46.461Z] ---> job-cost.sh [2022-06-23T12:53:46.461Z] lf-activate-venv: SKIPPING [2022-06-23T12:53:46.461Z] DEBUG: total: 0.2199999988079071 [2022-06-23T12:53:46.461Z] INFO: Retrieving Stack Cost... [2022-06-23T12:53:46.725Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T12:53:47.297Z] INFO: Archiving Costs [Pipeline] echo [2022-06-23T12:53:47.311Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T12:53:47.600Z] ---> logs-deploy.sh [2022-06-23T12:53:47.601Z] lf-activate-venv: SKIPPING [2022-06-23T12:53:47.601Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/23 [2022-06-23T12:53:47.601Z] INFO: archiving workspace using pattern(s): [2022-06-23T12:53:48.545Z] Archives upload complete. [2022-06-23T12:53:48.545Z] INFO: archiving logs to Nexus