Pull request #293 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f70277535b4edfc31a5264c55b945885c4677722+6c956091e39ebf418aab18435948f90fcdb39d95 (0c664081f49c9954d93e9022f146f5d5c30354d0) 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-ssh2167216201247875844.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-ssh15123167716011401492.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-293/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-293/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6224885894127372715.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-293/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10970771742876442597.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-ssh17697217988134377937.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-293/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-293/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1852707551768424309.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-16082 in /w/workspace/foundry_device-virtual-go_PR-293 [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-293 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6c956091e39ebf418aab18435948f90fcdb39d95 into PR head commit f70277535b4edfc31a5264c55b945885c4677722 Merge succeeded, producing f70277535b4edfc31a5264c55b945885c4677722 Checking out Revision f70277535b4edfc31a5264c55b945885c4677722 (PR-293) > 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/293/head:refs/remotes/origin/PR-293 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f70277535b4edfc31a5264c55b945885c4677722 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6c956091e39ebf418aab18435948f90fcdb39d95 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f70277535b4edfc31a5264c55b945885c4677722 # 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-06-27T11:04:34.071Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T11:04:34.242Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T11:04:34.338Z] ========================================================= [2022-06-27T11:04:34.338Z] EdgeX Global Pipelines Version Info [2022-06-27T11:04:34.338Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:04:35.138Z] ------------------- [2022-06-27T11:04:35.138Z] stable info: [2022-06-27T11:04:35.138Z] ------------------- [2022-06-27T11:04:35.138Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T11:04:35.138Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T11:04:35.138Z] Message: update stable to v1.0.234 [2022-06-27T11:04:35.712Z] ------------------- [2022-06-27T11:04:35.712Z] experimental info: [2022-06-27T11:04:35.712Z] ------------------- [2022-06-27T11:04:35.712Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T11:04:35.712Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T11:04:35.712Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T11:04:36.093Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-27T11:04:36.134Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-27T11:04:36.173Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T11:04:36.208Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T11:04:36.244Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T11:04:36.281Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T11:04:36.319Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T11:04:36.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T11:04:36.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T11:04:36.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T11:04:36.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T11:04:36.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-27T11:04:36.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T11:04:36.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T11:04:36.614Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T11:04:36.655Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T11:04:36.691Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T11:04:36.733Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T11:04:36.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T11:04:36.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T11:04:36.857Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T11:04:36.897Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T11:04:36.939Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T11:04:36.979Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T11:04:37.017Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T11:04:37.055Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T11:04:37.100Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T11:04:37.139Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-293 [Pipeline] echo [2022-06-27T11:04:37.181Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-293 [Pipeline] echo [2022-06-27T11:04:37.227Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-293 [Pipeline] echo [2022-06-27T11:04:37.269Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f70277535b4edfc31a5264c55b945885c4677722 [Pipeline] echo [2022-06-27T11:04:37.310Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f702775 [Pipeline] echo [2022-06-27T11:04:37.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T11:04:37.471Z] provisioning config files... [2022-06-27T11:04:37.486Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-293@tmp/config7504936166901284972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:04:37.909Z] ---> docker-login.sh [2022-06-27T11:04:37.909Z] nexus3.edgexfoundry.org:10001 [2022-06-27T11:04:38.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:04:38.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:04:38.170Z] Configure a credential helper to remove this warning. See [2022-06-27T11:04:38.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:04:38.170Z] [2022-06-27T11:04:38.170Z] Login Succeeded [2022-06-27T11:04:38.170Z] nexus3.edgexfoundry.org:10002 [2022-06-27T11:04:38.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:04:38.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:04:38.432Z] Configure a credential helper to remove this warning. See [2022-06-27T11:04:38.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:04:38.432Z] [2022-06-27T11:04:38.432Z] Login Succeeded [2022-06-27T11:04:38.432Z] nexus3.edgexfoundry.org:10003 [2022-06-27T11:04:38.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:04:38.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:04:38.696Z] Configure a credential helper to remove this warning. See [2022-06-27T11:04:38.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:04:38.696Z] [2022-06-27T11:04:38.696Z] Login Succeeded [2022-06-27T11:04:38.696Z] nexus3.edgexfoundry.org:10004 [2022-06-27T11:04:38.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:04:38.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:04:38.696Z] Configure a credential helper to remove this warning. See [2022-06-27T11:04:38.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:04:38.696Z] [2022-06-27T11:04:38.696Z] Login Succeeded [2022-06-27T11:04:38.696Z] docker.io [2022-06-27T11:04:38.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:04:39.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:04:39.269Z] Configure a credential helper to remove this warning. See [2022-06-27T11:04:39.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:04:39.269Z] [2022-06-27T11:04:39.269Z] Login Succeeded [2022-06-27T11:04:39.269Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T11:04:39.295Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T11:04:39.905Z] + git rev-list -1 --merges f70277535b4edfc31a5264c55b945885c4677722~1..f70277535b4edfc31a5264c55b945885c4677722 [Pipeline] echo [2022-06-27T11:04:39.954Z] -----------> git rev-list -1 --merges f70277535b4edfc31a5264c55b945885c4677722~1..f70277535b4edfc31a5264c55b945885c4677722 f70277535b4edfc31a5264c55b945885c4677722 [false] [Pipeline] sh [2022-06-27T11:04:40.269Z] + git log --format=format:%s -1 f70277535b4edfc31a5264c55b945885c4677722 [Pipeline] echo [2022-06-27T11:04:40.301Z] ========================================================= [2022-06-27T11:04:40.301Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T11:04:40.301Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T11:04:40.744Z] + git log --format=format:%s -1 f70277535b4edfc31a5264c55b945885c4677722 [Pipeline] echo [2022-06-27T11:04:40.778Z] [semverPrep] GIT_COMMIT: f70277535b4edfc31a5264c55b945885c4677722, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-06-27T11:04:40.811Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T11:04:41.217Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T11:04:41.217Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T11:04:41.217Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T11:04:41.217Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T11:04:41.217Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T11:04:41.217Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T11:04:41.217Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:04:41.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T11:04:41.675Z] [2022-06-27T11:04:41.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:04:42.062Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T11:04:42.062Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T11:04:42.062Z] 42c077c10790: Pulling fs layer [2022-06-27T11:04:42.062Z] f63e77b7563a: Pulling fs layer [2022-06-27T11:04:42.062Z] bd5fdadae976: Pulling fs layer [2022-06-27T11:04:42.062Z] 205491f53016: Pulling fs layer [2022-06-27T11:04:42.062Z] df18705c85c3: Pulling fs layer [2022-06-27T11:04:42.062Z] bdb3f477010e: Pulling fs layer [2022-06-27T11:04:42.062Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T11:04:42.062Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T11:04:42.062Z] bdb8f0575790: Pulling fs layer [2022-06-27T11:04:42.062Z] 205491f53016: Waiting [2022-06-27T11:04:42.062Z] df18705c85c3: Waiting [2022-06-27T11:04:42.062Z] bdb3f477010e: Waiting [2022-06-27T11:04:42.062Z] 2c6e9b1d212d: Waiting [2022-06-27T11:04:42.062Z] c8a8fc8e1c8f: Waiting [2022-06-27T11:04:42.062Z] bdb8f0575790: Waiting [2022-06-27T11:04:42.062Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T11:04:42.062Z] 2343380bae48: Pulling fs layer [2022-06-27T11:04:42.062Z] 386e3cb2ff24: Waiting [2022-06-27T11:04:42.062Z] 2343380bae48: Waiting [2022-06-27T11:04:42.062Z] f63e77b7563a: Verifying Checksum [2022-06-27T11:04:42.062Z] f63e77b7563a: Download complete [2022-06-27T11:04:42.062Z] 205491f53016: Download complete [2022-06-27T11:04:42.324Z] bd5fdadae976: Verifying Checksum [2022-06-27T11:04:42.324Z] bd5fdadae976: Download complete [2022-06-27T11:04:42.324Z] df18705c85c3: Verifying Checksum [2022-06-27T11:04:42.324Z] df18705c85c3: Download complete [2022-06-27T11:04:42.324Z] bdb3f477010e: Verifying Checksum [2022-06-27T11:04:42.324Z] bdb3f477010e: Download complete [2022-06-27T11:04:42.324Z] bdb8f0575790: Verifying Checksum [2022-06-27T11:04:42.324Z] bdb8f0575790: Download complete [2022-06-27T11:04:42.324Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T11:04:42.324Z] 386e3cb2ff24: Download complete [2022-06-27T11:04:42.324Z] 2343380bae48: Verifying Checksum [2022-06-27T11:04:42.324Z] 2343380bae48: Download complete [2022-06-27T11:04:42.324Z] 42c077c10790: Download complete [2022-06-27T11:04:42.584Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T11:04:42.584Z] c8a8fc8e1c8f: Download complete [2022-06-27T11:04:43.967Z] 42c077c10790: Pull complete [2022-06-27T11:04:43.967Z] f63e77b7563a: Pull complete [2022-06-27T11:04:44.538Z] bd5fdadae976: Pull complete [2022-06-27T11:04:44.538Z] 205491f53016: Pull complete [2022-06-27T11:04:44.798Z] df18705c85c3: Pull complete [2022-06-27T11:04:44.798Z] bdb3f477010e: Pull complete [2022-06-27T11:04:47.338Z] c8a8fc8e1c8f: Pull complete [2022-06-27T11:04:47.338Z] 2c6e9b1d212d: Pull complete [2022-06-27T11:04:47.338Z] bdb8f0575790: Pull complete [2022-06-27T11:04:47.338Z] 386e3cb2ff24: Pull complete [2022-06-27T11:04:47.338Z] 2343380bae48: Pull complete [2022-06-27T11:04:47.338Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T11:04:47.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T11:04:47.338Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T11:04:47.580Z] prd-ubuntu20.04-docker-8c-8g-16082 does not seem to be running inside a container [2022-06-27T11:04:47.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-293 -v /w/workspace/foundry_device-virtual-go_PR-293:/w/workspace/foundry_device-virtual-go_PR-293:rw,z -v /w/workspace/foundry_device-virtual-go_PR-293@tmp:/w/workspace/foundry_device-virtual-go_PR-293@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-06-27T11:04:49.122Z] $ docker top c48045300869d0368af5139005550f19089db3192c57c28bccd69981423a877f -eo pid,comm [2022-06-27T11:04:49.187Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-27T11:04:49.187Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T11:04:49.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T11:04:49.320Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T11:04:49.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T11:04:49.481Z] $ docker exec c48045300869d0368af5139005550f19089db3192c57c28bccd69981423a877f ssh-agent [2022-06-27T11:04:49.616Z] SSH_AUTH_SOCK=/tmp/ssh-i0GBGArVbQat/agent.34 [2022-06-27T11:04:49.616Z] SSH_AGENT_PID=40 [2022-06-27T11:04:49.630Z] Running ssh-add (command line suppressed) [2022-06-27T11:04:49.751Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-293@tmp/private_key_4823886631141774655.key (/w/workspace/foundry_device-virtual-go_PR-293@tmp/private_key_4823886631141774655.key) [2022-06-27T11:04:49.766Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T11:04:50.107Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T11:04:50.139Z] $ docker exec --env ******** --env ******** c48045300869d0368af5139005550f19089db3192c57c28bccd69981423a877f ssh-agent -k [2022-06-27T11:04:50.242Z] unset SSH_AUTH_SOCK; [2022-06-27T11:04:50.242Z] unset SSH_AGENT_PID; [2022-06-27T11:04:50.242Z] echo Agent pid 40 killed; [2022-06-27T11:04:50.250Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T11:04:50.337Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T11:04:50.337Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T11:04:50.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T11:04:50.475Z] $ docker exec c48045300869d0368af5139005550f19089db3192c57c28bccd69981423a877f ssh-agent [2022-06-27T11:04:50.616Z] SSH_AUTH_SOCK=/tmp/ssh-QSBZuZnXrkpl/agent.74 [2022-06-27T11:04:50.616Z] SSH_AGENT_PID=81 [2022-06-27T11:04:50.622Z] Running ssh-add (command line suppressed) [2022-06-27T11:04:50.740Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-293@tmp/private_key_6583743623129368284.key (/w/workspace/foundry_device-virtual-go_PR-293@tmp/private_key_6583743623129368284.key) [2022-06-27T11:04:50.752Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T11:04:51.091Z] + git semver init [2022-06-27T11:04:51.352Z] 2022-06-27 11:04:51,305 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T11:04:51.352Z] 2022-06-27 11:04:51,306 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-293/.semver [2022-06-27T11:04:51.352Z] 2022-06-27 11:04:51,306 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-293/.semver [2022-06-27T11:04:51.352Z] 2022-06-27 11:04:51,307 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-293/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-293, universal_newlines=False, shell=None, istream=None) [2022-06-27T11:04:52.297Z] 2022-06-27 11:04:52,210 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-293/.git/info/exclude [2022-06-27T11:04:52.297Z] 2022-06-27 11:04:52,211 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-293/.semver/PR-293 with force:False [2022-06-27T11:04:52.297Z] 2022-06-27 11:04:52,211 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-293/.semver/PR-293 [2022-06-27T11:04:52.297Z] 2022-06-27 11:04:52,215 [execute] INFO git cat-file --batch-check [2022-06-27T11:04:52.297Z] 2022-06-27 11:04:52,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-293/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T11:04:52.297Z] 2022-06-27 11:04:52,222 [execute] INFO git cat-file --batch [2022-06-27T11:04:52.297Z] 2022-06-27 11:04:52,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-293/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T11:04:52.297Z] 2022-06-27 11:04:52,228 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-293/.semver/PR-293 [2022-06-27T11:04:52.297Z] 0.0.0 [Pipeline] } [2022-06-27T11:04:52.329Z] $ docker exec --env ******** --env ******** c48045300869d0368af5139005550f19089db3192c57c28bccd69981423a877f ssh-agent -k [2022-06-27T11:04:52.458Z] unset SSH_AUTH_SOCK; [2022-06-27T11:04:52.459Z] unset SSH_AGENT_PID; [2022-06-27T11:04:52.459Z] echo Agent pid 81 killed; [2022-06-27T11:04:52.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T11:04:52.883Z] + git semver [Pipeline] } [2022-06-27T11:04:53.176Z] $ docker stop --time=1 c48045300869d0368af5139005550f19089db3192c57c28bccd69981423a877f [2022-06-27T11:04:54.535Z] $ docker rm -f c48045300869d0368af5139005550f19089db3192c57c28bccd69981423a877f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T11:04:54.954Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T11:04:55.253Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T11:04:55.273Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T11:04:55.824Z] provisioning config files... [2022-06-27T11:04:55.835Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-293@tmp/config7482132559278364790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:04:56.188Z] ---> docker-login.sh [2022-06-27T11:04:56.188Z] nexus3.edgexfoundry.org:10001 [2022-06-27T11:04:56.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:04:56.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:04:56.188Z] Configure a credential helper to remove this warning. See [2022-06-27T11:04:56.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:04:56.188Z] [2022-06-27T11:04:56.188Z] Login Succeeded [2022-06-27T11:04:56.188Z] nexus3.edgexfoundry.org:10002 [2022-06-27T11:04:56.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:04:56.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:04:56.449Z] Configure a credential helper to remove this warning. See [2022-06-27T11:04:56.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:04:56.449Z] [2022-06-27T11:04:56.449Z] Login Succeeded [2022-06-27T11:04:56.449Z] nexus3.edgexfoundry.org:10003 [2022-06-27T11:04:56.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:04:56.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:04:56.449Z] Configure a credential helper to remove this warning. See [2022-06-27T11:04:56.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:04:56.449Z] [2022-06-27T11:04:56.449Z] Login Succeeded [2022-06-27T11:04:56.449Z] nexus3.edgexfoundry.org:10004 [2022-06-27T11:04:56.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:04:56.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:04:56.711Z] Configure a credential helper to remove this warning. See [2022-06-27T11:04:56.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:04:56.711Z] [2022-06-27T11:04:56.711Z] Login Succeeded [2022-06-27T11:04:56.711Z] docker.io [2022-06-27T11:04:56.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:04:56.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:04:56.974Z] Configure a credential helper to remove this warning. See [2022-06-27T11:04:56.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:04:56.974Z] [2022-06-27T11:04:56.974Z] Login Succeeded [2022-06-27T11:04:56.974Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T11:04:57.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T11:04:57.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T11:04:57.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T11:04:57.261Z] ========================================================= [2022-06-27T11:04:57.261Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T11:04:57.261Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:04:57.736Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T11:04:57.736Z] Sending build context to Docker daemon 23.03MB [2022-06-27T11:04:57.736Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T11:04:57.736Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T11:04:57.998Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T11:04:57.998Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T11:04:57.998Z] 666ba61612fd: Pulling fs layer [2022-06-27T11:04:57.998Z] 8ed8ca486205: Pulling fs layer [2022-06-27T11:04:57.998Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T11:04:57.998Z] c516ae0d96e1: Pulling fs layer [2022-06-27T11:04:57.998Z] 684cea983483: Pulling fs layer [2022-06-27T11:04:57.998Z] dd3240ac7de5: Pulling fs layer [2022-06-27T11:04:57.998Z] b1e948a4e11c: Pulling fs layer [2022-06-27T11:04:57.998Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T11:04:57.998Z] 646ad004c059: Pulling fs layer [2022-06-27T11:04:57.998Z] cc1cd167ecdc: Waiting [2022-06-27T11:04:57.998Z] c516ae0d96e1: Waiting [2022-06-27T11:04:57.998Z] a8fd76ee1af6: Waiting [2022-06-27T11:04:57.998Z] b1e948a4e11c: Waiting [2022-06-27T11:04:57.998Z] 684cea983483: Waiting [2022-06-27T11:04:57.998Z] 646ad004c059: Waiting [2022-06-27T11:04:57.998Z] dd3240ac7de5: Waiting [2022-06-27T11:04:57.998Z] 8ed8ca486205: Verifying Checksum [2022-06-27T11:04:57.998Z] 8ed8ca486205: Download complete [2022-06-27T11:04:57.998Z] 666ba61612fd: Verifying Checksum [2022-06-27T11:04:57.998Z] 666ba61612fd: Download complete [2022-06-27T11:04:57.998Z] c516ae0d96e1: Download complete [2022-06-27T11:04:57.998Z] 684cea983483: Verifying Checksum [2022-06-27T11:04:57.998Z] 684cea983483: Download complete [2022-06-27T11:04:57.998Z] dd3240ac7de5: Verifying Checksum [2022-06-27T11:04:57.998Z] dd3240ac7de5: Download complete [2022-06-27T11:04:57.998Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T11:04:57.998Z] 59bf1c3509f3: Download complete [2022-06-27T11:04:57.998Z] b1e948a4e11c: Verifying Checksum [2022-06-27T11:04:57.998Z] b1e948a4e11c: Download complete [2022-06-27T11:04:57.998Z] 59bf1c3509f3: Pull complete [2022-06-27T11:04:58.262Z] 666ba61612fd: Pull complete [2022-06-27T11:04:58.263Z] 8ed8ca486205: Pull complete [2022-06-27T11:04:58.524Z] 646ad004c059: Verifying Checksum [2022-06-27T11:04:58.524Z] 646ad004c059: Download complete [2022-06-27T11:04:58.524Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T11:04:58.524Z] a8fd76ee1af6: Download complete [2022-06-27T11:04:58.783Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T11:04:58.783Z] cc1cd167ecdc: Download complete [2022-06-27T11:05:02.983Z] cc1cd167ecdc: Pull complete [2022-06-27T11:05:02.983Z] c516ae0d96e1: Pull complete [2022-06-27T11:05:02.983Z] 684cea983483: Pull complete [2022-06-27T11:05:02.983Z] dd3240ac7de5: Pull complete [2022-06-27T11:05:03.244Z] b1e948a4e11c: Pull complete [2022-06-27T11:05:05.786Z] a8fd76ee1af6: Pull complete [2022-06-27T11:05:06.366Z] 646ad004c059: Pull complete [2022-06-27T11:05:06.366Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T11:05:06.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T11:05:06.366Z] ---> 8f69c11f6b0c [2022-06-27T11:05:06.366Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T11:05:08.289Z] ---> Running in e0f301652040 [2022-06-27T11:05:08.289Z] Removing intermediate container e0f301652040 [2022-06-27T11:05:08.289Z] ---> 22511447c958 [2022-06-27T11:05:08.289Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T11:05:08.289Z] ---> Running in 4c1272104379 [2022-06-27T11:05:08.289Z] Removing intermediate container 4c1272104379 [2022-06-27T11:05:08.289Z] ---> c9a02171fa5a [2022-06-27T11:05:08.289Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-27T11:05:08.289Z] ---> Running in c0cf2bbe0bef [2022-06-27T11:05:08.289Z] Removing intermediate container c0cf2bbe0bef [2022-06-27T11:05:08.289Z] ---> 776cd9b161ad [2022-06-27T11:05:08.289Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T11:05:08.550Z] ---> Running in ce9878d11c13 [2022-06-27T11:05:09.494Z] Removing intermediate container ce9878d11c13 [2022-06-27T11:05:09.494Z] ---> 86e6365c2866 [2022-06-27T11:05:09.494Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T11:05:09.494Z] ---> Running in deabf104899c [2022-06-27T11:05:09.755Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T11:05:10.660Z] Still waiting to schedule task [2022-06-27T11:05:10.661Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-27T11:05:10.694Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T11:05:10.955Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T11:05:11.216Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T11:05:11.216Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T11:05:11.216Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T11:05:11.477Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T11:05:11.477Z] OK: 224 MiB in 56 packages [2022-06-27T11:05:12.055Z] Removing intermediate container deabf104899c [2022-06-27T11:05:12.055Z] ---> 941726d048db [2022-06-27T11:05:12.055Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-27T11:05:12.055Z] ---> 08eb8a2bb83d [2022-06-27T11:05:12.055Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T11:05:12.055Z] ---> Running in 1ef5eb097f87 [2022-06-27T11:05:26.978Z] Removing intermediate container 1ef5eb097f87 [2022-06-27T11:05:26.978Z] ---> 77185b8f942d [2022-06-27T11:05:26.978Z] Step 10/12 : COPY . . [2022-06-27T11:05:27.553Z] ---> 83c3c3176e40 [2022-06-27T11:05:27.553Z] Step 11/12 : ARG MAKE='make build' [2022-06-27T11:05:27.553Z] ---> Running in e63a579a3422 [2022-06-27T11:05:27.553Z] Removing intermediate container e63a579a3422 [2022-06-27T11:05:27.553Z] ---> 5aed18428f4a [2022-06-27T11:05:27.553Z] Step 12/12 : RUN $MAKE [2022-06-27T11:05:27.553Z] ---> Running in 38a4eb8a9388 [2022-06-27T11:05:27.817Z] noop [2022-06-27T11:05:28.079Z] Removing intermediate container 38a4eb8a9388 [2022-06-27T11:05:28.079Z] ---> 94ea4dc3d9f9 [2022-06-27T11:05:28.079Z] Successfully built 94ea4dc3d9f9 [2022-06-27T11:05:28.079Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:05:28.794Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T11:05:28.794Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T11:05:28.972Z] prd-ubuntu20.04-docker-8c-8g-16082 does not seem to be running inside a container [2022-06-27T11:05:29.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-293 -v /w/workspace/foundry_device-virtual-go_PR-293:/w/workspace/foundry_device-virtual-go_PR-293:rw,z -v /w/workspace/foundry_device-virtual-go_PR-293@tmp:/w/workspace/foundry_device-virtual-go_PR-293@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-06-27T11:05:29.446Z] $ docker top 465446c3dbd6c43883859bdae09476d622d28cfa25183c441a5633a90ee74c40 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T11:05:29.896Z] + go version [2022-06-27T11:05:29.896Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T11:05:29.931Z] $ docker stop --time=1 465446c3dbd6c43883859bdae09476d622d28cfa25183c441a5633a90ee74c40 [2022-06-27T11:05:31.490Z] $ docker rm -f 465446c3dbd6c43883859bdae09476d622d28cfa25183c441a5633a90ee74c40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:05:32.229Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T11:05:32.229Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T11:05:32.397Z] prd-ubuntu20.04-docker-8c-8g-16082 does not seem to be running inside a container [2022-06-27T11:05:32.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-293 -v /w/workspace/foundry_device-virtual-go_PR-293:/w/workspace/foundry_device-virtual-go_PR-293:rw,z -v /w/workspace/foundry_device-virtual-go_PR-293@tmp:/w/workspace/foundry_device-virtual-go_PR-293@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-06-27T11:05:32.871Z] $ docker top 25b29c4d10e2085c38e0da1fc0dbec641d0532be0e604fb025ea4c211d669f25 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T11:05:33.329Z] + make test [2022-06-27T11:05:33.329Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-27T11:05:33.589Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-27T11:05:43.586Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-27T11:05:43.586Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements [2022-06-27T11:05:51.733Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T11:05:55.932Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T11:05:55.932Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T11:05:55.932Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T11:05:55.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T11:05:56.002Z] $ docker stop --time=1 25b29c4d10e2085c38e0da1fc0dbec641d0532be0e604fb025ea4c211d669f25 [2022-06-27T11:05:57.909Z] $ docker rm -f 25b29c4d10e2085c38e0da1fc0dbec641d0532be0e604fb025ea4c211d669f25 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T11:05:58.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T11:05:58.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T11:05:59.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T11:05:59.530Z] + ls -al . [2022-06-27T11:05:59.530Z] total 192 [2022-06-27T11:05:59.530Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 11:05 . [2022-06-27T11:05:59.530Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 11:04 .. [2022-06-27T11:05:59.530Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 11:04 .git [2022-06-27T11:05:59.530Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 11:04 .github [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 27 11:04 .gitignore [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 11:04 .golangci.yml [2022-06-27T11:05:59.530Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 11:04 .semver [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 27 11:04 Attribution.txt [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 27 11:04 CHANGELOG.md [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 27 11:04 Dockerfile [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 11:04 GOVERNANCE.md [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 27 11:04 Jenkinsfile [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 11:04 LICENSE [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 27 11:04 Makefile [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 27 11:04 OWNERS.md [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 27 11:04 README.md [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 11:04 VERSION [2022-06-27T11:05:59.530Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 11:04 bin [2022-06-27T11:05:59.530Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 11:04 cmd [2022-06-27T11:05:59.530Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 27 11:05 coverage.out [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 3190 Jun 27 11:04 go.mod [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 35854 Jun 27 11:04 go.sum [2022-06-27T11:05:59.530Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 11:04 internal [2022-06-27T11:05:59.530Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 11:04 snap [2022-06-27T11:05:59.530Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 27 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:05:59.924Z] + 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=f70277535b4edfc31a5264c55b945885c4677722 --label arch=amd64 --label version=0.0.0 . [2022-06-27T11:05:59.925Z] Sending build context to Docker daemon 23.08MB [2022-06-27T11:05:59.925Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T11:05:59.925Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T11:05:59.925Z] ---> 94ea4dc3d9f9 [2022-06-27T11:05:59.925Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T11:06:00.186Z] ---> Running in 9ddede7746ff [2022-06-27T11:06:00.186Z] Removing intermediate container 9ddede7746ff [2022-06-27T11:06:00.186Z] ---> 0fa67b958449 [2022-06-27T11:06:00.186Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T11:06:00.186Z] ---> Running in 0ad841c27a5f [2022-06-27T11:06:00.451Z] Removing intermediate container 0ad841c27a5f [2022-06-27T11:06:00.451Z] ---> 40ca0dcb5513 [2022-06-27T11:06:00.451Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-27T11:06:00.451Z] ---> Running in b40dd0b698bc [2022-06-27T11:06:00.451Z] Removing intermediate container b40dd0b698bc [2022-06-27T11:06:00.451Z] ---> a0efc12af37d [2022-06-27T11:06:00.451Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T11:06:00.451Z] ---> Running in cd02c4b91a89 [2022-06-27T11:06:01.396Z] Removing intermediate container cd02c4b91a89 [2022-06-27T11:06:01.396Z] ---> f9992b51164f [2022-06-27T11:06:01.396Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T11:06:01.396Z] ---> Running in 7a6bb6efe41a [2022-06-27T11:06:01.396Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T11:06:02.338Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T11:06:02.601Z] OK: 224 MiB in 56 packages [2022-06-27T11:06:02.861Z] Removing intermediate container 7a6bb6efe41a [2022-06-27T11:06:02.861Z] ---> 1660f283d4b8 [2022-06-27T11:06:02.861Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-27T11:06:03.121Z] ---> 4be7c261aa1e [2022-06-27T11:06:03.121Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T11:06:03.121Z] ---> Running in 1f66b73afd13 [2022-06-27T11:06:04.063Z] Removing intermediate container 1f66b73afd13 [2022-06-27T11:06:04.063Z] ---> 8d44b56378db [2022-06-27T11:06:04.063Z] Step 10/26 : COPY . . [2022-06-27T11:06:04.632Z] ---> 8359b9c64cd3 [2022-06-27T11:06:04.633Z] Step 11/26 : ARG MAKE='make build' [2022-06-27T11:06:04.633Z] ---> Running in 71766022c983 [2022-06-27T11:06:04.633Z] Removing intermediate container 71766022c983 [2022-06-27T11:06:04.633Z] ---> 7a5fc0bd403c [2022-06-27T11:06:04.633Z] Step 12/26 : RUN $MAKE [2022-06-27T11:06:04.633Z] ---> Running in 19d5d6bab2e7 [2022-06-27T11:06:04.892Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-27T11:06:26.844Z] Removing intermediate container 19d5d6bab2e7 [2022-06-27T11:06:26.844Z] ---> c7965b7c9e1d [2022-06-27T11:06:26.844Z] Step 13/26 : FROM alpine:3.14 [2022-06-27T11:06:26.844Z] 3.14: Pulling from library/alpine [2022-06-27T11:06:26.844Z] 8663204ce13b: Pulling fs layer [2022-06-27T11:06:26.844Z] 8663204ce13b: Verifying Checksum [2022-06-27T11:06:26.844Z] 8663204ce13b: Download complete [2022-06-27T11:06:27.104Z] 8663204ce13b: Pull complete [2022-06-27T11:06:27.104Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T11:06:27.104Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T11:06:27.104Z] ---> e04c818066af [2022-06-27T11:06:27.104Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-27T11:06:27.104Z] ---> Running in 0575c50dac6e [2022-06-27T11:06:27.364Z] Removing intermediate container 0575c50dac6e [2022-06-27T11:06:27.364Z] ---> da9738c9511b [2022-06-27T11:06:27.364Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T11:06:27.364Z] ---> Running in 857ec54157e1 [2022-06-27T11:06:27.936Z] Removing intermediate container 857ec54157e1 [2022-06-27T11:06:27.936Z] ---> 9bc16e4ed1e3 [2022-06-27T11:06:27.936Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T11:06:28.197Z] ---> Running in 58b71dc306ac [2022-06-27T11:06:28.458Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-27T11:06:29.398Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-27T11:06:29.659Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T11:06:29.659Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T11:06:29.659Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T11:06:29.921Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T11:06:29.921Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T11:06:29.921Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T11:06:30.182Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T11:06:30.182Z] OK: 8 MiB in 20 packages [2022-06-27T11:06:30.442Z] Removing intermediate container 58b71dc306ac [2022-06-27T11:06:30.442Z] ---> 7538a14ba451 [2022-06-27T11:06:30.442Z] Step 17/26 : WORKDIR / [2022-06-27T11:06:30.442Z] ---> Running in d47feeb01347 [2022-06-27T11:06:30.703Z] Removing intermediate container d47feeb01347 [2022-06-27T11:06:30.703Z] ---> f754909f06ac [2022-06-27T11:06:30.703Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-27T11:06:30.703Z] ---> 3fe03af62fe0 [2022-06-27T11:06:30.703Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-27T11:06:30.964Z] ---> 3e824a86e42e [2022-06-27T11:06:30.964Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-27T11:06:31.536Z] ---> eaa776b7940a [2022-06-27T11:06:31.536Z] Step 21/26 : EXPOSE 59900 [2022-06-27T11:06:31.799Z] ---> Running in 8a4d17630392 [2022-06-27T11:06:31.799Z] Removing intermediate container 8a4d17630392 [2022-06-27T11:06:31.799Z] ---> 0b17e0ca4e57 [2022-06-27T11:06:31.799Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-27T11:06:31.799Z] ---> Running in 88bdb430ff93 [2022-06-27T11:06:31.799Z] Removing intermediate container 88bdb430ff93 [2022-06-27T11:06:31.799Z] ---> 449a48dd8664 [2022-06-27T11:06:31.799Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T11:06:32.068Z] ---> Running in 38a361ad0964 [2022-06-27T11:06:32.068Z] Removing intermediate container 38a361ad0964 [2022-06-27T11:06:32.068Z] ---> 7abefd3a5cf6 [2022-06-27T11:06:32.068Z] Step 24/26 : LABEL arch=amd64 [2022-06-27T11:06:32.068Z] ---> Running in 0e52600dcdb8 [2022-06-27T11:06:32.068Z] Removing intermediate container 0e52600dcdb8 [2022-06-27T11:06:32.068Z] ---> adbea8b13b61 [2022-06-27T11:06:32.068Z] Step 25/26 : LABEL git_sha=f70277535b4edfc31a5264c55b945885c4677722 [2022-06-27T11:06:32.328Z] ---> Running in 7683192b8cf0 [2022-06-27T11:06:32.328Z] Removing intermediate container 7683192b8cf0 [2022-06-27T11:06:32.328Z] ---> 0e3cc4db47e4 [2022-06-27T11:06:32.328Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T11:06:32.328Z] ---> Running in 9cfd6917b85c [2022-06-27T11:06:32.692Z] Removing intermediate container 9cfd6917b85c [2022-06-27T11:06:32.692Z] ---> 17462b4b3989 [2022-06-27T11:06:32.692Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T11:06:32.692Z] Successfully built 17462b4b3989 [2022-06-27T11:06:32.692Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:06:33.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T11:06:33.613Z] [2022-06-27T11:06:33.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:06:33.990Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T11:06:33.990Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T11:06:33.990Z] 5eb5b503b376: Pulling fs layer [2022-06-27T11:06:33.990Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T11:06:33.990Z] ec43610c2a17: Pulling fs layer [2022-06-27T11:06:33.990Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T11:06:33.990Z] 33b1e0a273af: Pulling fs layer [2022-06-27T11:06:33.990Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T11:06:33.990Z] 2f39f015ded8: Pulling fs layer [2022-06-27T11:06:33.990Z] 3a2ae6a8a46f: Waiting [2022-06-27T11:06:33.990Z] 33b1e0a273af: Waiting [2022-06-27T11:06:33.990Z] 5d3b04190fa2: Waiting [2022-06-27T11:06:33.990Z] 2f39f015ded8: Waiting [2022-06-27T11:06:33.990Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T11:06:33.990Z] 5c69ac0246d0: Download complete [2022-06-27T11:06:33.990Z] 3a2ae6a8a46f: Download complete [2022-06-27T11:06:33.990Z] 33b1e0a273af: Verifying Checksum [2022-06-27T11:06:33.990Z] 33b1e0a273af: Download complete [2022-06-27T11:06:34.250Z] ec43610c2a17: Verifying Checksum [2022-06-27T11:06:34.250Z] ec43610c2a17: Download complete [2022-06-27T11:06:34.250Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T11:06:34.250Z] 5d3b04190fa2: Download complete [2022-06-27T11:06:34.250Z] 5eb5b503b376: Verifying Checksum [2022-06-27T11:06:34.250Z] 5eb5b503b376: Download complete [2022-06-27T11:06:34.819Z] 2f39f015ded8: Download complete [2022-06-27T11:06:35.764Z] 5eb5b503b376: Pull complete [2022-06-27T11:06:35.764Z] 5c69ac0246d0: Pull complete [2022-06-27T11:06:36.335Z] ec43610c2a17: Pull complete [2022-06-27T11:06:36.335Z] 3a2ae6a8a46f: Pull complete [2022-06-27T11:06:36.595Z] 33b1e0a273af: Pull complete [2022-06-27T11:06:36.595Z] 5d3b04190fa2: Pull complete [2022-06-27T11:06:41.873Z] 2f39f015ded8: Pull complete [2022-06-27T11:06:41.873Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T11:06:41.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T11:06:41.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T11:06:42.116Z] prd-ubuntu20.04-docker-8c-8g-16082 does not seem to be running inside a container [2022-06-27T11:06:42.153Z] $ 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-293 -v /w/workspace/foundry_device-virtual-go_PR-293:/w/workspace/foundry_device-virtual-go_PR-293:rw,z -v /w/workspace/foundry_device-virtual-go_PR-293@tmp:/w/workspace/foundry_device-virtual-go_PR-293@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-06-27T11:06:44.211Z] $ docker top 525386ee5291fac2f1f22babdc129d43001ff4790e867a87a7b734fd0828bdc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:06:44.799Z] ---> job-cost.sh [2022-06-27T11:06:44.799Z] lf-activate-venv: SKIPPING [2022-06-27T11:06:44.799Z] INFO: No Stack... [2022-06-27T11:06:45.425Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T11:06:45.684Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T11:06:46.014Z] + cat /w/workspace/foundry_device-virtual-go_PR-293/archives/cost.csv [2022-06-27T11:06:46.014Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T11:06:46.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-293-1-stack-cost] [2022-06-27T11:06:46.053Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-293-1-stack-cost] did not exist. Created. [2022-06-27T11:06:46.053Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-293-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T11:06:46.455Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T11:06:46.508Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T11:06:46.532Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-293-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T11:06:46.614Z] $ docker stop --time=1 525386ee5291fac2f1f22babdc129d43001ff4790e867a87a7b734fd0828bdc0 [2022-06-27T11:06:47.839Z] $ docker rm -f 525386ee5291fac2f1f22babdc129d43001ff4790e867a87a7b734fd0828bdc0 [2022-06-27T11:06:47.916Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16084 in /w/workspace/foundry_device-virtual-go_PR-293 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-06-27T11:06:48.025Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] } [2022-06-27T11:06:48.088Z] The recommended git tool is: git [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T11:06:53.999Z] using credential edgex-jenkins-ssh [2022-06-27T11:06:54.016Z] Cloning the remote Git repository [2022-06-27T11:06:54.065Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-27T11:06:54.136Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-06-27T11:06:54.246Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-27T11:06:54.247Z] > git --version # timeout=10 [2022-06-27T11:06:54.286Z] > git --version # 'git version 2.25.1' [2022-06-27T11:06:54.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T11:06:54.403Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T11:06:56.768Z] Merging remotes/origin/main commit 6c956091e39ebf418aab18435948f90fcdb39d95 into PR head commit f70277535b4edfc31a5264c55b945885c4677722 [2022-06-27T11:06:56.976Z] Merge succeeded, producing f70277535b4edfc31a5264c55b945885c4677722 [2022-06-27T11:06:56.977Z] Checking out Revision f70277535b4edfc31a5264c55b945885c4677722 (PR-293) [2022-06-27T11:06:56.214Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-27T11:06:56.249Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T11:06:56.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-27T11:06:56.308Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-27T11:06:56.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T11:06:56.321Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/293/head:refs/remotes/origin/PR-293 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T11:06:56.788Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T11:06:56.801Z] > git checkout -f f70277535b4edfc31a5264c55b945885c4677722 # timeout=10 [2022-06-27T11:06:56.895Z] > git remote # timeout=10 [2022-06-27T11:06:56.914Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T11:06:56.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T11:06:56.941Z] > git merge 6c956091e39ebf418aab18435948f90fcdb39d95 # timeout=10 [2022-06-27T11:06:56.964Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T11:06:56.984Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T11:06:57.004Z] > git checkout -f f70277535b4edfc31a5264c55b945885c4677722 # timeout=10 [2022-06-27T11:07:01.133Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-06-27T11:07:01.194Z] > git --version # timeout=10 [2022-06-27T11:07:01.208Z] > git --version # 'git version 2.25.1' [2022-06-27T11:07:01.222Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T11:07:02.412Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T11:07:02.412Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T11:07:02.412Z] Dload Upload Total Spent Left Speed [2022-06-27T11:07:02.412Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 43917 0 --:--:-- --:--:-- --:--:-- 44075 [Pipeline] sh [2022-06-27T11:07:03.358Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T11:07:03.719Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T11:07:03.719Z] + sudo tee /etc/docker/daemon.new [2022-06-27T11:07:03.719Z] { [2022-06-27T11:07:03.719Z] "registry-mirrors": [ [2022-06-27T11:07:03.719Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T11:07:03.719Z] ], [2022-06-27T11:07:03.719Z] "bip": "10.250.0.254/24", [2022-06-27T11:07:03.719Z] "hosts": [ [2022-06-27T11:07:03.719Z] "tcp://0.0.0.0:5555", [2022-06-27T11:07:03.719Z] "unix:///var/run/docker.sock" [2022-06-27T11:07:03.719Z] ], [2022-06-27T11:07:03.719Z] "mtu": 1458, [2022-06-27T11:07:03.719Z] "selinux-enabled": true, [2022-06-27T11:07:03.719Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T11:07:03.719Z] } [Pipeline] sh [2022-06-27T11:07:04.080Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T11:07:04.437Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T11:07:22.840Z] provisioning config files... [2022-06-27T11:07:22.867Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1961675293274350733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:07:23.269Z] ---> docker-login.sh [2022-06-27T11:07:23.269Z] nexus3.edgexfoundry.org:10001 [2022-06-27T11:07:23.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:07:24.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:07:24.142Z] Configure a credential helper to remove this warning. See [2022-06-27T11:07:24.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:07:24.142Z] [2022-06-27T11:07:24.142Z] Login Succeeded [2022-06-27T11:07:24.142Z] nexus3.edgexfoundry.org:10002 [2022-06-27T11:07:24.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:07:24.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:07:24.694Z] Configure a credential helper to remove this warning. See [2022-06-27T11:07:24.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:07:24.694Z] [2022-06-27T11:07:24.694Z] Login Succeeded [2022-06-27T11:07:24.694Z] nexus3.edgexfoundry.org:10003 [2022-06-27T11:07:24.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:07:24.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:07:24.973Z] Configure a credential helper to remove this warning. See [2022-06-27T11:07:24.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:07:24.973Z] [2022-06-27T11:07:24.973Z] Login Succeeded [2022-06-27T11:07:24.973Z] nexus3.edgexfoundry.org:10004 [2022-06-27T11:07:25.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:07:25.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:07:25.575Z] Configure a credential helper to remove this warning. See [2022-06-27T11:07:25.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:07:25.575Z] [2022-06-27T11:07:25.575Z] Login Succeeded [2022-06-27T11:07:25.575Z] docker.io [2022-06-27T11:07:25.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T11:07:26.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T11:07:26.127Z] Configure a credential helper to remove this warning. See [2022-06-27T11:07:26.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T11:07:26.127Z] [2022-06-27T11:07:26.127Z] Login Succeeded [2022-06-27T11:07:26.127Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T11:07:26.158Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T11:07:26.545Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T11:07:26.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T11:07:26.611Z] ========================================================= [2022-06-27T11:07:26.611Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T11:07:26.611Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:07:27.101Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T11:07:27.378Z] Sending build context to Docker daemon 11.65MB [2022-06-27T11:07:27.657Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T11:07:27.657Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T11:07:27.657Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T11:07:27.657Z] 9b3977197b4f: Pulling fs layer [2022-06-27T11:07:27.657Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T11:07:27.657Z] 94645a83ff95: Pulling fs layer [2022-06-27T11:07:27.657Z] e6fb740bc735: Pulling fs layer [2022-06-27T11:07:27.657Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T11:07:27.657Z] 355e64cbe906: Pulling fs layer [2022-06-27T11:07:27.657Z] 63ab81a10011: Pulling fs layer [2022-06-27T11:07:27.657Z] 555d1d1c4555: Pulling fs layer [2022-06-27T11:07:27.657Z] e6fb740bc735: Waiting [2022-06-27T11:07:27.657Z] 3a77bd46dcc9: Waiting [2022-06-27T11:07:27.657Z] 355e64cbe906: Waiting [2022-06-27T11:07:27.657Z] 63ab81a10011: Waiting [2022-06-27T11:07:27.657Z] 555d1d1c4555: Waiting [2022-06-27T11:07:27.657Z] 7d9057610161: Pulling fs layer [2022-06-27T11:07:27.657Z] 7d9057610161: Waiting [2022-06-27T11:07:27.657Z] 94645a83ff95: Download complete [2022-06-27T11:07:27.657Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T11:07:27.657Z] 1a89e8eeedd5: Download complete [2022-06-27T11:07:27.657Z] 3a77bd46dcc9: Download complete [2022-06-27T11:07:27.657Z] 355e64cbe906: Download complete [2022-06-27T11:07:27.946Z] 9b3977197b4f: Verifying Checksum [2022-06-27T11:07:27.946Z] 9b3977197b4f: Download complete [2022-06-27T11:07:27.946Z] 63ab81a10011: Verifying Checksum [2022-06-27T11:07:27.946Z] 63ab81a10011: Download complete [2022-06-27T11:07:28.560Z] 9b3977197b4f: Pull complete [2022-06-27T11:07:28.837Z] 7d9057610161: Verifying Checksum [2022-06-27T11:07:28.837Z] 7d9057610161: Download complete [2022-06-27T11:07:29.118Z] 1a89e8eeedd5: Pull complete [2022-06-27T11:07:29.393Z] 94645a83ff95: Pull complete [2022-06-27T11:07:29.991Z] 555d1d1c4555: Verifying Checksum [2022-06-27T11:07:29.991Z] 555d1d1c4555: Download complete [2022-06-27T11:07:30.590Z] e6fb740bc735: Download complete [2022-06-27T11:07:42.994Z] e6fb740bc735: Pull complete [2022-06-27T11:07:42.994Z] 3a77bd46dcc9: Pull complete [2022-06-27T11:07:42.994Z] 355e64cbe906: Pull complete [2022-06-27T11:07:43.269Z] 63ab81a10011: Pull complete [2022-06-27T11:07:49.992Z] 555d1d1c4555: Pull complete [2022-06-27T11:07:51.978Z] 7d9057610161: Pull complete [2022-06-27T11:07:51.979Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T11:07:51.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T11:07:51.979Z] ---> 819e984ddca1 [2022-06-27T11:07:51.979Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T11:07:52.610Z] ---> Running in da50f4fe3265 [2022-06-27T11:07:53.590Z] Removing intermediate container da50f4fe3265 [2022-06-27T11:07:53.590Z] ---> fc70f92dd027 [2022-06-27T11:07:53.590Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T11:07:53.590Z] ---> Running in af1c7800ee6e [2022-06-27T11:07:53.871Z] Removing intermediate container af1c7800ee6e [2022-06-27T11:07:53.871Z] ---> 7332207135d8 [2022-06-27T11:07:53.871Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-27T11:07:54.147Z] ---> Running in a8b428e9f5b5 [2022-06-27T11:07:54.423Z] Removing intermediate container a8b428e9f5b5 [2022-06-27T11:07:54.423Z] ---> f9adf801a8cb [2022-06-27T11:07:54.423Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T11:07:54.423Z] ---> Running in e3024515bcfb [2022-06-27T11:07:56.407Z] Removing intermediate container e3024515bcfb [2022-06-27T11:07:56.407Z] ---> eb3822dd62d6 [2022-06-27T11:07:56.407Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T11:07:56.407Z] ---> Running in 515fe15bc733 [2022-06-27T11:07:57.389Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T11:07:57.985Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T11:07:58.965Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T11:07:58.965Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T11:07:58.965Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T11:07:59.241Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T11:07:59.241Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T11:07:59.241Z] OK: 224 MiB in 56 packages [2022-06-27T11:08:00.218Z] Removing intermediate container 515fe15bc733 [2022-06-27T11:08:00.218Z] ---> e0737d6ddc97 [2022-06-27T11:08:00.218Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-27T11:08:00.814Z] ---> f7e68eda79bc [2022-06-27T11:08:00.814Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T11:08:00.814Z] ---> Running in d88b5415f170 [2022-06-27T11:08:47.787Z] Removing intermediate container d88b5415f170 [2022-06-27T11:08:47.787Z] ---> c3d0bac263b8 [2022-06-27T11:08:47.787Z] Step 10/12 : COPY . . [2022-06-27T11:08:47.787Z] ---> 96a01b53b2bf [2022-06-27T11:08:47.787Z] Step 11/12 : ARG MAKE='make build' [2022-06-27T11:08:47.787Z] ---> Running in 86b38bdb90a2 [2022-06-27T11:08:47.787Z] Removing intermediate container 86b38bdb90a2 [2022-06-27T11:08:47.787Z] ---> 9e47f6313f6c [2022-06-27T11:08:47.787Z] Step 12/12 : RUN $MAKE [2022-06-27T11:08:47.787Z] ---> Running in 726d656e1666 [2022-06-27T11:08:47.787Z] noop [2022-06-27T11:08:48.389Z] Removing intermediate container 726d656e1666 [2022-06-27T11:08:48.389Z] ---> 461548b02703 [2022-06-27T11:08:48.389Z] Successfully built 461548b02703 [2022-06-27T11:08:48.389Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:08:48.868Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T11:08:48.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T11:08:49.183Z] prd-ubuntu20.04-docker-arm64-4c-16g-16084 does not seem to be running inside a container [2022-06-27T11:08:49.272Z] $ 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-06-27T11:08:50.540Z] $ docker top a1cda9ec5b632abdbee8fa90c3e96e64c945c9df57d12cfb90eb359518514d8f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T11:08:51.492Z] + go version [2022-06-27T11:08:51.492Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T11:08:51.539Z] $ docker stop --time=1 a1cda9ec5b632abdbee8fa90c3e96e64c945c9df57d12cfb90eb359518514d8f [2022-06-27T11:08:53.181Z] $ docker rm -f a1cda9ec5b632abdbee8fa90c3e96e64c945c9df57d12cfb90eb359518514d8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:08:54.042Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T11:08:54.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T11:08:54.359Z] prd-ubuntu20.04-docker-arm64-4c-16g-16084 does not seem to be running inside a container [2022-06-27T11:08:54.443Z] $ 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-06-27T11:08:55.719Z] $ docker top 7e978e5f5eaec5c86bfaad4e327afe1bb17860114e48f39d96318b5060b764d7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T11:08:56.725Z] + make test [2022-06-27T11:08:56.725Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-27T11:08:58.175Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-27T11:10:20.024Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-27T11:10:20.024Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.136s coverage: 65.7% of statements [2022-06-27T11:10:20.024Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T11:10:20.024Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T11:10:42.240Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T11:10:42.240Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T11:10:42.240Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T11:10:42.868Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T11:10:42.906Z] $ docker stop --time=1 7e978e5f5eaec5c86bfaad4e327afe1bb17860114e48f39d96318b5060b764d7 [2022-06-27T11:10:44.721Z] $ docker rm -f 7e978e5f5eaec5c86bfaad4e327afe1bb17860114e48f39d96318b5060b764d7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T11:10:45.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T11:10:45.726Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T11:10:46.192Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T11:10:46.763Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T11:10:47.111Z] + ls -al . [2022-06-27T11:10:47.111Z] total 188 [2022-06-27T11:10:47.111Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 11:10 . [2022-06-27T11:10:47.111Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 11:06 .. [2022-06-27T11:10:47.111Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 11:07 .git [2022-06-27T11:10:47.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 11:06 .github [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 27 11:06 .gitignore [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 11:06 .golangci.yml [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 27 11:06 Attribution.txt [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 27 11:06 CHANGELOG.md [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 27 11:06 Dockerfile [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 11:06 GOVERNANCE.md [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 27 11:06 Jenkinsfile [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 11:06 LICENSE [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 27 11:06 Makefile [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 27 11:06 OWNERS.md [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 27 11:06 README.md [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 11:04 VERSION [2022-06-27T11:10:47.111Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 11:06 bin [2022-06-27T11:10:47.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 11:06 cmd [2022-06-27T11:10:47.111Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 27 11:10 coverage.out [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 3190 Jun 27 11:06 go.mod [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 35854 Jun 27 11:06 go.sum [2022-06-27T11:10:47.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 11:06 internal [2022-06-27T11:10:47.111Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 11:06 snap [2022-06-27T11:10:47.111Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 27 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:10:47.533Z] + 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=f70277535b4edfc31a5264c55b945885c4677722 --label arch=arm64 --label version=0.0.0 . [2022-06-27T11:10:47.809Z] Sending build context to Docker daemon 11.69MB [2022-06-27T11:10:48.083Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T11:10:48.083Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-27T11:10:48.083Z] ---> 461548b02703 [2022-06-27T11:10:48.083Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T11:10:48.083Z] ---> Running in f2680459f094 [2022-06-27T11:10:48.372Z] Removing intermediate container f2680459f094 [2022-06-27T11:10:48.372Z] ---> 357466d2b94f [2022-06-27T11:10:48.372Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T11:10:48.372Z] ---> Running in 9914627921af [2022-06-27T11:10:48.977Z] Removing intermediate container 9914627921af [2022-06-27T11:10:48.977Z] ---> fc6ec14b019b [2022-06-27T11:10:48.977Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-27T11:10:48.977Z] ---> Running in 17d8ed28ad55 [2022-06-27T11:10:49.249Z] Removing intermediate container 17d8ed28ad55 [2022-06-27T11:10:49.249Z] ---> 5a2a31dca362 [2022-06-27T11:10:49.249Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T11:10:49.249Z] ---> Running in ec86b54f2ad8 [2022-06-27T11:10:51.235Z] Removing intermediate container ec86b54f2ad8 [2022-06-27T11:10:51.235Z] ---> 713c0a3fcbb9 [2022-06-27T11:10:51.235Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T11:10:51.235Z] ---> Running in 35550554a3af [2022-06-27T11:10:51.834Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T11:10:52.817Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T11:10:53.801Z] OK: 224 MiB in 56 packages [2022-06-27T11:10:54.407Z] Removing intermediate container 35550554a3af [2022-06-27T11:10:54.407Z] ---> c75f0dfcf403 [2022-06-27T11:10:54.407Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-27T11:10:55.004Z] ---> af8d72bc7a82 [2022-06-27T11:10:55.004Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T11:10:55.004Z] ---> Running in cfeb5c20a4d6 [2022-06-27T11:10:56.993Z] Removing intermediate container cfeb5c20a4d6 [2022-06-27T11:10:56.993Z] ---> 2f481dd31a31 [2022-06-27T11:10:56.993Z] Step 10/26 : COPY . . [2022-06-27T11:10:57.975Z] ---> bb61b77bb6cc [2022-06-27T11:10:57.975Z] Step 11/26 : ARG MAKE='make build' [2022-06-27T11:10:57.975Z] ---> Running in c0e0a453a574 [2022-06-27T11:10:58.251Z] Removing intermediate container c0e0a453a574 [2022-06-27T11:10:58.251Z] ---> fbe7e9cecd7b [2022-06-27T11:10:58.251Z] Step 12/26 : RUN $MAKE [2022-06-27T11:10:58.527Z] ---> Running in 1ad84932bd65 [2022-06-27T11:10:59.514Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-27T11:13:06.446Z] Removing intermediate container 1ad84932bd65 [2022-06-27T11:13:06.446Z] ---> 4b73250f19a9 [2022-06-27T11:13:06.446Z] Step 13/26 : FROM alpine:3.14 [2022-06-27T11:13:06.446Z] 3.14: Pulling from library/alpine [2022-06-27T11:13:06.446Z] 455c02918c45: Pulling fs layer [2022-06-27T11:13:06.446Z] 455c02918c45: Verifying Checksum [2022-06-27T11:13:06.446Z] 455c02918c45: Pull complete [2022-06-27T11:13:06.446Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T11:13:06.446Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T11:13:06.446Z] ---> ac73e934f311 [2022-06-27T11:13:06.446Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-27T11:13:06.446Z] ---> Running in 87343335665f [2022-06-27T11:13:06.446Z] Removing intermediate container 87343335665f [2022-06-27T11:13:06.446Z] ---> eaecf4d3e60b [2022-06-27T11:13:06.446Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T11:13:06.446Z] ---> Running in ec023eeabe03 [2022-06-27T11:13:06.446Z] Removing intermediate container ec023eeabe03 [2022-06-27T11:13:06.446Z] ---> 9a15a40c67c0 [2022-06-27T11:13:06.446Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T11:13:06.446Z] ---> Running in a9f3d28a915a [2022-06-27T11:13:06.446Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-27T11:13:06.446Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-27T11:13:06.446Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T11:13:06.446Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T11:13:06.446Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T11:13:06.446Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T11:13:06.446Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T11:13:06.446Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T11:13:06.446Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T11:13:06.446Z] OK: 8 MiB in 20 packages [2022-06-27T11:13:06.446Z] Removing intermediate container a9f3d28a915a [2022-06-27T11:13:06.446Z] ---> 28dab7256843 [2022-06-27T11:13:06.446Z] Step 17/26 : WORKDIR / [2022-06-27T11:13:06.446Z] ---> Running in 410badbb5642 [2022-06-27T11:13:06.446Z] Removing intermediate container 410badbb5642 [2022-06-27T11:13:06.446Z] ---> 1b2f89fd76d2 [2022-06-27T11:13:06.446Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-27T11:13:06.446Z] ---> 5ce48d43df27 [2022-06-27T11:13:06.446Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-27T11:13:06.446Z] ---> 256bd8a36588 [2022-06-27T11:13:06.446Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-27T11:13:06.446Z] ---> f6eadea91296 [2022-06-27T11:13:06.446Z] Step 21/26 : EXPOSE 59900 [2022-06-27T11:13:06.446Z] ---> Running in e889c8656568 [2022-06-27T11:13:06.446Z] Removing intermediate container e889c8656568 [2022-06-27T11:13:06.446Z] ---> eacd690768de [2022-06-27T11:13:06.446Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-27T11:13:06.446Z] ---> Running in e6104c5cc203 [2022-06-27T11:13:06.446Z] Removing intermediate container e6104c5cc203 [2022-06-27T11:13:06.446Z] ---> b461438b3dda [2022-06-27T11:13:06.446Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T11:13:06.446Z] ---> Running in b38cf0fc7a93 [2022-06-27T11:13:06.446Z] Removing intermediate container b38cf0fc7a93 [2022-06-27T11:13:06.446Z] ---> adbf69e7ef68 [2022-06-27T11:13:06.446Z] Step 24/26 : LABEL arch=arm64 [2022-06-27T11:13:06.446Z] ---> Running in 4b73d6c6d672 [2022-06-27T11:13:06.721Z] Removing intermediate container 4b73d6c6d672 [2022-06-27T11:13:06.721Z] ---> 782bb4154624 [2022-06-27T11:13:06.721Z] Step 25/26 : LABEL git_sha=f70277535b4edfc31a5264c55b945885c4677722 [2022-06-27T11:13:06.721Z] ---> Running in 0b541a423504 [2022-06-27T11:13:07.335Z] Removing intermediate container 0b541a423504 [2022-06-27T11:13:07.335Z] ---> ea1a440edfdf [2022-06-27T11:13:07.335Z] Step 26/26 : LABEL version=0.0.0 [2022-06-27T11:13:07.335Z] ---> Running in 22cc07e48cf1 [2022-06-27T11:13:07.615Z] Removing intermediate container 22cc07e48cf1 [2022-06-27T11:13:07.615Z] ---> 5cc6ecdc7144 [2022-06-27T11:13:07.615Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T11:13:07.615Z] Successfully built 5cc6ecdc7144 [2022-06-27T11:13:07.615Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:13:08.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T11:13:08.459Z] [2022-06-27T11:13:08.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:13:08.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T11:13:09.154Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T11:13:09.154Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T11:13:09.154Z] 04944245beec: Pulling fs layer [2022-06-27T11:13:09.154Z] 699f458cf7ca: Pulling fs layer [2022-06-27T11:13:09.155Z] 765212b225bb: Pulling fs layer [2022-06-27T11:13:09.155Z] f23df028b6ca: Pulling fs layer [2022-06-27T11:13:09.155Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T11:13:09.155Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T11:13:09.155Z] f23df028b6ca: Waiting [2022-06-27T11:13:09.155Z] d65c8cfc05b1: Waiting [2022-06-27T11:13:09.155Z] 2437ff75d9bd: Waiting [2022-06-27T11:13:09.155Z] 765212b225bb: Waiting [2022-06-27T11:13:09.155Z] 04944245beec: Verifying Checksum [2022-06-27T11:13:09.155Z] 04944245beec: Download complete [2022-06-27T11:13:09.155Z] 765212b225bb: Verifying Checksum [2022-06-27T11:13:09.155Z] 765212b225bb: Download complete [2022-06-27T11:13:09.155Z] f23df028b6ca: Verifying Checksum [2022-06-27T11:13:09.155Z] f23df028b6ca: Download complete [2022-06-27T11:13:09.155Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T11:13:09.155Z] d65c8cfc05b1: Download complete [2022-06-27T11:13:09.429Z] 699f458cf7ca: Verifying Checksum [2022-06-27T11:13:09.429Z] 699f458cf7ca: Download complete [2022-06-27T11:13:09.707Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T11:13:09.707Z] 8998bd30e6a1: Download complete [2022-06-27T11:13:12.337Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T11:13:12.337Z] 2437ff75d9bd: Download complete [2022-06-27T11:13:14.334Z] 8998bd30e6a1: Pull complete [2022-06-27T11:13:14.607Z] 04944245beec: Pull complete [2022-06-27T11:13:16.042Z] 699f458cf7ca: Pull complete [2022-06-27T11:13:16.319Z] 765212b225bb: Pull complete [2022-06-27T11:13:17.307Z] f23df028b6ca: Pull complete [2022-06-27T11:13:17.307Z] d65c8cfc05b1: Pull complete [2022-06-27T11:13:32.413Z] 2437ff75d9bd: Pull complete [2022-06-27T11:13:32.413Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T11:13:32.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T11:13:32.413Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T11:13:32.813Z] prd-ubuntu20.04-docker-arm64-4c-16g-16084 does not seem to be running inside a container [2022-06-27T11:13:32.915Z] $ 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-06-27T11:13:35.469Z] $ docker top d71d379429bc0bf19fb138e8b82c2b12a6af94649a0f402479788dc4da4b4f4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:13:36.439Z] ---> job-cost.sh [2022-06-27T11:13:36.439Z] lf-activate-venv: SKIPPING [2022-06-27T11:13:36.439Z] INFO: No Stack... [2022-06-27T11:13:37.421Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T11:13:38.020Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T11:13:38.706Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-06-27T11:13:38.706Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T11:13:38.784Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-293-1-stack-cost] [2022-06-27T11:13:38.789Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-293-1-stack-cost] did not exist. Created. [2022-06-27T11:13:38.789Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-293-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T11:13:39.538Z] /w/workspace/device-virtual-go/1@tmp/durable-bd95c2e3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T11:13:40.259Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T11:13:40.303Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T11:13:40.354Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T11:13:40.370Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-293-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T11:13:40.466Z] $ docker stop --time=1 d71d379429bc0bf19fb138e8b82c2b12a6af94649a0f402479788dc4da4b4f4e [2022-06-27T11:13:41.973Z] $ docker rm -f d71d379429bc0bf19fb138e8b82c2b12a6af94649a0f402479788dc4da4b4f4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-27T11:13:42.987Z] provisioning config files... [2022-06-27T11:13:42.997Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-293@tmp/config2767853006172999481tmp [Pipeline] { [Pipeline] sh [2022-06-27T11:13:43.341Z] + set +x [2022-06-27T11:13:43.341Z] + curl -s https://codecov.io/bash+ [2022-06-27T11:13:43.341Z] bash -s -- [2022-06-27T11:13:43.341Z] [2022-06-27T11:13:43.341Z] _____ _ [2022-06-27T11:13:43.341Z] / ____| | | [2022-06-27T11:13:43.341Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T11:13:43.341Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T11:13:43.341Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T11:13:43.341Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T11:13:43.341Z] Bash-1.0.6 [2022-06-27T11:13:43.341Z] [2022-06-27T11:13:43.341Z] [2022-06-27T11:13:43.341Z] ==> git version 2.25.1 found [2022-06-27T11:13:43.341Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-27T11:13:43.341Z] Release-Date: 2020-01-08 [2022-06-27T11:13:43.341Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-27T11:13:43.341Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T11:13:43.341Z] ==> Jenkins CI detected. [2022-06-27T11:13:43.341Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-293 [2022-06-27T11:13:43.341Z] project root: . [2022-06-27T11:13:43.341Z] --> token set from env [2022-06-27T11:13:43.341Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T11:13:43.341Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T11:13:43.341Z] ==> Python coveragepy not found [2022-06-27T11:13:43.341Z] ==> Searching for coverage reports in: [2022-06-27T11:13:43.341Z] + . [2022-06-27T11:13:43.341Z] -> Found 1 reports [2022-06-27T11:13:43.341Z] ==> Detecting git/mercurial file structure [2022-06-27T11:13:43.341Z] ==> Reading reports [2022-06-27T11:13:43.341Z] + ./coverage.out bytes=44128 [2022-06-27T11:13:43.341Z] ==> Appending adjustments [2022-06-27T11:13:43.341Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T11:13:43.601Z] + Found adjustments [2022-06-27T11:13:43.601Z] ==> Gzipping contents [2022-06-27T11:13:43.601Z] 8.0K /tmp/codecov.nywyVp.gz [2022-06-27T11:13:43.601Z] ==> Uploading reports [2022-06-27T11:13:43.601Z] url: https://codecov.io [2022-06-27T11:13:43.601Z] query: branch=PR-293&commit=f70277535b4edfc31a5264c55b945885c4677722&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-293%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=293&job=&cmd_args= [2022-06-27T11:13:43.601Z] -> Pinging Codecov [2022-06-27T11:13:43.601Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-293&commit=f70277535b4edfc31a5264c55b945885c4677722&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-293%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=293&job=&cmd_args= [2022-06-27T11:13:43.863Z] -> Uploading to [2022-06-27T11:13:43.863Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/5E52B4B073DB2E39498172D8E973AA87/f70277535b4edfc31a5264c55b945885c4677722/fea46e8e-1e19-4986-96a7-c3eb3b4ed7ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T111343Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66fd627c36586bca68ecd48b07e6c2780bd8d99281853bdde55f32509c902a5b [2022-06-27T11:13:43.863Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T11:13:43.863Z] Dload Upload Total Spent Left Speed [2022-06-27T11:13:44.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5507 0 0 100 5507 0 25495 --:--:-- --:--:-- --:--:-- 25495 [2022-06-27T11:13:44.127Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/f70277535b4edfc31a5264c55b945885c4677722 [Pipeline] } [2022-06-27T11:13:44.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-27T11:13:45.902Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-293/archives ] [2022-06-27T11:13:45.902Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-293/archives [2022-06-27T11:13:45.902Z] total 16 [2022-06-27T11:13:45.902Z] drwxr-xr-x 3 root root 4096 Jun 27 11:06 . [2022-06-27T11:13:45.902Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 11:06 .. [2022-06-27T11:13:45.902Z] drwxr-xr-x 2 root root 4096 Jun 27 11:06 cost [2022-06-27T11:13:45.902Z] -rw-r--r-- 1 root root 88 Jun 27 11:06 cost.csv [2022-06-27T11:13:45.902Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-293/archives [2022-06-27T11:13:45.902Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-293/archives [2022-06-27T11:13:45.902Z] total 16 [2022-06-27T11:13:45.902Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 11:06 . [2022-06-27T11:13:45.902Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 11:06 .. [2022-06-27T11:13:45.902Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 11:06 cost [2022-06-27T11:13:45.902Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 27 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:13:46.234Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:13:47.127Z] ---> package-listing.sh [2022-06-27T11:13:47.127Z] ++ facter osfamily [2022-06-27T11:13:47.127Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T11:13:47.391Z] + OS_FAMILY=debian [2022-06-27T11:13:47.391Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-293 [2022-06-27T11:13:47.391Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T11:13:47.391Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T11:13:47.391Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T11:13:47.391Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T11:13:47.391Z] + '[' /w/workspace/foundry_device-virtual-go_PR-293 ']' [2022-06-27T11:13:47.391Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T11:13:47.391Z] + case "${OS_FAMILY}" in [2022-06-27T11:13:47.391Z] + dpkg -l [2022-06-27T11:13:47.391Z] + grep '^ii' [2022-06-27T11:13:47.391Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T11:13:47.391Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T11:13:47.391Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T11:13:47.391Z] + '[' /w/workspace/foundry_device-virtual-go_PR-293 ']' [2022-06-27T11:13:47.391Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-293/archives/ [2022-06-27T11:13:47.391Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-293/archives/ [Pipeline] echo [2022-06-27T11:13:47.426Z] 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-293/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T11:13:47.720Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T11:13:48.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T11:13:48.347Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T11:13:48.514Z] prd-ubuntu20.04-docker-8c-8g-16082 does not seem to be running inside a container [2022-06-27T11:13:48.553Z] $ 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-293/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-293 -v /w/workspace/foundry_device-virtual-go_PR-293:/w/workspace/foundry_device-virtual-go_PR-293:rw,z -v /w/workspace/foundry_device-virtual-go_PR-293@tmp:/w/workspace/foundry_device-virtual-go_PR-293@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-06-27T11:13:48.806Z] $ docker top 9a18ffd9be6ed30621c14aad19cbdb83ffb0eed696b392cef5a464c98b25007b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T11:13:49.214Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T11:13:49.522Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T11:13:49.831Z] + ls /var/log/sa-host [2022-06-27T11:13:49.831Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T11:13:50.019Z] provisioning config files... [2022-06-27T11:13:50.032Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-293@tmp/config6867324437448676844tmp [Pipeline] { [Pipeline] echo [2022-06-27T11:13:50.076Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:13:50.412Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T11:13:50.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:13:50.823Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T11:13:50.855Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:13:51.165Z] ---> sudo-logs.sh [2022-06-27T11:13:51.165Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T11:13:51.249Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:13:51.567Z] ---> job-cost.sh [2022-06-27T11:13:51.567Z] lf-activate-venv: SKIPPING [2022-06-27T11:13:51.567Z] DEBUG: total: 0.2199999988079071 [2022-06-27T11:13:51.567Z] INFO: Retrieving Stack Cost... [2022-06-27T11:13:51.826Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T11:13:52.400Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T11:13:52.443Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T11:13:52.764Z] ---> logs-deploy.sh [2022-06-27T11:13:52.764Z] lf-activate-venv: SKIPPING [2022-06-27T11:13:52.764Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-293/1 [2022-06-27T11:13:52.764Z] INFO: archiving workspace using pattern(s): [2022-06-27T11:13:53.706Z] Archives upload complete. [2022-06-27T11:13:53.706Z] INFO: archiving logs to Nexus