Pull request #298 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 rather than 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc Obtained Jenkinsfile from 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 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-ssh12062643203032921963.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh680626814025495824.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-298/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-298/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8121243224177261873.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh7434495806524862053.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 8213865985cc96b4d65921cf96fa8a01761a1acb 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-298/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-298/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9528060012391046108.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 8213865985cc96b4d65921cf96fa8a01761a1acb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8213865985cc96b4d65921cf96fa8a01761a1acb # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.2" > 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 Running on prd-ubuntu20.04-docker-8c-8g-21921 in /w/workspace/foundry_device-virtual-go_PR-298 [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-298 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 into PR head commit 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc Merge succeeded, producing 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc Checking out Revision 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc (PR-298) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc # 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 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc # timeout=10 Commit message: "ci(snap): Test core22 base using local build action " > git rev-list --no-walk 3d16b16fd3536de56c541cc8150f1a33e519df7b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-04T07:53:57.881Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-04T07:53:57.965Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-04T07:53:57.978Z] ========================================================= [2022-08-04T07:53:57.978Z] EdgeX Global Pipelines Version Info [2022-08-04T07:53:57.978Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-04T07:53:58.755Z] ------------------- [2022-08-04T07:53:58.755Z] stable info: [2022-08-04T07:53:58.755Z] ------------------- [2022-08-04T07:53:58.755Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-04T07:53:58.755Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-04T07:53:58.755Z] Message: update stable to v1.0.238 [2022-08-04T07:53:59.327Z] ------------------- [2022-08-04T07:53:59.327Z] experimental info: [2022-08-04T07:53:59.327Z] ------------------- [2022-08-04T07:53:59.327Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-04T07:53:59.327Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-04T07:53:59.327Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-04T07:53:59.591Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-08-04T07:53:59.603Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-08-04T07:53:59.614Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-04T07:53:59.626Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-04T07:53:59.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-04T07:53:59.648Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-04T07:53:59.660Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-04T07:53:59.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-04T07:53:59.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-04T07:53:59.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-04T07:53:59.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-04T07:53:59.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-08-04T07:53:59.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-04T07:53:59.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-04T07:53:59.756Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-04T07:53:59.768Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-04T07:53:59.781Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-04T07:53:59.793Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-04T07:53:59.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-04T07:53:59.819Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-04T07:53:59.836Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-04T07:53:59.852Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-04T07:53:59.864Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-04T07:53:59.876Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-04T07:53:59.887Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-04T07:53:59.903Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-04T07:53:59.918Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-04T07:53:59.933Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-298 [Pipeline] echo [2022-08-04T07:53:59.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-298 [Pipeline] echo [2022-08-04T07:53:59.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-298 [Pipeline] echo [2022-08-04T07:53:59.971Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc [Pipeline] echo [2022-08-04T07:53:59.986Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35f1e8b [Pipeline] echo [2022-08-04T07:54:00.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-04T07:54:00.047Z] provisioning config files... [2022-08-04T07:54:00.062Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config2420405377095002189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T07:54:00.371Z] ---> docker-login.sh [2022-08-04T07:54:00.371Z] nexus3.edgexfoundry.org:10001 [2022-08-04T07:54:00.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:54:00.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:54:00.894Z] Configure a credential helper to remove this warning. See [2022-08-04T07:54:00.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:54:00.894Z] [2022-08-04T07:54:00.894Z] Login Succeeded [2022-08-04T07:54:00.894Z] nexus3.edgexfoundry.org:10002 [2022-08-04T07:54:00.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:54:00.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:54:00.894Z] Configure a credential helper to remove this warning. See [2022-08-04T07:54:00.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:54:00.894Z] [2022-08-04T07:54:00.894Z] Login Succeeded [2022-08-04T07:54:00.894Z] nexus3.edgexfoundry.org:10003 [2022-08-04T07:54:01.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:54:01.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:54:01.154Z] Configure a credential helper to remove this warning. See [2022-08-04T07:54:01.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:54:01.154Z] [2022-08-04T07:54:01.154Z] Login Succeeded [2022-08-04T07:54:01.154Z] nexus3.edgexfoundry.org:10004 [2022-08-04T07:54:01.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:54:01.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:54:01.154Z] Configure a credential helper to remove this warning. See [2022-08-04T07:54:01.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:54:01.154Z] [2022-08-04T07:54:01.154Z] Login Succeeded [2022-08-04T07:54:01.154Z] docker.io [2022-08-04T07:54:01.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:54:01.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:54:01.678Z] Configure a credential helper to remove this warning. See [2022-08-04T07:54:01.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:54:01.678Z] [2022-08-04T07:54:01.678Z] Login Succeeded [2022-08-04T07:54:01.678Z] ---> docker-login.sh ends [Pipeline] } [2022-08-04T07:54:01.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-04T07:54:02.068Z] + git rev-list -1 --merges 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc~1..35f1e8b1fe1f9f220bf916e15fcdce651bd822bc [Pipeline] echo [2022-08-04T07:54:02.111Z] -----------> git rev-list -1 --merges 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc~1..35f1e8b1fe1f9f220bf916e15fcdce651bd822bc 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc [false] [Pipeline] sh [2022-08-04T07:54:02.416Z] + git log --format=format:%s -1 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc [Pipeline] echo [2022-08-04T07:54:02.435Z] ========================================================= [2022-08-04T07:54:02.435Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-04T07:54:02.435Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-04T07:54:02.761Z] + git log --format=format:%s -1 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc [Pipeline] echo [2022-08-04T07:54:02.773Z] [semverPrep] GIT_COMMIT: 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc, Commit Message: ci(snap): Test core22 base using local build action [Pipeline] echo [2022-08-04T07:54:02.784Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-04T07:54:03.148Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-04T07:54:03.148Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-04T07:54:03.148Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-04T07:54:03.148Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-04T07:54:03.148Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-04T07:54:03.148Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-04T07:54:03.148Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T07:54:03.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T07:54:03.576Z] [2022-08-04T07:54:03.576Z] 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-04T07:54:03.874Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T07:54:03.874Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-04T07:54:03.874Z] b85a868b505f: Pulling fs layer [2022-08-04T07:54:03.874Z] e2be974225ed: Pulling fs layer [2022-08-04T07:54:03.874Z] 339a4e72a1f5: Pulling fs layer [2022-08-04T07:54:03.874Z] 988bab9f4d93: Pulling fs layer [2022-08-04T07:54:03.874Z] 1469e6f7b9e6: Pulling fs layer [2022-08-04T07:54:03.874Z] eaf3925da568: Pulling fs layer [2022-08-04T07:54:03.874Z] 988bab9f4d93: Waiting [2022-08-04T07:54:03.874Z] bab4dde63d76: Pulling fs layer [2022-08-04T07:54:03.874Z] bde34c3a00c8: Pulling fs layer [2022-08-04T07:54:03.874Z] b352a97aabf1: Pulling fs layer [2022-08-04T07:54:03.874Z] eaf3925da568: Waiting [2022-08-04T07:54:03.875Z] bab4dde63d76: Waiting [2022-08-04T07:54:03.875Z] bde34c3a00c8: Waiting [2022-08-04T07:54:03.875Z] 4872d77fe225: Pulling fs layer [2022-08-04T07:54:03.875Z] 5851b861e8e6: Pulling fs layer [2022-08-04T07:54:03.875Z] b352a97aabf1: Waiting [2022-08-04T07:54:03.875Z] 5851b861e8e6: Waiting [2022-08-04T07:54:03.875Z] 4872d77fe225: Waiting [2022-08-04T07:54:03.875Z] e2be974225ed: Verifying Checksum [2022-08-04T07:54:03.875Z] e2be974225ed: Download complete [2022-08-04T07:54:03.875Z] 988bab9f4d93: Verifying Checksum [2022-08-04T07:54:03.875Z] 988bab9f4d93: Download complete [2022-08-04T07:54:04.135Z] 1469e6f7b9e6: Verifying Checksum [2022-08-04T07:54:04.135Z] 1469e6f7b9e6: Download complete [2022-08-04T07:54:04.135Z] 339a4e72a1f5: Verifying Checksum [2022-08-04T07:54:04.135Z] 339a4e72a1f5: Download complete [2022-08-04T07:54:04.135Z] eaf3925da568: Verifying Checksum [2022-08-04T07:54:04.135Z] eaf3925da568: Download complete [2022-08-04T07:54:04.135Z] bde34c3a00c8: Verifying Checksum [2022-08-04T07:54:04.135Z] bde34c3a00c8: Download complete [2022-08-04T07:54:04.135Z] 4872d77fe225: Verifying Checksum [2022-08-04T07:54:04.135Z] 4872d77fe225: Download complete [2022-08-04T07:54:04.135Z] 5851b861e8e6: Verifying Checksum [2022-08-04T07:54:04.135Z] 5851b861e8e6: Download complete [2022-08-04T07:54:04.135Z] b85a868b505f: Verifying Checksum [2022-08-04T07:54:04.135Z] b85a868b505f: Download complete [2022-08-04T07:54:04.396Z] bab4dde63d76: Verifying Checksum [2022-08-04T07:54:04.396Z] bab4dde63d76: Download complete [2022-08-04T07:54:05.335Z] b85a868b505f: Pull complete [2022-08-04T07:54:05.597Z] e2be974225ed: Pull complete [2022-08-04T07:54:06.167Z] 339a4e72a1f5: Pull complete [2022-08-04T07:54:06.167Z] 988bab9f4d93: Pull complete [2022-08-04T07:54:06.427Z] 1469e6f7b9e6: Pull complete [2022-08-04T07:54:06.427Z] eaf3925da568: Pull complete [2022-08-04T07:54:08.334Z] bab4dde63d76: Pull complete [2022-08-04T07:54:08.334Z] bde34c3a00c8: Pull complete [2022-08-04T07:54:08.334Z] b352a97aabf1: Pull complete [2022-08-04T07:54:08.334Z] 4872d77fe225: Pull complete [2022-08-04T07:54:08.334Z] 5851b861e8e6: Pull complete [2022-08-04T07:54:08.334Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-04T07:54:08.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T07:54:08.595Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T07:54:08.736Z] prd-ubuntu20.04-docker-8c-8g-21921 does not seem to be running inside a container [2022-08-04T07:54:08.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-04T07:54:10.603Z] $ docker top d11844119d5bf64bac1e1c44438330bc5c9f326d66b909b3bfb7986058826937 -eo pid,comm [2022-08-04T07:54:10.660Z] 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-04T07:54:10.660Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-04T07:54:10.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-04T07:54:10.699Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-04T07:54:10.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-04T07:54:10.828Z] $ docker exec d11844119d5bf64bac1e1c44438330bc5c9f326d66b909b3bfb7986058826937 ssh-agent [2022-08-04T07:54:10.948Z] SSH_AUTH_SOCK=/tmp/ssh-UbKxHqhzOvBN/agent.34 [2022-08-04T07:54:10.948Z] SSH_AGENT_PID=40 [2022-08-04T07:54:10.953Z] Running ssh-add (command line suppressed) [2022-08-04T07:54:11.072Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_7950311175370023352.key (/w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_7950311175370023352.key) [2022-08-04T07:54:11.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-04T07:54:11.373Z] + git tag --points-at HEAD [Pipeline] } [2022-08-04T07:54:11.391Z] $ docker exec --env ******** --env ******** d11844119d5bf64bac1e1c44438330bc5c9f326d66b909b3bfb7986058826937 ssh-agent -k [2022-08-04T07:54:11.501Z] unset SSH_AUTH_SOCK; [2022-08-04T07:54:11.501Z] unset SSH_AGENT_PID; [2022-08-04T07:54:11.502Z] echo Agent pid 40 killed; [2022-08-04T07:54:11.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-04T07:54:11.543Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-04T07:54:11.543Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-04T07:54:11.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-04T07:54:11.676Z] $ docker exec d11844119d5bf64bac1e1c44438330bc5c9f326d66b909b3bfb7986058826937 ssh-agent [2022-08-04T07:54:11.788Z] SSH_AUTH_SOCK=/tmp/ssh-OTcl9yStdVEK/agent.73 [2022-08-04T07:54:11.788Z] SSH_AGENT_PID=79 [2022-08-04T07:54:11.793Z] Running ssh-add (command line suppressed) [2022-08-04T07:54:11.910Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_3852682198865356070.key (/w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_3852682198865356070.key) [2022-08-04T07:54:11.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-04T07:54:12.215Z] + git semver init [2022-08-04T07:54:12.477Z] 2022-08-04 07:54:12,394 [run_init] DEBUG init version:0.0.0 force:False [2022-08-04T07:54:12.477Z] 2022-08-04 07:54:12,395 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-298/.semver [2022-08-04T07:54:12.477Z] 2022-08-04 07:54:12,395 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-298/.semver [2022-08-04T07:54:12.477Z] 2022-08-04 07:54:12,396 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-298/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-298, universal_newlines=False, shell=None, istream=None) [2022-08-04T07:54:13.859Z] 2022-08-04 07:54:13,449 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-298/.git/info/exclude [2022-08-04T07:54:13.859Z] 2022-08-04 07:54:13,449 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-298/.semver/PR-298 with force:False [2022-08-04T07:54:13.859Z] 2022-08-04 07:54:13,449 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-298/.semver/PR-298 [2022-08-04T07:54:13.859Z] 2022-08-04 07:54:13,453 [execute] INFO git cat-file --batch-check [2022-08-04T07:54:13.859Z] 2022-08-04 07:54:13,453 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-298/.semver, universal_newlines=False, shell=None, istream=) [2022-08-04T07:54:13.859Z] 2022-08-04 07:54:13,458 [execute] INFO git cat-file --batch [2022-08-04T07:54:13.859Z] 2022-08-04 07:54:13,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-298/.semver, universal_newlines=False, shell=None, istream=) [2022-08-04T07:54:13.859Z] 2022-08-04 07:54:13,463 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-298/.semver/PR-298 [2022-08-04T07:54:13.859Z] 0.0.0 [Pipeline] } [2022-08-04T07:54:13.874Z] $ docker exec --env ******** --env ******** d11844119d5bf64bac1e1c44438330bc5c9f326d66b909b3bfb7986058826937 ssh-agent -k [2022-08-04T07:54:13.995Z] unset SSH_AUTH_SOCK; [2022-08-04T07:54:13.995Z] unset SSH_AGENT_PID; [2022-08-04T07:54:13.996Z] echo Agent pid 79 killed; [2022-08-04T07:54:14.004Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-04T07:54:14.322Z] + git semver [Pipeline] } [2022-08-04T07:54:14.600Z] $ docker stop --time=1 d11844119d5bf64bac1e1c44438330bc5c9f326d66b909b3bfb7986058826937 [2022-08-04T07:54:15.911Z] $ docker rm -f d11844119d5bf64bac1e1c44438330bc5c9f326d66b909b3bfb7986058826937 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-04T07:54:16.267Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-04T07:54:16.511Z] Stashed 1 file(s) [Pipeline] echo [2022-08-04T07:54:16.515Z] [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-04T07:54:16.697Z] provisioning config files... [2022-08-04T07:54:16.708Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config2135326566488488107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T07:54:17.011Z] ---> docker-login.sh [2022-08-04T07:54:17.011Z] nexus3.edgexfoundry.org:10001 [2022-08-04T07:54:17.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:54:17.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:54:17.011Z] Configure a credential helper to remove this warning. See [2022-08-04T07:54:17.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:54:17.011Z] [2022-08-04T07:54:17.011Z] Login Succeeded [2022-08-04T07:54:17.011Z] nexus3.edgexfoundry.org:10002 [2022-08-04T07:54:17.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:54:17.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:54:17.273Z] Configure a credential helper to remove this warning. See [2022-08-04T07:54:17.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:54:17.273Z] [2022-08-04T07:54:17.273Z] Login Succeeded [2022-08-04T07:54:17.273Z] nexus3.edgexfoundry.org:10003 [2022-08-04T07:54:17.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:54:17.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:54:17.273Z] Configure a credential helper to remove this warning. See [2022-08-04T07:54:17.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:54:17.273Z] [2022-08-04T07:54:17.273Z] Login Succeeded [2022-08-04T07:54:17.273Z] nexus3.edgexfoundry.org:10004 [2022-08-04T07:54:17.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:54:17.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:54:17.534Z] Configure a credential helper to remove this warning. See [2022-08-04T07:54:17.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:54:17.534Z] [2022-08-04T07:54:17.534Z] Login Succeeded [2022-08-04T07:54:17.534Z] docker.io [2022-08-04T07:54:17.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:54:17.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:54:17.797Z] Configure a credential helper to remove this warning. See [2022-08-04T07:54:17.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:54:17.797Z] [2022-08-04T07:54:17.797Z] Login Succeeded [2022-08-04T07:54:17.797Z] ---> docker-login.sh ends [Pipeline] } [2022-08-04T07:54:17.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-04T07:54:17.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T07:54:17.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T07:54:17.898Z] ========================================================= [2022-08-04T07:54:17.898Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-04T07:54:17.898Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T07:54:18.222Z] + 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-04T07:54:18.222Z] Sending build context to Docker daemon 23.1MB [2022-08-04T07:54:18.222Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T07:54:18.222Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-04T07:54:18.222Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-04T07:54:18.222Z] 2408cc74d12b: Pulling fs layer [2022-08-04T07:54:18.222Z] ea60b727a1ce: Pulling fs layer [2022-08-04T07:54:18.222Z] 30c4a7721957: Pulling fs layer [2022-08-04T07:54:18.222Z] 370296b7ddb6: Pulling fs layer [2022-08-04T07:54:18.222Z] 7c6cee850709: Pulling fs layer [2022-08-04T07:54:18.222Z] 39a5fcdaea64: Pulling fs layer [2022-08-04T07:54:18.222Z] d94ebbe4e438: Pulling fs layer [2022-08-04T07:54:18.222Z] bcfd1f05c69d: Pulling fs layer [2022-08-04T07:54:18.222Z] 59ccb84bbe0f: Pulling fs layer [2022-08-04T07:54:18.222Z] 370296b7ddb6: Waiting [2022-08-04T07:54:18.222Z] 7c6cee850709: Waiting [2022-08-04T07:54:18.222Z] d94ebbe4e438: Waiting [2022-08-04T07:54:18.222Z] 39a5fcdaea64: Waiting [2022-08-04T07:54:18.222Z] bcfd1f05c69d: Waiting [2022-08-04T07:54:18.222Z] 59ccb84bbe0f: Waiting [2022-08-04T07:54:18.487Z] 30c4a7721957: Verifying Checksum [2022-08-04T07:54:18.487Z] 30c4a7721957: Download complete [2022-08-04T07:54:18.487Z] ea60b727a1ce: Verifying Checksum [2022-08-04T07:54:18.487Z] ea60b727a1ce: Download complete [2022-08-04T07:54:18.487Z] 7c6cee850709: Verifying Checksum [2022-08-04T07:54:18.487Z] 7c6cee850709: Download complete [2022-08-04T07:54:18.487Z] 39a5fcdaea64: Verifying Checksum [2022-08-04T07:54:18.487Z] 39a5fcdaea64: Download complete [2022-08-04T07:54:18.487Z] 2408cc74d12b: Verifying Checksum [2022-08-04T07:54:18.487Z] 2408cc74d12b: Download complete [2022-08-04T07:54:18.487Z] d94ebbe4e438: Verifying Checksum [2022-08-04T07:54:18.487Z] d94ebbe4e438: Download complete [2022-08-04T07:54:18.487Z] 2408cc74d12b: Pull complete [2022-08-04T07:54:18.762Z] ea60b727a1ce: Pull complete [2022-08-04T07:54:18.762Z] 30c4a7721957: Pull complete [2022-08-04T07:54:19.348Z] 59ccb84bbe0f: Verifying Checksum [2022-08-04T07:54:19.348Z] 59ccb84bbe0f: Download complete [2022-08-04T07:54:19.348Z] 370296b7ddb6: Verifying Checksum [2022-08-04T07:54:19.348Z] 370296b7ddb6: Download complete [2022-08-04T07:54:19.348Z] bcfd1f05c69d: Verifying Checksum [2022-08-04T07:54:19.348Z] bcfd1f05c69d: Download complete [2022-08-04T07:54:22.641Z] 370296b7ddb6: Pull complete [2022-08-04T07:54:22.901Z] 7c6cee850709: Pull complete [2022-08-04T07:54:22.901Z] 39a5fcdaea64: Pull complete [2022-08-04T07:54:22.901Z] d94ebbe4e438: Pull complete [2022-08-04T07:54:24.806Z] bcfd1f05c69d: Pull complete [2022-08-04T07:54:25.381Z] 59ccb84bbe0f: Pull complete [2022-08-04T07:54:25.381Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-04T07:54:25.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-04T07:54:25.381Z] ---> a4fb48ad2a94 [2022-08-04T07:54:25.381Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T07:54:28.679Z] ---> Running in 22595d49c74a [2022-08-04T07:54:28.679Z] Removing intermediate container 22595d49c74a [2022-08-04T07:54:28.679Z] ---> 18c07afc3675 [2022-08-04T07:54:28.679Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T07:54:28.679Z] ---> Running in 017761cc7a9a [2022-08-04T07:54:28.679Z] Removing intermediate container 017761cc7a9a [2022-08-04T07:54:28.679Z] ---> 26b92f6f7dda [2022-08-04T07:54:28.679Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-04T07:54:28.679Z] ---> Running in 026aa094ade5 [2022-08-04T07:54:28.679Z] Removing intermediate container 026aa094ade5 [2022-08-04T07:54:28.679Z] ---> 0ee1cf06106a [2022-08-04T07:54:28.679Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T07:54:28.679Z] ---> Running in 4e550c64b9a7 [2022-08-04T07:54:28.938Z] Removing intermediate container 4e550c64b9a7 [2022-08-04T07:54:28.938Z] ---> 2183f478e81f [2022-08-04T07:54:28.938Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T07:54:28.938Z] ---> Running in 6f8f4da68557 [2022-08-04T07:54:29.199Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-04T07:54:30.583Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-04T07:54:30.583Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-04T07:54:30.842Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-04T07:54:30.842Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-04T07:54:30.842Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-04T07:54:31.103Z] Executing busybox-1.35.0-r13.trigger [2022-08-04T07:54:31.103Z] OK: 216 MiB in 55 packages [2022-08-04T07:54:31.362Z] Removing intermediate container 6f8f4da68557 [2022-08-04T07:54:31.362Z] ---> bb4a7ab45c19 [2022-08-04T07:54:31.362Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-04T07:54:31.621Z] ---> d9843d1a3dd5 [2022-08-04T07:54:31.621Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T07:54:31.621Z] ---> Running in 556c6cde4225 [2022-08-04T07:54:31.647Z] Still waiting to schedule task [2022-08-04T07:54:31.647Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-04T07:54:58.267Z] Removing intermediate container 556c6cde4225 [2022-08-04T07:54:58.268Z] ---> cce1a6c5e1b2 [2022-08-04T07:54:58.268Z] Step 10/12 : COPY . . [2022-08-04T07:54:58.268Z] ---> b74f7421ad93 [2022-08-04T07:54:58.268Z] Step 11/12 : ARG MAKE='make build' [2022-08-04T07:54:58.268Z] ---> Running in b7c871f2a101 [2022-08-04T07:54:58.268Z] Removing intermediate container b7c871f2a101 [2022-08-04T07:54:58.268Z] ---> 61208ffa615b [2022-08-04T07:54:58.268Z] Step 12/12 : RUN $MAKE [2022-08-04T07:54:58.268Z] ---> Running in eeb2eca3980f [2022-08-04T07:54:58.268Z] noop [2022-08-04T07:54:58.268Z] Removing intermediate container eeb2eca3980f [2022-08-04T07:54:58.268Z] ---> 0666819a7ea9 [2022-08-04T07:54:58.268Z] Successfully built 0666819a7ea9 [2022-08-04T07:54:58.268Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T07:54:58.607Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-04T07:54:58.607Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T07:54:58.702Z] prd-ubuntu20.04-docker-8c-8g-21921 does not seem to be running inside a container [2022-08-04T07:54:58.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@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-x86_64 cat [2022-08-04T07:54:59.129Z] $ docker top c984cf4ad1135879c688c64b5ad3f023008e117efca456a45f7d2a3af302546b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T07:54:59.496Z] + go version [2022-08-04T07:54:59.496Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-04T07:54:59.512Z] $ docker stop --time=1 c984cf4ad1135879c688c64b5ad3f023008e117efca456a45f7d2a3af302546b [2022-08-04T07:55:00.780Z] $ docker rm -f c984cf4ad1135879c688c64b5ad3f023008e117efca456a45f7d2a3af302546b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T07:55:01.209Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-04T07:55:01.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T07:55:01.310Z] prd-ubuntu20.04-docker-8c-8g-21921 does not seem to be running inside a container [2022-08-04T07:55:01.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@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-x86_64 cat [2022-08-04T07:55:01.726Z] $ docker top fec1f15d7e1252e588511da5483ee5a08df5af38f132a3e0aef768f4b2593200 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T07:55:02.082Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-298 [Pipeline] fileExists [Pipeline] sh [2022-08-04T07:55:02.387Z] + make test [2022-08-04T07:55:02.387Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-04T07:55:02.647Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-04T07:55:12.633Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-04T07:55:12.633Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements [2022-08-04T07:55:17.917Z] 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-04T07:55:17.917Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-04T07:55:21.209Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-04T07:55:21.209Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-04T07:55:21.209Z] ./bin/test-attribution-txt.sh [2022-08-04T07:55:21.209Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-04T07:55:21.209Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-04T07:55:21.209Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-04T07:55:21.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-04T07:55:21.240Z] $ docker stop --time=1 fec1f15d7e1252e588511da5483ee5a08df5af38f132a3e0aef768f4b2593200 [2022-08-04T07:55:23.185Z] $ docker rm -f fec1f15d7e1252e588511da5483ee5a08df5af38f132a3e0aef768f4b2593200 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-04T07:55:23.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-04T07:55:23.685Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-04T07:55:24.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-04T07:55:24.504Z] + ls -al . [2022-08-04T07:55:24.504Z] total 192 [2022-08-04T07:55:24.504Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 4 07:55 . [2022-08-04T07:55:24.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 07:53 .. [2022-08-04T07:55:24.504Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 07:55 .git [2022-08-04T07:55:24.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 07:53 .github [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 4 07:53 .gitignore [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 07:53 .golangci.yml [2022-08-04T07:55:24.504Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 07:54 .semver [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 4 07:53 Attribution.txt [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 4 07:53 CHANGELOG.md [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 4 07:53 Dockerfile [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 07:53 GOVERNANCE.md [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 4 07:53 Jenkinsfile [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 07:53 LICENSE [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 4 07:53 Makefile [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 4 07:53 OWNERS.md [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 4 07:53 README.md [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 07:54 VERSION [2022-08-04T07:55:24.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 07:53 bin [2022-08-04T07:55:24.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 07:53 cmd [2022-08-04T07:55:24.504Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 4 07:55 coverage.out [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 4 07:53 go.mod [2022-08-04T07:55:24.504Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 4 07:53 go.sum [2022-08-04T07:55:24.505Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 07:53 internal [2022-08-04T07:55:24.505Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 07:53 snap [2022-08-04T07:55:24.505Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 4 07:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T07:55:24.844Z] + 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=35f1e8b1fe1f9f220bf916e15fcdce651bd822bc --label arch=amd64 --label version=0.0.0 . [2022-08-04T07:55:24.844Z] Sending build context to Docker daemon 23.14MB [2022-08-04T07:55:24.844Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T07:55:24.844Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-04T07:55:24.844Z] ---> 0666819a7ea9 [2022-08-04T07:55:24.844Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T07:55:25.104Z] ---> Running in b90c124736be [2022-08-04T07:55:25.104Z] Removing intermediate container b90c124736be [2022-08-04T07:55:25.104Z] ---> 998a2d87dd93 [2022-08-04T07:55:25.104Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T07:55:25.104Z] ---> Running in 50e5f867c870 [2022-08-04T07:55:25.104Z] Removing intermediate container 50e5f867c870 [2022-08-04T07:55:25.104Z] ---> 3ec764911da0 [2022-08-04T07:55:25.104Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-04T07:55:25.104Z] ---> Running in 18e6be9e00cf [2022-08-04T07:55:25.364Z] Removing intermediate container 18e6be9e00cf [2022-08-04T07:55:25.364Z] ---> 74ab8d4ef373 [2022-08-04T07:55:25.364Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T07:55:25.364Z] ---> Running in d1064895f7db [2022-08-04T07:55:25.934Z] Removing intermediate container d1064895f7db [2022-08-04T07:55:25.934Z] ---> 68e3536b8154 [2022-08-04T07:55:25.934Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T07:55:25.934Z] ---> Running in bcae4e36f7c4 [2022-08-04T07:55:26.194Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-04T07:55:27.136Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-04T07:55:27.136Z] OK: 216 MiB in 55 packages [2022-08-04T07:55:27.707Z] Removing intermediate container bcae4e36f7c4 [2022-08-04T07:55:27.707Z] ---> 7ff845c72d46 [2022-08-04T07:55:27.707Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-04T07:55:27.707Z] ---> 14d8891e4f14 [2022-08-04T07:55:27.707Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T07:55:27.707Z] ---> Running in 0be761682713 [2022-08-04T07:55:28.279Z] Removing intermediate container 0be761682713 [2022-08-04T07:55:28.279Z] ---> 2c1b89f9e132 [2022-08-04T07:55:28.279Z] Step 10/26 : COPY . . [2022-08-04T07:55:28.943Z] ---> 660119923281 [2022-08-04T07:55:28.943Z] Step 11/26 : ARG MAKE='make build' [2022-08-04T07:55:28.943Z] ---> Running in 663a61d4ea54 [2022-08-04T07:55:28.943Z] Removing intermediate container 663a61d4ea54 [2022-08-04T07:55:28.943Z] ---> 4304d422f44f [2022-08-04T07:55:28.943Z] Step 12/26 : RUN $MAKE [2022-08-04T07:55:28.943Z] ---> Running in 4f22366b9cf7 [2022-08-04T07:55:29.204Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-08-04T07:55:51.151Z] Removing intermediate container 4f22366b9cf7 [2022-08-04T07:55:51.151Z] ---> cb947ce021b1 [2022-08-04T07:55:51.151Z] Step 13/26 : FROM alpine:3.16 [2022-08-04T07:55:51.151Z] 3.16: Pulling from library/alpine [2022-08-04T07:55:51.151Z] 530afca65e2e: Pulling fs layer [2022-08-04T07:55:51.151Z] 530afca65e2e: Verifying Checksum [2022-08-04T07:55:51.151Z] 530afca65e2e: Download complete [2022-08-04T07:55:51.151Z] 530afca65e2e: Pull complete [2022-08-04T07:55:51.151Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-04T07:55:51.151Z] Status: Downloaded newer image for alpine:3.16 [2022-08-04T07:55:51.151Z] ---> d7d3d98c851f [2022-08-04T07:55:51.151Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-04T07:55:51.151Z] ---> Running in fe40acb7b37d [2022-08-04T07:55:51.151Z] Removing intermediate container fe40acb7b37d [2022-08-04T07:55:51.151Z] ---> e9846e820fbb [2022-08-04T07:55:51.151Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T07:55:51.151Z] ---> Running in 24992a1fa849 [2022-08-04T07:55:51.151Z] Removing intermediate container 24992a1fa849 [2022-08-04T07:55:51.151Z] ---> 11cd6ef39bdd [2022-08-04T07:55:51.151Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-04T07:55:51.151Z] ---> Running in eed124085558 [2022-08-04T07:55:51.151Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-04T07:55:51.151Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-04T07:55:51.151Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-04T07:55:51.413Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-04T07:55:51.413Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-04T07:55:51.413Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-04T07:55:51.674Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-04T07:55:51.674Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-04T07:55:51.674Z] Executing busybox-1.35.0-r15.trigger [2022-08-04T07:55:51.934Z] OK: 8 MiB in 20 packages [2022-08-04T07:55:52.195Z] Removing intermediate container eed124085558 [2022-08-04T07:55:52.195Z] ---> a8aa7adf9475 [2022-08-04T07:55:52.195Z] Step 17/26 : WORKDIR / [2022-08-04T07:55:52.195Z] ---> Running in 87e22c24f2ae [2022-08-04T07:55:52.195Z] Removing intermediate container 87e22c24f2ae [2022-08-04T07:55:52.195Z] ---> d65b21e9aa70 [2022-08-04T07:55:52.195Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-04T07:55:52.456Z] ---> ffbad18104fa [2022-08-04T07:55:52.456Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-04T07:55:52.456Z] ---> 6c5a9ed29c19 [2022-08-04T07:55:52.456Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-04T07:55:53.025Z] ---> f4a6116814d8 [2022-08-04T07:55:53.025Z] Step 21/26 : EXPOSE 59900 [2022-08-04T07:55:53.025Z] ---> Running in 5511e67b80b1 [2022-08-04T07:55:53.288Z] Removing intermediate container 5511e67b80b1 [2022-08-04T07:55:53.288Z] ---> 40fa2680a22a [2022-08-04T07:55:53.288Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-04T07:55:53.288Z] ---> Running in d9b82b28aa71 [2022-08-04T07:55:53.288Z] Removing intermediate container d9b82b28aa71 [2022-08-04T07:55:53.288Z] ---> 60001f33b3c3 [2022-08-04T07:55:53.288Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-04T07:55:53.288Z] ---> Running in bd47e99ad181 [2022-08-04T07:55:53.288Z] Removing intermediate container bd47e99ad181 [2022-08-04T07:55:53.288Z] ---> 0d78f32bd234 [2022-08-04T07:55:53.288Z] Step 24/26 : LABEL arch=amd64 [2022-08-04T07:55:53.288Z] ---> Running in a597092264ae [2022-08-04T07:55:53.550Z] Removing intermediate container a597092264ae [2022-08-04T07:55:53.550Z] ---> b05beb2fa246 [2022-08-04T07:55:53.550Z] Step 25/26 : LABEL git_sha=35f1e8b1fe1f9f220bf916e15fcdce651bd822bc [2022-08-04T07:55:53.550Z] ---> Running in ee3f9f998b51 [2022-08-04T07:55:53.550Z] Removing intermediate container ee3f9f998b51 [2022-08-04T07:55:53.550Z] ---> 940e3a6395e6 [2022-08-04T07:55:53.550Z] Step 26/26 : LABEL version=0.0.0 [2022-08-04T07:55:53.550Z] ---> Running in eb26cbc0bb0b [2022-08-04T07:55:53.550Z] Removing intermediate container eb26cbc0bb0b [2022-08-04T07:55:53.550Z] ---> 45b2c0851355 [2022-08-04T07:55:53.550Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-04T07:55:53.811Z] Successfully built 45b2c0851355 [2022-08-04T07:55:53.811Z] 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-04T07:55:54.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T07:55:54.257Z] [2022-08-04T07:55:54.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T07:55:54.563Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T07:55:54.564Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-04T07:55:54.564Z] 5eb5b503b376: Pulling fs layer [2022-08-04T07:55:54.564Z] 5c69ac0246d0: Pulling fs layer [2022-08-04T07:55:54.564Z] ec43610c2a17: Pulling fs layer [2022-08-04T07:55:54.564Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-04T07:55:54.564Z] 33b1e0a273af: Pulling fs layer [2022-08-04T07:55:54.564Z] 5d3b04190fa2: Pulling fs layer [2022-08-04T07:55:54.564Z] 2f39f015ded8: Pulling fs layer [2022-08-04T07:55:54.564Z] 3a2ae6a8a46f: Waiting [2022-08-04T07:55:54.564Z] 33b1e0a273af: Waiting [2022-08-04T07:55:54.564Z] 5d3b04190fa2: Waiting [2022-08-04T07:55:54.564Z] 2f39f015ded8: Waiting [2022-08-04T07:55:54.564Z] 5c69ac0246d0: Verifying Checksum [2022-08-04T07:55:54.564Z] 5c69ac0246d0: Download complete [2022-08-04T07:55:54.564Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-04T07:55:54.564Z] 3a2ae6a8a46f: Download complete [2022-08-04T07:55:54.564Z] 33b1e0a273af: Verifying Checksum [2022-08-04T07:55:54.564Z] 33b1e0a273af: Download complete [2022-08-04T07:55:54.826Z] 5d3b04190fa2: Verifying Checksum [2022-08-04T07:55:54.826Z] 5d3b04190fa2: Download complete [2022-08-04T07:55:54.826Z] ec43610c2a17: Verifying Checksum [2022-08-04T07:55:54.826Z] ec43610c2a17: Download complete [2022-08-04T07:55:54.826Z] 5eb5b503b376: Verifying Checksum [2022-08-04T07:55:54.826Z] 5eb5b503b376: Download complete [2022-08-04T07:55:55.396Z] 2f39f015ded8: Download complete [2022-08-04T07:55:56.335Z] 5eb5b503b376: Pull complete [2022-08-04T07:55:56.336Z] 5c69ac0246d0: Pull complete [2022-08-04T07:55:56.595Z] ec43610c2a17: Pull complete [2022-08-04T07:55:56.855Z] 3a2ae6a8a46f: Pull complete [2022-08-04T07:55:56.855Z] 33b1e0a273af: Pull complete [2022-08-04T07:55:57.114Z] 5d3b04190fa2: Pull complete [2022-08-04T07:56:01.308Z] 2f39f015ded8: Pull complete [2022-08-04T07:56:01.308Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-04T07:56:01.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T07:56:01.308Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T07:56:01.401Z] prd-ubuntu20.04-docker-8c-8g-21921 does not seem to be running inside a container [2022-08-04T07:56:01.440Z] $ 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-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@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:latest cat [2022-08-04T07:56:04.221Z] $ docker top 865bdf49207befe695b200110d1a4c5a1b831dc57063831be647ab0e85a658b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T07:56:04.627Z] ---> job-cost.sh [2022-08-04T07:56:04.627Z] lf-activate-venv: SKIPPING [2022-08-04T07:56:04.627Z] INFO: No Stack... [2022-08-04T07:56:04.886Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-04T07:56:05.455Z] INFO: Archiving Costs [Pipeline] sh [2022-08-04T07:56:05.753Z] + cat /w/workspace/foundry_device-virtual-go_PR-298/archives/cost.csv [2022-08-04T07:56:05.753Z] + cut -d, -f6 [Pipeline] lock [2022-08-04T07:56:05.927Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-298-2-stack-cost] [2022-08-04T07:56:05.932Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-298-2-stack-cost] did not exist. Created. [2022-08-04T07:56:05.932Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-298-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-04T07:56:06.256Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-04T07:56:06.284Z] Stashed 1 file(s) [Pipeline] } [2022-08-04T07:56:06.290Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-298-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-04T07:56:06.311Z] $ docker stop --time=1 865bdf49207befe695b200110d1a4c5a1b831dc57063831be647ab0e85a658b0 [2022-08-04T07:56:07.455Z] $ docker rm -f 865bdf49207befe695b200110d1a4c5a1b831dc57063831be647ab0e85a658b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-04T07:56:07.863Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21922 in /w/workspace/foundry_device-virtual-go_PR-298 [Pipeline] { [Pipeline] ws [2022-08-04T07:56:07.874Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2022-08-04T07:56:07.913Z] The recommended git tool is: git [2022-08-04T07:56:14.060Z] using credential edgex-jenkins-ssh [2022-08-04T07:56:14.080Z] Cloning the remote Git repository [2022-08-04T07:56:14.137Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-08-04T07:56:14.216Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2022-08-04T07:56:14.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-04T07:56:14.406Z] > git --version # timeout=10 [2022-08-04T07:56:14.459Z] > git --version # 'git version 2.25.1' [2022-08-04T07:56:14.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-04T07:56:14.604Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-04T07:56:16.679Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-04T07:56:16.700Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-04T07:56:16.732Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-04T07:56:16.775Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-04T07:56:16.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-04T07:56:16.789Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/298/head:refs/remotes/origin/PR-298 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-04T07:56:17.342Z] Merging remotes/origin/main commit 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 into PR head commit 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc [2022-08-04T07:56:17.571Z] Merge succeeded, producing 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc [2022-08-04T07:56:17.572Z] Checking out Revision 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc (PR-298) [2022-08-04T07:56:17.365Z] > git config core.sparsecheckout # timeout=10 [2022-08-04T07:56:17.391Z] > git checkout -f 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc # timeout=10 [2022-08-04T07:56:17.480Z] > git remote # timeout=10 [2022-08-04T07:56:17.498Z] > git config --get remote.origin.url # timeout=10 [2022-08-04T07:56:17.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-04T07:56:17.527Z] > git merge 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 # timeout=10 [2022-08-04T07:56:17.554Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-04T07:56:17.583Z] > git config core.sparsecheckout # timeout=10 [2022-08-04T07:56:17.596Z] > git checkout -f 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc # timeout=10 [2022-08-04T07:56:21.807Z] Commit message: "ci(snap): Test core22 base using local build action " [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-04T07:56:22.744Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-04T07:56:22.744Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-04T07:56:22.744Z] Dload Upload Total Spent Left Speed [2022-08-04T07:56:22.744Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 88719 0 --:--:-- --:--:-- --:--:-- 88719 [Pipeline] sh [2022-08-04T07:56:23.534Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-04T07:56:23.886Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-08-04T07:56:23.886Z] /etc/docker/daemon.new [2022-08-04T07:56:23.886Z] { [2022-08-04T07:56:23.886Z] "registry-mirrors": [ [2022-08-04T07:56:23.886Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-04T07:56:23.886Z] ], [2022-08-04T07:56:23.886Z] "bip": "10.250.0.254/24", [2022-08-04T07:56:23.886Z] "hosts": [ [2022-08-04T07:56:23.886Z] "tcp://0.0.0.0:5555", [2022-08-04T07:56:23.886Z] "unix:///var/run/docker.sock" [2022-08-04T07:56:23.886Z] ], [2022-08-04T07:56:23.886Z] "mtu": 1458, [2022-08-04T07:56:23.886Z] "selinux-enabled": true, [2022-08-04T07:56:23.886Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-04T07:56:23.886Z] } [Pipeline] sh [2022-08-04T07:56:24.230Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-04T07:56:24.576Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-04T07:56:42.921Z] provisioning config files... [2022-08-04T07:56:42.945Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3577395125704336366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T07:56:43.519Z] ---> docker-login.sh [2022-08-04T07:56:43.519Z] nexus3.edgexfoundry.org:10001 [2022-08-04T07:56:44.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:56:44.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:56:44.398Z] Configure a credential helper to remove this warning. See [2022-08-04T07:56:44.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:56:44.398Z] [2022-08-04T07:56:44.398Z] Login Succeeded [2022-08-04T07:56:44.398Z] nexus3.edgexfoundry.org:10002 [2022-08-04T07:56:44.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:56:44.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:56:44.948Z] Configure a credential helper to remove this warning. See [2022-08-04T07:56:44.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:56:44.948Z] [2022-08-04T07:56:44.948Z] Login Succeeded [2022-08-04T07:56:44.948Z] nexus3.edgexfoundry.org:10003 [2022-08-04T07:56:45.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:56:45.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:56:45.509Z] Configure a credential helper to remove this warning. See [2022-08-04T07:56:45.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:56:45.509Z] [2022-08-04T07:56:45.509Z] Login Succeeded [2022-08-04T07:56:45.509Z] nexus3.edgexfoundry.org:10004 [2022-08-04T07:56:45.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:56:45.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:56:45.785Z] Configure a credential helper to remove this warning. See [2022-08-04T07:56:45.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:56:45.785Z] [2022-08-04T07:56:45.785Z] Login Succeeded [2022-08-04T07:56:45.785Z] docker.io [2022-08-04T07:56:46.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T07:56:46.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T07:56:46.659Z] Configure a credential helper to remove this warning. See [2022-08-04T07:56:46.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T07:56:46.659Z] [2022-08-04T07:56:46.659Z] Login Succeeded [2022-08-04T07:56:46.659Z] ---> docker-login.sh ends [Pipeline] } [2022-08-04T07:56:46.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-04T07:56:46.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T07:56:46.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T07:56:46.983Z] ========================================================= [2022-08-04T07:56:46.983Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-04T07:56:46.983Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T07:56:47.372Z] + 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-04T07:56:47.995Z] Sending build context to Docker daemon 11.69MB [2022-08-04T07:56:47.995Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T07:56:47.995Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-04T07:56:47.995Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-04T07:56:47.995Z] b3c136eddcbf: Pulling fs layer [2022-08-04T07:56:47.995Z] c0a3192eca97: Pulling fs layer [2022-08-04T07:56:47.995Z] a050256f5b6f: Pulling fs layer [2022-08-04T07:56:47.995Z] 656be50a0ddc: Pulling fs layer [2022-08-04T07:56:47.995Z] 2bbca73fdf42: Pulling fs layer [2022-08-04T07:56:47.995Z] 46d945488cbd: Pulling fs layer [2022-08-04T07:56:47.995Z] 8a5474983e97: Pulling fs layer [2022-08-04T07:56:47.995Z] 329c88fbcd65: Pulling fs layer [2022-08-04T07:56:47.995Z] 656be50a0ddc: Waiting [2022-08-04T07:56:47.995Z] 2bbca73fdf42: Waiting [2022-08-04T07:56:47.995Z] 46d945488cbd: Waiting [2022-08-04T07:56:47.995Z] 8a5474983e97: Waiting [2022-08-04T07:56:47.995Z] 329c88fbcd65: Waiting [2022-08-04T07:56:47.995Z] a050256f5b6f: Verifying Checksum [2022-08-04T07:56:47.995Z] a050256f5b6f: Download complete [2022-08-04T07:56:47.995Z] c0a3192eca97: Download complete [2022-08-04T07:56:47.995Z] 2bbca73fdf42: Verifying Checksum [2022-08-04T07:56:47.995Z] 2bbca73fdf42: Download complete [2022-08-04T07:56:47.995Z] 46d945488cbd: Verifying Checksum [2022-08-04T07:56:47.995Z] 46d945488cbd: Download complete [2022-08-04T07:56:47.995Z] b3c136eddcbf: Download complete [2022-08-04T07:56:48.999Z] b3c136eddcbf: Pull complete [2022-08-04T07:56:49.279Z] 329c88fbcd65: Verifying Checksum [2022-08-04T07:56:49.279Z] 329c88fbcd65: Download complete [2022-08-04T07:56:49.558Z] c0a3192eca97: Pull complete [2022-08-04T07:56:49.833Z] a050256f5b6f: Pull complete [2022-08-04T07:56:50.429Z] 8a5474983e97: Verifying Checksum [2022-08-04T07:56:50.429Z] 8a5474983e97: Download complete [2022-08-04T07:56:51.027Z] 656be50a0ddc: Verifying Checksum [2022-08-04T07:56:51.027Z] 656be50a0ddc: Download complete [2022-08-04T07:57:06.153Z] 656be50a0ddc: Pull complete [2022-08-04T07:57:06.153Z] 2bbca73fdf42: Pull complete [2022-08-04T07:57:06.153Z] 46d945488cbd: Pull complete [2022-08-04T07:57:10.466Z] 8a5474983e97: Pull complete [2022-08-04T07:57:13.100Z] 329c88fbcd65: Pull complete [2022-08-04T07:57:13.100Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-04T07:57:13.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-04T07:57:13.100Z] ---> ff4287adb874 [2022-08-04T07:57:13.100Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T07:57:13.712Z] ---> Running in a8e94a445773 [2022-08-04T07:57:14.698Z] Removing intermediate container a8e94a445773 [2022-08-04T07:57:14.698Z] ---> dc17252771dc [2022-08-04T07:57:14.698Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T07:57:14.698Z] ---> Running in 94f82362fc6a [2022-08-04T07:57:14.976Z] Removing intermediate container 94f82362fc6a [2022-08-04T07:57:14.976Z] ---> a9d431324b08 [2022-08-04T07:57:14.976Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-04T07:57:15.255Z] ---> Running in 781d8f21c820 [2022-08-04T07:57:15.528Z] Removing intermediate container 781d8f21c820 [2022-08-04T07:57:15.528Z] ---> a30a4dc9c5ae [2022-08-04T07:57:15.528Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T07:57:15.528Z] ---> Running in 531e23d51d9c [2022-08-04T07:57:17.508Z] Removing intermediate container 531e23d51d9c [2022-08-04T07:57:17.508Z] ---> d4628a7b06e1 [2022-08-04T07:57:17.508Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T07:57:17.508Z] ---> Running in ac9079eb8214 [2022-08-04T07:57:18.490Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-04T07:57:19.086Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-04T07:57:20.066Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-04T07:57:20.066Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-04T07:57:20.337Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-04T07:57:20.337Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-04T07:57:20.612Z] Executing busybox-1.35.0-r13.trigger [2022-08-04T07:57:20.612Z] OK: 226 MiB in 55 packages [2022-08-04T07:57:21.609Z] Removing intermediate container ac9079eb8214 [2022-08-04T07:57:21.609Z] ---> 28784167101f [2022-08-04T07:57:21.609Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-04T07:57:22.214Z] ---> b49c9bba8765 [2022-08-04T07:57:22.214Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T07:57:22.214Z] ---> Running in b2b9efd79339 [2022-08-04T07:58:09.224Z] Removing intermediate container b2b9efd79339 [2022-08-04T07:58:09.224Z] ---> 4a4bda212e62 [2022-08-04T07:58:09.224Z] Step 10/12 : COPY . . [2022-08-04T07:58:09.224Z] ---> df04c9214975 [2022-08-04T07:58:09.224Z] Step 11/12 : ARG MAKE='make build' [2022-08-04T07:58:09.224Z] ---> Running in d7b917ae1abe [2022-08-04T07:58:09.497Z] Removing intermediate container d7b917ae1abe [2022-08-04T07:58:09.497Z] ---> fd713821a3dc [2022-08-04T07:58:09.497Z] Step 12/12 : RUN $MAKE [2022-08-04T07:58:09.783Z] ---> Running in 46f1f1678e4c [2022-08-04T07:58:10.773Z] noop [2022-08-04T07:58:11.377Z] Removing intermediate container 46f1f1678e4c [2022-08-04T07:58:11.377Z] ---> cf96b3a85df8 [2022-08-04T07:58:11.377Z] Successfully built cf96b3a85df8 [2022-08-04T07:58:11.377Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T07:58:11.749Z] + docker inspect -f . ci-base-image-arm64 [2022-08-04T07:58:11.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T07:58:12.004Z] prd-ubuntu20.04-docker-arm64-4c-16g-21922 does not seem to be running inside a container [2022-08-04T07:58:12.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-04T07:58:13.387Z] $ docker top 1dc543d373e0c208d44dda0600b4ced3ad0fc6227118786289fbf58cb647fb9e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T07:58:14.291Z] + go version [2022-08-04T07:58:14.291Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-04T07:58:14.321Z] $ docker stop --time=1 1dc543d373e0c208d44dda0600b4ced3ad0fc6227118786289fbf58cb647fb9e [2022-08-04T07:58:15.995Z] $ docker rm -f 1dc543d373e0c208d44dda0600b4ced3ad0fc6227118786289fbf58cb647fb9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T07:58:16.638Z] + docker inspect -f . ci-base-image-arm64 [2022-08-04T07:58:16.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T07:58:16.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-21922 does not seem to be running inside a container [2022-08-04T07:58:16.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-04T07:58:18.255Z] $ docker top 86480436e0fc07a124ef947968b1289ac7c3eada6f26fb313acc2f257abec0bb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T07:58:19.196Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2022-08-04T07:58:19.874Z] + make test [2022-08-04T07:58:19.874Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-04T07:58:21.319Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-04T07:59:43.195Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-04T07:59:43.195Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.128s coverage: 65.7% of statements [2022-08-04T07:59:43.195Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-04T07:59:43.195Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-04T07:59:58.361Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-04T07:59:58.361Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-04T07:59:58.361Z] ./bin/test-attribution-txt.sh [2022-08-04T07:59:58.361Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-04T07:59:58.361Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-04T07:59:58.361Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-04T07:59:58.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-04T07:59:58.406Z] $ docker stop --time=1 86480436e0fc07a124ef947968b1289ac7c3eada6f26fb313acc2f257abec0bb [2022-08-04T08:00:00.184Z] $ docker rm -f 86480436e0fc07a124ef947968b1289ac7c3eada6f26fb313acc2f257abec0bb [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-04T08:00:01.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-04T08:00:01.129Z] Warning: overwriting stash ‘coverage-report’ [2022-08-04T08:00:01.636Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-04T08:00:02.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-04T08:00:02.400Z] + ls -al . [2022-08-04T08:00:02.400Z] total 188 [2022-08-04T08:00:02.401Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 07:58 . [2022-08-04T08:00:02.401Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 07:56 .. [2022-08-04T08:00:02.401Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 07:56 .git [2022-08-04T08:00:02.401Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 07:56 .github [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 4 07:56 .gitignore [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 07:56 .golangci.yml [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 4 07:56 Attribution.txt [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 4 07:56 CHANGELOG.md [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 4 07:56 Dockerfile [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 07:56 GOVERNANCE.md [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 4 07:56 Jenkinsfile [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 07:56 LICENSE [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 4 07:56 Makefile [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 4 07:56 OWNERS.md [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 4 07:56 README.md [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 07:54 VERSION [2022-08-04T08:00:02.401Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 07:56 bin [2022-08-04T08:00:02.401Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 07:56 cmd [2022-08-04T08:00:02.401Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 4 07:59 coverage.out [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 4 07:56 go.mod [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 4 07:56 go.sum [2022-08-04T08:00:02.401Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 07:56 internal [2022-08-04T08:00:02.401Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 07:56 snap [2022-08-04T08:00:02.401Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 4 07:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T08:00:02.761Z] + 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=35f1e8b1fe1f9f220bf916e15fcdce651bd822bc --label arch=arm64 --label version=0.0.0 . [2022-08-04T08:00:03.038Z] Sending build context to Docker daemon 11.73MB [2022-08-04T08:00:03.320Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T08:00:03.320Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-04T08:00:03.320Z] ---> cf96b3a85df8 [2022-08-04T08:00:03.320Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T08:00:03.320Z] ---> Running in 133d421fb583 [2022-08-04T08:00:03.594Z] Removing intermediate container 133d421fb583 [2022-08-04T08:00:03.594Z] ---> 3d48565a0947 [2022-08-04T08:00:03.594Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T08:00:03.594Z] ---> Running in 5b210ab3550e [2022-08-04T08:00:04.189Z] Removing intermediate container 5b210ab3550e [2022-08-04T08:00:04.189Z] ---> 414dbc587ecb [2022-08-04T08:00:04.189Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-04T08:00:04.189Z] ---> Running in 694c780cada6 [2022-08-04T08:00:04.467Z] Removing intermediate container 694c780cada6 [2022-08-04T08:00:04.467Z] ---> 6d5eb45f79d7 [2022-08-04T08:00:04.467Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T08:00:04.467Z] ---> Running in 75866cf769d3 [2022-08-04T08:00:06.446Z] Removing intermediate container 75866cf769d3 [2022-08-04T08:00:06.446Z] ---> 52fa0c9af9b0 [2022-08-04T08:00:06.447Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T08:00:06.447Z] ---> Running in 6bca33264fbf [2022-08-04T08:00:07.426Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-04T08:00:08.404Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-04T08:00:09.001Z] OK: 226 MiB in 55 packages [2022-08-04T08:00:09.985Z] Removing intermediate container 6bca33264fbf [2022-08-04T08:00:09.985Z] ---> 48804bbdcdc8 [2022-08-04T08:00:09.985Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-04T08:00:10.259Z] ---> 84e39578b90c [2022-08-04T08:00:10.259Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T08:00:10.534Z] ---> Running in c9cd125c4723 [2022-08-04T08:00:12.529Z] Removing intermediate container c9cd125c4723 [2022-08-04T08:00:12.529Z] ---> 539b5a656f1c [2022-08-04T08:00:12.529Z] Step 10/26 : COPY . . [2022-08-04T08:00:13.522Z] ---> 3521c95dd6b2 [2022-08-04T08:00:13.522Z] Step 11/26 : ARG MAKE='make build' [2022-08-04T08:00:13.522Z] ---> Running in 55f416fcbb97 [2022-08-04T08:00:14.133Z] Removing intermediate container 55f416fcbb97 [2022-08-04T08:00:14.133Z] ---> f09836e6a616 [2022-08-04T08:00:14.133Z] Step 12/26 : RUN $MAKE [2022-08-04T08:00:14.133Z] ---> Running in 358ee67a9fbe [2022-08-04T08:00:15.130Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-08-04T08:02:22.038Z] Removing intermediate container 358ee67a9fbe [2022-08-04T08:02:22.038Z] ---> b7b2e142ab5f [2022-08-04T08:02:22.038Z] Step 13/26 : FROM alpine:3.16 [2022-08-04T08:02:22.038Z] 3.16: Pulling from library/alpine [2022-08-04T08:02:22.038Z] f97344484467: Pulling fs layer [2022-08-04T08:02:22.038Z] f97344484467: Verifying Checksum [2022-08-04T08:02:22.038Z] f97344484467: Download complete [2022-08-04T08:02:22.038Z] f97344484467: Pull complete [2022-08-04T08:02:22.038Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-04T08:02:22.038Z] Status: Downloaded newer image for alpine:3.16 [2022-08-04T08:02:22.038Z] ---> 3d81c46cd875 [2022-08-04T08:02:22.038Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-04T08:02:22.038Z] ---> Running in c6a3acb33449 [2022-08-04T08:02:22.038Z] Removing intermediate container c6a3acb33449 [2022-08-04T08:02:22.038Z] ---> 3b784f1b6a8a [2022-08-04T08:02:22.038Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T08:02:22.038Z] ---> Running in 2816a216f012 [2022-08-04T08:02:22.038Z] Removing intermediate container 2816a216f012 [2022-08-04T08:02:22.038Z] ---> 9144d2275b5e [2022-08-04T08:02:22.038Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-04T08:02:22.038Z] ---> Running in 744f8e0fe776 [2022-08-04T08:02:22.038Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-04T08:02:22.038Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-04T08:02:22.038Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-04T08:02:22.038Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-04T08:02:22.038Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-04T08:02:22.038Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-04T08:02:22.038Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-04T08:02:22.038Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-04T08:02:22.038Z] Executing busybox-1.35.0-r15.trigger [2022-08-04T08:02:22.038Z] OK: 8 MiB in 20 packages [2022-08-04T08:02:22.038Z] Removing intermediate container 744f8e0fe776 [2022-08-04T08:02:22.038Z] ---> 344f45c0a473 [2022-08-04T08:02:22.038Z] Step 17/26 : WORKDIR / [2022-08-04T08:02:22.038Z] ---> Running in cdeba256f75f [2022-08-04T08:02:22.038Z] Removing intermediate container cdeba256f75f [2022-08-04T08:02:22.038Z] ---> 92375695cc24 [2022-08-04T08:02:22.038Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-04T08:02:22.635Z] ---> 6648eca7eda2 [2022-08-04T08:02:22.635Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-04T08:02:23.243Z] ---> 09ba09bc6c59 [2022-08-04T08:02:23.243Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-04T08:02:24.685Z] ---> 216d510832c7 [2022-08-04T08:02:24.685Z] Step 21/26 : EXPOSE 59900 [2022-08-04T08:02:24.685Z] ---> Running in c8389ea002d4 [2022-08-04T08:02:24.685Z] Removing intermediate container c8389ea002d4 [2022-08-04T08:02:24.685Z] ---> 7c5872c2e775 [2022-08-04T08:02:24.685Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-04T08:02:24.963Z] ---> Running in 3ad425b81ae4 [2022-08-04T08:02:25.238Z] Removing intermediate container 3ad425b81ae4 [2022-08-04T08:02:25.238Z] ---> 0ae178804541 [2022-08-04T08:02:25.238Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-04T08:02:25.238Z] ---> Running in 8c77c7cce642 [2022-08-04T08:02:25.515Z] Removing intermediate container 8c77c7cce642 [2022-08-04T08:02:25.515Z] ---> 34e446de04bc [2022-08-04T08:02:25.515Z] Step 24/26 : LABEL arch=arm64 [2022-08-04T08:02:25.798Z] ---> Running in f0b6c2059c84 [2022-08-04T08:02:26.074Z] Removing intermediate container f0b6c2059c84 [2022-08-04T08:02:26.074Z] ---> 1062328f0c06 [2022-08-04T08:02:26.074Z] Step 25/26 : LABEL git_sha=35f1e8b1fe1f9f220bf916e15fcdce651bd822bc [2022-08-04T08:02:26.074Z] ---> Running in 59f4cea1dde0 [2022-08-04T08:02:26.350Z] Removing intermediate container 59f4cea1dde0 [2022-08-04T08:02:26.350Z] ---> 76d1b13372c3 [2022-08-04T08:02:26.350Z] Step 26/26 : LABEL version=0.0.0 [2022-08-04T08:02:26.350Z] ---> Running in 3ad33f5ea6cd [2022-08-04T08:02:26.625Z] Removing intermediate container 3ad33f5ea6cd [2022-08-04T08:02:26.625Z] ---> 6375226abeb8 [2022-08-04T08:02:26.625Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-04T08:02:26.625Z] Successfully built 6375226abeb8 [2022-08-04T08:02:26.625Z] 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-04T08:02:27.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-04T08:02:27.376Z] [2022-08-04T08:02:27.376Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T08:02:27.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-04T08:02:28.010Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-04T08:02:28.011Z] 8998bd30e6a1: Pulling fs layer [2022-08-04T08:02:28.011Z] 04944245beec: Pulling fs layer [2022-08-04T08:02:28.011Z] 699f458cf7ca: Pulling fs layer [2022-08-04T08:02:28.011Z] 765212b225bb: Pulling fs layer [2022-08-04T08:02:28.011Z] f23df028b6ca: Pulling fs layer [2022-08-04T08:02:28.011Z] d65c8cfc05b1: Pulling fs layer [2022-08-04T08:02:28.011Z] 2437ff75d9bd: Pulling fs layer [2022-08-04T08:02:28.011Z] 765212b225bb: Waiting [2022-08-04T08:02:28.011Z] f23df028b6ca: Waiting [2022-08-04T08:02:28.011Z] d65c8cfc05b1: Waiting [2022-08-04T08:02:28.011Z] 2437ff75d9bd: Waiting [2022-08-04T08:02:28.011Z] 04944245beec: Verifying Checksum [2022-08-04T08:02:28.011Z] 04944245beec: Download complete [2022-08-04T08:02:28.011Z] 765212b225bb: Verifying Checksum [2022-08-04T08:02:28.011Z] 765212b225bb: Download complete [2022-08-04T08:02:28.011Z] f23df028b6ca: Verifying Checksum [2022-08-04T08:02:28.011Z] f23df028b6ca: Download complete [2022-08-04T08:02:28.011Z] d65c8cfc05b1: Verifying Checksum [2022-08-04T08:02:28.011Z] d65c8cfc05b1: Download complete [2022-08-04T08:02:28.283Z] 699f458cf7ca: Verifying Checksum [2022-08-04T08:02:28.283Z] 699f458cf7ca: Download complete [2022-08-04T08:02:28.564Z] 8998bd30e6a1: Verifying Checksum [2022-08-04T08:02:28.564Z] 8998bd30e6a1: Download complete [2022-08-04T08:02:31.197Z] 2437ff75d9bd: Verifying Checksum [2022-08-04T08:02:31.197Z] 2437ff75d9bd: Download complete [2022-08-04T08:02:32.642Z] 8998bd30e6a1: Pull complete [2022-08-04T08:02:33.245Z] 04944245beec: Pull complete [2022-08-04T08:02:34.692Z] 699f458cf7ca: Pull complete [2022-08-04T08:02:34.967Z] 765212b225bb: Pull complete [2022-08-04T08:02:35.954Z] f23df028b6ca: Pull complete [2022-08-04T08:02:35.954Z] d65c8cfc05b1: Pull complete [2022-08-04T08:02:51.074Z] 2437ff75d9bd: Pull complete [2022-08-04T08:02:51.075Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-04T08:02:51.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-04T08:02:51.075Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T08:02:51.331Z] prd-ubuntu20.04-docker-arm64-4c-16g-21922 does not seem to be running inside a container [2022-08-04T08:02:51.429Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-04T08:02:53.904Z] $ docker top 3ca00e850615910418bfe05a73ca96ee4186e2ebacad2cf584ad8950aab1d2a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T08:02:54.814Z] ---> job-cost.sh [2022-08-04T08:02:54.814Z] lf-activate-venv: SKIPPING [2022-08-04T08:02:54.814Z] INFO: No Stack... [2022-08-04T08:02:55.411Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-04T08:02:56.393Z] INFO: Archiving Costs [Pipeline] sh [2022-08-04T08:02:57.060Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2022-08-04T08:02:57.060Z] + cut -d, -f6 [Pipeline] lock [2022-08-04T08:02:57.127Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-298-2-stack-cost] [2022-08-04T08:02:57.135Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-298-2-stack-cost] did not exist. Created. [2022-08-04T08:02:57.135Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-298-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-04T08:02:57.811Z] /w/workspace/device-virtual-go/2@tmp/durable-1bda09c4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-04T08:02:58.492Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-04T08:02:58.514Z] Warning: overwriting stash ‘stack-cost’ [2022-08-04T08:02:58.561Z] Stashed 1 file(s) [Pipeline] } [2022-08-04T08:02:58.571Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-298-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-04T08:02:58.596Z] $ docker stop --time=1 3ca00e850615910418bfe05a73ca96ee4186e2ebacad2cf584ad8950aab1d2a9 [2022-08-04T08:03:00.094Z] $ docker rm -f 3ca00e850615910418bfe05a73ca96ee4186e2ebacad2cf584ad8950aab1d2a9 [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-04T08:03:00.594Z] provisioning config files... [2022-08-04T08:03:00.611Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config6266855123939545014tmp [Pipeline] { [Pipeline] sh [2022-08-04T08:03:00.910Z] + set +x [2022-08-04T08:03:00.910Z] + curl -s https://codecov.io/bash [2022-08-04T08:03:00.910Z] + bash -s -- [2022-08-04T08:03:00.910Z] [2022-08-04T08:03:00.910Z] _____ _ [2022-08-04T08:03:00.910Z] / ____| | | [2022-08-04T08:03:00.910Z] | | ___ __| | ___ ___ _____ __ [2022-08-04T08:03:00.910Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-04T08:03:00.910Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-04T08:03:00.910Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-04T08:03:00.910Z] Bash-1.0.6 [2022-08-04T08:03:00.910Z] [2022-08-04T08:03:00.910Z] [2022-08-04T08:03:00.910Z] ==> git version 2.25.1 found [2022-08-04T08:03:00.910Z] ==> 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-04T08:03:00.910Z] Release-Date: 2020-01-08 [2022-08-04T08:03:00.910Z] 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-04T08:03:00.910Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-04T08:03:00.910Z] ==> Jenkins CI detected. [2022-08-04T08:03:00.910Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-298 [2022-08-04T08:03:00.910Z] project root: . [2022-08-04T08:03:00.910Z] --> token set from env [2022-08-04T08:03:00.910Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-04T08:03:01.170Z] ==> Running gcov in . (disable via -X gcov) [2022-08-04T08:03:01.170Z] ==> Python coveragepy not found [2022-08-04T08:03:01.170Z] ==> Searching for coverage reports in: [2022-08-04T08:03:01.170Z] + . [2022-08-04T08:03:01.170Z] -> Found 1 reports [2022-08-04T08:03:01.170Z] ==> Detecting git/mercurial file structure [2022-08-04T08:03:01.170Z] ==> Reading reports [2022-08-04T08:03:01.170Z] + ./coverage.out bytes=44128 [2022-08-04T08:03:01.170Z] ==> Appending adjustments [2022-08-04T08:03:01.170Z] https://docs.codecov.io/docs/fixing-reports [2022-08-04T08:03:01.170Z] + Found adjustments [2022-08-04T08:03:01.170Z] ==> Gzipping contents [2022-08-04T08:03:01.170Z] 8.0K /tmp/codecov.20UaCn.gz [2022-08-04T08:03:01.170Z] ==> Uploading reports [2022-08-04T08:03:01.170Z] url: https://codecov.io [2022-08-04T08:03:01.170Z] query: branch=PR-298&commit=35f1e8b1fe1f9f220bf916e15fcdce651bd822bc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-298%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=298&job=&cmd_args= [2022-08-04T08:03:01.170Z] -> Pinging Codecov [2022-08-04T08:03:01.170Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-298&commit=35f1e8b1fe1f9f220bf916e15fcdce651bd822bc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-298%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=298&job=&cmd_args= [2022-08-04T08:03:01.742Z] -> Uploading to [2022-08-04T08:03:01.742Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-04/5E52B4B073DB2E39498172D8E973AA87/35f1e8b1fe1f9f220bf916e15fcdce651bd822bc/60f07d3d-8a24-4a9a-b200-136c4c4942fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220804T080301Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5081667a2541719efaaae232dcd982b3d07c52831a7c4021c820b4b0de1970d0 [2022-08-04T08:03:01.742Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-04T08:03:01.742Z] Dload Upload Total Spent Left Speed [2022-08-04T08:03:01.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5480 0 0 100 5480 0 22008 --:--:-- --:--:-- --:--:-- 22008 [2022-08-04T08:03:01.742Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/35f1e8b1fe1f9f220bf916e15fcdce651bd822bc [Pipeline] } [2022-08-04T08:03:01.750Z] 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-04T08:03:02.470Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-298/archives ] [2022-08-04T08:03:02.470Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-298/archives [2022-08-04T08:03:02.470Z] total 16 [2022-08-04T08:03:02.470Z] drwxr-xr-x 3 root root 4096 Aug 4 07:56 . [2022-08-04T08:03:02.470Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 07:56 .. [2022-08-04T08:03:02.470Z] drwxr-xr-x 2 root root 4096 Aug 4 07:56 cost [2022-08-04T08:03:02.470Z] -rw-r--r-- 1 root root 89 Aug 4 07:56 cost.csv [2022-08-04T08:03:02.470Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-298/archives [2022-08-04T08:03:02.470Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-298/archives [2022-08-04T08:03:02.470Z] total 16 [2022-08-04T08:03:02.470Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 07:56 . [2022-08-04T08:03:02.470Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 07:56 .. [2022-08-04T08:03:02.470Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 07:56 cost [2022-08-04T08:03:02.470Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 4 07:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-04T08:03:02.767Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T08:03:03.643Z] ---> package-listing.sh [2022-08-04T08:03:03.643Z] ++ facter osfamily [2022-08-04T08:03:03.643Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-04T08:03:03.643Z] + OS_FAMILY=debian [2022-08-04T08:03:03.643Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-298 [2022-08-04T08:03:03.643Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-04T08:03:03.643Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-04T08:03:03.643Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-04T08:03:03.643Z] + PACKAGES=/tmp/packages_start.txt [2022-08-04T08:03:03.643Z] + '[' /w/workspace/foundry_device-virtual-go_PR-298 ']' [2022-08-04T08:03:03.643Z] + PACKAGES=/tmp/packages_end.txt [2022-08-04T08:03:03.643Z] + case "${OS_FAMILY}" in [2022-08-04T08:03:03.643Z] + dpkg -l [2022-08-04T08:03:03.643Z] + grep '^ii' [2022-08-04T08:03:03.904Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-04T08:03:03.904Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-04T08:03:03.904Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-04T08:03:03.904Z] + '[' /w/workspace/foundry_device-virtual-go_PR-298 ']' [2022-08-04T08:03:03.904Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-298/archives/ [2022-08-04T08:03:03.904Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-298/archives/ [Pipeline] echo [2022-08-04T08:03:03.916Z] 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-298/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-04T08:03:04.195Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T08:03:04.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T08:03:04.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T08:03:04.856Z] prd-ubuntu20.04-docker-8c-8g-21921 does not seem to be running inside a container [2022-08-04T08:03:04.897Z] $ 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-298/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-298 -v /w/workspace/foundry_device-virtual-go_PR-298:/w/workspace/foundry_device-virtual-go_PR-298:rw,z -v /w/workspace/foundry_device-virtual-go_PR-298@tmp:/w/workspace/foundry_device-virtual-go_PR-298@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-04T08:03:05.104Z] $ docker top b755f7dd4bcf14ad8f639f6b4b3efd04e81bcf0f88cf4b91b9315311e60dd8cd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T08:03:05.457Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-04T08:03:05.744Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-04T08:03:06.039Z] + ls /var/log/sa-host [2022-08-04T08:03:06.039Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-04T08:03:06.198Z] provisioning config files... [2022-08-04T08:03:06.207Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config1253789562244621446tmp [Pipeline] { [Pipeline] echo [2022-08-04T08:03:06.221Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T08:03:06.509Z] ---> create-netrc.sh [Pipeline] } [2022-08-04T08:03:06.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-04T08:03:06.859Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-04T08:03:06.870Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T08:03:07.161Z] ---> sudo-logs.sh [2022-08-04T08:03:07.161Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-04T08:03:07.190Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T08:03:07.474Z] ---> job-cost.sh [2022-08-04T08:03:07.474Z] lf-activate-venv: SKIPPING [2022-08-04T08:03:07.474Z] DEBUG: total: 0.2199999988079071 [2022-08-04T08:03:07.474Z] INFO: Retrieving Stack Cost... [2022-08-04T08:03:08.045Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-04T08:03:08.617Z] INFO: Archiving Costs [Pipeline] echo [2022-08-04T08:03:08.630Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T08:03:08.915Z] ---> logs-deploy.sh [2022-08-04T08:03:08.916Z] lf-activate-venv: SKIPPING [2022-08-04T08:03:08.916Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-298/2 [2022-08-04T08:03:08.916Z] INFO: archiving workspace using pattern(s): [2022-08-04T08:03:09.856Z] Archives upload complete. [2022-08-04T08:03:09.856Z] INFO: archiving logs to Nexus