Pull request #336 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 05dfb5c4bf3b002d8254f1471feb4480011d599b+da9c53c8f531c50c136bf7f237b2fe6b058fda45 (ffa38546c9513059aa7ce987291269138a0178ba) 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-ssh14420174665115290550.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4410159157257146178.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-336/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-336/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3171136368851831041.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-336/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4828132996552132029.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2306040414965334005.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-336/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-336/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1011901802828621371.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-4657 in /w/workspace/foundry_device-virtual-go_PR-336 [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-336 # 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 > 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 Merging remotes/origin/main commit da9c53c8f531c50c136bf7f237b2fe6b058fda45 into PR head commit 05dfb5c4bf3b002d8254f1471feb4480011d599b Merge succeeded, producing 05dfb5c4bf3b002d8254f1471feb4480011d599b Checking out Revision 05dfb5c4bf3b002d8254f1471feb4480011d599b (PR-336) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05dfb5c4bf3b002d8254f1471feb4480011d599b # 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 da9c53c8f531c50c136bf7f237b2fe6b058fda45 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05dfb5c4bf3b002d8254f1471feb4480011d599b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-06T11:03:40.311Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-06T11:03:40.470Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-06T11:03:40.558Z] ========================================================= [2023-02-06T11:03:40.558Z] EdgeX Global Pipelines Version Info [2023-02-06T11:03:40.558Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:03:41.284Z] ------------------- [2023-02-06T11:03:41.284Z] stable info: [2023-02-06T11:03:41.284Z] ------------------- [2023-02-06T11:03:41.284Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-06T11:03:41.284Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T11:03:41.284Z] Message: update stable to v1.0.244 [2023-02-06T11:03:41.854Z] ------------------- [2023-02-06T11:03:41.854Z] experimental info: [2023-02-06T11:03:41.854Z] ------------------- [2023-02-06T11:03:41.854Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-06T11:03:41.854Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T11:03:41.854Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-06T11:03:42.172Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-06T11:03:42.217Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-06T11:03:42.255Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-06T11:03:42.289Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-06T11:03:42.326Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-06T11:03:42.363Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-06T11:03:42.401Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-06T11:03:42.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-06T11:03:42.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-06T11:03:42.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-06T11:03:42.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-06T11:03:42.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-06T11:03:42.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-06T11:03:42.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-06T11:03:42.720Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-06T11:03:42.758Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-06T11:03:42.793Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T11:03:42.834Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T11:03:42.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-06T11:03:42.905Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-06T11:03:42.942Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-06T11:03:42.975Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-06T11:03:43.008Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-06T11:03:43.048Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-06T11:03:43.088Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-06T11:03:43.129Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-06T11:03:43.168Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-06T11:03:43.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo [2023-02-06T11:03:43.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo [2023-02-06T11:03:43.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo [2023-02-06T11:03:43.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05dfb5c4bf3b002d8254f1471feb4480011d599b [Pipeline] echo [2023-02-06T11:03:43.358Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05dfb5c [Pipeline] echo [2023-02-06T11:03:43.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T11:03:43.505Z] provisioning config files... [2023-02-06T11:03:43.519Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-336@tmp/config14324987371699794154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:03:43.855Z] ---> docker-login.sh [2023-02-06T11:03:43.855Z] nexus3.edgexfoundry.org:10001 [2023-02-06T11:03:44.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:03:44.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:03:44.424Z] Configure a credential helper to remove this warning. See [2023-02-06T11:03:44.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:03:44.424Z] [2023-02-06T11:03:44.424Z] Login Succeeded [2023-02-06T11:03:44.424Z] nexus3.edgexfoundry.org:10002 [2023-02-06T11:03:44.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:03:44.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:03:44.424Z] Configure a credential helper to remove this warning. See [2023-02-06T11:03:44.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:03:44.424Z] [2023-02-06T11:03:44.424Z] Login Succeeded [2023-02-06T11:03:44.424Z] nexus3.edgexfoundry.org:10003 [2023-02-06T11:03:44.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:03:44.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:03:44.683Z] Configure a credential helper to remove this warning. See [2023-02-06T11:03:44.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:03:44.683Z] [2023-02-06T11:03:44.683Z] Login Succeeded [2023-02-06T11:03:44.683Z] nexus3.edgexfoundry.org:10004 [2023-02-06T11:03:44.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:03:44.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:03:44.683Z] Configure a credential helper to remove this warning. See [2023-02-06T11:03:44.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:03:44.683Z] [2023-02-06T11:03:44.683Z] Login Succeeded [2023-02-06T11:03:44.683Z] docker.io [2023-02-06T11:03:44.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:03:45.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:03:45.204Z] Configure a credential helper to remove this warning. See [2023-02-06T11:03:45.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:03:45.204Z] [2023-02-06T11:03:45.204Z] Login Succeeded [2023-02-06T11:03:45.204Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T11:03:45.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-06T11:03:45.966Z] + git rev-list -1 --merges 05dfb5c4bf3b002d8254f1471feb4480011d599b~1..05dfb5c4bf3b002d8254f1471feb4480011d599b [Pipeline] echo [2023-02-06T11:03:46.089Z] -----------> git rev-list -1 --merges 05dfb5c4bf3b002d8254f1471feb4480011d599b~1..05dfb5c4bf3b002d8254f1471feb4480011d599b 05dfb5c4bf3b002d8254f1471feb4480011d599b [false] [Pipeline] sh [2023-02-06T11:03:46.397Z] + git log --format=format:%s -1 05dfb5c4bf3b002d8254f1471feb4480011d599b [Pipeline] echo [2023-02-06T11:03:46.430Z] ========================================================= [2023-02-06T11:03:46.431Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-06T11:03:46.431Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T11:03:46.872Z] + git log --format=format:%s -1 05dfb5c4bf3b002d8254f1471feb4480011d599b [Pipeline] echo [2023-02-06T11:03:46.916Z] [semverPrep] GIT_COMMIT: 05dfb5c4bf3b002d8254f1471feb4480011d599b, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-06T11:03:46.946Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-06T11:03:47.389Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-06T11:03:47.389Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-06T11:03:47.389Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-06T11:03:47.389Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-06T11:03:47.389Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-06T11:03:47.389Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-06T11:03:47.389Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:03:47.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T11:03:47.806Z] [2023-02-06T11:03:47.806Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:03:48.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T11:03:48.776Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-06T11:03:48.776Z] b85a868b505f: Pulling fs layer [2023-02-06T11:03:48.776Z] e2be974225ed: Pulling fs layer [2023-02-06T11:03:48.776Z] 339a4e72a1f5: Pulling fs layer [2023-02-06T11:03:48.776Z] 988bab9f4d93: Pulling fs layer [2023-02-06T11:03:48.776Z] 1469e6f7b9e6: Pulling fs layer [2023-02-06T11:03:48.776Z] eaf3925da568: Pulling fs layer [2023-02-06T11:03:48.776Z] bab4dde63d76: Pulling fs layer [2023-02-06T11:03:48.776Z] bde34c3a00c8: Pulling fs layer [2023-02-06T11:03:48.776Z] b352a97aabf1: Pulling fs layer [2023-02-06T11:03:48.776Z] 4872d77fe225: Pulling fs layer [2023-02-06T11:03:48.776Z] 5851b861e8e6: Pulling fs layer [2023-02-06T11:03:48.776Z] bab4dde63d76: Waiting [2023-02-06T11:03:48.776Z] 988bab9f4d93: Waiting [2023-02-06T11:03:48.776Z] 1469e6f7b9e6: Waiting [2023-02-06T11:03:48.776Z] eaf3925da568: Waiting [2023-02-06T11:03:48.776Z] bde34c3a00c8: Waiting [2023-02-06T11:03:48.776Z] b352a97aabf1: Waiting [2023-02-06T11:03:48.776Z] 5851b861e8e6: Waiting [2023-02-06T11:03:48.776Z] 4872d77fe225: Waiting [2023-02-06T11:03:48.776Z] e2be974225ed: Download complete [2023-02-06T11:03:48.776Z] 988bab9f4d93: Download complete [2023-02-06T11:03:49.044Z] 1469e6f7b9e6: Verifying Checksum [2023-02-06T11:03:49.044Z] 1469e6f7b9e6: Download complete [2023-02-06T11:03:49.044Z] eaf3925da568: Verifying Checksum [2023-02-06T11:03:49.044Z] eaf3925da568: Download complete [2023-02-06T11:03:49.307Z] 339a4e72a1f5: Verifying Checksum [2023-02-06T11:03:49.307Z] 339a4e72a1f5: Download complete [2023-02-06T11:03:49.307Z] bde34c3a00c8: Verifying Checksum [2023-02-06T11:03:49.307Z] bde34c3a00c8: Download complete [2023-02-06T11:03:49.307Z] b352a97aabf1: Download complete [2023-02-06T11:03:49.308Z] 4872d77fe225: Verifying Checksum [2023-02-06T11:03:49.308Z] 4872d77fe225: Download complete [2023-02-06T11:03:49.308Z] 5851b861e8e6: Verifying Checksum [2023-02-06T11:03:49.308Z] 5851b861e8e6: Download complete [2023-02-06T11:03:49.570Z] b85a868b505f: Verifying Checksum [2023-02-06T11:03:49.570Z] b85a868b505f: Download complete [2023-02-06T11:03:49.570Z] bab4dde63d76: Download complete [2023-02-06T11:03:50.947Z] b85a868b505f: Pull complete [2023-02-06T11:03:52.337Z] e2be974225ed: Pull complete [2023-02-06T11:03:53.276Z] 339a4e72a1f5: Pull complete [2023-02-06T11:03:53.844Z] 988bab9f4d93: Pull complete [2023-02-06T11:03:54.780Z] 1469e6f7b9e6: Pull complete [2023-02-06T11:03:56.169Z] eaf3925da568: Pull complete [2023-02-06T11:03:58.699Z] bab4dde63d76: Pull complete [2023-02-06T11:04:00.079Z] bde34c3a00c8: Pull complete [2023-02-06T11:04:01.457Z] b352a97aabf1: Pull complete [2023-02-06T11:04:02.833Z] 4872d77fe225: Pull complete [2023-02-06T11:04:04.248Z] 5851b861e8e6: Pull complete [2023-02-06T11:04:05.188Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-06T11:04:05.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T11:04:06.014Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:04:06.225Z] prd-ubuntu20.04-docker-8c-8g-4657 does not seem to be running inside a container [2023-02-06T11:04:06.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-336 -v /w/workspace/foundry_device-virtual-go_PR-336:/w/workspace/foundry_device-virtual-go_PR-336:rw,z -v /w/workspace/foundry_device-virtual-go_PR-336@tmp:/w/workspace/foundry_device-virtual-go_PR-336@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 [2023-02-06T11:04:14.616Z] $ docker top 4e3921b28e1900305ddff8b8be98844ad6def8693e8ab9dbb824b40cea25d10a -eo pid,comm [2023-02-06T11:04:14.665Z] 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). [2023-02-06T11:04:14.665Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-06T11:04:14.856Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T11:04:14.856Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T11:04:14.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T11:04:14.973Z] $ docker exec 4e3921b28e1900305ddff8b8be98844ad6def8693e8ab9dbb824b40cea25d10a ssh-agent [2023-02-06T11:04:15.068Z] SSH_AUTH_SOCK=/tmp/ssh-roO85Z2S44BZ/agent.32 [2023-02-06T11:04:15.068Z] SSH_AGENT_PID=38 [2023-02-06T11:04:15.075Z] Running ssh-add (command line suppressed) [2023-02-06T11:04:15.185Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-336@tmp/private_key_10466345006035360691.key (/w/workspace/foundry_device-virtual-go_PR-336@tmp/private_key_10466345006035360691.key) [2023-02-06T11:04:15.201Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T11:04:15.527Z] + git tag --points-at HEAD [Pipeline] } [2023-02-06T11:04:15.556Z] $ docker exec --env ******** --env ******** 4e3921b28e1900305ddff8b8be98844ad6def8693e8ab9dbb824b40cea25d10a ssh-agent -k [2023-02-06T11:04:15.656Z] unset SSH_AUTH_SOCK; [2023-02-06T11:04:15.657Z] unset SSH_AGENT_PID; [2023-02-06T11:04:15.658Z] echo Agent pid 38 killed; [2023-02-06T11:04:15.669Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-06T11:04:15.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T11:04:15.799Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T11:04:15.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T11:04:15.905Z] $ docker exec 4e3921b28e1900305ddff8b8be98844ad6def8693e8ab9dbb824b40cea25d10a ssh-agent [2023-02-06T11:04:16.011Z] SSH_AUTH_SOCK=/tmp/ssh-YSc3iCWFtgAV/agent.70 [2023-02-06T11:04:16.011Z] SSH_AGENT_PID=76 [2023-02-06T11:04:16.016Z] Running ssh-add (command line suppressed) [2023-02-06T11:04:16.110Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-336@tmp/private_key_8648248347656272614.key (/w/workspace/foundry_device-virtual-go_PR-336@tmp/private_key_8648248347656272614.key) [2023-02-06T11:04:16.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T11:04:16.457Z] + git semver init [2023-02-06T11:04:16.715Z] 2023-02-06 11:04:16,667 [run_init] DEBUG init version:0.0.0 force:False [2023-02-06T11:04:16.715Z] 2023-02-06 11:04:16,668 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-336/.semver [2023-02-06T11:04:16.715Z] 2023-02-06 11:04:16,669 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-336/.semver [2023-02-06T11:04:16.715Z] 2023-02-06 11:04:16,669 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-336/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-336, universal_newlines=False, shell=None, istream=None) [2023-02-06T11:04:18.628Z] 2023-02-06 11:04:18,456 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-336/.git/info/exclude [2023-02-06T11:04:18.628Z] 2023-02-06 11:04:18,457 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-336/.semver/PR-336 with force:False [2023-02-06T11:04:18.628Z] 2023-02-06 11:04:18,457 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-336/.semver/PR-336 [2023-02-06T11:04:18.628Z] 2023-02-06 11:04:18,460 [execute] INFO git cat-file --batch-check [2023-02-06T11:04:18.628Z] 2023-02-06 11:04:18,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-336/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T11:04:18.628Z] 2023-02-06 11:04:18,465 [execute] INFO git cat-file --batch [2023-02-06T11:04:18.628Z] 2023-02-06 11:04:18,466 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-336/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T11:04:18.628Z] 2023-02-06 11:04:18,470 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-336/.semver/PR-336 [2023-02-06T11:04:18.628Z] 0.0.0 [Pipeline] } [2023-02-06T11:04:18.656Z] $ docker exec --env ******** --env ******** 4e3921b28e1900305ddff8b8be98844ad6def8693e8ab9dbb824b40cea25d10a ssh-agent -k [2023-02-06T11:04:18.763Z] unset SSH_AUTH_SOCK; [2023-02-06T11:04:18.764Z] unset SSH_AGENT_PID; [2023-02-06T11:04:18.764Z] echo Agent pid 76 killed; [2023-02-06T11:04:18.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-06T11:04:19.193Z] + git semver [Pipeline] } [2023-02-06T11:04:19.786Z] $ docker stop --time=1 4e3921b28e1900305ddff8b8be98844ad6def8693e8ab9dbb824b40cea25d10a [2023-02-06T11:04:21.550Z] $ docker rm -f --volumes 4e3921b28e1900305ddff8b8be98844ad6def8693e8ab9dbb824b40cea25d10a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T11:04:22.125Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-06T11:04:22.419Z] Stashed 1 file(s) [Pipeline] echo [2023-02-06T11:04:22.434Z] [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 [2023-02-06T11:04:23.024Z] provisioning config files... [2023-02-06T11:04:23.033Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-336@tmp/config9183359981914792421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:04:23.381Z] ---> docker-login.sh [2023-02-06T11:04:23.381Z] nexus3.edgexfoundry.org:10001 [2023-02-06T11:04:23.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:04:23.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:04:23.381Z] Configure a credential helper to remove this warning. See [2023-02-06T11:04:23.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:04:23.381Z] [2023-02-06T11:04:23.381Z] Login Succeeded [2023-02-06T11:04:23.381Z] nexus3.edgexfoundry.org:10002 [2023-02-06T11:04:23.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:04:23.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:04:23.381Z] Configure a credential helper to remove this warning. See [2023-02-06T11:04:23.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:04:23.381Z] [2023-02-06T11:04:23.381Z] Login Succeeded [2023-02-06T11:04:23.381Z] nexus3.edgexfoundry.org:10003 [2023-02-06T11:04:23.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:04:23.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:04:23.641Z] Configure a credential helper to remove this warning. See [2023-02-06T11:04:23.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:04:23.641Z] [2023-02-06T11:04:23.641Z] Login Succeeded [2023-02-06T11:04:23.641Z] nexus3.edgexfoundry.org:10004 [2023-02-06T11:04:23.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:04:23.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:04:23.641Z] Configure a credential helper to remove this warning. See [2023-02-06T11:04:23.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:04:23.641Z] [2023-02-06T11:04:23.641Z] Login Succeeded [2023-02-06T11:04:23.641Z] docker.io [2023-02-06T11:04:23.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:04:24.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:04:24.159Z] Configure a credential helper to remove this warning. See [2023-02-06T11:04:24.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:04:24.159Z] [2023-02-06T11:04:24.159Z] Login Succeeded [2023-02-06T11:04:24.159Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T11:04:24.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T11:04:24.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T11:04:24.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T11:04:24.454Z] ========================================================= [2023-02-06T11:04:24.454Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-06T11:04:24.454Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:04:24.929Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-06T11:04:24.929Z] Sending build context to Docker daemon 23.36MB [2023-02-06T11:04:24.929Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T11:04:24.929Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-06T11:04:25.189Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-06T11:04:25.189Z] 213ec9aee27d: Pulling fs layer [2023-02-06T11:04:25.189Z] 4583459ba037: Pulling fs layer [2023-02-06T11:04:25.189Z] 93c1e223e6f2: Pulling fs layer [2023-02-06T11:04:25.189Z] 53926ce57604: Pulling fs layer [2023-02-06T11:04:25.189Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-06T11:04:25.189Z] 22ff95d597cd: Pulling fs layer [2023-02-06T11:04:25.189Z] 12d6caf4c0d1: Pulling fs layer [2023-02-06T11:04:25.189Z] 96b7cbca73a9: Pulling fs layer [2023-02-06T11:04:25.189Z] a7acece74701: Pulling fs layer [2023-02-06T11:04:25.189Z] 22ff95d597cd: Waiting [2023-02-06T11:04:25.189Z] 12d6caf4c0d1: Waiting [2023-02-06T11:04:25.189Z] 96b7cbca73a9: Waiting [2023-02-06T11:04:25.189Z] a7acece74701: Waiting [2023-02-06T11:04:25.189Z] 53926ce57604: Waiting [2023-02-06T11:04:25.189Z] 21b2b0c7a3f4: Waiting [2023-02-06T11:04:25.453Z] 93c1e223e6f2: Download complete [2023-02-06T11:04:25.453Z] 4583459ba037: Download complete [2023-02-06T11:04:25.453Z] 21b2b0c7a3f4: Download complete [2023-02-06T11:04:25.453Z] 22ff95d597cd: Verifying Checksum [2023-02-06T11:04:25.453Z] 22ff95d597cd: Download complete [2023-02-06T11:04:25.453Z] 213ec9aee27d: Download complete [2023-02-06T11:04:25.453Z] 12d6caf4c0d1: Download complete [2023-02-06T11:04:25.725Z] 213ec9aee27d: Pull complete [2023-02-06T11:04:26.005Z] 4583459ba037: Pull complete [2023-02-06T11:04:26.316Z] 93c1e223e6f2: Pull complete [2023-02-06T11:04:26.316Z] a7acece74701: Verifying Checksum [2023-02-06T11:04:26.316Z] a7acece74701: Download complete [2023-02-06T11:04:26.900Z] 53926ce57604: Verifying Checksum [2023-02-06T11:04:26.900Z] 53926ce57604: Download complete [2023-02-06T11:04:27.158Z] 96b7cbca73a9: Verifying Checksum [2023-02-06T11:04:27.158Z] 96b7cbca73a9: Download complete [2023-02-06T11:04:31.340Z] 53926ce57604: Pull complete [2023-02-06T11:04:31.340Z] 21b2b0c7a3f4: Pull complete [2023-02-06T11:04:31.340Z] 22ff95d597cd: Pull complete [2023-02-06T11:04:31.340Z] 12d6caf4c0d1: Pull complete [2023-02-06T11:04:33.242Z] 96b7cbca73a9: Pull complete [2023-02-06T11:04:33.808Z] a7acece74701: Pull complete [2023-02-06T11:04:33.808Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-06T11:04:33.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-06T11:04:33.808Z] ---> db6d94c90886 [2023-02-06T11:04:33.808Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T11:04:37.850Z] Still waiting to schedule task [2023-02-06T11:04:37.850Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4659’ is offline [2023-02-06T11:04:41.927Z] ---> Running in 00bd01cf42cf [2023-02-06T11:04:41.927Z] Removing intermediate container 00bd01cf42cf [2023-02-06T11:04:41.927Z] ---> 67678a8680eb [2023-02-06T11:04:41.927Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T11:04:41.927Z] ---> Running in eedf83ee645e [2023-02-06T11:04:41.927Z] Removing intermediate container eedf83ee645e [2023-02-06T11:04:41.927Z] ---> f75100bf13da [2023-02-06T11:04:41.927Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-06T11:04:41.927Z] ---> Running in d11886c51065 [2023-02-06T11:04:41.928Z] Removing intermediate container d11886c51065 [2023-02-06T11:04:41.928Z] ---> 74e889f76126 [2023-02-06T11:04:41.928Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-06T11:04:41.928Z] ---> Running in 53f5a81b8fcc [2023-02-06T11:04:41.928Z] Removing intermediate container 53f5a81b8fcc [2023-02-06T11:04:41.928Z] ---> a8a9bcaeeb63 [2023-02-06T11:04:41.928Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T11:04:41.928Z] ---> Running in 971b4ea019ce [2023-02-06T11:04:42.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T11:04:42.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T11:04:43.015Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-06T11:04:43.015Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-06T11:04:43.015Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-06T11:04:43.015Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-06T11:04:43.015Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T11:04:43.015Z] OK: 216 MiB in 55 packages [2023-02-06T11:04:44.389Z] Removing intermediate container 971b4ea019ce [2023-02-06T11:04:44.389Z] ---> 94c9e33520bd [2023-02-06T11:04:44.389Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-06T11:04:44.966Z] ---> f188e0160b12 [2023-02-06T11:04:44.966Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T11:04:45.536Z] ---> Running in d0744fba0230 [2023-02-06T11:05:32.268Z] Removing intermediate container d0744fba0230 [2023-02-06T11:05:32.268Z] ---> d8d73651fb9f [2023-02-06T11:05:32.268Z] Step 10/12 : COPY . . [2023-02-06T11:05:32.268Z] ---> bf3ea0d5139e [2023-02-06T11:05:32.268Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T11:05:32.268Z] ---> Running in 07d0f655d336 [2023-02-06T11:05:32.268Z] Removing intermediate container 07d0f655d336 [2023-02-06T11:05:32.268Z] ---> 58038ac5f1cf [2023-02-06T11:05:32.268Z] Step 12/12 : RUN $MAKE [2023-02-06T11:05:32.268Z] ---> Running in bf0a51a18d55 [2023-02-06T11:05:32.268Z] noop [2023-02-06T11:05:32.268Z] Removing intermediate container bf0a51a18d55 [2023-02-06T11:05:32.268Z] ---> 4942a4a88a62 [2023-02-06T11:05:32.268Z] Successfully built 4942a4a88a62 [2023-02-06T11:05:32.268Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:05:32.719Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T11:05:32.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:05:32.875Z] prd-ubuntu20.04-docker-8c-8g-4657 does not seem to be running inside a container [2023-02-06T11:05:32.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-336 -v /w/workspace/foundry_device-virtual-go_PR-336:/w/workspace/foundry_device-virtual-go_PR-336:rw,z -v /w/workspace/foundry_device-virtual-go_PR-336@tmp:/w/workspace/foundry_device-virtual-go_PR-336@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 [2023-02-06T11:05:33.313Z] $ docker top 9959ac0152d670f0678b4172373a1681ba4689a01725f52b5caa0167235a9b05 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T11:05:33.714Z] + go version [2023-02-06T11:05:33.714Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-06T11:05:33.747Z] $ docker stop --time=1 9959ac0152d670f0678b4172373a1681ba4689a01725f52b5caa0167235a9b05 [2023-02-06T11:05:35.138Z] $ docker rm -f --volumes 9959ac0152d670f0678b4172373a1681ba4689a01725f52b5caa0167235a9b05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:05:36.014Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T11:05:36.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:05:36.174Z] prd-ubuntu20.04-docker-8c-8g-4657 does not seem to be running inside a container [2023-02-06T11:05:36.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-336 -v /w/workspace/foundry_device-virtual-go_PR-336:/w/workspace/foundry_device-virtual-go_PR-336:rw,z -v /w/workspace/foundry_device-virtual-go_PR-336@tmp:/w/workspace/foundry_device-virtual-go_PR-336@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 [2023-02-06T11:05:37.866Z] $ docker top eed3010d6d4754397688c12caa15468b7bcf906243c63a3bbc265d573c19f758 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T11:05:38.330Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-336 [Pipeline] fileExists [Pipeline] sh [2023-02-06T11:05:38.712Z] + make test [2023-02-06T11:05:38.712Z] go test ./... -coverprofile=coverage.out [2023-02-06T11:05:38.991Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-06T11:05:48.955Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-06T11:05:48.956Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2023-02-06T11:05:55.554Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-06T11:05:55.554Z] go vet ./... [2023-02-06T11:05:58.835Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T11:05:58.835Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T11:05:58.835Z] ./bin/test-attribution-txt.sh [2023-02-06T11:05:58.835Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-06T11:05:58.835Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-06T11:05:58.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T11:05:58.905Z] $ docker stop --time=1 eed3010d6d4754397688c12caa15468b7bcf906243c63a3bbc265d573c19f758 [2023-02-06T11:06:04.817Z] $ docker rm -f --volumes eed3010d6d4754397688c12caa15468b7bcf906243c63a3bbc265d573c19f758 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T11:06:05.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T11:06:05.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-06T11:06:06.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T11:06:06.341Z] + ls -al . [2023-02-06T11:06:06.341Z] total 196 [2023-02-06T11:06:06.341Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 6 11:05 . [2023-02-06T11:06:06.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:03 .. [2023-02-06T11:06:06.341Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 11:05 .git [2023-02-06T11:06:06.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:03 .github [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 6 11:03 .gitignore [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 11:03 .golangci.yml [2023-02-06T11:06:06.341Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 11:04 .semver [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 6 11:03 Attribution.txt [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 6 11:03 CHANGELOG.md [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 6 11:03 Dockerfile [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 11:03 GOVERNANCE.md [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 6 11:03 Jenkinsfile [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 11:03 LICENSE [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 6 11:03 Makefile [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 6 11:03 OWNERS.md [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 6 11:03 README.md [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 11:04 VERSION [2023-02-06T11:06:06.341Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 11:03 bin [2023-02-06T11:06:06.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:03 cmd [2023-02-06T11:06:06.341Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 6 11:05 coverage.out [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 3306 Feb 6 11:03 go.mod [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 32773 Feb 6 11:03 go.sum [2023-02-06T11:06:06.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:03 internal [2023-02-06T11:06:06.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:03 snap [2023-02-06T11:06:06.341Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 6 11:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:06:06.882Z] + 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=05dfb5c4bf3b002d8254f1471feb4480011d599b --label arch=amd64 --label version=0.0.0 . [2023-02-06T11:06:06.882Z] Sending build context to Docker daemon 23.4MB [2023-02-06T11:06:06.882Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T11:06:06.882Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-06T11:06:06.882Z] ---> 4942a4a88a62 [2023-02-06T11:06:06.882Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T11:06:07.142Z] ---> Running in 38171725b7da [2023-02-06T11:06:07.142Z] Removing intermediate container 38171725b7da [2023-02-06T11:06:07.142Z] ---> 3d9cb87e4d75 [2023-02-06T11:06:07.142Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T11:06:07.142Z] ---> Running in ea4512961943 [2023-02-06T11:06:07.400Z] Removing intermediate container ea4512961943 [2023-02-06T11:06:07.400Z] ---> 19ebd77423c9 [2023-02-06T11:06:07.400Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-06T11:06:07.400Z] ---> Running in 66193faaae45 [2023-02-06T11:06:07.400Z] Removing intermediate container 66193faaae45 [2023-02-06T11:06:07.400Z] ---> 8c45a74d9241 [2023-02-06T11:06:07.400Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-06T11:06:07.400Z] ---> Running in 52acb745e3af [2023-02-06T11:06:07.400Z] Removing intermediate container 52acb745e3af [2023-02-06T11:06:07.400Z] ---> 4414db8615c6 [2023-02-06T11:06:07.400Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T11:06:07.658Z] ---> Running in 6ed070e2c336 [2023-02-06T11:06:07.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T11:06:07.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T11:06:07.918Z] OK: 216 MiB in 55 packages [2023-02-06T11:06:08.485Z] Removing intermediate container 6ed070e2c336 [2023-02-06T11:06:08.485Z] ---> f1a2cdffc568 [2023-02-06T11:06:08.485Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-06T11:06:08.485Z] ---> 88a4befe8150 [2023-02-06T11:06:08.485Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T11:06:08.485Z] ---> Running in d8dc1924b097 [2023-02-06T11:06:09.422Z] Removing intermediate container d8dc1924b097 [2023-02-06T11:06:09.422Z] ---> 03b2fd80c75d [2023-02-06T11:06:09.422Z] Step 10/25 : COPY . . [2023-02-06T11:06:09.991Z] ---> b34351754bbb [2023-02-06T11:06:09.991Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T11:06:09.991Z] ---> Running in ebc9cb309da9 [2023-02-06T11:06:09.991Z] Removing intermediate container ebc9cb309da9 [2023-02-06T11:06:09.991Z] ---> a8a415a8287a [2023-02-06T11:06:09.991Z] Step 12/25 : RUN $MAKE [2023-02-06T11:06:09.991Z] ---> Running in bd1896cd1ca3 [2023-02-06T11:06:10.250Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-06T11:06:32.187Z] Removing intermediate container bd1896cd1ca3 [2023-02-06T11:06:32.187Z] ---> 0d7bfbc5086f [2023-02-06T11:06:32.187Z] Step 13/25 : FROM alpine:3.16 [2023-02-06T11:06:32.187Z] 3.16: Pulling from library/alpine [2023-02-06T11:06:32.446Z] ca7dd9ec2225: Pulling fs layer [2023-02-06T11:06:32.704Z] ca7dd9ec2225: Verifying Checksum [2023-02-06T11:06:32.704Z] ca7dd9ec2225: Download complete [2023-02-06T11:06:32.704Z] ca7dd9ec2225: Pull complete [2023-02-06T11:06:32.704Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-06T11:06:32.704Z] Status: Downloaded newer image for alpine:3.16 [2023-02-06T11:06:32.704Z] ---> bfe296a52501 [2023-02-06T11:06:32.704Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-06T11:06:32.962Z] ---> Running in 734227cd17eb [2023-02-06T11:06:32.962Z] Removing intermediate container 734227cd17eb [2023-02-06T11:06:32.962Z] ---> 2c6e3685897a [2023-02-06T11:06:32.962Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-06T11:06:32.962Z] ---> Running in faab5e9486ef [2023-02-06T11:06:33.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T11:06:33.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T11:06:33.738Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-06T11:06:33.738Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T11:06:33.738Z] OK: 6 MiB in 15 packages [2023-02-06T11:06:33.998Z] Removing intermediate container faab5e9486ef [2023-02-06T11:06:33.998Z] ---> 0f04e6c17ef6 [2023-02-06T11:06:33.998Z] Step 16/25 : WORKDIR / [2023-02-06T11:06:33.998Z] ---> Running in f2af4b736d4a [2023-02-06T11:06:34.257Z] Removing intermediate container f2af4b736d4a [2023-02-06T11:06:34.257Z] ---> 300ab464f081 [2023-02-06T11:06:34.257Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-06T11:06:34.257Z] ---> c0304e54ddc1 [2023-02-06T11:06:34.257Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-06T11:06:34.516Z] ---> 6895e35ec334 [2023-02-06T11:06:34.516Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-06T11:06:35.454Z] ---> b5a2b62bd97d [2023-02-06T11:06:35.454Z] Step 20/25 : EXPOSE 59900 [2023-02-06T11:06:35.454Z] ---> Running in da4d9127494d [2023-02-06T11:06:35.454Z] Removing intermediate container da4d9127494d [2023-02-06T11:06:35.454Z] ---> f2f6eeeb6a5c [2023-02-06T11:06:35.454Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-06T11:06:35.454Z] ---> Running in 1ed96445fcd0 [2023-02-06T11:06:35.454Z] Removing intermediate container 1ed96445fcd0 [2023-02-06T11:06:35.454Z] ---> 76726e3b4439 [2023-02-06T11:06:35.454Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-06T11:06:35.454Z] ---> Running in aa03d4668478 [2023-02-06T11:06:35.712Z] Removing intermediate container aa03d4668478 [2023-02-06T11:06:35.712Z] ---> b90b247b9f86 [2023-02-06T11:06:35.712Z] Step 23/25 : LABEL arch=amd64 [2023-02-06T11:06:35.712Z] ---> Running in 0c3a3f943741 [2023-02-06T11:06:35.712Z] Removing intermediate container 0c3a3f943741 [2023-02-06T11:06:35.712Z] ---> 16184e1870b8 [2023-02-06T11:06:35.712Z] Step 24/25 : LABEL git_sha=05dfb5c4bf3b002d8254f1471feb4480011d599b [2023-02-06T11:06:35.712Z] ---> Running in f27160d7be50 [2023-02-06T11:06:35.712Z] Removing intermediate container f27160d7be50 [2023-02-06T11:06:35.713Z] ---> bd85dbbab131 [2023-02-06T11:06:35.713Z] Step 25/25 : LABEL version=0.0.0 [2023-02-06T11:06:35.971Z] ---> Running in 4e835efc7f6f [2023-02-06T11:06:35.971Z] Removing intermediate container 4e835efc7f6f [2023-02-06T11:06:35.971Z] ---> 37afa0913b3e [2023-02-06T11:06:35.971Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T11:06:35.971Z] Successfully built 37afa0913b3e [2023-02-06T11:06:35.971Z] 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 [2023-02-06T11:06:36.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T11:06:36.825Z] [2023-02-06T11:06:36.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:06:37.212Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T11:06:37.212Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-06T11:06:37.212Z] 5eb5b503b376: Pulling fs layer [2023-02-06T11:06:37.212Z] 5c69ac0246d0: Pulling fs layer [2023-02-06T11:06:37.212Z] ec43610c2a17: Pulling fs layer [2023-02-06T11:06:37.212Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-06T11:06:37.212Z] 33b1e0a273af: Pulling fs layer [2023-02-06T11:06:37.212Z] 5d3b04190fa2: Pulling fs layer [2023-02-06T11:06:37.212Z] 2f39f015ded8: Pulling fs layer [2023-02-06T11:06:37.212Z] 33b1e0a273af: Waiting [2023-02-06T11:06:37.212Z] 5d3b04190fa2: Waiting [2023-02-06T11:06:37.212Z] 3a2ae6a8a46f: Waiting [2023-02-06T11:06:37.212Z] 2f39f015ded8: Waiting [2023-02-06T11:06:37.212Z] 5c69ac0246d0: Verifying Checksum [2023-02-06T11:06:37.212Z] 5c69ac0246d0: Download complete [2023-02-06T11:06:37.212Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-06T11:06:37.480Z] 33b1e0a273af: Verifying Checksum [2023-02-06T11:06:37.480Z] 33b1e0a273af: Download complete [2023-02-06T11:06:37.480Z] 5d3b04190fa2: Verifying Checksum [2023-02-06T11:06:37.480Z] 5d3b04190fa2: Download complete [2023-02-06T11:06:37.480Z] ec43610c2a17: Verifying Checksum [2023-02-06T11:06:37.480Z] ec43610c2a17: Download complete [2023-02-06T11:06:37.742Z] 5eb5b503b376: Verifying Checksum [2023-02-06T11:06:37.742Z] 5eb5b503b376: Download complete [2023-02-06T11:06:38.311Z] 2f39f015ded8: Download complete [2023-02-06T11:06:38.878Z] 5eb5b503b376: Pull complete [2023-02-06T11:06:39.443Z] 5c69ac0246d0: Pull complete [2023-02-06T11:06:40.011Z] ec43610c2a17: Pull complete [2023-02-06T11:06:40.011Z] 3a2ae6a8a46f: Pull complete [2023-02-06T11:06:40.272Z] 33b1e0a273af: Pull complete [2023-02-06T11:06:40.272Z] 5d3b04190fa2: Pull complete [2023-02-06T11:06:44.448Z] 2f39f015ded8: Pull complete [2023-02-06T11:06:44.448Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-06T11:06:44.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T11:06:44.448Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:06:44.633Z] prd-ubuntu20.04-docker-8c-8g-4657 does not seem to be running inside a container [2023-02-06T11:06:44.662Z] $ 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-336 -v /w/workspace/foundry_device-virtual-go_PR-336:/w/workspace/foundry_device-virtual-go_PR-336:rw,z -v /w/workspace/foundry_device-virtual-go_PR-336@tmp:/w/workspace/foundry_device-virtual-go_PR-336@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 [2023-02-06T11:06:51.071Z] $ docker top 5fa9b43456eccfec1b2db9287a506c165f3a431a72088f21d9fd5f115e999a8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:06:51.533Z] ---> job-cost.sh [2023-02-06T11:06:51.533Z] lf-activate-venv: SKIPPING [2023-02-06T11:06:51.533Z] INFO: No Stack... [2023-02-06T11:06:51.791Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T11:06:52.051Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T11:06:52.371Z] + cat /w/workspace/foundry_device-virtual-go_PR-336/archives/cost.csv [2023-02-06T11:06:52.371Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T11:06:52.418Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-336-1-stack-cost] [2023-02-06T11:06:52.423Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-336-1-stack-cost] did not exist. Created. [2023-02-06T11:06:52.423Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T11:06:52.813Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-06T11:06:52.865Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T11:06:52.891Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T11:06:52.971Z] $ docker stop --time=1 5fa9b43456eccfec1b2db9287a506c165f3a431a72088f21d9fd5f115e999a8e [2023-02-06T11:06:54.385Z] $ docker rm -f --volumes 5fa9b43456eccfec1b2db9287a506c165f3a431a72088f21d9fd5f115e999a8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-06T11:07:07.070Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4660 in /w/workspace/foundry_device-virtual-go_PR-336 [Pipeline] { [Pipeline] ws [2023-02-06T11:07:07.128Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-02-06T11:07:07.204Z] The recommended git tool is: git [2023-02-06T11:07:12.621Z] using credential edgex-jenkins-ssh [2023-02-06T11:07:12.639Z] Cloning the remote Git repository [2023-02-06T11:07:12.682Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-06T11:07:12.760Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-02-06T11:07:12.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-06T11:07:12.928Z] > git --version # timeout=10 [2023-02-06T11:07:12.949Z] > git --version # 'git version 2.25.1' [2023-02-06T11:07:12.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T11:07:13.010Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T11:07:15.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-06T11:07:15.096Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T11:07:15.916Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-06T11:07:15.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-06T11:07:15.962Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T11:07:15.979Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-06T11:07:16.594Z] Merging remotes/origin/main commit da9c53c8f531c50c136bf7f237b2fe6b058fda45 into PR head commit 05dfb5c4bf3b002d8254f1471feb4480011d599b [2023-02-06T11:07:16.811Z] Merge succeeded, producing 05dfb5c4bf3b002d8254f1471feb4480011d599b [2023-02-06T11:07:16.811Z] Checking out Revision 05dfb5c4bf3b002d8254f1471feb4480011d599b (PR-336) [2023-02-06T11:07:17.275Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-06T11:07:17.333Z] > git --version # timeout=10 [2023-02-06T11:07:17.349Z] > git --version # 'git version 2.25.1' [2023-02-06T11:07:17.366Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T11:07:16.610Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T11:07:16.632Z] > git checkout -f 05dfb5c4bf3b002d8254f1471feb4480011d599b # timeout=10 [2023-02-06T11:07:16.716Z] > git remote # timeout=10 [2023-02-06T11:07:16.734Z] > git config --get remote.origin.url # timeout=10 [2023-02-06T11:07:16.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T11:07:16.765Z] > git merge da9c53c8f531c50c136bf7f237b2fe6b058fda45 # timeout=10 [2023-02-06T11:07:16.793Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-06T11:07:16.813Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T11:07:16.830Z] > git checkout -f 05dfb5c4bf3b002d8254f1471feb4480011d599b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T11:07:18.885Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-06T11:07:18.885Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T11:07:18.885Z] Dload Upload Total Spent Left Speed [2023-02-06T11:07:18.885Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh [2023-02-06T11:07:19.457Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-06T11:07:19.804Z] + sudo tee /etc/docker/daemon.new [2023-02-06T11:07:19.804Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-06T11:07:19.804Z] { [2023-02-06T11:07:19.804Z] "registry-mirrors": [ [2023-02-06T11:07:19.804Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-06T11:07:19.804Z] ], [2023-02-06T11:07:19.804Z] "bip": "10.250.0.254/24", [2023-02-06T11:07:19.804Z] "hosts": [ [2023-02-06T11:07:19.804Z] "tcp://0.0.0.0:5555", [2023-02-06T11:07:19.804Z] "unix:///var/run/docker.sock" [2023-02-06T11:07:19.804Z] ], [2023-02-06T11:07:19.804Z] "mtu": 1458, [2023-02-06T11:07:19.804Z] "selinux-enabled": true, [2023-02-06T11:07:19.804Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-06T11:07:19.804Z] } [Pipeline] sh [2023-02-06T11:07:20.163Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-06T11:07:20.519Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T11:07:38.854Z] provisioning config files... [2023-02-06T11:07:38.887Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config13499822816212534138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:07:39.302Z] ---> docker-login.sh [2023-02-06T11:07:39.303Z] nexus3.edgexfoundry.org:10001 [2023-02-06T11:07:39.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:07:40.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:07:40.164Z] Configure a credential helper to remove this warning. See [2023-02-06T11:07:40.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:07:40.164Z] [2023-02-06T11:07:40.164Z] Login Succeeded [2023-02-06T11:07:40.164Z] nexus3.edgexfoundry.org:10002 [2023-02-06T11:07:40.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:07:40.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:07:40.435Z] Configure a credential helper to remove this warning. See [2023-02-06T11:07:40.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:07:40.435Z] [2023-02-06T11:07:40.435Z] Login Succeeded [2023-02-06T11:07:40.435Z] nexus3.edgexfoundry.org:10003 [2023-02-06T11:07:40.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:07:40.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:07:40.977Z] Configure a credential helper to remove this warning. See [2023-02-06T11:07:40.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:07:40.977Z] [2023-02-06T11:07:40.977Z] Login Succeeded [2023-02-06T11:07:40.977Z] nexus3.edgexfoundry.org:10004 [2023-02-06T11:07:41.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:07:41.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:07:41.250Z] Configure a credential helper to remove this warning. See [2023-02-06T11:07:41.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:07:41.250Z] [2023-02-06T11:07:41.250Z] Login Succeeded [2023-02-06T11:07:41.250Z] docker.io [2023-02-06T11:07:41.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T11:07:41.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T11:07:41.791Z] Configure a credential helper to remove this warning. See [2023-02-06T11:07:41.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T11:07:41.791Z] [2023-02-06T11:07:41.791Z] Login Succeeded [2023-02-06T11:07:41.791Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T11:07:41.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T11:07:42.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T11:07:42.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T11:07:42.297Z] ========================================================= [2023-02-06T11:07:42.297Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-06T11:07:42.297Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:07:42.811Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-06T11:07:43.081Z] Sending build context to Docker daemon 11.83MB [2023-02-06T11:07:43.081Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T11:07:43.081Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-06T11:07:43.362Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-06T11:07:43.362Z] 9b18e9b68314: Pulling fs layer [2023-02-06T11:07:43.362Z] 35d82f9e3411: Pulling fs layer [2023-02-06T11:07:43.362Z] e16973657156: Pulling fs layer [2023-02-06T11:07:43.362Z] fc693d55d65f: Pulling fs layer [2023-02-06T11:07:43.362Z] 7e9fc2657dce: Pulling fs layer [2023-02-06T11:07:43.362Z] fc693d55d65f: Waiting [2023-02-06T11:07:43.362Z] dda99020689f: Pulling fs layer [2023-02-06T11:07:43.362Z] db1c61fa0a46: Pulling fs layer [2023-02-06T11:07:43.362Z] 891c053d2c06: Pulling fs layer [2023-02-06T11:07:43.362Z] dda99020689f: Waiting [2023-02-06T11:07:43.362Z] db1c61fa0a46: Waiting [2023-02-06T11:07:43.362Z] 891c053d2c06: Waiting [2023-02-06T11:07:43.362Z] 7e9fc2657dce: Waiting [2023-02-06T11:07:43.362Z] e16973657156: Verifying Checksum [2023-02-06T11:07:43.362Z] e16973657156: Download complete [2023-02-06T11:07:43.362Z] 35d82f9e3411: Download complete [2023-02-06T11:07:43.362Z] 7e9fc2657dce: Verifying Checksum [2023-02-06T11:07:43.362Z] 7e9fc2657dce: Download complete [2023-02-06T11:07:43.362Z] dda99020689f: Verifying Checksum [2023-02-06T11:07:43.362Z] dda99020689f: Download complete [2023-02-06T11:07:43.362Z] 9b18e9b68314: Verifying Checksum [2023-02-06T11:07:43.362Z] 9b18e9b68314: Download complete [2023-02-06T11:07:44.832Z] 891c053d2c06: Verifying Checksum [2023-02-06T11:07:44.832Z] 891c053d2c06: Download complete [2023-02-06T11:07:45.430Z] 9b18e9b68314: Pull complete [2023-02-06T11:07:45.703Z] db1c61fa0a46: Verifying Checksum [2023-02-06T11:07:45.703Z] db1c61fa0a46: Download complete [2023-02-06T11:07:45.974Z] 35d82f9e3411: Pull complete [2023-02-06T11:07:46.246Z] fc693d55d65f: Verifying Checksum [2023-02-06T11:07:46.246Z] fc693d55d65f: Download complete [2023-02-06T11:07:46.246Z] e16973657156: Pull complete [2023-02-06T11:08:01.291Z] fc693d55d65f: Pull complete [2023-02-06T11:08:01.291Z] 7e9fc2657dce: Pull complete [2023-02-06T11:08:01.291Z] dda99020689f: Pull complete [2023-02-06T11:08:05.569Z] db1c61fa0a46: Pull complete [2023-02-06T11:08:06.994Z] 891c053d2c06: Pull complete [2023-02-06T11:08:06.994Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-06T11:08:06.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-06T11:08:06.994Z] ---> f96f9c87975a [2023-02-06T11:08:06.994Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T11:08:07.981Z] ---> Running in 2a1a1c1f8409 [2023-02-06T11:08:07.981Z] Removing intermediate container 2a1a1c1f8409 [2023-02-06T11:08:07.981Z] ---> f913bfa8dd32 [2023-02-06T11:08:07.981Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T11:08:08.258Z] ---> Running in 5512c8f14679 [2023-02-06T11:08:08.526Z] Removing intermediate container 5512c8f14679 [2023-02-06T11:08:08.526Z] ---> e5ae145d7003 [2023-02-06T11:08:08.526Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-06T11:08:08.526Z] ---> Running in 0b6aec5154f2 [2023-02-06T11:08:08.798Z] Removing intermediate container 0b6aec5154f2 [2023-02-06T11:08:08.798Z] ---> e7b1f39387f6 [2023-02-06T11:08:08.798Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-06T11:08:09.066Z] ---> Running in 7fbc99fcfebc [2023-02-06T11:08:09.335Z] Removing intermediate container 7fbc99fcfebc [2023-02-06T11:08:09.336Z] ---> 936ec59afff6 [2023-02-06T11:08:09.336Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T11:08:09.336Z] ---> Running in 99b2fcce1862 [2023-02-06T11:08:10.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T11:08:10.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T11:08:11.723Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-06T11:08:11.723Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-06T11:08:11.723Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-06T11:08:11.723Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-06T11:08:11.992Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T11:08:11.992Z] OK: 226 MiB in 55 packages [2023-02-06T11:08:12.964Z] Removing intermediate container 99b2fcce1862 [2023-02-06T11:08:12.964Z] ---> 824d8b588723 [2023-02-06T11:08:12.964Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-06T11:08:13.554Z] ---> f35be5f930ff [2023-02-06T11:08:13.554Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T11:08:13.554Z] ---> Running in 37d6464c81e2 [2023-02-06T11:09:21.491Z] Removing intermediate container 37d6464c81e2 [2023-02-06T11:09:21.491Z] ---> c8ff8b045772 [2023-02-06T11:09:21.491Z] Step 10/12 : COPY . . [2023-02-06T11:09:21.491Z] ---> 26fe48501c54 [2023-02-06T11:09:21.491Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T11:09:21.491Z] ---> Running in ce33fd9f524f [2023-02-06T11:09:21.491Z] Removing intermediate container ce33fd9f524f [2023-02-06T11:09:21.491Z] ---> 5ebb5e65dd93 [2023-02-06T11:09:21.491Z] Step 12/12 : RUN $MAKE [2023-02-06T11:09:21.491Z] ---> Running in 3ddd497ad527 [2023-02-06T11:09:21.491Z] noop [2023-02-06T11:09:21.491Z] Removing intermediate container 3ddd497ad527 [2023-02-06T11:09:21.491Z] ---> 912695d69c2b [2023-02-06T11:09:21.491Z] Successfully built 912695d69c2b [2023-02-06T11:09:21.491Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:09:21.958Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T11:09:21.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:09:22.204Z] prd-ubuntu20.04-docker-arm64-4c-16g-4660 does not seem to be running inside a container [2023-02-06T11:09:22.271Z] $ 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 [2023-02-06T11:09:23.413Z] $ docker top 26658695d6c44ceb207469f4470c05b4b4ebecf8036f100b2ccf922b37f40425 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T11:09:24.274Z] + go version [2023-02-06T11:09:24.274Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-06T11:09:24.314Z] $ docker stop --time=1 26658695d6c44ceb207469f4470c05b4b4ebecf8036f100b2ccf922b37f40425 [2023-02-06T11:09:25.899Z] $ docker rm -f --volumes 26658695d6c44ceb207469f4470c05b4b4ebecf8036f100b2ccf922b37f40425 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:09:26.773Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T11:09:26.773Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:09:27.040Z] prd-ubuntu20.04-docker-arm64-4c-16g-4660 does not seem to be running inside a container [2023-02-06T11:09:27.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 [2023-02-06T11:09:28.192Z] $ docker top 01808a63d85eb06e87ed21a4f1e70c5285b6f109f0de32a3b30d323fc9c42bf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T11:09:28.765Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-06T11:09:29.416Z] + make test [2023-02-06T11:09:29.416Z] go test ./... -coverprofile=coverage.out [2023-02-06T11:09:31.369Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-06T11:10:53.027Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-06T11:10:53.027Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.130s coverage: 65.7% of statements [2023-02-06T11:10:53.027Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-06T11:10:53.027Z] go vet ./... [2023-02-06T11:11:11.239Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T11:11:11.239Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T11:11:11.239Z] ./bin/test-attribution-txt.sh [2023-02-06T11:11:11.239Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-06T11:11:11.239Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-06T11:11:11.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T11:11:11.310Z] $ docker stop --time=1 01808a63d85eb06e87ed21a4f1e70c5285b6f109f0de32a3b30d323fc9c42bf2 [2023-02-06T11:11:13.055Z] $ docker rm -f --volumes 01808a63d85eb06e87ed21a4f1e70c5285b6f109f0de32a3b30d323fc9c42bf2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T11:11:13.984Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T11:11:14.019Z] Warning: overwriting stash ‘coverage-report’ [2023-02-06T11:11:14.484Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T11:11:15.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T11:11:15.386Z] + ls -al . [2023-02-06T11:11:15.386Z] total 192 [2023-02-06T11:11:15.386Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 11:09 . [2023-02-06T11:11:15.386Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:07 .. [2023-02-06T11:11:15.386Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 11:07 .git [2023-02-06T11:11:15.386Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:07 .github [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 6 11:07 .gitignore [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 11:07 .golangci.yml [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 6 11:07 Attribution.txt [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 6 11:07 CHANGELOG.md [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 6 11:07 Dockerfile [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 11:07 GOVERNANCE.md [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 6 11:07 Jenkinsfile [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 11:07 LICENSE [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 6 11:07 Makefile [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 6 11:07 OWNERS.md [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 6 11:07 README.md [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 11:04 VERSION [2023-02-06T11:11:15.386Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 11:07 bin [2023-02-06T11:11:15.386Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:07 cmd [2023-02-06T11:11:15.386Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 6 11:10 coverage.out [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 3306 Feb 6 11:07 go.mod [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 32773 Feb 6 11:07 go.sum [2023-02-06T11:11:15.386Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:07 internal [2023-02-06T11:11:15.386Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:07 snap [2023-02-06T11:11:15.386Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 6 11:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:11:15.795Z] + 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=05dfb5c4bf3b002d8254f1471feb4480011d599b --label arch=arm64 --label version=0.0.0 . [2023-02-06T11:11:16.062Z] Sending build context to Docker daemon 11.87MB [2023-02-06T11:11:16.062Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T11:11:16.062Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-06T11:11:16.062Z] ---> 912695d69c2b [2023-02-06T11:11:16.062Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-06T11:11:16.330Z] ---> Running in 0b911cd54615 [2023-02-06T11:11:16.596Z] Removing intermediate container 0b911cd54615 [2023-02-06T11:11:16.596Z] ---> ad0a41149b40 [2023-02-06T11:11:16.596Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-06T11:11:16.596Z] ---> Running in bb167ed4126a [2023-02-06T11:11:16.865Z] Removing intermediate container bb167ed4126a [2023-02-06T11:11:16.865Z] ---> 670a88d6f3fd [2023-02-06T11:11:16.865Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-06T11:11:16.865Z] ---> Running in c7cbc6007976 [2023-02-06T11:11:17.132Z] Removing intermediate container c7cbc6007976 [2023-02-06T11:11:17.132Z] ---> a3dd966e2bd3 [2023-02-06T11:11:17.132Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-06T11:11:17.398Z] ---> Running in 025482d3c0a8 [2023-02-06T11:11:17.665Z] Removing intermediate container 025482d3c0a8 [2023-02-06T11:11:17.665Z] ---> 9ce5c28520f7 [2023-02-06T11:11:17.665Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-06T11:11:17.665Z] ---> Running in b7c697c4e2b0 [2023-02-06T11:11:18.623Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T11:11:18.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T11:11:19.847Z] OK: 226 MiB in 55 packages [2023-02-06T11:11:20.807Z] Removing intermediate container b7c697c4e2b0 [2023-02-06T11:11:20.807Z] ---> c68cc0949632 [2023-02-06T11:11:20.807Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-06T11:11:21.074Z] ---> 10b2297f0297 [2023-02-06T11:11:21.074Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T11:11:21.344Z] ---> Running in b775d1d4c627 [2023-02-06T11:11:24.693Z] Removing intermediate container b775d1d4c627 [2023-02-06T11:11:24.693Z] ---> 4425f029dbec [2023-02-06T11:11:24.693Z] Step 10/25 : COPY . . [2023-02-06T11:11:25.273Z] ---> cf6a0d270c72 [2023-02-06T11:11:25.273Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-06T11:11:25.538Z] ---> Running in 74b88ec27955 [2023-02-06T11:11:25.814Z] Removing intermediate container 74b88ec27955 [2023-02-06T11:11:25.814Z] ---> f8cab3431633 [2023-02-06T11:11:25.814Z] Step 12/25 : RUN $MAKE [2023-02-06T11:11:25.814Z] ---> Running in 1c7d9236a547 [2023-02-06T11:11:26.771Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-06T11:13:48.437Z] Removing intermediate container 1c7d9236a547 [2023-02-06T11:13:48.437Z] ---> 06b4c1bae210 [2023-02-06T11:13:48.437Z] Step 13/25 : FROM alpine:3.16 [2023-02-06T11:13:48.437Z] 3.16: Pulling from library/alpine [2023-02-06T11:13:48.437Z] 6875df1f5354: Pulling fs layer [2023-02-06T11:13:48.437Z] 6875df1f5354: Verifying Checksum [2023-02-06T11:13:48.437Z] 6875df1f5354: Download complete [2023-02-06T11:13:48.437Z] 6875df1f5354: Pull complete [2023-02-06T11:13:48.437Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-06T11:13:48.437Z] Status: Downloaded newer image for alpine:3.16 [2023-02-06T11:13:48.437Z] ---> 2b4661558fb8 [2023-02-06T11:13:48.437Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-06T11:13:48.437Z] ---> Running in 44ef8834486a [2023-02-06T11:13:48.437Z] Removing intermediate container 44ef8834486a [2023-02-06T11:13:48.437Z] ---> ae90e7017cc3 [2023-02-06T11:13:48.437Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-06T11:13:48.437Z] ---> Running in 6c870385945c [2023-02-06T11:13:48.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T11:13:48.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T11:13:48.437Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-06T11:13:48.437Z] Executing busybox-1.35.0-r17.trigger [2023-02-06T11:13:48.437Z] OK: 5 MiB in 15 packages [2023-02-06T11:13:48.437Z] Removing intermediate container 6c870385945c [2023-02-06T11:13:48.437Z] ---> 71a51319f91f [2023-02-06T11:13:48.437Z] Step 16/25 : WORKDIR / [2023-02-06T11:13:48.437Z] ---> Running in feaa70eb1715 [2023-02-06T11:13:48.437Z] Removing intermediate container feaa70eb1715 [2023-02-06T11:13:48.437Z] ---> d3ae70d37755 [2023-02-06T11:13:48.437Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-06T11:13:48.437Z] ---> 2bd8445474d1 [2023-02-06T11:13:48.437Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-06T11:13:48.437Z] ---> 148af8ad12b2 [2023-02-06T11:13:48.437Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-06T11:13:48.437Z] ---> ed77e5058ff6 [2023-02-06T11:13:48.437Z] Step 20/25 : EXPOSE 59900 [2023-02-06T11:13:48.437Z] ---> Running in 85002faba2b2 [2023-02-06T11:13:48.437Z] Removing intermediate container 85002faba2b2 [2023-02-06T11:13:48.437Z] ---> 08f1a4262ee6 [2023-02-06T11:13:48.437Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-06T11:13:48.437Z] ---> Running in 5a05d13d05d5 [2023-02-06T11:13:48.437Z] Removing intermediate container 5a05d13d05d5 [2023-02-06T11:13:48.437Z] ---> 32e72804412d [2023-02-06T11:13:48.437Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-06T11:13:48.437Z] ---> Running in 0d3a3f93280c [2023-02-06T11:13:48.437Z] Removing intermediate container 0d3a3f93280c [2023-02-06T11:13:48.437Z] ---> b8d6ed25400d [2023-02-06T11:13:48.437Z] Step 23/25 : LABEL arch=arm64 [2023-02-06T11:13:48.437Z] ---> Running in ce8e09777401 [2023-02-06T11:13:48.437Z] Removing intermediate container ce8e09777401 [2023-02-06T11:13:48.437Z] ---> cb28fb4907b9 [2023-02-06T11:13:48.437Z] Step 24/25 : LABEL git_sha=05dfb5c4bf3b002d8254f1471feb4480011d599b [2023-02-06T11:13:48.437Z] ---> Running in 229d80e0d94d [2023-02-06T11:13:48.437Z] Removing intermediate container 229d80e0d94d [2023-02-06T11:13:48.437Z] ---> 80022d917190 [2023-02-06T11:13:48.437Z] Step 25/25 : LABEL version=0.0.0 [2023-02-06T11:13:48.437Z] ---> Running in fc1fcef47d1e [2023-02-06T11:13:48.437Z] Removing intermediate container fc1fcef47d1e [2023-02-06T11:13:48.437Z] ---> 4c5f4aba3f5c [2023-02-06T11:13:48.437Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T11:13:48.437Z] Successfully built 4c5f4aba3f5c [2023-02-06T11:13:48.437Z] 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 [2023-02-06T11:13:49.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T11:13:49.294Z] [2023-02-06T11:13:49.294Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:13:49.701Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T11:13:49.701Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-06T11:13:49.701Z] 8998bd30e6a1: Pulling fs layer [2023-02-06T11:13:49.701Z] 04944245beec: Pulling fs layer [2023-02-06T11:13:49.701Z] 699f458cf7ca: Pulling fs layer [2023-02-06T11:13:49.701Z] 765212b225bb: Pulling fs layer [2023-02-06T11:13:49.701Z] f23df028b6ca: Pulling fs layer [2023-02-06T11:13:49.701Z] d65c8cfc05b1: Pulling fs layer [2023-02-06T11:13:49.701Z] 2437ff75d9bd: Pulling fs layer [2023-02-06T11:13:49.701Z] 765212b225bb: Waiting [2023-02-06T11:13:49.701Z] f23df028b6ca: Waiting [2023-02-06T11:13:49.701Z] d65c8cfc05b1: Waiting [2023-02-06T11:13:49.701Z] 2437ff75d9bd: Waiting [2023-02-06T11:13:49.966Z] 04944245beec: Download complete [2023-02-06T11:13:49.966Z] 765212b225bb: Verifying Checksum [2023-02-06T11:13:49.966Z] 765212b225bb: Download complete [2023-02-06T11:13:49.966Z] f23df028b6ca: Verifying Checksum [2023-02-06T11:13:49.966Z] f23df028b6ca: Download complete [2023-02-06T11:13:50.232Z] d65c8cfc05b1: Verifying Checksum [2023-02-06T11:13:50.232Z] d65c8cfc05b1: Download complete [2023-02-06T11:13:50.232Z] 699f458cf7ca: Verifying Checksum [2023-02-06T11:13:50.232Z] 699f458cf7ca: Download complete [2023-02-06T11:13:50.814Z] 8998bd30e6a1: Verifying Checksum [2023-02-06T11:13:50.814Z] 8998bd30e6a1: Download complete [2023-02-06T11:13:52.748Z] 2437ff75d9bd: Verifying Checksum [2023-02-06T11:13:52.748Z] 2437ff75d9bd: Download complete [2023-02-06T11:13:54.157Z] 8998bd30e6a1: Pull complete [2023-02-06T11:13:54.738Z] 04944245beec: Pull complete [2023-02-06T11:13:55.695Z] 699f458cf7ca: Pull complete [2023-02-06T11:13:55.960Z] 765212b225bb: Pull complete [2023-02-06T11:13:56.541Z] f23df028b6ca: Pull complete [2023-02-06T11:13:56.807Z] d65c8cfc05b1: Pull complete [2023-02-06T11:14:09.107Z] 2437ff75d9bd: Pull complete [2023-02-06T11:14:09.107Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-06T11:14:09.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T11:14:09.107Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:14:09.403Z] prd-ubuntu20.04-docker-arm64-4c-16g-4660 does not seem to be running inside a container [2023-02-06T11:14:09.461Z] $ 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 [2023-02-06T11:14:11.782Z] $ docker top 837213cbfd33d6b855ffffbc27795177da59e3b603dd2a14c5ac8cafb71c5782 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:14:12.330Z] ---> job-cost.sh [2023-02-06T11:14:12.594Z] lf-activate-venv: SKIPPING [2023-02-06T11:14:12.594Z] INFO: No Stack... [2023-02-06T11:14:13.173Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-06T11:14:13.751Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T11:14:14.091Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-02-06T11:14:14.091Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T11:14:14.160Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-336-1-stack-cost] [2023-02-06T11:14:14.164Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-336-1-stack-cost] did not exist. Created. [2023-02-06T11:14:14.165Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T11:14:14.579Z] /w/workspace/device-virtual-go/1@tmp/durable-1583f251/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-06T11:14:14.925Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-06T11:14:14.961Z] Warning: overwriting stash ‘stack-cost’ [2023-02-06T11:14:15.008Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T11:14:15.021Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T11:14:15.094Z] $ docker stop --time=1 837213cbfd33d6b855ffffbc27795177da59e3b603dd2a14c5ac8cafb71c5782 [2023-02-06T11:14:19.128Z] $ docker rm -f --volumes 837213cbfd33d6b855ffffbc27795177da59e3b603dd2a14c5ac8cafb71c5782 [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 [2023-02-06T11:14:20.055Z] provisioning config files... [2023-02-06T11:14:20.063Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-336@tmp/config16808276321178126688tmp [Pipeline] { [Pipeline] sh [2023-02-06T11:14:20.395Z] + set +x [2023-02-06T11:14:20.395Z] + bash -s -- [2023-02-06T11:14:20.395Z] + curl -s https://codecov.io/bash [2023-02-06T11:14:20.395Z] [2023-02-06T11:14:20.395Z] _____ _ [2023-02-06T11:14:20.395Z] / ____| | | [2023-02-06T11:14:20.395Z] | | ___ __| | ___ ___ _____ __ [2023-02-06T11:14:20.395Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-06T11:14:20.395Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-06T11:14:20.395Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-06T11:14:20.395Z] Bash-1.0.6 [2023-02-06T11:14:20.395Z] [2023-02-06T11:14:20.395Z] [2023-02-06T11:14:20.395Z] ==> git version 2.25.1 found [2023-02-06T11:14:20.395Z] ==> 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 [2023-02-06T11:14:20.395Z] Release-Date: 2020-01-08 [2023-02-06T11:14:20.395Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-06T11:14:20.395Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-06T11:14:20.395Z] ==> Jenkins CI detected. [2023-02-06T11:14:20.395Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-336 [2023-02-06T11:14:20.395Z] project root: . [2023-02-06T11:14:20.395Z] --> token set from env [2023-02-06T11:14:20.395Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-06T11:14:20.395Z] ==> Running gcov in . (disable via -X gcov) [2023-02-06T11:14:20.395Z] ==> Python coveragepy not found [2023-02-06T11:14:20.395Z] ==> Searching for coverage reports in: [2023-02-06T11:14:20.395Z] + . [2023-02-06T11:14:20.395Z] -> Found 1 reports [2023-02-06T11:14:20.395Z] ==> Detecting git/mercurial file structure [2023-02-06T11:14:20.395Z] ==> Reading reports [2023-02-06T11:14:20.395Z] + ./coverage.out bytes=44128 [2023-02-06T11:14:20.395Z] ==> Appending adjustments [2023-02-06T11:14:20.395Z] https://docs.codecov.io/docs/fixing-reports [2023-02-06T11:14:20.655Z] + Found adjustments [2023-02-06T11:14:20.655Z] ==> Gzipping contents [2023-02-06T11:14:20.655Z] 8.0K /tmp/codecov.QaK1AN.gz [2023-02-06T11:14:20.655Z] ==> Uploading reports [2023-02-06T11:14:20.655Z] url: https://codecov.io [2023-02-06T11:14:20.655Z] query: branch=PR-336&commit=05dfb5c4bf3b002d8254f1471feb4480011d599b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=336&job=&cmd_args= [2023-02-06T11:14:20.655Z] -> Pinging Codecov [2023-02-06T11:14:20.655Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-336&commit=05dfb5c4bf3b002d8254f1471feb4480011d599b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=336&job=&cmd_args= [2023-02-06T11:14:20.914Z] -> Uploading to [2023-02-06T11:14:20.914Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-06/5E52B4B073DB2E39498172D8E973AA87/05dfb5c4bf3b002d8254f1471feb4480011d599b/9cb824ca-7e66-4ede-82a3-064e55a33a08.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T111420Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67cc5def18c1849c81c376223f4743fe10eb05a21375de5eeebf3aa05cece607 [2023-02-06T11:14:20.914Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T11:14:20.914Z] Dload Upload Total Spent Left Speed [2023-02-06T11:14:21.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5503 0 0 100 5503 0 27378 --:--:-- --:--:-- --:--:-- 27378 [2023-02-06T11:14:21.173Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/05dfb5c4bf3b002d8254f1471feb4480011d599b [Pipeline] } [2023-02-06T11:14:21.199Z] 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 [2023-02-06T11:14:22.950Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-336/archives ] [2023-02-06T11:14:22.950Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-336/archives [2023-02-06T11:14:22.950Z] total 16 [2023-02-06T11:14:22.950Z] drwxr-xr-x 3 root root 4096 Feb 6 11:06 . [2023-02-06T11:14:22.950Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 11:06 .. [2023-02-06T11:14:22.950Z] drwxr-xr-x 2 root root 4096 Feb 6 11:06 cost [2023-02-06T11:14:22.950Z] -rw-r--r-- 1 root root 89 Feb 6 11:06 cost.csv [2023-02-06T11:14:22.950Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-336/archives [2023-02-06T11:14:22.950Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-336/archives [2023-02-06T11:14:22.950Z] total 16 [2023-02-06T11:14:22.950Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 11:06 . [2023-02-06T11:14:22.950Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 11:06 .. [2023-02-06T11:14:22.950Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 11:06 cost [2023-02-06T11:14:22.950Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 6 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:14:23.275Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:14:24.243Z] ---> package-listing.sh [2023-02-06T11:14:24.243Z] ++ facter osfamily [2023-02-06T11:14:24.243Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-06T11:14:24.502Z] + OS_FAMILY=debian [2023-02-06T11:14:24.502Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-336 [2023-02-06T11:14:24.502Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-06T11:14:24.502Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-06T11:14:24.502Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-06T11:14:24.502Z] + PACKAGES=/tmp/packages_start.txt [2023-02-06T11:14:24.502Z] + '[' /w/workspace/foundry_device-virtual-go_PR-336 ']' [2023-02-06T11:14:24.502Z] + PACKAGES=/tmp/packages_end.txt [2023-02-06T11:14:24.502Z] + case "${OS_FAMILY}" in [2023-02-06T11:14:24.502Z] + dpkg -l [2023-02-06T11:14:24.502Z] + grep '^ii' [2023-02-06T11:14:24.502Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-06T11:14:24.502Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-06T11:14:24.502Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-06T11:14:24.502Z] + '[' /w/workspace/foundry_device-virtual-go_PR-336 ']' [2023-02-06T11:14:24.502Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-336/archives/ [2023-02-06T11:14:24.502Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-336/archives/ [Pipeline] echo [2023-02-06T11:14:24.536Z] 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-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-06T11:14:24.826Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T11:14:25.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T11:14:25.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T11:14:25.596Z] prd-ubuntu20.04-docker-8c-8g-4657 does not seem to be running inside a container [2023-02-06T11:14:25.625Z] $ 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-336/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-336 -v /w/workspace/foundry_device-virtual-go_PR-336:/w/workspace/foundry_device-virtual-go_PR-336:rw,z -v /w/workspace/foundry_device-virtual-go_PR-336@tmp:/w/workspace/foundry_device-virtual-go_PR-336@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 [2023-02-06T11:14:25.795Z] $ docker top 10459c02819e5f8ab49913bbbec6ce9acd101af466973e4e8ad44866ba1eb886 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T11:14:26.176Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-06T11:14:26.482Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-06T11:14:26.796Z] + ls /var/log/sa-host [2023-02-06T11:14:26.796Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T11:14:26.933Z] provisioning config files... [2023-02-06T11:14:26.942Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-336@tmp/config15227649964586977888tmp [Pipeline] { [Pipeline] echo [2023-02-06T11:14:26.990Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:14:27.297Z] ---> create-netrc.sh [Pipeline] } [2023-02-06T11:14:27.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:14:27.711Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-06T11:14:27.752Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:14:28.064Z] ---> sudo-logs.sh [2023-02-06T11:14:28.064Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-06T11:14:28.146Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:14:28.459Z] ---> job-cost.sh [2023-02-06T11:14:28.459Z] lf-activate-venv: SKIPPING [2023-02-06T11:14:28.459Z] DEBUG: total: 0.2199999988079071 [2023-02-06T11:14:28.459Z] INFO: Retrieving Stack Cost... [2023-02-06T11:14:28.717Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T11:14:29.283Z] INFO: Archiving Costs [Pipeline] echo [2023-02-06T11:14:29.322Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T11:14:29.631Z] ---> logs-deploy.sh [2023-02-06T11:14:29.631Z] lf-activate-venv: SKIPPING [2023-02-06T11:14:29.631Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-336/1 [2023-02-06T11:14:29.631Z] INFO: archiving workspace using pattern(s): [2023-02-06T11:14:30.566Z] Archives upload complete. [2023-02-06T11:14:30.566Z] INFO: archiving logs to Nexus