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 cdfe5f55517df1d890234ad53dd5d8bba71fabd6 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-ssh11683023658449862118.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-ssh6951393768151217787.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-ssh1652909503306862909.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-ssh12165451962465621628.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-ssh6145465771396235865.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-16336 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 cdfe5f55517df1d890234ad53dd5d8bba71fabd6 Merge succeeded, producing cdfe5f55517df1d890234ad53dd5d8bba71fabd6 Checking out Revision cdfe5f55517df1d890234ad53dd5d8bba71fabd6 (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 cdfe5f55517df1d890234ad53dd5d8bba71fabd6 # 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 cdfe5f55517df1d890234ad53dd5d8bba71fabd6 # timeout=10 Commit message: "refactor(snap): Refactor env loader and helper-go (#3)" > git rev-list --no-walk cd051e653ddb162b0198f625fe84cc850ee5a5b9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T12:41:57.014Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T12:41:57.069Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T12:41:57.080Z] ========================================================= [2022-06-29T12:41:57.081Z] EdgeX Global Pipelines Version Info [2022-06-29T12:41:57.081Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:41:57.829Z] ------------------- [2022-06-29T12:41:57.829Z] stable info: [2022-06-29T12:41:57.829Z] ------------------- [2022-06-29T12:41:57.829Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T12:41:57.829Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T12:41:57.829Z] Message: update stable to v1.0.234 [2022-06-29T12:41:58.404Z] ------------------- [2022-06-29T12:41:58.404Z] experimental info: [2022-06-29T12:41:58.404Z] ------------------- [2022-06-29T12:41:58.404Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T12:41:58.404Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T12:41:58.404Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T12:41:58.601Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-29T12:41:58.611Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-29T12:41:58.624Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T12:41:58.638Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T12:41:58.647Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T12:41:58.659Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T12:41:58.672Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T12:41:58.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T12:41:58.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T12:41:58.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T12:41:58.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T12:41:58.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-29T12:41:58.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T12:41:58.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T12:41:58.764Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T12:41:58.773Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T12:41:58.783Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T12:41:58.792Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T12:41:58.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T12:41:58.814Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T12:41:58.823Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T12:41:58.832Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T12:41:58.842Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T12:41:58.852Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T12:41:58.861Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T12:41:58.872Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T12:41:58.886Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T12:41:58.898Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-29T12:41:58.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-29T12:41:58.921Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-29T12:41:58.932Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdfe5f55517df1d890234ad53dd5d8bba71fabd6 [Pipeline] echo [2022-06-29T12:41:58.947Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdfe5f5 [Pipeline] echo [2022-06-29T12:41:58.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T12:41:59.004Z] provisioning config files... [2022-06-29T12:41:59.020Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config6572705288263991982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:41:59.413Z] ---> docker-login.sh [2022-06-29T12:41:59.413Z] nexus3.edgexfoundry.org:10001 [2022-06-29T12:41:59.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:41:59.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:41:59.676Z] Configure a credential helper to remove this warning. See [2022-06-29T12:41:59.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:41:59.676Z] [2022-06-29T12:41:59.676Z] Login Succeeded [2022-06-29T12:41:59.676Z] nexus3.edgexfoundry.org:10002 [2022-06-29T12:41:59.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:41:59.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:41:59.938Z] Configure a credential helper to remove this warning. See [2022-06-29T12:41:59.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:41:59.938Z] [2022-06-29T12:41:59.938Z] Login Succeeded [2022-06-29T12:41:59.938Z] nexus3.edgexfoundry.org:10003 [2022-06-29T12:42:00.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:42:00.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:42:00.201Z] Configure a credential helper to remove this warning. See [2022-06-29T12:42:00.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:42:00.201Z] [2022-06-29T12:42:00.201Z] Login Succeeded [2022-06-29T12:42:00.201Z] nexus3.edgexfoundry.org:10004 [2022-06-29T12:42:00.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:42:00.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:42:00.201Z] Configure a credential helper to remove this warning. See [2022-06-29T12:42:00.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:42:00.201Z] [2022-06-29T12:42:00.201Z] Login Succeeded [2022-06-29T12:42:00.201Z] docker.io [2022-06-29T12:42:00.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:42:01.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:42:01.039Z] Configure a credential helper to remove this warning. See [2022-06-29T12:42:01.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:42:01.039Z] [2022-06-29T12:42:01.039Z] Login Succeeded [2022-06-29T12:42:01.039Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T12:42:01.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T12:42:01.416Z] + git rev-list -1 --merges cdfe5f55517df1d890234ad53dd5d8bba71fabd6~1..cdfe5f55517df1d890234ad53dd5d8bba71fabd6 [Pipeline] echo [2022-06-29T12:42:01.454Z] -----------> git rev-list -1 --merges cdfe5f55517df1d890234ad53dd5d8bba71fabd6~1..cdfe5f55517df1d890234ad53dd5d8bba71fabd6 cdfe5f55517df1d890234ad53dd5d8bba71fabd6 [false] [Pipeline] sh [2022-06-29T12:42:01.751Z] + git log --format=format:%s -1 cdfe5f55517df1d890234ad53dd5d8bba71fabd6 [Pipeline] echo [2022-06-29T12:42:01.769Z] ========================================================= [2022-06-29T12:42:01.769Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T12:42:01.769Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T12:42:02.113Z] + git log --format=format:%s -1 cdfe5f55517df1d890234ad53dd5d8bba71fabd6 [Pipeline] echo [2022-06-29T12:42:02.124Z] [semverPrep] GIT_COMMIT: cdfe5f55517df1d890234ad53dd5d8bba71fabd6, Commit Message: refactor(snap): Refactor env loader and helper-go (#3) [Pipeline] echo [2022-06-29T12:42:02.130Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T12:42:02.493Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T12:42:02.493Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T12:42:02.493Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T12:42:02.493Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T12:42:02.493Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T12:42:02.493Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T12:42:02.493Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:42:02.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T12:42:02.917Z] [2022-06-29T12:42:02.917Z] 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-29T12:42:03.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T12:42:03.223Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T12:42:03.223Z] 42c077c10790: Pulling fs layer [2022-06-29T12:42:03.223Z] f63e77b7563a: Pulling fs layer [2022-06-29T12:42:03.223Z] bd5fdadae976: Pulling fs layer [2022-06-29T12:42:03.223Z] 205491f53016: Pulling fs layer [2022-06-29T12:42:03.223Z] df18705c85c3: Pulling fs layer [2022-06-29T12:42:03.223Z] bdb3f477010e: Pulling fs layer [2022-06-29T12:42:03.223Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T12:42:03.223Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T12:42:03.223Z] bdb8f0575790: Pulling fs layer [2022-06-29T12:42:03.223Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T12:42:03.223Z] 2343380bae48: Pulling fs layer [2022-06-29T12:42:03.223Z] bdb8f0575790: Waiting [2022-06-29T12:42:03.223Z] 2343380bae48: Waiting [2022-06-29T12:42:03.223Z] c8a8fc8e1c8f: Waiting [2022-06-29T12:42:03.224Z] 386e3cb2ff24: Waiting [2022-06-29T12:42:03.224Z] 2c6e9b1d212d: Waiting [2022-06-29T12:42:03.224Z] 205491f53016: Waiting [2022-06-29T12:42:03.224Z] df18705c85c3: Waiting [2022-06-29T12:42:03.224Z] bdb3f477010e: Waiting [2022-06-29T12:42:03.224Z] f63e77b7563a: Download complete [2022-06-29T12:42:03.224Z] 205491f53016: Verifying Checksum [2022-06-29T12:42:03.224Z] 205491f53016: Download complete [2022-06-29T12:42:03.492Z] df18705c85c3: Verifying Checksum [2022-06-29T12:42:03.492Z] df18705c85c3: Download complete [2022-06-29T12:42:03.492Z] bdb3f477010e: Verifying Checksum [2022-06-29T12:42:03.492Z] bdb3f477010e: Download complete [2022-06-29T12:42:03.492Z] bd5fdadae976: Verifying Checksum [2022-06-29T12:42:03.492Z] bd5fdadae976: Download complete [2022-06-29T12:42:03.492Z] 2c6e9b1d212d: Verifying Checksum [2022-06-29T12:42:03.492Z] 2c6e9b1d212d: Download complete [2022-06-29T12:42:03.492Z] bdb8f0575790: Verifying Checksum [2022-06-29T12:42:03.492Z] bdb8f0575790: Download complete [2022-06-29T12:42:03.492Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T12:42:03.492Z] 386e3cb2ff24: Download complete [2022-06-29T12:42:03.492Z] 2343380bae48: Verifying Checksum [2022-06-29T12:42:03.492Z] 42c077c10790: Download complete [2022-06-29T12:42:03.753Z] c8a8fc8e1c8f: Download complete [2022-06-29T12:42:05.137Z] 42c077c10790: Pull complete [2022-06-29T12:42:05.137Z] f63e77b7563a: Pull complete [2022-06-29T12:42:05.709Z] bd5fdadae976: Pull complete [2022-06-29T12:42:05.709Z] 205491f53016: Pull complete [2022-06-29T12:42:05.970Z] df18705c85c3: Pull complete [2022-06-29T12:42:05.970Z] bdb3f477010e: Pull complete [2022-06-29T12:42:08.526Z] c8a8fc8e1c8f: Pull complete [2022-06-29T12:42:08.526Z] 2c6e9b1d212d: Pull complete [2022-06-29T12:42:08.526Z] bdb8f0575790: Pull complete [2022-06-29T12:42:08.526Z] 386e3cb2ff24: Pull complete [2022-06-29T12:42:08.526Z] 2343380bae48: Pull complete [2022-06-29T12:42:08.526Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T12:42:08.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T12:42:08.526Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T12:42:08.632Z] prd-ubuntu20.04-docker-8c-8g-16336 does not seem to be running inside a container [2022-06-29T12:42:08.667Z] $ 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-29T12:42:10.063Z] $ docker top 603e616dc8191adc3044724ceb082bea332a34b29f73eae0d6d53821f5548b3e -eo pid,comm [2022-06-29T12:42:10.139Z] 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-29T12:42:10.139Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T12:42:10.185Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T12:42:10.185Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T12:42:10.336Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T12:42:10.341Z] $ docker exec 603e616dc8191adc3044724ceb082bea332a34b29f73eae0d6d53821f5548b3e ssh-agent [2022-06-29T12:42:10.479Z] SSH_AUTH_SOCK=/tmp/ssh-YbxxPsVvYofC/agent.33 [2022-06-29T12:42:10.479Z] SSH_AGENT_PID=40 [2022-06-29T12:42:10.486Z] Running ssh-add (command line suppressed) [2022-06-29T12:42:10.611Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_4612769551036780189.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_4612769551036780189.key) [2022-06-29T12:42:10.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T12:42:10.925Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T12:42:10.947Z] $ docker exec --env ******** --env ******** 603e616dc8191adc3044724ceb082bea332a34b29f73eae0d6d53821f5548b3e ssh-agent -k [2022-06-29T12:42:11.059Z] unset SSH_AUTH_SOCK; [2022-06-29T12:42:11.059Z] unset SSH_AGENT_PID; [2022-06-29T12:42:11.059Z] echo Agent pid 40 killed; [2022-06-29T12:42:11.074Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T12:42:11.099Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T12:42:11.099Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T12:42:11.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T12:42:11.246Z] $ docker exec 603e616dc8191adc3044724ceb082bea332a34b29f73eae0d6d53821f5548b3e ssh-agent [2022-06-29T12:42:11.367Z] SSH_AUTH_SOCK=/tmp/ssh-RViWB77Jr6Y2/agent.75 [2022-06-29T12:42:11.367Z] SSH_AGENT_PID=82 [2022-06-29T12:42:11.374Z] Running ssh-add (command line suppressed) [2022-06-29T12:42:11.495Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_9054207702090653545.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_9054207702090653545.key) [2022-06-29T12:42:11.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T12:42:11.802Z] + git semver init [2022-06-29T12:42:12.063Z] 2022-06-29 12:42:12,021 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T12:42:12.063Z] 2022-06-29 12:42:12,023 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-29T12:42:12.063Z] 2022-06-29 12:42:12,023 [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-29T12:42:12.063Z] 2022-06-29 12:42:12,024 [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-29T12:42:13.004Z] 2022-06-29 12:42:12,960 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-29T12:42:13.004Z] 2022-06-29 12:42:12,960 [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-29T12:42:13.004Z] 2022-06-29 12:42:12,960 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-29T12:42:13.004Z] 2022-06-29 12:42:12,965 [execute] INFO git cat-file --batch-check [2022-06-29T12:42:13.004Z] 2022-06-29 12:42:12,965 [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-29T12:42:13.004Z] 2022-06-29 12:42:12,971 [execute] INFO git cat-file --batch [2022-06-29T12:42:13.004Z] 2022-06-29 12:42:12,972 [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-29T12:42:13.004Z] 2022-06-29 12:42:12,976 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-29T12:42:13.004Z] 0.0.0 [Pipeline] } [2022-06-29T12:42:13.016Z] $ docker exec --env ******** --env ******** 603e616dc8191adc3044724ceb082bea332a34b29f73eae0d6d53821f5548b3e ssh-agent -k [2022-06-29T12:42:13.140Z] unset SSH_AUTH_SOCK; [2022-06-29T12:42:13.141Z] unset SSH_AGENT_PID; [2022-06-29T12:42:13.141Z] echo Agent pid 82 killed; [2022-06-29T12:42:13.152Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T12:42:13.465Z] + git semver [Pipeline] } [2022-06-29T12:42:13.741Z] $ docker stop --time=1 603e616dc8191adc3044724ceb082bea332a34b29f73eae0d6d53821f5548b3e [2022-06-29T12:42:15.066Z] $ docker rm -f 603e616dc8191adc3044724ceb082bea332a34b29f73eae0d6d53821f5548b3e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T12:42:15.420Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T12:42:15.683Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T12:42:15.686Z] [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-29T12:42:15.832Z] provisioning config files... [2022-06-29T12:42:15.843Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config2304419470368608477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:42:16.147Z] ---> docker-login.sh [2022-06-29T12:42:16.147Z] nexus3.edgexfoundry.org:10001 [2022-06-29T12:42:16.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:42:16.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:42:16.147Z] Configure a credential helper to remove this warning. See [2022-06-29T12:42:16.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:42:16.147Z] [2022-06-29T12:42:16.147Z] Login Succeeded [2022-06-29T12:42:16.147Z] nexus3.edgexfoundry.org:10002 [2022-06-29T12:42:16.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:42:16.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:42:16.410Z] Configure a credential helper to remove this warning. See [2022-06-29T12:42:16.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:42:16.410Z] [2022-06-29T12:42:16.410Z] Login Succeeded [2022-06-29T12:42:16.410Z] nexus3.edgexfoundry.org:10003 [2022-06-29T12:42:16.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:42:16.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:42:16.410Z] Configure a credential helper to remove this warning. See [2022-06-29T12:42:16.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:42:16.410Z] [2022-06-29T12:42:16.410Z] Login Succeeded [2022-06-29T12:42:16.410Z] nexus3.edgexfoundry.org:10004 [2022-06-29T12:42:16.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:42:16.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:42:16.671Z] Configure a credential helper to remove this warning. See [2022-06-29T12:42:16.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:42:16.671Z] [2022-06-29T12:42:16.671Z] Login Succeeded [2022-06-29T12:42:16.671Z] docker.io [2022-06-29T12:42:16.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:42:16.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:42:16.934Z] Configure a credential helper to remove this warning. See [2022-06-29T12:42:16.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:42:16.934Z] [2022-06-29T12:42:16.934Z] Login Succeeded [2022-06-29T12:42:16.934Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T12:42:16.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T12:42:17.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T12:42:17.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T12:42:17.034Z] ========================================================= [2022-06-29T12:42:17.034Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T12:42:17.034Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:42:17.361Z] + 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-29T12:42:17.361Z] Sending build context to Docker daemon 23.19MB [2022-06-29T12:42:17.361Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T12:42:17.361Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T12:42:17.626Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T12:42:17.626Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T12:42:17.626Z] 666ba61612fd: Pulling fs layer [2022-06-29T12:42:17.626Z] 8ed8ca486205: Pulling fs layer [2022-06-29T12:42:17.626Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T12:42:17.626Z] c516ae0d96e1: Pulling fs layer [2022-06-29T12:42:17.626Z] 684cea983483: Pulling fs layer [2022-06-29T12:42:17.626Z] dd3240ac7de5: Pulling fs layer [2022-06-29T12:42:17.626Z] b1e948a4e11c: Pulling fs layer [2022-06-29T12:42:17.626Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T12:42:17.626Z] 646ad004c059: Pulling fs layer [2022-06-29T12:42:17.626Z] dd3240ac7de5: Waiting [2022-06-29T12:42:17.626Z] b1e948a4e11c: Waiting [2022-06-29T12:42:17.626Z] 684cea983483: Waiting [2022-06-29T12:42:17.626Z] cc1cd167ecdc: Waiting [2022-06-29T12:42:17.626Z] a8fd76ee1af6: Waiting [2022-06-29T12:42:17.626Z] 646ad004c059: Waiting [2022-06-29T12:42:17.626Z] c516ae0d96e1: Waiting [2022-06-29T12:42:17.626Z] 8ed8ca486205: Verifying Checksum [2022-06-29T12:42:17.626Z] 8ed8ca486205: Download complete [2022-06-29T12:42:17.626Z] 666ba61612fd: Verifying Checksum [2022-06-29T12:42:17.626Z] 666ba61612fd: Download complete [2022-06-29T12:42:17.626Z] c516ae0d96e1: Download complete [2022-06-29T12:42:17.626Z] 684cea983483: Download complete [2022-06-29T12:42:17.626Z] dd3240ac7de5: Verifying Checksum [2022-06-29T12:42:17.626Z] dd3240ac7de5: Download complete [2022-06-29T12:42:17.626Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T12:42:17.626Z] 59bf1c3509f3: Download complete [2022-06-29T12:42:17.626Z] b1e948a4e11c: Verifying Checksum [2022-06-29T12:42:17.626Z] b1e948a4e11c: Download complete [2022-06-29T12:42:17.889Z] 59bf1c3509f3: Pull complete [2022-06-29T12:42:17.889Z] 666ba61612fd: Pull complete [2022-06-29T12:42:18.151Z] 8ed8ca486205: Pull complete [2022-06-29T12:42:18.151Z] 646ad004c059: Download complete [2022-06-29T12:42:18.409Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T12:42:18.410Z] a8fd76ee1af6: Download complete [2022-06-29T12:42:18.410Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T12:42:18.410Z] cc1cd167ecdc: Download complete [2022-06-29T12:42:22.609Z] cc1cd167ecdc: Pull complete [2022-06-29T12:42:22.609Z] c516ae0d96e1: Pull complete [2022-06-29T12:42:22.609Z] 684cea983483: Pull complete [2022-06-29T12:42:22.869Z] dd3240ac7de5: Pull complete [2022-06-29T12:42:22.869Z] b1e948a4e11c: Pull complete [2022-06-29T12:42:25.421Z] a8fd76ee1af6: Pull complete [2022-06-29T12:42:25.994Z] 646ad004c059: Pull complete [2022-06-29T12:42:25.994Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T12:42:25.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T12:42:25.994Z] ---> 8f69c11f6b0c [2022-06-29T12:42:25.994Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T12:42:27.913Z] ---> Running in 4e87f585d2d7 [2022-06-29T12:42:27.913Z] Removing intermediate container 4e87f585d2d7 [2022-06-29T12:42:27.913Z] ---> 5389dc95ae8a [2022-06-29T12:42:27.913Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T12:42:27.913Z] ---> Running in 01d59a61c6df [2022-06-29T12:42:27.913Z] Removing intermediate container 01d59a61c6df [2022-06-29T12:42:27.913Z] ---> 431003af3a67 [2022-06-29T12:42:27.913Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-29T12:42:27.913Z] ---> Running in ac9d17e7eea5 [2022-06-29T12:42:28.172Z] Removing intermediate container ac9d17e7eea5 [2022-06-29T12:42:28.172Z] ---> a14b7ef273ba [2022-06-29T12:42:28.172Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T12:42:28.172Z] ---> Running in 906cd0e4f9e6 [2022-06-29T12:42:28.741Z] Removing intermediate container 906cd0e4f9e6 [2022-06-29T12:42:28.741Z] ---> 0e47cd400b7a [2022-06-29T12:42:28.741Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T12:42:28.741Z] ---> Running in 4f0e44f18b75 [2022-06-29T12:42:29.003Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T12:42:29.946Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T12:42:30.207Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T12:42:30.468Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T12:42:30.468Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T12:42:30.731Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T12:42:30.731Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T12:42:30.731Z] OK: 224 MiB in 56 packages [2022-06-29T12:42:30.781Z] Still waiting to schedule task [2022-06-29T12:42:30.781Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-29T12:42:31.309Z] Removing intermediate container 4f0e44f18b75 [2022-06-29T12:42:31.309Z] ---> a13258f6c308 [2022-06-29T12:42:31.309Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T12:42:31.309Z] ---> eaf207408850 [2022-06-29T12:42:31.309Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T12:42:31.309Z] ---> Running in 796fa3e1f53d [2022-06-29T12:42:49.437Z] Removing intermediate container 796fa3e1f53d [2022-06-29T12:42:49.437Z] ---> ee6ab584ad41 [2022-06-29T12:42:49.437Z] Step 10/12 : COPY . . [2022-06-29T12:42:49.437Z] ---> 8af73a7c1035 [2022-06-29T12:42:49.437Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T12:42:49.437Z] ---> Running in eee96c9888c7 [2022-06-29T12:42:49.437Z] Removing intermediate container eee96c9888c7 [2022-06-29T12:42:49.437Z] ---> a48f6210c2b3 [2022-06-29T12:42:49.437Z] Step 12/12 : RUN $MAKE [2022-06-29T12:42:49.437Z] ---> Running in cb47c1481cc1 [2022-06-29T12:42:49.437Z] noop [2022-06-29T12:42:49.437Z] Removing intermediate container cb47c1481cc1 [2022-06-29T12:42:49.437Z] ---> 9e9fa6b77ba8 [2022-06-29T12:42:49.437Z] Successfully built 9e9fa6b77ba8 [2022-06-29T12:42:49.437Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:42:49.758Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T12:42:49.758Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T12:42:49.842Z] prd-ubuntu20.04-docker-8c-8g-16336 does not seem to be running inside a container [2022-06-29T12:42:49.875Z] $ 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-29T12:42:50.311Z] $ docker top 9914c7ed15a03faebc2dc3b8b020e732053fd66ea90ae3e9d944ccfac8cbc8fc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T12:42:50.672Z] + go version [2022-06-29T12:42:50.672Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T12:42:50.685Z] $ docker stop --time=1 9914c7ed15a03faebc2dc3b8b020e732053fd66ea90ae3e9d944ccfac8cbc8fc [2022-06-29T12:42:51.971Z] $ docker rm -f 9914c7ed15a03faebc2dc3b8b020e732053fd66ea90ae3e9d944ccfac8cbc8fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:42:52.373Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T12:42:52.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T12:42:52.482Z] prd-ubuntu20.04-docker-8c-8g-16336 does not seem to be running inside a container [2022-06-29T12:42:52.551Z] $ 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-29T12:42:52.989Z] $ docker top e1119f597238ad298bac3b9f31b42c8c43bdf830c625cb13e77231d1c52d3702 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T12:42:53.373Z] + make test [2022-06-29T12:42:53.373Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-29T12:42:53.631Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-29T12:43:03.617Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-29T12:43:03.617Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements [2022-06-29T12:43:10.191Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T12:43:14.387Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T12:43:14.387Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T12:43:14.387Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T12:43:14.401Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T12:43:14.414Z] $ docker stop --time=1 e1119f597238ad298bac3b9f31b42c8c43bdf830c625cb13e77231d1c52d3702 [2022-06-29T12:43:16.187Z] $ docker rm -f e1119f597238ad298bac3b9f31b42c8c43bdf830c625cb13e77231d1c52d3702 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T12:43:16.650Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T12:43:16.711Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T12:43:17.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T12:43:17.487Z] + ls -al . [2022-06-29T12:43:17.487Z] total 192 [2022-06-29T12:43:17.487Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 12:43 . [2022-06-29T12:43:17.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 12:41 .. [2022-06-29T12:43:17.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 12:42 .git [2022-06-29T12:43:17.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 12:41 .github [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 29 12:41 .gitignore [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 12:41 .golangci.yml [2022-06-29T12:43:17.487Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 12:42 .semver [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 29 12:41 Attribution.txt [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 29 12:41 CHANGELOG.md [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 29 12:41 Dockerfile [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 12:41 GOVERNANCE.md [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 29 12:41 Jenkinsfile [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 12:41 LICENSE [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 29 12:41 Makefile [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 29 12:41 OWNERS.md [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 29 12:41 README.md [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 12:42 VERSION [2022-06-29T12:43:17.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 12:41 bin [2022-06-29T12:43:17.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 12:41 cmd [2022-06-29T12:43:17.487Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 29 12:43 coverage.out [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 29 12:41 go.mod [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 29 12:41 go.sum [2022-06-29T12:43:17.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 12:41 internal [2022-06-29T12:43:17.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 12:41 snap [2022-06-29T12:43:17.487Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 29 12:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:43:17.813Z] + 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=cdfe5f55517df1d890234ad53dd5d8bba71fabd6 --label arch=amd64 --label version=0.0.0 . [2022-06-29T12:43:17.813Z] Sending build context to Docker daemon 23.24MB [2022-06-29T12:43:17.813Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T12:43:17.813Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-29T12:43:17.813Z] ---> 9e9fa6b77ba8 [2022-06-29T12:43:17.813Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T12:43:18.076Z] ---> Running in 15fe705a2475 [2022-06-29T12:43:18.076Z] Removing intermediate container 15fe705a2475 [2022-06-29T12:43:18.076Z] ---> f31f0303e01c [2022-06-29T12:43:18.076Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T12:43:18.076Z] ---> Running in ba21e5c3a59d [2022-06-29T12:43:18.336Z] Removing intermediate container ba21e5c3a59d [2022-06-29T12:43:18.336Z] ---> e34990e8a7f6 [2022-06-29T12:43:18.336Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-29T12:43:18.336Z] ---> Running in ac1d9031526b [2022-06-29T12:43:18.336Z] Removing intermediate container ac1d9031526b [2022-06-29T12:43:18.336Z] ---> 332db38516c4 [2022-06-29T12:43:18.336Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T12:43:18.336Z] ---> Running in c59a58f49e82 [2022-06-29T12:43:18.911Z] Removing intermediate container c59a58f49e82 [2022-06-29T12:43:18.911Z] ---> aaf4bbb64f97 [2022-06-29T12:43:18.911Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T12:43:19.175Z] ---> Running in 3b17d1250b04 [2022-06-29T12:43:19.436Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T12:43:20.378Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T12:43:20.378Z] OK: 224 MiB in 56 packages [2022-06-29T12:43:20.950Z] Removing intermediate container 3b17d1250b04 [2022-06-29T12:43:20.950Z] ---> 14b435ddfa72 [2022-06-29T12:43:20.950Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-29T12:43:20.950Z] ---> 8d3f60055a1a [2022-06-29T12:43:20.950Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T12:43:20.950Z] ---> Running in 859210cec058 [2022-06-29T12:43:21.890Z] Removing intermediate container 859210cec058 [2022-06-29T12:43:21.890Z] ---> b64425026202 [2022-06-29T12:43:21.890Z] Step 10/26 : COPY . . [2022-06-29T12:43:22.149Z] ---> 9b7b7cf951a4 [2022-06-29T12:43:22.149Z] Step 11/26 : ARG MAKE='make build' [2022-06-29T12:43:22.409Z] ---> Running in e59ba068bc49 [2022-06-29T12:43:22.409Z] Removing intermediate container e59ba068bc49 [2022-06-29T12:43:22.409Z] ---> 3d16ec9aaec8 [2022-06-29T12:43:22.409Z] Step 12/26 : RUN $MAKE [2022-06-29T12:43:22.409Z] ---> Running in b407f8cfe86f [2022-06-29T12:43:22.667Z] 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-29T12:43:44.652Z] Removing intermediate container b407f8cfe86f [2022-06-29T12:43:44.652Z] ---> c64a1a6882fa [2022-06-29T12:43:44.652Z] Step 13/26 : FROM alpine:3.14 [2022-06-29T12:43:44.652Z] 3.14: Pulling from library/alpine [2022-06-29T12:43:44.652Z] 8663204ce13b: Pulling fs layer [2022-06-29T12:43:44.652Z] 8663204ce13b: Verifying Checksum [2022-06-29T12:43:44.652Z] 8663204ce13b: Download complete [2022-06-29T12:43:44.652Z] 8663204ce13b: Pull complete [2022-06-29T12:43:44.652Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T12:43:44.652Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T12:43:44.652Z] ---> e04c818066af [2022-06-29T12:43:44.652Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-29T12:43:44.652Z] ---> Running in 8a83e3348bd1 [2022-06-29T12:43:44.652Z] Removing intermediate container 8a83e3348bd1 [2022-06-29T12:43:44.652Z] ---> 42a828f84a44 [2022-06-29T12:43:44.652Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T12:43:44.652Z] ---> Running in a2f6faff75e2 [2022-06-29T12:43:44.652Z] Removing intermediate container a2f6faff75e2 [2022-06-29T12:43:44.652Z] ---> 622e2b9d401d [2022-06-29T12:43:44.652Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T12:43:44.652Z] ---> Running in d68177dae6b0 [2022-06-29T12:43:44.913Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-29T12:43:45.855Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-29T12:43:46.114Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T12:43:46.114Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T12:43:46.375Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T12:43:46.375Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T12:43:46.635Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T12:43:46.635Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T12:43:46.635Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T12:43:46.635Z] OK: 8 MiB in 20 packages [2022-06-29T12:43:47.207Z] Removing intermediate container d68177dae6b0 [2022-06-29T12:43:47.207Z] ---> a9d99bafc1d8 [2022-06-29T12:43:47.207Z] Step 17/26 : WORKDIR / [2022-06-29T12:43:47.207Z] ---> Running in ebd9376841e1 [2022-06-29T12:43:47.207Z] Removing intermediate container ebd9376841e1 [2022-06-29T12:43:47.207Z] ---> f75f0e7a15d1 [2022-06-29T12:43:47.207Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-29T12:43:47.467Z] ---> fb02ae3781eb [2022-06-29T12:43:47.467Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-29T12:43:47.467Z] ---> 824890e0ae37 [2022-06-29T12:43:47.467Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-29T12:43:48.036Z] ---> 92ca51228c0d [2022-06-29T12:43:48.036Z] Step 21/26 : EXPOSE 59900 [2022-06-29T12:43:48.036Z] ---> Running in 07997e1ebb9a [2022-06-29T12:43:48.297Z] Removing intermediate container 07997e1ebb9a [2022-06-29T12:43:48.297Z] ---> 38473bfaf7db [2022-06-29T12:43:48.297Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-29T12:43:48.297Z] ---> Running in 635b86568ddf [2022-06-29T12:43:48.297Z] Removing intermediate container 635b86568ddf [2022-06-29T12:43:48.297Z] ---> 57447cc1742e [2022-06-29T12:43:48.297Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T12:43:48.297Z] ---> Running in 9505d128a874 [2022-06-29T12:43:48.558Z] Removing intermediate container 9505d128a874 [2022-06-29T12:43:48.558Z] ---> ca7eb973b889 [2022-06-29T12:43:48.558Z] Step 24/26 : LABEL arch=amd64 [2022-06-29T12:43:48.558Z] ---> Running in b4e20918a887 [2022-06-29T12:43:48.558Z] Removing intermediate container b4e20918a887 [2022-06-29T12:43:48.558Z] ---> b2c6a9420cd5 [2022-06-29T12:43:48.558Z] Step 25/26 : LABEL git_sha=cdfe5f55517df1d890234ad53dd5d8bba71fabd6 [2022-06-29T12:43:48.558Z] ---> Running in 6fc22fa9b61d [2022-06-29T12:43:48.818Z] Removing intermediate container 6fc22fa9b61d [2022-06-29T12:43:48.818Z] ---> 6d60f6eb7c03 [2022-06-29T12:43:48.818Z] Step 26/26 : LABEL version=0.0.0 [2022-06-29T12:43:48.818Z] ---> Running in 1336bf4a649a [2022-06-29T12:43:48.818Z] Removing intermediate container 1336bf4a649a [2022-06-29T12:43:48.818Z] ---> 388a0d831eb7 [2022-06-29T12:43:48.818Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T12:43:48.818Z] Successfully built 388a0d831eb7 [2022-06-29T12:43:48.818Z] 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-29T12:43:49.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T12:43:49.265Z] [2022-06-29T12:43:49.265Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:43:49.569Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T12:43:49.569Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T12:43:49.569Z] 5eb5b503b376: Pulling fs layer [2022-06-29T12:43:49.569Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T12:43:49.569Z] ec43610c2a17: Pulling fs layer [2022-06-29T12:43:49.569Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T12:43:49.569Z] 33b1e0a273af: Pulling fs layer [2022-06-29T12:43:49.569Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T12:43:49.569Z] 2f39f015ded8: Pulling fs layer [2022-06-29T12:43:49.569Z] 33b1e0a273af: Waiting [2022-06-29T12:43:49.569Z] 5d3b04190fa2: Waiting [2022-06-29T12:43:49.569Z] 2f39f015ded8: Waiting [2022-06-29T12:43:49.569Z] 3a2ae6a8a46f: Waiting [2022-06-29T12:43:49.569Z] 5c69ac0246d0: Verifying Checksum [2022-06-29T12:43:49.569Z] 5c69ac0246d0: Download complete [2022-06-29T12:43:49.569Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-29T12:43:49.569Z] 3a2ae6a8a46f: Download complete [2022-06-29T12:43:49.569Z] 33b1e0a273af: Verifying Checksum [2022-06-29T12:43:49.569Z] 33b1e0a273af: Download complete [2022-06-29T12:43:49.569Z] ec43610c2a17: Verifying Checksum [2022-06-29T12:43:49.569Z] ec43610c2a17: Download complete [2022-06-29T12:43:49.569Z] 5d3b04190fa2: Verifying Checksum [2022-06-29T12:43:49.569Z] 5d3b04190fa2: Download complete [2022-06-29T12:43:49.829Z] 5eb5b503b376: Verifying Checksum [2022-06-29T12:43:49.829Z] 5eb5b503b376: Download complete [2022-06-29T12:43:50.397Z] 2f39f015ded8: Verifying Checksum [2022-06-29T12:43:50.398Z] 2f39f015ded8: Download complete [2022-06-29T12:43:51.338Z] 5eb5b503b376: Pull complete [2022-06-29T12:43:51.338Z] 5c69ac0246d0: Pull complete [2022-06-29T12:43:51.907Z] ec43610c2a17: Pull complete [2022-06-29T12:43:51.907Z] 3a2ae6a8a46f: Pull complete [2022-06-29T12:43:52.171Z] 33b1e0a273af: Pull complete [2022-06-29T12:43:52.171Z] 5d3b04190fa2: Pull complete [2022-06-29T12:43:57.449Z] 2f39f015ded8: Pull complete [2022-06-29T12:43:57.449Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T12:43:57.449Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T12:43:57.449Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T12:43:57.548Z] prd-ubuntu20.04-docker-8c-8g-16336 does not seem to be running inside a container [2022-06-29T12:43:57.592Z] $ 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-29T12:43:59.120Z] $ docker top 179d3c7a04ca68433a863d40512a0de75f202e9ee4730d751441023cd8fea9e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:43:59.534Z] ---> job-cost.sh [2022-06-29T12:43:59.534Z] lf-activate-venv: SKIPPING [2022-06-29T12:43:59.534Z] INFO: No Stack... [2022-06-29T12:43:59.794Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T12:44:00.363Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T12:44:00.654Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-29T12:44:00.654Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T12:44:00.668Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-27-stack-cost] [2022-06-29T12:44:00.673Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-27-stack-cost] did not exist. Created. [2022-06-29T12:44:00.673Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T12:44:00.980Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T12:44:01.001Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T12:44:01.007Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-27-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T12:44:01.025Z] $ docker stop --time=1 179d3c7a04ca68433a863d40512a0de75f202e9ee4730d751441023cd8fea9e7 [2022-06-29T12:44:02.215Z] $ docker rm -f 179d3c7a04ca68433a863d40512a0de75f202e9ee4730d751441023cd8fea9e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T12:44:05.642Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16337 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-29T12:44:05.655Z] Running in /w/workspace/device-virtual-go/27 [Pipeline] { [Pipeline] checkout [2022-06-29T12:44:05.695Z] The recommended git tool is: git [2022-06-29T12:44:13.423Z] using credential edgex-jenkins-ssh [2022-06-29T12:44:13.451Z] Cloning the remote Git repository [2022-06-29T12:44:13.556Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-29T12:44:13.692Z] > git init /w/workspace/device-virtual-go/27 # timeout=10 [2022-06-29T12:44:13.844Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-29T12:44:13.844Z] > git --version # timeout=10 [2022-06-29T12:44:13.873Z] > git --version # 'git version 2.25.1' [2022-06-29T12:44:13.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T12:44:13.983Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T12:44:17.005Z] Merging remotes/origin/main commit 6c956091e39ebf418aab18435948f90fcdb39d95 into PR head commit cdfe5f55517df1d890234ad53dd5d8bba71fabd6 [2022-06-29T12:44:17.351Z] Merge succeeded, producing cdfe5f55517df1d890234ad53dd5d8bba71fabd6 [2022-06-29T12:44:17.352Z] Checking out Revision cdfe5f55517df1d890234ad53dd5d8bba71fabd6 (PR-290) [2022-06-29T12:44:16.292Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-29T12:44:16.325Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T12:44:16.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-29T12:44:16.431Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-29T12:44:16.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T12:44:16.451Z] > 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-29T12:44:17.040Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T12:44:17.078Z] > git checkout -f cdfe5f55517df1d890234ad53dd5d8bba71fabd6 # timeout=10 [2022-06-29T12:44:17.190Z] > git remote # timeout=10 [2022-06-29T12:44:17.226Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T12:44:17.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T12:44:17.280Z] > git merge 6c956091e39ebf418aab18435948f90fcdb39d95 # timeout=10 [2022-06-29T12:44:17.326Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T12:44:17.362Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T12:44:17.387Z] > git checkout -f cdfe5f55517df1d890234ad53dd5d8bba71fabd6 # timeout=10 [2022-06-29T12:44:21.594Z] Commit message: "refactor(snap): Refactor env loader and helper-go (#3)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T12:44:22.572Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T12:44:22.572Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T12:44:22.572Z] Dload Upload Total Spent Left Speed [2022-06-29T12:44:22.572Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94984 0 --:--:-- --:--:-- --:--:-- 94984 [Pipeline] sh [2022-06-29T12:44:23.333Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T12:44:23.697Z] + sudo tee /etc/docker/daemon.new [2022-06-29T12:44:23.697Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T12:44:23.697Z] { [2022-06-29T12:44:23.697Z] "registry-mirrors": [ [2022-06-29T12:44:23.697Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T12:44:23.697Z] ], [2022-06-29T12:44:23.697Z] "bip": "10.250.0.254/24", [2022-06-29T12:44:23.697Z] "hosts": [ [2022-06-29T12:44:23.697Z] "tcp://0.0.0.0:5555", [2022-06-29T12:44:23.697Z] "unix:///var/run/docker.sock" [2022-06-29T12:44:23.697Z] ], [2022-06-29T12:44:23.697Z] "mtu": 1458, [2022-06-29T12:44:23.697Z] "selinux-enabled": true, [2022-06-29T12:44:23.697Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T12:44:23.697Z] } [Pipeline] sh [2022-06-29T12:44:24.045Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T12:44:24.389Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T12:44:42.729Z] provisioning config files... [2022-06-29T12:44:42.753Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/27@tmp/config8084272191192514626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:44:43.465Z] ---> docker-login.sh [2022-06-29T12:44:43.465Z] nexus3.edgexfoundry.org:10001 [2022-06-29T12:44:44.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:44:44.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:44:44.334Z] Configure a credential helper to remove this warning. See [2022-06-29T12:44:44.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:44:44.334Z] [2022-06-29T12:44:44.334Z] Login Succeeded [2022-06-29T12:44:44.334Z] nexus3.edgexfoundry.org:10002 [2022-06-29T12:44:44.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:44:44.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:44:44.880Z] Configure a credential helper to remove this warning. See [2022-06-29T12:44:44.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:44:44.880Z] [2022-06-29T12:44:44.880Z] Login Succeeded [2022-06-29T12:44:44.880Z] nexus3.edgexfoundry.org:10003 [2022-06-29T12:44:45.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:44:45.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:44:45.154Z] Configure a credential helper to remove this warning. See [2022-06-29T12:44:45.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:44:45.154Z] [2022-06-29T12:44:45.154Z] Login Succeeded [2022-06-29T12:44:45.154Z] nexus3.edgexfoundry.org:10004 [2022-06-29T12:44:45.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:44:45.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:44:45.751Z] Configure a credential helper to remove this warning. See [2022-06-29T12:44:45.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:44:45.751Z] [2022-06-29T12:44:45.751Z] Login Succeeded [2022-06-29T12:44:45.751Z] docker.io [2022-06-29T12:44:46.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T12:44:46.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T12:44:46.617Z] Configure a credential helper to remove this warning. See [2022-06-29T12:44:46.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T12:44:46.617Z] [2022-06-29T12:44:46.617Z] Login Succeeded [2022-06-29T12:44:46.617Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T12:44:46.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T12:44:46.888Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T12:44:46.903Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T12:44:46.912Z] ========================================================= [2022-06-29T12:44:46.912Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T12:44:46.912Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:44:47.272Z] + 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-29T12:44:47.883Z] Sending build context to Docker daemon 11.81MB [2022-06-29T12:44:47.883Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T12:44:47.883Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T12:44:47.883Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T12:44:47.883Z] 9b3977197b4f: Pulling fs layer [2022-06-29T12:44:47.883Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T12:44:47.883Z] 94645a83ff95: Pulling fs layer [2022-06-29T12:44:47.883Z] e6fb740bc735: Pulling fs layer [2022-06-29T12:44:47.883Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T12:44:47.883Z] 355e64cbe906: Pulling fs layer [2022-06-29T12:44:47.883Z] 63ab81a10011: Pulling fs layer [2022-06-29T12:44:47.883Z] 555d1d1c4555: Pulling fs layer [2022-06-29T12:44:47.883Z] 7d9057610161: Pulling fs layer [2022-06-29T12:44:47.883Z] e6fb740bc735: Waiting [2022-06-29T12:44:47.883Z] 3a77bd46dcc9: Waiting [2022-06-29T12:44:47.883Z] 355e64cbe906: Waiting [2022-06-29T12:44:47.883Z] 63ab81a10011: Waiting [2022-06-29T12:44:47.883Z] 555d1d1c4555: Waiting [2022-06-29T12:44:47.883Z] 7d9057610161: Waiting [2022-06-29T12:44:47.883Z] 94645a83ff95: Verifying Checksum [2022-06-29T12:44:47.883Z] 94645a83ff95: Download complete [2022-06-29T12:44:47.883Z] 1a89e8eeedd5: Download complete [2022-06-29T12:44:48.162Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T12:44:48.162Z] 3a77bd46dcc9: Download complete [2022-06-29T12:44:48.162Z] 355e64cbe906: Download complete [2022-06-29T12:44:48.162Z] 9b3977197b4f: Verifying Checksum [2022-06-29T12:44:48.162Z] 9b3977197b4f: Download complete [2022-06-29T12:44:48.162Z] 63ab81a10011: Download complete [2022-06-29T12:44:49.154Z] 9b3977197b4f: Pull complete [2022-06-29T12:44:49.154Z] 7d9057610161: Verifying Checksum [2022-06-29T12:44:49.154Z] 7d9057610161: Download complete [2022-06-29T12:44:49.430Z] 1a89e8eeedd5: Pull complete [2022-06-29T12:44:49.710Z] 94645a83ff95: Pull complete [2022-06-29T12:44:50.312Z] 555d1d1c4555: Verifying Checksum [2022-06-29T12:44:50.312Z] 555d1d1c4555: Download complete [2022-06-29T12:44:50.912Z] e6fb740bc735: Verifying Checksum [2022-06-29T12:44:50.912Z] e6fb740bc735: Download complete [2022-06-29T12:45:03.331Z] e6fb740bc735: Pull complete [2022-06-29T12:45:03.331Z] 3a77bd46dcc9: Pull complete [2022-06-29T12:45:03.331Z] 355e64cbe906: Pull complete [2022-06-29T12:45:03.606Z] 63ab81a10011: Pull complete [2022-06-29T12:45:10.333Z] 555d1d1c4555: Pull complete [2022-06-29T12:45:11.777Z] 7d9057610161: Pull complete [2022-06-29T12:45:11.777Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T12:45:11.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T12:45:11.777Z] ---> 819e984ddca1 [2022-06-29T12:45:11.777Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T12:45:12.775Z] ---> Running in 8e0f3a231661 [2022-06-29T12:45:13.371Z] Removing intermediate container 8e0f3a231661 [2022-06-29T12:45:13.371Z] ---> b3c8e1ba7028 [2022-06-29T12:45:13.371Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T12:45:13.371Z] ---> Running in 57a9a04507b7 [2022-06-29T12:45:13.644Z] Removing intermediate container 57a9a04507b7 [2022-06-29T12:45:13.645Z] ---> 1d022ef8a474 [2022-06-29T12:45:13.645Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-29T12:45:13.645Z] ---> Running in b751264ed352 [2022-06-29T12:45:13.920Z] Removing intermediate container b751264ed352 [2022-06-29T12:45:13.920Z] ---> 898a84251460 [2022-06-29T12:45:13.920Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T12:45:13.920Z] ---> Running in e540b80130b1 [2022-06-29T12:45:15.908Z] Removing intermediate container e540b80130b1 [2022-06-29T12:45:15.908Z] ---> 00dbb851260b [2022-06-29T12:45:15.908Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T12:45:15.908Z] ---> Running in 1d15ce43d534 [2022-06-29T12:45:16.889Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T12:45:17.873Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T12:45:18.474Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T12:45:18.750Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T12:45:18.750Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T12:45:19.036Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T12:45:19.036Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T12:45:19.036Z] OK: 224 MiB in 56 packages [2022-06-29T12:45:21.029Z] Removing intermediate container 1d15ce43d534 [2022-06-29T12:45:21.029Z] ---> 0bd98bedc3a8 [2022-06-29T12:45:21.029Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T12:45:21.304Z] ---> 547b2a576967 [2022-06-29T12:45:21.304Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T12:45:21.304Z] ---> Running in 2c1f71df3f45 [2022-06-29T12:46:08.299Z] Removing intermediate container 2c1f71df3f45 [2022-06-29T12:46:08.299Z] ---> 1b98ec1b5a1f [2022-06-29T12:46:08.299Z] Step 10/12 : COPY . . [2022-06-29T12:46:08.299Z] ---> 8a931546ddf1 [2022-06-29T12:46:08.299Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T12:46:08.299Z] ---> Running in 5540f1939969 [2022-06-29T12:46:08.299Z] Removing intermediate container 5540f1939969 [2022-06-29T12:46:08.299Z] ---> 577c5db585db [2022-06-29T12:46:08.299Z] Step 12/12 : RUN $MAKE [2022-06-29T12:46:08.299Z] ---> Running in 577901c89a60 [2022-06-29T12:46:08.299Z] noop [2022-06-29T12:46:08.299Z] Removing intermediate container 577901c89a60 [2022-06-29T12:46:08.299Z] ---> 57921fbe09b2 [2022-06-29T12:46:08.299Z] Successfully built 57921fbe09b2 [2022-06-29T12:46:08.299Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:46:08.662Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T12:46:08.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T12:46:08.901Z] prd-ubuntu20.04-docker-arm64-4c-16g-16337 does not seem to be running inside a container [2022-06-29T12:46:08.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/27 -v /w/workspace/device-virtual-go/27:/w/workspace/device-virtual-go/27:rw,z -v /w/workspace/device-virtual-go/27@tmp:/w/workspace/device-virtual-go/27@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-29T12:46:10.166Z] $ docker top 1836282c954b77e824d0a14b7d2409f9d50451e92d4bdc1d7d55ccccdbcf0454 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T12:46:11.071Z] + go version [2022-06-29T12:46:11.071Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T12:46:11.098Z] $ docker stop --time=1 1836282c954b77e824d0a14b7d2409f9d50451e92d4bdc1d7d55ccccdbcf0454 [2022-06-29T12:46:12.752Z] $ docker rm -f 1836282c954b77e824d0a14b7d2409f9d50451e92d4bdc1d7d55ccccdbcf0454 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:46:13.371Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T12:46:13.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T12:46:13.594Z] prd-ubuntu20.04-docker-arm64-4c-16g-16337 does not seem to be running inside a container [2022-06-29T12:46:13.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/27 -v /w/workspace/device-virtual-go/27:/w/workspace/device-virtual-go/27:rw,z -v /w/workspace/device-virtual-go/27@tmp:/w/workspace/device-virtual-go/27@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-29T12:46:14.887Z] $ docker top 022ce1e875840364c21b05264f7965a566e3c9f5a1ed7e3d37171c6d29e1ad50 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T12:46:15.775Z] + make test [2022-06-29T12:46:15.775Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-29T12:46:17.831Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-29T12:47:40.053Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-29T12:47:40.053Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.134s coverage: 65.7% of statements [2022-06-29T12:47:40.053Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T12:47:40.053Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T12:47:58.401Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T12:47:58.401Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T12:47:58.401Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T12:48:01.054Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T12:48:01.070Z] $ docker stop --time=1 022ce1e875840364c21b05264f7965a566e3c9f5a1ed7e3d37171c6d29e1ad50 [2022-06-29T12:48:02.853Z] $ docker rm -f 022ce1e875840364c21b05264f7965a566e3c9f5a1ed7e3d37171c6d29e1ad50 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T12:48:03.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T12:48:03.809Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T12:48:04.348Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T12:48:04.758Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T12:48:05.097Z] + ls -al . [2022-06-29T12:48:05.097Z] total 188 [2022-06-29T12:48:05.097Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 12:48 . [2022-06-29T12:48:05.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 12:44 .. [2022-06-29T12:48:05.097Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 12:44 .git [2022-06-29T12:48:05.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 12:44 .github [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 29 12:44 .gitignore [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 12:44 .golangci.yml [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 29 12:44 Attribution.txt [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 29 12:44 CHANGELOG.md [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 29 12:44 Dockerfile [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 12:44 GOVERNANCE.md [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 29 12:44 Jenkinsfile [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 12:44 LICENSE [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 29 12:44 Makefile [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 29 12:44 OWNERS.md [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 29 12:44 README.md [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 12:42 VERSION [2022-06-29T12:48:05.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 12:44 bin [2022-06-29T12:48:05.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 12:44 cmd [2022-06-29T12:48:05.097Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 29 12:47 coverage.out [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 29 12:44 go.mod [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 29 12:44 go.sum [2022-06-29T12:48:05.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 12:44 internal [2022-06-29T12:48:05.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 12:44 snap [2022-06-29T12:48:05.097Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 29 12:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:48:05.459Z] + 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=cdfe5f55517df1d890234ad53dd5d8bba71fabd6 --label arch=arm64 --label version=0.0.0 . [2022-06-29T12:48:06.059Z] Sending build context to Docker daemon 11.85MB [2022-06-29T12:48:06.059Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T12:48:06.059Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-29T12:48:06.059Z] ---> 57921fbe09b2 [2022-06-29T12:48:06.059Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T12:48:06.059Z] ---> Running in 84efdd527566 [2022-06-29T12:48:06.337Z] Removing intermediate container 84efdd527566 [2022-06-29T12:48:06.337Z] ---> 1f927c9b974a [2022-06-29T12:48:06.337Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T12:48:06.613Z] ---> Running in 7c7fe68cf46d [2022-06-29T12:48:07.594Z] Removing intermediate container 7c7fe68cf46d [2022-06-29T12:48:07.594Z] ---> 1fd61342db1e [2022-06-29T12:48:07.594Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-29T12:48:07.594Z] ---> Running in 21158c7da98f [2022-06-29T12:48:07.872Z] Removing intermediate container 21158c7da98f [2022-06-29T12:48:07.872Z] ---> 7e6c034442e1 [2022-06-29T12:48:07.872Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T12:48:07.872Z] ---> Running in 8f1e96aa11a4 [2022-06-29T12:48:09.860Z] Removing intermediate container 8f1e96aa11a4 [2022-06-29T12:48:09.860Z] ---> 4589a76e9d38 [2022-06-29T12:48:09.860Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T12:48:09.860Z] ---> Running in 43c2246be021 [2022-06-29T12:48:10.459Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T12:48:11.444Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T12:48:12.422Z] OK: 224 MiB in 56 packages [2022-06-29T12:48:13.017Z] Removing intermediate container 43c2246be021 [2022-06-29T12:48:13.017Z] ---> 0b658105b592 [2022-06-29T12:48:13.017Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-29T12:48:13.614Z] ---> 97f1726aa0db [2022-06-29T12:48:13.614Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T12:48:13.614Z] ---> Running in 3d9791b6c291 [2022-06-29T12:48:15.597Z] Removing intermediate container 3d9791b6c291 [2022-06-29T12:48:15.597Z] ---> fdc696ddbca0 [2022-06-29T12:48:15.597Z] Step 10/26 : COPY . . [2022-06-29T12:48:17.039Z] ---> cc3cee0ec5b6 [2022-06-29T12:48:17.039Z] Step 11/26 : ARG MAKE='make build' [2022-06-29T12:48:17.039Z] ---> Running in 27b1df7577ad [2022-06-29T12:48:17.312Z] Removing intermediate container 27b1df7577ad [2022-06-29T12:48:17.312Z] ---> 6e0c47e8631a [2022-06-29T12:48:17.312Z] Step 12/26 : RUN $MAKE [2022-06-29T12:48:17.312Z] ---> Running in 6253bed958c1 [2022-06-29T12:48:18.301Z] 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-29T12:50:25.185Z] Removing intermediate container 6253bed958c1 [2022-06-29T12:50:25.185Z] ---> 5de442c7d8a0 [2022-06-29T12:50:25.185Z] Step 13/26 : FROM alpine:3.14 [2022-06-29T12:50:25.185Z] 3.14: Pulling from library/alpine [2022-06-29T12:50:25.185Z] 455c02918c45: Pulling fs layer [2022-06-29T12:50:25.185Z] 455c02918c45: Download complete [2022-06-29T12:50:25.185Z] 455c02918c45: Pull complete [2022-06-29T12:50:25.185Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T12:50:25.185Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T12:50:25.185Z] ---> ac73e934f311 [2022-06-29T12:50:25.185Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-29T12:50:25.185Z] ---> Running in a48038fd3dd8 [2022-06-29T12:50:25.185Z] Removing intermediate container a48038fd3dd8 [2022-06-29T12:50:25.185Z] ---> 037b5e77765b [2022-06-29T12:50:25.185Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T12:50:25.185Z] ---> Running in e2b97c1629b4 [2022-06-29T12:50:25.185Z] Removing intermediate container e2b97c1629b4 [2022-06-29T12:50:25.185Z] ---> b5b432ab56f2 [2022-06-29T12:50:25.185Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T12:50:25.185Z] ---> Running in a5a2bf0f7ae5 [2022-06-29T12:50:25.185Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-29T12:50:25.185Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-29T12:50:25.185Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T12:50:25.185Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T12:50:25.185Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T12:50:25.185Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T12:50:25.185Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T12:50:25.185Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T12:50:25.185Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T12:50:25.185Z] OK: 8 MiB in 20 packages [2022-06-29T12:50:25.185Z] Removing intermediate container a5a2bf0f7ae5 [2022-06-29T12:50:25.185Z] ---> ad918aaa992a [2022-06-29T12:50:25.185Z] Step 17/26 : WORKDIR / [2022-06-29T12:50:25.185Z] ---> Running in 4fe18ad9b4a5 [2022-06-29T12:50:25.185Z] Removing intermediate container 4fe18ad9b4a5 [2022-06-29T12:50:25.185Z] ---> f65d884774d1 [2022-06-29T12:50:25.185Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-29T12:50:25.185Z] ---> 6b80d02535e2 [2022-06-29T12:50:25.185Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-29T12:50:25.185Z] ---> fec3adb91a3b [2022-06-29T12:50:25.185Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-29T12:50:26.618Z] ---> b1d558cae494 [2022-06-29T12:50:26.618Z] Step 21/26 : EXPOSE 59900 [2022-06-29T12:50:26.618Z] ---> Running in 90f146a8df68 [2022-06-29T12:50:27.224Z] Removing intermediate container 90f146a8df68 [2022-06-29T12:50:27.224Z] ---> e20491b70b53 [2022-06-29T12:50:27.224Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-29T12:50:27.224Z] ---> Running in c05ddc4bdddd [2022-06-29T12:50:27.497Z] Removing intermediate container c05ddc4bdddd [2022-06-29T12:50:27.497Z] ---> 8fa01437b89a [2022-06-29T12:50:27.497Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T12:50:27.497Z] ---> Running in 561220f17309 [2022-06-29T12:50:27.775Z] Removing intermediate container 561220f17309 [2022-06-29T12:50:27.775Z] ---> 411d5f3e9100 [2022-06-29T12:50:27.775Z] Step 24/26 : LABEL arch=arm64 [2022-06-29T12:50:27.775Z] ---> Running in 0d7510968fb2 [2022-06-29T12:50:28.370Z] Removing intermediate container 0d7510968fb2 [2022-06-29T12:50:28.370Z] ---> 7a3e4f5f6637 [2022-06-29T12:50:28.370Z] Step 25/26 : LABEL git_sha=cdfe5f55517df1d890234ad53dd5d8bba71fabd6 [2022-06-29T12:50:28.370Z] ---> Running in b0532a691b99 [2022-06-29T12:50:28.643Z] Removing intermediate container b0532a691b99 [2022-06-29T12:50:28.643Z] ---> 245016a62fb3 [2022-06-29T12:50:28.643Z] Step 26/26 : LABEL version=0.0.0 [2022-06-29T12:50:28.643Z] ---> Running in 5b1428123a2c [2022-06-29T12:50:28.919Z] Removing intermediate container 5b1428123a2c [2022-06-29T12:50:28.919Z] ---> 825d6a077af3 [2022-06-29T12:50:28.919Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T12:50:28.919Z] Successfully built 825d6a077af3 [2022-06-29T12:50:28.919Z] 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-29T12:50:29.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T12:50:29.388Z] [2022-06-29T12:50:29.388Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:50:29.736Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T12:50:30.007Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T12:50:30.007Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T12:50:30.007Z] 04944245beec: Pulling fs layer [2022-06-29T12:50:30.007Z] 699f458cf7ca: Pulling fs layer [2022-06-29T12:50:30.007Z] 765212b225bb: Pulling fs layer [2022-06-29T12:50:30.007Z] f23df028b6ca: Pulling fs layer [2022-06-29T12:50:30.007Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T12:50:30.007Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T12:50:30.007Z] f23df028b6ca: Waiting [2022-06-29T12:50:30.007Z] d65c8cfc05b1: Waiting [2022-06-29T12:50:30.007Z] 765212b225bb: Waiting [2022-06-29T12:50:30.007Z] 2437ff75d9bd: Waiting [2022-06-29T12:50:30.007Z] 04944245beec: Verifying Checksum [2022-06-29T12:50:30.007Z] 04944245beec: Download complete [2022-06-29T12:50:30.007Z] 765212b225bb: Verifying Checksum [2022-06-29T12:50:30.007Z] 765212b225bb: Download complete [2022-06-29T12:50:30.008Z] f23df028b6ca: Verifying Checksum [2022-06-29T12:50:30.008Z] f23df028b6ca: Download complete [2022-06-29T12:50:30.008Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T12:50:30.008Z] d65c8cfc05b1: Download complete [2022-06-29T12:50:30.282Z] 699f458cf7ca: Verifying Checksum [2022-06-29T12:50:30.282Z] 699f458cf7ca: Download complete [2022-06-29T12:50:30.556Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T12:50:30.556Z] 8998bd30e6a1: Download complete [2022-06-29T12:50:32.541Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T12:50:32.542Z] 2437ff75d9bd: Download complete [2022-06-29T12:50:34.527Z] 8998bd30e6a1: Pull complete [2022-06-29T12:50:35.124Z] 04944245beec: Pull complete [2022-06-29T12:50:36.580Z] 699f458cf7ca: Pull complete [2022-06-29T12:50:36.859Z] 765212b225bb: Pull complete [2022-06-29T12:50:37.839Z] f23df028b6ca: Pull complete [2022-06-29T12:50:37.839Z] d65c8cfc05b1: Pull complete [2022-06-29T12:50:52.940Z] 2437ff75d9bd: Pull complete [2022-06-29T12:50:52.940Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T12:50:52.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T12:50:52.940Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T12:50:53.171Z] prd-ubuntu20.04-docker-arm64-4c-16g-16337 does not seem to be running inside a container [2022-06-29T12:50:53.257Z] $ 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/27 -v /w/workspace/device-virtual-go/27:/w/workspace/device-virtual-go/27:rw,z -v /w/workspace/device-virtual-go/27@tmp:/w/workspace/device-virtual-go/27@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-29T12:50:55.891Z] $ docker top 87073c5bc1c133f038c9ed2679b20d2c5b000212ab33ed963381605af3add9ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:50:56.812Z] ---> job-cost.sh [2022-06-29T12:50:56.812Z] lf-activate-venv: SKIPPING [2022-06-29T12:50:56.812Z] INFO: No Stack... [2022-06-29T12:50:57.085Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T12:50:58.065Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T12:50:58.746Z] + + cutcat -d, /w/workspace/device-virtual-go/27/archives/cost.csv -f6 [2022-06-29T12:50:58.746Z] [Pipeline] lock [2022-06-29T12:50:58.778Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-27-stack-cost] [2022-06-29T12:50:58.784Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-27-stack-cost] did not exist. Created. [2022-06-29T12:50:58.785Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T12:50:59.459Z] /w/workspace/device-virtual-go/27@tmp/durable-9931b7ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T12:51:00.135Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T12:51:00.162Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T12:51:00.205Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T12:51:00.213Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-27-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T12:51:00.237Z] $ docker stop --time=1 87073c5bc1c133f038c9ed2679b20d2c5b000212ab33ed963381605af3add9ab [2022-06-29T12:51:01.761Z] $ docker rm -f 87073c5bc1c133f038c9ed2679b20d2c5b000212ab33ed963381605af3add9ab [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-29T12:51:02.221Z] provisioning config files... [2022-06-29T12:51:02.230Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config6957363128463239955tmp [Pipeline] { [Pipeline] sh [2022-06-29T12:51:02.529Z] + set +x [2022-06-29T12:51:02.529Z] + curl -s https://codecov.io/bash [2022-06-29T12:51:02.529Z] + bash -s -- [2022-06-29T12:51:02.529Z] [2022-06-29T12:51:02.529Z] _____ _ [2022-06-29T12:51:02.529Z] / ____| | | [2022-06-29T12:51:02.529Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T12:51:02.529Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T12:51:02.529Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T12:51:02.529Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T12:51:02.529Z] Bash-1.0.6 [2022-06-29T12:51:02.529Z] [2022-06-29T12:51:02.529Z] [2022-06-29T12:51:02.529Z] ==> git version 2.25.1 found [2022-06-29T12:51:02.529Z] ==> 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-29T12:51:02.529Z] Release-Date: 2020-01-08 [2022-06-29T12:51:02.529Z] 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-29T12:51:02.529Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T12:51:02.529Z] ==> Jenkins CI detected. [2022-06-29T12:51:02.529Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-29T12:51:02.529Z] project root: . [2022-06-29T12:51:02.529Z] --> token set from env [2022-06-29T12:51:02.529Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T12:51:02.529Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T12:51:02.529Z] ==> Python coveragepy not found [2022-06-29T12:51:02.529Z] ==> Searching for coverage reports in: [2022-06-29T12:51:02.529Z] + . [2022-06-29T12:51:02.790Z] -> Found 1 reports [2022-06-29T12:51:02.790Z] ==> Detecting git/mercurial file structure [2022-06-29T12:51:02.790Z] ==> Reading reports [2022-06-29T12:51:02.790Z] + ./coverage.out bytes=44128 [2022-06-29T12:51:02.790Z] ==> Appending adjustments [2022-06-29T12:51:02.790Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T12:51:02.790Z] + Found adjustments [2022-06-29T12:51:02.790Z] ==> Gzipping contents [2022-06-29T12:51:02.790Z] 8.0K /tmp/codecov.TEdp7a.gz [2022-06-29T12:51:02.790Z] ==> Uploading reports [2022-06-29T12:51:02.790Z] url: https://codecov.io [2022-06-29T12:51:02.790Z] query: branch=PR-290&commit=cdfe5f55517df1d890234ad53dd5d8bba71fabd6&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-29T12:51:02.790Z] -> Pinging Codecov [2022-06-29T12:51:02.790Z] 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=cdfe5f55517df1d890234ad53dd5d8bba71fabd6&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-29T12:51:03.050Z] -> Uploading to [2022-06-29T12:51:03.050Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/5E52B4B073DB2E39498172D8E973AA87/cdfe5f55517df1d890234ad53dd5d8bba71fabd6/7da53a80-cf47-4a14-8795-6a8ba210ad5a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T125102Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8bf2031a97f26a6e0ed9903c8249f71c5f5d455aed9336836028a61e0193b6c [2022-06-29T12:51:03.050Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T12:51:03.050Z] Dload Upload Total Spent Left Speed [2022-06-29T12:51:03.310Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5494 0 0 100 5494 0 26931 --:--:-- --:--:-- --:--:-- 26931 [2022-06-29T12:51:03.310Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/cdfe5f55517df1d890234ad53dd5d8bba71fabd6 [Pipeline] } [2022-06-29T12:51:03.318Z] 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-29T12:51:03.985Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-29T12:51:03.985Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-29T12:51:03.985Z] total 16 [2022-06-29T12:51:03.985Z] drwxr-xr-x 3 root root 4096 Jun 29 12:44 . [2022-06-29T12:51:03.985Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 12:44 .. [2022-06-29T12:51:03.985Z] drwxr-xr-x 2 root root 4096 Jun 29 12:44 cost [2022-06-29T12:51:03.985Z] -rw-r--r-- 1 root root 89 Jun 29 12:44 cost.csv [2022-06-29T12:51:03.985Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-29T12:51:03.985Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-29T12:51:03.985Z] total 16 [2022-06-29T12:51:03.985Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 12:44 . [2022-06-29T12:51:03.985Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 12:44 .. [2022-06-29T12:51:03.985Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 12:44 cost [2022-06-29T12:51:03.985Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 29 12:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:51:04.290Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:51:05.153Z] ---> package-listing.sh [2022-06-29T12:51:05.153Z] ++ facter osfamily [2022-06-29T12:51:05.153Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T12:51:05.415Z] + OS_FAMILY=debian [2022-06-29T12:51:05.415Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-29T12:51:05.415Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T12:51:05.415Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T12:51:05.415Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T12:51:05.415Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T12:51:05.415Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-29T12:51:05.415Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T12:51:05.415Z] + case "${OS_FAMILY}" in [2022-06-29T12:51:05.415Z] + dpkg -l [2022-06-29T12:51:05.415Z] + grep '^ii' [2022-06-29T12:51:05.416Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T12:51:05.416Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T12:51:05.416Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T12:51:05.416Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-29T12:51:05.416Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-29T12:51:05.416Z] + 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-29T12:51:05.427Z] 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-29T12:51:05.705Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T12:51:06.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T12:51:06.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T12:51:06.350Z] prd-ubuntu20.04-docker-8c-8g-16336 does not seem to be running inside a container [2022-06-29T12:51:06.381Z] $ 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-29T12:51:06.635Z] $ docker top da42fbb4562eba1d41649df42a971c8ddfe25ab5a2dd63c7426e32b82e8eb7f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T12:51:06.988Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T12:51:07.278Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T12:51:07.570Z] + ls /var/log/sa-host [2022-06-29T12:51:07.570Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T12:51:07.696Z] provisioning config files... [2022-06-29T12:51:07.705Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config1810990975953567303tmp [Pipeline] { [Pipeline] echo [2022-06-29T12:51:07.718Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:51:08.006Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T12:51:08.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:51:08.334Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T12:51:08.342Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:51:08.626Z] ---> sudo-logs.sh [2022-06-29T12:51:08.626Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T12:51:08.653Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:51:08.938Z] ---> job-cost.sh [2022-06-29T12:51:08.938Z] lf-activate-venv: SKIPPING [2022-06-29T12:51:08.938Z] DEBUG: total: 0.2199999988079071 [2022-06-29T12:51:08.938Z] INFO: Retrieving Stack Cost... [2022-06-29T12:51:09.199Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T12:51:09.766Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T12:51:09.774Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T12:51:10.058Z] ---> logs-deploy.sh [2022-06-29T12:51:10.058Z] lf-activate-venv: SKIPPING [2022-06-29T12:51:10.058Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/27 [2022-06-29T12:51:10.058Z] INFO: archiving workspace using pattern(s): [2022-06-29T12:51:10.997Z] Archives upload complete. [2022-06-29T12:51:10.997Z] INFO: archiving logs to Nexus