Pull request #310 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2cc3ac2a98df30ac48200989cdfb25a4b3c037d+48c3520914e7ddb9ffda7de700a6b80bd4b3dbae (8bbfce55c0d1dfe97a3fb2deffe71285ad9c0e44) 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-ssh8810941562858715405.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh656091384747725079.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-310/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-310/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9355454471719543257.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-310/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10862061924827643967.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4546554867729549051.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-310/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-310/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12743995594376863237.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6860 in /w/workspace/foundry_device-virtual-go_PR-310 [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-310 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae into PR head commit d2cc3ac2a98df30ac48200989cdfb25a4b3c037d Merge succeeded, producing d2cc3ac2a98df30ac48200989cdfb25a4b3c037d Checking out Revision d2cc3ac2a98df30ac48200989cdfb25a4b3c037d (PR-310) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/310/head:refs/remotes/origin/PR-310 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2cc3ac2a98df30ac48200989cdfb25a4b3c037d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2cc3ac2a98df30ac48200989cdfb25a4b3c037d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T11:04:50.396Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T11:04:50.563Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T11:04:50.671Z] ========================================================= [2022-10-03T11:04:50.671Z] EdgeX Global Pipelines Version Info [2022-10-03T11:04:50.671Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:04:51.413Z] ------------------- [2022-10-03T11:04:51.413Z] stable info: [2022-10-03T11:04:51.413Z] ------------------- [2022-10-03T11:04:51.413Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T11:04:51.413Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T11:04:51.413Z] Message: update stable to v1.0.239 [2022-10-03T11:04:51.985Z] ------------------- [2022-10-03T11:04:51.985Z] experimental info: [2022-10-03T11:04:51.985Z] ------------------- [2022-10-03T11:04:51.985Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T11:04:51.985Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T11:04:51.985Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T11:04:52.257Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-03T11:04:52.299Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-03T11:04:52.337Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T11:04:52.374Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T11:04:52.417Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T11:04:52.454Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T11:04:52.493Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T11:04:52.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T11:04:52.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T11:04:52.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T11:04:52.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T11:04:52.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-03T11:04:52.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T11:04:52.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T11:04:52.805Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T11:04:52.842Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T11:04:52.886Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T11:04:52.922Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T11:04:52.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T11:04:52.997Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T11:04:53.042Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-03T11:04:53.079Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-03T11:04:53.116Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T11:04:53.155Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T11:04:53.193Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T11:04:53.233Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T11:04:53.278Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T11:04:53.316Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-310 [Pipeline] echo [2022-10-03T11:04:53.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-310 [Pipeline] echo [2022-10-03T11:04:53.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-310 [Pipeline] echo [2022-10-03T11:04:53.444Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [Pipeline] echo [2022-10-03T11:04:53.485Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2cc3ac [Pipeline] echo [2022-10-03T11:04:53.522Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T11:04:53.637Z] provisioning config files... [2022-10-03T11:04:53.667Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-310@tmp/config6397244111378155204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:04:54.012Z] ---> docker-login.sh [2022-10-03T11:04:54.012Z] nexus3.edgexfoundry.org:10001 [2022-10-03T11:04:54.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:04:54.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:04:54.533Z] Configure a credential helper to remove this warning. See [2022-10-03T11:04:54.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:04:54.533Z] [2022-10-03T11:04:54.533Z] Login Succeeded [2022-10-03T11:04:54.533Z] nexus3.edgexfoundry.org:10002 [2022-10-03T11:04:54.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:04:54.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:04:54.533Z] Configure a credential helper to remove this warning. See [2022-10-03T11:04:54.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:04:54.533Z] [2022-10-03T11:04:54.533Z] Login Succeeded [2022-10-03T11:04:54.533Z] nexus3.edgexfoundry.org:10003 [2022-10-03T11:04:54.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:04:54.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:04:54.794Z] Configure a credential helper to remove this warning. See [2022-10-03T11:04:54.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:04:54.794Z] [2022-10-03T11:04:54.794Z] Login Succeeded [2022-10-03T11:04:54.794Z] nexus3.edgexfoundry.org:10004 [2022-10-03T11:04:54.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:04:54.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:04:54.794Z] Configure a credential helper to remove this warning. See [2022-10-03T11:04:54.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:04:54.794Z] [2022-10-03T11:04:54.794Z] Login Succeeded [2022-10-03T11:04:54.794Z] docker.io [2022-10-03T11:04:54.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:04:55.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:04:55.367Z] Configure a credential helper to remove this warning. See [2022-10-03T11:04:55.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:04:55.367Z] [2022-10-03T11:04:55.367Z] Login Succeeded [2022-10-03T11:04:55.367Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T11:04:55.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T11:04:55.997Z] + git rev-list -1 --merges d2cc3ac2a98df30ac48200989cdfb25a4b3c037d~1..d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [Pipeline] echo [2022-10-03T11:04:56.047Z] -----------> git rev-list -1 --merges d2cc3ac2a98df30ac48200989cdfb25a4b3c037d~1..d2cc3ac2a98df30ac48200989cdfb25a4b3c037d d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [false] [Pipeline] sh [2022-10-03T11:04:56.361Z] + git log --format=format:%s -1 d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [Pipeline] echo [2022-10-03T11:04:56.397Z] ========================================================= [2022-10-03T11:04:56.397Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T11:04:56.397Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T11:04:56.831Z] + git log --format=format:%s -1 d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [Pipeline] echo [2022-10-03T11:04:56.861Z] [semverPrep] GIT_COMMIT: d2cc3ac2a98df30ac48200989cdfb25a4b3c037d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-03T11:04:56.893Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T11:04:57.299Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T11:04:57.299Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T11:04:57.299Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T11:04:57.299Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T11:04:57.299Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T11:04:57.299Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T11:04:57.299Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:04:57.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T11:04:57.732Z] [2022-10-03T11:04:57.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:04:58.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T11:04:58.103Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T11:04:58.103Z] b85a868b505f: Pulling fs layer [2022-10-03T11:04:58.103Z] e2be974225ed: Pulling fs layer [2022-10-03T11:04:58.103Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T11:04:58.103Z] 988bab9f4d93: Pulling fs layer [2022-10-03T11:04:58.103Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T11:04:58.103Z] eaf3925da568: Pulling fs layer [2022-10-03T11:04:58.103Z] bab4dde63d76: Pulling fs layer [2022-10-03T11:04:58.103Z] bde34c3a00c8: Pulling fs layer [2022-10-03T11:04:58.103Z] b352a97aabf1: Pulling fs layer [2022-10-03T11:04:58.103Z] 4872d77fe225: Pulling fs layer [2022-10-03T11:04:58.103Z] 5851b861e8e6: Pulling fs layer [2022-10-03T11:04:58.103Z] 988bab9f4d93: Waiting [2022-10-03T11:04:58.103Z] 1469e6f7b9e6: Waiting [2022-10-03T11:04:58.103Z] eaf3925da568: Waiting [2022-10-03T11:04:58.103Z] bab4dde63d76: Waiting [2022-10-03T11:04:58.103Z] bde34c3a00c8: Waiting [2022-10-03T11:04:58.103Z] b352a97aabf1: Waiting [2022-10-03T11:04:58.103Z] 4872d77fe225: Waiting [2022-10-03T11:04:58.103Z] 5851b861e8e6: Waiting [2022-10-03T11:04:58.103Z] e2be974225ed: Verifying Checksum [2022-10-03T11:04:58.103Z] e2be974225ed: Download complete [2022-10-03T11:04:58.103Z] 988bab9f4d93: Verifying Checksum [2022-10-03T11:04:58.103Z] 988bab9f4d93: Download complete [2022-10-03T11:04:58.365Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T11:04:58.365Z] 1469e6f7b9e6: Download complete [2022-10-03T11:04:58.365Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T11:04:58.365Z] 339a4e72a1f5: Download complete [2022-10-03T11:04:58.365Z] eaf3925da568: Verifying Checksum [2022-10-03T11:04:58.365Z] eaf3925da568: Download complete [2022-10-03T11:04:58.365Z] bde34c3a00c8: Verifying Checksum [2022-10-03T11:04:58.365Z] bde34c3a00c8: Download complete [2022-10-03T11:04:58.365Z] b352a97aabf1: Verifying Checksum [2022-10-03T11:04:58.365Z] b352a97aabf1: Download complete [2022-10-03T11:04:58.365Z] 4872d77fe225: Verifying Checksum [2022-10-03T11:04:58.365Z] 4872d77fe225: Download complete [2022-10-03T11:04:58.365Z] 5851b861e8e6: Verifying Checksum [2022-10-03T11:04:58.365Z] 5851b861e8e6: Download complete [2022-10-03T11:04:58.365Z] b85a868b505f: Download complete [2022-10-03T11:04:58.633Z] bab4dde63d76: Verifying Checksum [2022-10-03T11:04:58.633Z] bab4dde63d76: Download complete [2022-10-03T11:04:59.572Z] b85a868b505f: Pull complete [2022-10-03T11:04:59.832Z] e2be974225ed: Pull complete [2022-10-03T11:05:00.403Z] 339a4e72a1f5: Pull complete [2022-10-03T11:05:00.403Z] 988bab9f4d93: Pull complete [2022-10-03T11:05:00.663Z] 1469e6f7b9e6: Pull complete [2022-10-03T11:05:00.663Z] eaf3925da568: Pull complete [2022-10-03T11:05:02.574Z] bab4dde63d76: Pull complete [2022-10-03T11:05:02.574Z] bde34c3a00c8: Pull complete [2022-10-03T11:05:02.574Z] b352a97aabf1: Pull complete [2022-10-03T11:05:02.574Z] 4872d77fe225: Pull complete [2022-10-03T11:05:02.835Z] 5851b861e8e6: Pull complete [2022-10-03T11:05:02.835Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T11:05:02.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T11:05:02.835Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T11:05:03.064Z] prd-ubuntu20.04-docker-8c-8g-6860 does not seem to be running inside a container [2022-10-03T11:05:03.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-310 -v /w/workspace/foundry_device-virtual-go_PR-310:/w/workspace/foundry_device-virtual-go_PR-310:rw,z -v /w/workspace/foundry_device-virtual-go_PR-310@tmp:/w/workspace/foundry_device-virtual-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-03T11:05:04.916Z] $ docker top e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 -eo pid,comm [2022-10-03T11:05:04.971Z] 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-10-03T11:05:04.971Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T11:05:05.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T11:05:05.088Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T11:05:05.198Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T11:05:05.202Z] $ docker exec e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 ssh-agent [2022-10-03T11:05:05.313Z] SSH_AUTH_SOCK=/tmp/ssh-gvNfGdMbUDlJ/agent.32 [2022-10-03T11:05:05.313Z] SSH_AGENT_PID=38 [2022-10-03T11:05:05.320Z] Running ssh-add (command line suppressed) [2022-10-03T11:05:05.434Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-310@tmp/private_key_2374249324099675697.key (/w/workspace/foundry_device-virtual-go_PR-310@tmp/private_key_2374249324099675697.key) [2022-10-03T11:05:05.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T11:05:05.775Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T11:05:05.804Z] $ docker exec --env ******** --env ******** e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 ssh-agent -k [2022-10-03T11:05:05.899Z] unset SSH_AUTH_SOCK; [2022-10-03T11:05:05.899Z] unset SSH_AGENT_PID; [2022-10-03T11:05:05.899Z] echo Agent pid 38 killed; [2022-10-03T11:05:05.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T11:05:06.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T11:05:06.010Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T11:05:06.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T11:05:06.130Z] $ docker exec e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 ssh-agent [2022-10-03T11:05:06.226Z] SSH_AUTH_SOCK=/tmp/ssh-HRBUY85HBRtv/agent.70 [2022-10-03T11:05:06.226Z] SSH_AGENT_PID=76 [2022-10-03T11:05:06.231Z] Running ssh-add (command line suppressed) [2022-10-03T11:05:06.328Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-310@tmp/private_key_16081558237782432043.key (/w/workspace/foundry_device-virtual-go_PR-310@tmp/private_key_16081558237782432043.key) [2022-10-03T11:05:06.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T11:05:06.675Z] + git semver init [2022-10-03T11:05:06.935Z] 2022-10-03 11:05:06,827 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T11:05:06.935Z] 2022-10-03 11:05:06,828 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-310/.semver [2022-10-03T11:05:06.935Z] 2022-10-03 11:05:06,829 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-310/.semver [2022-10-03T11:05:06.935Z] 2022-10-03 11:05:06,829 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-310/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-310, universal_newlines=False, shell=None, istream=None) [2022-10-03T11:05:08.313Z] 2022-10-03 11:05:08,130 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-310/.git/info/exclude [2022-10-03T11:05:08.313Z] 2022-10-03 11:05:08,131 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-310/.semver/PR-310 with force:False [2022-10-03T11:05:08.313Z] 2022-10-03 11:05:08,131 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-310/.semver/PR-310 [2022-10-03T11:05:08.313Z] 2022-10-03 11:05:08,135 [execute] INFO git cat-file --batch-check [2022-10-03T11:05:08.313Z] 2022-10-03 11:05:08,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-310/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T11:05:08.313Z] 2022-10-03 11:05:08,141 [execute] INFO git cat-file --batch [2022-10-03T11:05:08.313Z] 2022-10-03 11:05:08,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-310/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T11:05:08.313Z] 2022-10-03 11:05:08,145 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-310/.semver/PR-310 [2022-10-03T11:05:08.313Z] 0.0.0 [Pipeline] } [2022-10-03T11:05:08.340Z] $ docker exec --env ******** --env ******** e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 ssh-agent -k [2022-10-03T11:05:08.444Z] unset SSH_AUTH_SOCK; [2022-10-03T11:05:08.444Z] unset SSH_AGENT_PID; [2022-10-03T11:05:08.444Z] echo Agent pid 76 killed; [2022-10-03T11:05:08.454Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T11:05:08.886Z] + git semver [Pipeline] } [2022-10-03T11:05:09.176Z] $ docker stop --time=1 e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 [2022-10-03T11:05:10.475Z] $ docker rm -f e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T11:05:10.873Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T11:05:11.112Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T11:05:11.129Z] [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-10-03T11:05:11.713Z] provisioning config files... [2022-10-03T11:05:11.724Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-310@tmp/config8795573786393865924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:05:12.069Z] ---> docker-login.sh [2022-10-03T11:05:12.069Z] nexus3.edgexfoundry.org:10001 [2022-10-03T11:05:12.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:05:12.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:05:12.069Z] Configure a credential helper to remove this warning. See [2022-10-03T11:05:12.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:05:12.069Z] [2022-10-03T11:05:12.069Z] Login Succeeded [2022-10-03T11:05:12.069Z] nexus3.edgexfoundry.org:10002 [2022-10-03T11:05:12.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:05:12.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:05:12.069Z] Configure a credential helper to remove this warning. See [2022-10-03T11:05:12.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:05:12.069Z] [2022-10-03T11:05:12.069Z] Login Succeeded [2022-10-03T11:05:12.069Z] nexus3.edgexfoundry.org:10003 [2022-10-03T11:05:12.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:05:12.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:05:12.329Z] Configure a credential helper to remove this warning. See [2022-10-03T11:05:12.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:05:12.329Z] [2022-10-03T11:05:12.329Z] Login Succeeded [2022-10-03T11:05:12.329Z] nexus3.edgexfoundry.org:10004 [2022-10-03T11:05:12.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:05:12.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:05:12.329Z] Configure a credential helper to remove this warning. See [2022-10-03T11:05:12.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:05:12.329Z] [2022-10-03T11:05:12.329Z] Login Succeeded [2022-10-03T11:05:12.329Z] docker.io [2022-10-03T11:05:12.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:05:12.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:05:12.900Z] Configure a credential helper to remove this warning. See [2022-10-03T11:05:12.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:05:12.900Z] [2022-10-03T11:05:12.900Z] Login Succeeded [2022-10-03T11:05:12.900Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T11:05:12.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T11:05:13.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T11:05:13.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T11:05:13.235Z] ========================================================= [2022-10-03T11:05:13.235Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T11:05:13.235Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:05:13.704Z] + 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-10-03T11:05:13.704Z] Sending build context to Docker daemon 23.18MB [2022-10-03T11:05:13.704Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T11:05:13.704Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T11:05:13.704Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T11:05:13.704Z] 2408cc74d12b: Pulling fs layer [2022-10-03T11:05:13.704Z] ea60b727a1ce: Pulling fs layer [2022-10-03T11:05:13.704Z] 30c4a7721957: Pulling fs layer [2022-10-03T11:05:13.704Z] 370296b7ddb6: Pulling fs layer [2022-10-03T11:05:13.704Z] 7c6cee850709: Pulling fs layer [2022-10-03T11:05:13.704Z] aa9baa53a306: Pulling fs layer [2022-10-03T11:05:13.704Z] 8b309c321861: Pulling fs layer [2022-10-03T11:05:13.704Z] d8d76fd02f46: Pulling fs layer [2022-10-03T11:05:13.704Z] fa31f396de31: Pulling fs layer [2022-10-03T11:05:13.704Z] 7c6cee850709: Waiting [2022-10-03T11:05:13.704Z] aa9baa53a306: Waiting [2022-10-03T11:05:13.704Z] 8b309c321861: Waiting [2022-10-03T11:05:13.704Z] d8d76fd02f46: Waiting [2022-10-03T11:05:13.704Z] fa31f396de31: Waiting [2022-10-03T11:05:13.704Z] 370296b7ddb6: Waiting [2022-10-03T11:05:13.971Z] 30c4a7721957: Download complete [2022-10-03T11:05:13.971Z] ea60b727a1ce: Verifying Checksum [2022-10-03T11:05:13.971Z] ea60b727a1ce: Download complete [2022-10-03T11:05:13.971Z] 7c6cee850709: Verifying Checksum [2022-10-03T11:05:13.971Z] 7c6cee850709: Download complete [2022-10-03T11:05:13.971Z] aa9baa53a306: Verifying Checksum [2022-10-03T11:05:13.971Z] aa9baa53a306: Download complete [2022-10-03T11:05:13.971Z] 2408cc74d12b: Verifying Checksum [2022-10-03T11:05:13.971Z] 8b309c321861: Verifying Checksum [2022-10-03T11:05:13.971Z] 8b309c321861: Download complete [2022-10-03T11:05:13.971Z] 2408cc74d12b: Pull complete [2022-10-03T11:05:14.242Z] ea60b727a1ce: Pull complete [2022-10-03T11:05:14.242Z] 30c4a7721957: Pull complete [2022-10-03T11:05:14.518Z] d8d76fd02f46: Verifying Checksum [2022-10-03T11:05:14.518Z] d8d76fd02f46: Download complete [2022-10-03T11:05:14.779Z] fa31f396de31: Download complete [2022-10-03T11:05:14.779Z] 370296b7ddb6: Verifying Checksum [2022-10-03T11:05:14.779Z] 370296b7ddb6: Download complete [2022-10-03T11:05:18.970Z] 370296b7ddb6: Pull complete [2022-10-03T11:05:18.970Z] 7c6cee850709: Pull complete [2022-10-03T11:05:18.970Z] aa9baa53a306: Pull complete [2022-10-03T11:05:18.970Z] 8b309c321861: Pull complete [2022-10-03T11:05:20.877Z] d8d76fd02f46: Pull complete [2022-10-03T11:05:21.445Z] fa31f396de31: Pull complete [2022-10-03T11:05:21.445Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T11:05:21.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T11:05:21.445Z] ---> cef68f9685f8 [2022-10-03T11:05:21.445Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T11:05:23.353Z] ---> Running in a21f2b6ee531 [2022-10-03T11:05:23.353Z] Removing intermediate container a21f2b6ee531 [2022-10-03T11:05:23.353Z] ---> 9a2d163e067d [2022-10-03T11:05:23.353Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T11:05:23.353Z] ---> Running in 781565bef375 [2022-10-03T11:05:23.353Z] Removing intermediate container 781565bef375 [2022-10-03T11:05:23.353Z] ---> b4067529289c [2022-10-03T11:05:23.353Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T11:05:23.613Z] ---> Running in 0224186aaaac [2022-10-03T11:05:23.613Z] Removing intermediate container 0224186aaaac [2022-10-03T11:05:23.613Z] ---> 6318451df5b4 [2022-10-03T11:05:23.613Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-03T11:05:23.613Z] ---> Running in 524deeb6b250 [2022-10-03T11:05:23.875Z] Removing intermediate container 524deeb6b250 [2022-10-03T11:05:23.875Z] ---> d0e2070e519a [2022-10-03T11:05:23.875Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T11:05:23.875Z] ---> Running in e724b0d9577a [2022-10-03T11:05:24.443Z] Removing intermediate container e724b0d9577a [2022-10-03T11:05:24.443Z] ---> 16a2f0f8e0a1 [2022-10-03T11:05:24.443Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T11:05:24.443Z] ---> Running in eeb442f667ad [2022-10-03T11:05:24.703Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T11:05:25.639Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T11:05:25.899Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T11:05:25.899Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T11:05:26.158Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T11:05:26.158Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T11:05:26.158Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T11:05:26.158Z] OK: 216 MiB in 55 packages [2022-10-03T11:05:26.535Z] Still waiting to schedule task [2022-10-03T11:05:26.536Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-03T11:05:27.110Z] Removing intermediate container eeb442f667ad [2022-10-03T11:05:27.110Z] ---> e0007c5ba140 [2022-10-03T11:05:27.110Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-03T11:05:27.370Z] ---> 5253dfda2622 [2022-10-03T11:05:27.370Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T11:05:27.370Z] ---> Running in 2a3a4c8726aa [2022-10-03T11:05:45.482Z] Removing intermediate container 2a3a4c8726aa [2022-10-03T11:05:45.482Z] ---> bc07395d9ef0 [2022-10-03T11:05:45.482Z] Step 11/13 : COPY . . [2022-10-03T11:05:45.482Z] ---> 9861062234d0 [2022-10-03T11:05:45.482Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T11:05:45.482Z] ---> Running in ced16dc5bcd8 [2022-10-03T11:05:45.482Z] Removing intermediate container ced16dc5bcd8 [2022-10-03T11:05:45.482Z] ---> e988cf96aa5c [2022-10-03T11:05:45.482Z] Step 13/13 : RUN $MAKE [2022-10-03T11:05:45.482Z] ---> Running in 6379dbf34f05 [2022-10-03T11:05:45.482Z] noop [2022-10-03T11:05:45.482Z] Removing intermediate container 6379dbf34f05 [2022-10-03T11:05:45.482Z] ---> 7e33b3996929 [2022-10-03T11:05:45.482Z] Successfully built 7e33b3996929 [2022-10-03T11:05:45.482Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:05:45.941Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T11:05:45.941Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T11:05:46.100Z] prd-ubuntu20.04-docker-8c-8g-6860 does not seem to be running inside a container [2022-10-03T11:05:46.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-310 -v /w/workspace/foundry_device-virtual-go_PR-310:/w/workspace/foundry_device-virtual-go_PR-310:rw,z -v /w/workspace/foundry_device-virtual-go_PR-310@tmp:/w/workspace/foundry_device-virtual-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T11:05:46.546Z] $ docker top b58a6d367fd634723d20c04babd79bf455da22776a5d8bd5f505546bc030baaf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T11:05:46.935Z] + go version [2022-10-03T11:05:46.935Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T11:05:46.971Z] $ docker stop --time=1 b58a6d367fd634723d20c04babd79bf455da22776a5d8bd5f505546bc030baaf [2022-10-03T11:05:48.253Z] $ docker rm -f b58a6d367fd634723d20c04babd79bf455da22776a5d8bd5f505546bc030baaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:05:48.987Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T11:05:48.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T11:05:49.151Z] prd-ubuntu20.04-docker-8c-8g-6860 does not seem to be running inside a container [2022-10-03T11:05:49.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-310 -v /w/workspace/foundry_device-virtual-go_PR-310:/w/workspace/foundry_device-virtual-go_PR-310:rw,z -v /w/workspace/foundry_device-virtual-go_PR-310@tmp:/w/workspace/foundry_device-virtual-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T11:05:49.553Z] $ docker top f1d119cf7c9f0f3a92b02699eccf6ed3cebd8cab1dc2a7e72456e71d3ba37829 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T11:05:49.957Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-310 [Pipeline] fileExists [Pipeline] sh [2022-10-03T11:05:50.324Z] + make test [2022-10-03T11:05:50.324Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-03T11:05:50.586Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-03T11:05:58.717Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-03T11:05:59.653Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements [2022-10-03T11:06:06.211Z] 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-10-03T11:06:06.211Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T11:06:08.748Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T11:06:08.748Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T11:06:08.748Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T11:06:08.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T11:06:08.829Z] $ docker stop --time=1 f1d119cf7c9f0f3a92b02699eccf6ed3cebd8cab1dc2a7e72456e71d3ba37829 [2022-10-03T11:06:10.784Z] $ docker rm -f f1d119cf7c9f0f3a92b02699eccf6ed3cebd8cab1dc2a7e72456e71d3ba37829 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T11:06:11.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T11:06:11.373Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T11:06:12.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T11:06:12.431Z] + ls -al . [2022-10-03T11:06:12.431Z] total 200 [2022-10-03T11:06:12.431Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 11:05 . [2022-10-03T11:06:12.431Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 11:04 .. [2022-10-03T11:06:12.431Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 11:06 .git [2022-10-03T11:06:12.431Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:04 .github [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 3 11:04 .gitignore [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 11:04 .golangci.yml [2022-10-03T11:06:12.431Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 11:05 .semver [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 3 11:04 Attribution.txt [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 3 11:04 CHANGELOG.md [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 3 11:04 Dockerfile [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 11:04 GOVERNANCE.md [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 3 11:04 Jenkinsfile [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 11:04 LICENSE [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 3 11:04 Makefile [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 3 11:04 OWNERS.md [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 3 11:04 README.md [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 11:05 VERSION [2022-10-03T11:06:12.431Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 11:04 bin [2022-10-03T11:06:12.431Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:04 cmd [2022-10-03T11:06:12.431Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 3 11:05 coverage.out [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 3 11:04 go.mod [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 3 11:04 go.sum [2022-10-03T11:06:12.431Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:04 internal [2022-10-03T11:06:12.431Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 11:04 snap [2022-10-03T11:06:12.431Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 3 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:06:12.828Z] + 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=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d --label arch=amd64 --label version=0.0.0 . [2022-10-03T11:06:12.828Z] Sending build context to Docker daemon 23.22MB [2022-10-03T11:06:12.828Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T11:06:12.828Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T11:06:12.828Z] ---> 7e33b3996929 [2022-10-03T11:06:12.828Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T11:06:13.087Z] ---> Running in daade8381632 [2022-10-03T11:06:13.087Z] Removing intermediate container daade8381632 [2022-10-03T11:06:13.087Z] ---> 88fba7920819 [2022-10-03T11:06:13.087Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T11:06:13.087Z] ---> Running in f677da32fee8 [2022-10-03T11:06:13.346Z] Removing intermediate container f677da32fee8 [2022-10-03T11:06:13.346Z] ---> 1bba4fc2f5c6 [2022-10-03T11:06:13.346Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T11:06:13.346Z] ---> Running in 47f6fce4f896 [2022-10-03T11:06:13.346Z] Removing intermediate container 47f6fce4f896 [2022-10-03T11:06:13.346Z] ---> 173ab1ca9ff4 [2022-10-03T11:06:13.346Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-03T11:06:13.346Z] ---> Running in 5bc2a7a3d88b [2022-10-03T11:06:13.605Z] Removing intermediate container 5bc2a7a3d88b [2022-10-03T11:06:13.605Z] ---> 1b893d0ec918 [2022-10-03T11:06:13.605Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T11:06:13.605Z] ---> Running in ae5e736427d3 [2022-10-03T11:06:14.172Z] Removing intermediate container ae5e736427d3 [2022-10-03T11:06:14.172Z] ---> 81d7659e2f44 [2022-10-03T11:06:14.172Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T11:06:14.172Z] ---> Running in aad532dcd2c2 [2022-10-03T11:06:14.430Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T11:06:15.377Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T11:06:15.638Z] OK: 216 MiB in 55 packages [2022-10-03T11:06:15.898Z] Removing intermediate container aad532dcd2c2 [2022-10-03T11:06:15.898Z] ---> 89de31a1cf50 [2022-10-03T11:06:15.898Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-03T11:06:16.157Z] ---> 89b74b2812bd [2022-10-03T11:06:16.157Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T11:06:16.157Z] ---> Running in 67b1fe25b25c [2022-10-03T11:06:16.725Z] Removing intermediate container 67b1fe25b25c [2022-10-03T11:06:16.725Z] ---> b88634228efe [2022-10-03T11:06:16.725Z] Step 11/27 : COPY . . [2022-10-03T11:06:17.292Z] ---> d4e89f7da56c [2022-10-03T11:06:17.292Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T11:06:17.292Z] ---> Running in 7750caa52cec [2022-10-03T11:06:17.553Z] Removing intermediate container 7750caa52cec [2022-10-03T11:06:17.553Z] ---> c764b66af06d [2022-10-03T11:06:17.553Z] Step 13/27 : RUN $MAKE [2022-10-03T11:06:17.553Z] ---> Running in bbfd1109bdca [2022-10-03T11:06:17.812Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-10-03T11:06:39.740Z] Removing intermediate container bbfd1109bdca [2022-10-03T11:06:39.740Z] ---> 36790f0e93b6 [2022-10-03T11:06:39.740Z] Step 14/27 : FROM alpine:3.16 [2022-10-03T11:06:39.740Z] 3.16: Pulling from library/alpine [2022-10-03T11:06:39.740Z] 213ec9aee27d: Pulling fs layer [2022-10-03T11:06:39.740Z] 213ec9aee27d: Verifying Checksum [2022-10-03T11:06:39.740Z] 213ec9aee27d: Download complete [2022-10-03T11:06:39.740Z] 213ec9aee27d: Pull complete [2022-10-03T11:06:39.740Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T11:06:39.740Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T11:06:39.740Z] ---> 9c6f07244728 [2022-10-03T11:06:39.740Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-03T11:06:39.740Z] ---> Running in 8afa4b7d3b5d [2022-10-03T11:06:39.740Z] Removing intermediate container 8afa4b7d3b5d [2022-10-03T11:06:39.740Z] ---> 6c1e92c7e535 [2022-10-03T11:06:39.740Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T11:06:39.740Z] ---> Running in 4b0b6b814d7e [2022-10-03T11:06:39.740Z] Removing intermediate container 4b0b6b814d7e [2022-10-03T11:06:39.740Z] ---> d62638dfa91b [2022-10-03T11:06:39.740Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T11:06:39.740Z] ---> Running in 0985022c455b [2022-10-03T11:06:39.740Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T11:06:39.740Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T11:06:39.999Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T11:06:39.999Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T11:06:40.260Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T11:06:40.260Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T11:06:40.260Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T11:06:40.519Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T11:06:40.519Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T11:06:40.519Z] OK: 8 MiB in 20 packages [2022-10-03T11:06:41.090Z] Removing intermediate container 0985022c455b [2022-10-03T11:06:41.090Z] ---> e36c58a91cc4 [2022-10-03T11:06:41.090Z] Step 18/27 : WORKDIR / [2022-10-03T11:06:41.090Z] ---> Running in 4d0bca688f21 [2022-10-03T11:06:41.090Z] Removing intermediate container 4d0bca688f21 [2022-10-03T11:06:41.090Z] ---> d065db8dad15 [2022-10-03T11:06:41.090Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-03T11:06:41.347Z] ---> cece3b2ed649 [2022-10-03T11:06:41.347Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-03T11:06:41.347Z] ---> e006ffcb373d [2022-10-03T11:06:41.347Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-03T11:06:41.921Z] ---> 3683eb1e9d6e [2022-10-03T11:06:41.921Z] Step 22/27 : EXPOSE 59900 [2022-10-03T11:06:41.921Z] ---> Running in 04afac0e7820 [2022-10-03T11:06:42.179Z] Removing intermediate container 04afac0e7820 [2022-10-03T11:06:42.179Z] ---> e6886137b06a [2022-10-03T11:06:42.179Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-03T11:06:42.179Z] ---> Running in 159436d0b435 [2022-10-03T11:06:42.179Z] Removing intermediate container 159436d0b435 [2022-10-03T11:06:42.179Z] ---> eae612f0f903 [2022-10-03T11:06:42.179Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T11:06:42.179Z] ---> Running in 544dcb8eadff [2022-10-03T11:06:42.438Z] Removing intermediate container 544dcb8eadff [2022-10-03T11:06:42.438Z] ---> dd60d213b8bb [2022-10-03T11:06:42.438Z] Step 25/27 : LABEL arch=amd64 [2022-10-03T11:06:42.438Z] ---> Running in 8e30488b7564 [2022-10-03T11:06:42.438Z] Removing intermediate container 8e30488b7564 [2022-10-03T11:06:42.438Z] ---> 4f83de7c5f1c [2022-10-03T11:06:42.438Z] Step 26/27 : LABEL git_sha=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [2022-10-03T11:06:42.697Z] ---> Running in fbc29b9fab0b [2022-10-03T11:06:42.697Z] Removing intermediate container fbc29b9fab0b [2022-10-03T11:06:42.697Z] ---> 12d476811366 [2022-10-03T11:06:42.697Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T11:06:42.697Z] ---> Running in a587484de5a2 [2022-10-03T11:06:42.697Z] Removing intermediate container a587484de5a2 [2022-10-03T11:06:42.697Z] ---> 8f1c37b64499 [2022-10-03T11:06:42.697Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T11:06:42.697Z] Successfully built 8f1c37b64499 [2022-10-03T11:06:42.956Z] 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-10-03T11:06:43.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T11:06:43.756Z] [2022-10-03T11:06:43.756Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:06:44.121Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T11:06:44.121Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T11:06:44.121Z] 5eb5b503b376: Pulling fs layer [2022-10-03T11:06:44.121Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T11:06:44.121Z] ec43610c2a17: Pulling fs layer [2022-10-03T11:06:44.121Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T11:06:44.121Z] 33b1e0a273af: Pulling fs layer [2022-10-03T11:06:44.121Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T11:06:44.121Z] 2f39f015ded8: Pulling fs layer [2022-10-03T11:06:44.121Z] 3a2ae6a8a46f: Waiting [2022-10-03T11:06:44.121Z] 33b1e0a273af: Waiting [2022-10-03T11:06:44.121Z] 5d3b04190fa2: Waiting [2022-10-03T11:06:44.121Z] 2f39f015ded8: Waiting [2022-10-03T11:06:44.121Z] 5c69ac0246d0: Download complete [2022-10-03T11:06:44.121Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-03T11:06:44.121Z] 3a2ae6a8a46f: Download complete [2022-10-03T11:06:44.121Z] 33b1e0a273af: Verifying Checksum [2022-10-03T11:06:44.121Z] 33b1e0a273af: Download complete [2022-10-03T11:06:44.121Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T11:06:44.121Z] 5d3b04190fa2: Download complete [2022-10-03T11:06:44.384Z] ec43610c2a17: Verifying Checksum [2022-10-03T11:06:44.384Z] ec43610c2a17: Download complete [2022-10-03T11:06:44.384Z] 5eb5b503b376: Download complete [2022-10-03T11:06:44.952Z] 2f39f015ded8: Verifying Checksum [2022-10-03T11:06:44.952Z] 2f39f015ded8: Download complete [2022-10-03T11:06:45.523Z] 5eb5b503b376: Pull complete [2022-10-03T11:06:45.523Z] 5c69ac0246d0: Pull complete [2022-10-03T11:06:45.781Z] ec43610c2a17: Pull complete [2022-10-03T11:06:46.039Z] 3a2ae6a8a46f: Pull complete [2022-10-03T11:06:46.039Z] 33b1e0a273af: Pull complete [2022-10-03T11:06:46.298Z] 5d3b04190fa2: Pull complete [2022-10-03T11:06:50.492Z] 2f39f015ded8: Pull complete [2022-10-03T11:06:50.492Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T11:06:50.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T11:06:50.492Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T11:06:50.713Z] prd-ubuntu20.04-docker-8c-8g-6860 does not seem to be running inside a container [2022-10-03T11:06:50.743Z] $ 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-310 -v /w/workspace/foundry_device-virtual-go_PR-310:/w/workspace/foundry_device-virtual-go_PR-310:rw,z -v /w/workspace/foundry_device-virtual-go_PR-310@tmp:/w/workspace/foundry_device-virtual-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T11:06:51.443Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6861 in /w/workspace/foundry_device-virtual-go_PR-310 [2022-10-03T11:06:52.726Z] $ docker top a20dd5cc2f7429044a885d467d3f3f3bc6235a5574433a022074e26874e56fe7 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-10-03T11:06:52.977Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-10-03T11:06:53.056Z] The recommended git tool is: git [2022-10-03T11:06:53.213Z] ---> job-cost.sh [2022-10-03T11:06:53.213Z] lf-activate-venv: SKIPPING [2022-10-03T11:06:53.213Z] INFO: No Stack... [2022-10-03T11:06:53.472Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T11:06:53.731Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T11:06:54.059Z] + + cut -d, -f6 [2022-10-03T11:06:54.059Z] cat /w/workspace/foundry_device-virtual-go_PR-310/archives/cost.csv [Pipeline] lock [2022-10-03T11:06:54.104Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] [2022-10-03T11:06:54.109Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] did not exist. Created. [2022-10-03T11:06:54.109Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T11:06:54.501Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T11:06:54.557Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T11:06:54.591Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T11:06:54.676Z] $ docker stop --time=1 a20dd5cc2f7429044a885d467d3f3f3bc6235a5574433a022074e26874e56fe7 [2022-10-03T11:06:55.851Z] $ docker rm -f a20dd5cc2f7429044a885d467d3f3f3bc6235a5574433a022074e26874e56fe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T11:06:57.994Z] using credential edgex-jenkins-ssh [2022-10-03T11:06:58.011Z] Cloning the remote Git repository [2022-10-03T11:06:58.049Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-03T11:06:58.129Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-10-03T11:06:58.286Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-03T11:06:58.287Z] > git --version # timeout=10 [2022-10-03T11:06:58.310Z] > git --version # 'git version 2.25.1' [2022-10-03T11:06:58.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T11:06:58.354Z] Verifying host key using known hosts file [2022-10-03T11:06:58.540Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T11:06:58.553Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T11:07:00.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-03T11:07:00.516Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T11:07:01.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-03T11:07:01.375Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-03T11:07:01.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T11:07:01.386Z] Verifying host key using known hosts file [2022-10-03T11:07:01.394Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T11:07:01.409Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/310/head:refs/remotes/origin/PR-310 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T11:07:01.992Z] Merging remotes/origin/main commit 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae into PR head commit d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [2022-10-03T11:07:02.213Z] Merge succeeded, producing d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [2022-10-03T11:07:02.214Z] Checking out Revision d2cc3ac2a98df30ac48200989cdfb25a4b3c037d (PR-310) [2022-10-03T11:07:02.703Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-03T11:07:02.740Z] > git --version # timeout=10 [2022-10-03T11:07:02.751Z] > git --version # 'git version 2.25.1' [2022-10-03T11:07:02.777Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T11:07:02.005Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T11:07:02.021Z] > git checkout -f d2cc3ac2a98df30ac48200989cdfb25a4b3c037d # timeout=10 [2022-10-03T11:07:02.101Z] > git remote # timeout=10 [2022-10-03T11:07:02.120Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T11:07:02.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T11:07:02.150Z] Verifying host key using known hosts file [2022-10-03T11:07:02.154Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T11:07:02.164Z] > git merge 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae # timeout=10 [2022-10-03T11:07:02.187Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T11:07:02.217Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T11:07:02.241Z] > git checkout -f d2cc3ac2a98df30ac48200989cdfb25a4b3c037d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T11:07:03.957Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T11:07:03.958Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T11:07:03.958Z] Dload Upload Total Spent Left Speed [2022-10-03T11:07:03.958Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-10-03T11:07:04.550Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T11:07:04.889Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-10-03T11:07:04.889Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T11:07:04.889Z] { [2022-10-03T11:07:04.889Z] "registry-mirrors": [ [2022-10-03T11:07:04.889Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T11:07:04.889Z] ], [2022-10-03T11:07:04.889Z] "bip": "10.250.0.254/24", [2022-10-03T11:07:04.889Z] "hosts": [ [2022-10-03T11:07:04.889Z] "tcp://0.0.0.0:5555", [2022-10-03T11:07:04.889Z] "unix:///var/run/docker.sock" [2022-10-03T11:07:04.889Z] ], [2022-10-03T11:07:04.889Z] "mtu": 1458, [2022-10-03T11:07:04.889Z] "selinux-enabled": true, [2022-10-03T11:07:04.889Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T11:07:04.889Z] } [Pipeline] sh [2022-10-03T11:07:05.252Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T11:07:05.603Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T11:07:23.941Z] provisioning config files... [2022-10-03T11:07:23.968Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config10141625192483186183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:07:24.344Z] ---> docker-login.sh [2022-10-03T11:07:24.344Z] nexus3.edgexfoundry.org:10001 [2022-10-03T11:07:24.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:07:25.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:07:25.211Z] Configure a credential helper to remove this warning. See [2022-10-03T11:07:25.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:07:25.211Z] [2022-10-03T11:07:25.211Z] Login Succeeded [2022-10-03T11:07:25.211Z] nexus3.edgexfoundry.org:10002 [2022-10-03T11:07:25.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:07:25.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:07:25.479Z] Configure a credential helper to remove this warning. See [2022-10-03T11:07:25.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:07:25.479Z] [2022-10-03T11:07:25.479Z] Login Succeeded [2022-10-03T11:07:25.479Z] nexus3.edgexfoundry.org:10003 [2022-10-03T11:07:25.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:07:25.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:07:25.761Z] Configure a credential helper to remove this warning. See [2022-10-03T11:07:25.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:07:25.761Z] [2022-10-03T11:07:25.761Z] Login Succeeded [2022-10-03T11:07:25.761Z] nexus3.edgexfoundry.org:10004 [2022-10-03T11:07:26.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:07:26.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:07:26.298Z] Configure a credential helper to remove this warning. See [2022-10-03T11:07:26.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:07:26.298Z] [2022-10-03T11:07:26.298Z] Login Succeeded [2022-10-03T11:07:26.298Z] docker.io [2022-10-03T11:07:26.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T11:07:26.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T11:07:26.834Z] Configure a credential helper to remove this warning. See [2022-10-03T11:07:26.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T11:07:26.834Z] [2022-10-03T11:07:26.834Z] Login Succeeded [2022-10-03T11:07:26.834Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T11:07:26.863Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T11:07:27.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T11:07:27.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T11:07:27.184Z] ========================================================= [2022-10-03T11:07:27.184Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T11:07:27.184Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:07:27.657Z] + 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-10-03T11:07:27.927Z] Sending build context to Docker daemon 11.73MB [2022-10-03T11:07:27.927Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T11:07:27.927Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T11:07:28.196Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T11:07:28.196Z] b3c136eddcbf: Pulling fs layer [2022-10-03T11:07:28.196Z] c0a3192eca97: Pulling fs layer [2022-10-03T11:07:28.196Z] a050256f5b6f: Pulling fs layer [2022-10-03T11:07:28.196Z] 656be50a0ddc: Pulling fs layer [2022-10-03T11:07:28.196Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T11:07:28.196Z] f607e4fc86c3: Pulling fs layer [2022-10-03T11:07:28.196Z] 4d572c569a2c: Pulling fs layer [2022-10-03T11:07:28.196Z] fcf976331f73: Pulling fs layer [2022-10-03T11:07:28.196Z] f607e4fc86c3: Waiting [2022-10-03T11:07:28.196Z] 4d572c569a2c: Waiting [2022-10-03T11:07:28.196Z] 656be50a0ddc: Waiting [2022-10-03T11:07:28.196Z] 2bbca73fdf42: Waiting [2022-10-03T11:07:28.196Z] fcf976331f73: Waiting [2022-10-03T11:07:28.196Z] a050256f5b6f: Verifying Checksum [2022-10-03T11:07:28.196Z] a050256f5b6f: Download complete [2022-10-03T11:07:28.196Z] c0a3192eca97: Verifying Checksum [2022-10-03T11:07:28.196Z] c0a3192eca97: Download complete [2022-10-03T11:07:28.196Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T11:07:28.196Z] 2bbca73fdf42: Download complete [2022-10-03T11:07:28.196Z] f607e4fc86c3: Verifying Checksum [2022-10-03T11:07:28.196Z] f607e4fc86c3: Download complete [2022-10-03T11:07:28.196Z] b3c136eddcbf: Download complete [2022-10-03T11:07:29.177Z] b3c136eddcbf: Pull complete [2022-10-03T11:07:29.449Z] fcf976331f73: Verifying Checksum [2022-10-03T11:07:29.449Z] fcf976331f73: Download complete [2022-10-03T11:07:29.718Z] c0a3192eca97: Pull complete [2022-10-03T11:07:29.986Z] a050256f5b6f: Pull complete [2022-10-03T11:07:30.577Z] 4d572c569a2c: Verifying Checksum [2022-10-03T11:07:30.577Z] 4d572c569a2c: Download complete [2022-10-03T11:07:31.169Z] 656be50a0ddc: Verifying Checksum [2022-10-03T11:07:31.169Z] 656be50a0ddc: Download complete [2022-10-03T11:07:43.571Z] 656be50a0ddc: Pull complete [2022-10-03T11:07:43.571Z] 2bbca73fdf42: Pull complete [2022-10-03T11:07:43.571Z] f607e4fc86c3: Pull complete [2022-10-03T11:07:50.277Z] 4d572c569a2c: Pull complete [2022-10-03T11:07:51.694Z] fcf976331f73: Pull complete [2022-10-03T11:07:51.694Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T11:07:51.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T11:07:51.694Z] ---> 3970a7415f9e [2022-10-03T11:07:51.694Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T11:07:53.643Z] ---> Running in 0db0edb41f3b [2022-10-03T11:07:53.643Z] Removing intermediate container 0db0edb41f3b [2022-10-03T11:07:53.643Z] ---> 4cbaa569a119 [2022-10-03T11:07:53.643Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T11:07:53.643Z] ---> Running in 1eb5ef2da726 [2022-10-03T11:07:53.910Z] Removing intermediate container 1eb5ef2da726 [2022-10-03T11:07:53.910Z] ---> 4bbb7b067804 [2022-10-03T11:07:53.910Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T11:07:53.910Z] ---> Running in b908c1f513fa [2022-10-03T11:07:54.178Z] Removing intermediate container b908c1f513fa [2022-10-03T11:07:54.178Z] ---> 04fffecee670 [2022-10-03T11:07:54.178Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-03T11:07:54.447Z] ---> Running in 76f31583343e [2022-10-03T11:07:54.715Z] Removing intermediate container 76f31583343e [2022-10-03T11:07:54.715Z] ---> f28bda1008b8 [2022-10-03T11:07:54.715Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T11:07:54.715Z] ---> Running in 7073e9dcdfdc [2022-10-03T11:07:57.296Z] Removing intermediate container 7073e9dcdfdc [2022-10-03T11:07:57.296Z] ---> 2aba048e184f [2022-10-03T11:07:57.296Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T11:07:57.296Z] ---> Running in 146300dfcf34 [2022-10-03T11:07:58.255Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T11:07:58.834Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T11:07:59.791Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T11:07:59.791Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T11:08:00.058Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T11:08:00.324Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T11:08:00.324Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T11:08:00.324Z] OK: 226 MiB in 55 packages [2022-10-03T11:08:01.284Z] Removing intermediate container 146300dfcf34 [2022-10-03T11:08:01.284Z] ---> eb46b7d5ca7e [2022-10-03T11:08:01.284Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-03T11:08:01.556Z] ---> e53469c35eef [2022-10-03T11:08:01.556Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T11:08:01.828Z] ---> Running in 7d82079a3637 [2022-10-03T11:08:48.662Z] Removing intermediate container 7d82079a3637 [2022-10-03T11:08:48.662Z] ---> 41523cdfe630 [2022-10-03T11:08:48.662Z] Step 11/13 : COPY . . [2022-10-03T11:08:49.627Z] ---> 40e438e68da3 [2022-10-03T11:08:49.627Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T11:08:49.627Z] ---> Running in e08e1088c4ad [2022-10-03T11:08:49.627Z] Removing intermediate container e08e1088c4ad [2022-10-03T11:08:49.627Z] ---> ad7ac10572a0 [2022-10-03T11:08:49.627Z] Step 13/13 : RUN $MAKE [2022-10-03T11:08:49.894Z] ---> Running in c8323f5f5b2d [2022-10-03T11:08:50.853Z] noop [2022-10-03T11:08:51.434Z] Removing intermediate container c8323f5f5b2d [2022-10-03T11:08:51.434Z] ---> f3c23e3d1e94 [2022-10-03T11:08:51.434Z] Successfully built f3c23e3d1e94 [2022-10-03T11:08:51.434Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:08:51.930Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T11:08:51.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T11:08:52.170Z] prd-ubuntu20.04-docker-arm64-4c-16g-6861 does not seem to be running inside a container [2022-10-03T11:08:52.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T11:08:53.311Z] $ docker top c8ca081f45b0977b69b53ebe9d4aa30cc2d803d3948ac6d032d2192916a1d66d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T11:08:54.155Z] + go version [2022-10-03T11:08:54.155Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T11:08:54.190Z] $ docker stop --time=1 c8ca081f45b0977b69b53ebe9d4aa30cc2d803d3948ac6d032d2192916a1d66d [2022-10-03T11:08:55.739Z] $ docker rm -f c8ca081f45b0977b69b53ebe9d4aa30cc2d803d3948ac6d032d2192916a1d66d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:08:56.540Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T11:08:56.540Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T11:08:56.780Z] prd-ubuntu20.04-docker-arm64-4c-16g-6861 does not seem to be running inside a container [2022-10-03T11:08:56.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T11:08:57.928Z] $ docker top 99d87154fc3d20b518d49badc2934b103e8a673e5d22834ca2501796401f9bd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T11:08:58.468Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T11:08:58.858Z] + make test [2022-10-03T11:08:58.858Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-03T11:09:00.806Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-03T11:10:22.411Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-03T11:10:22.411Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.126s coverage: 65.7% of statements [2022-10-03T11:10:22.411Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T11:10:22.411Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T11:10:40.633Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T11:10:40.633Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T11:10:40.633Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T11:10:40.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T11:10:40.704Z] $ docker stop --time=1 99d87154fc3d20b518d49badc2934b103e8a673e5d22834ca2501796401f9bd3 [2022-10-03T11:10:42.431Z] $ docker rm -f 99d87154fc3d20b518d49badc2934b103e8a673e5d22834ca2501796401f9bd3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T11:10:43.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T11:10:43.409Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T11:10:43.798Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T11:10:44.397Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T11:10:44.725Z] + ls -al . [2022-10-03T11:10:44.726Z] total 196 [2022-10-03T11:10:44.726Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 11:08 . [2022-10-03T11:10:44.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 11:06 .. [2022-10-03T11:10:44.726Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 11:07 .git [2022-10-03T11:10:44.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:07 .github [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 3 11:07 .gitignore [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 11:07 .golangci.yml [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 3 11:07 Attribution.txt [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 3 11:07 CHANGELOG.md [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 3 11:07 Dockerfile [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 11:07 GOVERNANCE.md [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 3 11:07 Jenkinsfile [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 11:07 LICENSE [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 3 11:07 Makefile [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 3 11:07 OWNERS.md [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 3 11:07 README.md [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 11:05 VERSION [2022-10-03T11:10:44.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 11:07 bin [2022-10-03T11:10:44.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:07 cmd [2022-10-03T11:10:44.726Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 3 11:10 coverage.out [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 3 11:07 go.mod [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 3 11:07 go.sum [2022-10-03T11:10:44.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:07 internal [2022-10-03T11:10:44.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 11:07 snap [2022-10-03T11:10:44.726Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 3 11:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:10:45.133Z] + 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=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d --label arch=arm64 --label version=0.0.0 . [2022-10-03T11:10:45.401Z] Sending build context to Docker daemon 11.77MB [2022-10-03T11:10:45.401Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T11:10:45.401Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-03T11:10:45.401Z] ---> f3c23e3d1e94 [2022-10-03T11:10:45.401Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T11:10:45.668Z] ---> Running in 9d27fc732695 [2022-10-03T11:10:45.936Z] Removing intermediate container 9d27fc732695 [2022-10-03T11:10:45.936Z] ---> fa697e9bea2e [2022-10-03T11:10:45.937Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T11:10:45.937Z] ---> Running in d610f2e6a33b [2022-10-03T11:10:46.203Z] Removing intermediate container d610f2e6a33b [2022-10-03T11:10:46.203Z] ---> e5fb2034d560 [2022-10-03T11:10:46.203Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-03T11:10:46.203Z] ---> Running in 210ce61ffd1f [2022-10-03T11:10:46.468Z] Removing intermediate container 210ce61ffd1f [2022-10-03T11:10:46.468Z] ---> b5b8451b9e6f [2022-10-03T11:10:46.468Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-03T11:10:46.735Z] ---> Running in 964b686f8188 [2022-10-03T11:10:47.003Z] Removing intermediate container 964b686f8188 [2022-10-03T11:10:47.003Z] ---> c11477b80804 [2022-10-03T11:10:47.003Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T11:10:47.003Z] ---> Running in 03b27b3d1b76 [2022-10-03T11:10:48.412Z] Removing intermediate container 03b27b3d1b76 [2022-10-03T11:10:48.412Z] ---> 729755a5d6d8 [2022-10-03T11:10:48.412Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T11:10:48.412Z] ---> Running in 30783cd62cce [2022-10-03T11:10:49.373Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T11:10:50.334Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T11:10:51.289Z] OK: 226 MiB in 55 packages [2022-10-03T11:10:51.871Z] Removing intermediate container 30783cd62cce [2022-10-03T11:10:51.871Z] ---> 87b24d9bfbc4 [2022-10-03T11:10:51.871Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-03T11:10:52.831Z] ---> b047a456c9e3 [2022-10-03T11:10:52.831Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T11:10:52.831Z] ---> Running in 559c07018478 [2022-10-03T11:10:54.773Z] Removing intermediate container 559c07018478 [2022-10-03T11:10:54.773Z] ---> 77a36ba59418 [2022-10-03T11:10:54.773Z] Step 11/27 : COPY . . [2022-10-03T11:10:55.737Z] ---> 0c1630fd5d27 [2022-10-03T11:10:55.737Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T11:10:56.006Z] ---> Running in 3d2ba97912f5 [2022-10-03T11:10:56.274Z] Removing intermediate container 3d2ba97912f5 [2022-10-03T11:10:56.274Z] ---> e39d07e9a47e [2022-10-03T11:10:56.274Z] Step 13/27 : RUN $MAKE [2022-10-03T11:10:56.274Z] ---> Running in 25899ecfb0ea [2022-10-03T11:10:57.234Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-10-03T11:13:33.943Z] Removing intermediate container 25899ecfb0ea [2022-10-03T11:13:33.943Z] ---> e04d79f6e49e [2022-10-03T11:13:33.943Z] Step 14/27 : FROM alpine:3.16 [2022-10-03T11:13:33.943Z] 3.16: Pulling from library/alpine [2022-10-03T11:13:33.943Z] 9b18e9b68314: Pulling fs layer [2022-10-03T11:13:33.943Z] 9b18e9b68314: Download complete [2022-10-03T11:13:33.943Z] 9b18e9b68314: Pull complete [2022-10-03T11:13:33.943Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T11:13:33.943Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T11:13:33.943Z] ---> a6215f271958 [2022-10-03T11:13:33.943Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-03T11:13:33.943Z] ---> Running in cddce4e82f9f [2022-10-03T11:13:33.943Z] Removing intermediate container cddce4e82f9f [2022-10-03T11:13:33.943Z] ---> 17b2a0d4404d [2022-10-03T11:13:33.943Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T11:13:33.943Z] ---> Running in 50dc6006f86b [2022-10-03T11:13:33.943Z] Removing intermediate container 50dc6006f86b [2022-10-03T11:13:33.943Z] ---> 15352af33ed0 [2022-10-03T11:13:33.943Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T11:13:33.943Z] ---> Running in ae80e0e2cea4 [2022-10-03T11:13:33.943Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T11:13:33.943Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T11:13:33.944Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T11:13:33.944Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T11:13:33.944Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T11:13:33.944Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T11:13:33.944Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T11:13:33.944Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T11:13:33.944Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T11:13:33.944Z] OK: 8 MiB in 20 packages [2022-10-03T11:13:33.944Z] Removing intermediate container ae80e0e2cea4 [2022-10-03T11:13:33.944Z] ---> be2cca0705cf [2022-10-03T11:13:33.944Z] Step 18/27 : WORKDIR / [2022-10-03T11:13:33.944Z] ---> Running in 432b2325012c [2022-10-03T11:13:33.944Z] Removing intermediate container 432b2325012c [2022-10-03T11:13:33.944Z] ---> 39976c31dc49 [2022-10-03T11:13:33.944Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-03T11:13:33.944Z] ---> 73e8c666ef3e [2022-10-03T11:13:33.944Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-03T11:13:33.944Z] ---> b706a3b8907c [2022-10-03T11:13:33.944Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-03T11:13:33.944Z] ---> 6131b664372a [2022-10-03T11:13:33.944Z] Step 22/27 : EXPOSE 59900 [2022-10-03T11:13:33.944Z] ---> Running in 90abea3d7650 [2022-10-03T11:13:33.944Z] Removing intermediate container 90abea3d7650 [2022-10-03T11:13:33.944Z] ---> 1c6c961dac05 [2022-10-03T11:13:33.944Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-03T11:13:33.944Z] ---> Running in 619e456a5ff6 [2022-10-03T11:13:33.944Z] Removing intermediate container 619e456a5ff6 [2022-10-03T11:13:33.944Z] ---> 3c0812d7a60c [2022-10-03T11:13:33.944Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T11:13:33.944Z] ---> Running in 03bfaabc6ac6 [2022-10-03T11:13:33.944Z] Removing intermediate container 03bfaabc6ac6 [2022-10-03T11:13:33.944Z] ---> 203de4c84c1d [2022-10-03T11:13:33.944Z] Step 25/27 : LABEL arch=arm64 [2022-10-03T11:13:33.944Z] ---> Running in 372fd77fed41 [2022-10-03T11:13:33.944Z] Removing intermediate container 372fd77fed41 [2022-10-03T11:13:33.944Z] ---> ded410dfb234 [2022-10-03T11:13:33.944Z] Step 26/27 : LABEL git_sha=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [2022-10-03T11:13:33.944Z] ---> Running in dfe058e82d52 [2022-10-03T11:13:33.944Z] Removing intermediate container dfe058e82d52 [2022-10-03T11:13:33.944Z] ---> c2fb854e623c [2022-10-03T11:13:33.944Z] Step 27/27 : LABEL version=0.0.0 [2022-10-03T11:13:33.944Z] ---> Running in b07be4a7a4f7 [2022-10-03T11:13:33.944Z] Removing intermediate container b07be4a7a4f7 [2022-10-03T11:13:33.944Z] ---> 1547e4dfdaf9 [2022-10-03T11:13:33.944Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T11:13:33.944Z] Successfully built 1547e4dfdaf9 [2022-10-03T11:13:33.944Z] 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-10-03T11:13:34.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T11:13:34.757Z] [2022-10-03T11:13:34.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:13:35.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T11:13:35.163Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T11:13:35.163Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T11:13:35.163Z] 04944245beec: Pulling fs layer [2022-10-03T11:13:35.163Z] 699f458cf7ca: Pulling fs layer [2022-10-03T11:13:35.163Z] 765212b225bb: Pulling fs layer [2022-10-03T11:13:35.163Z] f23df028b6ca: Pulling fs layer [2022-10-03T11:13:35.163Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T11:13:35.163Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T11:13:35.163Z] f23df028b6ca: Waiting [2022-10-03T11:13:35.163Z] d65c8cfc05b1: Waiting [2022-10-03T11:13:35.163Z] 2437ff75d9bd: Waiting [2022-10-03T11:13:35.163Z] 765212b225bb: Waiting [2022-10-03T11:13:35.433Z] 04944245beec: Verifying Checksum [2022-10-03T11:13:35.433Z] 04944245beec: Download complete [2022-10-03T11:13:35.433Z] 765212b225bb: Verifying Checksum [2022-10-03T11:13:35.433Z] 765212b225bb: Download complete [2022-10-03T11:13:35.433Z] f23df028b6ca: Verifying Checksum [2022-10-03T11:13:35.433Z] f23df028b6ca: Download complete [2022-10-03T11:13:35.433Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T11:13:35.433Z] d65c8cfc05b1: Download complete [2022-10-03T11:13:35.433Z] 699f458cf7ca: Verifying Checksum [2022-10-03T11:13:35.433Z] 699f458cf7ca: Download complete [2022-10-03T11:13:36.020Z] 8998bd30e6a1: Download complete [2022-10-03T11:13:37.961Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T11:13:37.961Z] 2437ff75d9bd: Download complete [2022-10-03T11:13:39.366Z] 8998bd30e6a1: Pull complete [2022-10-03T11:13:39.949Z] 04944245beec: Pull complete [2022-10-03T11:13:41.362Z] 699f458cf7ca: Pull complete [2022-10-03T11:13:41.362Z] 765212b225bb: Pull complete [2022-10-03T11:13:42.323Z] f23df028b6ca: Pull complete [2022-10-03T11:13:42.323Z] d65c8cfc05b1: Pull complete [2022-10-03T11:13:57.323Z] 2437ff75d9bd: Pull complete [2022-10-03T11:13:57.323Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T11:13:57.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T11:13:57.323Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T11:13:57.622Z] prd-ubuntu20.04-docker-arm64-4c-16g-6861 does not seem to be running inside a container [2022-10-03T11:13:57.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-03T11:14:00.120Z] $ docker top 43d437ce32e0a990179c418e79c191dc71b102c9e5cd611e68cd44c4056ee4cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:14:01.091Z] ---> job-cost.sh [2022-10-03T11:14:01.091Z] lf-activate-venv: SKIPPING [2022-10-03T11:14:01.091Z] INFO: No Stack... [2022-10-03T11:14:01.685Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T11:14:02.278Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T11:14:02.630Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-10-03T11:14:02.630Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T11:14:02.731Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] [2022-10-03T11:14:02.736Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] did not exist. Created. [2022-10-03T11:14:02.736Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T11:14:03.465Z] /w/workspace/device-virtual-go/1@tmp/durable-f2f81711/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T11:14:03.827Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T11:14:03.861Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T11:14:03.906Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T11:14:03.920Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T11:14:03.998Z] $ docker stop --time=1 43d437ce32e0a990179c418e79c191dc71b102c9e5cd611e68cd44c4056ee4cc [2022-10-03T11:14:05.468Z] $ docker rm -f 43d437ce32e0a990179c418e79c191dc71b102c9e5cd611e68cd44c4056ee4cc [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-10-03T11:14:06.478Z] provisioning config files... [2022-10-03T11:14:06.486Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-310@tmp/config8863375699637190305tmp [Pipeline] { [Pipeline] sh [2022-10-03T11:14:06.820Z] + set +x [2022-10-03T11:14:06.820Z] + curl -s https://codecov.io/bash [2022-10-03T11:14:06.820Z] + bash -s -- [2022-10-03T11:14:06.820Z] [2022-10-03T11:14:06.820Z] _____ _ [2022-10-03T11:14:06.820Z] / ____| | | [2022-10-03T11:14:06.820Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T11:14:06.820Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T11:14:06.820Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T11:14:06.820Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T11:14:06.820Z] Bash-1.0.6 [2022-10-03T11:14:06.820Z] [2022-10-03T11:14:06.820Z] [2022-10-03T11:14:06.820Z] ==> git version 2.25.1 found [2022-10-03T11:14:06.820Z] ==> 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-10-03T11:14:06.820Z] Release-Date: 2020-01-08 [2022-10-03T11:14:06.820Z] 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-10-03T11:14:06.820Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T11:14:06.820Z] ==> Jenkins CI detected. [2022-10-03T11:14:06.820Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-310 [2022-10-03T11:14:06.820Z] project root: . [2022-10-03T11:14:06.820Z] --> token set from env [2022-10-03T11:14:06.820Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T11:14:06.820Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T11:14:06.820Z] ==> Python coveragepy not found [2022-10-03T11:14:06.820Z] ==> Searching for coverage reports in: [2022-10-03T11:14:06.820Z] + . [2022-10-03T11:14:06.820Z] -> Found 1 reports [2022-10-03T11:14:06.820Z] ==> Detecting git/mercurial file structure [2022-10-03T11:14:06.820Z] ==> Reading reports [2022-10-03T11:14:06.820Z] + ./coverage.out bytes=44128 [2022-10-03T11:14:06.820Z] ==> Appending adjustments [2022-10-03T11:14:06.821Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T11:14:07.081Z] + Found adjustments [2022-10-03T11:14:07.081Z] ==> Gzipping contents [2022-10-03T11:14:07.081Z] 8.0K /tmp/codecov.Wq14V8.gz [2022-10-03T11:14:07.081Z] ==> Uploading reports [2022-10-03T11:14:07.081Z] url: https://codecov.io [2022-10-03T11:14:07.081Z] query: branch=PR-310&commit=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-310%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=310&job=&cmd_args= [2022-10-03T11:14:07.081Z] -> Pinging Codecov [2022-10-03T11:14:07.081Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-310&commit=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-310%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=310&job=&cmd_args= [2022-10-03T11:14:07.340Z] -> Uploading to [2022-10-03T11:14:07.340Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/5E52B4B073DB2E39498172D8E973AA87/d2cc3ac2a98df30ac48200989cdfb25a4b3c037d/10467445-dbec-4e70-bff1-d724ffb60e03.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T111407Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a1470fa6efcde683faa3c4c7b4ccc6c23e751124bacd8389bf45f57e6492e536 [2022-10-03T11:14:07.340Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T11:14:07.340Z] Dload Upload Total Spent Left Speed [2022-10-03T11:14:07.600Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5496 0 0 100 5496 0 24211 --:--:-- --:--:-- --:--:-- 24318 [2022-10-03T11:14:07.600Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [Pipeline] } [2022-10-03T11:14:07.629Z] 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-10-03T11:14:09.271Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-310/archives ] [2022-10-03T11:14:09.271Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-310/archives [2022-10-03T11:14:09.271Z] total 16 [2022-10-03T11:14:09.271Z] drwxr-xr-x 3 root root 4096 Oct 3 11:06 . [2022-10-03T11:14:09.271Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 11:06 .. [2022-10-03T11:14:09.271Z] drwxr-xr-x 2 root root 4096 Oct 3 11:06 cost [2022-10-03T11:14:09.271Z] -rw-r--r-- 1 root root 89 Oct 3 11:06 cost.csv [2022-10-03T11:14:09.271Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-310/archives [2022-10-03T11:14:09.271Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-310/archives [2022-10-03T11:14:09.271Z] total 16 [2022-10-03T11:14:09.271Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 11:06 . [2022-10-03T11:14:09.271Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 11:06 .. [2022-10-03T11:14:09.271Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 11:06 cost [2022-10-03T11:14:09.271Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 3 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:14:09.604Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:14:10.487Z] ---> package-listing.sh [2022-10-03T11:14:10.487Z] ++ facter osfamily [2022-10-03T11:14:10.487Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T11:14:10.747Z] + OS_FAMILY=debian [2022-10-03T11:14:10.747Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-310 [2022-10-03T11:14:10.747Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T11:14:10.747Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T11:14:10.747Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T11:14:10.747Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T11:14:10.747Z] + '[' /w/workspace/foundry_device-virtual-go_PR-310 ']' [2022-10-03T11:14:10.747Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T11:14:10.747Z] + case "${OS_FAMILY}" in [2022-10-03T11:14:10.747Z] + dpkg -l [2022-10-03T11:14:10.747Z] + grep '^ii' [2022-10-03T11:14:10.747Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T11:14:10.747Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T11:14:10.747Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T11:14:10.747Z] + '[' /w/workspace/foundry_device-virtual-go_PR-310 ']' [2022-10-03T11:14:10.747Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-310/archives/ [2022-10-03T11:14:10.747Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-310/archives/ [Pipeline] echo [2022-10-03T11:14:10.779Z] 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-310/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T11:14:11.072Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T11:14:11.691Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T11:14:11.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T11:14:11.836Z] prd-ubuntu20.04-docker-8c-8g-6860 does not seem to be running inside a container [2022-10-03T11:14:11.866Z] $ 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-310/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-310 -v /w/workspace/foundry_device-virtual-go_PR-310:/w/workspace/foundry_device-virtual-go_PR-310:rw,z -v /w/workspace/foundry_device-virtual-go_PR-310@tmp:/w/workspace/foundry_device-virtual-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T11:14:12.102Z] $ docker top f462c87fc37899579ca9b93ee81020e7524fc12194745a0c3e981842b2bb584e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T11:14:12.485Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T11:14:12.786Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T11:14:13.611Z] + ls /var/log/sa-host [2022-10-03T11:14:13.611Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T11:14:13.816Z] provisioning config files... [2022-10-03T11:14:13.831Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-310@tmp/config7550192496626528513tmp [Pipeline] { [Pipeline] echo [2022-10-03T11:14:13.878Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:14:14.187Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T11:14:14.214Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:14:14.612Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T11:14:14.642Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:14:14.949Z] ---> sudo-logs.sh [2022-10-03T11:14:14.949Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T11:14:15.033Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:14:15.342Z] ---> job-cost.sh [2022-10-03T11:14:15.342Z] lf-activate-venv: SKIPPING [2022-10-03T11:14:15.342Z] DEBUG: total: 0.2199999988079071 [2022-10-03T11:14:15.342Z] INFO: Retrieving Stack Cost... [2022-10-03T11:14:15.601Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T11:14:16.169Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T11:14:16.201Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T11:14:16.508Z] ---> logs-deploy.sh [2022-10-03T11:14:16.508Z] lf-activate-venv: SKIPPING [2022-10-03T11:14:16.508Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-310/1 [2022-10-03T11:14:16.508Z] INFO: archiving workspace using pattern(s): [2022-10-03T11:14:17.443Z] Archives upload complete. [2022-10-03T11:14:17.443Z] INFO: archiving logs to Nexus