Pull request #290 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 6c956091e39ebf418aab18435948f90fcdb39d95 rather than 91de058d25bd39d5ee8e4f968f0dfa221084a88f Obtained Jenkinsfile from 6c956091e39ebf418aab18435948f90fcdb39d95 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10717157195505370044.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-ssh15225438540563085155.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-ssh10132862784882319780.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-ssh2666242969153384512.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-ssh17644118437168546655.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-15444 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-290 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6c956091e39ebf418aab18435948f90fcdb39d95 into PR head commit 91de058d25bd39d5ee8e4f968f0dfa221084a88f Merge succeeded, producing 91de058d25bd39d5ee8e4f968f0dfa221084a88f Checking out Revision 91de058d25bd39d5ee8e4f968f0dfa221084a88f (PR-290) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91de058d25bd39d5ee8e4f968f0dfa221084a88f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6c956091e39ebf418aab18435948f90fcdb39d95 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91de058d25bd39d5ee8e4f968f0dfa221084a88f # timeout=10 Commit message: "refactor(snap): Combine install and configure hook executables (#2)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-23T11:04:47.884Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-23T11:04:47.932Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-23T11:04:47.949Z] ========================================================= [2022-06-23T11:04:47.949Z] EdgeX Global Pipelines Version Info [2022-06-23T11:04:47.949Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1f3cbc4b4d212b2bf2c57cf11bcf53f9d2dd4682 # timeout=10 [2022-06-23T11:04:48.730Z] ------------------- [2022-06-23T11:04:48.730Z] stable info: [2022-06-23T11:04:48.730Z] ------------------- [2022-06-23T11:04:48.730Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-23T11:04:48.730Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T11:04:48.730Z] Message: update stable to v1.0.234 [2022-06-23T11:04:49.303Z] ------------------- [2022-06-23T11:04:49.303Z] experimental info: [2022-06-23T11:04:49.303Z] ------------------- [2022-06-23T11:04:49.303Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-23T11:04:49.303Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-23T11:04:49.303Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-23T11:04:49.503Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-23T11:04:49.513Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-23T11:04:49.524Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-23T11:04:49.535Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-23T11:04:49.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-23T11:04:49.557Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-23T11:04:49.568Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-23T11:04:49.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-23T11:04:49.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-23T11:04:49.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-23T11:04:49.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-23T11:04:49.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-23T11:04:49.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-23T11:04:49.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-23T11:04:49.668Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T11:04:49.680Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-23T11:04:49.692Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T11:04:49.704Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-23T11:04:49.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-23T11:04:49.729Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-23T11:04:49.741Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-23T11:04:49.753Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-23T11:04:49.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-23T11:04:49.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-23T11:04:49.789Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-23T11:04:49.803Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-23T11:04:49.818Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-23T11:04:49.832Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-23T11:04:49.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-23T11:04:49.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-23T11:04:49.867Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91de058d25bd39d5ee8e4f968f0dfa221084a88f [Pipeline] echo [2022-06-23T11:04:49.879Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91de058 [Pipeline] echo [2022-06-23T11:04:49.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T11:04:49.937Z] provisioning config files... [2022-06-23T11:04:49.952Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config6498586825278245435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:04:50.261Z] ---> docker-login.sh [2022-06-23T11:04:50.261Z] nexus3.edgexfoundry.org:10001 [2022-06-23T11:04:50.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:04:50.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:04:50.523Z] Configure a credential helper to remove this warning. See [2022-06-23T11:04:50.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:04:50.523Z] [2022-06-23T11:04:50.523Z] Login Succeeded [2022-06-23T11:04:50.523Z] nexus3.edgexfoundry.org:10002 [2022-06-23T11:04:50.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:04:50.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:04:50.784Z] Configure a credential helper to remove this warning. See [2022-06-23T11:04:50.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:04:50.784Z] [2022-06-23T11:04:50.784Z] Login Succeeded [2022-06-23T11:04:50.784Z] nexus3.edgexfoundry.org:10003 [2022-06-23T11:04:50.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:04:50.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:04:50.784Z] Configure a credential helper to remove this warning. See [2022-06-23T11:04:50.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:04:50.784Z] [2022-06-23T11:04:50.784Z] Login Succeeded [2022-06-23T11:04:50.784Z] nexus3.edgexfoundry.org:10004 [2022-06-23T11:04:50.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:04:51.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:04:51.048Z] Configure a credential helper to remove this warning. See [2022-06-23T11:04:51.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:04:51.048Z] [2022-06-23T11:04:51.048Z] Login Succeeded [2022-06-23T11:04:51.048Z] docker.io [2022-06-23T11:04:51.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:04:51.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:04:51.311Z] Configure a credential helper to remove this warning. See [2022-06-23T11:04:51.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:04:51.311Z] [2022-06-23T11:04:51.311Z] Login Succeeded [2022-06-23T11:04:51.311Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T11:04:51.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-23T11:04:51.707Z] + git rev-list -1 --merges 91de058d25bd39d5ee8e4f968f0dfa221084a88f~1..91de058d25bd39d5ee8e4f968f0dfa221084a88f [Pipeline] echo [2022-06-23T11:04:51.834Z] -----------> git rev-list -1 --merges 91de058d25bd39d5ee8e4f968f0dfa221084a88f~1..91de058d25bd39d5ee8e4f968f0dfa221084a88f 91de058d25bd39d5ee8e4f968f0dfa221084a88f [2022-06-23T11:04:51.834Z] 91de058d25bd39d5ee8e4f968f0dfa221084a88f [false] [Pipeline] sh [2022-06-23T11:04:52.118Z] + git log --format=format:%s -1 91de058d25bd39d5ee8e4f968f0dfa221084a88f [Pipeline] echo [2022-06-23T11:04:52.134Z] ========================================================= [2022-06-23T11:04:52.134Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-23T11:04:52.134Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T11:04:52.477Z] + git log --format=format:%s -1 91de058d25bd39d5ee8e4f968f0dfa221084a88f [Pipeline] echo [2022-06-23T11:04:52.488Z] [semverPrep] GIT_COMMIT: 91de058d25bd39d5ee8e4f968f0dfa221084a88f, Commit Message: refactor(snap): Combine install and configure hook executables (#2) [Pipeline] echo [2022-06-23T11:04:52.496Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-23T11:04:52.874Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-23T11:04:52.874Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-23T11:04:52.874Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-23T11:04:52.874Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-23T11:04:52.874Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-23T11:04:52.874Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-23T11:04:52.874Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:04:53.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T11:04:53.229Z] [2022-06-23T11:04:53.229Z] 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-23T11:04:53.533Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T11:04:53.533Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-23T11:04:53.533Z] 42c077c10790: Pulling fs layer [2022-06-23T11:04:53.533Z] f63e77b7563a: Pulling fs layer [2022-06-23T11:04:53.533Z] bd5fdadae976: Pulling fs layer [2022-06-23T11:04:53.533Z] 205491f53016: Pulling fs layer [2022-06-23T11:04:53.533Z] df18705c85c3: Pulling fs layer [2022-06-23T11:04:53.533Z] bdb3f477010e: Pulling fs layer [2022-06-23T11:04:53.533Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-23T11:04:53.533Z] 2c6e9b1d212d: Pulling fs layer [2022-06-23T11:04:53.533Z] bdb8f0575790: Pulling fs layer [2022-06-23T11:04:53.533Z] 386e3cb2ff24: Pulling fs layer [2022-06-23T11:04:53.533Z] 2343380bae48: Pulling fs layer [2022-06-23T11:04:53.533Z] 205491f53016: Waiting [2022-06-23T11:04:53.533Z] df18705c85c3: Waiting [2022-06-23T11:04:53.533Z] 386e3cb2ff24: Waiting [2022-06-23T11:04:53.533Z] bdb8f0575790: Waiting [2022-06-23T11:04:53.533Z] bdb3f477010e: Waiting [2022-06-23T11:04:53.533Z] 2343380bae48: Waiting [2022-06-23T11:04:53.533Z] 2c6e9b1d212d: Waiting [2022-06-23T11:04:53.533Z] c8a8fc8e1c8f: Waiting [2022-06-23T11:04:53.533Z] f63e77b7563a: Verifying Checksum [2022-06-23T11:04:53.533Z] f63e77b7563a: Download complete [2022-06-23T11:04:53.533Z] 205491f53016: Verifying Checksum [2022-06-23T11:04:53.533Z] 205491f53016: Download complete [2022-06-23T11:04:53.792Z] bd5fdadae976: Verifying Checksum [2022-06-23T11:04:53.793Z] bd5fdadae976: Download complete [2022-06-23T11:04:53.793Z] df18705c85c3: Verifying Checksum [2022-06-23T11:04:53.793Z] df18705c85c3: Download complete [2022-06-23T11:04:53.793Z] bdb3f477010e: Verifying Checksum [2022-06-23T11:04:53.793Z] bdb3f477010e: Download complete [2022-06-23T11:04:53.793Z] 2c6e9b1d212d: Download complete [2022-06-23T11:04:53.793Z] bdb8f0575790: Download complete [2022-06-23T11:04:53.793Z] 386e3cb2ff24: Verifying Checksum [2022-06-23T11:04:53.793Z] 386e3cb2ff24: Download complete [2022-06-23T11:04:53.793Z] 2343380bae48: Verifying Checksum [2022-06-23T11:04:53.793Z] 2343380bae48: Download complete [2022-06-23T11:04:53.793Z] 42c077c10790: Verifying Checksum [2022-06-23T11:04:53.793Z] 42c077c10790: Download complete [2022-06-23T11:04:55.175Z] 42c077c10790: Pull complete [2022-06-23T11:04:55.175Z] f63e77b7563a: Pull complete [2022-06-23T11:04:55.746Z] bd5fdadae976: Pull complete [2022-06-23T11:04:55.746Z] 205491f53016: Pull complete [2022-06-23T11:04:56.008Z] df18705c85c3: Pull complete [2022-06-23T11:04:56.008Z] bdb3f477010e: Pull complete [2022-06-23T11:04:57.919Z] c8a8fc8e1c8f: Pull complete [2022-06-23T11:04:58.179Z] 2c6e9b1d212d: Pull complete [2022-06-23T11:04:58.179Z] bdb8f0575790: Pull complete [2022-06-23T11:04:58.179Z] 386e3cb2ff24: Pull complete [2022-06-23T11:04:58.439Z] 2343380bae48: Pull complete [2022-06-23T11:04:58.439Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-23T11:04:58.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-23T11:04:58.439Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T11:04:58.538Z] prd-ubuntu20.04-docker-8c-8g-15444 does not seem to be running inside a container [2022-06-23T11:04:58.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-23T11:05:00.068Z] $ docker top d7fd4b16b2ffc731324bc25f84da385ea26db8574148abca0075d820a17e0758 -eo pid,comm [2022-06-23T11:05:00.124Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-23T11:05:00.124Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-23T11:05:00.161Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T11:05:00.161Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T11:05:00.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T11:05:00.287Z] $ docker exec d7fd4b16b2ffc731324bc25f84da385ea26db8574148abca0075d820a17e0758 ssh-agent [2022-06-23T11:05:00.408Z] SSH_AUTH_SOCK=/tmp/ssh-GxEXtcnpXGth/agent.34 [2022-06-23T11:05:00.408Z] SSH_AGENT_PID=40 [2022-06-23T11:05:00.415Z] Running ssh-add (command line suppressed) [2022-06-23T11:05:00.525Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_7520014077194247526.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_7520014077194247526.key) [2022-06-23T11:05:00.535Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T11:05:00.831Z] + git tag --points-at HEAD [Pipeline] } [2022-06-23T11:05:00.854Z] $ docker exec --env ******** --env ******** d7fd4b16b2ffc731324bc25f84da385ea26db8574148abca0075d820a17e0758 ssh-agent -k [2022-06-23T11:05:00.959Z] unset SSH_AUTH_SOCK; [2022-06-23T11:05:00.960Z] unset SSH_AGENT_PID; [2022-06-23T11:05:00.960Z] echo Agent pid 40 killed; [2022-06-23T11:05:00.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-23T11:05:00.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-23T11:05:00.993Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-23T11:05:01.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-23T11:05:01.131Z] $ docker exec d7fd4b16b2ffc731324bc25f84da385ea26db8574148abca0075d820a17e0758 ssh-agent [2022-06-23T11:05:01.252Z] SSH_AUTH_SOCK=/tmp/ssh-qJdJn54mrLBs/agent.74 [2022-06-23T11:05:01.252Z] SSH_AGENT_PID=82 [2022-06-23T11:05:01.258Z] Running ssh-add (command line suppressed) [2022-06-23T11:05:01.392Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_5803765517040336549.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_5803765517040336549.key) [2022-06-23T11:05:01.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-23T11:05:01.700Z] + git semver init [2022-06-23T11:05:01.966Z] 2022-06-23 11:05:01,877 [run_init] DEBUG init version:0.0.0 force:False [2022-06-23T11:05:01.966Z] 2022-06-23 11:05:01,878 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-23T11:05:01.966Z] 2022-06-23 11:05:01,878 [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-23T11:05:01.966Z] 2022-06-23 11:05:01,879 [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-23T11:05:02.914Z] 2022-06-23 11:05:02,863 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-23T11:05:02.914Z] 2022-06-23 11:05:02,864 [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-23T11:05:02.914Z] 2022-06-23 11:05:02,864 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-23T11:05:02.914Z] 2022-06-23 11:05:02,867 [execute] INFO git cat-file --batch-check [2022-06-23T11:05:02.914Z] 2022-06-23 11:05:02,867 [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-23T11:05:02.914Z] 2022-06-23 11:05:02,873 [execute] INFO git cat-file --batch [2022-06-23T11:05:02.914Z] 2022-06-23 11:05:02,874 [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-23T11:05:02.914Z] 2022-06-23 11:05:02,880 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-23T11:05:02.914Z] 0.0.0 [Pipeline] } [2022-06-23T11:05:02.931Z] $ docker exec --env ******** --env ******** d7fd4b16b2ffc731324bc25f84da385ea26db8574148abca0075d820a17e0758 ssh-agent -k [2022-06-23T11:05:03.049Z] unset SSH_AUTH_SOCK; [2022-06-23T11:05:03.049Z] unset SSH_AGENT_PID; [2022-06-23T11:05:03.049Z] echo Agent pid 82 killed; [2022-06-23T11:05:03.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-23T11:05:03.364Z] + git semver [Pipeline] } [2022-06-23T11:05:03.645Z] $ docker stop --time=1 d7fd4b16b2ffc731324bc25f84da385ea26db8574148abca0075d820a17e0758 [2022-06-23T11:05:04.951Z] $ docker rm -f d7fd4b16b2ffc731324bc25f84da385ea26db8574148abca0075d820a17e0758 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T11:05:05.311Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-23T11:05:05.569Z] Stashed 1 file(s) [Pipeline] echo [2022-06-23T11:05:05.572Z] [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-23T11:05:05.732Z] provisioning config files... [2022-06-23T11:05:05.742Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config5302627793634856760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:05:06.043Z] ---> docker-login.sh [2022-06-23T11:05:06.043Z] nexus3.edgexfoundry.org:10001 [2022-06-23T11:05:06.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:05:06.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:05:06.043Z] Configure a credential helper to remove this warning. See [2022-06-23T11:05:06.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:05:06.043Z] [2022-06-23T11:05:06.043Z] Login Succeeded [2022-06-23T11:05:06.043Z] nexus3.edgexfoundry.org:10002 [2022-06-23T11:05:06.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:05:06.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:05:06.305Z] Configure a credential helper to remove this warning. See [2022-06-23T11:05:06.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:05:06.305Z] [2022-06-23T11:05:06.305Z] Login Succeeded [2022-06-23T11:05:06.305Z] nexus3.edgexfoundry.org:10003 [2022-06-23T11:05:06.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:05:06.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:05:06.305Z] Configure a credential helper to remove this warning. See [2022-06-23T11:05:06.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:05:06.305Z] [2022-06-23T11:05:06.305Z] Login Succeeded [2022-06-23T11:05:06.305Z] nexus3.edgexfoundry.org:10004 [2022-06-23T11:05:06.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:05:06.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:05:06.567Z] Configure a credential helper to remove this warning. See [2022-06-23T11:05:06.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:05:06.567Z] [2022-06-23T11:05:06.567Z] Login Succeeded [2022-06-23T11:05:06.567Z] docker.io [2022-06-23T11:05:06.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:05:06.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:05:06.829Z] Configure a credential helper to remove this warning. See [2022-06-23T11:05:06.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:05:06.829Z] [2022-06-23T11:05:06.829Z] Login Succeeded [2022-06-23T11:05:06.829Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T11:05:06.838Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T11:05:06.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T11:05:06.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T11:05:06.929Z] ========================================================= [2022-06-23T11:05:06.929Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-23T11:05:06.929Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:05:07.248Z] + 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-23T11:05:07.248Z] Sending build context to Docker daemon 23.13MB [2022-06-23T11:05:07.248Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T11:05:07.248Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-23T11:05:07.513Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-23T11:05:07.513Z] 59bf1c3509f3: Pulling fs layer [2022-06-23T11:05:07.513Z] 666ba61612fd: Pulling fs layer [2022-06-23T11:05:07.513Z] 8ed8ca486205: Pulling fs layer [2022-06-23T11:05:07.513Z] cc1cd167ecdc: Pulling fs layer [2022-06-23T11:05:07.513Z] c516ae0d96e1: Pulling fs layer [2022-06-23T11:05:07.513Z] 684cea983483: Pulling fs layer [2022-06-23T11:05:07.513Z] dd3240ac7de5: Pulling fs layer [2022-06-23T11:05:07.513Z] b1e948a4e11c: Pulling fs layer [2022-06-23T11:05:07.513Z] a8fd76ee1af6: Pulling fs layer [2022-06-23T11:05:07.513Z] 646ad004c059: Pulling fs layer [2022-06-23T11:05:07.513Z] cc1cd167ecdc: Waiting [2022-06-23T11:05:07.513Z] b1e948a4e11c: Waiting [2022-06-23T11:05:07.513Z] a8fd76ee1af6: Waiting [2022-06-23T11:05:07.513Z] 646ad004c059: Waiting [2022-06-23T11:05:07.513Z] c516ae0d96e1: Waiting [2022-06-23T11:05:07.513Z] 684cea983483: Waiting [2022-06-23T11:05:07.513Z] dd3240ac7de5: Waiting [2022-06-23T11:05:07.513Z] 8ed8ca486205: Verifying Checksum [2022-06-23T11:05:07.513Z] 8ed8ca486205: Download complete [2022-06-23T11:05:07.513Z] 666ba61612fd: Verifying Checksum [2022-06-23T11:05:07.513Z] 666ba61612fd: Download complete [2022-06-23T11:05:07.513Z] c516ae0d96e1: Verifying Checksum [2022-06-23T11:05:07.513Z] c516ae0d96e1: Download complete [2022-06-23T11:05:07.513Z] 684cea983483: Download complete [2022-06-23T11:05:07.513Z] dd3240ac7de5: Verifying Checksum [2022-06-23T11:05:07.513Z] dd3240ac7de5: Download complete [2022-06-23T11:05:07.513Z] 59bf1c3509f3: Verifying Checksum [2022-06-23T11:05:07.513Z] 59bf1c3509f3: Download complete [2022-06-23T11:05:07.513Z] b1e948a4e11c: Verifying Checksum [2022-06-23T11:05:07.513Z] b1e948a4e11c: Download complete [2022-06-23T11:05:07.513Z] 59bf1c3509f3: Pull complete [2022-06-23T11:05:07.783Z] 666ba61612fd: Pull complete [2022-06-23T11:05:07.783Z] 8ed8ca486205: Pull complete [2022-06-23T11:05:08.049Z] 646ad004c059: Verifying Checksum [2022-06-23T11:05:08.049Z] 646ad004c059: Download complete [2022-06-23T11:05:08.314Z] cc1cd167ecdc: Download complete [2022-06-23T11:05:08.314Z] a8fd76ee1af6: Verifying Checksum [2022-06-23T11:05:08.314Z] a8fd76ee1af6: Download complete [2022-06-23T11:05:11.607Z] cc1cd167ecdc: Pull complete [2022-06-23T11:05:11.607Z] c516ae0d96e1: Pull complete [2022-06-23T11:05:11.866Z] 684cea983483: Pull complete [2022-06-23T11:05:11.866Z] dd3240ac7de5: Pull complete [2022-06-23T11:05:11.866Z] b1e948a4e11c: Pull complete [2022-06-23T11:05:14.407Z] a8fd76ee1af6: Pull complete [2022-06-23T11:05:14.668Z] 646ad004c059: Pull complete [2022-06-23T11:05:14.668Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-23T11:05:14.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-23T11:05:14.668Z] ---> 8f69c11f6b0c [2022-06-23T11:05:14.668Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T11:05:16.586Z] ---> Running in 3152cdf4d23f [2022-06-23T11:05:16.586Z] Removing intermediate container 3152cdf4d23f [2022-06-23T11:05:16.586Z] ---> 14787c803949 [2022-06-23T11:05:16.586Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T11:05:16.586Z] ---> Running in 1590163b621a [2022-06-23T11:05:16.586Z] Removing intermediate container 1590163b621a [2022-06-23T11:05:16.586Z] ---> 118ae62d8322 [2022-06-23T11:05:16.586Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-23T11:05:16.586Z] ---> Running in 3e0da9c908df [2022-06-23T11:05:16.586Z] Removing intermediate container 3e0da9c908df [2022-06-23T11:05:16.586Z] ---> e195eef4ded1 [2022-06-23T11:05:16.586Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T11:05:16.586Z] ---> Running in 20e7a86bb22c [2022-06-23T11:05:17.156Z] Removing intermediate container 20e7a86bb22c [2022-06-23T11:05:17.156Z] ---> 476d4891b5bd [2022-06-23T11:05:17.156Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T11:05:17.156Z] ---> Running in 65d657774aa8 [2022-06-23T11:05:17.415Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T11:05:18.355Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T11:05:18.614Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-23T11:05:18.874Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-23T11:05:18.874Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-23T11:05:18.874Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-23T11:05:19.135Z] Executing busybox-1.34.1-r3.trigger [2022-06-23T11:05:19.135Z] OK: 224 MiB in 56 packages [2022-06-23T11:05:19.395Z] Removing intermediate container 65d657774aa8 [2022-06-23T11:05:19.395Z] ---> 97b831e48d29 [2022-06-23T11:05:19.395Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-23T11:05:19.655Z] ---> ac8fb30ee579 [2022-06-23T11:05:19.655Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T11:05:19.655Z] ---> Running in 08c3f5780197 [2022-06-23T11:05:20.685Z] Still waiting to schedule task [2022-06-23T11:05:20.686Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-23T11:05:37.768Z] Removing intermediate container 08c3f5780197 [2022-06-23T11:05:37.769Z] ---> 6b406ace5243 [2022-06-23T11:05:37.769Z] Step 10/12 : COPY . . [2022-06-23T11:05:37.769Z] ---> 52ee2ca2fe3a [2022-06-23T11:05:37.769Z] Step 11/12 : ARG MAKE='make build' [2022-06-23T11:05:37.769Z] ---> Running in dcdcc03c5563 [2022-06-23T11:05:37.769Z] Removing intermediate container dcdcc03c5563 [2022-06-23T11:05:37.769Z] ---> 8c48e4ee8873 [2022-06-23T11:05:37.769Z] Step 12/12 : RUN $MAKE [2022-06-23T11:05:37.769Z] ---> Running in 4137ef58655b [2022-06-23T11:05:37.769Z] noop [2022-06-23T11:05:37.769Z] Removing intermediate container 4137ef58655b [2022-06-23T11:05:37.769Z] ---> 7807d53f1227 [2022-06-23T11:05:37.769Z] Successfully built 7807d53f1227 [2022-06-23T11:05:37.769Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:05:38.093Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T11:05:38.093Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T11:05:38.180Z] prd-ubuntu20.04-docker-8c-8g-15444 does not seem to be running inside a container [2022-06-23T11:05:38.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-23T11:05:38.576Z] $ docker top 00faf31c10afc1bb41ce0545129d924df212938b7693482b4621a3a7ddc5d1ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T11:05:38.928Z] + go version [2022-06-23T11:05:38.928Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-23T11:05:38.944Z] $ docker stop --time=1 00faf31c10afc1bb41ce0545129d924df212938b7693482b4621a3a7ddc5d1ae [2022-06-23T11:05:40.241Z] $ docker rm -f 00faf31c10afc1bb41ce0545129d924df212938b7693482b4621a3a7ddc5d1ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:05:40.655Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-23T11:05:40.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T11:05:40.731Z] prd-ubuntu20.04-docker-8c-8g-15444 does not seem to be running inside a container [2022-06-23T11:05:40.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-23T11:05:41.137Z] $ docker top b436d90373c0bafebc7e1b3a029a03cde571ea6bbf534999b4a4f22fde9ca71d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T11:05:41.493Z] + make test [2022-06-23T11:05:41.493Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-23T11:05:41.769Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-23T11:05:51.925Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-23T11:05:51.925Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements [2022-06-23T11:05:57.213Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T11:06:00.508Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T11:06:00.508Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T11:06:00.508Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T11:06:00.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T11:06:00.799Z] $ docker stop --time=1 b436d90373c0bafebc7e1b3a029a03cde571ea6bbf534999b4a4f22fde9ca71d [2022-06-23T11:06:02.619Z] $ docker rm -f b436d90373c0bafebc7e1b3a029a03cde571ea6bbf534999b4a4f22fde9ca71d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T11:06:03.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T11:06:03.109Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-23T11:06:03.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T11:06:03.825Z] + ls -al . [2022-06-23T11:06:03.825Z] total 192 [2022-06-23T11:06:03.825Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 23 11:06 . [2022-06-23T11:06:03.825Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 11:04 .. [2022-06-23T11:06:03.825Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 11:05 .git [2022-06-23T11:06:03.825Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 11:04 .github [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 23 11:04 .gitignore [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 23 11:04 .golangci.yml [2022-06-23T11:06:03.825Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 11:05 .semver [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 23 11:04 Attribution.txt [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 23 11:04 CHANGELOG.md [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 23 11:04 Dockerfile [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 11:04 GOVERNANCE.md [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 11:04 Jenkinsfile [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 11:04 LICENSE [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 23 11:04 Makefile [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 23 11:04 OWNERS.md [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 23 11:04 README.md [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 11:05 VERSION [2022-06-23T11:06:03.825Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 11:04 bin [2022-06-23T11:06:03.825Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 11:04 cmd [2022-06-23T11:06:03.825Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 23 11:05 coverage.out [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 23 11:04 go.mod [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 23 11:04 go.sum [2022-06-23T11:06:03.825Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 11:04 internal [2022-06-23T11:06:03.825Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 11:04 snap [2022-06-23T11:06:03.825Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 23 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:06:04.137Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=91de058d25bd39d5ee8e4f968f0dfa221084a88f --label arch=amd64 --label version=0.0.0 . [2022-06-23T11:06:04.137Z] Sending build context to Docker daemon 23.18MB [2022-06-23T11:06:04.137Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T11:06:04.137Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T11:06:04.137Z] ---> 7807d53f1227 [2022-06-23T11:06:04.137Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T11:06:04.396Z] ---> Running in 303ff12f75f3 [2022-06-23T11:06:04.396Z] Removing intermediate container 303ff12f75f3 [2022-06-23T11:06:04.396Z] ---> 7ceb1081dbb1 [2022-06-23T11:06:04.396Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T11:06:04.396Z] ---> Running in 67f467da6851 [2022-06-23T11:06:04.655Z] Removing intermediate container 67f467da6851 [2022-06-23T11:06:04.655Z] ---> fd656426eb28 [2022-06-23T11:06:04.655Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-23T11:06:04.655Z] ---> Running in 6b015ea72332 [2022-06-23T11:06:04.655Z] Removing intermediate container 6b015ea72332 [2022-06-23T11:06:04.655Z] ---> 28724480cedd [2022-06-23T11:06:04.655Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T11:06:04.655Z] ---> Running in 2ab89864c76b [2022-06-23T11:06:05.226Z] Removing intermediate container 2ab89864c76b [2022-06-23T11:06:05.226Z] ---> 5354f6132a53 [2022-06-23T11:06:05.226Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T11:06:05.226Z] ---> Running in 168b31c0ece9 [2022-06-23T11:06:05.487Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-23T11:06:06.440Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-23T11:06:06.701Z] OK: 224 MiB in 56 packages [2022-06-23T11:06:06.961Z] Removing intermediate container 168b31c0ece9 [2022-06-23T11:06:06.961Z] ---> 573ae082797b [2022-06-23T11:06:06.961Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-23T11:06:07.222Z] ---> 3f8f9fa12ae5 [2022-06-23T11:06:07.222Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T11:06:07.222Z] ---> Running in e6630a801de3 [2022-06-23T11:06:07.792Z] Removing intermediate container e6630a801de3 [2022-06-23T11:06:07.792Z] ---> e5d9aeaaa079 [2022-06-23T11:06:07.792Z] Step 10/26 : COPY . . [2022-06-23T11:06:08.365Z] ---> ffb3acd7f754 [2022-06-23T11:06:08.365Z] Step 11/26 : ARG MAKE='make build' [2022-06-23T11:06:08.365Z] ---> Running in ecd11b3df6cf [2022-06-23T11:06:08.365Z] Removing intermediate container ecd11b3df6cf [2022-06-23T11:06:08.365Z] ---> 503ca367094e [2022-06-23T11:06:08.365Z] Step 12/26 : RUN $MAKE [2022-06-23T11:06:08.626Z] ---> Running in d88fdf4c9c98 [2022-06-23T11:06:08.626Z] 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-23T11:06:30.577Z] Removing intermediate container d88fdf4c9c98 [2022-06-23T11:06:30.577Z] ---> 53c72597b5f2 [2022-06-23T11:06:30.577Z] Step 13/26 : FROM alpine:3.14 [2022-06-23T11:06:30.577Z] 3.14: Pulling from library/alpine [2022-06-23T11:06:30.577Z] 8663204ce13b: Pulling fs layer [2022-06-23T11:06:30.577Z] 8663204ce13b: Verifying Checksum [2022-06-23T11:06:30.577Z] 8663204ce13b: Download complete [2022-06-23T11:06:30.577Z] 8663204ce13b: Pull complete [2022-06-23T11:06:30.577Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-23T11:06:30.577Z] Status: Downloaded newer image for alpine:3.14 [2022-06-23T11:06:30.577Z] ---> e04c818066af [2022-06-23T11:06:30.577Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-23T11:06:30.577Z] ---> Running in a8909155ed7f [2022-06-23T11:06:30.577Z] Removing intermediate container a8909155ed7f [2022-06-23T11:06:30.577Z] ---> 5585b8746627 [2022-06-23T11:06:30.577Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T11:06:30.577Z] ---> Running in 6e8adfb85020 [2022-06-23T11:06:30.577Z] Removing intermediate container 6e8adfb85020 [2022-06-23T11:06:30.577Z] ---> f9ff5717264c [2022-06-23T11:06:30.577Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T11:06:30.577Z] ---> Running in a5c145fa473c [2022-06-23T11:06:30.577Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-23T11:06:30.577Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-23T11:06:31.148Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T11:06:31.148Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-23T11:06:31.148Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T11:06:31.148Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-23T11:06:31.408Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T11:06:31.408Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T11:06:31.408Z] Executing busybox-1.33.1-r7.trigger [2022-06-23T11:06:31.408Z] OK: 8 MiB in 20 packages [2022-06-23T11:06:31.979Z] Removing intermediate container a5c145fa473c [2022-06-23T11:06:31.979Z] ---> 150f2be2f48f [2022-06-23T11:06:31.979Z] Step 17/26 : WORKDIR / [2022-06-23T11:06:31.979Z] ---> Running in 15042285cfbf [2022-06-23T11:06:31.979Z] Removing intermediate container 15042285cfbf [2022-06-23T11:06:31.979Z] ---> 01335570f22d [2022-06-23T11:06:31.979Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-23T11:06:32.240Z] ---> 1738f0ec318c [2022-06-23T11:06:32.240Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-23T11:06:32.499Z] ---> 2d7bb2b1e0b6 [2022-06-23T11:06:32.499Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-23T11:06:33.067Z] ---> 7b163556d70f [2022-06-23T11:06:33.067Z] Step 21/26 : EXPOSE 59900 [2022-06-23T11:06:33.067Z] ---> Running in 8045578dfb68 [2022-06-23T11:06:33.067Z] Removing intermediate container 8045578dfb68 [2022-06-23T11:06:33.067Z] ---> 9e81700c8d59 [2022-06-23T11:06:33.067Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-23T11:06:33.067Z] ---> Running in 86b38af94d15 [2022-06-23T11:06:33.327Z] Removing intermediate container 86b38af94d15 [2022-06-23T11:06:33.327Z] ---> a1d943644b96 [2022-06-23T11:06:33.327Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T11:06:33.327Z] ---> Running in 098c4057b364 [2022-06-23T11:06:33.327Z] Removing intermediate container 098c4057b364 [2022-06-23T11:06:33.327Z] ---> cc24a0026889 [2022-06-23T11:06:33.327Z] Step 24/26 : LABEL arch=amd64 [2022-06-23T11:06:33.327Z] ---> Running in 8a628fea3d54 [2022-06-23T11:06:33.588Z] Removing intermediate container 8a628fea3d54 [2022-06-23T11:06:33.588Z] ---> 8cbb36bc99b3 [2022-06-23T11:06:33.588Z] Step 25/26 : LABEL git_sha=91de058d25bd39d5ee8e4f968f0dfa221084a88f [2022-06-23T11:06:33.588Z] ---> Running in db65bdb08747 [2022-06-23T11:06:33.588Z] Removing intermediate container db65bdb08747 [2022-06-23T11:06:33.588Z] ---> 252d3cd7b3fd [2022-06-23T11:06:33.588Z] Step 26/26 : LABEL version=0.0.0 [2022-06-23T11:06:33.588Z] ---> Running in 6f47ca4554ef [2022-06-23T11:06:33.588Z] Removing intermediate container 6f47ca4554ef [2022-06-23T11:06:33.588Z] ---> a2652abcd9fa [2022-06-23T11:06:33.588Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T11:06:33.849Z] Successfully built a2652abcd9fa [2022-06-23T11:06:33.849Z] 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-23T11:06:34.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T11:06:34.268Z] [2022-06-23T11:06:34.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:06:34.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T11:06:34.570Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-23T11:06:34.570Z] 5eb5b503b376: Pulling fs layer [2022-06-23T11:06:34.570Z] 5c69ac0246d0: Pulling fs layer [2022-06-23T11:06:34.570Z] ec43610c2a17: Pulling fs layer [2022-06-23T11:06:34.570Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-23T11:06:34.570Z] 33b1e0a273af: Pulling fs layer [2022-06-23T11:06:34.570Z] 5d3b04190fa2: Pulling fs layer [2022-06-23T11:06:34.570Z] 2f39f015ded8: Pulling fs layer [2022-06-23T11:06:34.570Z] 33b1e0a273af: Waiting [2022-06-23T11:06:34.570Z] 5d3b04190fa2: Waiting [2022-06-23T11:06:34.570Z] 2f39f015ded8: Waiting [2022-06-23T11:06:34.570Z] 3a2ae6a8a46f: Waiting [2022-06-23T11:06:34.570Z] 5c69ac0246d0: Download complete [2022-06-23T11:06:34.570Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-23T11:06:34.570Z] 3a2ae6a8a46f: Download complete [2022-06-23T11:06:34.570Z] 33b1e0a273af: Verifying Checksum [2022-06-23T11:06:34.570Z] 33b1e0a273af: Download complete [2022-06-23T11:06:34.570Z] 5d3b04190fa2: Verifying Checksum [2022-06-23T11:06:34.570Z] 5d3b04190fa2: Download complete [2022-06-23T11:06:34.829Z] ec43610c2a17: Verifying Checksum [2022-06-23T11:06:34.829Z] ec43610c2a17: Download complete [2022-06-23T11:06:34.829Z] 5eb5b503b376: Verifying Checksum [2022-06-23T11:06:34.829Z] 5eb5b503b376: Download complete [2022-06-23T11:06:36.209Z] 5eb5b503b376: Pull complete [2022-06-23T11:06:36.209Z] 5c69ac0246d0: Pull complete [2022-06-23T11:06:36.776Z] ec43610c2a17: Pull complete [2022-06-23T11:06:36.776Z] 3a2ae6a8a46f: Pull complete [2022-06-23T11:06:36.776Z] 33b1e0a273af: Pull complete [2022-06-23T11:06:37.035Z] 5d3b04190fa2: Pull complete [2022-06-23T11:06:41.228Z] 2f39f015ded8: Pull complete [2022-06-23T11:06:41.228Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-23T11:06:41.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T11:06:41.228Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T11:06:41.321Z] prd-ubuntu20.04-docker-8c-8g-15444 does not seem to be running inside a container [2022-06-23T11:06:41.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-23T11:06:43.090Z] $ docker top baebe8bd2e8a679f6412ba22eefe6e3ead51a316111897a1db4288e1eabfd53d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:06:43.483Z] ---> job-cost.sh [2022-06-23T11:06:43.483Z] lf-activate-venv: SKIPPING [2022-06-23T11:06:43.483Z] INFO: No Stack... [2022-06-23T11:06:43.744Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T11:06:44.315Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T11:06:44.615Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-23T11:06:44.615Z] + cut -d, -f6 [Pipeline] lock [2022-06-23T11:06:44.630Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-21-stack-cost] [2022-06-23T11:06:44.635Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-21-stack-cost] did not exist. Created. [2022-06-23T11:06:44.635Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T11:06:44.938Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-23T11:06:44.963Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T11:06:44.971Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T11:06:44.992Z] $ docker stop --time=1 baebe8bd2e8a679f6412ba22eefe6e3ead51a316111897a1db4288e1eabfd53d [2022-06-23T11:06:46.160Z] $ docker rm -f baebe8bd2e8a679f6412ba22eefe6e3ead51a316111897a1db4288e1eabfd53d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-23T11:06:59.474Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15445 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-23T11:06:59.488Z] Running in /w/workspace/device-virtual-go/21 [Pipeline] { [Pipeline] checkout [2022-06-23T11:06:59.531Z] The recommended git tool is: git [2022-06-23T11:07:05.645Z] using credential edgex-jenkins-ssh [2022-06-23T11:07:05.664Z] Cloning the remote Git repository [2022-06-23T11:07:05.731Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-23T11:07:05.807Z] > git init /w/workspace/device-virtual-go/21 # timeout=10 [2022-06-23T11:07:06.003Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-23T11:07:06.007Z] > git --version # timeout=10 [2022-06-23T11:07:06.060Z] > git --version # 'git version 2.25.1' [2022-06-23T11:07:06.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T11:07:06.157Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T11:07:08.582Z] Merging remotes/origin/main commit 6c956091e39ebf418aab18435948f90fcdb39d95 into PR head commit 91de058d25bd39d5ee8e4f968f0dfa221084a88f [2022-06-23T11:07:08.810Z] Merge succeeded, producing 91de058d25bd39d5ee8e4f968f0dfa221084a88f [2022-06-23T11:07:08.810Z] Checking out Revision 91de058d25bd39d5ee8e4f968f0dfa221084a88f (PR-290) [2022-06-23T11:07:07.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-23T11:07:07.972Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-23T11:07:08.000Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-23T11:07:08.040Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-23T11:07:08.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T11:07:08.060Z] > 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-23T11:07:08.601Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T11:07:08.622Z] > git checkout -f 91de058d25bd39d5ee8e4f968f0dfa221084a88f # timeout=10 [2022-06-23T11:07:08.711Z] > git remote # timeout=10 [2022-06-23T11:07:08.732Z] > git config --get remote.origin.url # timeout=10 [2022-06-23T11:07:08.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-23T11:07:08.763Z] > git merge 6c956091e39ebf418aab18435948f90fcdb39d95 # timeout=10 [2022-06-23T11:07:08.789Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-23T11:07:08.817Z] > git config core.sparsecheckout # timeout=10 [2022-06-23T11:07:08.828Z] > git checkout -f 91de058d25bd39d5ee8e4f968f0dfa221084a88f # timeout=10 [2022-06-23T11:07:12.969Z] Commit message: "refactor(snap): Combine install and configure hook executables (#2)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T11:07:13.899Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-23T11:07:13.899Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T11:07:13.899Z] Dload Upload Total Spent Left Speed [2022-06-23T11:07:13.899Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2022-06-23T11:07:14.759Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-23T11:07:15.101Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-23T11:07:15.101Z] + sudo tee /etc/docker/daemon.new [2022-06-23T11:07:15.101Z] { [2022-06-23T11:07:15.101Z] "registry-mirrors": [ [2022-06-23T11:07:15.101Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-23T11:07:15.101Z] ], [2022-06-23T11:07:15.101Z] "bip": "10.250.0.254/24", [2022-06-23T11:07:15.101Z] "hosts": [ [2022-06-23T11:07:15.101Z] "tcp://0.0.0.0:5555", [2022-06-23T11:07:15.101Z] "unix:///var/run/docker.sock" [2022-06-23T11:07:15.101Z] ], [2022-06-23T11:07:15.101Z] "mtu": 1458, [2022-06-23T11:07:15.101Z] "selinux-enabled": true, [2022-06-23T11:07:15.101Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-23T11:07:15.101Z] } [Pipeline] sh [2022-06-23T11:07:15.461Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-23T11:07:15.801Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T11:07:34.148Z] provisioning config files... [2022-06-23T11:07:34.173Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/21@tmp/config5536428354558556019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:07:34.529Z] ---> docker-login.sh [2022-06-23T11:07:34.529Z] nexus3.edgexfoundry.org:10001 [2022-06-23T11:07:35.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:07:35.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:07:35.407Z] Configure a credential helper to remove this warning. See [2022-06-23T11:07:35.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:07:35.407Z] [2022-06-23T11:07:35.407Z] Login Succeeded [2022-06-23T11:07:35.407Z] nexus3.edgexfoundry.org:10002 [2022-06-23T11:07:35.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:07:35.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:07:35.680Z] Configure a credential helper to remove this warning. See [2022-06-23T11:07:35.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:07:35.680Z] [2022-06-23T11:07:35.680Z] Login Succeeded [2022-06-23T11:07:35.954Z] nexus3.edgexfoundry.org:10003 [2022-06-23T11:07:36.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:07:36.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:07:36.229Z] Configure a credential helper to remove this warning. See [2022-06-23T11:07:36.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:07:36.229Z] [2022-06-23T11:07:36.229Z] Login Succeeded [2022-06-23T11:07:36.229Z] nexus3.edgexfoundry.org:10004 [2022-06-23T11:07:36.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:07:36.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:07:36.778Z] Configure a credential helper to remove this warning. See [2022-06-23T11:07:36.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:07:36.778Z] [2022-06-23T11:07:36.778Z] Login Succeeded [2022-06-23T11:07:36.778Z] docker.io [2022-06-23T11:07:37.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-23T11:07:37.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-23T11:07:37.645Z] Configure a credential helper to remove this warning. See [2022-06-23T11:07:37.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-23T11:07:37.645Z] [2022-06-23T11:07:37.645Z] Login Succeeded [2022-06-23T11:07:37.645Z] ---> docker-login.sh ends [Pipeline] } [2022-06-23T11:07:37.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-23T11:07:38.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T11:07:38.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-23T11:07:38.155Z] ========================================================= [2022-06-23T11:07:38.156Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-23T11:07:38.156Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:07:38.509Z] + 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-23T11:07:39.129Z] Sending build context to Docker daemon 11.76MB [2022-06-23T11:07:39.129Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T11:07:39.129Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-23T11:07:39.129Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-23T11:07:39.129Z] 9b3977197b4f: Pulling fs layer [2022-06-23T11:07:39.129Z] 1a89e8eeedd5: Pulling fs layer [2022-06-23T11:07:39.129Z] 94645a83ff95: Pulling fs layer [2022-06-23T11:07:39.129Z] e6fb740bc735: Pulling fs layer [2022-06-23T11:07:39.129Z] 3a77bd46dcc9: Pulling fs layer [2022-06-23T11:07:39.129Z] 355e64cbe906: Pulling fs layer [2022-06-23T11:07:39.129Z] 63ab81a10011: Pulling fs layer [2022-06-23T11:07:39.129Z] 555d1d1c4555: Pulling fs layer [2022-06-23T11:07:39.129Z] 7d9057610161: Pulling fs layer [2022-06-23T11:07:39.129Z] 355e64cbe906: Waiting [2022-06-23T11:07:39.129Z] 63ab81a10011: Waiting [2022-06-23T11:07:39.129Z] 555d1d1c4555: Waiting [2022-06-23T11:07:39.129Z] 7d9057610161: Waiting [2022-06-23T11:07:39.129Z] e6fb740bc735: Waiting [2022-06-23T11:07:39.129Z] 3a77bd46dcc9: Waiting [2022-06-23T11:07:39.129Z] 94645a83ff95: Verifying Checksum [2022-06-23T11:07:39.129Z] 94645a83ff95: Download complete [2022-06-23T11:07:39.129Z] 1a89e8eeedd5: Download complete [2022-06-23T11:07:39.129Z] 3a77bd46dcc9: Verifying Checksum [2022-06-23T11:07:39.129Z] 3a77bd46dcc9: Download complete [2022-06-23T11:07:39.409Z] 355e64cbe906: Verifying Checksum [2022-06-23T11:07:39.409Z] 355e64cbe906: Download complete [2022-06-23T11:07:39.409Z] 9b3977197b4f: Download complete [2022-06-23T11:07:39.409Z] 63ab81a10011: Verifying Checksum [2022-06-23T11:07:39.409Z] 63ab81a10011: Download complete [2022-06-23T11:07:40.021Z] 9b3977197b4f: Pull complete [2022-06-23T11:07:40.300Z] 7d9057610161: Verifying Checksum [2022-06-23T11:07:40.300Z] 7d9057610161: Download complete [2022-06-23T11:07:40.906Z] 1a89e8eeedd5: Pull complete [2022-06-23T11:07:41.182Z] 94645a83ff95: Pull complete [2022-06-23T11:07:41.457Z] 555d1d1c4555: Verifying Checksum [2022-06-23T11:07:41.457Z] 555d1d1c4555: Download complete [2022-06-23T11:07:42.063Z] e6fb740bc735: Verifying Checksum [2022-06-23T11:07:42.063Z] e6fb740bc735: Download complete [2022-06-23T11:07:54.497Z] e6fb740bc735: Pull complete [2022-06-23T11:07:54.497Z] 3a77bd46dcc9: Pull complete [2022-06-23T11:07:54.497Z] 355e64cbe906: Pull complete [2022-06-23T11:07:54.497Z] 63ab81a10011: Pull complete [2022-06-23T11:08:01.226Z] 555d1d1c4555: Pull complete [2022-06-23T11:08:02.666Z] 7d9057610161: Pull complete [2022-06-23T11:08:02.666Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-23T11:08:02.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-23T11:08:02.666Z] ---> 819e984ddca1 [2022-06-23T11:08:02.666Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T11:08:04.663Z] ---> Running in 9fa0bac602e4 [2022-06-23T11:08:06.102Z] Removing intermediate container 9fa0bac602e4 [2022-06-23T11:08:06.102Z] ---> c954f3159355 [2022-06-23T11:08:06.102Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T11:08:06.102Z] ---> Running in 06525b037570 [2022-06-23T11:08:06.102Z] Removing intermediate container 06525b037570 [2022-06-23T11:08:06.102Z] ---> 9f074b5ca642 [2022-06-23T11:08:06.102Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-23T11:08:06.379Z] ---> Running in 55b04926aaf1 [2022-06-23T11:08:06.653Z] Removing intermediate container 55b04926aaf1 [2022-06-23T11:08:06.653Z] ---> 7daa9d3bc1ad [2022-06-23T11:08:06.653Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T11:08:06.653Z] ---> Running in d8e3bf380a21 [2022-06-23T11:08:08.631Z] Removing intermediate container d8e3bf380a21 [2022-06-23T11:08:08.631Z] ---> 9c6186b4041e [2022-06-23T11:08:08.631Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T11:08:08.631Z] ---> Running in 76bda7107992 [2022-06-23T11:08:09.242Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T11:08:10.220Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T11:08:11.198Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-23T11:08:11.198Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-23T11:08:11.198Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-23T11:08:11.470Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-23T11:08:11.470Z] Executing busybox-1.34.1-r3.trigger [2022-06-23T11:08:11.470Z] OK: 224 MiB in 56 packages [2022-06-23T11:08:12.452Z] Removing intermediate container 76bda7107992 [2022-06-23T11:08:12.452Z] ---> e8df8c3fdecd [2022-06-23T11:08:12.452Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-23T11:08:13.054Z] ---> 6fd24466411f [2022-06-23T11:08:13.054Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T11:08:13.054Z] ---> Running in 0fc8ed6c2302 [2022-06-23T11:09:00.076Z] Removing intermediate container 0fc8ed6c2302 [2022-06-23T11:09:00.076Z] ---> 93045c38be80 [2022-06-23T11:09:00.076Z] Step 10/12 : COPY . . [2022-06-23T11:09:00.076Z] ---> 8aff3e674df4 [2022-06-23T11:09:00.076Z] Step 11/12 : ARG MAKE='make build' [2022-06-23T11:09:00.076Z] ---> Running in 19fbd8ff36d1 [2022-06-23T11:09:00.076Z] Removing intermediate container 19fbd8ff36d1 [2022-06-23T11:09:00.076Z] ---> 73000928ad65 [2022-06-23T11:09:00.076Z] Step 12/12 : RUN $MAKE [2022-06-23T11:09:00.076Z] ---> Running in 1a267ea9e5aa [2022-06-23T11:09:00.076Z] noop [2022-06-23T11:09:00.076Z] Removing intermediate container 1a267ea9e5aa [2022-06-23T11:09:00.076Z] ---> f943a3744e1b [2022-06-23T11:09:00.076Z] Successfully built f943a3744e1b [2022-06-23T11:09:00.076Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:09:00.459Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T11:09:00.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T11:09:00.714Z] prd-ubuntu20.04-docker-arm64-4c-16g-15445 does not seem to be running inside a container [2022-06-23T11:09:00.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/21 -v /w/workspace/device-virtual-go/21:/w/workspace/device-virtual-go/21:rw,z -v /w/workspace/device-virtual-go/21@tmp:/w/workspace/device-virtual-go/21@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-23T11:09:02.155Z] $ docker top 49ff9cc0fad140aadc9886a45cd4a4d300284584a56b46aecacc46f1ba7d0c31 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T11:09:03.073Z] + go version [2022-06-23T11:09:03.073Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-23T11:09:03.099Z] $ docker stop --time=1 49ff9cc0fad140aadc9886a45cd4a4d300284584a56b46aecacc46f1ba7d0c31 [2022-06-23T11:09:04.754Z] $ docker rm -f 49ff9cc0fad140aadc9886a45cd4a4d300284584a56b46aecacc46f1ba7d0c31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:09:05.361Z] + docker inspect -f . ci-base-image-arm64 [2022-06-23T11:09:05.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T11:09:05.614Z] prd-ubuntu20.04-docker-arm64-4c-16g-15445 does not seem to be running inside a container [2022-06-23T11:09:05.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/21 -v /w/workspace/device-virtual-go/21:/w/workspace/device-virtual-go/21:rw,z -v /w/workspace/device-virtual-go/21@tmp:/w/workspace/device-virtual-go/21@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-23T11:09:06.923Z] $ docker top e351fb609437e18b800bf071f9e5411d2b97dde926f9e48925ed9740ad080588 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-23T11:09:07.850Z] + make test [2022-06-23T11:09:07.850Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-23T11:09:09.290Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-23T11:10:31.150Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-23T11:10:31.150Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements [2022-06-23T11:10:31.150Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-23T11:10:31.150Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-23T11:10:53.340Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-23T11:10:53.340Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-23T11:10:53.340Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-23T11:10:54.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-23T11:10:54.830Z] $ docker stop --time=1 e351fb609437e18b800bf071f9e5411d2b97dde926f9e48925ed9740ad080588 [2022-06-23T11:10:56.594Z] $ docker rm -f e351fb609437e18b800bf071f9e5411d2b97dde926f9e48925ed9740ad080588 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-23T11:10:57.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-23T11:10:57.534Z] Warning: overwriting stash ‘coverage-report’ [2022-06-23T11:10:58.027Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-23T11:10:58.429Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-23T11:10:58.760Z] + ls -al . [2022-06-23T11:10:58.760Z] total 188 [2022-06-23T11:10:58.760Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 11:10 . [2022-06-23T11:10:58.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 11:07 .. [2022-06-23T11:10:58.760Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 11:07 .git [2022-06-23T11:10:58.760Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 11:07 .github [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 23 11:07 .gitignore [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 23 11:07 .golangci.yml [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 23 11:07 Attribution.txt [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 23 11:07 CHANGELOG.md [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 23 11:07 Dockerfile [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 23 11:07 GOVERNANCE.md [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 23 11:07 Jenkinsfile [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 23 11:07 LICENSE [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 23 11:07 Makefile [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 23 11:07 OWNERS.md [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 23 11:07 README.md [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 11:05 VERSION [2022-06-23T11:10:58.760Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 11:07 bin [2022-06-23T11:10:58.760Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 11:07 cmd [2022-06-23T11:10:58.760Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 23 11:10 coverage.out [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 23 11:07 go.mod [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 23 11:07 go.sum [2022-06-23T11:10:58.760Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 23 11:07 internal [2022-06-23T11:10:58.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 11:07 snap [2022-06-23T11:10:58.760Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 23 11:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:10:59.118Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=91de058d25bd39d5ee8e4f968f0dfa221084a88f --label arch=arm64 --label version=0.0.0 . [2022-06-23T11:10:59.715Z] Sending build context to Docker daemon 11.81MB [2022-06-23T11:10:59.715Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-23T11:10:59.715Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-23T11:10:59.715Z] ---> f943a3744e1b [2022-06-23T11:10:59.715Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-23T11:10:59.715Z] ---> Running in 24238a75cf35 [2022-06-23T11:10:59.990Z] Removing intermediate container 24238a75cf35 [2022-06-23T11:10:59.990Z] ---> 598b540cf50b [2022-06-23T11:10:59.990Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-23T11:11:00.267Z] ---> Running in 733e6da565d3 [2022-06-23T11:11:00.545Z] Removing intermediate container 733e6da565d3 [2022-06-23T11:11:00.545Z] ---> a9b4ecca236f [2022-06-23T11:11:00.545Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-23T11:11:00.545Z] ---> Running in 95fa17ec1fdf [2022-06-23T11:11:00.828Z] Removing intermediate container 95fa17ec1fdf [2022-06-23T11:11:00.828Z] ---> f126c1d8a2fa [2022-06-23T11:11:00.828Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T11:11:00.828Z] ---> Running in 74d35f5b49b1 [2022-06-23T11:11:02.814Z] Removing intermediate container 74d35f5b49b1 [2022-06-23T11:11:02.814Z] ---> b1cad9a33f38 [2022-06-23T11:11:02.814Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-23T11:11:02.814Z] ---> Running in 27ff75816ae3 [2022-06-23T11:11:03.415Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-23T11:11:04.418Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-23T11:11:05.397Z] OK: 224 MiB in 56 packages [2022-06-23T11:11:05.996Z] Removing intermediate container 27ff75816ae3 [2022-06-23T11:11:05.996Z] ---> ef3e36f18480 [2022-06-23T11:11:05.996Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-23T11:11:06.595Z] ---> 30f7ddeb7433 [2022-06-23T11:11:06.595Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-23T11:11:06.595Z] ---> Running in 34092658cc1c [2022-06-23T11:11:08.571Z] Removing intermediate container 34092658cc1c [2022-06-23T11:11:08.571Z] ---> cb2391fac1ca [2022-06-23T11:11:08.571Z] Step 10/26 : COPY . . [2022-06-23T11:11:10.007Z] ---> a37e88734550 [2022-06-23T11:11:10.007Z] Step 11/26 : ARG MAKE='make build' [2022-06-23T11:11:10.007Z] ---> Running in 897ef2a9c700 [2022-06-23T11:11:10.007Z] Removing intermediate container 897ef2a9c700 [2022-06-23T11:11:10.007Z] ---> cd5f643cbaff [2022-06-23T11:11:10.007Z] Step 12/26 : RUN $MAKE [2022-06-23T11:11:10.295Z] ---> Running in 130c8fb09633 [2022-06-23T11:11:11.280Z] 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-23T11:13:18.175Z] Removing intermediate container 130c8fb09633 [2022-06-23T11:13:18.175Z] ---> 47a4e9deabaa [2022-06-23T11:13:18.175Z] Step 13/26 : FROM alpine:3.14 [2022-06-23T11:13:18.175Z] 3.14: Pulling from library/alpine [2022-06-23T11:13:18.175Z] 455c02918c45: Pulling fs layer [2022-06-23T11:13:18.175Z] 455c02918c45: Verifying Checksum [2022-06-23T11:13:18.175Z] 455c02918c45: Download complete [2022-06-23T11:13:18.175Z] 455c02918c45: Pull complete [2022-06-23T11:13:18.175Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-23T11:13:18.175Z] Status: Downloaded newer image for alpine:3.14 [2022-06-23T11:13:18.175Z] ---> ac73e934f311 [2022-06-23T11:13:18.175Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-23T11:13:18.175Z] ---> Running in 60a86ad161cf [2022-06-23T11:13:18.175Z] Removing intermediate container 60a86ad161cf [2022-06-23T11:13:18.175Z] ---> aceee974a1fb [2022-06-23T11:13:18.175Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-23T11:13:18.175Z] ---> Running in 8604355a2473 [2022-06-23T11:13:18.175Z] Removing intermediate container 8604355a2473 [2022-06-23T11:13:18.175Z] ---> da24e8f28477 [2022-06-23T11:13:18.175Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-23T11:13:18.175Z] ---> Running in d10bfa99a9e1 [2022-06-23T11:13:18.175Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-23T11:13:18.175Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-23T11:13:18.175Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-23T11:13:18.175Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-23T11:13:18.175Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-23T11:13:18.175Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-23T11:13:18.175Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-23T11:13:18.175Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-23T11:13:18.175Z] Executing busybox-1.33.1-r7.trigger [2022-06-23T11:13:18.175Z] OK: 8 MiB in 20 packages [2022-06-23T11:13:18.175Z] Removing intermediate container d10bfa99a9e1 [2022-06-23T11:13:18.175Z] ---> 7999680af94b [2022-06-23T11:13:18.175Z] Step 17/26 : WORKDIR / [2022-06-23T11:13:18.175Z] ---> Running in 504c0651a060 [2022-06-23T11:13:18.175Z] Removing intermediate container 504c0651a060 [2022-06-23T11:13:18.175Z] ---> 4383a1a17a13 [2022-06-23T11:13:18.175Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-23T11:13:18.175Z] ---> 907d38277ab8 [2022-06-23T11:13:18.175Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-23T11:13:18.175Z] ---> a2be2dc46d18 [2022-06-23T11:13:18.175Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-23T11:13:18.175Z] ---> a6c8251455e3 [2022-06-23T11:13:18.175Z] Step 21/26 : EXPOSE 59900 [2022-06-23T11:13:18.175Z] ---> Running in 5926abc9abf6 [2022-06-23T11:13:18.175Z] Removing intermediate container 5926abc9abf6 [2022-06-23T11:13:18.175Z] ---> 143336b1fd58 [2022-06-23T11:13:18.175Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-23T11:13:18.175Z] ---> Running in 6640df3d268b [2022-06-23T11:13:18.175Z] Removing intermediate container 6640df3d268b [2022-06-23T11:13:18.175Z] ---> aa0b9576613d [2022-06-23T11:13:18.175Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-23T11:13:18.175Z] ---> Running in e7592328d141 [2022-06-23T11:13:18.175Z] Removing intermediate container e7592328d141 [2022-06-23T11:13:18.175Z] ---> c1b5d5a000be [2022-06-23T11:13:18.175Z] Step 24/26 : LABEL arch=arm64 [2022-06-23T11:13:18.175Z] ---> Running in 7fa60ad44cd6 [2022-06-23T11:13:18.176Z] Removing intermediate container 7fa60ad44cd6 [2022-06-23T11:13:18.176Z] ---> 81a5008238c2 [2022-06-23T11:13:18.176Z] Step 25/26 : LABEL git_sha=91de058d25bd39d5ee8e4f968f0dfa221084a88f [2022-06-23T11:13:18.176Z] ---> Running in 4049b8071a62 [2022-06-23T11:13:18.176Z] Removing intermediate container 4049b8071a62 [2022-06-23T11:13:18.176Z] ---> 199a71820132 [2022-06-23T11:13:18.176Z] Step 26/26 : LABEL version=0.0.0 [2022-06-23T11:13:18.176Z] ---> Running in e82455f62d9e [2022-06-23T11:13:18.176Z] Removing intermediate container e82455f62d9e [2022-06-23T11:13:18.176Z] ---> 19fea9686644 [2022-06-23T11:13:18.176Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-23T11:13:18.176Z] Successfully built 19fea9686644 [2022-06-23T11:13:18.176Z] 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-23T11:13:18.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T11:13:18.644Z] [2022-06-23T11:13:18.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:13:18.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T11:13:19.264Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-23T11:13:19.264Z] 8998bd30e6a1: Pulling fs layer [2022-06-23T11:13:19.264Z] 04944245beec: Pulling fs layer [2022-06-23T11:13:19.264Z] 699f458cf7ca: Pulling fs layer [2022-06-23T11:13:19.264Z] 765212b225bb: Pulling fs layer [2022-06-23T11:13:19.264Z] f23df028b6ca: Pulling fs layer [2022-06-23T11:13:19.264Z] d65c8cfc05b1: Pulling fs layer [2022-06-23T11:13:19.264Z] 2437ff75d9bd: Pulling fs layer [2022-06-23T11:13:19.264Z] 765212b225bb: Waiting [2022-06-23T11:13:19.264Z] f23df028b6ca: Waiting [2022-06-23T11:13:19.264Z] d65c8cfc05b1: Waiting [2022-06-23T11:13:19.264Z] 2437ff75d9bd: Waiting [2022-06-23T11:13:19.264Z] 04944245beec: Verifying Checksum [2022-06-23T11:13:19.264Z] 04944245beec: Download complete [2022-06-23T11:13:19.264Z] 765212b225bb: Verifying Checksum [2022-06-23T11:13:19.264Z] 765212b225bb: Download complete [2022-06-23T11:13:19.264Z] f23df028b6ca: Verifying Checksum [2022-06-23T11:13:19.264Z] f23df028b6ca: Download complete [2022-06-23T11:13:19.264Z] d65c8cfc05b1: Download complete [2022-06-23T11:13:19.539Z] 699f458cf7ca: Verifying Checksum [2022-06-23T11:13:19.539Z] 699f458cf7ca: Download complete [2022-06-23T11:13:19.812Z] 8998bd30e6a1: Verifying Checksum [2022-06-23T11:13:19.812Z] 8998bd30e6a1: Download complete [2022-06-23T11:13:22.439Z] 2437ff75d9bd: Verifying Checksum [2022-06-23T11:13:22.439Z] 2437ff75d9bd: Download complete [2022-06-23T11:13:23.880Z] 8998bd30e6a1: Pull complete [2022-06-23T11:13:24.478Z] 04944245beec: Pull complete [2022-06-23T11:13:25.914Z] 699f458cf7ca: Pull complete [2022-06-23T11:13:25.914Z] 765212b225bb: Pull complete [2022-06-23T11:13:26.889Z] f23df028b6ca: Pull complete [2022-06-23T11:13:27.166Z] d65c8cfc05b1: Pull complete [2022-06-23T11:13:42.255Z] 2437ff75d9bd: Pull complete [2022-06-23T11:13:42.255Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-23T11:13:42.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-23T11:13:42.255Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T11:13:42.558Z] prd-ubuntu20.04-docker-arm64-4c-16g-15445 does not seem to be running inside a container [2022-06-23T11:13:42.668Z] $ 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/21 -v /w/workspace/device-virtual-go/21:/w/workspace/device-virtual-go/21:rw,z -v /w/workspace/device-virtual-go/21@tmp:/w/workspace/device-virtual-go/21@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-23T11:13:45.253Z] $ docker top d1d6142c0e022bcacf50279d9ce40caf5d288981fdb9484a1eab94c679337112 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:13:46.224Z] ---> job-cost.sh [2022-06-23T11:13:46.224Z] lf-activate-venv: SKIPPING [2022-06-23T11:13:46.224Z] INFO: No Stack... [2022-06-23T11:13:46.817Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-23T11:13:47.412Z] INFO: Archiving Costs [Pipeline] sh [2022-06-23T11:13:48.340Z] + + cutcat -d, /w/workspace/device-virtual-go/21/archives/cost.csv -f6 [2022-06-23T11:13:48.340Z] [Pipeline] lock [2022-06-23T11:13:48.370Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-21-stack-cost] [2022-06-23T11:13:48.376Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-21-stack-cost] did not exist. Created. [2022-06-23T11:13:48.376Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-23T11:13:49.057Z] /w/workspace/device-virtual-go/21@tmp/durable-fb5252cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-23T11:13:49.725Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-23T11:13:49.752Z] Warning: overwriting stash ‘stack-cost’ [2022-06-23T11:13:49.794Z] Stashed 1 file(s) [Pipeline] } [2022-06-23T11:13:49.802Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-23T11:13:49.819Z] $ docker stop --time=1 d1d6142c0e022bcacf50279d9ce40caf5d288981fdb9484a1eab94c679337112 [2022-06-23T11:13:51.302Z] $ docker rm -f d1d6142c0e022bcacf50279d9ce40caf5d288981fdb9484a1eab94c679337112 [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-23T11:13:51.800Z] provisioning config files... [2022-06-23T11:13:51.808Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config3785549916943757207tmp [Pipeline] { [Pipeline] sh [2022-06-23T11:13:52.106Z] + set +x [2022-06-23T11:13:52.106Z] + curl -s https://codecov.io/bash [2022-06-23T11:13:52.106Z] + bash -s -- [2022-06-23T11:13:52.106Z] [2022-06-23T11:13:52.106Z] _____ _ [2022-06-23T11:13:52.106Z] / ____| | | [2022-06-23T11:13:52.106Z] | | ___ __| | ___ ___ _____ __ [2022-06-23T11:13:52.106Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-23T11:13:52.106Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-23T11:13:52.106Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-23T11:13:52.106Z] Bash-1.0.6 [2022-06-23T11:13:52.106Z] [2022-06-23T11:13:52.106Z] [2022-06-23T11:13:52.106Z] ==> git version 2.25.1 found [2022-06-23T11:13:52.106Z] ==> 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-23T11:13:52.106Z] Release-Date: 2020-01-08 [2022-06-23T11:13:52.106Z] 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-23T11:13:52.106Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-23T11:13:52.106Z] ==> Jenkins CI detected. [2022-06-23T11:13:52.106Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-23T11:13:52.106Z] project root: . [2022-06-23T11:13:52.106Z] --> token set from env [2022-06-23T11:13:52.106Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-23T11:13:52.106Z] ==> Running gcov in . (disable via -X gcov) [2022-06-23T11:13:52.106Z] ==> Python coveragepy not found [2022-06-23T11:13:52.106Z] ==> Searching for coverage reports in: [2022-06-23T11:13:52.106Z] + . [2022-06-23T11:13:52.106Z] -> Found 1 reports [2022-06-23T11:13:52.106Z] ==> Detecting git/mercurial file structure [2022-06-23T11:13:52.106Z] ==> Reading reports [2022-06-23T11:13:52.106Z] + ./coverage.out bytes=44128 [2022-06-23T11:13:52.106Z] ==> Appending adjustments [2022-06-23T11:13:52.106Z] https://docs.codecov.io/docs/fixing-reports [2022-06-23T11:13:52.368Z] + Found adjustments [2022-06-23T11:13:52.368Z] ==> Gzipping contents [2022-06-23T11:13:52.368Z] 8.0K /tmp/codecov.2h02GR.gz [2022-06-23T11:13:52.368Z] ==> Uploading reports [2022-06-23T11:13:52.368Z] url: https://codecov.io [2022-06-23T11:13:52.368Z] query: branch=PR-290&commit=91de058d25bd39d5ee8e4f968f0dfa221084a88f&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-23T11:13:52.368Z] -> Pinging Codecov [2022-06-23T11:13:52.368Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-290&commit=91de058d25bd39d5ee8e4f968f0dfa221084a88f&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-23T11:13:52.630Z] -> Uploading to [2022-06-23T11:13:52.630Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-23/5E52B4B073DB2E39498172D8E973AA87/91de058d25bd39d5ee8e4f968f0dfa221084a88f/3de90006-4848-41cd-9024-6e128e88a05a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220623T111352Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6d5de14113fb5e34e989441925c1868abe1667e950206cfc00255ed3bd78a44 [2022-06-23T11:13:52.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-23T11:13:52.630Z] Dload Upload Total Spent Left Speed [2022-06-23T11:13:52.891Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5522 0 0 100 5522 0 26421 --:--:-- --:--:-- --:--:-- 26421 [2022-06-23T11:13:52.891Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/91de058d25bd39d5ee8e4f968f0dfa221084a88f [Pipeline] } [2022-06-23T11:13:52.899Z] 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-23T11:13:53.617Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-23T11:13:53.617Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-23T11:13:53.617Z] total 16 [2022-06-23T11:13:53.617Z] drwxr-xr-x 3 root root 4096 Jun 23 11:06 . [2022-06-23T11:13:53.618Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 11:06 .. [2022-06-23T11:13:53.618Z] drwxr-xr-x 2 root root 4096 Jun 23 11:06 cost [2022-06-23T11:13:53.618Z] -rw-r--r-- 1 root root 89 Jun 23 11:06 cost.csv [2022-06-23T11:13:53.618Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-23T11:13:53.618Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-23T11:13:53.618Z] total 16 [2022-06-23T11:13:53.618Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 23 11:06 . [2022-06-23T11:13:53.618Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 11:06 .. [2022-06-23T11:13:53.618Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 23 11:06 cost [2022-06-23T11:13:53.618Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 23 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:13:53.915Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:13:54.784Z] ---> package-listing.sh [2022-06-23T11:13:54.784Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-23T11:13:54.784Z] ++ facter osfamily [2022-06-23T11:13:55.044Z] + OS_FAMILY=debian [2022-06-23T11:13:55.044Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-23T11:13:55.044Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-23T11:13:55.044Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-23T11:13:55.044Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-23T11:13:55.044Z] + PACKAGES=/tmp/packages_start.txt [2022-06-23T11:13:55.044Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-23T11:13:55.044Z] + PACKAGES=/tmp/packages_end.txt [2022-06-23T11:13:55.044Z] + case "${OS_FAMILY}" in [2022-06-23T11:13:55.044Z] + dpkg -l [2022-06-23T11:13:55.044Z] + grep '^ii' [2022-06-23T11:13:55.044Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-23T11:13:55.044Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-23T11:13:55.044Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-23T11:13:55.044Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-23T11:13:55.044Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-23T11:13:55.044Z] + 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-23T11:13:55.057Z] 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-23T11:13:55.335Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-23T11:13:55.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-23T11:13:55.909Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-23T11:13:55.992Z] prd-ubuntu20.04-docker-8c-8g-15444 does not seem to be running inside a container [2022-06-23T11:13:56.031Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-23T11:13:56.287Z] $ docker top 2558d558beaa0cabe903bab556a817785718ecc4bebcf623bdfeb208a9121c74 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-23T11:13:56.647Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-23T11:13:56.936Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-23T11:13:57.225Z] + ls /var/log/sa-host [2022-06-23T11:13:57.225Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-23T11:13:57.294Z] provisioning config files... [2022-06-23T11:13:57.302Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config7430902889077381980tmp [Pipeline] { [Pipeline] echo [2022-06-23T11:13:57.318Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:13:57.603Z] ---> create-netrc.sh [Pipeline] } [2022-06-23T11:13:57.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:13:57.960Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-23T11:13:57.970Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:13:58.259Z] ---> sudo-logs.sh [2022-06-23T11:13:58.259Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-23T11:13:58.279Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:13:58.564Z] ---> job-cost.sh [2022-06-23T11:13:58.564Z] lf-activate-venv: SKIPPING [2022-06-23T11:13:58.564Z] DEBUG: total: 0.2199999988079071 [2022-06-23T11:13:58.564Z] INFO: Retrieving Stack Cost... [2022-06-23T11:13:58.825Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-23T11:13:59.402Z] INFO: Archiving Costs [Pipeline] echo [2022-06-23T11:13:59.415Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-23T11:13:59.705Z] ---> logs-deploy.sh [2022-06-23T11:13:59.705Z] lf-activate-venv: SKIPPING [2022-06-23T11:13:59.705Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/21 [2022-06-23T11:13:59.705Z] INFO: archiving workspace using pattern(s): [2022-06-23T11:14:00.652Z] Archives upload complete. [2022-06-23T11:14:00.652Z] INFO: archiving logs to Nexus