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 79c56e8a79ce92b2e378909672f37466d5741463 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-ssh2838223964175194164.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-ssh18413291923554164467.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-ssh1160597901356129501.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-ssh13817724278636388800.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-ssh904236228566726093.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-21925 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 79c56e8a79ce92b2e378909672f37466d5741463 Merge succeeded, producing 79c56e8a79ce92b2e378909672f37466d5741463 Checking out Revision 79c56e8a79ce92b2e378909672f37466d5741463 (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 79c56e8a79ce92b2e378909672f37466d5741463 # 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 79c56e8a79ce92b2e378909672f37466d5741463 # timeout=10 Commit message: "ci(snap): Switch build action `uses` back to canonical repo" > git rev-list --no-walk 35f1e8b1fe1f9f220bf916e15fcdce651bd822bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-04T09:19:57.898Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-04T09:19:57.946Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-04T09:19:57.959Z] ========================================================= [2022-08-04T09:19:57.959Z] EdgeX Global Pipelines Version Info [2022-08-04T09:19:57.959Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:19:58.763Z] ------------------- [2022-08-04T09:19:58.763Z] stable info: [2022-08-04T09:19:58.763Z] ------------------- [2022-08-04T09:19:58.763Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-04T09:19:58.763Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-04T09:19:58.763Z] Message: update stable to v1.0.238 [2022-08-04T09:19:59.338Z] ------------------- [2022-08-04T09:19:59.338Z] experimental info: [2022-08-04T09:19:59.338Z] ------------------- [2022-08-04T09:19:59.339Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-04T09:19:59.339Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-04T09:19:59.339Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-04T09:19:59.610Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-08-04T09:19:59.621Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-08-04T09:19:59.633Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-04T09:19:59.644Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-04T09:19:59.655Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-04T09:19:59.666Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-04T09:19:59.678Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-04T09:19:59.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-04T09:19:59.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-04T09:19:59.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-04T09:19:59.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-04T09:19:59.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-08-04T09:19:59.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-04T09:19:59.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-04T09:19:59.786Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-04T09:19:59.798Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-04T09:19:59.809Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-04T09:19:59.822Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-04T09:19:59.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-04T09:19:59.852Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-04T09:19:59.863Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-04T09:19:59.875Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-04T09:19:59.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-04T09:19:59.901Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-04T09:19:59.914Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-04T09:19:59.926Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-04T09:19:59.938Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-04T09:19:59.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-298 [Pipeline] echo [2022-08-04T09:19:59.964Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-298 [Pipeline] echo [2022-08-04T09:19:59.981Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-298 [Pipeline] echo [2022-08-04T09:19:59.989Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 79c56e8a79ce92b2e378909672f37466d5741463 [Pipeline] echo [2022-08-04T09:20:00.000Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 79c56e8 [Pipeline] echo [2022-08-04T09:20:00.012Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-04T09:20:00.050Z] provisioning config files... [2022-08-04T09:20:00.064Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config1068797185799077487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:20:00.375Z] ---> docker-login.sh [2022-08-04T09:20:00.375Z] nexus3.edgexfoundry.org:10001 [2022-08-04T09:20:00.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:20:00.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:20:00.900Z] Configure a credential helper to remove this warning. See [2022-08-04T09:20:00.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:20:00.900Z] [2022-08-04T09:20:00.900Z] Login Succeeded [2022-08-04T09:20:00.900Z] nexus3.edgexfoundry.org:10002 [2022-08-04T09:20:00.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:20:00.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:20:00.900Z] Configure a credential helper to remove this warning. See [2022-08-04T09:20:00.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:20:00.900Z] [2022-08-04T09:20:00.900Z] Login Succeeded [2022-08-04T09:20:00.900Z] nexus3.edgexfoundry.org:10003 [2022-08-04T09:20:01.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:20:01.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:20:01.163Z] Configure a credential helper to remove this warning. See [2022-08-04T09:20:01.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:20:01.163Z] [2022-08-04T09:20:01.163Z] Login Succeeded [2022-08-04T09:20:01.163Z] nexus3.edgexfoundry.org:10004 [2022-08-04T09:20:01.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:20:01.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:20:01.427Z] Configure a credential helper to remove this warning. See [2022-08-04T09:20:01.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:20:01.427Z] [2022-08-04T09:20:01.427Z] Login Succeeded [2022-08-04T09:20:01.427Z] docker.io [2022-08-04T09:20:01.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:20:01.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:20:01.690Z] Configure a credential helper to remove this warning. See [2022-08-04T09:20:01.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:20:01.690Z] [2022-08-04T09:20:01.690Z] Login Succeeded [2022-08-04T09:20:01.690Z] ---> docker-login.sh ends [Pipeline] } [2022-08-04T09:20:01.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-04T09:20:02.101Z] + git rev-list -1 --merges 79c56e8a79ce92b2e378909672f37466d5741463~1..79c56e8a79ce92b2e378909672f37466d5741463 [Pipeline] echo [2022-08-04T09:20:02.149Z] -----------> git rev-list -1 --merges 79c56e8a79ce92b2e378909672f37466d5741463~1..79c56e8a79ce92b2e378909672f37466d5741463 79c56e8a79ce92b2e378909672f37466d5741463 [false] [Pipeline] sh [2022-08-04T09:20:02.444Z] + git log --format=format:%s -1 79c56e8a79ce92b2e378909672f37466d5741463 [Pipeline] echo [2022-08-04T09:20:02.462Z] ========================================================= [2022-08-04T09:20:02.462Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-04T09:20:02.462Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-04T09:20:02.809Z] + git log --format=format:%s -1 79c56e8a79ce92b2e378909672f37466d5741463 [Pipeline] echo [2022-08-04T09:20:02.822Z] [semverPrep] GIT_COMMIT: 79c56e8a79ce92b2e378909672f37466d5741463, Commit Message: ci(snap): Switch build action `uses` back to canonical repo [Pipeline] echo [2022-08-04T09:20:02.832Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-04T09:20:03.211Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-04T09:20:03.212Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-04T09:20:03.212Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-04T09:20:03.212Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-04T09:20:03.212Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-08-04T09:20:03.212Z] -a /etc/ssh/ssh_known_hosts [2022-08-04T09:20:03.212Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:20:03.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T09:20:03.637Z] [2022-08-04T09:20:03.637Z] 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-04T09:20:03.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T09:20:03.950Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-04T09:20:03.950Z] b85a868b505f: Pulling fs layer [2022-08-04T09:20:03.950Z] e2be974225ed: Pulling fs layer [2022-08-04T09:20:03.950Z] 339a4e72a1f5: Pulling fs layer [2022-08-04T09:20:03.950Z] 988bab9f4d93: Pulling fs layer [2022-08-04T09:20:03.950Z] 1469e6f7b9e6: Pulling fs layer [2022-08-04T09:20:03.950Z] eaf3925da568: Pulling fs layer [2022-08-04T09:20:03.950Z] bab4dde63d76: Pulling fs layer [2022-08-04T09:20:03.950Z] bde34c3a00c8: Pulling fs layer [2022-08-04T09:20:03.950Z] b352a97aabf1: Pulling fs layer [2022-08-04T09:20:03.950Z] 4872d77fe225: Pulling fs layer [2022-08-04T09:20:03.950Z] 5851b861e8e6: Pulling fs layer [2022-08-04T09:20:03.950Z] bab4dde63d76: Waiting [2022-08-04T09:20:03.950Z] 4872d77fe225: Waiting [2022-08-04T09:20:03.950Z] 5851b861e8e6: Waiting [2022-08-04T09:20:03.950Z] 988bab9f4d93: Waiting [2022-08-04T09:20:03.950Z] b352a97aabf1: Waiting [2022-08-04T09:20:03.950Z] bde34c3a00c8: Waiting [2022-08-04T09:20:03.950Z] 1469e6f7b9e6: Waiting [2022-08-04T09:20:03.950Z] eaf3925da568: Waiting [2022-08-04T09:20:03.950Z] e2be974225ed: Verifying Checksum [2022-08-04T09:20:03.950Z] e2be974225ed: Download complete [2022-08-04T09:20:03.950Z] 988bab9f4d93: Verifying Checksum [2022-08-04T09:20:03.950Z] 988bab9f4d93: Download complete [2022-08-04T09:20:04.211Z] 1469e6f7b9e6: Verifying Checksum [2022-08-04T09:20:04.211Z] 1469e6f7b9e6: Download complete [2022-08-04T09:20:04.211Z] eaf3925da568: Download complete [2022-08-04T09:20:04.211Z] 339a4e72a1f5: Verifying Checksum [2022-08-04T09:20:04.211Z] 339a4e72a1f5: Download complete [2022-08-04T09:20:04.211Z] bde34c3a00c8: Verifying Checksum [2022-08-04T09:20:04.211Z] bde34c3a00c8: Download complete [2022-08-04T09:20:04.211Z] b352a97aabf1: Download complete [2022-08-04T09:20:04.211Z] 4872d77fe225: Download complete [2022-08-04T09:20:04.211Z] 5851b861e8e6: Verifying Checksum [2022-08-04T09:20:04.211Z] 5851b861e8e6: Download complete [2022-08-04T09:20:04.211Z] b85a868b505f: Verifying Checksum [2022-08-04T09:20:04.211Z] b85a868b505f: Download complete [2022-08-04T09:20:04.471Z] bab4dde63d76: Verifying Checksum [2022-08-04T09:20:04.471Z] bab4dde63d76: Download complete [2022-08-04T09:20:05.854Z] b85a868b505f: Pull complete [2022-08-04T09:20:05.854Z] e2be974225ed: Pull complete [2022-08-04T09:20:06.437Z] 339a4e72a1f5: Pull complete [2022-08-04T09:20:06.437Z] 988bab9f4d93: Pull complete [2022-08-04T09:20:06.701Z] 1469e6f7b9e6: Pull complete [2022-08-04T09:20:06.963Z] eaf3925da568: Pull complete [2022-08-04T09:20:08.872Z] bab4dde63d76: Pull complete [2022-08-04T09:20:08.872Z] bde34c3a00c8: Pull complete [2022-08-04T09:20:09.132Z] b352a97aabf1: Pull complete [2022-08-04T09:20:09.132Z] 4872d77fe225: Pull complete [2022-08-04T09:20:09.132Z] 5851b861e8e6: Pull complete [2022-08-04T09:20:09.132Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-04T09:20:09.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T09:20:09.132Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:20:09.232Z] prd-ubuntu20.04-docker-8c-8g-21925 does not seem to be running inside a container [2022-08-04T09:20:09.273Z] $ 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-04T09:20:10.705Z] $ docker top 8cdc68cc7f11aada7d197b58570915719c1912862265cad1bb07082508ccddc0 -eo pid,comm [2022-08-04T09:20:10.774Z] 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-04T09:20:10.774Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-04T09:20:10.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-04T09:20:10.809Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-04T09:20:10.948Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-04T09:20:10.956Z] $ docker exec 8cdc68cc7f11aada7d197b58570915719c1912862265cad1bb07082508ccddc0 ssh-agent [2022-08-04T09:20:11.101Z] SSH_AUTH_SOCK=/tmp/ssh-uFNZicoSUFsf/agent.34 [2022-08-04T09:20:11.101Z] SSH_AGENT_PID=40 [2022-08-04T09:20:11.109Z] Running ssh-add (command line suppressed) [2022-08-04T09:20:11.249Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_8749575665151446566.key (/w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_8749575665151446566.key) [2022-08-04T09:20:11.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-04T09:20:11.560Z] + git tag --points-at HEAD [Pipeline] } [2022-08-04T09:20:11.578Z] $ docker exec --env ******** --env ******** 8cdc68cc7f11aada7d197b58570915719c1912862265cad1bb07082508ccddc0 ssh-agent -k [2022-08-04T09:20:11.699Z] unset SSH_AUTH_SOCK; [2022-08-04T09:20:11.700Z] unset SSH_AGENT_PID; [2022-08-04T09:20:11.700Z] echo Agent pid 40 killed; [2022-08-04T09:20:11.711Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-04T09:20:11.742Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-04T09:20:11.742Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-04T09:20:11.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-04T09:20:11.888Z] $ docker exec 8cdc68cc7f11aada7d197b58570915719c1912862265cad1bb07082508ccddc0 ssh-agent [2022-08-04T09:20:12.021Z] SSH_AUTH_SOCK=/tmp/ssh-plc871HW6gzM/agent.75 [2022-08-04T09:20:12.021Z] SSH_AGENT_PID=81 [2022-08-04T09:20:12.027Z] Running ssh-add (command line suppressed) [2022-08-04T09:20:12.171Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_383664934640409766.key (/w/workspace/foundry_device-virtual-go_PR-298@tmp/private_key_383664934640409766.key) [2022-08-04T09:20:12.185Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-04T09:20:12.478Z] + git semver init [2022-08-04T09:20:12.740Z] 2022-08-04 09:20:12,679 [run_init] DEBUG init version:0.0.0 force:False [2022-08-04T09:20:12.740Z] 2022-08-04 09:20:12,679 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-298/.semver [2022-08-04T09:20:12.740Z] 2022-08-04 09:20:12,680 [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-04T09:20:12.740Z] 2022-08-04 09:20:12,680 [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-04T09:20:13.685Z] 2022-08-04 09:20:13,611 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-298/.git/info/exclude [2022-08-04T09:20:13.685Z] 2022-08-04 09:20:13,612 [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-04T09:20:13.685Z] 2022-08-04 09:20:13,612 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-298/.semver/PR-298 [2022-08-04T09:20:13.685Z] 2022-08-04 09:20:13,617 [execute] INFO git cat-file --batch-check [2022-08-04T09:20:13.685Z] 2022-08-04 09:20:13,617 [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-04T09:20:13.685Z] 2022-08-04 09:20:13,625 [execute] INFO git cat-file --batch [2022-08-04T09:20:13.685Z] 2022-08-04 09:20:13,626 [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-04T09:20:13.685Z] 2022-08-04 09:20:13,632 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-298/.semver/PR-298 [2022-08-04T09:20:13.685Z] 0.0.0 [Pipeline] } [2022-08-04T09:20:13.700Z] $ docker exec --env ******** --env ******** 8cdc68cc7f11aada7d197b58570915719c1912862265cad1bb07082508ccddc0 ssh-agent -k [2022-08-04T09:20:13.813Z] unset SSH_AUTH_SOCK; [2022-08-04T09:20:13.813Z] unset SSH_AGENT_PID; [2022-08-04T09:20:13.813Z] echo Agent pid 81 killed; [2022-08-04T09:20:13.821Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-04T09:20:14.153Z] + git semver [Pipeline] } [2022-08-04T09:20:14.430Z] $ docker stop --time=1 8cdc68cc7f11aada7d197b58570915719c1912862265cad1bb07082508ccddc0 [2022-08-04T09:20:15.739Z] $ docker rm -f 8cdc68cc7f11aada7d197b58570915719c1912862265cad1bb07082508ccddc0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-04T09:20:16.095Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-04T09:20:16.362Z] Stashed 1 file(s) [Pipeline] echo [2022-08-04T09:20:16.365Z] [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-04T09:20:16.504Z] provisioning config files... [2022-08-04T09:20:16.515Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config6912233098741153650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:20:16.821Z] ---> docker-login.sh [2022-08-04T09:20:16.821Z] nexus3.edgexfoundry.org:10001 [2022-08-04T09:20:16.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:20:16.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:20:16.821Z] Configure a credential helper to remove this warning. See [2022-08-04T09:20:16.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:20:16.821Z] [2022-08-04T09:20:16.821Z] Login Succeeded [2022-08-04T09:20:16.821Z] nexus3.edgexfoundry.org:10002 [2022-08-04T09:20:16.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:20:17.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:20:17.082Z] Configure a credential helper to remove this warning. See [2022-08-04T09:20:17.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:20:17.082Z] [2022-08-04T09:20:17.082Z] Login Succeeded [2022-08-04T09:20:17.082Z] nexus3.edgexfoundry.org:10003 [2022-08-04T09:20:17.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:20:17.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:20:17.082Z] Configure a credential helper to remove this warning. See [2022-08-04T09:20:17.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:20:17.082Z] [2022-08-04T09:20:17.082Z] Login Succeeded [2022-08-04T09:20:17.082Z] nexus3.edgexfoundry.org:10004 [2022-08-04T09:20:17.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:20:17.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:20:17.345Z] Configure a credential helper to remove this warning. See [2022-08-04T09:20:17.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:20:17.345Z] [2022-08-04T09:20:17.345Z] Login Succeeded [2022-08-04T09:20:17.345Z] docker.io [2022-08-04T09:20:17.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:20:17.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:20:17.606Z] Configure a credential helper to remove this warning. See [2022-08-04T09:20:17.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:20:17.606Z] [2022-08-04T09:20:17.606Z] Login Succeeded [2022-08-04T09:20:17.606Z] ---> docker-login.sh ends [Pipeline] } [2022-08-04T09:20:17.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-04T09:20:17.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T09:20:17.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T09:20:17.713Z] ========================================================= [2022-08-04T09:20:17.713Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-04T09:20:17.713Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:20:18.032Z] + 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-04T09:20:18.032Z] Sending build context to Docker daemon 23.09MB [2022-08-04T09:20:18.032Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T09:20:18.032Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-04T09:20:18.293Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-04T09:20:18.293Z] 2408cc74d12b: Pulling fs layer [2022-08-04T09:20:18.293Z] ea60b727a1ce: Pulling fs layer [2022-08-04T09:20:18.293Z] 30c4a7721957: Pulling fs layer [2022-08-04T09:20:18.293Z] 370296b7ddb6: Pulling fs layer [2022-08-04T09:20:18.293Z] 7c6cee850709: Pulling fs layer [2022-08-04T09:20:18.293Z] 39a5fcdaea64: Pulling fs layer [2022-08-04T09:20:18.293Z] d94ebbe4e438: Pulling fs layer [2022-08-04T09:20:18.293Z] bcfd1f05c69d: Pulling fs layer [2022-08-04T09:20:18.293Z] 59ccb84bbe0f: Pulling fs layer [2022-08-04T09:20:18.293Z] 370296b7ddb6: Waiting [2022-08-04T09:20:18.293Z] 7c6cee850709: Waiting [2022-08-04T09:20:18.293Z] bcfd1f05c69d: Waiting [2022-08-04T09:20:18.293Z] 59ccb84bbe0f: Waiting [2022-08-04T09:20:18.293Z] 39a5fcdaea64: Waiting [2022-08-04T09:20:18.293Z] d94ebbe4e438: Waiting [2022-08-04T09:20:18.293Z] 30c4a7721957: Download complete [2022-08-04T09:20:18.293Z] ea60b727a1ce: Download complete [2022-08-04T09:20:18.293Z] 7c6cee850709: Verifying Checksum [2022-08-04T09:20:18.293Z] 7c6cee850709: Download complete [2022-08-04T09:20:18.293Z] 39a5fcdaea64: Verifying Checksum [2022-08-04T09:20:18.293Z] 39a5fcdaea64: Download complete [2022-08-04T09:20:18.293Z] 2408cc74d12b: Verifying Checksum [2022-08-04T09:20:18.293Z] 2408cc74d12b: Download complete [2022-08-04T09:20:18.293Z] d94ebbe4e438: Verifying Checksum [2022-08-04T09:20:18.293Z] d94ebbe4e438: Download complete [2022-08-04T09:20:18.556Z] 2408cc74d12b: Pull complete [2022-08-04T09:20:18.556Z] ea60b727a1ce: Pull complete [2022-08-04T09:20:18.817Z] 30c4a7721957: Pull complete [2022-08-04T09:20:18.817Z] 59ccb84bbe0f: Verifying Checksum [2022-08-04T09:20:18.817Z] 59ccb84bbe0f: Download complete [2022-08-04T09:20:19.077Z] bcfd1f05c69d: Verifying Checksum [2022-08-04T09:20:19.077Z] bcfd1f05c69d: Download complete [2022-08-04T09:20:19.078Z] 370296b7ddb6: Verifying Checksum [2022-08-04T09:20:19.078Z] 370296b7ddb6: Download complete [2022-08-04T09:20:24.051Z] 370296b7ddb6: Pull complete [2022-08-04T09:20:24.051Z] 7c6cee850709: Pull complete [2022-08-04T09:20:24.051Z] 39a5fcdaea64: Pull complete [2022-08-04T09:20:24.051Z] d94ebbe4e438: Pull complete [2022-08-04T09:20:25.960Z] bcfd1f05c69d: Pull complete [2022-08-04T09:20:26.531Z] 59ccb84bbe0f: Pull complete [2022-08-04T09:20:26.531Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-04T09:20:26.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-04T09:20:26.531Z] ---> a4fb48ad2a94 [2022-08-04T09:20:26.531Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T09:20:29.084Z] ---> Running in 4ad4e7a38853 [2022-08-04T09:20:29.084Z] Removing intermediate container 4ad4e7a38853 [2022-08-04T09:20:29.084Z] ---> 5fe8107feb1c [2022-08-04T09:20:29.084Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T09:20:29.084Z] ---> Running in 72cf9b037d0d [2022-08-04T09:20:29.084Z] Removing intermediate container 72cf9b037d0d [2022-08-04T09:20:29.084Z] ---> 692110681ddb [2022-08-04T09:20:29.084Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-04T09:20:29.084Z] ---> Running in 3b46baaa1d7d [2022-08-04T09:20:29.084Z] Removing intermediate container 3b46baaa1d7d [2022-08-04T09:20:29.084Z] ---> 1f47c76da251 [2022-08-04T09:20:29.084Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T09:20:29.084Z] ---> Running in 04f904c88ad8 [2022-08-04T09:20:29.657Z] Removing intermediate container 04f904c88ad8 [2022-08-04T09:20:29.657Z] ---> cf57fea06484 [2022-08-04T09:20:29.657Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T09:20:29.918Z] ---> Running in b1f7e09d47ce [2022-08-04T09:20:30.179Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-04T09:20:31.124Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-04T09:20:31.385Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-04T09:20:31.460Z] Still waiting to schedule task [2022-08-04T09:20:31.461Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-04T09:20:31.647Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-04T09:20:31.647Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-04T09:20:31.647Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-04T09:20:31.911Z] Executing busybox-1.35.0-r13.trigger [2022-08-04T09:20:31.911Z] OK: 216 MiB in 55 packages [2022-08-04T09:20:32.215Z] Removing intermediate container b1f7e09d47ce [2022-08-04T09:20:32.215Z] ---> eff57802acb1 [2022-08-04T09:20:32.215Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-04T09:20:32.486Z] ---> 308c32bbc6e2 [2022-08-04T09:20:32.486Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T09:20:32.486Z] ---> Running in ca04949e66cb [2022-08-04T09:20:50.685Z] Removing intermediate container ca04949e66cb [2022-08-04T09:20:50.685Z] ---> 1d82d9c1da10 [2022-08-04T09:20:50.685Z] Step 10/12 : COPY . . [2022-08-04T09:20:50.950Z] ---> 7261f7ebca2b [2022-08-04T09:20:50.950Z] Step 11/12 : ARG MAKE='make build' [2022-08-04T09:20:50.950Z] ---> Running in c9eb92509f38 [2022-08-04T09:20:50.950Z] Removing intermediate container c9eb92509f38 [2022-08-04T09:20:50.950Z] ---> 4bbab0c7ac5c [2022-08-04T09:20:50.950Z] Step 12/12 : RUN $MAKE [2022-08-04T09:20:51.211Z] ---> Running in 0a8e8abe2397 [2022-08-04T09:20:51.473Z] noop [2022-08-04T09:20:51.735Z] Removing intermediate container 0a8e8abe2397 [2022-08-04T09:20:51.735Z] ---> a7fdbf61fe08 [2022-08-04T09:20:51.735Z] Successfully built a7fdbf61fe08 [2022-08-04T09:20:51.735Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:20:52.060Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-04T09:20:52.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:20:52.156Z] prd-ubuntu20.04-docker-8c-8g-21925 does not seem to be running inside a container [2022-08-04T09:20:52.199Z] $ 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-04T09:20:52.613Z] $ docker top eb7b87a166d5fdb477c1b778a9e6046dd5d817d67c20768c5c3da4032314a464 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T09:20:52.984Z] + go version [2022-08-04T09:20:52.984Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-04T09:20:53.002Z] $ docker stop --time=1 eb7b87a166d5fdb477c1b778a9e6046dd5d817d67c20768c5c3da4032314a464 [2022-08-04T09:20:54.308Z] $ docker rm -f eb7b87a166d5fdb477c1b778a9e6046dd5d817d67c20768c5c3da4032314a464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:20:54.744Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-04T09:20:54.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:20:54.836Z] prd-ubuntu20.04-docker-8c-8g-21925 does not seem to be running inside a container [2022-08-04T09:20:54.883Z] $ 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-04T09:20:55.308Z] $ docker top b4c4c5d51dbfa424f708bdcafd0943db688d33730bf36b5aa0376d2b23307f4c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T09:20:55.677Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-298 [Pipeline] fileExists [Pipeline] sh [2022-08-04T09:20:55.981Z] + make test [2022-08-04T09:20:55.981Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-04T09:20:56.553Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-04T09:21:06.542Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-04T09:21:07.116Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.051s coverage: 65.7% of statements [2022-08-04T09:21:15.249Z] 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-04T09:21:15.249Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-04T09:21:17.806Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-04T09:21:18.067Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-04T09:21:18.067Z] ./bin/test-attribution-txt.sh [2022-08-04T09:21:18.067Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-04T09:21:18.067Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-04T09:21:18.067Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-04T09:21:18.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-04T09:21:18.094Z] $ docker stop --time=1 b4c4c5d51dbfa424f708bdcafd0943db688d33730bf36b5aa0376d2b23307f4c [2022-08-04T09:21:20.015Z] $ docker rm -f b4c4c5d51dbfa424f708bdcafd0943db688d33730bf36b5aa0376d2b23307f4c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-04T09:21:20.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-04T09:21:20.526Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-04T09:21:21.044Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-04T09:21:21.334Z] + ls -al . [2022-08-04T09:21:21.334Z] total 192 [2022-08-04T09:21:21.334Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 4 09:20 . [2022-08-04T09:21:21.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:19 .. [2022-08-04T09:21:21.334Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 09:21 .git [2022-08-04T09:21:21.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:19 .github [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 4 09:19 .gitignore [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 09:19 .golangci.yml [2022-08-04T09:21:21.334Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 09:20 .semver [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 4 09:19 Attribution.txt [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 4 09:19 CHANGELOG.md [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 4 09:19 Dockerfile [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 09:19 GOVERNANCE.md [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 4 09:19 Jenkinsfile [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 09:19 LICENSE [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 4 09:19 Makefile [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 4 09:19 OWNERS.md [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 4 09:19 README.md [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 09:20 VERSION [2022-08-04T09:21:21.334Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 09:19 bin [2022-08-04T09:21:21.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:19 cmd [2022-08-04T09:21:21.334Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 4 09:21 coverage.out [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 4 09:19 go.mod [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 4 09:19 go.sum [2022-08-04T09:21:21.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:19 internal [2022-08-04T09:21:21.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:19 snap [2022-08-04T09:21:21.334Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 4 09:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:21:21.658Z] + 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=79c56e8a79ce92b2e378909672f37466d5741463 --label arch=amd64 --label version=0.0.0 . [2022-08-04T09:21:21.658Z] Sending build context to Docker daemon 23.14MB [2022-08-04T09:21:21.658Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T09:21:21.658Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-04T09:21:21.658Z] ---> a7fdbf61fe08 [2022-08-04T09:21:21.658Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T09:21:21.917Z] ---> Running in d60b11860b5c [2022-08-04T09:21:21.917Z] Removing intermediate container d60b11860b5c [2022-08-04T09:21:21.917Z] ---> e84c7b73b60a [2022-08-04T09:21:21.917Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T09:21:22.177Z] ---> Running in d313d552eb93 [2022-08-04T09:21:22.177Z] Removing intermediate container d313d552eb93 [2022-08-04T09:21:22.177Z] ---> 8f41f868482e [2022-08-04T09:21:22.177Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-04T09:21:22.177Z] ---> Running in f9a638a05649 [2022-08-04T09:21:22.436Z] Removing intermediate container f9a638a05649 [2022-08-04T09:21:22.436Z] ---> e3f6bd6d43f8 [2022-08-04T09:21:22.437Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T09:21:22.437Z] ---> Running in ecb57adba81d [2022-08-04T09:21:23.019Z] Removing intermediate container ecb57adba81d [2022-08-04T09:21:23.019Z] ---> 633f8f9a5656 [2022-08-04T09:21:23.019Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T09:21:23.019Z] ---> Running in 74dc16863555 [2022-08-04T09:21:23.279Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-04T09:21:24.221Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-04T09:21:24.490Z] OK: 216 MiB in 55 packages [2022-08-04T09:21:24.752Z] Removing intermediate container 74dc16863555 [2022-08-04T09:21:24.752Z] ---> e520dc2d8cf5 [2022-08-04T09:21:24.752Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-04T09:21:25.013Z] ---> d98a172f1250 [2022-08-04T09:21:25.013Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T09:21:25.013Z] ---> Running in 95b66e08817a [2022-08-04T09:21:25.954Z] Removing intermediate container 95b66e08817a [2022-08-04T09:21:25.954Z] ---> e7cde81fa136 [2022-08-04T09:21:25.954Z] Step 10/26 : COPY . . [2022-08-04T09:21:26.215Z] ---> e422e8e00c38 [2022-08-04T09:21:26.215Z] Step 11/26 : ARG MAKE='make build' [2022-08-04T09:21:26.215Z] ---> Running in 0a3d88c8c33f [2022-08-04T09:21:26.475Z] Removing intermediate container 0a3d88c8c33f [2022-08-04T09:21:26.475Z] ---> 6b285ad57cc2 [2022-08-04T09:21:26.475Z] Step 12/26 : RUN $MAKE [2022-08-04T09:21:26.475Z] ---> Running in 57f994ff9d91 [2022-08-04T09:21:26.734Z] 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-04T09:21:48.683Z] Removing intermediate container 57f994ff9d91 [2022-08-04T09:21:48.683Z] ---> d5f8c7ae190f [2022-08-04T09:21:48.683Z] Step 13/26 : FROM alpine:3.16 [2022-08-04T09:21:48.683Z] 3.16: Pulling from library/alpine [2022-08-04T09:21:48.683Z] 530afca65e2e: Pulling fs layer [2022-08-04T09:21:48.683Z] 530afca65e2e: Verifying Checksum [2022-08-04T09:21:48.683Z] 530afca65e2e: Download complete [2022-08-04T09:21:48.683Z] 530afca65e2e: Pull complete [2022-08-04T09:21:48.683Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-04T09:21:48.683Z] Status: Downloaded newer image for alpine:3.16 [2022-08-04T09:21:48.683Z] ---> d7d3d98c851f [2022-08-04T09:21:48.683Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-04T09:21:48.683Z] ---> Running in 07e60f75f28f [2022-08-04T09:21:48.683Z] Removing intermediate container 07e60f75f28f [2022-08-04T09:21:48.683Z] ---> a89ef43f99b8 [2022-08-04T09:21:48.683Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T09:21:48.683Z] ---> Running in d95e4bef67ef [2022-08-04T09:21:49.254Z] Removing intermediate container d95e4bef67ef [2022-08-04T09:21:49.254Z] ---> badd1e79cd57 [2022-08-04T09:21:49.254Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-04T09:21:49.254Z] ---> Running in e6d1783fe3df [2022-08-04T09:21:49.514Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-04T09:21:50.455Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-04T09:21:50.715Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-04T09:21:50.977Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-04T09:21:50.977Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-04T09:21:50.977Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-04T09:21:51.237Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-04T09:21:51.237Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-04T09:21:51.237Z] Executing busybox-1.35.0-r15.trigger [2022-08-04T09:21:51.237Z] OK: 8 MiB in 20 packages [2022-08-04T09:21:51.809Z] Removing intermediate container e6d1783fe3df [2022-08-04T09:21:51.809Z] ---> b58fc55260d2 [2022-08-04T09:21:51.809Z] Step 17/26 : WORKDIR / [2022-08-04T09:21:51.809Z] ---> Running in ee91544161c8 [2022-08-04T09:21:51.809Z] Removing intermediate container ee91544161c8 [2022-08-04T09:21:51.809Z] ---> a8a5ba2045ab [2022-08-04T09:21:51.809Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-04T09:21:52.072Z] ---> 701599702afd [2022-08-04T09:21:52.072Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-04T09:21:52.072Z] ---> 5220a3b253b8 [2022-08-04T09:21:52.072Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-04T09:21:53.027Z] ---> 884bec443b4e [2022-08-04T09:21:53.027Z] Step 21/26 : EXPOSE 59900 [2022-08-04T09:21:53.027Z] ---> Running in a857279a8e97 [2022-08-04T09:21:53.027Z] Removing intermediate container a857279a8e97 [2022-08-04T09:21:53.027Z] ---> 58f9366a43a9 [2022-08-04T09:21:53.027Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-04T09:21:53.027Z] ---> Running in 4c86742b65d6 [2022-08-04T09:21:53.027Z] Removing intermediate container 4c86742b65d6 [2022-08-04T09:21:53.027Z] ---> a1baa1be7c94 [2022-08-04T09:21:53.027Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-04T09:21:53.027Z] ---> Running in 36195d165b15 [2022-08-04T09:21:53.289Z] Removing intermediate container 36195d165b15 [2022-08-04T09:21:53.289Z] ---> e1c8e8dc1c94 [2022-08-04T09:21:53.289Z] Step 24/26 : LABEL arch=amd64 [2022-08-04T09:21:53.289Z] ---> Running in 9a7962a63a75 [2022-08-04T09:21:53.289Z] Removing intermediate container 9a7962a63a75 [2022-08-04T09:21:53.289Z] ---> 0789a8798426 [2022-08-04T09:21:53.289Z] Step 25/26 : LABEL git_sha=79c56e8a79ce92b2e378909672f37466d5741463 [2022-08-04T09:21:53.289Z] ---> Running in 384de8396305 [2022-08-04T09:21:53.556Z] Removing intermediate container 384de8396305 [2022-08-04T09:21:53.556Z] ---> fc113dc6e8e1 [2022-08-04T09:21:53.556Z] Step 26/26 : LABEL version=0.0.0 [2022-08-04T09:21:53.556Z] ---> Running in 8ce3623d37d3 [2022-08-04T09:21:53.556Z] Removing intermediate container 8ce3623d37d3 [2022-08-04T09:21:53.556Z] ---> a98f685fa9fc [2022-08-04T09:21:53.556Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-04T09:21:53.556Z] Successfully built a98f685fa9fc [2022-08-04T09:21:53.556Z] 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-04T09:21:54.041Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T09:21:54.041Z] [2022-08-04T09:21:54.041Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:21:54.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T09:21:54.385Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-04T09:21:54.385Z] 5eb5b503b376: Pulling fs layer [2022-08-04T09:21:54.385Z] 5c69ac0246d0: Pulling fs layer [2022-08-04T09:21:54.385Z] ec43610c2a17: Pulling fs layer [2022-08-04T09:21:54.385Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-04T09:21:54.385Z] 33b1e0a273af: Pulling fs layer [2022-08-04T09:21:54.385Z] 5d3b04190fa2: Pulling fs layer [2022-08-04T09:21:54.385Z] 2f39f015ded8: Pulling fs layer [2022-08-04T09:21:54.385Z] 5d3b04190fa2: Waiting [2022-08-04T09:21:54.385Z] 33b1e0a273af: Waiting [2022-08-04T09:21:54.385Z] 2f39f015ded8: Waiting [2022-08-04T09:21:54.385Z] 3a2ae6a8a46f: Waiting [2022-08-04T09:21:54.385Z] 5c69ac0246d0: Verifying Checksum [2022-08-04T09:21:54.385Z] 5c69ac0246d0: Download complete [2022-08-04T09:21:54.385Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-04T09:21:54.385Z] 3a2ae6a8a46f: Download complete [2022-08-04T09:21:54.385Z] 33b1e0a273af: Verifying Checksum [2022-08-04T09:21:54.385Z] 33b1e0a273af: Download complete [2022-08-04T09:21:54.385Z] ec43610c2a17: Verifying Checksum [2022-08-04T09:21:54.385Z] ec43610c2a17: Download complete [2022-08-04T09:21:54.645Z] 5d3b04190fa2: Download complete [2022-08-04T09:21:54.645Z] 5eb5b503b376: Download complete [2022-08-04T09:21:55.214Z] 2f39f015ded8: Download complete [2022-08-04T09:21:56.155Z] 5eb5b503b376: Pull complete [2022-08-04T09:21:56.155Z] 5c69ac0246d0: Pull complete [2022-08-04T09:21:56.726Z] ec43610c2a17: Pull complete [2022-08-04T09:21:56.726Z] 3a2ae6a8a46f: Pull complete [2022-08-04T09:21:56.985Z] 33b1e0a273af: Pull complete [2022-08-04T09:21:56.985Z] 5d3b04190fa2: Pull complete [2022-08-04T09:22:02.341Z] 2f39f015ded8: Pull complete [2022-08-04T09:22:02.341Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-04T09:22:02.341Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T09:22:02.341Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:22:02.441Z] prd-ubuntu20.04-docker-8c-8g-21925 does not seem to be running inside a container [2022-08-04T09:22:02.480Z] $ 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-04T09:22:04.353Z] $ docker top 884f42b93a2fb39e1d353f3853d8bb49d38c267fef10faf76c9584a6706f6190 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:22:04.768Z] ---> job-cost.sh [2022-08-04T09:22:04.768Z] lf-activate-venv: SKIPPING [2022-08-04T09:22:04.768Z] INFO: No Stack... [2022-08-04T09:22:05.336Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-04T09:22:05.595Z] INFO: Archiving Costs [Pipeline] sh [2022-08-04T09:22:05.886Z] + cat /w/workspace/foundry_device-virtual-go_PR-298/archives/cost.csv [2022-08-04T09:22:05.886Z] + cut -d, -f6 [Pipeline] lock [2022-08-04T09:22:05.897Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-298-3-stack-cost] [2022-08-04T09:22:05.903Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-298-3-stack-cost] did not exist. Created. [2022-08-04T09:22:05.903Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-298-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-04T09:22:06.212Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-04T09:22:06.244Z] Stashed 1 file(s) [Pipeline] } [2022-08-04T09:22:06.251Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-298-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-04T09:22:06.274Z] $ docker stop --time=1 884f42b93a2fb39e1d353f3853d8bb49d38c267fef10faf76c9584a6706f6190 [2022-08-04T09:22:07.467Z] $ docker rm -f 884f42b93a2fb39e1d353f3853d8bb49d38c267fef10faf76c9584a6706f6190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-04T09:22:07.666Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21926 in /w/workspace/foundry_device-virtual-go_PR-298 [Pipeline] { [Pipeline] ws [2022-08-04T09:22:07.678Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2022-08-04T09:22:07.729Z] The recommended git tool is: git [2022-08-04T09:22:14.434Z] using credential edgex-jenkins-ssh [2022-08-04T09:22:14.454Z] Cloning the remote Git repository [2022-08-04T09:22:14.508Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-08-04T09:22:14.586Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2022-08-04T09:22:14.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-04T09:22:14.677Z] > git --version # timeout=10 [2022-08-04T09:22:14.697Z] > git --version # 'git version 2.25.1' [2022-08-04T09:22:14.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-04T09:22:14.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-04T09:22:17.439Z] Merging remotes/origin/main commit 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 into PR head commit 79c56e8a79ce92b2e378909672f37466d5741463 [2022-08-04T09:22:17.654Z] Merge succeeded, producing 79c56e8a79ce92b2e378909672f37466d5741463 [2022-08-04T09:22:17.655Z] Checking out Revision 79c56e8a79ce92b2e378909672f37466d5741463 (PR-298) [2022-08-04T09:22:16.816Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-04T09:22:16.835Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-04T09:22:16.868Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-04T09:22:16.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-04T09:22:16.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-04T09:22:16.922Z] > 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-04T09:22:17.459Z] > git config core.sparsecheckout # timeout=10 [2022-08-04T09:22:17.479Z] > git checkout -f 79c56e8a79ce92b2e378909672f37466d5741463 # timeout=10 [2022-08-04T09:22:17.565Z] > git remote # timeout=10 [2022-08-04T09:22:17.592Z] > git config --get remote.origin.url # timeout=10 [2022-08-04T09:22:17.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-04T09:22:17.618Z] > git merge 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 # timeout=10 [2022-08-04T09:22:17.642Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-04T09:22:17.663Z] > git config core.sparsecheckout # timeout=10 [2022-08-04T09:22:17.677Z] > git checkout -f 79c56e8a79ce92b2e378909672f37466d5741463 # timeout=10 [2022-08-04T09:22:21.851Z] Commit message: "ci(snap): Switch build action `uses` back to canonical repo" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-04T09:22:22.808Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-04T09:22:22.808Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-04T09:22:22.808Z] Dload Upload Total Spent Left Speed [2022-08-04T09:22:22.808Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 92721 0 --:--:-- --:--:-- --:--:-- 92721 [Pipeline] sh [2022-08-04T09:22:23.542Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-04T09:22:23.888Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-04T09:22:23.888Z] + sudo tee /etc/docker/daemon.new [2022-08-04T09:22:23.888Z] { [2022-08-04T09:22:23.888Z] "registry-mirrors": [ [2022-08-04T09:22:23.888Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-04T09:22:23.888Z] ], [2022-08-04T09:22:23.888Z] "bip": "10.250.0.254/24", [2022-08-04T09:22:23.888Z] "hosts": [ [2022-08-04T09:22:23.888Z] "tcp://0.0.0.0:5555", [2022-08-04T09:22:23.888Z] "unix:///var/run/docker.sock" [2022-08-04T09:22:23.888Z] ], [2022-08-04T09:22:23.888Z] "mtu": 1458, [2022-08-04T09:22:23.888Z] "selinux-enabled": true, [2022-08-04T09:22:23.888Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-04T09:22:23.888Z] } [Pipeline] sh [2022-08-04T09:22:24.236Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-04T09:22:24.576Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-04T09:22:42.919Z] provisioning config files... [2022-08-04T09:22:42.942Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config3135499535574355200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:22:43.301Z] ---> docker-login.sh [2022-08-04T09:22:43.302Z] nexus3.edgexfoundry.org:10001 [2022-08-04T09:22:43.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:22:44.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:22:44.174Z] Configure a credential helper to remove this warning. See [2022-08-04T09:22:44.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:22:44.174Z] [2022-08-04T09:22:44.174Z] Login Succeeded [2022-08-04T09:22:44.174Z] nexus3.edgexfoundry.org:10002 [2022-08-04T09:22:44.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:22:44.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:22:44.722Z] Configure a credential helper to remove this warning. See [2022-08-04T09:22:44.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:22:44.722Z] [2022-08-04T09:22:44.722Z] Login Succeeded [2022-08-04T09:22:44.722Z] nexus3.edgexfoundry.org:10003 [2022-08-04T09:22:44.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:22:44.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:22:44.997Z] Configure a credential helper to remove this warning. See [2022-08-04T09:22:44.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:22:44.997Z] [2022-08-04T09:22:44.997Z] Login Succeeded [2022-08-04T09:22:44.997Z] nexus3.edgexfoundry.org:10004 [2022-08-04T09:22:45.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:22:45.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:22:45.597Z] Configure a credential helper to remove this warning. See [2022-08-04T09:22:45.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:22:45.597Z] [2022-08-04T09:22:45.597Z] Login Succeeded [2022-08-04T09:22:45.597Z] docker.io [2022-08-04T09:22:45.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:22:46.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:22:46.467Z] Configure a credential helper to remove this warning. See [2022-08-04T09:22:46.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:22:46.467Z] [2022-08-04T09:22:46.467Z] Login Succeeded [2022-08-04T09:22:46.467Z] ---> docker-login.sh ends [Pipeline] } [2022-08-04T09:22:46.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-04T09:22:47.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T09:22:47.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T09:22:47.064Z] ========================================================= [2022-08-04T09:22:47.064Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-04T09:22:47.064Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:22:47.429Z] + 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-04T09:22:48.039Z] Sending build context to Docker daemon 11.69MB [2022-08-04T09:22:48.039Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T09:22:48.039Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-04T09:22:48.039Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-04T09:22:48.039Z] b3c136eddcbf: Pulling fs layer [2022-08-04T09:22:48.039Z] c0a3192eca97: Pulling fs layer [2022-08-04T09:22:48.039Z] a050256f5b6f: Pulling fs layer [2022-08-04T09:22:48.039Z] 656be50a0ddc: Pulling fs layer [2022-08-04T09:22:48.039Z] 2bbca73fdf42: Pulling fs layer [2022-08-04T09:22:48.039Z] 46d945488cbd: Pulling fs layer [2022-08-04T09:22:48.039Z] 8a5474983e97: Pulling fs layer [2022-08-04T09:22:48.039Z] 329c88fbcd65: Pulling fs layer [2022-08-04T09:22:48.039Z] 2bbca73fdf42: Waiting [2022-08-04T09:22:48.039Z] 656be50a0ddc: Waiting [2022-08-04T09:22:48.039Z] 46d945488cbd: Waiting [2022-08-04T09:22:48.039Z] 8a5474983e97: Waiting [2022-08-04T09:22:48.039Z] a050256f5b6f: Verifying Checksum [2022-08-04T09:22:48.039Z] a050256f5b6f: Download complete [2022-08-04T09:22:48.039Z] c0a3192eca97: Verifying Checksum [2022-08-04T09:22:48.039Z] c0a3192eca97: Download complete [2022-08-04T09:22:48.039Z] 2bbca73fdf42: Download complete [2022-08-04T09:22:48.039Z] 46d945488cbd: Verifying Checksum [2022-08-04T09:22:48.039Z] 46d945488cbd: Download complete [2022-08-04T09:22:48.315Z] b3c136eddcbf: Verifying Checksum [2022-08-04T09:22:48.919Z] b3c136eddcbf: Pull complete [2022-08-04T09:22:49.198Z] 329c88fbcd65: Verifying Checksum [2022-08-04T09:22:49.198Z] 329c88fbcd65: Download complete [2022-08-04T09:22:49.807Z] c0a3192eca97: Pull complete [2022-08-04T09:22:49.807Z] a050256f5b6f: Pull complete [2022-08-04T09:22:50.410Z] 8a5474983e97: Download complete [2022-08-04T09:22:51.005Z] 656be50a0ddc: Verifying Checksum [2022-08-04T09:22:51.005Z] 656be50a0ddc: Download complete [2022-08-04T09:23:03.420Z] 656be50a0ddc: Pull complete [2022-08-04T09:23:03.692Z] 2bbca73fdf42: Pull complete [2022-08-04T09:23:03.964Z] 46d945488cbd: Pull complete [2022-08-04T09:23:10.680Z] 8a5474983e97: Pull complete [2022-08-04T09:23:12.666Z] 329c88fbcd65: Pull complete [2022-08-04T09:23:12.666Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-04T09:23:12.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-04T09:23:12.666Z] ---> ff4287adb874 [2022-08-04T09:23:12.666Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T09:23:14.135Z] ---> Running in 5ec357576c5d [2022-08-04T09:23:15.573Z] Removing intermediate container 5ec357576c5d [2022-08-04T09:23:15.573Z] ---> c1d052a28522 [2022-08-04T09:23:15.573Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T09:23:15.573Z] ---> Running in 393d36dbb580 [2022-08-04T09:23:15.850Z] Removing intermediate container 393d36dbb580 [2022-08-04T09:23:15.850Z] ---> 5ba7694bfd64 [2022-08-04T09:23:15.850Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-04T09:23:15.850Z] ---> Running in fdc0444dc108 [2022-08-04T09:23:16.125Z] Removing intermediate container fdc0444dc108 [2022-08-04T09:23:16.125Z] ---> 8d2729fe1461 [2022-08-04T09:23:16.125Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T09:23:16.125Z] ---> Running in 376a8a8e3ec2 [2022-08-04T09:23:18.105Z] Removing intermediate container 376a8a8e3ec2 [2022-08-04T09:23:18.105Z] ---> cc24bc89f2f8 [2022-08-04T09:23:18.105Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T09:23:18.105Z] ---> Running in 8bc502cdcd64 [2022-08-04T09:23:19.087Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-04T09:23:20.065Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-04T09:23:20.661Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-04T09:23:20.934Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-04T09:23:20.934Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-04T09:23:21.211Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-04T09:23:21.211Z] Executing busybox-1.35.0-r13.trigger [2022-08-04T09:23:21.211Z] OK: 226 MiB in 55 packages [2022-08-04T09:23:22.196Z] Removing intermediate container 8bc502cdcd64 [2022-08-04T09:23:22.196Z] ---> 3c4c9da0236c [2022-08-04T09:23:22.196Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-04T09:23:22.788Z] ---> f87420ab22e6 [2022-08-04T09:23:22.788Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T09:23:22.788Z] ---> Running in 6c1973392854 [2022-08-04T09:24:09.774Z] Removing intermediate container 6c1973392854 [2022-08-04T09:24:09.774Z] ---> a877d20cda36 [2022-08-04T09:24:09.774Z] Step 10/12 : COPY . . [2022-08-04T09:24:09.774Z] ---> b6d23b4ea611 [2022-08-04T09:24:09.774Z] Step 11/12 : ARG MAKE='make build' [2022-08-04T09:24:09.774Z] ---> Running in 92ab4dfb3602 [2022-08-04T09:24:10.055Z] Removing intermediate container 92ab4dfb3602 [2022-08-04T09:24:10.055Z] ---> 8ad85c3b7c2a [2022-08-04T09:24:10.055Z] Step 12/12 : RUN $MAKE [2022-08-04T09:24:10.055Z] ---> Running in a85701a7394e [2022-08-04T09:24:11.036Z] noop [2022-08-04T09:24:11.634Z] Removing intermediate container a85701a7394e [2022-08-04T09:24:11.635Z] ---> c7ea03566256 [2022-08-04T09:24:11.635Z] Successfully built c7ea03566256 [2022-08-04T09:24:11.906Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:24:12.274Z] + docker inspect -f . ci-base-image-arm64 [2022-08-04T09:24:12.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:24:12.511Z] prd-ubuntu20.04-docker-arm64-4c-16g-21926 does not seem to be running inside a container [2022-08-04T09:24:12.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-04T09:24:13.867Z] $ docker top 951fdac34c7f346cd70f4612d43d53b2d7f484455a7d109ebd82b61299adaa85 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T09:24:14.799Z] + go version [2022-08-04T09:24:14.799Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-04T09:24:14.829Z] $ docker stop --time=1 951fdac34c7f346cd70f4612d43d53b2d7f484455a7d109ebd82b61299adaa85 [2022-08-04T09:24:16.463Z] $ docker rm -f 951fdac34c7f346cd70f4612d43d53b2d7f484455a7d109ebd82b61299adaa85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:24:17.080Z] + docker inspect -f . ci-base-image-arm64 [2022-08-04T09:24:17.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:24:17.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-21926 does not seem to be running inside a container [2022-08-04T09:24:17.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-04T09:24:18.704Z] $ docker top c0475e465a0b6c93134222e0bd6f5ebbcf35727b08fb58d3ddef094b9e1471ec -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T09:24:19.624Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh [2022-08-04T09:24:20.304Z] + make test [2022-08-04T09:24:20.304Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-04T09:24:21.750Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-04T09:25:43.625Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-04T09:25:43.625Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.129s coverage: 65.7% of statements [2022-08-04T09:25:43.625Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-04T09:25:43.625Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-04T09:25:58.769Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-04T09:25:58.769Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-04T09:25:58.769Z] ./bin/test-attribution-txt.sh [2022-08-04T09:25:58.769Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-04T09:25:58.769Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-04T09:25:58.769Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-04T09:25:58.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-04T09:25:58.815Z] $ docker stop --time=1 c0475e465a0b6c93134222e0bd6f5ebbcf35727b08fb58d3ddef094b9e1471ec [2022-08-04T09:26:00.591Z] $ docker rm -f c0475e465a0b6c93134222e0bd6f5ebbcf35727b08fb58d3ddef094b9e1471ec [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-04T09:26:01.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-04T09:26:01.559Z] Warning: overwriting stash ‘coverage-report’ [2022-08-04T09:26:02.045Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-04T09:26:02.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-04T09:26:02.768Z] + ls -al . [2022-08-04T09:26:02.768Z] total 188 [2022-08-04T09:26:02.768Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 09:24 . [2022-08-04T09:26:02.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:22 .. [2022-08-04T09:26:02.768Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 09:22 .git [2022-08-04T09:26:02.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:22 .github [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 4 09:22 .gitignore [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 09:22 .golangci.yml [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 4 09:22 Attribution.txt [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 4 09:22 CHANGELOG.md [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 4 09:22 Dockerfile [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 09:22 GOVERNANCE.md [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 4 09:22 Jenkinsfile [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 09:22 LICENSE [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 4 09:22 Makefile [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 4 09:22 OWNERS.md [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 4 09:22 README.md [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 09:20 VERSION [2022-08-04T09:26:02.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 09:22 bin [2022-08-04T09:26:02.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:22 cmd [2022-08-04T09:26:02.768Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 4 09:25 coverage.out [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 4 09:22 go.mod [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 4 09:22 go.sum [2022-08-04T09:26:02.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:22 internal [2022-08-04T09:26:02.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:22 snap [2022-08-04T09:26:02.768Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 4 09:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:26:03.139Z] + 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=79c56e8a79ce92b2e378909672f37466d5741463 --label arch=arm64 --label version=0.0.0 . [2022-08-04T09:26:03.412Z] Sending build context to Docker daemon 11.73MB [2022-08-04T09:26:03.687Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T09:26:03.687Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-04T09:26:03.687Z] ---> c7ea03566256 [2022-08-04T09:26:03.687Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T09:26:03.687Z] ---> Running in a94ea0e6c3f4 [2022-08-04T09:26:03.961Z] Removing intermediate container a94ea0e6c3f4 [2022-08-04T09:26:03.961Z] ---> 3de9829d88a1 [2022-08-04T09:26:03.961Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T09:26:04.236Z] ---> Running in ae5c0079aad9 [2022-08-04T09:26:04.510Z] Removing intermediate container ae5c0079aad9 [2022-08-04T09:26:04.510Z] ---> 27d8dc0fb5a2 [2022-08-04T09:26:04.510Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-04T09:26:04.510Z] ---> Running in eb2ba7d9f2c6 [2022-08-04T09:26:04.796Z] Removing intermediate container eb2ba7d9f2c6 [2022-08-04T09:26:04.796Z] ---> d89ab1080e56 [2022-08-04T09:26:04.796Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T09:26:04.796Z] ---> Running in 39b1caf4f57e [2022-08-04T09:26:06.771Z] Removing intermediate container 39b1caf4f57e [2022-08-04T09:26:06.771Z] ---> e6ada423cb98 [2022-08-04T09:26:06.771Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T09:26:06.771Z] ---> Running in 8723a888c4b1 [2022-08-04T09:26:07.365Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-04T09:26:08.338Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-04T09:26:09.315Z] OK: 226 MiB in 55 packages [2022-08-04T09:26:09.914Z] Removing intermediate container 8723a888c4b1 [2022-08-04T09:26:09.914Z] ---> 837fdd514d2b [2022-08-04T09:26:09.914Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-04T09:26:10.511Z] ---> 9dd915825dc1 [2022-08-04T09:26:10.511Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T09:26:10.511Z] ---> Running in bef5f948316e [2022-08-04T09:26:12.499Z] Removing intermediate container bef5f948316e [2022-08-04T09:26:12.499Z] ---> 6b71fa7d70ab [2022-08-04T09:26:12.499Z] Step 10/26 : COPY . . [2022-08-04T09:26:13.491Z] ---> c16d70217d35 [2022-08-04T09:26:13.491Z] Step 11/26 : ARG MAKE='make build' [2022-08-04T09:26:13.763Z] ---> Running in 7c3c75f64fa7 [2022-08-04T09:26:14.033Z] Removing intermediate container 7c3c75f64fa7 [2022-08-04T09:26:14.033Z] ---> b40d01f50f7d [2022-08-04T09:26:14.033Z] Step 12/26 : RUN $MAKE [2022-08-04T09:26:14.033Z] ---> Running in 4834d9f13f05 [2022-08-04T09:26:15.041Z] 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-04T09:28:21.977Z] Removing intermediate container 4834d9f13f05 [2022-08-04T09:28:21.977Z] ---> 2dae7dd3814f [2022-08-04T09:28:21.977Z] Step 13/26 : FROM alpine:3.16 [2022-08-04T09:28:21.977Z] 3.16: Pulling from library/alpine [2022-08-04T09:28:21.977Z] f97344484467: Pulling fs layer [2022-08-04T09:28:21.977Z] f97344484467: Verifying Checksum [2022-08-04T09:28:21.977Z] f97344484467: Download complete [2022-08-04T09:28:21.977Z] f97344484467: Pull complete [2022-08-04T09:28:21.977Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-04T09:28:21.977Z] Status: Downloaded newer image for alpine:3.16 [2022-08-04T09:28:21.977Z] ---> 3d81c46cd875 [2022-08-04T09:28:21.977Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-04T09:28:21.977Z] ---> Running in 94e539685e94 [2022-08-04T09:28:21.977Z] Removing intermediate container 94e539685e94 [2022-08-04T09:28:21.977Z] ---> c9da6f7e121a [2022-08-04T09:28:21.977Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T09:28:21.977Z] ---> Running in c4a37dd0774b [2022-08-04T09:28:21.977Z] Removing intermediate container c4a37dd0774b [2022-08-04T09:28:21.977Z] ---> 8fe635acb3e1 [2022-08-04T09:28:21.977Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-04T09:28:21.977Z] ---> Running in ec3d4a18c36b [2022-08-04T09:28:21.977Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-04T09:28:21.977Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-04T09:28:21.977Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-04T09:28:21.977Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-04T09:28:21.977Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-04T09:28:21.977Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-04T09:28:21.977Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-04T09:28:21.977Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-04T09:28:21.977Z] Executing busybox-1.35.0-r15.trigger [2022-08-04T09:28:21.977Z] OK: 8 MiB in 20 packages [2022-08-04T09:28:22.253Z] Removing intermediate container ec3d4a18c36b [2022-08-04T09:28:22.253Z] ---> 10d03bc1319d [2022-08-04T09:28:22.253Z] Step 17/26 : WORKDIR / [2022-08-04T09:28:22.253Z] ---> Running in 7d72cf5c8bc0 [2022-08-04T09:28:22.857Z] Removing intermediate container 7d72cf5c8bc0 [2022-08-04T09:28:22.857Z] ---> bad23dc43f0d [2022-08-04T09:28:22.857Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-04T09:28:23.131Z] ---> af8472b58811 [2022-08-04T09:28:23.131Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-04T09:28:23.734Z] ---> beab4fc3898e [2022-08-04T09:28:23.734Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-04T09:28:25.177Z] ---> 4c8b8c08c29e [2022-08-04T09:28:25.177Z] Step 21/26 : EXPOSE 59900 [2022-08-04T09:28:25.177Z] ---> Running in 0a3e8e3ff984 [2022-08-04T09:28:25.775Z] Removing intermediate container 0a3e8e3ff984 [2022-08-04T09:28:25.775Z] ---> 788ab8c79d68 [2022-08-04T09:28:25.775Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-04T09:28:25.775Z] ---> Running in 8a1e438710f8 [2022-08-04T09:28:26.051Z] Removing intermediate container 8a1e438710f8 [2022-08-04T09:28:26.051Z] ---> f12e729bc115 [2022-08-04T09:28:26.051Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-04T09:28:26.051Z] ---> Running in cc861dde605e [2022-08-04T09:28:26.327Z] Removing intermediate container cc861dde605e [2022-08-04T09:28:26.327Z] ---> f58d67c1cb73 [2022-08-04T09:28:26.327Z] Step 24/26 : LABEL arch=arm64 [2022-08-04T09:28:26.327Z] ---> Running in e3a06b316ff2 [2022-08-04T09:28:26.600Z] Removing intermediate container e3a06b316ff2 [2022-08-04T09:28:26.600Z] ---> 437d3415d868 [2022-08-04T09:28:26.600Z] Step 25/26 : LABEL git_sha=79c56e8a79ce92b2e378909672f37466d5741463 [2022-08-04T09:28:26.876Z] ---> Running in 98fefe081555 [2022-08-04T09:28:27.149Z] Removing intermediate container 98fefe081555 [2022-08-04T09:28:27.149Z] ---> 63fd96920b38 [2022-08-04T09:28:27.149Z] Step 26/26 : LABEL version=0.0.0 [2022-08-04T09:28:27.149Z] ---> Running in 4e48257200b4 [2022-08-04T09:28:27.425Z] Removing intermediate container 4e48257200b4 [2022-08-04T09:28:27.425Z] ---> 24d5726c7f48 [2022-08-04T09:28:27.425Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-04T09:28:27.425Z] Successfully built 24d5726c7f48 [2022-08-04T09:28:27.425Z] 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-04T09:28:27.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-04T09:28:27.904Z] [2022-08-04T09:28:27.904Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:28:28.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-04T09:28:28.537Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-04T09:28:28.537Z] 8998bd30e6a1: Pulling fs layer [2022-08-04T09:28:28.537Z] 04944245beec: Pulling fs layer [2022-08-04T09:28:28.537Z] 699f458cf7ca: Pulling fs layer [2022-08-04T09:28:28.537Z] 765212b225bb: Pulling fs layer [2022-08-04T09:28:28.537Z] f23df028b6ca: Pulling fs layer [2022-08-04T09:28:28.537Z] d65c8cfc05b1: Pulling fs layer [2022-08-04T09:28:28.537Z] 2437ff75d9bd: Pulling fs layer [2022-08-04T09:28:28.537Z] 765212b225bb: Waiting [2022-08-04T09:28:28.537Z] f23df028b6ca: Waiting [2022-08-04T09:28:28.537Z] d65c8cfc05b1: Waiting [2022-08-04T09:28:28.537Z] 2437ff75d9bd: Waiting [2022-08-04T09:28:28.537Z] 04944245beec: Verifying Checksum [2022-08-04T09:28:28.537Z] 04944245beec: Download complete [2022-08-04T09:28:28.537Z] 765212b225bb: Verifying Checksum [2022-08-04T09:28:28.537Z] 765212b225bb: Download complete [2022-08-04T09:28:28.537Z] d65c8cfc05b1: Verifying Checksum [2022-08-04T09:28:28.537Z] d65c8cfc05b1: Download complete [2022-08-04T09:28:28.816Z] 699f458cf7ca: Verifying Checksum [2022-08-04T09:28:28.816Z] 699f458cf7ca: Download complete [2022-08-04T09:28:29.090Z] 8998bd30e6a1: Verifying Checksum [2022-08-04T09:28:29.090Z] 8998bd30e6a1: Download complete [2022-08-04T09:28:31.724Z] 2437ff75d9bd: Download complete [2022-08-04T09:28:33.709Z] 8998bd30e6a1: Pull complete [2022-08-04T09:28:33.984Z] 04944245beec: Pull complete [2022-08-04T09:28:35.419Z] 699f458cf7ca: Pull complete [2022-08-04T09:28:35.695Z] 765212b225bb: Pull complete [2022-08-04T09:28:36.680Z] f23df028b6ca: Pull complete [2022-08-04T09:28:36.680Z] d65c8cfc05b1: Pull complete [2022-08-04T09:28:51.806Z] 2437ff75d9bd: Pull complete [2022-08-04T09:28:51.806Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-04T09:28:51.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-04T09:28:51.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:28:52.082Z] prd-ubuntu20.04-docker-arm64-4c-16g-21926 does not seem to be running inside a container [2022-08-04T09:28:52.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-04T09:28:54.694Z] $ docker top c21e7500987f20d3e71561b60398b02b612b299ee29926205e616a14eae0e2fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:28:55.626Z] ---> job-cost.sh [2022-08-04T09:28:55.626Z] lf-activate-venv: SKIPPING [2022-08-04T09:28:55.626Z] INFO: No Stack... [2022-08-04T09:28:56.225Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-04T09:28:57.204Z] INFO: Archiving Costs [Pipeline] sh [2022-08-04T09:28:57.868Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [2022-08-04T09:28:57.868Z] + cut -d, -f6 [Pipeline] lock [2022-08-04T09:28:57.933Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-298-3-stack-cost] [2022-08-04T09:28:57.940Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-298-3-stack-cost] did not exist. Created. [2022-08-04T09:28:57.940Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-298-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-04T09:28:58.636Z] /w/workspace/device-virtual-go/3@tmp/durable-6a6edfd9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-04T09:28:59.325Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-04T09:28:59.355Z] Warning: overwriting stash ‘stack-cost’ [2022-08-04T09:28:59.403Z] Stashed 1 file(s) [Pipeline] } [2022-08-04T09:28:59.410Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-298-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-04T09:28:59.437Z] $ docker stop --time=1 c21e7500987f20d3e71561b60398b02b612b299ee29926205e616a14eae0e2fd [2022-08-04T09:29:00.937Z] $ docker rm -f c21e7500987f20d3e71561b60398b02b612b299ee29926205e616a14eae0e2fd [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-04T09:29:01.416Z] provisioning config files... [2022-08-04T09:29:01.428Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config1598730949367820550tmp [Pipeline] { [Pipeline] sh [2022-08-04T09:29:01.731Z] + set +x [2022-08-04T09:29:01.731Z] + curl -s https://codecov.io/bash [2022-08-04T09:29:01.731Z] + bash -s -- [2022-08-04T09:29:01.731Z] [2022-08-04T09:29:01.731Z] _____ _ [2022-08-04T09:29:01.731Z] / ____| | | [2022-08-04T09:29:01.731Z] | | ___ __| | ___ ___ _____ __ [2022-08-04T09:29:01.731Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-04T09:29:01.731Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-04T09:29:01.731Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-04T09:29:01.731Z] Bash-1.0.6 [2022-08-04T09:29:01.731Z] [2022-08-04T09:29:01.731Z] [2022-08-04T09:29:01.731Z] ==> git version 2.25.1 found [2022-08-04T09:29:01.731Z] ==> 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-04T09:29:01.731Z] Release-Date: 2020-01-08 [2022-08-04T09:29:01.731Z] 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-04T09:29:01.731Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-04T09:29:01.731Z] ==> Jenkins CI detected. [2022-08-04T09:29:01.731Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-298 [2022-08-04T09:29:01.731Z] project root: . [2022-08-04T09:29:01.731Z] --> token set from env [2022-08-04T09:29:01.731Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-04T09:29:01.731Z] ==> Running gcov in . (disable via -X gcov) [2022-08-04T09:29:01.731Z] ==> Python coveragepy not found [2022-08-04T09:29:01.731Z] ==> Searching for coverage reports in: [2022-08-04T09:29:01.731Z] + . [2022-08-04T09:29:01.993Z] -> Found 1 reports [2022-08-04T09:29:01.993Z] ==> Detecting git/mercurial file structure [2022-08-04T09:29:01.993Z] ==> Reading reports [2022-08-04T09:29:01.993Z] + ./coverage.out bytes=44128 [2022-08-04T09:29:01.993Z] ==> Appending adjustments [2022-08-04T09:29:01.993Z] https://docs.codecov.io/docs/fixing-reports [2022-08-04T09:29:01.993Z] + Found adjustments [2022-08-04T09:29:01.993Z] ==> Gzipping contents [2022-08-04T09:29:01.993Z] 8.0K /tmp/codecov.RbXkML.gz [2022-08-04T09:29:01.993Z] ==> Uploading reports [2022-08-04T09:29:01.993Z] url: https://codecov.io [2022-08-04T09:29:01.993Z] query: branch=PR-298&commit=79c56e8a79ce92b2e378909672f37466d5741463&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-298%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=298&job=&cmd_args= [2022-08-04T09:29:01.993Z] -> Pinging Codecov [2022-08-04T09:29:01.993Z] 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=79c56e8a79ce92b2e378909672f37466d5741463&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-298%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=298&job=&cmd_args= [2022-08-04T09:29:02.565Z] -> Uploading to [2022-08-04T09:29:02.565Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-04/5E52B4B073DB2E39498172D8E973AA87/79c56e8a79ce92b2e378909672f37466d5741463/e828817f-e12a-42ce-bcb9-e6616463542b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220804T092902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb265b018a7f66f3f876e77aede62217fe3c5253738db5c4d65a05b0785cfa08 [2022-08-04T09:29:02.565Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-04T09:29:02.565Z] Dload Upload Total Spent Left Speed [2022-08-04T09:29:02.828Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5537 0 0 100 5537 0 21214 --:--:-- --:--:-- --:--:-- 21296 [2022-08-04T09:29:02.828Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/79c56e8a79ce92b2e378909672f37466d5741463 [Pipeline] } [2022-08-04T09:29:02.838Z] 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-04T09:29:03.576Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-298/archives ] [2022-08-04T09:29:03.576Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-298/archives [2022-08-04T09:29:03.576Z] total 16 [2022-08-04T09:29:03.576Z] drwxr-xr-x 3 root root 4096 Aug 4 09:22 . [2022-08-04T09:29:03.576Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 09:22 .. [2022-08-04T09:29:03.576Z] drwxr-xr-x 2 root root 4096 Aug 4 09:22 cost [2022-08-04T09:29:03.576Z] -rw-r--r-- 1 root root 89 Aug 4 09:22 cost.csv [2022-08-04T09:29:03.576Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-298/archives [2022-08-04T09:29:03.576Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-298/archives [2022-08-04T09:29:03.576Z] total 16 [2022-08-04T09:29:03.576Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 09:22 . [2022-08-04T09:29:03.576Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 09:22 .. [2022-08-04T09:29:03.576Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 09:22 cost [2022-08-04T09:29:03.576Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 4 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:29:03.876Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:29:04.749Z] ---> package-listing.sh [2022-08-04T09:29:04.750Z] ++ facter osfamily [2022-08-04T09:29:04.750Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-04T09:29:05.010Z] + OS_FAMILY=debian [2022-08-04T09:29:05.010Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-298 [2022-08-04T09:29:05.010Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-04T09:29:05.010Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-04T09:29:05.010Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-04T09:29:05.010Z] + PACKAGES=/tmp/packages_start.txt [2022-08-04T09:29:05.010Z] + '[' /w/workspace/foundry_device-virtual-go_PR-298 ']' [2022-08-04T09:29:05.010Z] + PACKAGES=/tmp/packages_end.txt [2022-08-04T09:29:05.010Z] + case "${OS_FAMILY}" in [2022-08-04T09:29:05.010Z] + dpkg -l [2022-08-04T09:29:05.010Z] + grep '^ii' [2022-08-04T09:29:05.010Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-04T09:29:05.010Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-04T09:29:05.010Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-04T09:29:05.011Z] + '[' /w/workspace/foundry_device-virtual-go_PR-298 ']' [2022-08-04T09:29:05.011Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-298/archives/ [2022-08-04T09:29:05.011Z] + 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-04T09:29:05.024Z] 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-04T09:29:05.309Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:29:05.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T09:29:05.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:29:05.971Z] prd-ubuntu20.04-docker-8c-8g-21925 does not seem to be running inside a container [2022-08-04T09:29:06.012Z] $ 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-04T09:29:06.282Z] $ docker top 54826b6629f0b7b71e8c659a8e8822018bd435411979b88dd9156d0e0bb61907 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T09:29:06.644Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-04T09:29:06.939Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-04T09:29:07.232Z] + ls /var/log/sa-host [2022-08-04T09:29:07.232Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-04T09:29:07.377Z] provisioning config files... [2022-08-04T09:29:07.387Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-298@tmp/config5540438729379653895tmp [Pipeline] { [Pipeline] echo [2022-08-04T09:29:07.402Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:29:07.689Z] ---> create-netrc.sh [Pipeline] } [2022-08-04T09:29:07.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:29:08.043Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-04T09:29:08.054Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:29:08.342Z] ---> sudo-logs.sh [2022-08-04T09:29:08.342Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-04T09:29:08.366Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:29:08.656Z] ---> job-cost.sh [2022-08-04T09:29:08.656Z] lf-activate-venv: SKIPPING [2022-08-04T09:29:08.656Z] DEBUG: total: 0.2199999988079071 [2022-08-04T09:29:08.656Z] INFO: Retrieving Stack Cost... [2022-08-04T09:29:08.918Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-04T09:29:09.498Z] INFO: Archiving Costs [Pipeline] echo [2022-08-04T09:29:09.512Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:29:09.805Z] ---> logs-deploy.sh [2022-08-04T09:29:09.805Z] lf-activate-venv: SKIPPING [2022-08-04T09:29:09.805Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-298/3 [2022-08-04T09:29:09.805Z] INFO: archiving workspace using pattern(s): [2022-08-04T09:29:10.748Z] Archives upload complete. [2022-08-04T09:29:11.009Z] INFO: archiving logs to Nexus