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 7a5d72f2139bf399a996e49789fb0d11bd453b9a 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-ssh7530835128929306493.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-ssh12520445826558850133.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-ssh17696776754906527624.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-ssh9564364576766859001.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-ssh14572111523596940449.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-16338 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 7a5d72f2139bf399a996e49789fb0d11bd453b9a Merge succeeded, producing 7a5d72f2139bf399a996e49789fb0d11bd453b9a Checking out Revision 7a5d72f2139bf399a996e49789fb0d11bd453b9a (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 7a5d72f2139bf399a996e49789fb0d11bd453b9a # 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 7a5d72f2139bf399a996e49789fb0d11bd453b9a # timeout=10 Commit message: "refactor(snap): Refactor env loader and helper-go (#3)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T13:02:47.222Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T13:02:47.278Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T13:02:47.300Z] ========================================================= [2022-06-29T13:02:47.300Z] EdgeX Global Pipelines Version Info [2022-06-29T13:02:47.300Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cdfe5f55517df1d890234ad53dd5d8bba71fabd6 # timeout=10 [2022-06-29T13:02:48.085Z] ------------------- [2022-06-29T13:02:48.085Z] stable info: [2022-06-29T13:02:48.085Z] ------------------- [2022-06-29T13:02:48.085Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T13:02:48.085Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T13:02:48.085Z] Message: update stable to v1.0.234 [2022-06-29T13:02:48.656Z] ------------------- [2022-06-29T13:02:48.656Z] experimental info: [2022-06-29T13:02:48.656Z] ------------------- [2022-06-29T13:02:48.656Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T13:02:48.656Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T13:02:48.656Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T13:02:48.846Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-29T13:02:48.857Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-29T13:02:48.871Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T13:02:48.886Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T13:02:48.896Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T13:02:48.911Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T13:02:48.929Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T13:02:48.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T13:02:48.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T13:02:48.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T13:02:48.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T13:02:48.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-29T13:02:49.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T13:02:49.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T13:02:49.039Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T13:02:49.051Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T13:02:49.063Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T13:02:49.082Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T13:02:49.098Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T13:02:49.114Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T13:02:49.125Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T13:02:49.136Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T13:02:49.149Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T13:02:49.161Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T13:02:49.176Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T13:02:49.190Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T13:02:49.207Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T13:02:49.228Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-29T13:02:49.245Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-29T13:02:49.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-29T13:02:49.280Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a5d72f2139bf399a996e49789fb0d11bd453b9a [Pipeline] echo [2022-06-29T13:02:49.289Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a5d72f [Pipeline] echo [2022-06-29T13:02:49.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T13:02:49.349Z] provisioning config files... [2022-06-29T13:02:49.362Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config1826564200128563784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:02:49.669Z] ---> docker-login.sh [2022-06-29T13:02:49.669Z] nexus3.edgexfoundry.org:10001 [2022-06-29T13:02:49.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:02:49.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:02:49.930Z] Configure a credential helper to remove this warning. See [2022-06-29T13:02:49.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:02:49.930Z] [2022-06-29T13:02:49.930Z] Login Succeeded [2022-06-29T13:02:49.930Z] nexus3.edgexfoundry.org:10002 [2022-06-29T13:02:50.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:02:50.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:02:50.192Z] Configure a credential helper to remove this warning. See [2022-06-29T13:02:50.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:02:50.192Z] [2022-06-29T13:02:50.192Z] Login Succeeded [2022-06-29T13:02:50.192Z] nexus3.edgexfoundry.org:10003 [2022-06-29T13:02:50.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:02:50.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:02:50.192Z] Configure a credential helper to remove this warning. See [2022-06-29T13:02:50.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:02:50.192Z] [2022-06-29T13:02:50.192Z] Login Succeeded [2022-06-29T13:02:50.192Z] nexus3.edgexfoundry.org:10004 [2022-06-29T13:02:50.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:02:50.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:02:50.455Z] Configure a credential helper to remove this warning. See [2022-06-29T13:02:50.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:02:50.455Z] [2022-06-29T13:02:50.455Z] Login Succeeded [2022-06-29T13:02:50.455Z] docker.io [2022-06-29T13:02:50.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:02:50.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:02:50.715Z] Configure a credential helper to remove this warning. See [2022-06-29T13:02:50.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:02:50.715Z] [2022-06-29T13:02:50.715Z] Login Succeeded [2022-06-29T13:02:50.715Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T13:02:50.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T13:02:51.110Z] + git rev-list -1 --merges 7a5d72f2139bf399a996e49789fb0d11bd453b9a~1..7a5d72f2139bf399a996e49789fb0d11bd453b9a [Pipeline] echo [2022-06-29T13:02:51.149Z] -----------> git rev-list -1 --merges 7a5d72f2139bf399a996e49789fb0d11bd453b9a~1..7a5d72f2139bf399a996e49789fb0d11bd453b9a 7a5d72f2139bf399a996e49789fb0d11bd453b9a [false] [Pipeline] sh [2022-06-29T13:02:51.444Z] + git log --format=format:%s -1 7a5d72f2139bf399a996e49789fb0d11bd453b9a [Pipeline] echo [2022-06-29T13:02:51.461Z] ========================================================= [2022-06-29T13:02:51.461Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T13:02:51.461Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T13:02:51.810Z] + git log --format=format:%s -1 7a5d72f2139bf399a996e49789fb0d11bd453b9a [Pipeline] echo [2022-06-29T13:02:51.824Z] [semverPrep] GIT_COMMIT: 7a5d72f2139bf399a996e49789fb0d11bd453b9a, Commit Message: refactor(snap): Refactor env loader and helper-go (#3) [Pipeline] echo [2022-06-29T13:02:51.834Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T13:02:52.204Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T13:02:52.204Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T13:02:52.204Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T13:02:52.204Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T13:02:52.204Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-06-29T13:02:52.204Z] -a /etc/ssh/ssh_known_hosts [2022-06-29T13:02:52.204Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:02:52.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T13:02:52.616Z] [2022-06-29T13:02:52.616Z] 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-29T13:02:52.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T13:02:52.916Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T13:02:52.916Z] 42c077c10790: Pulling fs layer [2022-06-29T13:02:52.916Z] f63e77b7563a: Pulling fs layer [2022-06-29T13:02:52.916Z] bd5fdadae976: Pulling fs layer [2022-06-29T13:02:52.916Z] 205491f53016: Pulling fs layer [2022-06-29T13:02:52.916Z] df18705c85c3: Pulling fs layer [2022-06-29T13:02:52.916Z] bdb3f477010e: Pulling fs layer [2022-06-29T13:02:52.916Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T13:02:52.916Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T13:02:52.916Z] bdb8f0575790: Pulling fs layer [2022-06-29T13:02:52.916Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T13:02:52.916Z] df18705c85c3: Waiting [2022-06-29T13:02:52.916Z] bdb3f477010e: Waiting [2022-06-29T13:02:52.916Z] 2343380bae48: Pulling fs layer [2022-06-29T13:02:52.916Z] 205491f53016: Waiting [2022-06-29T13:02:52.916Z] c8a8fc8e1c8f: Waiting [2022-06-29T13:02:52.916Z] 2c6e9b1d212d: Waiting [2022-06-29T13:02:52.916Z] bdb8f0575790: Waiting [2022-06-29T13:02:52.916Z] 386e3cb2ff24: Waiting [2022-06-29T13:02:52.916Z] 2343380bae48: Waiting [2022-06-29T13:02:52.916Z] f63e77b7563a: Verifying Checksum [2022-06-29T13:02:52.916Z] f63e77b7563a: Download complete [2022-06-29T13:02:52.916Z] 205491f53016: Verifying Checksum [2022-06-29T13:02:52.916Z] 205491f53016: Download complete [2022-06-29T13:02:53.177Z] bd5fdadae976: Verifying Checksum [2022-06-29T13:02:53.177Z] bd5fdadae976: Download complete [2022-06-29T13:02:53.177Z] df18705c85c3: Verifying Checksum [2022-06-29T13:02:53.177Z] df18705c85c3: Download complete [2022-06-29T13:02:53.177Z] bdb3f477010e: Verifying Checksum [2022-06-29T13:02:53.177Z] bdb3f477010e: Download complete [2022-06-29T13:02:53.177Z] 2c6e9b1d212d: Verifying Checksum [2022-06-29T13:02:53.177Z] 2c6e9b1d212d: Download complete [2022-06-29T13:02:53.177Z] bdb8f0575790: Verifying Checksum [2022-06-29T13:02:53.177Z] bdb8f0575790: Download complete [2022-06-29T13:02:53.177Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T13:02:53.177Z] 386e3cb2ff24: Download complete [2022-06-29T13:02:53.177Z] 2343380bae48: Verifying Checksum [2022-06-29T13:02:53.177Z] 2343380bae48: Download complete [2022-06-29T13:02:53.177Z] 42c077c10790: Download complete [2022-06-29T13:02:53.438Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-29T13:02:54.820Z] 42c077c10790: Pull complete [2022-06-29T13:02:54.820Z] f63e77b7563a: Pull complete [2022-06-29T13:02:55.390Z] bd5fdadae976: Pull complete [2022-06-29T13:02:55.651Z] 205491f53016: Pull complete [2022-06-29T13:02:56.223Z] df18705c85c3: Pull complete [2022-06-29T13:02:56.223Z] bdb3f477010e: Pull complete [2022-06-29T13:02:58.776Z] c8a8fc8e1c8f: Pull complete [2022-06-29T13:02:58.776Z] 2c6e9b1d212d: Pull complete [2022-06-29T13:02:58.776Z] bdb8f0575790: Pull complete [2022-06-29T13:02:58.776Z] 386e3cb2ff24: Pull complete [2022-06-29T13:02:58.776Z] 2343380bae48: Pull complete [2022-06-29T13:02:58.776Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T13:02:58.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T13:02:58.776Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:02:58.874Z] prd-ubuntu20.04-docker-8c-8g-16338 does not seem to be running inside a container [2022-06-29T13:02:58.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T13:02:59.747Z] $ docker top 662d009cf9610e7f8a6a30b476568fc46a35ea1a8379482c458242206c08ed84 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T13:02:59.857Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T13:02:59.857Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T13:02:59.984Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T13:02:59.977Z] $ docker exec 662d009cf9610e7f8a6a30b476568fc46a35ea1a8379482c458242206c08ed84 ssh-agent [2022-06-29T13:03:00.122Z] SSH_AUTH_SOCK=/tmp/ssh-KiLtP60qowig/agent.32 [2022-06-29T13:03:00.122Z] SSH_AGENT_PID=39 [2022-06-29T13:03:00.129Z] Running ssh-add (command line suppressed) [2022-06-29T13:03:00.229Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_4222650416775950733.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_4222650416775950733.key) [2022-06-29T13:03:00.254Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T13:03:00.546Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T13:03:00.547Z] $ docker exec --env ******** --env ******** 662d009cf9610e7f8a6a30b476568fc46a35ea1a8379482c458242206c08ed84 ssh-agent -k [2022-06-29T13:03:00.652Z] unset SSH_AUTH_SOCK; [2022-06-29T13:03:00.652Z] unset SSH_AGENT_PID; [2022-06-29T13:03:00.652Z] echo Agent pid 39 killed; [2022-06-29T13:03:00.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T13:03:00.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T13:03:00.702Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T13:03:00.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T13:03:00.810Z] $ docker exec 662d009cf9610e7f8a6a30b476568fc46a35ea1a8379482c458242206c08ed84 ssh-agent [2022-06-29T13:03:00.947Z] SSH_AUTH_SOCK=/tmp/ssh-lNBkxEJzRzXZ/agent.71 [2022-06-29T13:03:00.947Z] SSH_AGENT_PID=77 [2022-06-29T13:03:00.952Z] Running ssh-add (command line suppressed) [2022-06-29T13:03:01.059Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_3218555328276046192.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_3218555328276046192.key) [2022-06-29T13:03:01.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T13:03:01.377Z] + git semver init [2022-06-29T13:03:01.637Z] 2022-06-29 13:03:01,577 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T13:03:01.638Z] 2022-06-29 13:03:01,578 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-29T13:03:01.638Z] 2022-06-29 13:03:01,578 [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-29T13:03:01.638Z] 2022-06-29 13:03:01,579 [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-29T13:03:02.580Z] 2022-06-29 13:03:02,500 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-29T13:03:02.580Z] 2022-06-29 13:03:02,500 [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-29T13:03:02.580Z] 2022-06-29 13:03:02,500 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-29T13:03:02.580Z] 2022-06-29 13:03:02,503 [execute] INFO git cat-file --batch-check [2022-06-29T13:03:02.580Z] 2022-06-29 13:03:02,504 [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-29T13:03:02.580Z] 2022-06-29 13:03:02,511 [execute] INFO git cat-file --batch [2022-06-29T13:03:02.580Z] 2022-06-29 13:03:02,511 [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-29T13:03:02.580Z] 2022-06-29 13:03:02,517 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-29T13:03:02.580Z] 0.0.0 [Pipeline] } [2022-06-29T13:03:02.583Z] $ docker exec --env ******** --env ******** 662d009cf9610e7f8a6a30b476568fc46a35ea1a8379482c458242206c08ed84 ssh-agent -k [2022-06-29T13:03:02.698Z] unset SSH_AUTH_SOCK; [2022-06-29T13:03:02.699Z] unset SSH_AGENT_PID; [2022-06-29T13:03:02.699Z] echo Agent pid 77 killed; [2022-06-29T13:03:02.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T13:03:03.027Z] + git semver [Pipeline] } [2022-06-29T13:03:03.293Z] $ docker stop --time=1 662d009cf9610e7f8a6a30b476568fc46a35ea1a8379482c458242206c08ed84 [2022-06-29T13:03:04.613Z] $ docker rm -f 662d009cf9610e7f8a6a30b476568fc46a35ea1a8379482c458242206c08ed84 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T13:03:04.966Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T13:03:05.228Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T13:03:05.230Z] [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-29T13:03:05.349Z] provisioning config files... [2022-06-29T13:03:05.358Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config7766354652880325420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:03:05.655Z] ---> docker-login.sh [2022-06-29T13:03:05.655Z] nexus3.edgexfoundry.org:10001 [2022-06-29T13:03:05.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:03:05.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:03:05.655Z] Configure a credential helper to remove this warning. See [2022-06-29T13:03:05.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:03:05.655Z] [2022-06-29T13:03:05.655Z] Login Succeeded [2022-06-29T13:03:05.655Z] nexus3.edgexfoundry.org:10002 [2022-06-29T13:03:05.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:03:05.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:03:05.916Z] Configure a credential helper to remove this warning. See [2022-06-29T13:03:05.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:03:05.916Z] [2022-06-29T13:03:05.916Z] Login Succeeded [2022-06-29T13:03:05.916Z] nexus3.edgexfoundry.org:10003 [2022-06-29T13:03:05.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:03:05.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:03:05.916Z] Configure a credential helper to remove this warning. See [2022-06-29T13:03:05.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:03:05.916Z] [2022-06-29T13:03:05.916Z] Login Succeeded [2022-06-29T13:03:05.916Z] nexus3.edgexfoundry.org:10004 [2022-06-29T13:03:06.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:03:06.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:03:06.177Z] Configure a credential helper to remove this warning. See [2022-06-29T13:03:06.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:03:06.177Z] [2022-06-29T13:03:06.177Z] Login Succeeded [2022-06-29T13:03:06.177Z] docker.io [2022-06-29T13:03:06.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:03:06.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:03:06.439Z] Configure a credential helper to remove this warning. See [2022-06-29T13:03:06.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:03:06.439Z] [2022-06-29T13:03:06.439Z] Login Succeeded [2022-06-29T13:03:06.439Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T13:03:06.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T13:03:06.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T13:03:06.526Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T13:03:06.539Z] ========================================================= [2022-06-29T13:03:06.539Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T13:03:06.539Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:03:06.855Z] + 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-29T13:03:06.855Z] Sending build context to Docker daemon 23.2MB [2022-06-29T13:03:06.855Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T13:03:06.855Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T13:03:07.115Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T13:03:07.115Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T13:03:07.115Z] 666ba61612fd: Pulling fs layer [2022-06-29T13:03:07.115Z] 8ed8ca486205: Pulling fs layer [2022-06-29T13:03:07.115Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T13:03:07.115Z] c516ae0d96e1: Pulling fs layer [2022-06-29T13:03:07.115Z] 684cea983483: Pulling fs layer [2022-06-29T13:03:07.115Z] dd3240ac7de5: Pulling fs layer [2022-06-29T13:03:07.115Z] b1e948a4e11c: Pulling fs layer [2022-06-29T13:03:07.115Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T13:03:07.115Z] 646ad004c059: Pulling fs layer [2022-06-29T13:03:07.115Z] 684cea983483: Waiting [2022-06-29T13:03:07.115Z] cc1cd167ecdc: Waiting [2022-06-29T13:03:07.115Z] a8fd76ee1af6: Waiting [2022-06-29T13:03:07.115Z] dd3240ac7de5: Waiting [2022-06-29T13:03:07.115Z] 646ad004c059: Waiting [2022-06-29T13:03:07.115Z] b1e948a4e11c: Waiting [2022-06-29T13:03:07.115Z] 8ed8ca486205: Verifying Checksum [2022-06-29T13:03:07.115Z] 8ed8ca486205: Download complete [2022-06-29T13:03:07.115Z] 666ba61612fd: Download complete [2022-06-29T13:03:07.115Z] c516ae0d96e1: Verifying Checksum [2022-06-29T13:03:07.115Z] c516ae0d96e1: Download complete [2022-06-29T13:03:07.115Z] 684cea983483: Verifying Checksum [2022-06-29T13:03:07.115Z] 684cea983483: Download complete [2022-06-29T13:03:07.115Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T13:03:07.115Z] 59bf1c3509f3: Download complete [2022-06-29T13:03:07.115Z] dd3240ac7de5: Download complete [2022-06-29T13:03:07.115Z] b1e948a4e11c: Verifying Checksum [2022-06-29T13:03:07.115Z] b1e948a4e11c: Download complete [2022-06-29T13:03:07.115Z] 59bf1c3509f3: Pull complete [2022-06-29T13:03:07.373Z] 666ba61612fd: Pull complete [2022-06-29T13:03:07.373Z] 8ed8ca486205: Pull complete [2022-06-29T13:03:07.635Z] 646ad004c059: Verifying Checksum [2022-06-29T13:03:07.894Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T13:03:07.894Z] cc1cd167ecdc: Download complete [2022-06-29T13:03:07.894Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T13:03:07.894Z] a8fd76ee1af6: Download complete [2022-06-29T13:03:12.083Z] cc1cd167ecdc: Pull complete [2022-06-29T13:03:12.083Z] c516ae0d96e1: Pull complete [2022-06-29T13:03:12.083Z] 684cea983483: Pull complete [2022-06-29T13:03:12.083Z] dd3240ac7de5: Pull complete [2022-06-29T13:03:12.083Z] b1e948a4e11c: Pull complete [2022-06-29T13:03:13.990Z] a8fd76ee1af6: Pull complete [2022-06-29T13:03:14.559Z] 646ad004c059: Pull complete [2022-06-29T13:03:14.559Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T13:03:14.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T13:03:14.559Z] ---> 8f69c11f6b0c [2022-06-29T13:03:14.559Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T13:03:16.474Z] ---> Running in 6e635b16d3ba [2022-06-29T13:03:16.475Z] Removing intermediate container 6e635b16d3ba [2022-06-29T13:03:16.475Z] ---> 1baf87b9c082 [2022-06-29T13:03:16.475Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T13:03:16.475Z] ---> Running in 112f3239aa53 [2022-06-29T13:03:16.475Z] Removing intermediate container 112f3239aa53 [2022-06-29T13:03:16.475Z] ---> a4871d995b9b [2022-06-29T13:03:16.475Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-29T13:03:16.475Z] ---> Running in 5d445d1661f0 [2022-06-29T13:03:16.475Z] Removing intermediate container 5d445d1661f0 [2022-06-29T13:03:16.475Z] ---> bde09766f890 [2022-06-29T13:03:16.475Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T13:03:16.475Z] ---> Running in 0b0d1f5b4f73 [2022-06-29T13:03:17.047Z] Removing intermediate container 0b0d1f5b4f73 [2022-06-29T13:03:17.047Z] ---> 24973de4f726 [2022-06-29T13:03:17.047Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T13:03:17.047Z] ---> Running in 89c5347be1fd [2022-06-29T13:03:17.307Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T13:03:18.250Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T13:03:18.511Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T13:03:18.772Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T13:03:18.772Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T13:03:18.772Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T13:03:19.033Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T13:03:19.033Z] OK: 224 MiB in 56 packages [2022-06-29T13:03:19.292Z] Removing intermediate container 89c5347be1fd [2022-06-29T13:03:19.292Z] ---> 2c94652a67d9 [2022-06-29T13:03:19.292Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T13:03:19.555Z] ---> c965caa96fb9 [2022-06-29T13:03:19.555Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T13:03:19.555Z] ---> Running in f7b73a58f4c7 [2022-06-29T13:03:20.323Z] Still waiting to schedule task [2022-06-29T13:03:20.324Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-29T13:03:41.516Z] Removing intermediate container f7b73a58f4c7 [2022-06-29T13:03:41.516Z] ---> d1d2fb0cbad2 [2022-06-29T13:03:41.516Z] Step 10/12 : COPY . . [2022-06-29T13:03:41.516Z] ---> 2c3931d363fb [2022-06-29T13:03:41.516Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T13:03:41.516Z] ---> Running in 2c083bd9a385 [2022-06-29T13:03:41.516Z] Removing intermediate container 2c083bd9a385 [2022-06-29T13:03:41.516Z] ---> 74a79801c91f [2022-06-29T13:03:41.516Z] Step 12/12 : RUN $MAKE [2022-06-29T13:03:41.516Z] ---> Running in 534758b84295 [2022-06-29T13:03:41.516Z] noop [2022-06-29T13:03:41.516Z] Removing intermediate container 534758b84295 [2022-06-29T13:03:41.516Z] ---> 6915d7c37c86 [2022-06-29T13:03:41.516Z] Successfully built 6915d7c37c86 [2022-06-29T13:03:41.516Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:03:41.839Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T13:03:41.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:03:41.921Z] prd-ubuntu20.04-docker-8c-8g-16338 does not seem to be running inside a container [2022-06-29T13:03:41.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T13:03:42.359Z] $ docker top 50794fd696e099fe5ff72c4fa3c8225b9a9f02b6f309d2d2cb11092809b91c11 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T13:03:42.715Z] + go version [2022-06-29T13:03:42.715Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T13:03:42.730Z] $ docker stop --time=1 50794fd696e099fe5ff72c4fa3c8225b9a9f02b6f309d2d2cb11092809b91c11 [2022-06-29T13:03:44.038Z] $ docker rm -f 50794fd696e099fe5ff72c4fa3c8225b9a9f02b6f309d2d2cb11092809b91c11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:03:44.439Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T13:03:44.439Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:03:44.522Z] prd-ubuntu20.04-docker-8c-8g-16338 does not seem to be running inside a container [2022-06-29T13:03:44.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T13:03:44.994Z] $ docker top 286659d1c1f2d96e2caaa1d1799f9a5a3f000f6587afa709a6669840418d1696 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T13:03:45.369Z] + make test [2022-06-29T13:03:45.369Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-29T13:03:45.629Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-29T13:03:55.610Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-29T13:03:55.610Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements [2022-06-29T13:04:02.178Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T13:04:05.472Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T13:04:05.472Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T13:04:05.472Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T13:04:05.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T13:04:05.764Z] $ docker stop --time=1 286659d1c1f2d96e2caaa1d1799f9a5a3f000f6587afa709a6669840418d1696 [2022-06-29T13:04:07.536Z] $ docker rm -f 286659d1c1f2d96e2caaa1d1799f9a5a3f000f6587afa709a6669840418d1696 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T13:04:07.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T13:04:08.047Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T13:04:08.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T13:04:08.910Z] + ls -al . [2022-06-29T13:04:08.910Z] total 192 [2022-06-29T13:04:08.910Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 13:04 . [2022-06-29T13:04:08.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:02 .. [2022-06-29T13:04:08.910Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 13:03 .git [2022-06-29T13:04:08.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:02 .github [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 29 13:02 .gitignore [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 13:02 .golangci.yml [2022-06-29T13:04:08.910Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 13:03 .semver [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 29 13:02 Attribution.txt [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 29 13:02 CHANGELOG.md [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 29 13:02 Dockerfile [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 13:02 GOVERNANCE.md [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 29 13:02 Jenkinsfile [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 13:02 LICENSE [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 29 13:02 Makefile [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 29 13:02 OWNERS.md [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 29 13:02 README.md [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 13:03 VERSION [2022-06-29T13:04:08.910Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 13:02 bin [2022-06-29T13:04:08.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:02 cmd [2022-06-29T13:04:08.910Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 29 13:03 coverage.out [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 29 13:02 go.mod [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 29 13:02 go.sum [2022-06-29T13:04:08.910Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:02 internal [2022-06-29T13:04:08.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:02 snap [2022-06-29T13:04:08.910Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 29 13:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:04:09.222Z] + 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=7a5d72f2139bf399a996e49789fb0d11bd453b9a --label arch=amd64 --label version=0.0.0 . [2022-06-29T13:04:09.222Z] Sending build context to Docker daemon 23.24MB [2022-06-29T13:04:09.222Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T13:04:09.222Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-29T13:04:09.222Z] ---> 6915d7c37c86 [2022-06-29T13:04:09.222Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T13:04:09.482Z] ---> Running in e6143161f0c5 [2022-06-29T13:04:09.482Z] Removing intermediate container e6143161f0c5 [2022-06-29T13:04:09.482Z] ---> 41e393e4dc4e [2022-06-29T13:04:09.482Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T13:04:09.482Z] ---> Running in 8dc9a47075db [2022-06-29T13:04:09.742Z] Removing intermediate container 8dc9a47075db [2022-06-29T13:04:09.742Z] ---> d4d1bf570d46 [2022-06-29T13:04:09.742Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-29T13:04:09.742Z] ---> Running in 343cc73bbd32 [2022-06-29T13:04:09.742Z] Removing intermediate container 343cc73bbd32 [2022-06-29T13:04:09.742Z] ---> 6707ae52c280 [2022-06-29T13:04:09.743Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T13:04:09.743Z] ---> Running in 9f8a043cb424 [2022-06-29T13:04:10.317Z] Removing intermediate container 9f8a043cb424 [2022-06-29T13:04:10.317Z] ---> aa46d82b7723 [2022-06-29T13:04:10.317Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T13:04:10.577Z] ---> Running in 90ae65640796 [2022-06-29T13:04:10.836Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T13:04:16.136Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T13:04:38.090Z] OK: 224 MiB in 56 packages [2022-06-29T13:04:38.350Z] Removing intermediate container 90ae65640796 [2022-06-29T13:04:38.350Z] ---> 1b5acec2bb72 [2022-06-29T13:04:38.350Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-29T13:04:38.612Z] ---> 01718352e14c [2022-06-29T13:04:38.612Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T13:04:38.612Z] ---> Running in 09424b412de7 [2022-06-29T13:04:39.184Z] Removing intermediate container 09424b412de7 [2022-06-29T13:04:39.184Z] ---> cace3ec0002f [2022-06-29T13:04:39.184Z] Step 10/26 : COPY . . [2022-06-29T13:04:39.754Z] ---> cd747bea3154 [2022-06-29T13:04:39.754Z] Step 11/26 : ARG MAKE='make build' [2022-06-29T13:04:39.754Z] ---> Running in 0fae467bfc8a [2022-06-29T13:04:40.014Z] Removing intermediate container 0fae467bfc8a [2022-06-29T13:04:40.014Z] ---> 3eb393072376 [2022-06-29T13:04:40.014Z] Step 12/26 : RUN $MAKE [2022-06-29T13:04:40.014Z] ---> Running in ad637f3aaf6b [2022-06-29T13:04:40.281Z] 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-29T13:04:55.623Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16340 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-29T13:04:55.635Z] Running in /w/workspace/device-virtual-go/28 [Pipeline] { [Pipeline] checkout [2022-06-29T13:04:55.681Z] The recommended git tool is: git [2022-06-29T13:05:01.195Z] using credential edgex-jenkins-ssh [2022-06-29T13:05:01.225Z] Cloning the remote Git repository [2022-06-29T13:05:01.284Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-29T13:05:01.361Z] > git init /w/workspace/device-virtual-go/28 # timeout=10 [2022-06-29T13:05:01.451Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-29T13:05:01.452Z] > git --version # timeout=10 [2022-06-29T13:05:01.481Z] > git --version # 'git version 2.25.1' [2022-06-29T13:05:01.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T13:05:01.546Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T13:05:02.236Z] Removing intermediate container ad637f3aaf6b [2022-06-29T13:05:02.236Z] ---> 2c85fdc07bda [2022-06-29T13:05:02.236Z] Step 13/26 : FROM alpine:3.14 [2022-06-29T13:05:02.236Z] 3.14: Pulling from library/alpine [2022-06-29T13:05:02.236Z] 8663204ce13b: Pulling fs layer [2022-06-29T13:05:02.236Z] 8663204ce13b: Verifying Checksum [2022-06-29T13:05:02.236Z] 8663204ce13b: Download complete [2022-06-29T13:05:02.236Z] 8663204ce13b: Pull complete [2022-06-29T13:05:02.236Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T13:05:02.236Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T13:05:02.236Z] ---> e04c818066af [2022-06-29T13:05:02.236Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-29T13:05:02.236Z] ---> Running in 43a2c8f7bcd4 [2022-06-29T13:05:02.499Z] Removing intermediate container 43a2c8f7bcd4 [2022-06-29T13:05:02.499Z] ---> 9185a3bce69d [2022-06-29T13:05:02.499Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T13:05:02.499Z] ---> Running in 4ce8a1237b68 [2022-06-29T13:05:03.069Z] Removing intermediate container 4ce8a1237b68 [2022-06-29T13:05:03.069Z] ---> 37253a0454d3 [2022-06-29T13:05:03.069Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T13:05:03.069Z] ---> Running in ac6adf9516e5 [2022-06-29T13:05:03.330Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-29T13:05:04.203Z] Merging remotes/origin/main commit 6c956091e39ebf418aab18435948f90fcdb39d95 into PR head commit 7a5d72f2139bf399a996e49789fb0d11bd453b9a [2022-06-29T13:05:04.271Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-29T13:05:04.439Z] Merge succeeded, producing 7a5d72f2139bf399a996e49789fb0d11bd453b9a [2022-06-29T13:05:04.439Z] Checking out Revision 7a5d72f2139bf399a996e49789fb0d11bd453b9a (PR-290) [2022-06-29T13:05:04.532Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T13:05:04.532Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T13:05:03.547Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-29T13:05:03.577Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T13:05:03.605Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-29T13:05:03.638Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-29T13:05:03.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T13:05:03.652Z] > 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-29T13:05:04.225Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T13:05:04.241Z] > git checkout -f 7a5d72f2139bf399a996e49789fb0d11bd453b9a # timeout=10 [2022-06-29T13:05:04.334Z] > git remote # timeout=10 [2022-06-29T13:05:04.359Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T13:05:04.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T13:05:04.393Z] > git merge 6c956091e39ebf418aab18435948f90fcdb39d95 # timeout=10 [2022-06-29T13:05:04.420Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T13:05:04.450Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T13:05:04.464Z] > git checkout -f 7a5d72f2139bf399a996e49789fb0d11bd453b9a # timeout=10 [2022-06-29T13:05:04.792Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T13:05:04.792Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T13:05:04.792Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T13:05:05.052Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T13:05:05.052Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T13:05:05.052Z] OK: 8 MiB in 20 packages [2022-06-29T13:05:05.623Z] Removing intermediate container ac6adf9516e5 [2022-06-29T13:05:05.623Z] ---> 18ff03207258 [2022-06-29T13:05:05.623Z] Step 17/26 : WORKDIR / [2022-06-29T13:05:05.623Z] ---> Running in 38cd3ff022a3 [2022-06-29T13:05:05.623Z] Removing intermediate container 38cd3ff022a3 [2022-06-29T13:05:05.623Z] ---> 4bbf1f0f068f [2022-06-29T13:05:05.623Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-29T13:05:05.883Z] ---> b8b91e16465a [2022-06-29T13:05:05.883Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-29T13:05:05.883Z] ---> 14986aab3801 [2022-06-29T13:05:05.883Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-29T13:05:06.453Z] ---> 27d7059bc56d [2022-06-29T13:05:06.453Z] Step 21/26 : EXPOSE 59900 [2022-06-29T13:05:06.714Z] ---> Running in 1c00fe4a2370 [2022-06-29T13:05:06.714Z] Removing intermediate container 1c00fe4a2370 [2022-06-29T13:05:06.714Z] ---> a6643005078c [2022-06-29T13:05:06.714Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-29T13:05:06.714Z] ---> Running in f2b8843c88e2 [2022-06-29T13:05:06.714Z] Removing intermediate container f2b8843c88e2 [2022-06-29T13:05:06.714Z] ---> 908690908d46 [2022-06-29T13:05:06.714Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T13:05:06.714Z] ---> Running in b58ef9413db7 [2022-06-29T13:05:06.975Z] Removing intermediate container b58ef9413db7 [2022-06-29T13:05:06.975Z] ---> 5cef7036c5e1 [2022-06-29T13:05:06.975Z] Step 24/26 : LABEL arch=amd64 [2022-06-29T13:05:06.975Z] ---> Running in 6bb910b4cae6 [2022-06-29T13:05:06.975Z] Removing intermediate container 6bb910b4cae6 [2022-06-29T13:05:06.975Z] ---> 7a34ffbc9a57 [2022-06-29T13:05:06.975Z] Step 25/26 : LABEL git_sha=7a5d72f2139bf399a996e49789fb0d11bd453b9a [2022-06-29T13:05:06.975Z] ---> Running in e4dad64db0f7 [2022-06-29T13:05:07.235Z] Removing intermediate container e4dad64db0f7 [2022-06-29T13:05:07.235Z] ---> 627b008525e5 [2022-06-29T13:05:07.235Z] Step 26/26 : LABEL version=0.0.0 [2022-06-29T13:05:07.235Z] ---> Running in 01bc4bf7d37b [2022-06-29T13:05:07.235Z] Removing intermediate container 01bc4bf7d37b [2022-06-29T13:05:07.235Z] ---> 803e801909c2 [2022-06-29T13:05:07.235Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T13:05:07.235Z] Successfully built 803e801909c2 [2022-06-29T13:05:07.235Z] 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-29T13:05:07.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T13:05:07.682Z] [2022-06-29T13:05:07.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:05:07.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T13:05:07.986Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T13:05:07.986Z] 5eb5b503b376: Pulling fs layer [2022-06-29T13:05:07.986Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T13:05:07.986Z] ec43610c2a17: Pulling fs layer [2022-06-29T13:05:07.986Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T13:05:07.986Z] 33b1e0a273af: Pulling fs layer [2022-06-29T13:05:07.986Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T13:05:07.986Z] 2f39f015ded8: Pulling fs layer [2022-06-29T13:05:07.986Z] 3a2ae6a8a46f: Waiting [2022-06-29T13:05:07.986Z] 33b1e0a273af: Waiting [2022-06-29T13:05:07.986Z] 5d3b04190fa2: Waiting [2022-06-29T13:05:07.986Z] 2f39f015ded8: Waiting [2022-06-29T13:05:07.986Z] 5c69ac0246d0: Verifying Checksum [2022-06-29T13:05:07.986Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-29T13:05:07.986Z] 3a2ae6a8a46f: Download complete [2022-06-29T13:05:07.986Z] 33b1e0a273af: Verifying Checksum [2022-06-29T13:05:07.986Z] 33b1e0a273af: Download complete [2022-06-29T13:05:07.986Z] 5d3b04190fa2: Download complete [2022-06-29T13:05:07.986Z] ec43610c2a17: Verifying Checksum [2022-06-29T13:05:07.986Z] ec43610c2a17: Download complete [2022-06-29T13:05:08.246Z] 5eb5b503b376: Verifying Checksum [2022-06-29T13:05:08.246Z] 5eb5b503b376: Download complete [2022-06-29T13:05:08.607Z] Commit message: "refactor(snap): Refactor env loader and helper-go (#3)" [2022-06-29T13:05:08.817Z] 2f39f015ded8: Download complete [2022-06-29T13:05:09.013Z] [2022-06-29T13:05:09.013Z] GitHub has been notified of this commit’s build result [2022-06-29T13:05:09.013Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T13:05:09.568Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T13:05:09.568Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T13:05:09.568Z] Dload Upload Total Spent Left Speed [2022-06-29T13:05:09.568Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 77550 0 --:--:-- --:--:-- --:--:-- 77550 [2022-06-29T13:05:09.755Z] 5eb5b503b376: Pull complete [2022-06-29T13:05:09.755Z] 5c69ac0246d0: Pull complete [Pipeline] sh [2022-06-29T13:05:10.323Z] ec43610c2a17: Pull complete [2022-06-29T13:05:10.323Z] 3a2ae6a8a46f: Pull complete [2022-06-29T13:05:10.417Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T13:05:10.582Z] 33b1e0a273af: Pull complete [2022-06-29T13:05:10.582Z] 5d3b04190fa2: Pull complete [2022-06-29T13:05:10.759Z] + sudo tee /etc/docker/daemon.new [2022-06-29T13:05:10.759Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T13:05:10.759Z] { [2022-06-29T13:05:10.759Z] "registry-mirrors": [ [2022-06-29T13:05:10.759Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T13:05:10.759Z] ], [2022-06-29T13:05:10.759Z] "bip": "10.250.0.254/24", [2022-06-29T13:05:10.759Z] "hosts": [ [2022-06-29T13:05:10.759Z] "tcp://0.0.0.0:5555", [2022-06-29T13:05:10.759Z] "unix:///var/run/docker.sock" [2022-06-29T13:05:10.759Z] ], [2022-06-29T13:05:10.759Z] "mtu": 1458, [2022-06-29T13:05:10.759Z] "selinux-enabled": true, [2022-06-29T13:05:10.759Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T13:05:10.759Z] } [Pipeline] sh [2022-06-29T13:05:11.116Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T13:05:11.456Z] + sudo service docker restart [2022-06-29T13:05:15.861Z] 2f39f015ded8: Pull complete [2022-06-29T13:05:15.861Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T13:05:15.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T13:05:15.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:05:15.958Z] prd-ubuntu20.04-docker-8c-8g-16338 does not seem to be running inside a container [2022-06-29T13:05:16.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T13:05:17.748Z] $ docker top 6da2a653b2e55ea5d92563be92ed423dca12ced8aa936d490899ce756aa374c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:05:18.181Z] ---> job-cost.sh [2022-06-29T13:05:18.181Z] lf-activate-venv: SKIPPING [2022-06-29T13:05:18.181Z] INFO: No Stack... [2022-06-29T13:05:18.439Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T13:05:19.008Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T13:05:19.297Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-29T13:05:19.297Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T13:05:19.311Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-28-stack-cost] [2022-06-29T13:05:19.319Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-28-stack-cost] did not exist. Created. [2022-06-29T13:05:19.319Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T13:05:19.626Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T13:05:19.647Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T13:05:19.655Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T13:05:19.683Z] $ docker stop --time=1 6da2a653b2e55ea5d92563be92ed423dca12ced8aa936d490899ce756aa374c0 [2022-06-29T13:05:20.871Z] $ docker rm -f 6da2a653b2e55ea5d92563be92ed423dca12ced8aa936d490899ce756aa374c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T13:05:29.795Z] provisioning config files... [2022-06-29T13:05:29.832Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/28@tmp/config1967902690161601021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:05:30.273Z] ---> docker-login.sh [2022-06-29T13:05:30.273Z] nexus3.edgexfoundry.org:10001 [2022-06-29T13:05:30.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:05:31.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:05:31.163Z] Configure a credential helper to remove this warning. See [2022-06-29T13:05:31.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:05:31.163Z] [2022-06-29T13:05:31.163Z] Login Succeeded [2022-06-29T13:05:31.163Z] nexus3.edgexfoundry.org:10002 [2022-06-29T13:05:31.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:05:31.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:05:31.764Z] Configure a credential helper to remove this warning. See [2022-06-29T13:05:31.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:05:31.764Z] [2022-06-29T13:05:31.764Z] Login Succeeded [2022-06-29T13:05:31.764Z] nexus3.edgexfoundry.org:10003 [2022-06-29T13:05:32.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:05:32.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:05:32.398Z] Configure a credential helper to remove this warning. See [2022-06-29T13:05:32.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:05:32.398Z] [2022-06-29T13:05:32.398Z] Login Succeeded [2022-06-29T13:05:32.398Z] nexus3.edgexfoundry.org:10004 [2022-06-29T13:05:32.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:05:32.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:05:32.962Z] Configure a credential helper to remove this warning. See [2022-06-29T13:05:32.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:05:32.962Z] [2022-06-29T13:05:32.962Z] Login Succeeded [2022-06-29T13:05:32.962Z] docker.io [2022-06-29T13:05:33.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:05:33.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:05:33.845Z] Configure a credential helper to remove this warning. See [2022-06-29T13:05:33.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:05:33.845Z] [2022-06-29T13:05:33.845Z] Login Succeeded [2022-06-29T13:05:33.845Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T13:05:33.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T13:05:34.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T13:05:34.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T13:05:34.551Z] ========================================================= [2022-06-29T13:05:34.551Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T13:05:34.551Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:05:35.016Z] + 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-29T13:05:35.623Z] Sending build context to Docker daemon 11.81MB [2022-06-29T13:05:35.623Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T13:05:35.623Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T13:05:35.898Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T13:05:35.898Z] 9b3977197b4f: Pulling fs layer [2022-06-29T13:05:35.898Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T13:05:35.898Z] 94645a83ff95: Pulling fs layer [2022-06-29T13:05:35.898Z] e6fb740bc735: Pulling fs layer [2022-06-29T13:05:35.898Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T13:05:35.898Z] 355e64cbe906: Pulling fs layer [2022-06-29T13:05:35.898Z] e6fb740bc735: Waiting [2022-06-29T13:05:35.898Z] 3a77bd46dcc9: Waiting [2022-06-29T13:05:35.898Z] 63ab81a10011: Pulling fs layer [2022-06-29T13:05:35.898Z] 555d1d1c4555: Pulling fs layer [2022-06-29T13:05:35.898Z] 7d9057610161: Pulling fs layer [2022-06-29T13:05:35.898Z] 355e64cbe906: Waiting [2022-06-29T13:05:35.898Z] 63ab81a10011: Waiting [2022-06-29T13:05:35.898Z] 555d1d1c4555: Waiting [2022-06-29T13:05:35.898Z] 7d9057610161: Waiting [2022-06-29T13:05:35.898Z] 94645a83ff95: Verifying Checksum [2022-06-29T13:05:35.898Z] 94645a83ff95: Download complete [2022-06-29T13:05:35.898Z] 1a89e8eeedd5: Verifying Checksum [2022-06-29T13:05:35.898Z] 1a89e8eeedd5: Download complete [2022-06-29T13:05:35.898Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T13:05:35.898Z] 3a77bd46dcc9: Download complete [2022-06-29T13:05:35.898Z] 9b3977197b4f: Download complete [2022-06-29T13:05:35.898Z] 355e64cbe906: Verifying Checksum [2022-06-29T13:05:35.898Z] 355e64cbe906: Download complete [2022-06-29T13:05:36.174Z] 63ab81a10011: Verifying Checksum [2022-06-29T13:05:36.174Z] 63ab81a10011: Download complete [2022-06-29T13:05:37.643Z] 7d9057610161: Verifying Checksum [2022-06-29T13:05:37.643Z] 7d9057610161: Download complete [2022-06-29T13:05:37.643Z] 9b3977197b4f: Pull complete [2022-06-29T13:05:37.925Z] 1a89e8eeedd5: Pull complete [2022-06-29T13:05:38.529Z] 94645a83ff95: Pull complete [2022-06-29T13:05:38.810Z] 555d1d1c4555: Download complete [2022-06-29T13:05:39.410Z] e6fb740bc735: Verifying Checksum [2022-06-29T13:05:39.410Z] e6fb740bc735: Download complete [2022-06-29T13:05:51.844Z] e6fb740bc735: Pull complete [2022-06-29T13:05:51.844Z] 3a77bd46dcc9: Pull complete [2022-06-29T13:05:51.844Z] 355e64cbe906: Pull complete [2022-06-29T13:05:51.844Z] 63ab81a10011: Pull complete [2022-06-29T13:05:58.570Z] 555d1d1c4555: Pull complete [2022-06-29T13:06:00.025Z] 7d9057610161: Pull complete [2022-06-29T13:06:00.025Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T13:06:00.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T13:06:00.025Z] ---> 819e984ddca1 [2022-06-29T13:06:00.025Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T13:06:02.035Z] ---> Running in b5af47ec00f2 [2022-06-29T13:06:02.035Z] Removing intermediate container b5af47ec00f2 [2022-06-29T13:06:02.035Z] ---> c561be7380bc [2022-06-29T13:06:02.035Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T13:06:02.312Z] ---> Running in efbf106d798b [2022-06-29T13:06:02.585Z] Removing intermediate container efbf106d798b [2022-06-29T13:06:02.585Z] ---> 514f6d2d30f1 [2022-06-29T13:06:02.585Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-29T13:06:02.585Z] ---> Running in d0e06c86a6d5 [2022-06-29T13:06:02.862Z] Removing intermediate container d0e06c86a6d5 [2022-06-29T13:06:02.862Z] ---> 43944317101d [2022-06-29T13:06:02.862Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T13:06:02.862Z] ---> Running in 3f37377c0aa4 [2022-06-29T13:06:04.846Z] Removing intermediate container 3f37377c0aa4 [2022-06-29T13:06:04.846Z] ---> 4bfc7baa8bf2 [2022-06-29T13:06:04.846Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T13:06:04.846Z] ---> Running in 2bde21cd8642 [2022-06-29T13:06:05.827Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T13:06:06.422Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T13:06:07.397Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T13:06:07.397Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T13:06:07.397Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T13:06:07.671Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T13:06:07.671Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T13:06:07.944Z] OK: 224 MiB in 56 packages [2022-06-29T13:06:08.543Z] Removing intermediate container 2bde21cd8642 [2022-06-29T13:06:08.543Z] ---> bc040951a60f [2022-06-29T13:06:08.543Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T13:06:09.157Z] ---> ae445aa1189d [2022-06-29T13:06:09.157Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T13:06:09.157Z] ---> Running in d973093ac44f [2022-06-29T13:06:56.192Z] Removing intermediate container d973093ac44f [2022-06-29T13:06:56.192Z] ---> f35e8e68edbb [2022-06-29T13:06:56.192Z] Step 10/12 : COPY . . [2022-06-29T13:06:56.192Z] ---> c44b04124c32 [2022-06-29T13:06:56.192Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T13:06:56.192Z] ---> Running in 56143c353add [2022-06-29T13:06:56.192Z] Removing intermediate container 56143c353add [2022-06-29T13:06:56.192Z] ---> 20821fef0ce8 [2022-06-29T13:06:56.192Z] Step 12/12 : RUN $MAKE [2022-06-29T13:06:56.192Z] ---> Running in f321b05e0e9f [2022-06-29T13:06:56.521Z] noop [2022-06-29T13:06:57.119Z] Removing intermediate container f321b05e0e9f [2022-06-29T13:06:57.119Z] ---> 99449117dd9d [2022-06-29T13:06:57.119Z] Successfully built 99449117dd9d [2022-06-29T13:06:57.119Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:06:57.492Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T13:06:57.492Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:06:57.728Z] prd-ubuntu20.04-docker-arm64-4c-16g-16340 does not seem to be running inside a container [2022-06-29T13:06:57.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/28 -v /w/workspace/device-virtual-go/28:/w/workspace/device-virtual-go/28:rw,z -v /w/workspace/device-virtual-go/28@tmp:/w/workspace/device-virtual-go/28@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-29T13:06:59.107Z] $ docker top 70955ef61b866c20f43e56229097922813cbc98e3c29d9090ff2653178bba17a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T13:07:00.030Z] + go version [2022-06-29T13:07:00.030Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T13:07:00.061Z] $ docker stop --time=1 70955ef61b866c20f43e56229097922813cbc98e3c29d9090ff2653178bba17a [2022-06-29T13:07:01.703Z] $ docker rm -f 70955ef61b866c20f43e56229097922813cbc98e3c29d9090ff2653178bba17a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:07:02.287Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T13:07:02.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:07:02.515Z] prd-ubuntu20.04-docker-arm64-4c-16g-16340 does not seem to be running inside a container [2022-06-29T13:07:02.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/28 -v /w/workspace/device-virtual-go/28:/w/workspace/device-virtual-go/28:rw,z -v /w/workspace/device-virtual-go/28@tmp:/w/workspace/device-virtual-go/28@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-29T13:07:03.907Z] $ docker top 7a0c72540bd6ab04a04ca53c96aa56fe8f4566b9d6981b421ae4fe92d20872ab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T13:07:04.811Z] + make test [2022-06-29T13:07:04.811Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-29T13:07:06.250Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-29T13:08:28.114Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-29T13:08:28.114Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements [2022-06-29T13:08:28.114Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T13:08:28.114Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T13:08:50.313Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T13:08:50.313Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T13:08:50.313Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T13:08:50.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T13:08:50.633Z] $ docker stop --time=1 7a0c72540bd6ab04a04ca53c96aa56fe8f4566b9d6981b421ae4fe92d20872ab [2022-06-29T13:08:52.392Z] $ docker rm -f 7a0c72540bd6ab04a04ca53c96aa56fe8f4566b9d6981b421ae4fe92d20872ab [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T13:08:53.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T13:08:53.370Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T13:08:53.907Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T13:08:54.299Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T13:08:54.635Z] + ls -al . [2022-06-29T13:08:54.635Z] total 188 [2022-06-29T13:08:54.635Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 13:08 . [2022-06-29T13:08:54.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:05 .. [2022-06-29T13:08:54.635Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 13:05 .git [2022-06-29T13:08:54.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:05 .github [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 29 13:05 .gitignore [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 13:05 .golangci.yml [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 29 13:05 Attribution.txt [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 29 13:05 CHANGELOG.md [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 29 13:05 Dockerfile [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 13:05 GOVERNANCE.md [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 29 13:05 Jenkinsfile [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 13:05 LICENSE [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 29 13:05 Makefile [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 29 13:05 OWNERS.md [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 29 13:05 README.md [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 13:03 VERSION [2022-06-29T13:08:54.635Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 13:05 bin [2022-06-29T13:08:54.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:05 cmd [2022-06-29T13:08:54.635Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 29 13:08 coverage.out [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 29 13:05 go.mod [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 29 13:05 go.sum [2022-06-29T13:08:54.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:05 internal [2022-06-29T13:08:54.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:05 snap [2022-06-29T13:08:54.635Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 29 13:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:08:54.990Z] + 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=7a5d72f2139bf399a996e49789fb0d11bd453b9a --label arch=arm64 --label version=0.0.0 . [2022-06-29T13:08:55.587Z] Sending build context to Docker daemon 11.85MB [2022-06-29T13:08:55.587Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T13:08:55.587Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-29T13:08:55.587Z] ---> 99449117dd9d [2022-06-29T13:08:55.587Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T13:08:55.587Z] ---> Running in 4e8355143821 [2022-06-29T13:08:55.866Z] Removing intermediate container 4e8355143821 [2022-06-29T13:08:55.866Z] ---> 61b54d42821a [2022-06-29T13:08:55.866Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T13:08:56.141Z] ---> Running in 6d8d2c0a3ab2 [2022-06-29T13:08:56.414Z] Removing intermediate container 6d8d2c0a3ab2 [2022-06-29T13:08:56.414Z] ---> 9293209d3e59 [2022-06-29T13:08:56.414Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-29T13:08:56.414Z] ---> Running in 874ec1b31e5f [2022-06-29T13:08:56.693Z] Removing intermediate container 874ec1b31e5f [2022-06-29T13:08:56.693Z] ---> 1433775c1f0e [2022-06-29T13:08:56.693Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T13:08:56.964Z] ---> Running in 742a97b22ba6 [2022-06-29T13:08:58.418Z] Removing intermediate container 742a97b22ba6 [2022-06-29T13:08:58.418Z] ---> 67046d7d8432 [2022-06-29T13:08:58.418Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T13:08:58.418Z] ---> Running in 6aedde5aad0c [2022-06-29T13:08:59.398Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T13:09:00.375Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T13:09:01.357Z] OK: 224 MiB in 56 packages [2022-06-29T13:09:01.965Z] Removing intermediate container 6aedde5aad0c [2022-06-29T13:09:01.965Z] ---> 073234a90526 [2022-06-29T13:09:01.965Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-29T13:09:02.565Z] ---> b0f35f3267ed [2022-06-29T13:09:02.565Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T13:09:02.565Z] ---> Running in d86c2a02ffce [2022-06-29T13:09:04.552Z] Removing intermediate container d86c2a02ffce [2022-06-29T13:09:04.552Z] ---> d36a5ef6611c [2022-06-29T13:09:04.552Z] Step 10/26 : COPY . . [2022-06-29T13:09:05.998Z] ---> 50a03fdcb1cd [2022-06-29T13:09:05.998Z] Step 11/26 : ARG MAKE='make build' [2022-06-29T13:09:05.998Z] ---> Running in 8f11282f8700 [2022-06-29T13:09:06.272Z] Removing intermediate container 8f11282f8700 [2022-06-29T13:09:06.272Z] ---> e9680f72b2f7 [2022-06-29T13:09:06.272Z] Step 12/26 : RUN $MAKE [2022-06-29T13:09:06.272Z] ---> Running in d1782042f333 [2022-06-29T13:09:07.256Z] 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-29T13:11:14.187Z] Removing intermediate container d1782042f333 [2022-06-29T13:11:14.187Z] ---> 263d285bedc0 [2022-06-29T13:11:14.187Z] Step 13/26 : FROM alpine:3.14 [2022-06-29T13:11:14.187Z] 3.14: Pulling from library/alpine [2022-06-29T13:11:14.187Z] 455c02918c45: Pulling fs layer [2022-06-29T13:11:14.187Z] 455c02918c45: Verifying Checksum [2022-06-29T13:11:14.187Z] 455c02918c45: Download complete [2022-06-29T13:11:14.187Z] 455c02918c45: Pull complete [2022-06-29T13:11:14.187Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T13:11:14.187Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T13:11:14.187Z] ---> ac73e934f311 [2022-06-29T13:11:14.187Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-29T13:11:14.187Z] ---> Running in 225f58334ea0 [2022-06-29T13:11:14.187Z] Removing intermediate container 225f58334ea0 [2022-06-29T13:11:14.187Z] ---> 0bb83297407a [2022-06-29T13:11:14.187Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T13:11:14.187Z] ---> Running in b22f26a0eae6 [2022-06-29T13:11:14.187Z] Removing intermediate container b22f26a0eae6 [2022-06-29T13:11:14.187Z] ---> 0d7c1c147bf5 [2022-06-29T13:11:14.187Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T13:11:14.187Z] ---> Running in 5b3876ad7920 [2022-06-29T13:11:14.187Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-29T13:11:14.187Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-29T13:11:14.187Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T13:11:14.187Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T13:11:14.187Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T13:11:14.187Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T13:11:14.187Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T13:11:14.187Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T13:11:14.187Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T13:11:14.187Z] OK: 8 MiB in 20 packages [2022-06-29T13:11:14.187Z] Removing intermediate container 5b3876ad7920 [2022-06-29T13:11:14.187Z] ---> b2a56b642cd1 [2022-06-29T13:11:14.187Z] Step 17/26 : WORKDIR / [2022-06-29T13:11:14.187Z] ---> Running in 48a72b4cf628 [2022-06-29T13:11:14.187Z] Removing intermediate container 48a72b4cf628 [2022-06-29T13:11:14.187Z] ---> 6d926e5b1dae [2022-06-29T13:11:14.187Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-29T13:11:14.187Z] ---> ab462513022f [2022-06-29T13:11:14.187Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-29T13:11:14.187Z] ---> 0c64ca747ea0 [2022-06-29T13:11:14.187Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-29T13:11:14.187Z] ---> ab065905e486 [2022-06-29T13:11:14.187Z] Step 21/26 : EXPOSE 59900 [2022-06-29T13:11:14.187Z] ---> Running in 99cc55b88c0a [2022-06-29T13:11:14.187Z] Removing intermediate container 99cc55b88c0a [2022-06-29T13:11:14.187Z] ---> 7840386a0c99 [2022-06-29T13:11:14.187Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-29T13:11:14.187Z] ---> Running in cf4a18124c71 [2022-06-29T13:11:14.187Z] Removing intermediate container cf4a18124c71 [2022-06-29T13:11:14.187Z] ---> 4f7ed100e106 [2022-06-29T13:11:14.187Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T13:11:14.187Z] ---> Running in 4d98fa0d3aaf [2022-06-29T13:11:14.187Z] Removing intermediate container 4d98fa0d3aaf [2022-06-29T13:11:14.187Z] ---> f16429a11d41 [2022-06-29T13:11:14.187Z] Step 24/26 : LABEL arch=arm64 [2022-06-29T13:11:14.187Z] ---> Running in db2f27d629ba [2022-06-29T13:11:14.187Z] Removing intermediate container db2f27d629ba [2022-06-29T13:11:14.187Z] ---> 6a8308a9f22f [2022-06-29T13:11:14.187Z] Step 25/26 : LABEL git_sha=7a5d72f2139bf399a996e49789fb0d11bd453b9a [2022-06-29T13:11:14.187Z] ---> Running in f95e7b46c74d [2022-06-29T13:11:14.187Z] Removing intermediate container f95e7b46c74d [2022-06-29T13:11:14.187Z] ---> 8122d484a9ca [2022-06-29T13:11:14.187Z] Step 26/26 : LABEL version=0.0.0 [2022-06-29T13:11:14.187Z] ---> Running in c44189119af9 [2022-06-29T13:11:14.465Z] Removing intermediate container c44189119af9 [2022-06-29T13:11:14.465Z] ---> c3ef4c1e1c72 [2022-06-29T13:11:14.465Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T13:11:14.465Z] Successfully built c3ef4c1e1c72 [2022-06-29T13:11:14.465Z] 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-29T13:11:14.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T13:11:14.937Z] [2022-06-29T13:11:14.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:11:15.297Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T13:11:15.580Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T13:11:15.580Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T13:11:15.580Z] 04944245beec: Pulling fs layer [2022-06-29T13:11:15.580Z] 699f458cf7ca: Pulling fs layer [2022-06-29T13:11:15.580Z] 765212b225bb: Pulling fs layer [2022-06-29T13:11:15.580Z] f23df028b6ca: Pulling fs layer [2022-06-29T13:11:15.580Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T13:11:15.580Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T13:11:15.580Z] f23df028b6ca: Waiting [2022-06-29T13:11:15.580Z] d65c8cfc05b1: Waiting [2022-06-29T13:11:15.580Z] 765212b225bb: Waiting [2022-06-29T13:11:15.580Z] 2437ff75d9bd: Waiting [2022-06-29T13:11:15.580Z] 04944245beec: Verifying Checksum [2022-06-29T13:11:15.580Z] 04944245beec: Download complete [2022-06-29T13:11:15.580Z] 765212b225bb: Verifying Checksum [2022-06-29T13:11:15.580Z] 765212b225bb: Download complete [2022-06-29T13:11:15.580Z] f23df028b6ca: Verifying Checksum [2022-06-29T13:11:15.580Z] f23df028b6ca: Download complete [2022-06-29T13:11:15.580Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T13:11:15.580Z] d65c8cfc05b1: Download complete [2022-06-29T13:11:15.859Z] 699f458cf7ca: Verifying Checksum [2022-06-29T13:11:16.137Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T13:11:16.137Z] 8998bd30e6a1: Download complete [2022-06-29T13:11:18.772Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T13:11:18.772Z] 2437ff75d9bd: Download complete [2022-06-29T13:11:20.757Z] 8998bd30e6a1: Pull complete [2022-06-29T13:11:21.033Z] 04944245beec: Pull complete [2022-06-29T13:11:22.477Z] 699f458cf7ca: Pull complete [2022-06-29T13:11:22.756Z] 765212b225bb: Pull complete [2022-06-29T13:11:23.356Z] f23df028b6ca: Pull complete [2022-06-29T13:11:23.631Z] d65c8cfc05b1: Pull complete [2022-06-29T13:11:38.736Z] 2437ff75d9bd: Pull complete [2022-06-29T13:11:38.736Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T13:11:38.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T13:11:38.736Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:11:38.990Z] prd-ubuntu20.04-docker-arm64-4c-16g-16340 does not seem to be running inside a container [2022-06-29T13:11:39.093Z] $ 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/28 -v /w/workspace/device-virtual-go/28:/w/workspace/device-virtual-go/28:rw,z -v /w/workspace/device-virtual-go/28@tmp:/w/workspace/device-virtual-go/28@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-29T13:11:41.816Z] $ docker top 16d070d9bb9e2a96af487cdd7682c5ca8c82b91a760889c32622c9972bace6d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:11:42.734Z] ---> job-cost.sh [2022-06-29T13:11:42.734Z] lf-activate-venv: SKIPPING [2022-06-29T13:11:42.734Z] INFO: No Stack... [2022-06-29T13:11:43.327Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T13:11:44.304Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T13:11:44.986Z] + cat /w/workspace/device-virtual-go/28/archives/cost.csv [2022-06-29T13:11:44.986Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T13:11:45.054Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-28-stack-cost] [2022-06-29T13:11:45.060Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-28-stack-cost] did not exist. Created. [2022-06-29T13:11:45.060Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T13:11:45.750Z] /w/workspace/device-virtual-go/28@tmp/durable-3e1f29c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T13:11:46.433Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T13:11:46.463Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T13:11:46.506Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T13:11:46.514Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T13:11:46.537Z] $ docker stop --time=1 16d070d9bb9e2a96af487cdd7682c5ca8c82b91a760889c32622c9972bace6d6 [2022-06-29T13:11:48.042Z] $ docker rm -f 16d070d9bb9e2a96af487cdd7682c5ca8c82b91a760889c32622c9972bace6d6 [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-29T13:11:48.503Z] provisioning config files... [2022-06-29T13:11:48.511Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config6531572823227767023tmp [Pipeline] { [Pipeline] sh [2022-06-29T13:11:48.800Z] + set +x [2022-06-29T13:11:48.800Z] + curl -s https://codecov.io/bash [2022-06-29T13:11:48.800Z] + bash -s -- [2022-06-29T13:11:48.800Z] [2022-06-29T13:11:48.800Z] _____ _ [2022-06-29T13:11:48.800Z] / ____| | | [2022-06-29T13:11:48.800Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T13:11:48.800Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T13:11:48.800Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T13:11:48.800Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T13:11:48.800Z] Bash-1.0.6 [2022-06-29T13:11:48.800Z] [2022-06-29T13:11:48.800Z] [2022-06-29T13:11:48.800Z] ==> git version 2.25.1 found [2022-06-29T13:11:48.800Z] ==> 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-29T13:11:48.800Z] Release-Date: 2020-01-08 [2022-06-29T13:11:48.800Z] 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-29T13:11:48.800Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T13:11:48.800Z] ==> Jenkins CI detected. [2022-06-29T13:11:48.800Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-29T13:11:48.800Z] project root: . [2022-06-29T13:11:48.800Z] --> token set from env [2022-06-29T13:11:48.800Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T13:11:48.800Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T13:11:48.800Z] ==> Python coveragepy not found [2022-06-29T13:11:48.800Z] ==> Searching for coverage reports in: [2022-06-29T13:11:48.800Z] + . [2022-06-29T13:11:48.800Z] -> Found 1 reports [2022-06-29T13:11:48.800Z] ==> Detecting git/mercurial file structure [2022-06-29T13:11:48.800Z] ==> Reading reports [2022-06-29T13:11:48.800Z] + ./coverage.out bytes=44128 [2022-06-29T13:11:49.060Z] ==> Appending adjustments [2022-06-29T13:11:49.060Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T13:11:49.060Z] + Found adjustments [2022-06-29T13:11:49.060Z] ==> Gzipping contents [2022-06-29T13:11:49.060Z] 8.0K /tmp/codecov.Sv33ek.gz [2022-06-29T13:11:49.060Z] ==> Uploading reports [2022-06-29T13:11:49.060Z] url: https://codecov.io [2022-06-29T13:11:49.060Z] query: branch=PR-290&commit=7a5d72f2139bf399a996e49789fb0d11bd453b9a&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-29T13:11:49.060Z] -> Pinging Codecov [2022-06-29T13:11:49.060Z] 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=7a5d72f2139bf399a996e49789fb0d11bd453b9a&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-29T13:11:49.321Z] -> Uploading to [2022-06-29T13:11:49.321Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/5E52B4B073DB2E39498172D8E973AA87/7a5d72f2139bf399a996e49789fb0d11bd453b9a/a7b38720-9474-4529-8575-67426a0d4d91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T131149Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=30c0be228fe694d5a3b7faa9c9a21a7e7d95404b5b0cbfad314a5e0a8e15bf4f [2022-06-29T13:11:49.321Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T13:11:49.321Z] Dload Upload Total Spent Left Speed [2022-06-29T13:11:49.582Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5491 0 0 100 5491 0 21703 --:--:-- --:--:-- --:--:-- 21703 100 5491 0 0 100 5491 0 21703 --:--:-- --:--:-- --:--:-- 21618 [2022-06-29T13:11:49.582Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/7a5d72f2139bf399a996e49789fb0d11bd453b9a [Pipeline] } [2022-06-29T13:11:49.589Z] 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-29T13:11:50.352Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-29T13:11:50.352Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-29T13:11:50.352Z] total 16 [2022-06-29T13:11:50.352Z] drwxr-xr-x 3 root root 4096 Jun 29 13:05 . [2022-06-29T13:11:50.352Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 13:05 .. [2022-06-29T13:11:50.352Z] drwxr-xr-x 2 root root 4096 Jun 29 13:05 cost [2022-06-29T13:11:50.352Z] -rw-r--r-- 1 root root 89 Jun 29 13:05 cost.csv [2022-06-29T13:11:50.352Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-29T13:11:50.352Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-29T13:11:50.352Z] total 16 [2022-06-29T13:11:50.352Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 13:05 . [2022-06-29T13:11:50.352Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 13:05 .. [2022-06-29T13:11:50.352Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 13:05 cost [2022-06-29T13:11:50.352Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 29 13:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:11:50.640Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:11:51.505Z] ---> package-listing.sh [2022-06-29T13:11:51.505Z] ++ facter osfamily [2022-06-29T13:11:51.505Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T13:11:51.767Z] + OS_FAMILY=debian [2022-06-29T13:11:51.767Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-29T13:11:51.767Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T13:11:51.767Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T13:11:51.767Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T13:11:51.767Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T13:11:51.767Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-29T13:11:51.767Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T13:11:51.767Z] + case "${OS_FAMILY}" in [2022-06-29T13:11:51.767Z] + dpkg -l [2022-06-29T13:11:51.767Z] + grep '^ii' [2022-06-29T13:11:51.767Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T13:11:51.767Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T13:11:51.767Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T13:11:51.767Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-29T13:11:51.767Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-29T13:11:51.767Z] + 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-29T13:11:51.780Z] 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-29T13:11:52.063Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:11:52.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T13:11:52.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:11:52.715Z] prd-ubuntu20.04-docker-8c-8g-16338 does not seem to be running inside a container [2022-06-29T13:11:52.766Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T13:11:53.011Z] $ docker top 4abc37a4e592fbe1f749b3fee75150e2863c70ed818488449808ff8623c6a69c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T13:11:53.369Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T13:11:53.661Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T13:11:53.949Z] + ls /var/log/sa-host [2022-06-29T13:11:53.949Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T13:11:54.133Z] provisioning config files... [2022-06-29T13:11:54.143Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config261367268021311051tmp [Pipeline] { [Pipeline] echo [2022-06-29T13:11:54.157Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:11:54.445Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T13:11:54.454Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:11:54.796Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T13:11:54.806Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:11:55.093Z] ---> sudo-logs.sh [2022-06-29T13:11:55.093Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T13:11:55.125Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:11:55.412Z] ---> job-cost.sh [2022-06-29T13:11:55.412Z] lf-activate-venv: SKIPPING [2022-06-29T13:11:55.412Z] DEBUG: total: 0.2199999988079071 [2022-06-29T13:11:55.412Z] INFO: Retrieving Stack Cost... [2022-06-29T13:11:55.672Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T13:11:56.244Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T13:11:56.254Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:11:56.543Z] ---> logs-deploy.sh [2022-06-29T13:11:56.543Z] lf-activate-venv: SKIPPING [2022-06-29T13:11:56.543Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/28 [2022-06-29T13:11:56.543Z] INFO: archiving workspace using pattern(s): [2022-06-29T13:11:57.488Z] Archives upload complete. [2022-06-29T13:11:57.488Z] INFO: archiving logs to Nexus