Pull request #295 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4eb75458b2a93413042e76e3cbdef04a1d1998a5+1d4e8f4054c4eba570bba0e22a22434fb299a39f (f96c7a4283a32e9ea353d1652313e92bf218e734) 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-ssh7973280838126008842.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-ssh10988460730252968246.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16499331545993382616.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7595833028822331745.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8630220435168940986.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-295/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-295/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1167977303732921906.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-17408 in /w/workspace/foundry_device-virtual-go_PR-295 [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-295 # 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 1d4e8f4054c4eba570bba0e22a22434fb299a39f into PR head commit 4eb75458b2a93413042e76e3cbdef04a1d1998a5 Merge succeeded, producing 4eb75458b2a93413042e76e3cbdef04a1d1998a5 Checking out Revision 4eb75458b2a93413042e76e3cbdef04a1d1998a5 (PR-295) > 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/295/head:refs/remotes/origin/PR-295 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4eb75458b2a93413042e76e3cbdef04a1d1998a5 # 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 1d4e8f4054c4eba570bba0e22a22434fb299a39f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4eb75458b2a93413042e76e3cbdef04a1d1998a5 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-11T11:05:20.154Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-11T11:05:20.361Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T11:05:20.468Z] ========================================================= [2022-07-11T11:05:20.468Z] EdgeX Global Pipelines Version Info [2022-07-11T11:05:20.468Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:05:21.282Z] ------------------- [2022-07-11T11:05:21.283Z] stable info: [2022-07-11T11:05:21.283Z] ------------------- [2022-07-11T11:05:21.283Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T11:05:21.283Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-11T11:05:21.283Z] Message: update stable to v1.0.234 [2022-07-11T11:05:21.859Z] ------------------- [2022-07-11T11:05:21.859Z] experimental info: [2022-07-11T11:05:21.859Z] ------------------- [2022-07-11T11:05:21.859Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T11:05:21.859Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T11:05:21.859Z] Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-11T11:05:22.240Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-07-11T11:05:22.285Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-07-11T11:05:22.326Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-11T11:05:22.366Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-11T11:05:22.402Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-11T11:05:22.445Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-11T11:05:22.486Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-11T11:05:22.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-11T11:05:22.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-11T11:05:22.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-11T11:05:22.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-11T11:05:22.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-07-11T11:05:22.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-11T11:05:22.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-11T11:05:22.827Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T11:05:22.862Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T11:05:22.905Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T11:05:22.939Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T11:05:22.978Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-11T11:05:23.014Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-11T11:05:23.050Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-11T11:05:23.093Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-11T11:05:23.132Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-11T11:05:23.172Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-11T11:05:23.217Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-11T11:05:23.260Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-11T11:05:23.300Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-11T11:05:23.344Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-295 [Pipeline] echo [2022-07-11T11:05:23.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-295 [Pipeline] echo [2022-07-11T11:05:23.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-295 [Pipeline] echo [2022-07-11T11:05:23.471Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4eb75458b2a93413042e76e3cbdef04a1d1998a5 [Pipeline] echo [2022-07-11T11:05:23.513Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4eb7545 [Pipeline] echo [2022-07-11T11:05:23.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T11:05:23.673Z] provisioning config files... [2022-07-11T11:05:23.688Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-295@tmp/config5448560696288853490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:05:24.037Z] ---> docker-login.sh [2022-07-11T11:05:24.037Z] nexus3.edgexfoundry.org:10001 [2022-07-11T11:05:24.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:05:24.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:05:24.299Z] Configure a credential helper to remove this warning. See [2022-07-11T11:05:24.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:05:24.299Z] [2022-07-11T11:05:24.299Z] Login Succeeded [2022-07-11T11:05:24.299Z] nexus3.edgexfoundry.org:10002 [2022-07-11T11:05:24.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:05:24.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:05:24.561Z] Configure a credential helper to remove this warning. See [2022-07-11T11:05:24.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:05:24.561Z] [2022-07-11T11:05:24.561Z] Login Succeeded [2022-07-11T11:05:24.561Z] nexus3.edgexfoundry.org:10003 [2022-07-11T11:05:24.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:05:24.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:05:24.822Z] Configure a credential helper to remove this warning. See [2022-07-11T11:05:24.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:05:24.822Z] [2022-07-11T11:05:24.822Z] Login Succeeded [2022-07-11T11:05:24.822Z] nexus3.edgexfoundry.org:10004 [2022-07-11T11:05:24.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:05:24.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:05:24.822Z] Configure a credential helper to remove this warning. See [2022-07-11T11:05:24.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:05:24.822Z] [2022-07-11T11:05:24.822Z] Login Succeeded [2022-07-11T11:05:24.822Z] docker.io [2022-07-11T11:05:24.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:05:25.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:05:25.396Z] Configure a credential helper to remove this warning. See [2022-07-11T11:05:25.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:05:25.396Z] [2022-07-11T11:05:25.396Z] Login Succeeded [2022-07-11T11:05:25.396Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T11:05:25.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-11T11:05:26.052Z] + git rev-list -1 --merges 4eb75458b2a93413042e76e3cbdef04a1d1998a5~1..4eb75458b2a93413042e76e3cbdef04a1d1998a5 [Pipeline] echo [2022-07-11T11:05:26.098Z] -----------> git rev-list -1 --merges 4eb75458b2a93413042e76e3cbdef04a1d1998a5~1..4eb75458b2a93413042e76e3cbdef04a1d1998a5 4eb75458b2a93413042e76e3cbdef04a1d1998a5 [false] [Pipeline] sh [2022-07-11T11:05:26.409Z] + git log --format=format:%s -1 4eb75458b2a93413042e76e3cbdef04a1d1998a5 [Pipeline] echo [2022-07-11T11:05:26.445Z] ========================================================= [2022-07-11T11:05:26.445Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-11T11:05:26.445Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T11:05:26.889Z] + git log --format=format:%s -1 4eb75458b2a93413042e76e3cbdef04a1d1998a5 [Pipeline] echo [2022-07-11T11:05:26.919Z] [semverPrep] GIT_COMMIT: 4eb75458b2a93413042e76e3cbdef04a1d1998a5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-07-11T11:05:26.948Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-11T11:05:27.338Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T11:05:27.338Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-11T11:05:27.338Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-11T11:05:27.338Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-11T11:05:27.338Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-11T11:05:27.338Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-11T11:05:27.338Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:05:27.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T11:05:27.766Z] [2022-07-11T11:05:27.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:05:28.145Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T11:05:28.145Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-11T11:05:28.145Z] b85a868b505f: Pulling fs layer [2022-07-11T11:05:28.145Z] e2be974225ed: Pulling fs layer [2022-07-11T11:05:28.145Z] 339a4e72a1f5: Pulling fs layer [2022-07-11T11:05:28.145Z] 988bab9f4d93: Pulling fs layer [2022-07-11T11:05:28.145Z] 1469e6f7b9e6: Pulling fs layer [2022-07-11T11:05:28.145Z] eaf3925da568: Pulling fs layer [2022-07-11T11:05:28.145Z] bab4dde63d76: Pulling fs layer [2022-07-11T11:05:28.145Z] 1469e6f7b9e6: Waiting [2022-07-11T11:05:28.145Z] 988bab9f4d93: Waiting [2022-07-11T11:05:28.145Z] eaf3925da568: Waiting [2022-07-11T11:05:28.145Z] bde34c3a00c8: Pulling fs layer [2022-07-11T11:05:28.145Z] b352a97aabf1: Pulling fs layer [2022-07-11T11:05:28.145Z] bab4dde63d76: Waiting [2022-07-11T11:05:28.145Z] 4872d77fe225: Pulling fs layer [2022-07-11T11:05:28.145Z] 5851b861e8e6: Pulling fs layer [2022-07-11T11:05:28.145Z] bde34c3a00c8: Waiting [2022-07-11T11:05:28.145Z] b352a97aabf1: Waiting [2022-07-11T11:05:28.145Z] 5851b861e8e6: Waiting [2022-07-11T11:05:28.145Z] 4872d77fe225: Waiting [2022-07-11T11:05:28.145Z] e2be974225ed: Verifying Checksum [2022-07-11T11:05:28.145Z] e2be974225ed: Download complete [2022-07-11T11:05:28.145Z] 988bab9f4d93: Verifying Checksum [2022-07-11T11:05:28.145Z] 988bab9f4d93: Download complete [2022-07-11T11:05:28.405Z] 1469e6f7b9e6: Verifying Checksum [2022-07-11T11:05:28.405Z] 1469e6f7b9e6: Download complete [2022-07-11T11:05:28.405Z] 339a4e72a1f5: Verifying Checksum [2022-07-11T11:05:28.405Z] 339a4e72a1f5: Download complete [2022-07-11T11:05:28.405Z] eaf3925da568: Download complete [2022-07-11T11:05:28.406Z] bde34c3a00c8: Download complete [2022-07-11T11:05:28.406Z] b352a97aabf1: Verifying Checksum [2022-07-11T11:05:28.406Z] b352a97aabf1: Download complete [2022-07-11T11:05:28.406Z] 4872d77fe225: Verifying Checksum [2022-07-11T11:05:28.406Z] 4872d77fe225: Download complete [2022-07-11T11:05:28.406Z] 5851b861e8e6: Verifying Checksum [2022-07-11T11:05:28.406Z] 5851b861e8e6: Download complete [2022-07-11T11:05:28.406Z] b85a868b505f: Download complete [2022-07-11T11:05:28.665Z] bab4dde63d76: Verifying Checksum [2022-07-11T11:05:28.665Z] bab4dde63d76: Download complete [2022-07-11T11:05:29.604Z] b85a868b505f: Pull complete [2022-07-11T11:05:29.864Z] e2be974225ed: Pull complete [2022-07-11T11:05:30.433Z] 339a4e72a1f5: Pull complete [2022-07-11T11:05:30.433Z] 988bab9f4d93: Pull complete [2022-07-11T11:05:30.693Z] 1469e6f7b9e6: Pull complete [2022-07-11T11:05:30.956Z] eaf3925da568: Pull complete [2022-07-11T11:05:32.866Z] bab4dde63d76: Pull complete [2022-07-11T11:05:32.866Z] bde34c3a00c8: Pull complete [2022-07-11T11:05:33.127Z] b352a97aabf1: Pull complete [2022-07-11T11:05:33.127Z] 4872d77fe225: Pull complete [2022-07-11T11:05:33.127Z] 5851b861e8e6: Pull complete [2022-07-11T11:05:33.127Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-11T11:05:33.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T11:05:33.127Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T11:05:33.365Z] prd-ubuntu20.04-docker-8c-8g-17408 does not seem to be running inside a container [2022-07-11T11:05:33.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-295 -v /w/workspace/foundry_device-virtual-go_PR-295:/w/workspace/foundry_device-virtual-go_PR-295:rw,z -v /w/workspace/foundry_device-virtual-go_PR-295@tmp:/w/workspace/foundry_device-virtual-go_PR-295@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T11:05:34.985Z] $ docker top 233b60bc21489ee9b66d92bcf4c69d8417f970ce15bf12795343b75d062a5774 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T11:05:35.172Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T11:05:35.172Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T11:05:35.314Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T11:05:35.321Z] $ docker exec 233b60bc21489ee9b66d92bcf4c69d8417f970ce15bf12795343b75d062a5774 ssh-agent [2022-07-11T11:05:35.443Z] SSH_AUTH_SOCK=/tmp/ssh-VVm1SSAa8YBb/agent.33 [2022-07-11T11:05:35.443Z] SSH_AGENT_PID=39 [2022-07-11T11:05:35.452Z] Running ssh-add (command line suppressed) [2022-07-11T11:05:35.572Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-295@tmp/private_key_8045258738734612412.key (/w/workspace/foundry_device-virtual-go_PR-295@tmp/private_key_8045258738734612412.key) [2022-07-11T11:05:35.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T11:05:35.919Z] + git tag --points-at HEAD [Pipeline] } [2022-07-11T11:05:35.949Z] $ docker exec --env ******** --env ******** 233b60bc21489ee9b66d92bcf4c69d8417f970ce15bf12795343b75d062a5774 ssh-agent -k [2022-07-11T11:05:36.060Z] unset SSH_AUTH_SOCK; [2022-07-11T11:05:36.061Z] unset SSH_AGENT_PID; [2022-07-11T11:05:36.061Z] echo Agent pid 39 killed; [2022-07-11T11:05:36.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-11T11:05:36.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T11:05:36.163Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T11:05:36.290Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T11:05:36.297Z] $ docker exec 233b60bc21489ee9b66d92bcf4c69d8417f970ce15bf12795343b75d062a5774 ssh-agent [2022-07-11T11:05:36.426Z] SSH_AUTH_SOCK=/tmp/ssh-MTsKErQekIZe/agent.72 [2022-07-11T11:05:36.426Z] SSH_AGENT_PID=78 [2022-07-11T11:05:36.432Z] Running ssh-add (command line suppressed) [2022-07-11T11:05:36.556Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-295@tmp/private_key_6711744170863828046.key (/w/workspace/foundry_device-virtual-go_PR-295@tmp/private_key_6711744170863828046.key) [2022-07-11T11:05:36.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T11:05:36.904Z] + git semver init [2022-07-11T11:05:37.171Z] 2022-07-11 11:05:37,119 [run_init] DEBUG init version:0.0.0 force:False [2022-07-11T11:05:37.171Z] 2022-07-11 11:05:37,120 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-295/.semver [2022-07-11T11:05:37.171Z] 2022-07-11 11:05:37,120 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-295/.semver [2022-07-11T11:05:37.171Z] 2022-07-11 11:05:37,121 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-295/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-295, universal_newlines=False, shell=None, istream=None) [2022-07-11T11:05:38.115Z] 2022-07-11 11:05:38,080 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-295/.git/info/exclude [2022-07-11T11:05:38.115Z] 2022-07-11 11:05:38,081 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-295/.semver/PR-295 with force:False [2022-07-11T11:05:38.115Z] 2022-07-11 11:05:38,081 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-295/.semver/PR-295 [2022-07-11T11:05:38.115Z] 2022-07-11 11:05:38,085 [execute] INFO git cat-file --batch-check [2022-07-11T11:05:38.115Z] 2022-07-11 11:05:38,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-295/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T11:05:38.115Z] 2022-07-11 11:05:38,092 [execute] INFO git cat-file --batch [2022-07-11T11:05:38.115Z] 2022-07-11 11:05:38,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-295/.semver, universal_newlines=False, shell=None, istream=) [2022-07-11T11:05:38.115Z] 2022-07-11 11:05:38,098 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-295/.semver/PR-295 [2022-07-11T11:05:38.115Z] 0.0.0 [Pipeline] } [2022-07-11T11:05:38.145Z] $ docker exec --env ******** --env ******** 233b60bc21489ee9b66d92bcf4c69d8417f970ce15bf12795343b75d062a5774 ssh-agent -k [2022-07-11T11:05:38.279Z] unset SSH_AUTH_SOCK; [2022-07-11T11:05:38.279Z] unset SSH_AGENT_PID; [2022-07-11T11:05:38.279Z] echo Agent pid 78 killed; [2022-07-11T11:05:38.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T11:05:38.697Z] + git semver [Pipeline] } [2022-07-11T11:05:38.987Z] $ docker stop --time=1 233b60bc21489ee9b66d92bcf4c69d8417f970ce15bf12795343b75d062a5774 [2022-07-11T11:05:40.319Z] $ docker rm -f 233b60bc21489ee9b66d92bcf4c69d8417f970ce15bf12795343b75d062a5774 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T11:05:40.735Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-11T11:05:41.056Z] Stashed 1 file(s) [Pipeline] echo [2022-07-11T11:05:41.072Z] [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-07-11T11:05:41.657Z] provisioning config files... [2022-07-11T11:05:41.668Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-295@tmp/config6045398694601661808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:05:42.018Z] ---> docker-login.sh [2022-07-11T11:05:42.018Z] nexus3.edgexfoundry.org:10001 [2022-07-11T11:05:42.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:05:42.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:05:42.019Z] Configure a credential helper to remove this warning. See [2022-07-11T11:05:42.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:05:42.019Z] [2022-07-11T11:05:42.019Z] Login Succeeded [2022-07-11T11:05:42.019Z] nexus3.edgexfoundry.org:10002 [2022-07-11T11:05:42.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:05:42.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:05:42.278Z] Configure a credential helper to remove this warning. See [2022-07-11T11:05:42.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:05:42.278Z] [2022-07-11T11:05:42.278Z] Login Succeeded [2022-07-11T11:05:42.278Z] nexus3.edgexfoundry.org:10003 [2022-07-11T11:05:42.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:05:42.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:05:42.278Z] Configure a credential helper to remove this warning. See [2022-07-11T11:05:42.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:05:42.278Z] [2022-07-11T11:05:42.278Z] Login Succeeded [2022-07-11T11:05:42.278Z] nexus3.edgexfoundry.org:10004 [2022-07-11T11:05:42.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:05:42.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:05:42.544Z] Configure a credential helper to remove this warning. See [2022-07-11T11:05:42.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:05:42.544Z] [2022-07-11T11:05:42.544Z] Login Succeeded [2022-07-11T11:05:42.544Z] docker.io [2022-07-11T11:05:42.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:05:42.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:05:42.805Z] Configure a credential helper to remove this warning. See [2022-07-11T11:05:42.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:05:42.805Z] [2022-07-11T11:05:42.805Z] Login Succeeded [2022-07-11T11:05:42.805Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T11:05:42.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T11:05:43.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T11:05:43.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T11:05:43.100Z] ========================================================= [2022-07-11T11:05:43.100Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-11T11:05:43.100Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:05:43.579Z] + 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-07-11T11:05:43.579Z] Sending build context to Docker daemon 23.05MB [2022-07-11T11:05:43.579Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T11:05:43.579Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T11:05:43.842Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-11T11:05:43.842Z] 59bf1c3509f3: Pulling fs layer [2022-07-11T11:05:43.842Z] 666ba61612fd: Pulling fs layer [2022-07-11T11:05:43.842Z] 8ed8ca486205: Pulling fs layer [2022-07-11T11:05:43.842Z] cc1cd167ecdc: Pulling fs layer [2022-07-11T11:05:43.842Z] c516ae0d96e1: Pulling fs layer [2022-07-11T11:05:43.842Z] 684cea983483: Pulling fs layer [2022-07-11T11:05:43.842Z] dd3240ac7de5: Pulling fs layer [2022-07-11T11:05:43.842Z] b1e948a4e11c: Pulling fs layer [2022-07-11T11:05:43.842Z] a8fd76ee1af6: Pulling fs layer [2022-07-11T11:05:43.842Z] 646ad004c059: Pulling fs layer [2022-07-11T11:05:43.842Z] b1e948a4e11c: Waiting [2022-07-11T11:05:43.842Z] cc1cd167ecdc: Waiting [2022-07-11T11:05:43.842Z] 684cea983483: Waiting [2022-07-11T11:05:43.842Z] 646ad004c059: Waiting [2022-07-11T11:05:43.842Z] dd3240ac7de5: Waiting [2022-07-11T11:05:43.842Z] c516ae0d96e1: Waiting [2022-07-11T11:05:43.842Z] a8fd76ee1af6: Waiting [2022-07-11T11:05:43.842Z] 8ed8ca486205: Verifying Checksum [2022-07-11T11:05:43.842Z] 8ed8ca486205: Download complete [2022-07-11T11:05:43.842Z] 666ba61612fd: Verifying Checksum [2022-07-11T11:05:43.842Z] 666ba61612fd: Download complete [2022-07-11T11:05:43.842Z] c516ae0d96e1: Verifying Checksum [2022-07-11T11:05:43.842Z] c516ae0d96e1: Download complete [2022-07-11T11:05:43.842Z] 684cea983483: Verifying Checksum [2022-07-11T11:05:43.842Z] 684cea983483: Download complete [2022-07-11T11:05:43.842Z] 59bf1c3509f3: Verifying Checksum [2022-07-11T11:05:43.842Z] 59bf1c3509f3: Download complete [2022-07-11T11:05:43.842Z] dd3240ac7de5: Download complete [2022-07-11T11:05:43.842Z] b1e948a4e11c: Verifying Checksum [2022-07-11T11:05:43.842Z] b1e948a4e11c: Download complete [2022-07-11T11:05:44.103Z] 59bf1c3509f3: Pull complete [2022-07-11T11:05:44.103Z] 666ba61612fd: Pull complete [2022-07-11T11:05:44.364Z] 8ed8ca486205: Pull complete [2022-07-11T11:05:44.364Z] 646ad004c059: Verifying Checksum [2022-07-11T11:05:44.364Z] 646ad004c059: Download complete [2022-07-11T11:05:44.364Z] a8fd76ee1af6: Verifying Checksum [2022-07-11T11:05:44.364Z] a8fd76ee1af6: Download complete [2022-07-11T11:05:44.625Z] cc1cd167ecdc: Verifying Checksum [2022-07-11T11:05:44.625Z] cc1cd167ecdc: Download complete [2022-07-11T11:05:48.826Z] cc1cd167ecdc: Pull complete [2022-07-11T11:05:48.826Z] c516ae0d96e1: Pull complete [2022-07-11T11:05:48.826Z] 684cea983483: Pull complete [2022-07-11T11:05:48.826Z] dd3240ac7de5: Pull complete [2022-07-11T11:05:48.826Z] b1e948a4e11c: Pull complete [2022-07-11T11:05:51.362Z] a8fd76ee1af6: Pull complete [2022-07-11T11:05:51.934Z] 646ad004c059: Pull complete [2022-07-11T11:05:51.934Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-11T11:05:51.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-11T11:05:51.934Z] ---> 8f69c11f6b0c [2022-07-11T11:05:51.934Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T11:05:53.857Z] ---> Running in 7a6a98a1d829 [2022-07-11T11:05:53.857Z] Removing intermediate container 7a6a98a1d829 [2022-07-11T11:05:53.857Z] ---> e73d167a7f65 [2022-07-11T11:05:53.857Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T11:05:53.857Z] ---> Running in d274c082a5e1 [2022-07-11T11:05:53.857Z] Removing intermediate container d274c082a5e1 [2022-07-11T11:05:53.857Z] ---> 91012be1bb96 [2022-07-11T11:05:53.857Z] Step 5/12 : WORKDIR /device-virtual-go [2022-07-11T11:05:53.857Z] ---> Running in 6867a26b9660 [2022-07-11T11:05:54.118Z] Removing intermediate container 6867a26b9660 [2022-07-11T11:05:54.118Z] ---> 433bda7416f5 [2022-07-11T11:05:54.118Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T11:05:54.118Z] ---> Running in 84f364dde65f [2022-07-11T11:05:54.689Z] Removing intermediate container 84f364dde65f [2022-07-11T11:05:54.689Z] ---> 47a21aceb458 [2022-07-11T11:05:54.689Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T11:05:54.689Z] ---> Running in 1dc4bac2e846 [2022-07-11T11:05:54.950Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T11:05:56.481Z] Still waiting to schedule task [2022-07-11T11:05:56.482Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-11T11:05:56.865Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T11:05:56.865Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T11:05:56.865Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T11:05:57.126Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T11:05:57.126Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T11:05:57.412Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T11:05:57.413Z] OK: 224 MiB in 56 packages [2022-07-11T11:05:57.680Z] Removing intermediate container 1dc4bac2e846 [2022-07-11T11:05:57.680Z] ---> f398fb31211d [2022-07-11T11:05:57.680Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-11T11:05:57.940Z] ---> 8d5dab73c470 [2022-07-11T11:05:57.940Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T11:05:57.940Z] ---> Running in 87b2d0a8b263 [2022-07-11T11:06:16.088Z] Removing intermediate container 87b2d0a8b263 [2022-07-11T11:06:16.088Z] ---> 743db50f3b5d [2022-07-11T11:06:16.088Z] Step 10/12 : COPY . . [2022-07-11T11:06:16.660Z] ---> 272211e0b067 [2022-07-11T11:06:16.660Z] Step 11/12 : ARG MAKE='make build' [2022-07-11T11:06:16.660Z] ---> Running in 053d2b34b492 [2022-07-11T11:06:16.660Z] Removing intermediate container 053d2b34b492 [2022-07-11T11:06:16.660Z] ---> d9281882228a [2022-07-11T11:06:16.660Z] Step 12/12 : RUN $MAKE [2022-07-11T11:06:16.660Z] ---> Running in 13b90b9104f0 [2022-07-11T11:06:16.922Z] noop [2022-07-11T11:06:17.495Z] Removing intermediate container 13b90b9104f0 [2022-07-11T11:06:17.495Z] ---> 7b3b4d84a577 [2022-07-11T11:06:17.495Z] Successfully built 7b3b4d84a577 [2022-07-11T11:06:17.495Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:06:17.959Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T11:06:17.959Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T11:06:18.178Z] prd-ubuntu20.04-docker-8c-8g-17408 does not seem to be running inside a container [2022-07-11T11:06:18.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-295 -v /w/workspace/foundry_device-virtual-go_PR-295:/w/workspace/foundry_device-virtual-go_PR-295:rw,z -v /w/workspace/foundry_device-virtual-go_PR-295@tmp:/w/workspace/foundry_device-virtual-go_PR-295@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 ******** ci-base-image-x86_64 cat [2022-07-11T11:06:18.653Z] $ docker top 0c5efb06166d10c19e3abd2066f68fb756a392834c20989f88ea373ac3a0118e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T11:06:19.063Z] + go version [2022-07-11T11:06:19.063Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-11T11:06:19.096Z] $ docker stop --time=1 0c5efb06166d10c19e3abd2066f68fb756a392834c20989f88ea373ac3a0118e [2022-07-11T11:06:20.390Z] $ docker rm -f 0c5efb06166d10c19e3abd2066f68fb756a392834c20989f88ea373ac3a0118e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:06:21.121Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T11:06:21.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T11:06:21.293Z] prd-ubuntu20.04-docker-8c-8g-17408 does not seem to be running inside a container [2022-07-11T11:06:21.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-295 -v /w/workspace/foundry_device-virtual-go_PR-295:/w/workspace/foundry_device-virtual-go_PR-295:rw,z -v /w/workspace/foundry_device-virtual-go_PR-295@tmp:/w/workspace/foundry_device-virtual-go_PR-295@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 ******** ci-base-image-x86_64 cat [2022-07-11T11:06:21.758Z] $ docker top 0adfe45f18309f9c838b0f71459236990f9142aee3242d81482a9e131ddea2f8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T11:06:22.210Z] + make test [2022-07-11T11:06:22.210Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T11:06:22.473Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-07-11T11:06:32.461Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-07-11T11:06:32.461Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements [2022-07-11T11:06:39.033Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T11:06:43.238Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T11:06:43.238Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T11:06:43.238Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T11:06:43.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T11:06:43.570Z] $ docker stop --time=1 0adfe45f18309f9c838b0f71459236990f9142aee3242d81482a9e131ddea2f8 [2022-07-11T11:06:45.403Z] $ docker rm -f 0adfe45f18309f9c838b0f71459236990f9142aee3242d81482a9e131ddea2f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T11:06:45.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T11:06:45.975Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-11T11:06:46.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T11:06:46.979Z] + ls -al . [2022-07-11T11:06:46.980Z] total 192 [2022-07-11T11:06:46.980Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 11:06 . [2022-07-11T11:06:46.980Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 11:05 .. [2022-07-11T11:06:46.980Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 11:05 .git [2022-07-11T11:06:46.980Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 11:05 .github [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 337 Jul 11 11:05 .gitignore [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 11:05 .golangci.yml [2022-07-11T11:06:46.980Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 11:05 .semver [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jul 11 11:05 Attribution.txt [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jul 11 11:05 CHANGELOG.md [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jul 11 11:05 Dockerfile [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 11:05 GOVERNANCE.md [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 11 11:05 Jenkinsfile [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 11:05 LICENSE [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jul 11 11:05 Makefile [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 11 11:05 OWNERS.md [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jul 11 11:05 README.md [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 11:05 VERSION [2022-07-11T11:06:46.980Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 11:05 bin [2022-07-11T11:06:46.980Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 11:05 cmd [2022-07-11T11:06:46.980Z] -rw-r--r-- 1 jenkins jenkins 44128 Jul 11 11:06 coverage.out [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 3190 Jul 11 11:05 go.mod [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 35764 Jul 11 11:05 go.sum [2022-07-11T11:06:46.980Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 11:05 internal [2022-07-11T11:06:46.980Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 11:05 snap [2022-07-11T11:06:46.980Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 11 11:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:06:47.385Z] + 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=4eb75458b2a93413042e76e3cbdef04a1d1998a5 --label arch=amd64 --label version=0.0.0 . [2022-07-11T11:06:47.385Z] Sending build context to Docker daemon 23.1MB [2022-07-11T11:06:47.385Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T11:06:47.385Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-11T11:06:47.385Z] ---> 7b3b4d84a577 [2022-07-11T11:06:47.385Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T11:06:47.645Z] ---> Running in 99c415b6b7a6 [2022-07-11T11:06:47.645Z] Removing intermediate container 99c415b6b7a6 [2022-07-11T11:06:47.645Z] ---> 4061945b1394 [2022-07-11T11:06:47.645Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T11:06:47.645Z] ---> Running in d43589e1002e [2022-07-11T11:06:47.906Z] Removing intermediate container d43589e1002e [2022-07-11T11:06:47.906Z] ---> c3a8760de5ed [2022-07-11T11:06:47.906Z] Step 5/26 : WORKDIR /device-virtual-go [2022-07-11T11:06:47.906Z] ---> Running in ef8cbeefc2b1 [2022-07-11T11:06:47.906Z] Removing intermediate container ef8cbeefc2b1 [2022-07-11T11:06:47.906Z] ---> 24b3bac11513 [2022-07-11T11:06:47.906Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T11:06:47.906Z] ---> Running in a52c3a028a5e [2022-07-11T11:06:48.846Z] Removing intermediate container a52c3a028a5e [2022-07-11T11:06:48.846Z] ---> 5b2abb94f459 [2022-07-11T11:06:48.846Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T11:06:48.846Z] ---> Running in c0b0fa921474 [2022-07-11T11:06:48.846Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-11T11:06:49.789Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-11T11:06:50.053Z] OK: 224 MiB in 56 packages [2022-07-11T11:06:50.623Z] Removing intermediate container c0b0fa921474 [2022-07-11T11:06:50.623Z] ---> 19361febc773 [2022-07-11T11:06:50.623Z] Step 8/26 : COPY go.mod vendor* ./ [2022-07-11T11:06:50.623Z] ---> 722b8e9c33ef [2022-07-11T11:06:50.623Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T11:06:50.623Z] ---> Running in 38fd78c2fd84 [2022-07-11T11:06:51.567Z] Removing intermediate container 38fd78c2fd84 [2022-07-11T11:06:51.567Z] ---> f6c193d24964 [2022-07-11T11:06:51.567Z] Step 10/26 : COPY . . [2022-07-11T11:06:51.829Z] ---> e93978d4f942 [2022-07-11T11:06:51.829Z] Step 11/26 : ARG MAKE='make build' [2022-07-11T11:06:51.829Z] ---> Running in 3d98bda3a757 [2022-07-11T11:06:52.090Z] Removing intermediate container 3d98bda3a757 [2022-07-11T11:06:52.090Z] ---> 44039a5b044e [2022-07-11T11:06:52.090Z] Step 12/26 : RUN $MAKE [2022-07-11T11:06:52.090Z] ---> Running in 6920ccd363fa [2022-07-11T11:06:52.350Z] 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-07-11T11:07:14.302Z] Removing intermediate container 6920ccd363fa [2022-07-11T11:07:14.302Z] ---> a76fe94c267a [2022-07-11T11:07:14.302Z] Step 13/26 : FROM alpine:3.14 [2022-07-11T11:07:14.302Z] 3.14: Pulling from library/alpine [2022-07-11T11:07:14.302Z] 8663204ce13b: Pulling fs layer [2022-07-11T11:07:14.302Z] 8663204ce13b: Verifying Checksum [2022-07-11T11:07:14.302Z] 8663204ce13b: Download complete [2022-07-11T11:07:14.302Z] 8663204ce13b: Pull complete [2022-07-11T11:07:14.302Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-11T11:07:14.302Z] Status: Downloaded newer image for alpine:3.14 [2022-07-11T11:07:14.302Z] ---> e04c818066af [2022-07-11T11:07:14.302Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-07-11T11:07:14.302Z] ---> Running in f3cba2160cca [2022-07-11T11:07:14.302Z] Removing intermediate container f3cba2160cca [2022-07-11T11:07:14.302Z] ---> 8dcdb6e12c47 [2022-07-11T11:07:14.302Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T11:07:14.302Z] ---> Running in eda50aa83bfc [2022-07-11T11:07:14.302Z] Removing intermediate container eda50aa83bfc [2022-07-11T11:07:14.302Z] ---> c3d36538cf4f [2022-07-11T11:07:14.302Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T11:07:14.302Z] ---> Running in 928dd7c7ba18 [2022-07-11T11:07:14.302Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-11T11:07:14.874Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-11T11:07:15.134Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T11:07:15.134Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-11T11:07:15.394Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T11:07:15.394Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-11T11:07:15.654Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T11:07:15.655Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T11:07:15.655Z] Executing busybox-1.33.1-r7.trigger [2022-07-11T11:07:15.655Z] OK: 8 MiB in 20 packages [2022-07-11T11:07:16.225Z] Removing intermediate container 928dd7c7ba18 [2022-07-11T11:07:16.225Z] ---> 63f4dc6114ea [2022-07-11T11:07:16.225Z] Step 17/26 : WORKDIR / [2022-07-11T11:07:16.225Z] ---> Running in 116cd68a0174 [2022-07-11T11:07:16.225Z] Removing intermediate container 116cd68a0174 [2022-07-11T11:07:16.225Z] ---> f52f3953ffd2 [2022-07-11T11:07:16.225Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-07-11T11:07:16.486Z] ---> 4e47bd6f0d82 [2022-07-11T11:07:16.486Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-07-11T11:07:16.486Z] ---> 30bf9c432ced [2022-07-11T11:07:16.486Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-07-11T11:07:17.429Z] ---> c1f9c6f16334 [2022-07-11T11:07:17.429Z] Step 21/26 : EXPOSE 59900 [2022-07-11T11:07:17.429Z] ---> Running in 387987c7313a [2022-07-11T11:07:17.429Z] Removing intermediate container 387987c7313a [2022-07-11T11:07:17.429Z] ---> e8cb6358b855 [2022-07-11T11:07:17.429Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-07-11T11:07:17.429Z] ---> Running in ddf592e919ad [2022-07-11T11:07:17.689Z] Removing intermediate container ddf592e919ad [2022-07-11T11:07:17.689Z] ---> 770c1da265c6 [2022-07-11T11:07:17.689Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-11T11:07:17.689Z] ---> Running in 00e597313890 [2022-07-11T11:07:17.689Z] Removing intermediate container 00e597313890 [2022-07-11T11:07:17.689Z] ---> 4b4d7b217f59 [2022-07-11T11:07:17.689Z] Step 24/26 : LABEL arch=amd64 [2022-07-11T11:07:17.689Z] ---> Running in 5dfc37cfb31b [2022-07-11T11:07:17.949Z] Removing intermediate container 5dfc37cfb31b [2022-07-11T11:07:17.949Z] ---> 4daefb417dbc [2022-07-11T11:07:17.949Z] Step 25/26 : LABEL git_sha=4eb75458b2a93413042e76e3cbdef04a1d1998a5 [2022-07-11T11:07:17.949Z] ---> Running in ede0f3d5938a [2022-07-11T11:07:17.949Z] Removing intermediate container ede0f3d5938a [2022-07-11T11:07:17.949Z] ---> 72943261fff1 [2022-07-11T11:07:17.949Z] Step 26/26 : LABEL version=0.0.0 [2022-07-11T11:07:17.949Z] ---> Running in c248d7538125 [2022-07-11T11:07:18.211Z] Removing intermediate container c248d7538125 [2022-07-11T11:07:18.211Z] ---> 9bf788f0903b [2022-07-11T11:07:18.211Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T11:07:18.211Z] Successfully built 9bf788f0903b [2022-07-11T11:07:18.211Z] 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-07-11T11:07:19.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T11:07:19.092Z] [2022-07-11T11:07:19.092Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:07:19.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T11:07:19.467Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-11T11:07:19.467Z] 5eb5b503b376: Pulling fs layer [2022-07-11T11:07:19.467Z] 5c69ac0246d0: Pulling fs layer [2022-07-11T11:07:19.467Z] ec43610c2a17: Pulling fs layer [2022-07-11T11:07:19.467Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-11T11:07:19.467Z] 33b1e0a273af: Pulling fs layer [2022-07-11T11:07:19.467Z] 5d3b04190fa2: Pulling fs layer [2022-07-11T11:07:19.467Z] 2f39f015ded8: Pulling fs layer [2022-07-11T11:07:19.467Z] 33b1e0a273af: Waiting [2022-07-11T11:07:19.467Z] 3a2ae6a8a46f: Waiting [2022-07-11T11:07:19.467Z] 5d3b04190fa2: Waiting [2022-07-11T11:07:19.467Z] 2f39f015ded8: Waiting [2022-07-11T11:07:19.467Z] 5c69ac0246d0: Download complete [2022-07-11T11:07:19.467Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-11T11:07:19.467Z] 3a2ae6a8a46f: Download complete [2022-07-11T11:07:19.467Z] 33b1e0a273af: Verifying Checksum [2022-07-11T11:07:19.467Z] 33b1e0a273af: Download complete [2022-07-11T11:07:19.467Z] ec43610c2a17: Verifying Checksum [2022-07-11T11:07:19.467Z] ec43610c2a17: Download complete [2022-07-11T11:07:19.467Z] 5d3b04190fa2: Verifying Checksum [2022-07-11T11:07:19.467Z] 5d3b04190fa2: Download complete [2022-07-11T11:07:19.727Z] 5eb5b503b376: Verifying Checksum [2022-07-11T11:07:19.727Z] 5eb5b503b376: Download complete [2022-07-11T11:07:20.297Z] 2f39f015ded8: Download complete [2022-07-11T11:07:20.937Z] 5eb5b503b376: Pull complete [2022-07-11T11:07:21.215Z] 5c69ac0246d0: Pull complete [2022-07-11T11:07:21.474Z] ec43610c2a17: Pull complete [2022-07-11T11:07:21.734Z] 3a2ae6a8a46f: Pull complete [2022-07-11T11:07:21.734Z] 33b1e0a273af: Pull complete [2022-07-11T11:07:21.996Z] 5d3b04190fa2: Pull complete [2022-07-11T11:07:26.194Z] 2f39f015ded8: Pull complete [2022-07-11T11:07:26.194Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-11T11:07:26.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T11:07:26.194Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T11:07:26.452Z] prd-ubuntu20.04-docker-8c-8g-17408 does not seem to be running inside a container [2022-07-11T11:07:26.541Z] $ 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-295 -v /w/workspace/foundry_device-virtual-go_PR-295:/w/workspace/foundry_device-virtual-go_PR-295:rw,z -v /w/workspace/foundry_device-virtual-go_PR-295@tmp:/w/workspace/foundry_device-virtual-go_PR-295@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T11:07:28.149Z] $ docker top 53d78cca8c95f7ee8f29a60af950ec2617374e79a51a919fa7e54e6b763f7306 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:07:28.618Z] ---> job-cost.sh [2022-07-11T11:07:28.618Z] lf-activate-venv: SKIPPING [2022-07-11T11:07:28.618Z] INFO: No Stack... [2022-07-11T11:07:28.878Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T11:07:29.447Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T11:07:29.759Z] + cat /w/workspace/foundry_device-virtual-go_PR-295/archives/cost.csv [2022-07-11T11:07:29.759Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T11:07:29.798Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-295-1-stack-cost] [2022-07-11T11:07:29.803Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-295-1-stack-cost] did not exist. Created. [2022-07-11T11:07:29.803Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-295-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T11:07:30.196Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-11T11:07:30.241Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T11:07:30.269Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-295-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T11:07:30.350Z] $ docker stop --time=1 53d78cca8c95f7ee8f29a60af950ec2617374e79a51a919fa7e54e6b763f7306 [2022-07-11T11:07:31.530Z] $ docker rm -f 53d78cca8c95f7ee8f29a60af950ec2617374e79a51a919fa7e54e6b763f7306 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-11T11:07:36.335Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17409 in /w/workspace/foundry_device-virtual-go_PR-295 [Pipeline] { [Pipeline] ws [2022-07-11T11:07:36.374Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-07-11T11:07:36.450Z] The recommended git tool is: git [2022-07-11T11:07:43.178Z] using credential edgex-jenkins-ssh [2022-07-11T11:07:43.196Z] Cloning the remote Git repository [2022-07-11T11:07:43.265Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-07-11T11:07:43.348Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-07-11T11:07:43.453Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-07-11T11:07:43.454Z] > git --version # timeout=10 [2022-07-11T11:07:43.498Z] > git --version # 'git version 2.25.1' [2022-07-11T11:07:43.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T11:07:43.630Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T11:07:46.240Z] Merging remotes/origin/main commit 1d4e8f4054c4eba570bba0e22a22434fb299a39f into PR head commit 4eb75458b2a93413042e76e3cbdef04a1d1998a5 [2022-07-11T11:07:46.431Z] Merge succeeded, producing 4eb75458b2a93413042e76e3cbdef04a1d1998a5 [2022-07-11T11:07:46.431Z] Checking out Revision 4eb75458b2a93413042e76e3cbdef04a1d1998a5 (PR-295) [2022-07-11T11:07:45.700Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-07-11T11:07:45.719Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T11:07:45.743Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-07-11T11:07:45.776Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-07-11T11:07:45.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T11:07:45.790Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/295/head:refs/remotes/origin/PR-295 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-11T11:07:46.264Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T11:07:46.277Z] > git checkout -f 4eb75458b2a93413042e76e3cbdef04a1d1998a5 # timeout=10 [2022-07-11T11:07:46.357Z] > git remote # timeout=10 [2022-07-11T11:07:46.374Z] > git config --get remote.origin.url # timeout=10 [2022-07-11T11:07:46.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T11:07:46.399Z] > git merge 1d4e8f4054c4eba570bba0e22a22434fb299a39f # timeout=10 [2022-07-11T11:07:46.422Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-11T11:07:46.442Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T11:07:46.458Z] > git checkout -f 4eb75458b2a93413042e76e3cbdef04a1d1998a5 # timeout=10 [2022-07-11T11:07:50.563Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-07-11T11:07:50.624Z] > git --version # timeout=10 [2022-07-11T11:07:50.635Z] > git --version # 'git version 2.25.1' [2022-07-11T11:07:50.655Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T11:07:51.759Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-11T11:07:51.759Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T11:07:51.759Z] Dload Upload Total Spent Left Speed [2022-07-11T11:07:51.759Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 93709 0 --:--:-- --:--:-- --:--:-- 93709 [Pipeline] sh [2022-07-11T11:07:52.787Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-11T11:07:53.138Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-11T11:07:53.138Z] + sudo tee /etc/docker/daemon.new [2022-07-11T11:07:53.138Z] { [2022-07-11T11:07:53.138Z] "registry-mirrors": [ [2022-07-11T11:07:53.138Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-11T11:07:53.138Z] ], [2022-07-11T11:07:53.138Z] "bip": "10.250.0.254/24", [2022-07-11T11:07:53.138Z] "hosts": [ [2022-07-11T11:07:53.138Z] "tcp://0.0.0.0:5555", [2022-07-11T11:07:53.138Z] "unix:///var/run/docker.sock" [2022-07-11T11:07:53.138Z] ], [2022-07-11T11:07:53.138Z] "mtu": 1458, [2022-07-11T11:07:53.138Z] "selinux-enabled": true, [2022-07-11T11:07:53.138Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-11T11:07:53.138Z] } [Pipeline] sh [2022-07-11T11:07:53.485Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-11T11:07:53.837Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T11:08:12.221Z] provisioning config files... [2022-07-11T11:08:12.244Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8194324878429684181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:08:12.646Z] ---> docker-login.sh [2022-07-11T11:08:12.646Z] nexus3.edgexfoundry.org:10001 [2022-07-11T11:08:13.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:08:13.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:08:13.517Z] Configure a credential helper to remove this warning. See [2022-07-11T11:08:13.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:08:13.517Z] [2022-07-11T11:08:13.517Z] Login Succeeded [2022-07-11T11:08:13.517Z] nexus3.edgexfoundry.org:10002 [2022-07-11T11:08:13.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:08:13.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:08:13.795Z] Configure a credential helper to remove this warning. See [2022-07-11T11:08:13.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:08:13.795Z] [2022-07-11T11:08:13.795Z] Login Succeeded [2022-07-11T11:08:13.795Z] nexus3.edgexfoundry.org:10003 [2022-07-11T11:08:14.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:08:14.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:08:14.395Z] Configure a credential helper to remove this warning. See [2022-07-11T11:08:14.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:08:14.395Z] [2022-07-11T11:08:14.395Z] Login Succeeded [2022-07-11T11:08:14.395Z] nexus3.edgexfoundry.org:10004 [2022-07-11T11:08:14.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:08:14.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:08:14.943Z] Configure a credential helper to remove this warning. See [2022-07-11T11:08:14.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:08:14.943Z] [2022-07-11T11:08:14.943Z] Login Succeeded [2022-07-11T11:08:14.943Z] docker.io [2022-07-11T11:08:15.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T11:08:15.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T11:08:15.492Z] Configure a credential helper to remove this warning. See [2022-07-11T11:08:15.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T11:08:15.492Z] [2022-07-11T11:08:15.492Z] Login Succeeded [2022-07-11T11:08:15.492Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T11:08:15.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T11:08:15.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T11:08:15.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T11:08:15.975Z] ========================================================= [2022-07-11T11:08:15.975Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-11T11:08:15.975Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:08:16.478Z] + 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-07-11T11:08:17.085Z] Sending build context to Docker daemon 11.66MB [2022-07-11T11:08:17.085Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T11:08:17.085Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T11:08:17.085Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-11T11:08:17.085Z] 9b3977197b4f: Pulling fs layer [2022-07-11T11:08:17.085Z] 1a89e8eeedd5: Pulling fs layer [2022-07-11T11:08:17.085Z] 94645a83ff95: Pulling fs layer [2022-07-11T11:08:17.085Z] e6fb740bc735: Pulling fs layer [2022-07-11T11:08:17.085Z] 3a77bd46dcc9: Pulling fs layer [2022-07-11T11:08:17.085Z] 355e64cbe906: Pulling fs layer [2022-07-11T11:08:17.085Z] 63ab81a10011: Pulling fs layer [2022-07-11T11:08:17.085Z] 555d1d1c4555: Pulling fs layer [2022-07-11T11:08:17.085Z] 7d9057610161: Pulling fs layer [2022-07-11T11:08:17.085Z] 355e64cbe906: Waiting [2022-07-11T11:08:17.085Z] 63ab81a10011: Waiting [2022-07-11T11:08:17.085Z] 555d1d1c4555: Waiting [2022-07-11T11:08:17.085Z] 7d9057610161: Waiting [2022-07-11T11:08:17.085Z] 3a77bd46dcc9: Waiting [2022-07-11T11:08:17.085Z] e6fb740bc735: Waiting [2022-07-11T11:08:17.085Z] 94645a83ff95: Verifying Checksum [2022-07-11T11:08:17.085Z] 94645a83ff95: Download complete [2022-07-11T11:08:17.085Z] 1a89e8eeedd5: Verifying Checksum [2022-07-11T11:08:17.085Z] 1a89e8eeedd5: Download complete [2022-07-11T11:08:17.085Z] 3a77bd46dcc9: Verifying Checksum [2022-07-11T11:08:17.085Z] 3a77bd46dcc9: Download complete [2022-07-11T11:08:17.085Z] 355e64cbe906: Verifying Checksum [2022-07-11T11:08:17.085Z] 355e64cbe906: Download complete [2022-07-11T11:08:17.364Z] 9b3977197b4f: Verifying Checksum [2022-07-11T11:08:17.364Z] 9b3977197b4f: Download complete [2022-07-11T11:08:17.364Z] 63ab81a10011: Verifying Checksum [2022-07-11T11:08:17.364Z] 63ab81a10011: Download complete [2022-07-11T11:08:18.359Z] 9b3977197b4f: Pull complete [2022-07-11T11:08:18.359Z] 7d9057610161: Verifying Checksum [2022-07-11T11:08:18.359Z] 7d9057610161: Download complete [2022-07-11T11:08:18.642Z] 1a89e8eeedd5: Pull complete [2022-07-11T11:08:19.244Z] 94645a83ff95: Pull complete [2022-07-11T11:08:19.244Z] 555d1d1c4555: Download complete [2022-07-11T11:08:19.843Z] e6fb740bc735: Verifying Checksum [2022-07-11T11:08:19.843Z] e6fb740bc735: Download complete [2022-07-11T11:08:32.256Z] e6fb740bc735: Pull complete [2022-07-11T11:08:32.256Z] 3a77bd46dcc9: Pull complete [2022-07-11T11:08:32.256Z] 355e64cbe906: Pull complete [2022-07-11T11:08:32.529Z] 63ab81a10011: Pull complete [2022-07-11T11:08:39.259Z] 555d1d1c4555: Pull complete [2022-07-11T11:08:41.258Z] 7d9057610161: Pull complete [2022-07-11T11:08:41.258Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-11T11:08:41.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-11T11:08:41.258Z] ---> 819e984ddca1 [2022-07-11T11:08:41.258Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T11:08:41.856Z] ---> Running in c3182aac8563 [2022-07-11T11:08:42.139Z] Removing intermediate container c3182aac8563 [2022-07-11T11:08:42.139Z] ---> a1b127572762 [2022-07-11T11:08:42.139Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T11:08:42.420Z] ---> Running in a2f63de88663 [2022-07-11T11:08:42.694Z] Removing intermediate container a2f63de88663 [2022-07-11T11:08:42.694Z] ---> 9c429c5cd88f [2022-07-11T11:08:42.694Z] Step 5/12 : WORKDIR /device-virtual-go [2022-07-11T11:08:42.694Z] ---> Running in 66ac7f7d8ba6 [2022-07-11T11:08:42.967Z] Removing intermediate container 66ac7f7d8ba6 [2022-07-11T11:08:42.967Z] ---> fe7ed5ae9b1d [2022-07-11T11:08:42.967Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T11:08:43.242Z] ---> Running in 1a6b7f9cd0da [2022-07-11T11:08:45.218Z] Removing intermediate container 1a6b7f9cd0da [2022-07-11T11:08:45.218Z] ---> 2df986092128 [2022-07-11T11:08:45.218Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T11:08:45.218Z] ---> Running in a15460c9efc2 [2022-07-11T11:08:47.198Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T11:08:48.175Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T11:08:49.153Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-11T11:08:49.153Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T11:08:49.425Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-11T11:08:49.425Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-11T11:08:49.697Z] Executing busybox-1.34.1-r3.trigger [2022-07-11T11:08:49.697Z] OK: 224 MiB in 56 packages [2022-07-11T11:08:50.692Z] Removing intermediate container a15460c9efc2 [2022-07-11T11:08:50.693Z] ---> 37480028e9f0 [2022-07-11T11:08:50.693Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-11T11:08:51.297Z] ---> ace52cecfbbf [2022-07-11T11:08:51.297Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T11:08:51.297Z] ---> Running in 1ddd55d58ab9 [2022-07-11T11:09:38.304Z] Removing intermediate container 1ddd55d58ab9 [2022-07-11T11:09:38.304Z] ---> 3abaa2c190d7 [2022-07-11T11:09:38.304Z] Step 10/12 : COPY . . [2022-07-11T11:09:38.304Z] ---> 556c9ddb5d23 [2022-07-11T11:09:38.304Z] Step 11/12 : ARG MAKE='make build' [2022-07-11T11:09:38.304Z] ---> Running in 15289460641d [2022-07-11T11:09:38.304Z] Removing intermediate container 15289460641d [2022-07-11T11:09:38.304Z] ---> b77be3c271c9 [2022-07-11T11:09:38.304Z] Step 12/12 : RUN $MAKE [2022-07-11T11:09:38.304Z] ---> Running in d2c2c2019c17 [2022-07-11T11:09:38.304Z] noop [2022-07-11T11:09:38.304Z] Removing intermediate container d2c2c2019c17 [2022-07-11T11:09:38.304Z] ---> 5f8b283af8e6 [2022-07-11T11:09:38.304Z] Successfully built 5f8b283af8e6 [2022-07-11T11:09:38.304Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:09:38.797Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T11:09:38.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T11:09:39.117Z] prd-ubuntu20.04-docker-arm64-4c-16g-17409 does not seem to be running inside a container [2022-07-11T11:09:39.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat [2022-07-11T11:09:40.462Z] $ docker top 8249da17f6420e8dd2e89b8f96bfe2b7bd348e337fb27014397b195b62e5fa15 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T11:09:41.433Z] + go version [2022-07-11T11:09:41.433Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-11T11:09:41.470Z] $ docker stop --time=1 8249da17f6420e8dd2e89b8f96bfe2b7bd348e337fb27014397b195b62e5fa15 [2022-07-11T11:09:43.125Z] $ docker rm -f 8249da17f6420e8dd2e89b8f96bfe2b7bd348e337fb27014397b195b62e5fa15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:09:44.056Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T11:09:44.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T11:09:44.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-17409 does not seem to be running inside a container [2022-07-11T11:09:44.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** ci-base-image-arm64 cat [2022-07-11T11:09:45.725Z] $ docker top 5d35438e64c655cb6564fde290b3574484e1f5c7539dcad0d92236b67d6ee05c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T11:09:46.728Z] + make test [2022-07-11T11:09:46.728Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-11T11:09:48.168Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-07-11T11:11:10.006Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-07-11T11:11:10.006Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.136s coverage: 65.7% of statements [2022-07-11T11:11:10.006Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-11T11:11:10.006Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T11:11:32.200Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T11:11:32.200Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T11:11:32.200Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T11:11:32.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T11:11:32.867Z] $ docker stop --time=1 5d35438e64c655cb6564fde290b3574484e1f5c7539dcad0d92236b67d6ee05c [2022-07-11T11:11:34.664Z] $ docker rm -f 5d35438e64c655cb6564fde290b3574484e1f5c7539dcad0d92236b67d6ee05c [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T11:11:35.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T11:11:35.675Z] Warning: overwriting stash ‘coverage-report’ [2022-07-11T11:11:36.142Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T11:11:36.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T11:11:37.073Z] + ls -al . [2022-07-11T11:11:37.073Z] total 188 [2022-07-11T11:11:37.073Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 11:11 . [2022-07-11T11:11:37.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 11:07 .. [2022-07-11T11:11:37.073Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 11:07 .git [2022-07-11T11:11:37.073Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 11:07 .github [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 337 Jul 11 11:07 .gitignore [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 11:07 .golangci.yml [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jul 11 11:07 Attribution.txt [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jul 11 11:07 CHANGELOG.md [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jul 11 11:07 Dockerfile [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 11:07 GOVERNANCE.md [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 11 11:07 Jenkinsfile [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 11:07 LICENSE [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jul 11 11:07 Makefile [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 11 11:07 OWNERS.md [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jul 11 11:07 README.md [2022-07-11T11:11:37.073Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 11:05 VERSION [2022-07-11T11:11:37.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 11:07 bin [2022-07-11T11:11:37.073Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 11:07 cmd [2022-07-11T11:11:37.073Z] -rw-r--r-- 1 jenkins jenkins 44128 Jul 11 11:11 coverage.out [2022-07-11T11:11:37.074Z] -rw-rw-r-- 1 jenkins jenkins 3190 Jul 11 11:07 go.mod [2022-07-11T11:11:37.074Z] -rw-rw-r-- 1 jenkins jenkins 35764 Jul 11 11:07 go.sum [2022-07-11T11:11:37.074Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 11:07 internal [2022-07-11T11:11:37.074Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 11:07 snap [2022-07-11T11:11:37.074Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 11 11:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:11:37.513Z] + 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=4eb75458b2a93413042e76e3cbdef04a1d1998a5 --label arch=arm64 --label version=0.0.0 . [2022-07-11T11:11:38.117Z] Sending build context to Docker daemon 11.7MB [2022-07-11T11:11:38.117Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-11T11:11:38.117Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-11T11:11:38.117Z] ---> 5f8b283af8e6 [2022-07-11T11:11:38.117Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T11:11:38.117Z] ---> Running in 7d3d38d9e416 [2022-07-11T11:11:38.391Z] Removing intermediate container 7d3d38d9e416 [2022-07-11T11:11:38.391Z] ---> f34f400315c0 [2022-07-11T11:11:38.391Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T11:11:38.391Z] ---> Running in 8f571964c991 [2022-07-11T11:11:38.666Z] Removing intermediate container 8f571964c991 [2022-07-11T11:11:38.666Z] ---> ddd595c281da [2022-07-11T11:11:38.666Z] Step 5/26 : WORKDIR /device-virtual-go [2022-07-11T11:11:38.946Z] ---> Running in c813f488cf57 [2022-07-11T11:11:39.221Z] Removing intermediate container c813f488cf57 [2022-07-11T11:11:39.221Z] ---> 7afcd5b29b03 [2022-07-11T11:11:39.221Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T11:11:39.221Z] ---> Running in dbdcbb1d59ed [2022-07-11T11:11:41.210Z] Removing intermediate container dbdcbb1d59ed [2022-07-11T11:11:41.210Z] ---> 7cb47ae7619e [2022-07-11T11:11:41.210Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T11:11:41.210Z] ---> Running in 9384200c735a [2022-07-11T11:11:41.807Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-11T11:11:42.782Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-11T11:11:43.758Z] OK: 224 MiB in 56 packages [2022-07-11T11:11:44.746Z] Removing intermediate container 9384200c735a [2022-07-11T11:11:44.746Z] ---> 2cb3ec9ef255 [2022-07-11T11:11:44.746Z] Step 8/26 : COPY go.mod vendor* ./ [2022-07-11T11:11:45.021Z] ---> ebac557215a8 [2022-07-11T11:11:45.021Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T11:11:45.021Z] ---> Running in 49c5567a99f8 [2022-07-11T11:11:47.028Z] Removing intermediate container 49c5567a99f8 [2022-07-11T11:11:47.028Z] ---> 5902d32336f0 [2022-07-11T11:11:47.028Z] Step 10/26 : COPY . . [2022-07-11T11:11:48.011Z] ---> 0017f80bcc62 [2022-07-11T11:11:48.011Z] Step 11/26 : ARG MAKE='make build' [2022-07-11T11:11:48.285Z] ---> Running in e70f947480ce [2022-07-11T11:11:48.562Z] Removing intermediate container e70f947480ce [2022-07-11T11:11:48.562Z] ---> 2f197d6a29e4 [2022-07-11T11:11:48.562Z] Step 12/26 : RUN $MAKE [2022-07-11T11:11:48.562Z] ---> Running in ce9c8f9018bb [2022-07-11T11:11:49.547Z] 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-07-11T11:13:56.432Z] Removing intermediate container ce9c8f9018bb [2022-07-11T11:13:56.432Z] ---> 9419442fee2e [2022-07-11T11:13:56.432Z] Step 13/26 : FROM alpine:3.14 [2022-07-11T11:13:56.432Z] 3.14: Pulling from library/alpine [2022-07-11T11:13:56.432Z] 455c02918c45: Pulling fs layer [2022-07-11T11:13:56.432Z] 455c02918c45: Verifying Checksum [2022-07-11T11:13:56.432Z] 455c02918c45: Download complete [2022-07-11T11:13:56.432Z] 455c02918c45: Pull complete [2022-07-11T11:13:56.432Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-11T11:13:56.432Z] Status: Downloaded newer image for alpine:3.14 [2022-07-11T11:13:56.432Z] ---> ac73e934f311 [2022-07-11T11:13:56.432Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-07-11T11:13:56.432Z] ---> Running in 2a9748b24749 [2022-07-11T11:13:56.432Z] Removing intermediate container 2a9748b24749 [2022-07-11T11:13:56.432Z] ---> 079ca36a57d1 [2022-07-11T11:13:56.432Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T11:13:56.432Z] ---> Running in cfa43e80f486 [2022-07-11T11:13:56.432Z] Removing intermediate container cfa43e80f486 [2022-07-11T11:13:56.432Z] ---> b14da61bee06 [2022-07-11T11:13:56.432Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T11:13:56.432Z] ---> Running in b9535cc7fd44 [2022-07-11T11:13:56.432Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-11T11:13:56.432Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-11T11:13:56.432Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T11:13:56.432Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-11T11:13:56.432Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T11:13:56.432Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-11T11:13:56.432Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T11:13:56.432Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T11:13:56.432Z] Executing busybox-1.33.1-r7.trigger [2022-07-11T11:13:56.432Z] OK: 8 MiB in 20 packages [2022-07-11T11:13:56.432Z] Removing intermediate container b9535cc7fd44 [2022-07-11T11:13:56.432Z] ---> d718656a60b3 [2022-07-11T11:13:56.432Z] Step 17/26 : WORKDIR / [2022-07-11T11:13:56.432Z] ---> Running in 921202dd599a [2022-07-11T11:13:56.432Z] Removing intermediate container 921202dd599a [2022-07-11T11:13:56.432Z] ---> e4892b6dc06f [2022-07-11T11:13:56.432Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-07-11T11:13:56.432Z] ---> 7e3582339e78 [2022-07-11T11:13:56.432Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-07-11T11:13:56.432Z] ---> 96584f081e0a [2022-07-11T11:13:56.432Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-07-11T11:13:56.432Z] ---> cb9f054356d0 [2022-07-11T11:13:56.432Z] Step 21/26 : EXPOSE 59900 [2022-07-11T11:13:56.432Z] ---> Running in d51052a94cd8 [2022-07-11T11:13:56.432Z] Removing intermediate container d51052a94cd8 [2022-07-11T11:13:56.432Z] ---> 3fe14418b609 [2022-07-11T11:13:56.432Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-07-11T11:13:56.432Z] ---> Running in 98a8df2ca91c [2022-07-11T11:13:56.432Z] Removing intermediate container 98a8df2ca91c [2022-07-11T11:13:56.432Z] ---> 308f404d6d80 [2022-07-11T11:13:56.432Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-11T11:13:56.432Z] ---> Running in 8a826f9ca8e7 [2022-07-11T11:13:56.432Z] Removing intermediate container 8a826f9ca8e7 [2022-07-11T11:13:56.432Z] ---> eb864efd1991 [2022-07-11T11:13:56.432Z] Step 24/26 : LABEL arch=arm64 [2022-07-11T11:13:56.432Z] ---> Running in 86c144011531 [2022-07-11T11:13:56.432Z] Removing intermediate container 86c144011531 [2022-07-11T11:13:56.432Z] ---> 684352870d49 [2022-07-11T11:13:56.432Z] Step 25/26 : LABEL git_sha=4eb75458b2a93413042e76e3cbdef04a1d1998a5 [2022-07-11T11:13:56.432Z] ---> Running in 6090b7562465 [2022-07-11T11:13:56.432Z] Removing intermediate container 6090b7562465 [2022-07-11T11:13:56.432Z] ---> 7e1cf5dea1c2 [2022-07-11T11:13:56.432Z] Step 26/26 : LABEL version=0.0.0 [2022-07-11T11:13:56.432Z] ---> Running in 31b06dff906c [2022-07-11T11:13:56.432Z] Removing intermediate container 31b06dff906c [2022-07-11T11:13:56.432Z] ---> f83ef7482cf9 [2022-07-11T11:13:56.432Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T11:13:56.432Z] Successfully built f83ef7482cf9 [2022-07-11T11:13:56.432Z] 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-07-11T11:13:57.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T11:13:57.245Z] [2022-07-11T11:13:57.245Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:13:57.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T11:13:57.670Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-11T11:13:57.670Z] 8998bd30e6a1: Pulling fs layer [2022-07-11T11:13:57.670Z] 04944245beec: Pulling fs layer [2022-07-11T11:13:57.670Z] 699f458cf7ca: Pulling fs layer [2022-07-11T11:13:57.670Z] 765212b225bb: Pulling fs layer [2022-07-11T11:13:57.670Z] f23df028b6ca: Pulling fs layer [2022-07-11T11:13:57.670Z] d65c8cfc05b1: Pulling fs layer [2022-07-11T11:13:57.670Z] 2437ff75d9bd: Pulling fs layer [2022-07-11T11:13:57.670Z] f23df028b6ca: Waiting [2022-07-11T11:13:57.670Z] d65c8cfc05b1: Waiting [2022-07-11T11:13:57.670Z] 2437ff75d9bd: Waiting [2022-07-11T11:13:57.670Z] 765212b225bb: Waiting [2022-07-11T11:13:57.945Z] 04944245beec: Verifying Checksum [2022-07-11T11:13:57.945Z] 04944245beec: Download complete [2022-07-11T11:13:57.945Z] 765212b225bb: Download complete [2022-07-11T11:13:57.945Z] f23df028b6ca: Download complete [2022-07-11T11:13:57.945Z] d65c8cfc05b1: Download complete [2022-07-11T11:13:58.225Z] 699f458cf7ca: Download complete [2022-07-11T11:13:58.504Z] 8998bd30e6a1: Verifying Checksum [2022-07-11T11:13:58.504Z] 8998bd30e6a1: Download complete [2022-07-11T11:14:00.499Z] 2437ff75d9bd: Verifying Checksum [2022-07-11T11:14:00.499Z] 2437ff75d9bd: Download complete [2022-07-11T11:14:03.133Z] 8998bd30e6a1: Pull complete [2022-07-11T11:14:03.133Z] 04944245beec: Pull complete [2022-07-11T11:14:04.575Z] 699f458cf7ca: Pull complete [2022-07-11T11:14:04.849Z] 765212b225bb: Pull complete [2022-07-11T11:14:05.833Z] f23df028b6ca: Pull complete [2022-07-11T11:14:06.109Z] d65c8cfc05b1: Pull complete [2022-07-11T11:14:21.216Z] 2437ff75d9bd: Pull complete [2022-07-11T11:14:21.216Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-11T11:14:21.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T11:14:21.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T11:14:21.586Z] prd-ubuntu20.04-docker-arm64-4c-16g-17409 does not seem to be running inside a container [2022-07-11T11:14:21.675Z] $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-11T11:14:24.255Z] $ docker top 3485791e0338e0839e2870b80f3e2e1d3ad68df60aad75b8088ea5fb1bd9b1fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:14:25.270Z] ---> job-cost.sh [2022-07-11T11:14:25.270Z] lf-activate-venv: SKIPPING [2022-07-11T11:14:25.270Z] INFO: No Stack... [2022-07-11T11:14:25.865Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-11T11:14:26.842Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T11:14:27.524Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-07-11T11:14:27.524Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T11:14:27.607Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-295-1-stack-cost] [2022-07-11T11:14:27.612Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-295-1-stack-cost] did not exist. Created. [2022-07-11T11:14:27.612Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-295-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T11:14:28.357Z] /w/workspace/device-virtual-go/1@tmp/durable-74aae7e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-11T11:14:29.052Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-11T11:14:29.091Z] Warning: overwriting stash ‘stack-cost’ [2022-07-11T11:14:29.140Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T11:14:29.155Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-295-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T11:14:29.231Z] $ docker stop --time=1 3485791e0338e0839e2870b80f3e2e1d3ad68df60aad75b8088ea5fb1bd9b1fa [2022-07-11T11:14:30.711Z] $ docker rm -f 3485791e0338e0839e2870b80f3e2e1d3ad68df60aad75b8088ea5fb1bd9b1fa [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-07-11T11:14:31.746Z] provisioning config files... [2022-07-11T11:14:31.756Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-295@tmp/config3974440598287202911tmp [Pipeline] { [Pipeline] sh [2022-07-11T11:14:32.089Z] + set +x [2022-07-11T11:14:32.089Z] + curl -s https://codecov.io/bash [2022-07-11T11:14:32.089Z] + bash -s -- [2022-07-11T11:14:32.089Z] [2022-07-11T11:14:32.089Z] _____ _ [2022-07-11T11:14:32.089Z] / ____| | | [2022-07-11T11:14:32.089Z] | | ___ __| | ___ ___ _____ __ [2022-07-11T11:14:32.089Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-11T11:14:32.089Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-11T11:14:32.089Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-11T11:14:32.089Z] Bash-1.0.6 [2022-07-11T11:14:32.089Z] [2022-07-11T11:14:32.089Z] [2022-07-11T11:14:32.089Z] ==> git version 2.25.1 found [2022-07-11T11:14:32.089Z] ==> 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-07-11T11:14:32.089Z] Release-Date: 2020-01-08 [2022-07-11T11:14:32.089Z] 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-07-11T11:14:32.089Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-11T11:14:32.089Z] ==> Jenkins CI detected. [2022-07-11T11:14:32.089Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-295 [2022-07-11T11:14:32.089Z] project root: . [2022-07-11T11:14:32.089Z] --> token set from env [2022-07-11T11:14:32.089Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-11T11:14:32.089Z] ==> Running gcov in . (disable via -X gcov) [2022-07-11T11:14:32.089Z] ==> Python coveragepy not found [2022-07-11T11:14:32.089Z] ==> Searching for coverage reports in: [2022-07-11T11:14:32.089Z] + . [2022-07-11T11:14:32.089Z] -> Found 1 reports [2022-07-11T11:14:32.089Z] ==> Detecting git/mercurial file structure [2022-07-11T11:14:32.089Z] ==> Reading reports [2022-07-11T11:14:32.089Z] + ./coverage.out bytes=44128 [2022-07-11T11:14:32.089Z] ==> Appending adjustments [2022-07-11T11:14:32.089Z] https://docs.codecov.io/docs/fixing-reports [2022-07-11T11:14:32.350Z] + Found adjustments [2022-07-11T11:14:32.350Z] ==> Gzipping contents [2022-07-11T11:14:32.350Z] 8.0K /tmp/codecov.6NCCPU.gz [2022-07-11T11:14:32.350Z] ==> Uploading reports [2022-07-11T11:14:32.350Z] url: https://codecov.io [2022-07-11T11:14:32.350Z] query: branch=PR-295&commit=4eb75458b2a93413042e76e3cbdef04a1d1998a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-295%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=295&job=&cmd_args= [2022-07-11T11:14:32.350Z] -> Pinging Codecov [2022-07-11T11:14:32.350Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-295&commit=4eb75458b2a93413042e76e3cbdef04a1d1998a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-295%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=295&job=&cmd_args= [2022-07-11T11:14:32.611Z] -> Uploading to [2022-07-11T11:14:32.611Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-11/5E52B4B073DB2E39498172D8E973AA87/4eb75458b2a93413042e76e3cbdef04a1d1998a5/b47d3f53-6122-42f5-bd03-6825a9a089f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T111432Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=360a82e636a44b781190429769de5101d941cbc1b18616b50a60390ba126e7ab [2022-07-11T11:14:32.611Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T11:14:32.611Z] Dload Upload Total Spent Left Speed [2022-07-11T11:14:32.872Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5489 0 0 100 5489 0 24614 --:--:-- --:--:-- --:--:-- 24614 [2022-07-11T11:14:32.872Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/4eb75458b2a93413042e76e3cbdef04a1d1998a5 [Pipeline] } [2022-07-11T11:14:32.904Z] 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-07-11T11:14:34.663Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-295/archives ] [2022-07-11T11:14:34.663Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-295/archives [2022-07-11T11:14:34.663Z] total 16 [2022-07-11T11:14:34.663Z] drwxr-xr-x 3 root root 4096 Jul 11 11:07 . [2022-07-11T11:14:34.663Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 11:07 .. [2022-07-11T11:14:34.663Z] drwxr-xr-x 2 root root 4096 Jul 11 11:07 cost [2022-07-11T11:14:34.663Z] -rw-r--r-- 1 root root 88 Jul 11 11:07 cost.csv [2022-07-11T11:14:34.663Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-295/archives [2022-07-11T11:14:34.663Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-295/archives [2022-07-11T11:14:34.663Z] total 16 [2022-07-11T11:14:34.663Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 11:07 . [2022-07-11T11:14:34.663Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 11:07 .. [2022-07-11T11:14:34.663Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 11:07 cost [2022-07-11T11:14:34.663Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 11 11:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:14:35.001Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:14:35.899Z] ---> package-listing.sh [2022-07-11T11:14:35.899Z] ++ facter osfamily [2022-07-11T11:14:35.899Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-11T11:14:36.160Z] + OS_FAMILY=debian [2022-07-11T11:14:36.160Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-295 [2022-07-11T11:14:36.160Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-11T11:14:36.160Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-11T11:14:36.160Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-11T11:14:36.160Z] + PACKAGES=/tmp/packages_start.txt [2022-07-11T11:14:36.160Z] + '[' /w/workspace/foundry_device-virtual-go_PR-295 ']' [2022-07-11T11:14:36.160Z] + PACKAGES=/tmp/packages_end.txt [2022-07-11T11:14:36.160Z] + case "${OS_FAMILY}" in [2022-07-11T11:14:36.160Z] + dpkg -l [2022-07-11T11:14:36.160Z] + grep '^ii' [2022-07-11T11:14:36.160Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-11T11:14:36.160Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-11T11:14:36.160Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-11T11:14:36.160Z] + '[' /w/workspace/foundry_device-virtual-go_PR-295 ']' [2022-07-11T11:14:36.160Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-295/archives/ [2022-07-11T11:14:36.160Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-295/archives/ [Pipeline] echo [2022-07-11T11:14:36.197Z] 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-295/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-11T11:14:36.492Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T11:14:37.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T11:14:37.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T11:14:37.308Z] prd-ubuntu20.04-docker-8c-8g-17408 does not seem to be running inside a container [2022-07-11T11:14:37.352Z] $ 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-295/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-295 -v /w/workspace/foundry_device-virtual-go_PR-295:/w/workspace/foundry_device-virtual-go_PR-295:rw,z -v /w/workspace/foundry_device-virtual-go_PR-295@tmp:/w/workspace/foundry_device-virtual-go_PR-295@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T11:14:37.561Z] $ docker top 7e9fef7d179bf39c6d962689ec412ab1cf8c9fb900cd971ee0ed717fd27b9425 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T11:14:37.976Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-11T11:14:38.297Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-11T11:14:38.623Z] + ls /var/log/sa-host [2022-07-11T11:14:38.623Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T11:14:38.825Z] provisioning config files... [2022-07-11T11:14:38.838Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-295@tmp/config3014651406326786342tmp [Pipeline] { [Pipeline] echo [2022-07-11T11:14:38.889Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:14:39.208Z] ---> create-netrc.sh [Pipeline] } [2022-07-11T11:14:39.236Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:14:39.651Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-11T11:14:39.687Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:14:40.002Z] ---> sudo-logs.sh [2022-07-11T11:14:40.002Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-11T11:14:40.080Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:14:40.397Z] ---> job-cost.sh [2022-07-11T11:14:40.397Z] lf-activate-venv: SKIPPING [2022-07-11T11:14:40.397Z] DEBUG: total: 0.2199999988079071 [2022-07-11T11:14:40.397Z] INFO: Retrieving Stack Cost... [2022-07-11T11:14:40.661Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T11:14:41.233Z] INFO: Archiving Costs [Pipeline] echo [2022-07-11T11:14:41.266Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T11:14:41.582Z] ---> logs-deploy.sh [2022-07-11T11:14:41.582Z] lf-activate-venv: SKIPPING [2022-07-11T11:14:41.582Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-295/1 [2022-07-11T11:14:41.582Z] INFO: archiving workspace using pattern(s): [2022-07-11T11:14:42.523Z] Archives upload complete. [2022-07-11T11:14:42.523Z] INFO: archiving logs to Nexus