Pull request #305 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from c492918df114aea48d87c626b4428d7f9950dc90+e9e78a70a342ea66ab18edf5d69a1655646d3b52 (4dc61ecff71e261fc7ec5344a84f58611ea048ab) 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-ssh9689115129273979887.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-ssh7638670872911755188.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6403708684600371593.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 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-ssh15336045453513358735.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9175678996321179965.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 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-640 in /w/workspace/foundry_device-virtual-go_PR-305 [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-305 # 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 e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit c492918df114aea48d87c626b4428d7f9950dc90 Merge succeeded, producing c492918df114aea48d87c626b4428d7f9950dc90 Checking out Revision c492918df114aea48d87c626b4428d7f9950dc90 (PR-305) > 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/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c492918df114aea48d87c626b4428d7f9950dc90 # 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 e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c492918df114aea48d87c626b4428d7f9950dc90 # timeout=10 Commit message: "feat: Add NATS Subject configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T20:01:57.124Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T20:01:57.173Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T20:01:57.189Z] ========================================================= [2022-09-22T20:01:57.189Z] EdgeX Global Pipelines Version Info [2022-09-22T20:01:57.189Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:01:57.895Z] ------------------- [2022-09-22T20:01:57.895Z] stable info: [2022-09-22T20:01:57.895Z] ------------------- [2022-09-22T20:01:57.895Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T20:01:57.895Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T20:01:57.895Z] Message: update stable to v1.0.239 > git rev-list --no-walk d070edb31437feaa294966818fefefe6b79f45cf # timeout=10 [2022-09-22T20:01:58.466Z] ------------------- [2022-09-22T20:01:58.467Z] experimental info: [2022-09-22T20:01:58.467Z] ------------------- [2022-09-22T20:01:58.467Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T20:01:58.467Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T20:01:58.467Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T20:01:58.676Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-09-22T20:01:58.688Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-09-22T20:01:58.700Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T20:01:58.711Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T20:01:58.724Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T20:01:58.735Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T20:01:58.745Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T20:01:58.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-22T20:01:58.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T20:01:58.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T20:01:58.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T20:01:58.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-09-22T20:01:58.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T20:01:58.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T20:01:58.834Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T20:01:58.845Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T20:01:58.855Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T20:01:58.868Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T20:01:58.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T20:01:58.889Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T20:01:58.901Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-22T20:01:58.912Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-22T20:01:58.922Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T20:01:58.933Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T20:01:58.944Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T20:01:58.955Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T20:01:58.966Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T20:01:58.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo [2022-09-22T20:01:58.987Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo [2022-09-22T20:01:58.998Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo [2022-09-22T20:01:59.010Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c492918df114aea48d87c626b4428d7f9950dc90 [Pipeline] echo [2022-09-22T20:01:59.024Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c492918 [Pipeline] echo [2022-09-22T20:01:59.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T20:01:59.076Z] provisioning config files... [2022-09-22T20:01:59.092Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config8695223631572283900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:01:59.401Z] ---> docker-login.sh [2022-09-22T20:01:59.401Z] nexus3.edgexfoundry.org:10001 [2022-09-22T20:01:59.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:01:59.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:01:59.661Z] Configure a credential helper to remove this warning. See [2022-09-22T20:01:59.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:01:59.661Z] [2022-09-22T20:01:59.662Z] Login Succeeded [2022-09-22T20:01:59.662Z] nexus3.edgexfoundry.org:10002 [2022-09-22T20:01:59.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:01:59.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:01:59.662Z] Configure a credential helper to remove this warning. See [2022-09-22T20:01:59.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:01:59.662Z] [2022-09-22T20:01:59.662Z] Login Succeeded [2022-09-22T20:01:59.662Z] nexus3.edgexfoundry.org:10003 [2022-09-22T20:01:59.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:01:59.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:01:59.923Z] Configure a credential helper to remove this warning. See [2022-09-22T20:01:59.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:01:59.923Z] [2022-09-22T20:01:59.923Z] Login Succeeded [2022-09-22T20:01:59.923Z] nexus3.edgexfoundry.org:10004 [2022-09-22T20:01:59.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:01:59.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:01:59.923Z] Configure a credential helper to remove this warning. See [2022-09-22T20:01:59.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:01:59.923Z] [2022-09-22T20:01:59.923Z] Login Succeeded [2022-09-22T20:01:59.923Z] docker.io [2022-09-22T20:01:59.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:02:00.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:02:00.493Z] Configure a credential helper to remove this warning. See [2022-09-22T20:02:00.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:02:00.493Z] [2022-09-22T20:02:00.493Z] Login Succeeded [2022-09-22T20:02:00.493Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T20:02:00.502Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T20:02:00.878Z] + git rev-list -1 --merges c492918df114aea48d87c626b4428d7f9950dc90~1..c492918df114aea48d87c626b4428d7f9950dc90 [Pipeline] echo [2022-09-22T20:02:00.916Z] -----------> git rev-list -1 --merges c492918df114aea48d87c626b4428d7f9950dc90~1..c492918df114aea48d87c626b4428d7f9950dc90 c492918df114aea48d87c626b4428d7f9950dc90 [false] [Pipeline] sh [2022-09-22T20:02:01.201Z] + git log --format=format:%s -1 c492918df114aea48d87c626b4428d7f9950dc90 [Pipeline] echo [2022-09-22T20:02:01.215Z] ========================================================= [2022-09-22T20:02:01.215Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T20:02:01.216Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T20:02:01.532Z] + git log --format=format:%s -1 c492918df114aea48d87c626b4428d7f9950dc90 [Pipeline] echo [2022-09-22T20:02:01.543Z] [semverPrep] GIT_COMMIT: c492918df114aea48d87c626b4428d7f9950dc90, Commit Message: feat: Add NATS Subject configuration [Pipeline] echo [2022-09-22T20:02:01.553Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T20:02:01.911Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T20:02:01.912Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T20:02:01.912Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T20:02:01.912Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T20:02:01.912Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T20:02:01.912Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T20:02:01.912Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:02:02.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T20:02:02.331Z] [2022-09-22T20:02:02.331Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:02:02.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T20:02:02.633Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T20:02:02.633Z] b85a868b505f: Pulling fs layer [2022-09-22T20:02:02.633Z] e2be974225ed: Pulling fs layer [2022-09-22T20:02:02.633Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T20:02:02.633Z] 988bab9f4d93: Pulling fs layer [2022-09-22T20:02:02.633Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T20:02:02.633Z] eaf3925da568: Pulling fs layer [2022-09-22T20:02:02.633Z] bab4dde63d76: Pulling fs layer [2022-09-22T20:02:02.633Z] bde34c3a00c8: Pulling fs layer [2022-09-22T20:02:02.633Z] b352a97aabf1: Pulling fs layer [2022-09-22T20:02:02.633Z] 4872d77fe225: Pulling fs layer [2022-09-22T20:02:02.633Z] 5851b861e8e6: Pulling fs layer [2022-09-22T20:02:02.633Z] 988bab9f4d93: Waiting [2022-09-22T20:02:02.633Z] 1469e6f7b9e6: Waiting [2022-09-22T20:02:02.633Z] eaf3925da568: Waiting [2022-09-22T20:02:02.633Z] 4872d77fe225: Waiting [2022-09-22T20:02:02.633Z] bab4dde63d76: Waiting [2022-09-22T20:02:02.633Z] 5851b861e8e6: Waiting [2022-09-22T20:02:02.633Z] b352a97aabf1: Waiting [2022-09-22T20:02:02.633Z] bde34c3a00c8: Waiting [2022-09-22T20:02:02.633Z] e2be974225ed: Download complete [2022-09-22T20:02:02.633Z] 988bab9f4d93: Verifying Checksum [2022-09-22T20:02:02.633Z] 988bab9f4d93: Download complete [2022-09-22T20:02:02.893Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T20:02:02.893Z] 1469e6f7b9e6: Download complete [2022-09-22T20:02:02.893Z] eaf3925da568: Verifying Checksum [2022-09-22T20:02:02.893Z] eaf3925da568: Download complete [2022-09-22T20:02:02.893Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T20:02:02.893Z] 339a4e72a1f5: Download complete [2022-09-22T20:02:02.893Z] bde34c3a00c8: Verifying Checksum [2022-09-22T20:02:02.893Z] bde34c3a00c8: Download complete [2022-09-22T20:02:02.893Z] b352a97aabf1: Verifying Checksum [2022-09-22T20:02:02.893Z] b352a97aabf1: Download complete [2022-09-22T20:02:02.893Z] 4872d77fe225: Download complete [2022-09-22T20:02:02.893Z] 5851b861e8e6: Verifying Checksum [2022-09-22T20:02:02.893Z] 5851b861e8e6: Download complete [2022-09-22T20:02:02.893Z] b85a868b505f: Verifying Checksum [2022-09-22T20:02:02.893Z] b85a868b505f: Download complete [2022-09-22T20:02:03.151Z] bab4dde63d76: Verifying Checksum [2022-09-22T20:02:03.151Z] bab4dde63d76: Download complete [2022-09-22T20:02:04.139Z] b85a868b505f: Pull complete [2022-09-22T20:02:04.416Z] e2be974225ed: Pull complete [2022-09-22T20:02:04.985Z] 339a4e72a1f5: Pull complete [2022-09-22T20:02:04.985Z] 988bab9f4d93: Pull complete [2022-09-22T20:02:05.245Z] 1469e6f7b9e6: Pull complete [2022-09-22T20:02:05.245Z] eaf3925da568: Pull complete [2022-09-22T20:02:07.149Z] bab4dde63d76: Pull complete [2022-09-22T20:02:07.149Z] bde34c3a00c8: Pull complete [2022-09-22T20:02:07.410Z] b352a97aabf1: Pull complete [2022-09-22T20:02:07.410Z] 4872d77fe225: Pull complete [2022-09-22T20:02:07.410Z] 5851b861e8e6: Pull complete [2022-09-22T20:02:07.410Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T20:02:07.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T20:02:07.410Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T20:02:07.507Z] prd-ubuntu20.04-docker-8c-8g-640 does not seem to be running inside a container [2022-09-22T20:02:07.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-22T20:02:10.379Z] $ docker top d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d -eo pid,comm [2022-09-22T20:02:10.429Z] 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-09-22T20:02:10.429Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T20:02:10.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T20:02:10.469Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T20:02:10.586Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T20:02:10.590Z] $ docker exec d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d ssh-agent [2022-09-22T20:02:10.705Z] SSH_AUTH_SOCK=/tmp/ssh-Zvscks2atvRz/agent.32 [2022-09-22T20:02:10.705Z] SSH_AGENT_PID=38 [2022-09-22T20:02:10.714Z] Running ssh-add (command line suppressed) [2022-09-22T20:02:10.810Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_10860098995492152360.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_10860098995492152360.key) [2022-09-22T20:02:10.827Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T20:02:11.122Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T20:02:11.136Z] $ docker exec --env ******** --env ******** d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d ssh-agent -k [2022-09-22T20:02:11.248Z] unset SSH_AUTH_SOCK; [2022-09-22T20:02:11.249Z] unset SSH_AGENT_PID; [2022-09-22T20:02:11.249Z] echo Agent pid 38 killed; [2022-09-22T20:02:11.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T20:02:11.285Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T20:02:11.285Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T20:02:11.401Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T20:02:11.404Z] $ docker exec d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d ssh-agent [2022-09-22T20:02:11.517Z] SSH_AUTH_SOCK=/tmp/ssh-JfdDps3W4YBE/agent.70 [2022-09-22T20:02:11.517Z] SSH_AGENT_PID=76 [2022-09-22T20:02:11.521Z] Running ssh-add (command line suppressed) [2022-09-22T20:02:11.625Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_1982320760045703841.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_1982320760045703841.key) [2022-09-22T20:02:11.641Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T20:02:11.933Z] + git semver init [2022-09-22T20:02:12.192Z] 2022-09-22 20:02:12,127 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T20:02:12.192Z] 2022-09-22 20:02:12,128 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-305/.semver [2022-09-22T20:02:12.192Z] 2022-09-22 20:02:12,128 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-305/.semver [2022-09-22T20:02:12.192Z] 2022-09-22 20:02:12,128 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-305/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-305, universal_newlines=False, shell=None, istream=None) [2022-09-22T20:02:13.572Z] 2022-09-22 20:02:13,310 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-305/.git/info/exclude [2022-09-22T20:02:13.572Z] 2022-09-22 20:02:13,310 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 with force:False [2022-09-22T20:02:13.572Z] 2022-09-22 20:02:13,311 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 [2022-09-22T20:02:13.572Z] 2022-09-22 20:02:13,313 [execute] INFO git cat-file --batch-check [2022-09-22T20:02:13.572Z] 2022-09-22 20:02:13,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T20:02:13.572Z] 2022-09-22 20:02:13,320 [execute] INFO git cat-file --batch [2022-09-22T20:02:13.572Z] 2022-09-22 20:02:13,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T20:02:13.572Z] 2022-09-22 20:02:13,326 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 [2022-09-22T20:02:13.572Z] 0.0.0 [Pipeline] } [2022-09-22T20:02:13.584Z] $ docker exec --env ******** --env ******** d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d ssh-agent -k [2022-09-22T20:02:13.683Z] unset SSH_AUTH_SOCK; [2022-09-22T20:02:13.684Z] unset SSH_AGENT_PID; [2022-09-22T20:02:13.684Z] echo Agent pid 76 killed; [2022-09-22T20:02:13.693Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T20:02:13.998Z] + git semver [Pipeline] } [2022-09-22T20:02:14.273Z] $ docker stop --time=1 d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d [2022-09-22T20:02:15.558Z] $ docker rm -f d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T20:02:15.895Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T20:02:16.072Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T20:02:16.075Z] [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-09-22T20:02:16.173Z] provisioning config files... [2022-09-22T20:02:16.183Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config6701737987397911901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:02:16.478Z] ---> docker-login.sh [2022-09-22T20:02:16.478Z] nexus3.edgexfoundry.org:10001 [2022-09-22T20:02:16.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:02:16.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:02:16.478Z] Configure a credential helper to remove this warning. See [2022-09-22T20:02:16.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:02:16.478Z] [2022-09-22T20:02:16.478Z] Login Succeeded [2022-09-22T20:02:16.478Z] nexus3.edgexfoundry.org:10002 [2022-09-22T20:02:16.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:02:16.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:02:16.478Z] Configure a credential helper to remove this warning. See [2022-09-22T20:02:16.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:02:16.478Z] [2022-09-22T20:02:16.478Z] Login Succeeded [2022-09-22T20:02:16.478Z] nexus3.edgexfoundry.org:10003 [2022-09-22T20:02:16.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:02:16.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:02:16.737Z] Configure a credential helper to remove this warning. See [2022-09-22T20:02:16.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:02:16.737Z] [2022-09-22T20:02:16.737Z] Login Succeeded [2022-09-22T20:02:16.737Z] nexus3.edgexfoundry.org:10004 [2022-09-22T20:02:16.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:02:16.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:02:16.737Z] Configure a credential helper to remove this warning. See [2022-09-22T20:02:16.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:02:16.737Z] [2022-09-22T20:02:16.737Z] Login Succeeded [2022-09-22T20:02:16.737Z] docker.io [2022-09-22T20:02:16.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:02:17.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:02:17.255Z] Configure a credential helper to remove this warning. See [2022-09-22T20:02:17.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:02:17.255Z] [2022-09-22T20:02:17.255Z] Login Succeeded [2022-09-22T20:02:17.255Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T20:02:17.262Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T20:02:17.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T20:02:17.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T20:02:17.334Z] ========================================================= [2022-09-22T20:02:17.334Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T20:02:17.334Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:02:17.635Z] + 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-09-22T20:02:17.635Z] Sending build context to Docker daemon 23.16MB [2022-09-22T20:02:17.635Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T20:02:17.635Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T20:02:17.893Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T20:02:17.893Z] 2408cc74d12b: Pulling fs layer [2022-09-22T20:02:17.893Z] ea60b727a1ce: Pulling fs layer [2022-09-22T20:02:17.893Z] 30c4a7721957: Pulling fs layer [2022-09-22T20:02:17.893Z] 370296b7ddb6: Pulling fs layer [2022-09-22T20:02:17.894Z] 7c6cee850709: Pulling fs layer [2022-09-22T20:02:17.894Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T20:02:17.894Z] d94ebbe4e438: Pulling fs layer [2022-09-22T20:02:17.894Z] 7c6cee850709: Waiting [2022-09-22T20:02:17.894Z] 39a5fcdaea64: Waiting [2022-09-22T20:02:17.894Z] 370296b7ddb6: Waiting [2022-09-22T20:02:17.894Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T20:02:17.894Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T20:02:17.894Z] d94ebbe4e438: Waiting [2022-09-22T20:02:17.894Z] 59ccb84bbe0f: Waiting [2022-09-22T20:02:17.894Z] 30c4a7721957: Verifying Checksum [2022-09-22T20:02:17.894Z] 30c4a7721957: Download complete [2022-09-22T20:02:17.894Z] ea60b727a1ce: Verifying Checksum [2022-09-22T20:02:17.894Z] ea60b727a1ce: Download complete [2022-09-22T20:02:17.894Z] 7c6cee850709: Verifying Checksum [2022-09-22T20:02:17.894Z] 7c6cee850709: Download complete [2022-09-22T20:02:17.894Z] 39a5fcdaea64: Download complete [2022-09-22T20:02:17.894Z] 2408cc74d12b: Verifying Checksum [2022-09-22T20:02:17.894Z] 2408cc74d12b: Download complete [2022-09-22T20:02:17.894Z] d94ebbe4e438: Verifying Checksum [2022-09-22T20:02:17.894Z] d94ebbe4e438: Download complete [2022-09-22T20:02:18.153Z] 2408cc74d12b: Pull complete [2022-09-22T20:02:18.153Z] ea60b727a1ce: Pull complete [2022-09-22T20:02:18.153Z] 30c4a7721957: Pull complete [2022-09-22T20:02:18.722Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T20:02:18.722Z] 59ccb84bbe0f: Download complete [2022-09-22T20:02:18.980Z] 370296b7ddb6: Verifying Checksum [2022-09-22T20:02:18.980Z] 370296b7ddb6: Download complete [2022-09-22T20:02:18.980Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T20:02:18.980Z] bcfd1f05c69d: Download complete [2022-09-22T20:02:23.162Z] 370296b7ddb6: Pull complete [2022-09-22T20:02:23.162Z] 7c6cee850709: Pull complete [2022-09-22T20:02:23.162Z] 39a5fcdaea64: Pull complete [2022-09-22T20:02:23.162Z] d94ebbe4e438: Pull complete [2022-09-22T20:02:25.067Z] bcfd1f05c69d: Pull complete [2022-09-22T20:02:25.327Z] 59ccb84bbe0f: Pull complete [2022-09-22T20:02:25.591Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T20:02:25.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T20:02:25.591Z] ---> a4fb48ad2a94 [2022-09-22T20:02:25.591Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T20:02:29.798Z] ---> Running in 4d47c471d93d [2022-09-22T20:02:29.798Z] Removing intermediate container 4d47c471d93d [2022-09-22T20:02:29.798Z] ---> 3f3cf73d3b91 [2022-09-22T20:02:29.798Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T20:02:29.798Z] ---> Running in 3bf20c0ff7f9 [2022-09-22T20:02:29.798Z] Removing intermediate container 3bf20c0ff7f9 [2022-09-22T20:02:29.798Z] ---> 07ce2062c27d [2022-09-22T20:02:29.798Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T20:02:29.798Z] ---> Running in 75868b9620d1 [2022-09-22T20:02:29.798Z] Removing intermediate container 75868b9620d1 [2022-09-22T20:02:29.798Z] ---> a7f2f06a8304 [2022-09-22T20:02:29.798Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-22T20:02:29.798Z] ---> Running in 103d285b484e [2022-09-22T20:02:30.055Z] Removing intermediate container 103d285b484e [2022-09-22T20:02:30.055Z] ---> d3abf7406361 [2022-09-22T20:02:30.055Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T20:02:30.055Z] ---> Running in 6eeb4da4b9ec [2022-09-22T20:02:30.622Z] Removing intermediate container 6eeb4da4b9ec [2022-09-22T20:02:30.622Z] ---> c34d9bd91079 [2022-09-22T20:02:30.622Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T20:02:30.622Z] ---> Running in 437c913615fc [2022-09-22T20:02:30.881Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T20:02:31.144Z] Still waiting to schedule task [2022-09-22T20:02:31.145Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-22T20:02:31.816Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T20:02:32.075Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T20:02:32.075Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T20:02:32.335Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T20:02:32.335Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T20:02:32.335Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T20:02:32.335Z] OK: 216 MiB in 55 packages [2022-09-22T20:02:32.904Z] Removing intermediate container 437c913615fc [2022-09-22T20:02:32.904Z] ---> 429ee03576da [2022-09-22T20:02:32.904Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-22T20:02:32.904Z] ---> c5c978d2dbfc [2022-09-22T20:02:32.904Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T20:02:32.904Z] ---> Running in 40a9a1d6fbc4 [2022-09-22T20:02:54.865Z] Removing intermediate container 40a9a1d6fbc4 [2022-09-22T20:02:54.865Z] ---> 9c31d2d4d02f [2022-09-22T20:02:54.865Z] Step 11/13 : COPY . . [2022-09-22T20:02:55.431Z] ---> ee6457d67fa9 [2022-09-22T20:02:55.432Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T20:02:55.432Z] ---> Running in bd08629312c0 [2022-09-22T20:02:55.432Z] Removing intermediate container bd08629312c0 [2022-09-22T20:02:55.432Z] ---> 3de9091bf728 [2022-09-22T20:02:55.432Z] Step 13/13 : RUN $MAKE [2022-09-22T20:02:55.432Z] ---> Running in c8e27b95dc23 [2022-09-22T20:02:55.691Z] noop [2022-09-22T20:02:55.950Z] Removing intermediate container c8e27b95dc23 [2022-09-22T20:02:55.950Z] ---> f37426691189 [2022-09-22T20:02:55.950Z] Successfully built f37426691189 [2022-09-22T20:02:55.950Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:02:56.259Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T20:02:56.259Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T20:02:56.327Z] prd-ubuntu20.04-docker-8c-8g-640 does not seem to be running inside a container [2022-09-22T20:02:56.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T20:02:56.723Z] $ docker top ff2fcda7de110669314311612dbc01cb3a24620dcc555a3c5a95ebb659ecce89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T20:02:57.062Z] + go version [2022-09-22T20:02:57.062Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T20:02:57.072Z] $ docker stop --time=1 ff2fcda7de110669314311612dbc01cb3a24620dcc555a3c5a95ebb659ecce89 [2022-09-22T20:02:58.331Z] $ docker rm -f ff2fcda7de110669314311612dbc01cb3a24620dcc555a3c5a95ebb659ecce89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:02:58.722Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T20:02:58.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T20:02:58.786Z] prd-ubuntu20.04-docker-8c-8g-640 does not seem to be running inside a container [2022-09-22T20:02:58.816Z] $ 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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T20:02:59.135Z] $ docker top 0fd48eca806901d801c77194db2b76203793df80a50b192470a8ab559b8905f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T20:02:59.486Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-305 [Pipeline] fileExists [Pipeline] sh [2022-09-22T20:02:59.777Z] + make test [2022-09-22T20:02:59.777Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-22T20:03:00.035Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-22T20:03:10.001Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-22T20:03:10.001Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-09-22T20:03:16.562Z] 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-09-22T20:03:16.562Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T20:03:19.844Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T20:03:19.844Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T20:03:19.844Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T20:03:19.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T20:03:19.863Z] $ docker stop --time=1 0fd48eca806901d801c77194db2b76203793df80a50b192470a8ab559b8905f5 [2022-09-22T20:03:22.170Z] $ docker rm -f 0fd48eca806901d801c77194db2b76203793df80a50b192470a8ab559b8905f5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T20:03:22.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T20:03:22.661Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T20:03:23.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T20:03:23.424Z] + ls -al . [2022-09-22T20:03:23.424Z] total 200 [2022-09-22T20:03:23.424Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 20:02 . [2022-09-22T20:03:23.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:01 .. [2022-09-22T20:03:23.424Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 20:03 .git [2022-09-22T20:03:23.424Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:01 .github [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 20:01 .gitignore [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 20:01 .golangci.yml [2022-09-22T20:03:23.424Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 20:02 .semver [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 8527 Sep 22 20:01 Attribution.txt [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 22 20:01 CHANGELOG.md [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 22 20:01 Dockerfile [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 20:01 GOVERNANCE.md [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 20:01 Jenkinsfile [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 20:01 LICENSE [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 22 20:01 Makefile [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 20:01 OWNERS.md [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 22 20:01 README.md [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 20:02 VERSION [2022-09-22T20:03:23.424Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 20:01 bin [2022-09-22T20:03:23.424Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:01 cmd [2022-09-22T20:03:23.424Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 22 20:03 coverage.out [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 3399 Sep 22 20:01 go.mod [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 37521 Sep 22 20:01 go.sum [2022-09-22T20:03:23.424Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:01 internal [2022-09-22T20:03:23.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:01 snap [2022-09-22T20:03:23.424Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 20:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:03:23.840Z] + 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=c492918df114aea48d87c626b4428d7f9950dc90 --label arch=amd64 --label version=0.0.0 . [2022-09-22T20:03:23.840Z] Sending build context to Docker daemon 23.21MB [2022-09-22T20:03:23.840Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T20:03:23.840Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-22T20:03:23.840Z] ---> f37426691189 [2022-09-22T20:03:23.840Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T20:03:24.099Z] ---> Running in 010413c55c59 [2022-09-22T20:03:24.099Z] Removing intermediate container 010413c55c59 [2022-09-22T20:03:24.099Z] ---> 0d1aa25e9763 [2022-09-22T20:03:24.099Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T20:03:24.099Z] ---> Running in 6928453d68d1 [2022-09-22T20:03:24.099Z] Removing intermediate container 6928453d68d1 [2022-09-22T20:03:24.099Z] ---> 597fae4e530a [2022-09-22T20:03:24.099Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-22T20:03:24.099Z] ---> Running in 01845880dbaf [2022-09-22T20:03:24.359Z] Removing intermediate container 01845880dbaf [2022-09-22T20:03:24.359Z] ---> 241edb6e7443 [2022-09-22T20:03:24.359Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-22T20:03:24.359Z] ---> Running in 1e8488ab3cb7 [2022-09-22T20:03:24.359Z] Removing intermediate container 1e8488ab3cb7 [2022-09-22T20:03:24.359Z] ---> 26e000125a46 [2022-09-22T20:03:24.359Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T20:03:24.359Z] ---> Running in e200deab8e0f [2022-09-22T20:03:24.936Z] Removing intermediate container e200deab8e0f [2022-09-22T20:03:24.936Z] ---> eccca9ca9366 [2022-09-22T20:03:24.936Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T20:03:24.936Z] ---> Running in 5868ea41f914 [2022-09-22T20:03:25.195Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T20:03:26.130Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T20:03:26.387Z] OK: 216 MiB in 55 packages [2022-09-22T20:03:26.644Z] Removing intermediate container 5868ea41f914 [2022-09-22T20:03:26.644Z] ---> 04259ca4b928 [2022-09-22T20:03:26.644Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-22T20:03:26.902Z] ---> aee566643c00 [2022-09-22T20:03:26.902Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T20:03:26.902Z] ---> Running in ee26ffa76aa1 [2022-09-22T20:03:27.467Z] Removing intermediate container ee26ffa76aa1 [2022-09-22T20:03:27.467Z] ---> d6a3d38ab01c [2022-09-22T20:03:27.467Z] Step 11/27 : COPY . . [2022-09-22T20:03:28.034Z] ---> bd7d47b09b44 [2022-09-22T20:03:28.034Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T20:03:28.034Z] ---> Running in e710b8fc0978 [2022-09-22T20:03:28.034Z] Removing intermediate container e710b8fc0978 [2022-09-22T20:03:28.034Z] ---> c78d1db312b1 [2022-09-22T20:03:28.034Z] Step 13/27 : RUN $MAKE [2022-09-22T20:03:28.291Z] ---> Running in 82bd4f04070e [2022-09-22T20:03:28.548Z] 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-09-22T20:03:50.476Z] Removing intermediate container 82bd4f04070e [2022-09-22T20:03:50.476Z] ---> 2a72d1f779c3 [2022-09-22T20:03:50.476Z] Step 14/27 : FROM alpine:3.16 [2022-09-22T20:03:50.476Z] 3.16: Pulling from library/alpine [2022-09-22T20:03:50.476Z] 213ec9aee27d: Pulling fs layer [2022-09-22T20:03:50.735Z] 213ec9aee27d: Verifying Checksum [2022-09-22T20:03:50.735Z] 213ec9aee27d: Download complete [2022-09-22T20:03:50.735Z] 213ec9aee27d: Pull complete [2022-09-22T20:03:50.735Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T20:03:50.735Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T20:03:50.735Z] ---> 9c6f07244728 [2022-09-22T20:03:50.735Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-22T20:03:50.735Z] ---> Running in c8807f48caf2 [2022-09-22T20:03:50.994Z] Removing intermediate container c8807f48caf2 [2022-09-22T20:03:50.994Z] ---> 2c033d7c3f6d [2022-09-22T20:03:50.994Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T20:03:50.994Z] ---> Running in 7468db685420 [2022-09-22T20:03:51.561Z] Removing intermediate container 7468db685420 [2022-09-22T20:03:51.562Z] ---> 3e872088741d [2022-09-22T20:03:51.562Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T20:03:51.562Z] ---> Running in 3184ad468e45 [2022-09-22T20:03:51.820Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T20:03:52.763Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T20:03:53.021Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T20:03:53.021Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T20:03:53.021Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T20:03:53.278Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T20:03:53.278Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T20:03:53.536Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T20:03:53.536Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T20:03:53.536Z] OK: 8 MiB in 20 packages [2022-09-22T20:03:54.102Z] Removing intermediate container 3184ad468e45 [2022-09-22T20:03:54.102Z] ---> ef07b4a492d7 [2022-09-22T20:03:54.102Z] Step 18/27 : WORKDIR / [2022-09-22T20:03:54.102Z] ---> Running in 7af99aaf2486 [2022-09-22T20:03:54.102Z] Removing intermediate container 7af99aaf2486 [2022-09-22T20:03:54.102Z] ---> 3c07f9be335e [2022-09-22T20:03:54.102Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-22T20:03:54.102Z] ---> a55be471418d [2022-09-22T20:03:54.102Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-22T20:03:54.360Z] ---> db15a9ae99e6 [2022-09-22T20:03:54.360Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-22T20:03:55.011Z] ---> 2ac031d9bba8 [2022-09-22T20:03:55.011Z] Step 22/27 : EXPOSE 59900 [2022-09-22T20:03:55.011Z] ---> Running in 571abc747a13 [2022-09-22T20:03:55.011Z] Removing intermediate container 571abc747a13 [2022-09-22T20:03:55.011Z] ---> 9e209febdc5b [2022-09-22T20:03:55.011Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-22T20:03:55.011Z] ---> Running in 0eac275631df [2022-09-22T20:03:55.011Z] Removing intermediate container 0eac275631df [2022-09-22T20:03:55.011Z] ---> 326db691acb6 [2022-09-22T20:03:55.011Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T20:03:55.270Z] ---> Running in 9d0df58a38a2 [2022-09-22T20:03:55.270Z] Removing intermediate container 9d0df58a38a2 [2022-09-22T20:03:55.270Z] ---> 3fa43def8229 [2022-09-22T20:03:55.270Z] Step 25/27 : LABEL arch=amd64 [2022-09-22T20:03:55.270Z] ---> Running in 6cbf8f2beb64 [2022-09-22T20:03:55.270Z] Removing intermediate container 6cbf8f2beb64 [2022-09-22T20:03:55.270Z] ---> 87d6e7f0fb85 [2022-09-22T20:03:55.270Z] Step 26/27 : LABEL git_sha=c492918df114aea48d87c626b4428d7f9950dc90 [2022-09-22T20:03:55.270Z] ---> Running in a45f411effad [2022-09-22T20:03:55.530Z] Removing intermediate container a45f411effad [2022-09-22T20:03:55.530Z] ---> 5da0032b34e5 [2022-09-22T20:03:55.530Z] Step 27/27 : LABEL version=0.0.0 [2022-09-22T20:03:55.530Z] ---> Running in edd3c5f0c795 [2022-09-22T20:03:55.530Z] Removing intermediate container edd3c5f0c795 [2022-09-22T20:03:55.530Z] ---> f48baddccbe9 [2022-09-22T20:03:55.530Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T20:03:55.530Z] Successfully built f48baddccbe9 [2022-09-22T20:03:55.530Z] 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-09-22T20:03:55.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T20:03:55.960Z] [2022-09-22T20:03:55.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:03:56.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T20:03:56.255Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T20:03:56.255Z] 5eb5b503b376: Pulling fs layer [2022-09-22T20:03:56.255Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T20:03:56.255Z] ec43610c2a17: Pulling fs layer [2022-09-22T20:03:56.255Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T20:03:56.255Z] 33b1e0a273af: Pulling fs layer [2022-09-22T20:03:56.255Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T20:03:56.255Z] 2f39f015ded8: Pulling fs layer [2022-09-22T20:03:56.255Z] 3a2ae6a8a46f: Waiting [2022-09-22T20:03:56.255Z] 33b1e0a273af: Waiting [2022-09-22T20:03:56.255Z] 5d3b04190fa2: Waiting [2022-09-22T20:03:56.255Z] 5c69ac0246d0: Download complete [2022-09-22T20:03:56.255Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T20:03:56.255Z] 3a2ae6a8a46f: Download complete [2022-09-22T20:03:56.255Z] 33b1e0a273af: Verifying Checksum [2022-09-22T20:03:56.255Z] 33b1e0a273af: Download complete [2022-09-22T20:03:56.255Z] 5d3b04190fa2: Verifying Checksum [2022-09-22T20:03:56.255Z] 5d3b04190fa2: Download complete [2022-09-22T20:03:56.255Z] ec43610c2a17: Verifying Checksum [2022-09-22T20:03:56.255Z] ec43610c2a17: Download complete [2022-09-22T20:03:56.514Z] 5eb5b503b376: Verifying Checksum [2022-09-22T20:03:56.514Z] 5eb5b503b376: Download complete [2022-09-22T20:03:57.082Z] 2f39f015ded8: Download complete [2022-09-22T20:03:57.650Z] 5eb5b503b376: Pull complete [2022-09-22T20:03:57.650Z] 5c69ac0246d0: Pull complete [2022-09-22T20:03:58.217Z] ec43610c2a17: Pull complete [2022-09-22T20:03:58.218Z] 3a2ae6a8a46f: Pull complete [2022-09-22T20:03:58.475Z] 33b1e0a273af: Pull complete [2022-09-22T20:03:58.475Z] 5d3b04190fa2: Pull complete [2022-09-22T20:04:02.654Z] 2f39f015ded8: Pull complete [2022-09-22T20:04:02.654Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T20:04:02.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T20:04:02.654Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T20:04:02.722Z] prd-ubuntu20.04-docker-8c-8g-640 does not seem to be running inside a container [2022-09-22T20:04:02.750Z] $ 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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T20:04:04.681Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-642 in /w/workspace/foundry_device-virtual-go_PR-305 [2022-09-22T20:04:06.563Z] $ docker top 271d83142be64354894a488bff5c981909143afaf6a253537e46504f0444f0a3 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-09-22T20:04:06.695Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2022-09-22T20:04:06.780Z] The recommended git tool is: git [2022-09-22T20:04:06.950Z] ---> job-cost.sh [2022-09-22T20:04:06.950Z] lf-activate-venv: SKIPPING [2022-09-22T20:04:06.950Z] INFO: No Stack... [2022-09-22T20:04:07.209Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T20:04:07.778Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T20:04:08.061Z] + cat /w/workspace/foundry_device-virtual-go_PR-305/archives/cost.csv [2022-09-22T20:04:08.061Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T20:04:08.074Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] [2022-09-22T20:04:08.081Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] did not exist. Created. [2022-09-22T20:04:08.081Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T20:04:08.376Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T20:04:08.408Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T20:04:08.416Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T20:04:08.434Z] $ docker stop --time=1 271d83142be64354894a488bff5c981909143afaf6a253537e46504f0444f0a3 [2022-09-22T20:04:09.593Z] $ docker rm -f 271d83142be64354894a488bff5c981909143afaf6a253537e46504f0444f0a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T20:04:11.754Z] using credential edgex-jenkins-ssh [2022-09-22T20:04:11.770Z] Cloning the remote Git repository [2022-09-22T20:04:11.814Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-09-22T20:04:11.880Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2022-09-22T20:04:12.013Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-22T20:04:12.015Z] > git --version # timeout=10 [2022-09-22T20:04:12.036Z] > git --version # 'git version 2.25.1' [2022-09-22T20:04:12.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T20:04:12.084Z] Verifying host key using known hosts file [2022-09-22T20:04:12.262Z] 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-09-22T20:04:12.274Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T20:04:14.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-22T20:04:14.291Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T20:04:15.115Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-22T20:04:15.155Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-22T20:04:15.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T20:04:15.163Z] Verifying host key using known hosts file [2022-09-22T20:04:15.170Z] 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-09-22T20:04:15.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T20:04:15.804Z] Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit c492918df114aea48d87c626b4428d7f9950dc90 [2022-09-22T20:04:16.020Z] Merge succeeded, producing c492918df114aea48d87c626b4428d7f9950dc90 [2022-09-22T20:04:16.020Z] Checking out Revision c492918df114aea48d87c626b4428d7f9950dc90 (PR-305) [2022-09-22T20:04:15.823Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T20:04:15.842Z] > git checkout -f c492918df114aea48d87c626b4428d7f9950dc90 # timeout=10 [2022-09-22T20:04:15.919Z] > git remote # timeout=10 [2022-09-22T20:04:15.936Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T20:04:15.957Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T20:04:15.965Z] Verifying host key using known hosts file [2022-09-22T20:04:15.969Z] 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-09-22T20:04:15.977Z] > git merge e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 [2022-09-22T20:04:16.000Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T20:04:16.028Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T20:04:16.039Z] > git checkout -f c492918df114aea48d87c626b4428d7f9950dc90 # timeout=10 [2022-09-22T20:04:19.505Z] Commit message: "feat: Add NATS Subject configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T20:04:20.301Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T20:04:20.301Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T20:04:20.301Z] Dload Upload Total Spent Left Speed [2022-09-22T20:04:20.301Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 86910 [Pipeline] sh [2022-09-22T20:04:20.976Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T20:04:21.301Z] + sudo tee /etc/docker/daemon.new+ sudo jq [2022-09-22T20:04:21.301Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T20:04:21.301Z] { [2022-09-22T20:04:21.301Z] "registry-mirrors": [ [2022-09-22T20:04:21.301Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T20:04:21.301Z] ], [2022-09-22T20:04:21.301Z] "bip": "10.250.0.254/24", [2022-09-22T20:04:21.301Z] "hosts": [ [2022-09-22T20:04:21.301Z] "tcp://0.0.0.0:5555", [2022-09-22T20:04:21.301Z] "unix:///var/run/docker.sock" [2022-09-22T20:04:21.301Z] ], [2022-09-22T20:04:21.301Z] "mtu": 1458, [2022-09-22T20:04:21.301Z] "selinux-enabled": true, [2022-09-22T20:04:21.301Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T20:04:21.301Z] } [Pipeline] sh [2022-09-22T20:04:21.626Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T20:04:21.954Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T20:04:40.187Z] provisioning config files... [2022-09-22T20:04:40.213Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config15527960133166852403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:04:40.557Z] ---> docker-login.sh [2022-09-22T20:04:40.557Z] nexus3.edgexfoundry.org:10001 [2022-09-22T20:04:40.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:04:41.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:04:41.409Z] Configure a credential helper to remove this warning. See [2022-09-22T20:04:41.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:04:41.409Z] [2022-09-22T20:04:41.409Z] Login Succeeded [2022-09-22T20:04:41.409Z] nexus3.edgexfoundry.org:10002 [2022-09-22T20:04:41.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:04:41.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:04:41.676Z] Configure a credential helper to remove this warning. See [2022-09-22T20:04:41.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:04:41.676Z] [2022-09-22T20:04:41.676Z] Login Succeeded [2022-09-22T20:04:41.676Z] nexus3.edgexfoundry.org:10003 [2022-09-22T20:04:41.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:04:41.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:04:41.946Z] Configure a credential helper to remove this warning. See [2022-09-22T20:04:41.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:04:41.946Z] [2022-09-22T20:04:41.946Z] Login Succeeded [2022-09-22T20:04:41.946Z] nexus3.edgexfoundry.org:10004 [2022-09-22T20:04:42.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:04:42.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:04:42.214Z] Configure a credential helper to remove this warning. See [2022-09-22T20:04:42.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:04:42.214Z] [2022-09-22T20:04:42.214Z] Login Succeeded [2022-09-22T20:04:42.214Z] docker.io [2022-09-22T20:04:42.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T20:04:42.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T20:04:42.748Z] Configure a credential helper to remove this warning. See [2022-09-22T20:04:42.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T20:04:42.748Z] [2022-09-22T20:04:42.748Z] Login Succeeded [2022-09-22T20:04:42.748Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T20:04:42.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T20:04:42.903Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T20:04:42.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T20:04:42.927Z] ========================================================= [2022-09-22T20:04:42.927Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T20:04:42.927Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:04:43.251Z] + 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-09-22T20:04:43.519Z] Sending build context to Docker daemon 11.73MB [2022-09-22T20:04:43.519Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T20:04:43.519Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T20:04:44.485Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T20:04:44.485Z] b3c136eddcbf: Pulling fs layer [2022-09-22T20:04:44.485Z] c0a3192eca97: Pulling fs layer [2022-09-22T20:04:44.485Z] a050256f5b6f: Pulling fs layer [2022-09-22T20:04:44.485Z] 656be50a0ddc: Pulling fs layer [2022-09-22T20:04:44.486Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T20:04:44.486Z] 46d945488cbd: Pulling fs layer [2022-09-22T20:04:44.486Z] 8a5474983e97: Pulling fs layer [2022-09-22T20:04:44.486Z] 329c88fbcd65: Pulling fs layer [2022-09-22T20:04:44.486Z] 46d945488cbd: Waiting [2022-09-22T20:04:44.486Z] 8a5474983e97: Waiting [2022-09-22T20:04:44.486Z] 329c88fbcd65: Waiting [2022-09-22T20:04:44.486Z] 656be50a0ddc: Waiting [2022-09-22T20:04:44.486Z] 2bbca73fdf42: Waiting [2022-09-22T20:04:44.486Z] a050256f5b6f: Verifying Checksum [2022-09-22T20:04:44.486Z] a050256f5b6f: Download complete [2022-09-22T20:04:44.486Z] c0a3192eca97: Download complete [2022-09-22T20:04:44.486Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T20:04:44.486Z] 2bbca73fdf42: Download complete [2022-09-22T20:04:44.486Z] 46d945488cbd: Verifying Checksum [2022-09-22T20:04:44.486Z] 46d945488cbd: Download complete [2022-09-22T20:04:44.486Z] b3c136eddcbf: Verifying Checksum [2022-09-22T20:04:44.486Z] b3c136eddcbf: Download complete [2022-09-22T20:04:45.458Z] b3c136eddcbf: Pull complete [2022-09-22T20:04:45.458Z] 329c88fbcd65: Verifying Checksum [2022-09-22T20:04:45.458Z] 329c88fbcd65: Download complete [2022-09-22T20:04:45.742Z] c0a3192eca97: Pull complete [2022-09-22T20:04:46.013Z] a050256f5b6f: Pull complete [2022-09-22T20:04:46.599Z] 8a5474983e97: Verifying Checksum [2022-09-22T20:04:46.599Z] 8a5474983e97: Download complete [2022-09-22T20:04:47.184Z] 656be50a0ddc: Verifying Checksum [2022-09-22T20:04:47.184Z] 656be50a0ddc: Download complete [2022-09-22T20:04:59.504Z] 656be50a0ddc: Pull complete [2022-09-22T20:04:59.504Z] 2bbca73fdf42: Pull complete [2022-09-22T20:04:59.504Z] 46d945488cbd: Pull complete [2022-09-22T20:05:06.176Z] 8a5474983e97: Pull complete [2022-09-22T20:05:07.604Z] 329c88fbcd65: Pull complete [2022-09-22T20:05:07.604Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T20:05:07.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T20:05:07.604Z] ---> ff4287adb874 [2022-09-22T20:05:07.604Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T20:05:09.552Z] ---> Running in b65832b04d24 [2022-09-22T20:05:09.552Z] Removing intermediate container b65832b04d24 [2022-09-22T20:05:09.552Z] ---> c6ca5db7660f [2022-09-22T20:05:09.552Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T20:05:09.552Z] ---> Running in f713cd494d28 [2022-09-22T20:05:09.822Z] Removing intermediate container f713cd494d28 [2022-09-22T20:05:09.822Z] ---> 8f144ff7c349 [2022-09-22T20:05:09.822Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T20:05:09.822Z] ---> Running in 0b249d96d2e3 [2022-09-22T20:05:10.094Z] Removing intermediate container 0b249d96d2e3 [2022-09-22T20:05:10.094Z] ---> 13e239c5586b [2022-09-22T20:05:10.094Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-22T20:05:10.361Z] ---> Running in 9b35b6050e50 [2022-09-22T20:05:10.630Z] Removing intermediate container 9b35b6050e50 [2022-09-22T20:05:10.630Z] ---> 5ef5b0764fb1 [2022-09-22T20:05:10.630Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T20:05:10.630Z] ---> Running in 79ca0cf0966f [2022-09-22T20:05:12.575Z] Removing intermediate container 79ca0cf0966f [2022-09-22T20:05:12.575Z] ---> e00e6d887c54 [2022-09-22T20:05:12.575Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T20:05:12.575Z] ---> Running in 0915c2c5451b [2022-09-22T20:05:13.537Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T20:05:14.502Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T20:05:15.085Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T20:05:15.349Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T20:05:15.349Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T20:05:15.619Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T20:05:15.619Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T20:05:15.619Z] OK: 226 MiB in 55 packages [2022-09-22T20:05:16.588Z] Removing intermediate container 0915c2c5451b [2022-09-22T20:05:16.588Z] ---> d6022af387d6 [2022-09-22T20:05:16.588Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-22T20:05:17.172Z] ---> f3380b40fc88 [2022-09-22T20:05:17.172Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T20:05:17.172Z] ---> Running in dd109f9b26b5 [2022-09-22T20:06:04.013Z] Removing intermediate container dd109f9b26b5 [2022-09-22T20:06:04.013Z] ---> badade7cf118 [2022-09-22T20:06:04.013Z] Step 11/13 : COPY . . [2022-09-22T20:06:04.603Z] ---> 79b09ba8a578 [2022-09-22T20:06:04.603Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T20:06:04.871Z] ---> Running in 11638ef6f3f4 [2022-09-22T20:06:05.139Z] Removing intermediate container 11638ef6f3f4 [2022-09-22T20:06:05.139Z] ---> ba489e69c6d3 [2022-09-22T20:06:05.139Z] Step 13/13 : RUN $MAKE [2022-09-22T20:06:05.139Z] ---> Running in 0317d792a246 [2022-09-22T20:06:06.099Z] noop [2022-09-22T20:06:06.683Z] Removing intermediate container 0317d792a246 [2022-09-22T20:06:06.683Z] ---> 2bc74a1f8c02 [2022-09-22T20:06:06.683Z] Successfully built 2bc74a1f8c02 [2022-09-22T20:06:06.683Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:06:07.028Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T20:06:07.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T20:06:07.195Z] prd-ubuntu20.04-docker-arm64-4c-16g-642 does not seem to be running inside a container [2022-09-22T20:06:07.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T20:06:08.423Z] $ docker top 2bdc2a78961079861df1eae03d0c4b8bb5194c626d5be110291979b12c696aab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T20:06:09.232Z] + go version [2022-09-22T20:06:09.232Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T20:06:09.250Z] $ docker stop --time=1 2bdc2a78961079861df1eae03d0c4b8bb5194c626d5be110291979b12c696aab [2022-09-22T20:06:10.874Z] $ docker rm -f 2bdc2a78961079861df1eae03d0c4b8bb5194c626d5be110291979b12c696aab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:06:11.386Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T20:06:11.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T20:06:11.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-642 does not seem to be running inside a container [2022-09-22T20:06:11.612Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T20:06:12.752Z] $ docker top 1db5b2e196523124e72afedd4e4074b24a57ce3510cb8e63afca26853b3b3944 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T20:06:13.251Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2022-09-22T20:06:13.847Z] + make test [2022-09-22T20:06:14.117Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-22T20:06:15.522Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-22T20:07:37.144Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-22T20:07:37.144Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.130s coverage: 65.7% of statements [2022-09-22T20:07:37.144Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T20:07:37.144Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T20:07:55.355Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T20:07:55.355Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T20:07:55.355Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T20:07:55.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T20:07:55.388Z] $ docker stop --time=1 1db5b2e196523124e72afedd4e4074b24a57ce3510cb8e63afca26853b3b3944 [2022-09-22T20:07:57.123Z] $ docker rm -f 1db5b2e196523124e72afedd4e4074b24a57ce3510cb8e63afca26853b3b3944 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T20:07:57.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T20:07:57.996Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T20:07:58.369Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T20:07:58.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T20:07:59.062Z] + ls -al . [2022-09-22T20:07:59.062Z] total 196 [2022-09-22T20:07:59.062Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 20:06 . [2022-09-22T20:07:59.062Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:04 .. [2022-09-22T20:07:59.062Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 20:04 .git [2022-09-22T20:07:59.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:04 .github [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 20:04 .gitignore [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 20:04 .golangci.yml [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 8527 Sep 22 20:04 Attribution.txt [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 22 20:04 CHANGELOG.md [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 22 20:04 Dockerfile [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 20:04 GOVERNANCE.md [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 20:04 Jenkinsfile [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 20:04 LICENSE [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 22 20:04 Makefile [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 20:04 OWNERS.md [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 22 20:04 README.md [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 20:02 VERSION [2022-09-22T20:07:59.062Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 20:04 bin [2022-09-22T20:07:59.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:04 cmd [2022-09-22T20:07:59.062Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 22 20:07 coverage.out [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 3399 Sep 22 20:04 go.mod [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 37521 Sep 22 20:04 go.sum [2022-09-22T20:07:59.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:04 internal [2022-09-22T20:07:59.062Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:04 snap [2022-09-22T20:07:59.062Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:07:59.395Z] + 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=c492918df114aea48d87c626b4428d7f9950dc90 --label arch=arm64 --label version=0.0.0 . [2022-09-22T20:07:59.674Z] Sending build context to Docker daemon 11.78MB [2022-09-22T20:07:59.674Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T20:07:59.674Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-22T20:07:59.674Z] ---> 2bc74a1f8c02 [2022-09-22T20:07:59.674Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T20:07:59.941Z] ---> Running in 50240eddc862 [2022-09-22T20:08:00.209Z] Removing intermediate container 50240eddc862 [2022-09-22T20:08:00.209Z] ---> 9cac1861c849 [2022-09-22T20:08:00.209Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T20:08:00.209Z] ---> Running in fb46f52a1cba [2022-09-22T20:08:00.476Z] Removing intermediate container fb46f52a1cba [2022-09-22T20:08:00.476Z] ---> 318c3658c4e4 [2022-09-22T20:08:00.476Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-22T20:08:00.745Z] ---> Running in 9b7822157672 [2022-09-22T20:08:01.013Z] Removing intermediate container 9b7822157672 [2022-09-22T20:08:01.013Z] ---> fa322d6a86cb [2022-09-22T20:08:01.013Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-22T20:08:01.013Z] ---> Running in afe92fc5ebed [2022-09-22T20:08:01.289Z] Removing intermediate container afe92fc5ebed [2022-09-22T20:08:01.289Z] ---> c18168ba7a56 [2022-09-22T20:08:01.289Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T20:08:01.289Z] ---> Running in 7bc1d7f04ed6 [2022-09-22T20:08:03.237Z] Removing intermediate container 7bc1d7f04ed6 [2022-09-22T20:08:03.237Z] ---> ed1dc82ca815 [2022-09-22T20:08:03.237Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T20:08:03.237Z] ---> Running in 75f74d677211 [2022-09-22T20:08:03.820Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T20:08:04.778Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T20:08:05.741Z] OK: 226 MiB in 55 packages [2022-09-22T20:08:06.704Z] Removing intermediate container 75f74d677211 [2022-09-22T20:08:06.704Z] ---> d48a3c86ffe7 [2022-09-22T20:08:06.704Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-22T20:08:06.974Z] ---> 6860faaef4ab [2022-09-22T20:08:06.974Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T20:08:06.974Z] ---> Running in 0b7d2125bf8d [2022-09-22T20:08:08.925Z] Removing intermediate container 0b7d2125bf8d [2022-09-22T20:08:08.925Z] ---> 908d51ee6c30 [2022-09-22T20:08:08.925Z] Step 11/27 : COPY . . [2022-09-22T20:08:09.883Z] ---> cbdbe2f9cd59 [2022-09-22T20:08:09.883Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T20:08:10.149Z] ---> Running in 8e8e485a0876 [2022-09-22T20:08:10.417Z] Removing intermediate container 8e8e485a0876 [2022-09-22T20:08:10.417Z] ---> a5315223a19e [2022-09-22T20:08:10.417Z] Step 13/27 : RUN $MAKE [2022-09-22T20:08:10.417Z] ---> Running in b681998ff38a [2022-09-22T20:08:11.470Z] 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-09-22T20:10:48.311Z] Removing intermediate container b681998ff38a [2022-09-22T20:10:48.311Z] ---> 2e762ba741b1 [2022-09-22T20:10:48.311Z] Step 14/27 : FROM alpine:3.16 [2022-09-22T20:10:48.311Z] 3.16: Pulling from library/alpine [2022-09-22T20:10:48.311Z] 9b18e9b68314: Pulling fs layer [2022-09-22T20:10:48.311Z] 9b18e9b68314: Download complete [2022-09-22T20:10:48.311Z] 9b18e9b68314: Pull complete [2022-09-22T20:10:48.311Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T20:10:48.311Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T20:10:48.311Z] ---> a6215f271958 [2022-09-22T20:10:48.311Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-22T20:10:48.311Z] ---> Running in fef1b3a5897f [2022-09-22T20:10:48.311Z] Removing intermediate container fef1b3a5897f [2022-09-22T20:10:48.311Z] ---> 8f6f320cfcb4 [2022-09-22T20:10:48.311Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T20:10:48.311Z] ---> Running in f9d700097bfe [2022-09-22T20:10:48.311Z] Removing intermediate container f9d700097bfe [2022-09-22T20:10:48.311Z] ---> e2dbb5119e00 [2022-09-22T20:10:48.311Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T20:10:48.311Z] ---> Running in 8ca31e557c0d [2022-09-22T20:10:48.311Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T20:10:48.311Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T20:10:48.311Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T20:10:48.311Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T20:10:48.311Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T20:10:48.311Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T20:10:48.311Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T20:10:48.311Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T20:10:48.311Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T20:10:48.311Z] OK: 8 MiB in 20 packages [2022-09-22T20:10:48.311Z] Removing intermediate container 8ca31e557c0d [2022-09-22T20:10:48.311Z] ---> bd7f336da127 [2022-09-22T20:10:48.311Z] Step 18/27 : WORKDIR / [2022-09-22T20:10:48.311Z] ---> Running in 93e75700dea4 [2022-09-22T20:10:48.311Z] Removing intermediate container 93e75700dea4 [2022-09-22T20:10:48.311Z] ---> af7c185333c1 [2022-09-22T20:10:48.311Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-22T20:10:48.311Z] ---> 4b4df33ca2ee [2022-09-22T20:10:48.311Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-22T20:10:48.311Z] ---> 7867318d2f03 [2022-09-22T20:10:48.311Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-22T20:10:48.311Z] ---> 2b20d495e4d3 [2022-09-22T20:10:48.311Z] Step 22/27 : EXPOSE 59900 [2022-09-22T20:10:48.311Z] ---> Running in 0b0b7eb0195b [2022-09-22T20:10:48.311Z] Removing intermediate container 0b0b7eb0195b [2022-09-22T20:10:48.311Z] ---> 7ad430f46953 [2022-09-22T20:10:48.311Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-22T20:10:48.311Z] ---> Running in 43b1bf960503 [2022-09-22T20:10:48.311Z] Removing intermediate container 43b1bf960503 [2022-09-22T20:10:48.311Z] ---> 12f87e9a4b76 [2022-09-22T20:10:48.311Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T20:10:48.311Z] ---> Running in 3f040b7c821b [2022-09-22T20:10:48.581Z] Removing intermediate container 3f040b7c821b [2022-09-22T20:10:48.581Z] ---> 600472c121f9 [2022-09-22T20:10:48.581Z] Step 25/27 : LABEL arch=arm64 [2022-09-22T20:10:48.581Z] ---> Running in f9075d97ff5c [2022-09-22T20:10:48.859Z] Removing intermediate container f9075d97ff5c [2022-09-22T20:10:48.859Z] ---> b7a7ccc590ee [2022-09-22T20:10:48.859Z] Step 26/27 : LABEL git_sha=c492918df114aea48d87c626b4428d7f9950dc90 [2022-09-22T20:10:49.127Z] ---> Running in 7363510a3bf4 [2022-09-22T20:10:49.394Z] Removing intermediate container 7363510a3bf4 [2022-09-22T20:10:49.394Z] ---> 69c3e9de917d [2022-09-22T20:10:49.394Z] Step 27/27 : LABEL version=0.0.0 [2022-09-22T20:10:49.394Z] ---> Running in 8854bbe802a7 [2022-09-22T20:10:49.660Z] Removing intermediate container 8854bbe802a7 [2022-09-22T20:10:49.660Z] ---> e10c6a3c8b7c [2022-09-22T20:10:49.660Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T20:10:49.660Z] Successfully built e10c6a3c8b7c [2022-09-22T20:10:49.660Z] 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-09-22T20:10:50.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T20:10:50.056Z] [2022-09-22T20:10:50.056Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:10:50.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T20:10:50.381Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T20:10:50.381Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T20:10:50.381Z] 04944245beec: Pulling fs layer [2022-09-22T20:10:50.381Z] 699f458cf7ca: Pulling fs layer [2022-09-22T20:10:50.381Z] 765212b225bb: Pulling fs layer [2022-09-22T20:10:50.381Z] f23df028b6ca: Pulling fs layer [2022-09-22T20:10:50.381Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T20:10:50.381Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T20:10:50.381Z] f23df028b6ca: Waiting [2022-09-22T20:10:50.381Z] d65c8cfc05b1: Waiting [2022-09-22T20:10:50.381Z] 2437ff75d9bd: Waiting [2022-09-22T20:10:50.648Z] 04944245beec: Verifying Checksum [2022-09-22T20:10:50.648Z] 04944245beec: Download complete [2022-09-22T20:10:50.648Z] 765212b225bb: Verifying Checksum [2022-09-22T20:10:50.648Z] 765212b225bb: Download complete [2022-09-22T20:10:50.648Z] f23df028b6ca: Verifying Checksum [2022-09-22T20:10:50.648Z] f23df028b6ca: Download complete [2022-09-22T20:10:50.648Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T20:10:50.648Z] d65c8cfc05b1: Download complete [2022-09-22T20:10:50.648Z] 699f458cf7ca: Verifying Checksum [2022-09-22T20:10:50.648Z] 699f458cf7ca: Download complete [2022-09-22T20:10:51.236Z] 8998bd30e6a1: Download complete [2022-09-22T20:10:53.183Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T20:10:53.183Z] 2437ff75d9bd: Download complete [2022-09-22T20:10:55.124Z] 8998bd30e6a1: Pull complete [2022-09-22T20:10:55.392Z] 04944245beec: Pull complete [2022-09-22T20:10:56.796Z] 699f458cf7ca: Pull complete [2022-09-22T20:10:56.796Z] 765212b225bb: Pull complete [2022-09-22T20:10:57.379Z] f23df028b6ca: Pull complete [2022-09-22T20:10:57.646Z] d65c8cfc05b1: Pull complete [2022-09-22T20:11:12.657Z] 2437ff75d9bd: Pull complete [2022-09-22T20:11:12.658Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T20:11:12.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T20:11:12.658Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T20:11:12.816Z] prd-ubuntu20.04-docker-arm64-4c-16g-642 does not seem to be running inside a container [2022-09-22T20:11:12.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-22T20:11:15.868Z] $ docker top ac71ab1e95abff5629be314e7ec91c2195aadc08c0eb7de872d5240a805a7d7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:11:16.356Z] ---> job-cost.sh [2022-09-22T20:11:16.620Z] lf-activate-venv: SKIPPING [2022-09-22T20:11:16.620Z] INFO: No Stack... [2022-09-22T20:11:17.197Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T20:11:17.778Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T20:11:18.091Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2022-09-22T20:11:18.091Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T20:11:18.151Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] [2022-09-22T20:11:18.159Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] did not exist. Created. [2022-09-22T20:11:18.159Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T20:11:18.495Z] /w/workspace/device-virtual-go/2@tmp/durable-20c8a25e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T20:11:18.822Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T20:11:18.841Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T20:11:18.877Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T20:11:18.886Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T20:11:18.889Z] $ docker stop --time=1 ac71ab1e95abff5629be314e7ec91c2195aadc08c0eb7de872d5240a805a7d7e [2022-09-22T20:11:20.304Z] $ docker rm -f ac71ab1e95abff5629be314e7ec91c2195aadc08c0eb7de872d5240a805a7d7e [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-09-22T20:11:20.667Z] provisioning config files... [2022-09-22T20:11:20.675Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config11792085365224016847tmp [Pipeline] { [Pipeline] sh [2022-09-22T20:11:20.965Z] + set +x [2022-09-22T20:11:20.965Z] + curl -s https://codecov.io/bash [2022-09-22T20:11:20.965Z] + bash -s -- [2022-09-22T20:11:20.965Z] [2022-09-22T20:11:20.965Z] _____ _ [2022-09-22T20:11:20.965Z] / ____| | | [2022-09-22T20:11:20.965Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T20:11:20.965Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T20:11:20.965Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T20:11:20.965Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T20:11:20.965Z] Bash-1.0.6 [2022-09-22T20:11:20.965Z] [2022-09-22T20:11:20.965Z] [2022-09-22T20:11:20.965Z] ==> git version 2.25.1 found [2022-09-22T20:11:20.965Z] ==> 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-09-22T20:11:20.965Z] Release-Date: 2020-01-08 [2022-09-22T20:11:20.965Z] 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-09-22T20:11:20.965Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T20:11:20.965Z] ==> Jenkins CI detected. [2022-09-22T20:11:20.965Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-305 [2022-09-22T20:11:20.965Z] project root: . [2022-09-22T20:11:20.965Z] --> token set from env [2022-09-22T20:11:20.965Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T20:11:20.965Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T20:11:20.965Z] ==> Python coveragepy not found [2022-09-22T20:11:20.965Z] ==> Searching for coverage reports in: [2022-09-22T20:11:20.965Z] + . [2022-09-22T20:11:21.224Z] -> Found 1 reports [2022-09-22T20:11:21.224Z] ==> Detecting git/mercurial file structure [2022-09-22T20:11:21.224Z] ==> Reading reports [2022-09-22T20:11:21.224Z] + ./coverage.out bytes=44128 [2022-09-22T20:11:21.224Z] ==> Appending adjustments [2022-09-22T20:11:21.224Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T20:11:21.224Z] + Found adjustments [2022-09-22T20:11:21.224Z] ==> Gzipping contents [2022-09-22T20:11:21.224Z] 8.0K /tmp/codecov.8DhsqC.gz [2022-09-22T20:11:21.224Z] ==> Uploading reports [2022-09-22T20:11:21.224Z] url: https://codecov.io [2022-09-22T20:11:21.225Z] query: branch=PR-305&commit=c492918df114aea48d87c626b4428d7f9950dc90&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= [2022-09-22T20:11:21.225Z] -> Pinging Codecov [2022-09-22T20:11:21.225Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-305&commit=c492918df114aea48d87c626b4428d7f9950dc90&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= [2022-09-22T20:11:21.485Z] -> Uploading to [2022-09-22T20:11:21.485Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/5E52B4B073DB2E39498172D8E973AA87/c492918df114aea48d87c626b4428d7f9950dc90/298364f2-5553-41b5-8080-d140d8bdbd07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T201121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f6d0c60b86838dfa05dbd0578011b2216349510995febc5ffa97c8234d4846b [2022-09-22T20:11:21.485Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T20:11:21.485Z] Dload Upload Total Spent Left Speed [2022-09-22T20:11:21.745Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5498 0 0 100 5498 0 22813 --:--:-- --:--:-- --:--:-- 22813 [2022-09-22T20:11:21.745Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/c492918df114aea48d87c626b4428d7f9950dc90 [Pipeline] } [2022-09-22T20:11:21.753Z] 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-09-22T20:11:22.420Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-305/archives ] [2022-09-22T20:11:22.420Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives [2022-09-22T20:11:22.420Z] total 16 [2022-09-22T20:11:22.420Z] drwxr-xr-x 3 root root 4096 Sep 22 20:04 . [2022-09-22T20:11:22.420Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 20:04 .. [2022-09-22T20:11:22.420Z] drwxr-xr-x 2 root root 4096 Sep 22 20:04 cost [2022-09-22T20:11:22.420Z] -rw-r--r-- 1 root root 89 Sep 22 20:04 cost.csv [2022-09-22T20:11:22.420Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-305/archives [2022-09-22T20:11:22.420Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives [2022-09-22T20:11:22.420Z] total 16 [2022-09-22T20:11:22.420Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 20:04 . [2022-09-22T20:11:22.420Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 20:04 .. [2022-09-22T20:11:22.420Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 20:04 cost [2022-09-22T20:11:22.420Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 22 20:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:11:22.714Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:11:23.588Z] ---> package-listing.sh [2022-09-22T20:11:23.588Z] ++ facter osfamily [2022-09-22T20:11:23.588Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T20:11:23.849Z] + OS_FAMILY=debian [2022-09-22T20:11:23.849Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-305 [2022-09-22T20:11:23.849Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T20:11:23.849Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T20:11:23.849Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T20:11:23.849Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T20:11:23.849Z] + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' [2022-09-22T20:11:23.849Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T20:11:23.849Z] + case "${OS_FAMILY}" in [2022-09-22T20:11:23.849Z] + dpkg -l [2022-09-22T20:11:23.849Z] + grep '^ii' [2022-09-22T20:11:23.849Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T20:11:23.849Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T20:11:23.849Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T20:11:23.849Z] + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' [2022-09-22T20:11:23.849Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-305/archives/ [2022-09-22T20:11:23.849Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-305/archives/ [Pipeline] echo [2022-09-22T20:11:23.861Z] 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-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T20:11:24.139Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T20:11:24.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T20:11:24.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T20:11:24.765Z] prd-ubuntu20.04-docker-8c-8g-640 does not seem to be running inside a container [2022-09-22T20:11:24.798Z] $ 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-305/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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T20:11:25.008Z] $ docker top f16a4503af5595e6fb0d2c3b8b1e4c12d677abe348922b7dbc507f1a0252c2f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T20:11:25.348Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T20:11:25.636Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T20:11:25.920Z] + ls /var/log/sa-host [2022-09-22T20:11:25.920Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T20:11:26.085Z] provisioning config files... [2022-09-22T20:11:26.098Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config15792099072574617995tmp [Pipeline] { [Pipeline] echo [2022-09-22T20:11:26.109Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:11:26.390Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T20:11:26.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:11:26.718Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T20:11:26.725Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:11:27.008Z] ---> sudo-logs.sh [2022-09-22T20:11:27.008Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T20:11:27.039Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:11:27.325Z] ---> job-cost.sh [2022-09-22T20:11:27.325Z] lf-activate-venv: SKIPPING [2022-09-22T20:11:27.325Z] DEBUG: total: 0.2199999988079071 [2022-09-22T20:11:27.325Z] INFO: Retrieving Stack Cost... [2022-09-22T20:11:27.894Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T20:11:28.155Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T20:11:28.166Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T20:11:28.446Z] ---> logs-deploy.sh [2022-09-22T20:11:28.446Z] lf-activate-venv: SKIPPING [2022-09-22T20:11:28.446Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-305/2 [2022-09-22T20:11:28.446Z] INFO: archiving workspace using pattern(s): [2022-09-22T20:11:29.386Z] Archives upload complete. [2022-09-22T20:11:29.386Z] INFO: archiving logs to Nexus