Pull request #302 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761+eb73192e64f29d5b7509ef98fadefc4f8094ab1e (237b77b8d26cdd2846ec2af1b7ef04401f37153f) 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-ssh15040466859956738701.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7637517051192667709.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15548659781213115750.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5959165946065222120.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1278125629259890091.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24151 in /w/workspace/foundry_device-virtual-go_PR-302 [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-302 # 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 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Merging remotes/origin/main commit eb73192e64f29d5b7509ef98fadefc4f8094ab1e into PR head commit b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 Merge succeeded, producing b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 Checking out Revision b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 (PR-302) 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/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 # 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 eb73192e64f29d5b7509ef98fadefc4f8094ab1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 # timeout=10 Commit message: "build: Add option to build Core/Support services with NATS Capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-31T00:42:14.847Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-31T00:42:14.907Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-31T00:42:14.926Z] ========================================================= [2022-08-31T00:42:14.926Z] EdgeX Global Pipelines Version Info [2022-08-31T00:42:14.926Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b91021cb91e463882b30122b38254e31238ac68e # timeout=10 [2022-08-31T00:42:15.661Z] ------------------- [2022-08-31T00:42:15.661Z] stable info: [2022-08-31T00:42:15.661Z] ------------------- [2022-08-31T00:42:15.661Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-31T00:42:15.661Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T00:42:15.661Z] Message: update stable to v1.0.239 [2022-08-31T00:42:16.268Z] ------------------- [2022-08-31T00:42:16.268Z] experimental info: [2022-08-31T00:42:16.268Z] ------------------- [2022-08-31T00:42:16.268Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-31T00:42:16.268Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T00:42:16.268Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-31T00:42:16.496Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-08-31T00:42:16.509Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-08-31T00:42:16.521Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-31T00:42:16.537Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-31T00:42:16.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-31T00:42:16.556Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-31T00:42:16.565Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-31T00:42:16.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-31T00:42:16.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-31T00:42:16.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-31T00:42:16.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-31T00:42:16.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-08-31T00:42:16.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-31T00:42:16.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-31T00:42:16.664Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T00:42:16.674Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T00:42:16.686Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T00:42:16.702Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T00:42:16.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-31T00:42:16.726Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-31T00:42:16.738Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-31T00:42:16.751Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-31T00:42:16.764Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-31T00:42:16.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-31T00:42:16.788Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-31T00:42:16.800Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-31T00:42:16.814Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-31T00:42:16.826Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo [2022-08-31T00:42:16.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo [2022-08-31T00:42:16.851Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo [2022-08-31T00:42:16.863Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [Pipeline] echo [2022-08-31T00:42:16.874Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2c1e7d [Pipeline] echo [2022-08-31T00:42:16.893Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T00:42:16.934Z] provisioning config files... [2022-08-31T00:42:16.948Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config8891287437814073305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:42:17.261Z] ---> docker-login.sh [2022-08-31T00:42:17.261Z] nexus3.edgexfoundry.org:10001 [2022-08-31T00:42:17.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:18.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:18.095Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:18.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:18.095Z] [2022-08-31T00:42:18.095Z] Login Succeeded [2022-08-31T00:42:18.095Z] nexus3.edgexfoundry.org:10002 [2022-08-31T00:42:18.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:18.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:18.095Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:18.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:18.095Z] [2022-08-31T00:42:18.095Z] Login Succeeded [2022-08-31T00:42:18.095Z] nexus3.edgexfoundry.org:10003 [2022-08-31T00:42:18.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:18.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:18.355Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:18.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:18.355Z] [2022-08-31T00:42:18.355Z] Login Succeeded [2022-08-31T00:42:18.355Z] nexus3.edgexfoundry.org:10004 [2022-08-31T00:42:18.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:18.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:18.355Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:18.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:18.355Z] [2022-08-31T00:42:18.355Z] Login Succeeded [2022-08-31T00:42:18.355Z] docker.io [2022-08-31T00:42:18.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:18.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:18.923Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:18.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:18.923Z] [2022-08-31T00:42:18.923Z] Login Succeeded [2022-08-31T00:42:18.923Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T00:42:18.933Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-31T00:42:19.316Z] + git rev-list -1 --merges b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761~1..b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [Pipeline] echo [2022-08-31T00:42:19.462Z] -----------> git rev-list -1 --merges b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761~1..b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [false] [Pipeline] sh [2022-08-31T00:42:19.759Z] + git log --format=format:%s -1 b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [Pipeline] echo [2022-08-31T00:42:19.777Z] ========================================================= [2022-08-31T00:42:19.777Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-31T00:42:19.777Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T00:42:20.104Z] + git log --format=format:%s -1 b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [Pipeline] echo [2022-08-31T00:42:20.117Z] [semverPrep] GIT_COMMIT: b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761, Commit Message: build: Add option to build Core/Support services with NATS Capability [Pipeline] echo [2022-08-31T00:42:20.129Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-31T00:42:20.484Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-31T00:42:20.485Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-31T00:42:20.485Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-31T00:42:20.485Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-31T00:42:20.485Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-31T00:42:20.485Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-31T00:42:20.485Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:42:20.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T00:42:20.859Z] [2022-08-31T00:42:20.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:42:21.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T00:42:21.437Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-31T00:42:21.437Z] b85a868b505f: Pulling fs layer [2022-08-31T00:42:21.437Z] e2be974225ed: Pulling fs layer [2022-08-31T00:42:21.437Z] 339a4e72a1f5: Pulling fs layer [2022-08-31T00:42:21.437Z] 988bab9f4d93: Pulling fs layer [2022-08-31T00:42:21.437Z] 1469e6f7b9e6: Pulling fs layer [2022-08-31T00:42:21.437Z] eaf3925da568: Pulling fs layer [2022-08-31T00:42:21.437Z] bab4dde63d76: Pulling fs layer [2022-08-31T00:42:21.437Z] bde34c3a00c8: Pulling fs layer [2022-08-31T00:42:21.437Z] b352a97aabf1: Pulling fs layer [2022-08-31T00:42:21.437Z] 4872d77fe225: Pulling fs layer [2022-08-31T00:42:21.437Z] 5851b861e8e6: Pulling fs layer [2022-08-31T00:42:21.437Z] b352a97aabf1: Waiting [2022-08-31T00:42:21.437Z] 988bab9f4d93: Waiting [2022-08-31T00:42:21.437Z] 4872d77fe225: Waiting [2022-08-31T00:42:21.437Z] bde34c3a00c8: Waiting [2022-08-31T00:42:21.437Z] 1469e6f7b9e6: Waiting [2022-08-31T00:42:21.437Z] eaf3925da568: Waiting [2022-08-31T00:42:21.437Z] 5851b861e8e6: Waiting [2022-08-31T00:42:21.437Z] bab4dde63d76: Waiting [2022-08-31T00:42:21.437Z] e2be974225ed: Verifying Checksum [2022-08-31T00:42:21.437Z] e2be974225ed: Download complete [2022-08-31T00:42:21.437Z] 988bab9f4d93: Verifying Checksum [2022-08-31T00:42:21.437Z] 988bab9f4d93: Download complete [2022-08-31T00:42:21.697Z] 1469e6f7b9e6: Verifying Checksum [2022-08-31T00:42:21.697Z] 1469e6f7b9e6: Download complete [2022-08-31T00:42:21.697Z] 339a4e72a1f5: Verifying Checksum [2022-08-31T00:42:21.697Z] 339a4e72a1f5: Download complete [2022-08-31T00:42:21.697Z] eaf3925da568: Verifying Checksum [2022-08-31T00:42:21.697Z] eaf3925da568: Download complete [2022-08-31T00:42:21.697Z] bde34c3a00c8: Verifying Checksum [2022-08-31T00:42:21.697Z] bde34c3a00c8: Download complete [2022-08-31T00:42:21.697Z] b352a97aabf1: Verifying Checksum [2022-08-31T00:42:21.697Z] b352a97aabf1: Download complete [2022-08-31T00:42:21.697Z] 4872d77fe225: Download complete [2022-08-31T00:42:21.697Z] 5851b861e8e6: Download complete [2022-08-31T00:42:21.697Z] b85a868b505f: Verifying Checksum [2022-08-31T00:42:21.697Z] b85a868b505f: Download complete [2022-08-31T00:42:21.955Z] bab4dde63d76: Verifying Checksum [2022-08-31T00:42:21.955Z] bab4dde63d76: Download complete [2022-08-31T00:42:23.338Z] b85a868b505f: Pull complete [2022-08-31T00:42:23.601Z] e2be974225ed: Pull complete [2022-08-31T00:42:24.169Z] 339a4e72a1f5: Pull complete [2022-08-31T00:42:24.431Z] 988bab9f4d93: Pull complete [2022-08-31T00:42:24.692Z] 1469e6f7b9e6: Pull complete [2022-08-31T00:42:24.952Z] eaf3925da568: Pull complete [2022-08-31T00:42:26.882Z] bab4dde63d76: Pull complete [2022-08-31T00:42:26.882Z] bde34c3a00c8: Pull complete [2022-08-31T00:42:27.142Z] b352a97aabf1: Pull complete [2022-08-31T00:42:27.142Z] 4872d77fe225: Pull complete [2022-08-31T00:42:27.402Z] 5851b861e8e6: Pull complete [2022-08-31T00:42:27.402Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-31T00:42:27.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T00:42:27.402Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:42:27.500Z] prd-ubuntu20.04-docker-8c-8g-24151 does not seem to be running inside a container [2022-08-31T00:42:27.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-31T00:42:35.354Z] $ docker top 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 -eo pid,comm [2022-08-31T00:42:35.425Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-31T00:42:35.425Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-31T00:42:35.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T00:42:35.464Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T00:42:35.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T00:42:35.608Z] $ docker exec 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 ssh-agent [2022-08-31T00:42:35.763Z] SSH_AUTH_SOCK=/tmp/ssh-8J0QnLNVOqs9/agent.15 [2022-08-31T00:42:35.763Z] SSH_AGENT_PID=21 [2022-08-31T00:42:35.772Z] Running ssh-add (command line suppressed) [2022-08-31T00:42:35.880Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_4650101792502010330.key (/w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_4650101792502010330.key) [2022-08-31T00:42:35.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T00:42:36.206Z] + git tag --points-at HEAD [Pipeline] } [2022-08-31T00:42:36.215Z] $ docker exec --env ******** --env ******** 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 ssh-agent -k [2022-08-31T00:42:36.384Z] unset SSH_AUTH_SOCK; [2022-08-31T00:42:36.385Z] unset SSH_AGENT_PID; [2022-08-31T00:42:36.385Z] echo Agent pid 21 killed; [2022-08-31T00:42:36.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-31T00:42:36.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T00:42:36.427Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T00:42:36.583Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T00:42:36.585Z] $ docker exec 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 ssh-agent [2022-08-31T00:42:36.727Z] SSH_AUTH_SOCK=/tmp/ssh-my6z5kEBgH5V/agent.62 [2022-08-31T00:42:36.727Z] SSH_AGENT_PID=79 [2022-08-31T00:42:36.736Z] Running ssh-add (command line suppressed) [2022-08-31T00:42:36.851Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_579353742372381765.key (/w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_579353742372381765.key) [2022-08-31T00:42:36.869Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T00:42:37.160Z] + git semver init [2022-08-31T00:42:37.420Z] 2022-08-31 00:42:37,367 [run_init] DEBUG init version:0.0.0 force:False [2022-08-31T00:42:37.420Z] 2022-08-31 00:42:37,368 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-302/.semver [2022-08-31T00:42:37.420Z] 2022-08-31 00:42:37,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-302/.semver [2022-08-31T00:42:37.420Z] 2022-08-31 00:42:37,369 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-302/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-302, universal_newlines=False, shell=None, istream=None) [2022-08-31T00:42:39.337Z] 2022-08-31 00:42:38,813 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-302/.git/info/exclude [2022-08-31T00:42:39.337Z] 2022-08-31 00:42:38,814 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-302/.semver/PR-302 with force:False [2022-08-31T00:42:39.337Z] 2022-08-31 00:42:38,814 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-302/.semver/PR-302 [2022-08-31T00:42:39.337Z] 2022-08-31 00:42:38,818 [execute] INFO git cat-file --batch-check [2022-08-31T00:42:39.337Z] 2022-08-31 00:42:38,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T00:42:39.337Z] 2022-08-31 00:42:38,824 [execute] INFO git cat-file --batch [2022-08-31T00:42:39.337Z] 2022-08-31 00:42:38,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) [2022-08-31T00:42:39.337Z] 2022-08-31 00:42:38,829 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-302/.semver/PR-302 [2022-08-31T00:42:39.337Z] 0.0.0 [Pipeline] } [2022-08-31T00:42:39.351Z] $ docker exec --env ******** --env ******** 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 ssh-agent -k [2022-08-31T00:42:39.462Z] unset SSH_AUTH_SOCK; [2022-08-31T00:42:39.462Z] unset SSH_AGENT_PID; [2022-08-31T00:42:39.462Z] echo Agent pid 79 killed; [2022-08-31T00:42:39.475Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-31T00:42:39.805Z] + git semver [Pipeline] } [2022-08-31T00:42:40.103Z] $ docker stop --time=1 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 [2022-08-31T00:42:42.287Z] $ docker rm -f 4765e7b906fd1bd03d9525e786ed7930bbbdcd2710e42bcca0d0c856d2ca1c90 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T00:42:42.793Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-31T00:42:43.100Z] Stashed 1 file(s) [Pipeline] echo [2022-08-31T00:42:43.103Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T00:42:43.250Z] provisioning config files... [2022-08-31T00:42:43.259Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config1264942521594321001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:42:43.558Z] ---> docker-login.sh [2022-08-31T00:42:43.558Z] nexus3.edgexfoundry.org:10001 [2022-08-31T00:42:43.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:43.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:43.558Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:43.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:43.558Z] [2022-08-31T00:42:43.558Z] Login Succeeded [2022-08-31T00:42:43.558Z] nexus3.edgexfoundry.org:10002 [2022-08-31T00:42:43.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:43.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:43.819Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:43.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:43.819Z] [2022-08-31T00:42:43.819Z] Login Succeeded [2022-08-31T00:42:43.819Z] nexus3.edgexfoundry.org:10003 [2022-08-31T00:42:43.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:43.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:43.819Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:43.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:43.819Z] [2022-08-31T00:42:43.819Z] Login Succeeded [2022-08-31T00:42:43.819Z] nexus3.edgexfoundry.org:10004 [2022-08-31T00:42:43.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:44.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:44.091Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:44.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:44.091Z] [2022-08-31T00:42:44.091Z] Login Succeeded [2022-08-31T00:42:44.091Z] docker.io [2022-08-31T00:42:44.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:42:44.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:42:44.351Z] Configure a credential helper to remove this warning. See [2022-08-31T00:42:44.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:42:44.351Z] [2022-08-31T00:42:44.351Z] Login Succeeded [2022-08-31T00:42:44.351Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T00:42:44.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T00:42:44.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:42:44.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:42:44.453Z] ========================================================= [2022-08-31T00:42:44.453Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-31T00:42:44.453Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:42:44.775Z] + 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 . [2022-08-31T00:42:44.775Z] Sending build context to Docker daemon 23.12MB [2022-08-31T00:42:44.775Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:42:44.775Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T00:42:45.756Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-31T00:42:45.756Z] 2408cc74d12b: Pulling fs layer [2022-08-31T00:42:45.756Z] ea60b727a1ce: Pulling fs layer [2022-08-31T00:42:45.756Z] 30c4a7721957: Pulling fs layer [2022-08-31T00:42:45.756Z] 370296b7ddb6: Pulling fs layer [2022-08-31T00:42:45.756Z] 7c6cee850709: Pulling fs layer [2022-08-31T00:42:45.756Z] 39a5fcdaea64: Pulling fs layer [2022-08-31T00:42:45.756Z] d94ebbe4e438: Pulling fs layer [2022-08-31T00:42:45.756Z] bcfd1f05c69d: Pulling fs layer [2022-08-31T00:42:45.756Z] 59ccb84bbe0f: Pulling fs layer [2022-08-31T00:42:45.756Z] 370296b7ddb6: Waiting [2022-08-31T00:42:45.756Z] 7c6cee850709: Waiting [2022-08-31T00:42:45.756Z] 39a5fcdaea64: Waiting [2022-08-31T00:42:45.756Z] d94ebbe4e438: Waiting [2022-08-31T00:42:45.756Z] bcfd1f05c69d: Waiting [2022-08-31T00:42:45.756Z] 59ccb84bbe0f: Waiting [2022-08-31T00:42:45.756Z] 30c4a7721957: Verifying Checksum [2022-08-31T00:42:45.756Z] 30c4a7721957: Download complete [2022-08-31T00:42:45.756Z] ea60b727a1ce: Download complete [2022-08-31T00:42:45.756Z] 7c6cee850709: Verifying Checksum [2022-08-31T00:42:45.756Z] 7c6cee850709: Download complete [2022-08-31T00:42:46.017Z] 39a5fcdaea64: Download complete [2022-08-31T00:42:46.017Z] 2408cc74d12b: Verifying Checksum [2022-08-31T00:42:46.017Z] 2408cc74d12b: Download complete [2022-08-31T00:42:46.017Z] d94ebbe4e438: Download complete [2022-08-31T00:42:46.591Z] 2408cc74d12b: Pull complete [2022-08-31T00:42:46.591Z] 59ccb84bbe0f: Verifying Checksum [2022-08-31T00:42:46.591Z] 59ccb84bbe0f: Download complete [2022-08-31T00:42:46.851Z] bcfd1f05c69d: Verifying Checksum [2022-08-31T00:42:46.851Z] bcfd1f05c69d: Download complete [2022-08-31T00:42:46.851Z] 370296b7ddb6: Verifying Checksum [2022-08-31T00:42:46.851Z] 370296b7ddb6: Download complete [2022-08-31T00:42:47.424Z] ea60b727a1ce: Pull complete [2022-08-31T00:42:47.685Z] 30c4a7721957: Pull complete [2022-08-31T00:42:52.967Z] 370296b7ddb6: Pull complete [2022-08-31T00:42:52.967Z] 7c6cee850709: Pull complete [2022-08-31T00:42:52.967Z] 39a5fcdaea64: Pull complete [2022-08-31T00:42:52.967Z] d94ebbe4e438: Pull complete [2022-08-31T00:42:54.349Z] bcfd1f05c69d: Pull complete [2022-08-31T00:42:55.319Z] 59ccb84bbe0f: Pull complete [2022-08-31T00:42:55.319Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-31T00:42:55.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-31T00:42:55.319Z] ---> a4fb48ad2a94 [2022-08-31T00:42:55.319Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T00:42:58.207Z] Still waiting to schedule task [2022-08-31T00:42:58.207Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-08-31T00:43:17.337Z] ---> Running in 2c0f9c16cbad [2022-08-31T00:43:17.337Z] Removing intermediate container 2c0f9c16cbad [2022-08-31T00:43:17.337Z] ---> 9a30a47e4753 [2022-08-31T00:43:17.337Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:43:17.337Z] ---> Running in 2da2a7f41c4e [2022-08-31T00:43:17.337Z] Removing intermediate container 2da2a7f41c4e [2022-08-31T00:43:17.337Z] ---> 2cb03a711212 [2022-08-31T00:43:17.337Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:43:17.337Z] ---> Running in 2002ec985749 [2022-08-31T00:43:17.337Z] Removing intermediate container 2002ec985749 [2022-08-31T00:43:17.337Z] ---> a5ed7f98fadd [2022-08-31T00:43:17.337Z] Step 6/13 : WORKDIR /device-virtual-go [2022-08-31T00:43:17.337Z] ---> Running in 49712bec1ebd [2022-08-31T00:43:17.337Z] Removing intermediate container 49712bec1ebd [2022-08-31T00:43:17.337Z] ---> f57f2f9edfdf [2022-08-31T00:43:17.337Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:43:17.337Z] ---> Running in a0617f74d985 [2022-08-31T00:43:17.598Z] Removing intermediate container a0617f74d985 [2022-08-31T00:43:17.598Z] ---> 3d06e70878ee [2022-08-31T00:43:17.598Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:43:17.857Z] ---> Running in c797155f0259 [2022-08-31T00:43:18.427Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T00:43:19.365Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T00:43:19.625Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-31T00:43:19.625Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-31T00:43:19.625Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-31T00:43:19.885Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-31T00:43:19.885Z] Executing busybox-1.35.0-r13.trigger [2022-08-31T00:43:19.885Z] OK: 216 MiB in 55 packages [2022-08-31T00:43:21.269Z] Removing intermediate container c797155f0259 [2022-08-31T00:43:21.269Z] ---> 36e8b96393f9 [2022-08-31T00:43:21.269Z] Step 9/13 : COPY go.mod vendor* ./ [2022-08-31T00:43:21.529Z] ---> 84140bcb89c7 [2022-08-31T00:43:21.529Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:43:21.789Z] ---> Running in 9f8928baa943 [2022-08-31T00:44:00.802Z] Removing intermediate container 9f8928baa943 [2022-08-31T00:44:00.802Z] ---> 1a0b69a01e3a [2022-08-31T00:44:00.802Z] Step 11/13 : COPY . . [2022-08-31T00:44:00.802Z] ---> 0e3f26fd4017 [2022-08-31T00:44:00.802Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:44:00.802Z] ---> Running in 7831295b7f54 [2022-08-31T00:44:00.802Z] Removing intermediate container 7831295b7f54 [2022-08-31T00:44:00.802Z] ---> fbfbd539a69d [2022-08-31T00:44:00.802Z] Step 13/13 : RUN $MAKE [2022-08-31T00:44:00.802Z] ---> Running in 8f2a8e254022 [2022-08-31T00:44:00.802Z] noop [2022-08-31T00:44:00.802Z] Removing intermediate container 8f2a8e254022 [2022-08-31T00:44:00.802Z] ---> 3ff7a16fb2c7 [2022-08-31T00:44:00.802Z] Successfully built 3ff7a16fb2c7 [2022-08-31T00:44:00.802Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:44:01.132Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T00:44:01.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:44:01.256Z] prd-ubuntu20.04-docker-8c-8g-24151 does not seem to be running inside a container [2022-08-31T00:44:01.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T00:44:02.545Z] $ docker top a3cf884cb748bfba84266b87892ba83e17ac3e98a4f332c9b53f96ec648cb55e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:44:02.910Z] + go version [2022-08-31T00:44:02.910Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-31T00:44:02.923Z] $ docker stop --time=1 a3cf884cb748bfba84266b87892ba83e17ac3e98a4f332c9b53f96ec648cb55e [2022-08-31T00:44:04.755Z] $ docker rm -f a3cf884cb748bfba84266b87892ba83e17ac3e98a4f332c9b53f96ec648cb55e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:44:05.287Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T00:44:05.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:44:05.365Z] prd-ubuntu20.04-docker-8c-8g-24151 does not seem to be running inside a container [2022-08-31T00:44:05.403Z] $ 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-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-31T00:44:07.156Z] $ docker top 04bd5aad2a3b18f6dce3d86a1a5af68afae612d064cb818609df393c1b49a34f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:44:07.516Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-302 [Pipeline] fileExists [Pipeline] sh [2022-08-31T00:44:07.817Z] + make test [2022-08-31T00:44:07.818Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-31T00:44:08.386Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-31T00:44:18.364Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-31T00:44:18.364Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements [2022-08-31T00:44:24.966Z] 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." [2022-08-31T00:44:24.966Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T00:44:29.162Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T00:44:29.162Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T00:44:29.162Z] ./bin/test-attribution-txt.sh [2022-08-31T00:44:29.162Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-31T00:44:29.162Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-31T00:44:29.162Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-31T00:44:29.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T00:44:29.191Z] $ docker stop --time=1 04bd5aad2a3b18f6dce3d86a1a5af68afae612d064cb818609df393c1b49a34f [2022-08-31T00:44:35.041Z] $ docker rm -f 04bd5aad2a3b18f6dce3d86a1a5af68afae612d064cb818609df393c1b49a34f [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T00:44:35.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T00:44:35.632Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-31T00:44:36.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T00:44:36.358Z] + ls -al . [2022-08-31T00:44:36.358Z] total 192 [2022-08-31T00:44:36.358Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 00:44 . [2022-08-31T00:44:36.358Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:42 .. [2022-08-31T00:44:36.358Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:44 .git [2022-08-31T00:44:36.358Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:42 .github [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 00:42 .gitignore [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 00:42 .golangci.yml [2022-08-31T00:44:36.358Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:42 .semver [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 31 00:42 Attribution.txt [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 31 00:42 CHANGELOG.md [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 2034 Aug 31 00:42 Dockerfile [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 00:42 GOVERNANCE.md [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 00:42 Jenkinsfile [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 00:42 LICENSE [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 2457 Aug 31 00:42 Makefile [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 00:42 OWNERS.md [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 3578 Aug 31 00:42 README.md [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 00:42 VERSION [2022-08-31T00:44:36.358Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 00:42 bin [2022-08-31T00:44:36.358Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:42 cmd [2022-08-31T00:44:36.358Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 31 00:44 coverage.out [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 31 00:42 go.mod [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 31 00:42 go.sum [2022-08-31T00:44:36.358Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:42 internal [2022-08-31T00:44:36.358Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:42 snap [2022-08-31T00:44:36.358Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 00:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:44:37.031Z] + 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=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 --label arch=amd64 --label version=0.0.0 . [2022-08-31T00:44:37.031Z] Sending build context to Docker daemon 23.17MB [2022-08-31T00:44:37.031Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:44:37.031Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-31T00:44:37.031Z] ---> 3ff7a16fb2c7 [2022-08-31T00:44:37.031Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T00:44:37.981Z] ---> Running in 0d0acee04a35 [2022-08-31T00:44:38.241Z] Removing intermediate container 0d0acee04a35 [2022-08-31T00:44:38.241Z] ---> 2ffe91253acd [2022-08-31T00:44:38.241Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:44:38.816Z] ---> Running in 239e57978cec [2022-08-31T00:44:39.401Z] Removing intermediate container 239e57978cec [2022-08-31T00:44:39.401Z] ---> 380fbed517cf [2022-08-31T00:44:39.401Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:44:39.662Z] ---> Running in 4a38ad7bd6aa [2022-08-31T00:44:40.231Z] Removing intermediate container 4a38ad7bd6aa [2022-08-31T00:44:40.231Z] ---> eeb227073f0f [2022-08-31T00:44:40.231Z] Step 6/27 : WORKDIR /device-virtual-go [2022-08-31T00:44:40.231Z] ---> Running in 2528ca65dfd7 [2022-08-31T00:44:40.804Z] Removing intermediate container 2528ca65dfd7 [2022-08-31T00:44:40.804Z] ---> 01d164d27bee [2022-08-31T00:44:40.804Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:44:40.804Z] ---> Running in 0d82de0abca3 [2022-08-31T00:44:42.713Z] Removing intermediate container 0d82de0abca3 [2022-08-31T00:44:42.713Z] ---> a7bf83e79922 [2022-08-31T00:44:42.713Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:44:43.284Z] ---> Running in ea2eb35d8087 [2022-08-31T00:44:43.853Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T00:44:44.426Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T00:44:44.999Z] OK: 216 MiB in 55 packages [2022-08-31T00:44:46.401Z] Removing intermediate container ea2eb35d8087 [2022-08-31T00:44:46.401Z] ---> a77fee940c31 [2022-08-31T00:44:46.401Z] Step 9/27 : COPY go.mod vendor* ./ [2022-08-31T00:44:46.969Z] ---> 397a9c2a13fb [2022-08-31T00:44:46.969Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:44:47.556Z] ---> Running in 47857817a8b5 [2022-08-31T00:44:49.488Z] Removing intermediate container 47857817a8b5 [2022-08-31T00:44:49.489Z] ---> cac2fff2605e [2022-08-31T00:44:49.489Z] Step 11/27 : COPY . . [2022-08-31T00:44:50.870Z] ---> f194d06fca0c [2022-08-31T00:44:50.870Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:44:50.870Z] ---> Running in d9904977b9f6 [2022-08-31T00:44:51.439Z] Removing intermediate container d9904977b9f6 [2022-08-31T00:44:51.439Z] ---> aea6d4cfb2b9 [2022-08-31T00:44:51.439Z] Step 13/27 : RUN $MAKE [2022-08-31T00:44:51.439Z] ---> Running in a9dcba1dda75 [2022-08-31T00:44:52.011Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-08-31T00:44:53.345Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24155 in /w/workspace/foundry_device-virtual-go_PR-302 [Pipeline] { [Pipeline] ws [2022-08-31T00:44:53.357Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2022-08-31T00:44:53.399Z] The recommended git tool is: git [2022-08-31T00:45:00.569Z] using credential edgex-jenkins-ssh [2022-08-31T00:45:00.590Z] Cloning the remote Git repository [2022-08-31T00:45:00.664Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-08-31T00:45:00.772Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2022-08-31T00:45:00.919Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-31T00:45:00.920Z] > git --version # timeout=10 [2022-08-31T00:45:01.036Z] > git --version # 'git version 2.25.1' [2022-08-31T00:45:01.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T00:45:01.154Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T00:45:03.894Z] Merging remotes/origin/main commit eb73192e64f29d5b7509ef98fadefc4f8094ab1e into PR head commit b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [2022-08-31T00:45:04.128Z] Merge succeeded, producing b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [2022-08-31T00:45:04.129Z] Checking out Revision b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 (PR-302) [2022-08-31T00:45:03.264Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-31T00:45:03.281Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T00:45:03.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-31T00:45:03.347Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-31T00:45:03.349Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T00:45:03.364Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-31T00:45:03.918Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T00:45:03.938Z] > git checkout -f b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 # timeout=10 [2022-08-31T00:45:04.031Z] > git remote # timeout=10 [2022-08-31T00:45:04.050Z] > git config --get remote.origin.url # timeout=10 [2022-08-31T00:45:04.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T00:45:04.084Z] > git merge eb73192e64f29d5b7509ef98fadefc4f8094ab1e # timeout=10 [2022-08-31T00:45:04.110Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-31T00:45:04.140Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T00:45:04.162Z] > git checkout -f b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 # timeout=10 [2022-08-31T00:45:08.494Z] Commit message: "build: Add option to build Core/Support services with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T00:45:09.452Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-31T00:45:09.452Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T00:45:09.452Z] Dload Upload Total Spent Left Speed [2022-08-31T00:45:09.452Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2022-08-31T00:45:10.178Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-31T00:45:10.529Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-31T00:45:10.529Z] + sudo tee /etc/docker/daemon.new [2022-08-31T00:45:10.529Z] { [2022-08-31T00:45:10.529Z] "registry-mirrors": [ [2022-08-31T00:45:10.529Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-31T00:45:10.529Z] ], [2022-08-31T00:45:10.529Z] "bip": "10.250.0.254/24", [2022-08-31T00:45:10.529Z] "hosts": [ [2022-08-31T00:45:10.529Z] "tcp://0.0.0.0:5555", [2022-08-31T00:45:10.529Z] "unix:///var/run/docker.sock" [2022-08-31T00:45:10.529Z] ], [2022-08-31T00:45:10.529Z] "mtu": 1458, [2022-08-31T00:45:10.529Z] "selinux-enabled": true, [2022-08-31T00:45:10.529Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-31T00:45:10.529Z] } [Pipeline] sh [2022-08-31T00:45:10.886Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-31T00:45:11.230Z] + sudo service docker restart [2022-08-31T00:45:24.198Z] Removing intermediate container a9dcba1dda75 [2022-08-31T00:45:24.198Z] ---> 354500eb7e57 [2022-08-31T00:45:24.198Z] Step 14/27 : FROM alpine:3.16 [2022-08-31T00:45:24.198Z] 3.16: Pulling from library/alpine [2022-08-31T00:45:24.198Z] 213ec9aee27d: Pulling fs layer [2022-08-31T00:45:24.198Z] 213ec9aee27d: Download complete [2022-08-31T00:45:24.198Z] 213ec9aee27d: Pull complete [2022-08-31T00:45:24.198Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T00:45:24.198Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T00:45:24.198Z] ---> 9c6f07244728 [2022-08-31T00:45:24.198Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-31T00:45:24.198Z] ---> Running in 9d9da1b5418a [2022-08-31T00:45:24.198Z] Removing intermediate container 9d9da1b5418a [2022-08-31T00:45:24.198Z] ---> 639ed0176a07 [2022-08-31T00:45:24.198Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:45:24.198Z] ---> Running in 20f1907e8e56 [2022-08-31T00:45:24.776Z] Removing intermediate container 20f1907e8e56 [2022-08-31T00:45:24.776Z] ---> 6a510e299128 [2022-08-31T00:45:24.776Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T00:45:24.776Z] ---> Running in 914827e83617 [2022-08-31T00:45:25.352Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T00:45:25.924Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T00:45:26.498Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T00:45:26.498Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T00:45:26.498Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T00:45:26.760Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T00:45:26.760Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T00:45:26.760Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T00:45:27.025Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T00:45:27.025Z] OK: 8 MiB in 20 packages [2022-08-31T00:45:28.016Z] Removing intermediate container 914827e83617 [2022-08-31T00:45:28.016Z] ---> 42993d95d420 [2022-08-31T00:45:28.016Z] Step 18/27 : WORKDIR / [2022-08-31T00:45:28.016Z] ---> Running in 486f8cb8f8df [2022-08-31T00:45:29.471Z] Removing intermediate container 486f8cb8f8df [2022-08-31T00:45:29.471Z] ---> d167cb77e5af [2022-08-31T00:45:29.471Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T00:45:29.576Z] provisioning config files... [2022-08-31T00:45:29.602Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config988023151214495383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:45:29.968Z] ---> docker-login.sh [2022-08-31T00:45:29.968Z] nexus3.edgexfoundry.org:10001 [2022-08-31T00:45:30.416Z] ---> 2a6ed5efd447 [2022-08-31T00:45:30.416Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-31T00:45:30.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:45:30.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:45:30.840Z] Configure a credential helper to remove this warning. See [2022-08-31T00:45:30.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:45:30.840Z] [2022-08-31T00:45:30.840Z] Login Succeeded [2022-08-31T00:45:30.840Z] nexus3.edgexfoundry.org:10002 [2022-08-31T00:45:31.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:45:31.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:45:31.388Z] Configure a credential helper to remove this warning. See [2022-08-31T00:45:31.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:45:31.388Z] [2022-08-31T00:45:31.388Z] Login Succeeded [2022-08-31T00:45:31.389Z] nexus3.edgexfoundry.org:10003 [2022-08-31T00:45:31.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:45:31.819Z] ---> c76be7c0688f [2022-08-31T00:45:31.819Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-08-31T00:45:31.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:45:31.941Z] Configure a credential helper to remove this warning. See [2022-08-31T00:45:31.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:45:31.941Z] [2022-08-31T00:45:31.941Z] Login Succeeded [2022-08-31T00:45:31.941Z] nexus3.edgexfoundry.org:10004 [2022-08-31T00:45:32.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:45:32.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:45:32.492Z] Configure a credential helper to remove this warning. See [2022-08-31T00:45:32.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:45:32.492Z] [2022-08-31T00:45:32.492Z] Login Succeeded [2022-08-31T00:45:32.492Z] docker.io [2022-08-31T00:45:32.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:45:33.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:45:33.041Z] Configure a credential helper to remove this warning. See [2022-08-31T00:45:33.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:45:33.041Z] [2022-08-31T00:45:33.041Z] Login Succeeded [2022-08-31T00:45:33.041Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T00:45:33.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T00:45:33.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:45:33.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:45:33.691Z] ========================================================= [2022-08-31T00:45:33.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-31T00:45:33.691Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:45:34.098Z] + 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 . [2022-08-31T00:45:34.414Z] ---> 1d785b143853 [2022-08-31T00:45:34.414Z] Step 22/27 : EXPOSE 59900 [2022-08-31T00:45:34.715Z] Sending build context to Docker daemon 11.7MB [2022-08-31T00:45:34.715Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:45:34.715Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T00:45:34.715Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-31T00:45:34.715Z] b3c136eddcbf: Pulling fs layer [2022-08-31T00:45:34.715Z] c0a3192eca97: Pulling fs layer [2022-08-31T00:45:34.715Z] a050256f5b6f: Pulling fs layer [2022-08-31T00:45:34.715Z] 656be50a0ddc: Pulling fs layer [2022-08-31T00:45:34.715Z] 2bbca73fdf42: Pulling fs layer [2022-08-31T00:45:34.715Z] 46d945488cbd: Pulling fs layer [2022-08-31T00:45:34.715Z] 8a5474983e97: Pulling fs layer [2022-08-31T00:45:34.715Z] 329c88fbcd65: Pulling fs layer [2022-08-31T00:45:34.715Z] 2bbca73fdf42: Waiting [2022-08-31T00:45:34.715Z] 46d945488cbd: Waiting [2022-08-31T00:45:34.715Z] 8a5474983e97: Waiting [2022-08-31T00:45:34.715Z] 329c88fbcd65: Waiting [2022-08-31T00:45:34.715Z] 656be50a0ddc: Waiting [2022-08-31T00:45:34.715Z] a050256f5b6f: Verifying Checksum [2022-08-31T00:45:34.715Z] a050256f5b6f: Download complete [2022-08-31T00:45:34.715Z] c0a3192eca97: Verifying Checksum [2022-08-31T00:45:34.715Z] c0a3192eca97: Download complete [2022-08-31T00:45:34.715Z] 2bbca73fdf42: Verifying Checksum [2022-08-31T00:45:34.715Z] 2bbca73fdf42: Download complete [2022-08-31T00:45:35.004Z] 46d945488cbd: Verifying Checksum [2022-08-31T00:45:35.004Z] 46d945488cbd: Download complete [2022-08-31T00:45:35.004Z] b3c136eddcbf: Verifying Checksum [2022-08-31T00:45:35.004Z] b3c136eddcbf: Download complete [2022-08-31T00:45:35.107Z] ---> Running in ce2fb477acbd [2022-08-31T00:45:35.682Z] Removing intermediate container ce2fb477acbd [2022-08-31T00:45:35.682Z] ---> d8b6d8a06c1e [2022-08-31T00:45:35.682Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-08-31T00:45:35.943Z] ---> Running in 9690b6645fa4 [2022-08-31T00:45:36.008Z] b3c136eddcbf: Pull complete [2022-08-31T00:45:36.009Z] 329c88fbcd65: Verifying Checksum [2022-08-31T00:45:36.009Z] 329c88fbcd65: Download complete [2022-08-31T00:45:36.515Z] Removing intermediate container 9690b6645fa4 [2022-08-31T00:45:36.515Z] ---> a6590a526a02 [2022-08-31T00:45:36.515Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T00:45:36.610Z] c0a3192eca97: Pull complete [2022-08-31T00:45:36.776Z] ---> Running in 9d2cc9f51f2c [2022-08-31T00:45:36.884Z] a050256f5b6f: Pull complete [2022-08-31T00:45:37.039Z] Removing intermediate container 9d2cc9f51f2c [2022-08-31T00:45:37.039Z] ---> 3a2f43717065 [2022-08-31T00:45:37.039Z] Step 25/27 : LABEL arch=amd64 [2022-08-31T00:45:37.039Z] ---> Running in 661ddf8d0376 [2022-08-31T00:45:37.156Z] 8a5474983e97: Verifying Checksum [2022-08-31T00:45:37.156Z] 8a5474983e97: Download complete [2022-08-31T00:45:37.302Z] Removing intermediate container 661ddf8d0376 [2022-08-31T00:45:37.302Z] ---> d1483a7d794a [2022-08-31T00:45:37.302Z] Step 26/27 : LABEL git_sha=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [2022-08-31T00:45:37.302Z] ---> Running in fe6b00992c03 [2022-08-31T00:45:37.563Z] Removing intermediate container fe6b00992c03 [2022-08-31T00:45:37.563Z] ---> d1e4db80ca64 [2022-08-31T00:45:37.563Z] Step 27/27 : LABEL version=0.0.0 [2022-08-31T00:45:37.754Z] 656be50a0ddc: Verifying Checksum [2022-08-31T00:45:37.754Z] 656be50a0ddc: Download complete [2022-08-31T00:45:37.849Z] ---> Running in 83c2c6c293d3 [2022-08-31T00:45:38.419Z] Removing intermediate container 83c2c6c293d3 [2022-08-31T00:45:38.419Z] ---> 5f2fcbe1e8e9 [2022-08-31T00:45:38.419Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T00:45:38.419Z] Successfully built 5f2fcbe1e8e9 [2022-08-31T00:45:38.419Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:45:38.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:45:38.875Z] [2022-08-31T00:45:38.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:45:39.214Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:45:39.214Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-31T00:45:39.214Z] 5eb5b503b376: Pulling fs layer [2022-08-31T00:45:39.214Z] 5c69ac0246d0: Pulling fs layer [2022-08-31T00:45:39.214Z] ec43610c2a17: Pulling fs layer [2022-08-31T00:45:39.214Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-31T00:45:39.214Z] 33b1e0a273af: Pulling fs layer [2022-08-31T00:45:39.214Z] 5d3b04190fa2: Pulling fs layer [2022-08-31T00:45:39.214Z] 2f39f015ded8: Pulling fs layer [2022-08-31T00:45:39.214Z] 33b1e0a273af: Waiting [2022-08-31T00:45:39.214Z] 2f39f015ded8: Waiting [2022-08-31T00:45:39.214Z] 5d3b04190fa2: Waiting [2022-08-31T00:45:39.214Z] 3a2ae6a8a46f: Waiting [2022-08-31T00:45:39.214Z] 5c69ac0246d0: Download complete [2022-08-31T00:45:39.214Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-31T00:45:39.214Z] 3a2ae6a8a46f: Download complete [2022-08-31T00:45:39.474Z] 33b1e0a273af: Verifying Checksum [2022-08-31T00:45:39.474Z] 33b1e0a273af: Download complete [2022-08-31T00:45:39.474Z] ec43610c2a17: Verifying Checksum [2022-08-31T00:45:39.474Z] ec43610c2a17: Download complete [2022-08-31T00:45:39.474Z] 5d3b04190fa2: Download complete [2022-08-31T00:45:39.474Z] 5eb5b503b376: Verifying Checksum [2022-08-31T00:45:39.474Z] 5eb5b503b376: Download complete [2022-08-31T00:45:40.042Z] 2f39f015ded8: Download complete [2022-08-31T00:45:40.608Z] 5eb5b503b376: Pull complete [2022-08-31T00:45:40.867Z] 5c69ac0246d0: Pull complete [2022-08-31T00:45:41.435Z] ec43610c2a17: Pull complete [2022-08-31T00:45:41.435Z] 3a2ae6a8a46f: Pull complete [2022-08-31T00:45:41.710Z] 33b1e0a273af: Pull complete [2022-08-31T00:45:41.972Z] 5d3b04190fa2: Pull complete [2022-08-31T00:45:47.255Z] 2f39f015ded8: Pull complete [2022-08-31T00:45:47.255Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-31T00:45:47.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:45:47.255Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:45:47.359Z] prd-ubuntu20.04-docker-8c-8g-24151 does not seem to be running inside a container [2022-08-31T00:45:47.400Z] $ 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-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T00:45:50.159Z] 656be50a0ddc: Pull complete [2022-08-31T00:45:50.159Z] 2bbca73fdf42: Pull complete [2022-08-31T00:45:50.159Z] 46d945488cbd: Pull complete [2022-08-31T00:45:54.193Z] $ docker top f1f91d1e18a6bd4c12907aee51556718607eca1090285453005ae5b3052c222b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:45:54.594Z] ---> job-cost.sh [2022-08-31T00:45:54.594Z] lf-activate-venv: SKIPPING [2022-08-31T00:45:54.594Z] INFO: No Stack... [2022-08-31T00:45:54.854Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T00:45:55.424Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T00:45:55.716Z] + cat /w/workspace/foundry_device-virtual-go_PR-302/archives/cost.csv [2022-08-31T00:45:55.716Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T00:45:55.731Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] [2022-08-31T00:45:55.738Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] did not exist. Created. [2022-08-31T00:45:55.738Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T00:45:56.055Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-31T00:45:56.089Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T00:45:56.095Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T00:45:56.115Z] $ docker stop --time=1 f1f91d1e18a6bd4c12907aee51556718607eca1090285453005ae5b3052c222b [2022-08-31T00:45:56.886Z] 8a5474983e97: Pull complete [2022-08-31T00:45:57.633Z] $ docker rm -f f1f91d1e18a6bd4c12907aee51556718607eca1090285453005ae5b3052c222b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-31T00:45:58.324Z] 329c88fbcd65: Pull complete [2022-08-31T00:45:58.324Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-31T00:45:58.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-31T00:45:58.324Z] ---> ff4287adb874 [2022-08-31T00:45:58.324Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T00:45:58.923Z] ---> Running in b78f17ad9c09 [2022-08-31T00:45:59.201Z] Removing intermediate container b78f17ad9c09 [2022-08-31T00:45:59.201Z] ---> 8cd80c056acd [2022-08-31T00:45:59.201Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:45:59.479Z] ---> Running in 41aa2a9ce638 [2022-08-31T00:45:59.753Z] Removing intermediate container 41aa2a9ce638 [2022-08-31T00:45:59.753Z] ---> 4ba2f26c9746 [2022-08-31T00:45:59.753Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:45:59.753Z] ---> Running in 8e15325a52c6 [2022-08-31T00:46:00.032Z] Removing intermediate container 8e15325a52c6 [2022-08-31T00:46:00.032Z] ---> deb0e31ac0dd [2022-08-31T00:46:00.032Z] Step 6/13 : WORKDIR /device-virtual-go [2022-08-31T00:46:00.305Z] ---> Running in 46dc0e1931eb [2022-08-31T00:46:00.584Z] Removing intermediate container 46dc0e1931eb [2022-08-31T00:46:00.584Z] ---> c07f0e6cf9a2 [2022-08-31T00:46:00.584Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:46:00.584Z] ---> Running in 006cfe9718a7 [2022-08-31T00:46:04.006Z] Removing intermediate container 006cfe9718a7 [2022-08-31T00:46:04.006Z] ---> 17485b452075 [2022-08-31T00:46:04.006Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:46:04.006Z] ---> Running in cc8d6eaa40d8 [2022-08-31T00:46:04.990Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T00:46:05.970Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T00:46:06.948Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-31T00:46:06.948Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-31T00:46:06.948Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-31T00:46:07.223Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-31T00:46:07.499Z] Executing busybox-1.35.0-r13.trigger [2022-08-31T00:46:07.499Z] OK: 226 MiB in 55 packages [2022-08-31T00:46:08.358Z] Removing intermediate container cc8d6eaa40d8 [2022-08-31T00:46:08.358Z] ---> 41bc1fd57e96 [2022-08-31T00:46:08.358Z] Step 9/13 : COPY go.mod vendor* ./ [2022-08-31T00:46:08.959Z] ---> 934303abbd02 [2022-08-31T00:46:08.959Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:46:09.236Z] ---> Running in 482b1c2929ba [2022-08-31T00:47:05.815Z] Removing intermediate container 482b1c2929ba [2022-08-31T00:47:05.815Z] ---> b38a34f45889 [2022-08-31T00:47:05.815Z] Step 11/13 : COPY . . [2022-08-31T00:47:05.815Z] ---> 07b42245f38f [2022-08-31T00:47:05.815Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:47:05.815Z] ---> Running in 97b4278ddd28 [2022-08-31T00:47:05.816Z] Removing intermediate container 97b4278ddd28 [2022-08-31T00:47:05.816Z] ---> 6fd19611239b [2022-08-31T00:47:05.816Z] Step 13/13 : RUN $MAKE [2022-08-31T00:47:05.816Z] ---> Running in 767025c58846 [2022-08-31T00:47:05.816Z] noop [2022-08-31T00:47:05.816Z] Removing intermediate container 767025c58846 [2022-08-31T00:47:05.816Z] ---> 03ead7f3b724 [2022-08-31T00:47:05.816Z] Successfully built 03ead7f3b724 [2022-08-31T00:47:05.816Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:47:06.198Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T00:47:06.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:47:06.491Z] prd-ubuntu20.04-docker-arm64-4c-16g-24155 does not seem to be running inside a container [2022-08-31T00:47:06.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T00:47:08.041Z] $ docker top 4d98eb701957e486e5eb855237ac5a772519eb4eb783f3c43abf5f8cf16f7b08 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:47:08.980Z] + go version [2022-08-31T00:47:08.980Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-31T00:47:09.012Z] $ docker stop --time=1 4d98eb701957e486e5eb855237ac5a772519eb4eb783f3c43abf5f8cf16f7b08 [2022-08-31T00:47:10.726Z] $ docker rm -f 4d98eb701957e486e5eb855237ac5a772519eb4eb783f3c43abf5f8cf16f7b08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:47:11.376Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T00:47:11.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:47:11.646Z] prd-ubuntu20.04-docker-arm64-4c-16g-24155 does not seem to be running inside a container [2022-08-31T00:47:11.746Z] $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-31T00:47:13.131Z] $ docker top 64fa635d6fb4bc0b84b49dd5858190c30eb16a59f3be9533ab823b1484a46f02 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:47:14.069Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh [2022-08-31T00:47:14.758Z] + make test [2022-08-31T00:47:14.758Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-31T00:47:16.758Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-31T00:48:53.721Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-31T00:48:53.721Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.144s coverage: 65.7% of statements [2022-08-31T00:48:53.721Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-31T00:48:53.721Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T00:49:12.104Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T00:49:12.104Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T00:49:12.104Z] ./bin/test-attribution-txt.sh [2022-08-31T00:49:12.104Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-31T00:49:12.104Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-31T00:49:12.104Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-31T00:49:12.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T00:49:12.155Z] $ docker stop --time=1 64fa635d6fb4bc0b84b49dd5858190c30eb16a59f3be9533ab823b1484a46f02 [2022-08-31T00:49:14.073Z] $ docker rm -f 64fa635d6fb4bc0b84b49dd5858190c30eb16a59f3be9533ab823b1484a46f02 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T00:49:15.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T00:49:15.163Z] Warning: overwriting stash ‘coverage-report’ [2022-08-31T00:49:15.912Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T00:49:16.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T00:49:16.731Z] + ls -al . [2022-08-31T00:49:16.731Z] total 188 [2022-08-31T00:49:16.731Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:47 . [2022-08-31T00:49:16.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:45 .. [2022-08-31T00:49:16.731Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:45 .git [2022-08-31T00:49:16.731Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:45 .github [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 00:45 .gitignore [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 00:45 .golangci.yml [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 31 00:45 Attribution.txt [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 31 00:45 CHANGELOG.md [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 2034 Aug 31 00:45 Dockerfile [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 00:45 GOVERNANCE.md [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 00:45 Jenkinsfile [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 00:45 LICENSE [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 2457 Aug 31 00:45 Makefile [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 00:45 OWNERS.md [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 3578 Aug 31 00:45 README.md [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 00:42 VERSION [2022-08-31T00:49:16.731Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 00:45 bin [2022-08-31T00:49:16.731Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:45 cmd [2022-08-31T00:49:16.731Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 31 00:48 coverage.out [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 31 00:45 go.mod [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 31 00:45 go.sum [2022-08-31T00:49:16.731Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:45 internal [2022-08-31T00:49:16.731Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:45 snap [2022-08-31T00:49:16.731Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 00:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:49:17.112Z] + 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=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 --label arch=arm64 --label version=0.0.0 . [2022-08-31T00:49:17.777Z] Sending build context to Docker daemon 11.75MB [2022-08-31T00:49:17.777Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:49:17.777Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-31T00:49:17.777Z] ---> 03ead7f3b724 [2022-08-31T00:49:17.777Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T00:49:17.777Z] ---> Running in bc22c12b9950 [2022-08-31T00:49:18.403Z] Removing intermediate container bc22c12b9950 [2022-08-31T00:49:18.403Z] ---> b3b4eadf53b6 [2022-08-31T00:49:18.403Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:49:18.403Z] ---> Running in 3559a7a3ca26 [2022-08-31T00:49:18.686Z] Removing intermediate container 3559a7a3ca26 [2022-08-31T00:49:18.686Z] ---> 7cb9cbef98a9 [2022-08-31T00:49:18.686Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:49:18.963Z] ---> Running in 919f9c777ffc [2022-08-31T00:49:19.239Z] Removing intermediate container 919f9c777ffc [2022-08-31T00:49:19.239Z] ---> e80eeeab7a9b [2022-08-31T00:49:19.239Z] Step 6/27 : WORKDIR /device-virtual-go [2022-08-31T00:49:19.239Z] ---> Running in 51353d94ef7b [2022-08-31T00:49:19.520Z] Removing intermediate container 51353d94ef7b [2022-08-31T00:49:19.520Z] ---> e09a773af8dd [2022-08-31T00:49:19.520Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:49:19.798Z] ---> Running in 0424b413d8db [2022-08-31T00:49:21.785Z] Removing intermediate container 0424b413d8db [2022-08-31T00:49:21.785Z] ---> 4c6d13af3c69 [2022-08-31T00:49:21.785Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:49:21.785Z] ---> Running in fbf16533ce62 [2022-08-31T00:49:22.781Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T00:49:23.766Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T00:49:24.757Z] OK: 226 MiB in 55 packages [2022-08-31T00:49:25.360Z] Removing intermediate container fbf16533ce62 [2022-08-31T00:49:25.360Z] ---> b19a38bd0eb3 [2022-08-31T00:49:25.360Z] Step 9/27 : COPY go.mod vendor* ./ [2022-08-31T00:49:25.967Z] ---> 4e3c2cb563be [2022-08-31T00:49:25.967Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:49:26.249Z] ---> Running in b1889fa48bf4 [2022-08-31T00:49:28.244Z] Removing intermediate container b1889fa48bf4 [2022-08-31T00:49:28.244Z] ---> d1e93c4ca4af [2022-08-31T00:49:28.244Z] Step 11/27 : COPY . . [2022-08-31T00:49:29.687Z] ---> dd9f2a47edeb [2022-08-31T00:49:29.687Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:49:29.687Z] ---> Running in 3d48e4e9b034 [2022-08-31T00:49:29.965Z] Removing intermediate container 3d48e4e9b034 [2022-08-31T00:49:29.965Z] ---> 8e4c3d40607c [2022-08-31T00:49:29.965Z] Step 13/27 : RUN $MAKE [2022-08-31T00:49:29.965Z] ---> Running in 742d37661cff [2022-08-31T00:49:31.419Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-08-31T00:51:53.350Z] Removing intermediate container 742d37661cff [2022-08-31T00:51:53.350Z] ---> 12afd76bee8c [2022-08-31T00:51:53.350Z] Step 14/27 : FROM alpine:3.16 [2022-08-31T00:51:53.350Z] 3.16: Pulling from library/alpine [2022-08-31T00:51:53.350Z] 9b18e9b68314: Pulling fs layer [2022-08-31T00:51:53.350Z] 9b18e9b68314: Verifying Checksum [2022-08-31T00:51:53.350Z] 9b18e9b68314: Download complete [2022-08-31T00:51:53.350Z] 9b18e9b68314: Pull complete [2022-08-31T00:51:53.351Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T00:51:53.351Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T00:51:53.351Z] ---> a6215f271958 [2022-08-31T00:51:53.351Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-31T00:51:53.351Z] ---> Running in 59b06cb8c916 [2022-08-31T00:51:53.351Z] Removing intermediate container 59b06cb8c916 [2022-08-31T00:51:53.351Z] ---> 087acad4fecc [2022-08-31T00:51:53.351Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:51:53.351Z] ---> Running in ca712566604e [2022-08-31T00:51:53.351Z] Removing intermediate container ca712566604e [2022-08-31T00:51:53.351Z] ---> d27679474a32 [2022-08-31T00:51:53.351Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T00:51:53.351Z] ---> Running in e0c521fd4967 [2022-08-31T00:51:54.334Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T00:51:55.314Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T00:51:56.295Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T00:51:56.295Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T00:51:56.295Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T00:51:56.568Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T00:51:56.568Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T00:51:56.847Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T00:51:56.847Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T00:51:56.847Z] OK: 8 MiB in 20 packages [2022-08-31T00:51:57.830Z] Removing intermediate container e0c521fd4967 [2022-08-31T00:51:57.830Z] ---> 244dd536e533 [2022-08-31T00:51:57.830Z] Step 18/27 : WORKDIR / [2022-08-31T00:51:58.108Z] ---> Running in e25248b0724b [2022-08-31T00:51:58.381Z] Removing intermediate container e25248b0724b [2022-08-31T00:51:58.381Z] ---> 6b1fcb1391ab [2022-08-31T00:51:58.381Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-31T00:51:58.978Z] ---> 87dc7cf297b5 [2022-08-31T00:51:58.978Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-31T00:51:59.572Z] ---> 5a9c0e37c339 [2022-08-31T00:51:59.572Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-08-31T00:52:01.011Z] ---> 0fe3bd234164 [2022-08-31T00:52:01.011Z] Step 22/27 : EXPOSE 59900 [2022-08-31T00:52:01.011Z] ---> Running in 19a00eb8c4f2 [2022-08-31T00:52:01.284Z] Removing intermediate container 19a00eb8c4f2 [2022-08-31T00:52:01.284Z] ---> 1fca94621fc5 [2022-08-31T00:52:01.284Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-08-31T00:52:01.284Z] ---> Running in cccbce534682 [2022-08-31T00:52:01.886Z] Removing intermediate container cccbce534682 [2022-08-31T00:52:01.886Z] ---> e2252f115438 [2022-08-31T00:52:01.886Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T00:52:01.886Z] ---> Running in 59e7d3b70c6a [2022-08-31T00:52:02.158Z] Removing intermediate container 59e7d3b70c6a [2022-08-31T00:52:02.158Z] ---> 6c6ef04bf51d [2022-08-31T00:52:02.158Z] Step 25/27 : LABEL arch=arm64 [2022-08-31T00:52:02.158Z] ---> Running in 2983c89440e0 [2022-08-31T00:52:02.431Z] Removing intermediate container 2983c89440e0 [2022-08-31T00:52:02.431Z] ---> c38a2624bead [2022-08-31T00:52:02.431Z] Step 26/27 : LABEL git_sha=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [2022-08-31T00:52:02.431Z] ---> Running in b3892a073029 [2022-08-31T00:52:03.030Z] Removing intermediate container b3892a073029 [2022-08-31T00:52:03.030Z] ---> 1b150e3817a2 [2022-08-31T00:52:03.030Z] Step 27/27 : LABEL version=0.0.0 [2022-08-31T00:52:03.030Z] ---> Running in c6a350e1035f [2022-08-31T00:52:03.302Z] Removing intermediate container c6a350e1035f [2022-08-31T00:52:03.302Z] ---> dcf3641eb9b7 [2022-08-31T00:52:03.302Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T00:52:03.302Z] Successfully built dcf3641eb9b7 [2022-08-31T00:52:03.302Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:52:03.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T00:52:03.747Z] [2022-08-31T00:52:03.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:52:04.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T00:52:04.378Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-31T00:52:04.378Z] 8998bd30e6a1: Pulling fs layer [2022-08-31T00:52:04.378Z] 04944245beec: Pulling fs layer [2022-08-31T00:52:04.378Z] 699f458cf7ca: Pulling fs layer [2022-08-31T00:52:04.378Z] 765212b225bb: Pulling fs layer [2022-08-31T00:52:04.378Z] f23df028b6ca: Pulling fs layer [2022-08-31T00:52:04.378Z] d65c8cfc05b1: Pulling fs layer [2022-08-31T00:52:04.378Z] 2437ff75d9bd: Pulling fs layer [2022-08-31T00:52:04.378Z] f23df028b6ca: Waiting [2022-08-31T00:52:04.378Z] d65c8cfc05b1: Waiting [2022-08-31T00:52:04.378Z] 2437ff75d9bd: Waiting [2022-08-31T00:52:04.378Z] 765212b225bb: Waiting [2022-08-31T00:52:04.378Z] 04944245beec: Verifying Checksum [2022-08-31T00:52:04.378Z] 04944245beec: Download complete [2022-08-31T00:52:04.378Z] 765212b225bb: Download complete [2022-08-31T00:52:04.378Z] f23df028b6ca: Download complete [2022-08-31T00:52:04.378Z] d65c8cfc05b1: Verifying Checksum [2022-08-31T00:52:04.378Z] d65c8cfc05b1: Download complete [2022-08-31T00:52:04.654Z] 699f458cf7ca: Verifying Checksum [2022-08-31T00:52:04.654Z] 699f458cf7ca: Download complete [2022-08-31T00:52:04.924Z] 8998bd30e6a1: Verifying Checksum [2022-08-31T00:52:04.924Z] 8998bd30e6a1: Download complete [2022-08-31T00:52:07.564Z] 2437ff75d9bd: Verifying Checksum [2022-08-31T00:52:07.564Z] 2437ff75d9bd: Download complete [2022-08-31T00:52:09.004Z] 8998bd30e6a1: Pull complete [2022-08-31T00:52:09.601Z] 04944245beec: Pull complete [2022-08-31T00:52:11.033Z] 699f458cf7ca: Pull complete [2022-08-31T00:52:11.033Z] 765212b225bb: Pull complete [2022-08-31T00:52:12.010Z] f23df028b6ca: Pull complete [2022-08-31T00:52:12.010Z] d65c8cfc05b1: Pull complete [2022-08-31T00:52:27.085Z] 2437ff75d9bd: Pull complete [2022-08-31T00:52:27.085Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-31T00:52:27.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T00:52:27.085Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:52:27.337Z] prd-ubuntu20.04-docker-arm64-4c-16g-24155 does not seem to be running inside a container [2022-08-31T00:52:27.421Z] $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-31T00:52:30.201Z] $ docker top 039ecd5da69cf6a6873fb630747a330643df661c0671a1b9cb98320e38ea1e3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:52:31.123Z] ---> job-cost.sh [2022-08-31T00:52:31.123Z] lf-activate-venv: SKIPPING [2022-08-31T00:52:31.123Z] INFO: No Stack... [2022-08-31T00:52:31.395Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-31T00:52:32.370Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T00:52:33.024Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [2022-08-31T00:52:33.024Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T00:52:33.089Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] [2022-08-31T00:52:33.098Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] did not exist. Created. [2022-08-31T00:52:33.098Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T00:52:33.862Z] /w/workspace/device-virtual-go/3@tmp/durable-549ea444/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-31T00:52:34.588Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-31T00:52:34.617Z] Warning: overwriting stash ‘stack-cost’ [2022-08-31T00:52:34.680Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T00:52:34.688Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-302-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T00:52:34.710Z] $ docker stop --time=1 039ecd5da69cf6a6873fb630747a330643df661c0671a1b9cb98320e38ea1e3c [2022-08-31T00:52:36.225Z] $ docker rm -f 039ecd5da69cf6a6873fb630747a330643df661c0671a1b9cb98320e38ea1e3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-31T00:52:36.729Z] provisioning config files... [2022-08-31T00:52:36.738Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config5355355292262828516tmp [Pipeline] { [Pipeline] sh [2022-08-31T00:52:37.042Z] + set +x [2022-08-31T00:52:37.042Z] + + curl -s https://codecov.io/bash [2022-08-31T00:52:37.042Z] bash -s -- [2022-08-31T00:52:37.042Z] [2022-08-31T00:52:37.042Z] _____ _ [2022-08-31T00:52:37.042Z] / ____| | | [2022-08-31T00:52:37.042Z] | | ___ __| | ___ ___ _____ __ [2022-08-31T00:52:37.042Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-31T00:52:37.042Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-31T00:52:37.042Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-31T00:52:37.042Z] Bash-1.0.6 [2022-08-31T00:52:37.042Z] [2022-08-31T00:52:37.042Z] [2022-08-31T00:52:37.042Z] ==> git version 2.25.1 found [2022-08-31T00:52:37.042Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-31T00:52:37.042Z] Release-Date: 2020-01-08 [2022-08-31T00:52:37.042Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-31T00:52:37.042Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-31T00:52:37.042Z] ==> Jenkins CI detected. [2022-08-31T00:52:37.042Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-302 [2022-08-31T00:52:37.042Z] project root: . [2022-08-31T00:52:37.042Z] --> token set from env [2022-08-31T00:52:37.042Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-31T00:52:37.042Z] ==> Running gcov in . (disable via -X gcov) [2022-08-31T00:52:37.042Z] ==> Python coveragepy not found [2022-08-31T00:52:37.042Z] ==> Searching for coverage reports in: [2022-08-31T00:52:37.042Z] + . [2022-08-31T00:52:37.042Z] -> Found 1 reports [2022-08-31T00:52:37.042Z] ==> Detecting git/mercurial file structure [2022-08-31T00:52:37.042Z] ==> Reading reports [2022-08-31T00:52:37.042Z] + ./coverage.out bytes=44128 [2022-08-31T00:52:37.042Z] ==> Appending adjustments [2022-08-31T00:52:37.042Z] https://docs.codecov.io/docs/fixing-reports [2022-08-31T00:52:37.302Z] + Found adjustments [2022-08-31T00:52:37.302Z] ==> Gzipping contents [2022-08-31T00:52:37.302Z] 8.0K /tmp/codecov.r75mjm.gz [2022-08-31T00:52:37.302Z] ==> Uploading reports [2022-08-31T00:52:37.302Z] url: https://codecov.io [2022-08-31T00:52:37.302Z] query: branch=PR-302&commit=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-302%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=302&job=&cmd_args= [2022-08-31T00:52:37.302Z] -> Pinging Codecov [2022-08-31T00:52:37.302Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-302&commit=b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-302%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=302&job=&cmd_args= [2022-08-31T00:52:37.563Z] -> Uploading to [2022-08-31T00:52:37.563Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-31/5E52B4B073DB2E39498172D8E973AA87/b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761/9b5b6bc1-194f-4988-b65f-7625136f1493.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220831T005237Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7ffe7c92e5ec56e4b75758a8c954d0e88cd547037a0e710cf2e9ad291f14bdce [2022-08-31T00:52:37.563Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T00:52:37.563Z] Dload Upload Total Spent Left Speed [2022-08-31T00:52:37.822Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5481 0 0 100 5481 0 24689 --:--:-- --:--:-- --:--:-- 24578 100 5481 0 0 100 5481 0 22463 --:--:-- --:--:-- --:--:-- 22371 [2022-08-31T00:52:37.822Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b2c1e7d18900d329a1af7ed13cfa5fee5d0ad761 [Pipeline] } [2022-08-31T00:52:37.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-31T00:52:38.579Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-302/archives ] [2022-08-31T00:52:38.579Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-302/archives [2022-08-31T00:52:38.579Z] total 16 [2022-08-31T00:52:38.579Z] drwxr-xr-x 3 root root 4096 Aug 31 00:45 . [2022-08-31T00:52:38.579Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 00:45 .. [2022-08-31T00:52:38.579Z] drwxr-xr-x 2 root root 4096 Aug 31 00:45 cost [2022-08-31T00:52:38.579Z] -rw-r--r-- 1 root root 89 Aug 31 00:45 cost.csv [2022-08-31T00:52:38.579Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-302/archives [2022-08-31T00:52:38.579Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-302/archives [2022-08-31T00:52:38.579Z] total 16 [2022-08-31T00:52:38.579Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:45 . [2022-08-31T00:52:38.579Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 00:45 .. [2022-08-31T00:52:38.579Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 00:45 cost [2022-08-31T00:52:38.579Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 31 00:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:52:38.873Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:52:39.737Z] ---> package-listing.sh [2022-08-31T00:52:39.737Z] ++ facter osfamily [2022-08-31T00:52:39.737Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-31T00:52:39.998Z] + OS_FAMILY=debian [2022-08-31T00:52:39.998Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-302 [2022-08-31T00:52:39.998Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-31T00:52:39.998Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-31T00:52:39.998Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-31T00:52:39.998Z] + PACKAGES=/tmp/packages_start.txt [2022-08-31T00:52:39.998Z] + '[' /w/workspace/foundry_device-virtual-go_PR-302 ']' [2022-08-31T00:52:39.998Z] + PACKAGES=/tmp/packages_end.txt [2022-08-31T00:52:39.998Z] + case "${OS_FAMILY}" in [2022-08-31T00:52:39.998Z] + dpkg -l [2022-08-31T00:52:39.998Z] + grep '^ii' [2022-08-31T00:52:39.998Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-31T00:52:39.998Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-31T00:52:39.998Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-31T00:52:39.998Z] + '[' /w/workspace/foundry_device-virtual-go_PR-302 ']' [2022-08-31T00:52:39.998Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-302/archives/ [2022-08-31T00:52:39.998Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-302/archives/ [Pipeline] echo [2022-08-31T00:52:40.010Z] 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-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-31T00:52:40.291Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:52:40.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:52:40.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:52:40.944Z] prd-ubuntu20.04-docker-8c-8g-24151 does not seem to be running inside a container [2022-08-31T00:52:40.984Z] $ 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-302/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-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-31T00:52:41.178Z] $ docker top 50ebd21ad9131f91108d1af8ae1683fded6d23d9db4119ec58be27624896fff2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:52:41.527Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-31T00:52:41.814Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-31T00:52:42.102Z] + ls /var/log/sa-host [2022-08-31T00:52:42.102Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T00:52:42.177Z] provisioning config files... [2022-08-31T00:52:42.186Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config1121785591541114567tmp [Pipeline] { [Pipeline] echo [2022-08-31T00:52:42.202Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:52:42.482Z] ---> create-netrc.sh [Pipeline] } [2022-08-31T00:52:42.490Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:52:42.817Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-31T00:52:42.826Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:52:43.111Z] ---> sudo-logs.sh [2022-08-31T00:52:43.111Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-31T00:52:43.132Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:52:43.461Z] ---> job-cost.sh [2022-08-31T00:52:43.462Z] lf-activate-venv: SKIPPING [2022-08-31T00:52:43.462Z] DEBUG: total: 0.2199999988079071 [2022-08-31T00:52:43.462Z] INFO: Retrieving Stack Cost... [2022-08-31T00:52:43.726Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T00:52:44.324Z] INFO: Archiving Costs [Pipeline] echo [2022-08-31T00:52:44.339Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:52:44.626Z] ---> logs-deploy.sh [2022-08-31T00:52:44.626Z] lf-activate-venv: SKIPPING [2022-08-31T00:52:44.626Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-302/3 [2022-08-31T00:52:44.626Z] INFO: archiving workspace using pattern(s): [2022-08-31T00:52:45.571Z] Archives upload complete. [2022-08-31T00:52:45.833Z] INFO: archiving logs to Nexus [2022-08-31T00:52:46.403Z] ---> uname -a: [2022-08-31T00:52:46.403Z] Linux prd-ubuntu20-04-docker-8c-8g-24151 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-08-31T00:52:46.403Z] [2022-08-31T00:52:46.403Z] [2022-08-31T00:52:46.403Z] ---> lscpu: [2022-08-31T00:52:46.403Z] Architecture: x86_64 [2022-08-31T00:52:46.403Z] CPU op-mode(s): 32-bit, 64-bit [2022-08-31T00:52:46.403Z] Byte Order: Little Endian [2022-08-31T00:52:46.403Z] Address sizes: 40 bits physical, 48 bits virtual [2022-08-31T00:52:46.403Z] CPU(s): 8 [2022-08-31T00:52:46.403Z] On-line CPU(s) list: 0-7 [2022-08-31T00:52:46.403Z] Thread(s) per core: 1 [2022-08-31T00:52:46.403Z] Core(s) per socket: 1 [2022-08-31T00:52:46.403Z] Socket(s): 8 [2022-08-31T00:52:46.403Z] NUMA node(s): 1 [2022-08-31T00:52:46.403Z] Vendor ID: AuthenticAMD [2022-08-31T00:52:46.403Z] CPU family: 23 [2022-08-31T00:52:46.403Z] Model: 49 [2022-08-31T00:52:46.403Z] Model name: AMD EPYC-Rome Processor [2022-08-31T00:52:46.403Z] Stepping: 0 [2022-08-31T00:52:46.403Z] CPU MHz: 2800.002 [2022-08-31T00:52:46.403Z] BogoMIPS: 5600.00 [2022-08-31T00:52:46.403Z] Virtualization: AMD-V [2022-08-31T00:52:46.403Z] Hypervisor vendor: KVM [2022-08-31T00:52:46.403Z] Virtualization type: full [2022-08-31T00:52:46.403Z] L1d cache: 256 KiB [2022-08-31T00:52:46.403Z] L1i cache: 256 KiB [2022-08-31T00:52:46.403Z] L2 cache: 4 MiB [2022-08-31T00:52:46.403Z] L3 cache: 128 MiB [2022-08-31T00:52:46.403Z] NUMA node0 CPU(s): 0-7 [2022-08-31T00:52:46.403Z] Vulnerability Itlb multihit: Not affected [2022-08-31T00:52:46.403Z] Vulnerability L1tf: Not affected [2022-08-31T00:52:46.403Z] Vulnerability Mds: Not affected [2022-08-31T00:52:46.403Z] Vulnerability Meltdown: Not affected [2022-08-31T00:52:46.403Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-08-31T00:52:46.403Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-08-31T00:52:46.403Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-08-31T00:52:46.403Z] Vulnerability Srbds: Not affected [2022-08-31T00:52:46.403Z] Vulnerability Tsx async abort: Not affected [2022-08-31T00:52:46.403Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-08-31T00:52:46.403Z] [2022-08-31T00:52:46.403Z] [2022-08-31T00:52:46.403Z] ---> nproc: [2022-08-31T00:52:46.403Z] 8 [2022-08-31T00:52:46.403Z] [2022-08-31T00:52:46.403Z] [2022-08-31T00:52:46.403Z] ---> df -h: [2022-08-31T00:52:46.403Z] Filesystem Size Used Avail Use% Mounted on [2022-08-31T00:52:46.403Z] overlay 155G 11G 145G 7% / [2022-08-31T00:52:46.403Z] tmpfs 64M 0 64M 0% /dev [2022-08-31T00:52:46.403Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-08-31T00:52:46.403Z] shm 64M 0 64M 0% /dev/shm [2022-08-31T00:52:46.403Z] /dev/vda1 155G 11G 145G 7% /facter-os [2022-08-31T00:52:46.403Z] [2022-08-31T00:52:46.403Z]