Pull request #313 opened 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 hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 068f6fd71b490d48a74cf43e13cff0e93a74c51f+476f8fe53201fee1938bf38d508323121d922085 (207cbab4ee708edfd76ec544cebda8dd58d97819) 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-ssh788080369956409606.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-ssh6405383469269371130.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11898496149573391532.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5722851816075976392.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16716499786979968066.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-313/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-313/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8751554997262058533.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7715 in /w/workspace/foundry_device-virtual-go_PR-313 [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-313 # 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 > 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/313/head:refs/remotes/origin/PR-313 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 476f8fe53201fee1938bf38d508323121d922085 into PR head commit 068f6fd71b490d48a74cf43e13cff0e93a74c51f Merge succeeded, producing 068f6fd71b490d48a74cf43e13cff0e93a74c51f Checking out Revision 068f6fd71b490d48a74cf43e13cff0e93a74c51f (PR-313) > git config core.sparsecheckout # timeout=10 > git checkout -f 068f6fd71b490d48a74cf43e13cff0e93a74c51f # 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 476f8fe53201fee1938bf38d508323121d922085 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 068f6fd71b490d48a74cf43e13cff0e93a74c51f # timeout=10 Commit message: "fix: update example request/response topic scheme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-12T03:37:54.227Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-12T03:37:54.416Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-12T03:37:54.528Z] ========================================================= [2022-10-12T03:37:54.528Z] EdgeX Global Pipelines Version Info [2022-10-12T03:37:54.528Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:37:55.263Z] ------------------- [2022-10-12T03:37:55.263Z] stable info: [2022-10-12T03:37:55.263Z] ------------------- [2022-10-12T03:37:55.263Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-12T03:37:55.263Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T03:37:55.263Z] Message: update stable to v1.0.239 [2022-10-12T03:37:55.835Z] ------------------- [2022-10-12T03:37:55.835Z] experimental info: [2022-10-12T03:37:55.835Z] ------------------- [2022-10-12T03:37:55.835Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-12T03:37:55.835Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T03:37:55.835Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-12T03:37:56.116Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-12T03:37:56.154Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-12T03:37:56.194Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-12T03:37:56.231Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-12T03:37:56.269Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-12T03:37:56.305Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-12T03:37:56.345Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-12T03:37:56.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-12T03:37:56.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-12T03:37:56.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-12T03:37:56.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-12T03:37:56.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-12T03:37:56.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-12T03:37:56.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-12T03:37:56.655Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T03:37:56.692Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T03:37:56.732Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T03:37:56.770Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T03:37:56.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-12T03:37:56.848Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-12T03:37:56.890Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-12T03:37:56.932Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-12T03:37:56.975Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-12T03:37:57.014Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-12T03:37:57.059Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-12T03:37:57.100Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-12T03:37:57.138Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-12T03:37:57.173Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-313 [Pipeline] echo [2022-10-12T03:37:57.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-313 [Pipeline] echo [2022-10-12T03:37:57.248Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-313 [Pipeline] echo [2022-10-12T03:37:57.286Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 068f6fd71b490d48a74cf43e13cff0e93a74c51f [Pipeline] echo [2022-10-12T03:37:57.326Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 068f6fd [Pipeline] echo [2022-10-12T03:37:57.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T03:37:57.486Z] provisioning config files... [2022-10-12T03:37:57.500Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-313@tmp/config13356532482555471854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:37:57.843Z] ---> docker-login.sh [2022-10-12T03:37:57.843Z] nexus3.edgexfoundry.org:10001 [2022-10-12T03:37:58.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:37:58.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:37:58.116Z] Configure a credential helper to remove this warning. See [2022-10-12T03:37:58.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:37:58.116Z] [2022-10-12T03:37:58.116Z] Login Succeeded [2022-10-12T03:37:58.116Z] nexus3.edgexfoundry.org:10002 [2022-10-12T03:37:58.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:37:58.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:37:58.378Z] Configure a credential helper to remove this warning. See [2022-10-12T03:37:58.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:37:58.378Z] [2022-10-12T03:37:58.378Z] Login Succeeded [2022-10-12T03:37:58.378Z] nexus3.edgexfoundry.org:10003 [2022-10-12T03:37:58.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:37:58.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:37:58.378Z] Configure a credential helper to remove this warning. See [2022-10-12T03:37:58.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:37:58.378Z] [2022-10-12T03:37:58.378Z] Login Succeeded [2022-10-12T03:37:58.378Z] nexus3.edgexfoundry.org:10004 [2022-10-12T03:37:58.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:37:58.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:37:58.641Z] Configure a credential helper to remove this warning. See [2022-10-12T03:37:58.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:37:58.641Z] [2022-10-12T03:37:58.641Z] Login Succeeded [2022-10-12T03:37:58.641Z] docker.io [2022-10-12T03:37:58.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:37:58.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:37:58.902Z] Configure a credential helper to remove this warning. See [2022-10-12T03:37:58.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:37:58.902Z] [2022-10-12T03:37:58.902Z] Login Succeeded [2022-10-12T03:37:58.902Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T03:37:58.930Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-12T03:37:59.573Z] + git rev-list -1 --merges 068f6fd71b490d48a74cf43e13cff0e93a74c51f~1..068f6fd71b490d48a74cf43e13cff0e93a74c51f [Pipeline] echo [2022-10-12T03:37:59.625Z] -----------> git rev-list -1 --merges 068f6fd71b490d48a74cf43e13cff0e93a74c51f~1..068f6fd71b490d48a74cf43e13cff0e93a74c51f 068f6fd71b490d48a74cf43e13cff0e93a74c51f [false] [Pipeline] sh [2022-10-12T03:37:59.934Z] + git log --format=format:%s -1 068f6fd71b490d48a74cf43e13cff0e93a74c51f [Pipeline] echo [2022-10-12T03:37:59.970Z] ========================================================= [2022-10-12T03:37:59.970Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-12T03:37:59.970Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T03:38:00.402Z] + git log --format=format:%s -1 068f6fd71b490d48a74cf43e13cff0e93a74c51f [Pipeline] echo [2022-10-12T03:38:00.434Z] [semverPrep] GIT_COMMIT: 068f6fd71b490d48a74cf43e13cff0e93a74c51f, Commit Message: fix: update example request/response topic scheme [Pipeline] echo [2022-10-12T03:38:00.472Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-12T03:38:00.900Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-12T03:38:00.901Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-12T03:38:00.901Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-12T03:38:00.901Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-12T03:38:00.901Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-12T03:38:00.901Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-12T03:38:00.901Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:38:01.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T03:38:01.404Z] [2022-10-12T03:38:01.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:38:01.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T03:38:01.787Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-12T03:38:01.787Z] b85a868b505f: Pulling fs layer [2022-10-12T03:38:01.787Z] e2be974225ed: Pulling fs layer [2022-10-12T03:38:01.787Z] 339a4e72a1f5: Pulling fs layer [2022-10-12T03:38:01.787Z] 988bab9f4d93: Pulling fs layer [2022-10-12T03:38:01.787Z] 1469e6f7b9e6: Pulling fs layer [2022-10-12T03:38:01.787Z] eaf3925da568: Pulling fs layer [2022-10-12T03:38:01.787Z] bab4dde63d76: Pulling fs layer [2022-10-12T03:38:01.787Z] bde34c3a00c8: Pulling fs layer [2022-10-12T03:38:01.787Z] b352a97aabf1: Pulling fs layer [2022-10-12T03:38:01.787Z] 4872d77fe225: Pulling fs layer [2022-10-12T03:38:01.787Z] 5851b861e8e6: Pulling fs layer [2022-10-12T03:38:01.787Z] bab4dde63d76: Waiting [2022-10-12T03:38:01.787Z] bde34c3a00c8: Waiting [2022-10-12T03:38:01.787Z] b352a97aabf1: Waiting [2022-10-12T03:38:01.787Z] 4872d77fe225: Waiting [2022-10-12T03:38:01.787Z] 988bab9f4d93: Waiting [2022-10-12T03:38:01.787Z] 5851b861e8e6: Waiting [2022-10-12T03:38:01.787Z] 1469e6f7b9e6: Waiting [2022-10-12T03:38:01.787Z] eaf3925da568: Waiting [2022-10-12T03:38:01.787Z] e2be974225ed: Verifying Checksum [2022-10-12T03:38:01.787Z] e2be974225ed: Download complete [2022-10-12T03:38:01.787Z] 988bab9f4d93: Verifying Checksum [2022-10-12T03:38:01.787Z] 988bab9f4d93: Download complete [2022-10-12T03:38:02.048Z] 339a4e72a1f5: Verifying Checksum [2022-10-12T03:38:02.048Z] 339a4e72a1f5: Download complete [2022-10-12T03:38:02.048Z] 1469e6f7b9e6: Verifying Checksum [2022-10-12T03:38:02.048Z] 1469e6f7b9e6: Download complete [2022-10-12T03:38:02.048Z] eaf3925da568: Download complete [2022-10-12T03:38:02.048Z] bde34c3a00c8: Download complete [2022-10-12T03:38:02.048Z] b352a97aabf1: Download complete [2022-10-12T03:38:02.048Z] 4872d77fe225: Download complete [2022-10-12T03:38:02.048Z] 5851b861e8e6: Download complete [2022-10-12T03:38:02.048Z] b85a868b505f: Verifying Checksum [2022-10-12T03:38:02.048Z] b85a868b505f: Download complete [2022-10-12T03:38:02.308Z] bab4dde63d76: Download complete [2022-10-12T03:38:03.687Z] b85a868b505f: Pull complete [2022-10-12T03:38:03.687Z] e2be974225ed: Pull complete [2022-10-12T03:38:03.948Z] 339a4e72a1f5: Pull complete [2022-10-12T03:38:04.208Z] 988bab9f4d93: Pull complete [2022-10-12T03:38:04.467Z] 1469e6f7b9e6: Pull complete [2022-10-12T03:38:04.467Z] eaf3925da568: Pull complete [2022-10-12T03:38:06.378Z] bab4dde63d76: Pull complete [2022-10-12T03:38:06.378Z] bde34c3a00c8: Pull complete [2022-10-12T03:38:06.378Z] b352a97aabf1: Pull complete [2022-10-12T03:38:06.639Z] 4872d77fe225: Pull complete [2022-10-12T03:38:06.639Z] 5851b861e8e6: Pull complete [2022-10-12T03:38:06.639Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-12T03:38:06.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T03:38:06.639Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:38:06.968Z] prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container [2022-10-12T03:38:07.001Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-313 -v /w/workspace/foundry_device-virtual-go_PR-313:/w/workspace/foundry_device-virtual-go_PR-313:rw,z -v /w/workspace/foundry_device-virtual-go_PR-313@tmp:/w/workspace/foundry_device-virtual-go_PR-313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-12T03:38:08.445Z] $ docker top bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 -eo pid,comm [2022-10-12T03:38:08.505Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-12T03:38:08.505Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-12T03:38:08.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T03:38:08.644Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T03:38:08.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T03:38:08.759Z] $ docker exec bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 ssh-agent [2022-10-12T03:38:08.873Z] SSH_AUTH_SOCK=/tmp/ssh-rZafKQlhmkiw/agent.32 [2022-10-12T03:38:08.873Z] SSH_AGENT_PID=38 [2022-10-12T03:38:08.880Z] Running ssh-add (command line suppressed) [2022-10-12T03:38:08.979Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-313@tmp/private_key_10637987835993340743.key (/w/workspace/foundry_device-virtual-go_PR-313@tmp/private_key_10637987835993340743.key) [2022-10-12T03:38:08.994Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T03:38:09.329Z] + git tag --points-at HEAD [Pipeline] } [2022-10-12T03:38:09.385Z] $ docker exec --env ******** --env ******** bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 ssh-agent -k [2022-10-12T03:38:09.489Z] unset SSH_AUTH_SOCK; [2022-10-12T03:38:09.490Z] unset SSH_AGENT_PID; [2022-10-12T03:38:09.491Z] echo Agent pid 38 killed; [2022-10-12T03:38:09.509Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-12T03:38:09.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T03:38:09.598Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T03:38:09.725Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T03:38:09.728Z] $ docker exec bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 ssh-agent [2022-10-12T03:38:09.846Z] SSH_AUTH_SOCK=/tmp/ssh-siyShgXZMZgg/agent.71 [2022-10-12T03:38:09.846Z] SSH_AGENT_PID=77 [2022-10-12T03:38:09.851Z] Running ssh-add (command line suppressed) [2022-10-12T03:38:09.947Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-313@tmp/private_key_9051450979788687005.key (/w/workspace/foundry_device-virtual-go_PR-313@tmp/private_key_9051450979788687005.key) [2022-10-12T03:38:09.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T03:38:10.300Z] + git semver init [2022-10-12T03:38:10.561Z] 2022-10-12 03:38:10,503 [run_init] DEBUG init version:0.0.0 force:False [2022-10-12T03:38:10.561Z] 2022-10-12 03:38:10,504 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-313/.semver [2022-10-12T03:38:10.561Z] 2022-10-12 03:38:10,504 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-313/.semver [2022-10-12T03:38:10.561Z] 2022-10-12 03:38:10,505 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-313/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-313, universal_newlines=False, shell=None, istream=None) [2022-10-12T03:38:11.957Z] 2022-10-12 03:38:11,598 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-313/.git/info/exclude [2022-10-12T03:38:11.957Z] 2022-10-12 03:38:11,599 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-313/.semver/PR-313 with force:False [2022-10-12T03:38:11.957Z] 2022-10-12 03:38:11,599 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-313/.semver/PR-313 [2022-10-12T03:38:11.957Z] 2022-10-12 03:38:11,603 [execute] INFO git cat-file --batch-check [2022-10-12T03:38:11.957Z] 2022-10-12 03:38:11,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-313/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T03:38:11.957Z] 2022-10-12 03:38:11,610 [execute] INFO git cat-file --batch [2022-10-12T03:38:11.957Z] 2022-10-12 03:38:11,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-313/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T03:38:11.957Z] 2022-10-12 03:38:11,616 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-313/.semver/PR-313 [2022-10-12T03:38:11.957Z] 0.0.0 [Pipeline] } [2022-10-12T03:38:11.989Z] $ docker exec --env ******** --env ******** bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 ssh-agent -k [2022-10-12T03:38:12.098Z] unset SSH_AUTH_SOCK; [2022-10-12T03:38:12.099Z] unset SSH_AGENT_PID; [2022-10-12T03:38:12.099Z] echo Agent pid 77 killed; [2022-10-12T03:38:12.109Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-12T03:38:12.529Z] + git semver [Pipeline] } [2022-10-12T03:38:12.813Z] $ docker stop --time=1 bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 [2022-10-12T03:38:14.206Z] $ docker rm -f bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T03:38:14.620Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-12T03:38:14.869Z] Stashed 1 file(s) [Pipeline] echo [2022-10-12T03:38:14.887Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T03:38:15.514Z] provisioning config files... [2022-10-12T03:38:15.523Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-313@tmp/config13742775297759151665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:38:15.879Z] ---> docker-login.sh [2022-10-12T03:38:15.879Z] nexus3.edgexfoundry.org:10001 [2022-10-12T03:38:15.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:38:15.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:38:15.879Z] Configure a credential helper to remove this warning. See [2022-10-12T03:38:15.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:38:15.879Z] [2022-10-12T03:38:15.879Z] Login Succeeded [2022-10-12T03:38:15.879Z] nexus3.edgexfoundry.org:10002 [2022-10-12T03:38:15.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:38:15.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:38:15.879Z] Configure a credential helper to remove this warning. See [2022-10-12T03:38:15.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:38:15.879Z] [2022-10-12T03:38:15.879Z] Login Succeeded [2022-10-12T03:38:16.140Z] nexus3.edgexfoundry.org:10003 [2022-10-12T03:38:16.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:38:16.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:38:16.140Z] Configure a credential helper to remove this warning. See [2022-10-12T03:38:16.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:38:16.140Z] [2022-10-12T03:38:16.140Z] Login Succeeded [2022-10-12T03:38:16.140Z] nexus3.edgexfoundry.org:10004 [2022-10-12T03:38:16.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:38:16.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:38:16.140Z] Configure a credential helper to remove this warning. See [2022-10-12T03:38:16.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:38:16.140Z] [2022-10-12T03:38:16.140Z] Login Succeeded [2022-10-12T03:38:16.140Z] docker.io [2022-10-12T03:38:16.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:38:16.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:38:16.660Z] Configure a credential helper to remove this warning. See [2022-10-12T03:38:16.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:38:16.660Z] [2022-10-12T03:38:16.660Z] Login Succeeded [2022-10-12T03:38:16.660Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T03:38:16.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T03:38:16.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T03:38:16.906Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T03:38:16.935Z] ========================================================= [2022-10-12T03:38:16.935Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-12T03:38:16.935Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:38:17.394Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-12T03:38:17.394Z] Sending build context to Docker daemon 23.2MB [2022-10-12T03:38:17.394Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T03:38:17.394Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-12T03:38:17.657Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-12T03:38:17.657Z] 213ec9aee27d: Pulling fs layer [2022-10-12T03:38:17.657Z] 4583459ba037: Pulling fs layer [2022-10-12T03:38:17.657Z] 93c1e223e6f2: Pulling fs layer [2022-10-12T03:38:17.657Z] 53926ce57604: Pulling fs layer [2022-10-12T03:38:17.657Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-12T03:38:17.657Z] 30f14e443154: Pulling fs layer [2022-10-12T03:38:17.657Z] 801331c1e519: Pulling fs layer [2022-10-12T03:38:17.657Z] 99cc6dd402b0: Pulling fs layer [2022-10-12T03:38:17.657Z] 7d9ed39f4882: Pulling fs layer [2022-10-12T03:38:17.657Z] 801331c1e519: Waiting [2022-10-12T03:38:17.657Z] 53926ce57604: Waiting [2022-10-12T03:38:17.657Z] 21b2b0c7a3f4: Waiting [2022-10-12T03:38:17.657Z] 30f14e443154: Waiting [2022-10-12T03:38:17.657Z] 7d9ed39f4882: Waiting [2022-10-12T03:38:17.657Z] 99cc6dd402b0: Waiting [2022-10-12T03:38:17.657Z] 93c1e223e6f2: Verifying Checksum [2022-10-12T03:38:17.657Z] 93c1e223e6f2: Download complete [2022-10-12T03:38:17.657Z] 4583459ba037: Verifying Checksum [2022-10-12T03:38:17.657Z] 4583459ba037: Download complete [2022-10-12T03:38:17.657Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-12T03:38:17.657Z] 21b2b0c7a3f4: Download complete [2022-10-12T03:38:17.657Z] 30f14e443154: Download complete [2022-10-12T03:38:17.657Z] 213ec9aee27d: Verifying Checksum [2022-10-12T03:38:17.657Z] 213ec9aee27d: Download complete [2022-10-12T03:38:17.657Z] 801331c1e519: Verifying Checksum [2022-10-12T03:38:17.657Z] 801331c1e519: Download complete [2022-10-12T03:38:17.921Z] 213ec9aee27d: Pull complete [2022-10-12T03:38:17.921Z] 4583459ba037: Pull complete [2022-10-12T03:38:17.921Z] 93c1e223e6f2: Pull complete [2022-10-12T03:38:18.184Z] 7d9ed39f4882: Verifying Checksum [2022-10-12T03:38:18.184Z] 7d9ed39f4882: Download complete [2022-10-12T03:38:18.449Z] 99cc6dd402b0: Verifying Checksum [2022-10-12T03:38:18.449Z] 99cc6dd402b0: Download complete [2022-10-12T03:38:18.449Z] 53926ce57604: Verifying Checksum [2022-10-12T03:38:18.449Z] 53926ce57604: Download complete [2022-10-12T03:38:22.641Z] 53926ce57604: Pull complete [2022-10-12T03:38:22.641Z] 21b2b0c7a3f4: Pull complete [2022-10-12T03:38:22.641Z] 30f14e443154: Pull complete [2022-10-12T03:38:22.641Z] 801331c1e519: Pull complete [2022-10-12T03:38:24.539Z] 99cc6dd402b0: Pull complete [2022-10-12T03:38:25.473Z] 7d9ed39f4882: Pull complete [2022-10-12T03:38:25.473Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-12T03:38:25.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-12T03:38:25.473Z] ---> 1dedd983c030 [2022-10-12T03:38:25.473Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T03:38:27.393Z] ---> Running in 3d232fae7889 [2022-10-12T03:38:27.393Z] Removing intermediate container 3d232fae7889 [2022-10-12T03:38:27.393Z] ---> 1d588f377de3 [2022-10-12T03:38:27.393Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T03:38:27.654Z] ---> Running in e52dfaf4f00d [2022-10-12T03:38:27.654Z] Removing intermediate container e52dfaf4f00d [2022-10-12T03:38:27.654Z] ---> 9316dcdae6c8 [2022-10-12T03:38:27.654Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-12T03:38:27.654Z] ---> Running in 633e98c1c608 [2022-10-12T03:38:27.914Z] Removing intermediate container 633e98c1c608 [2022-10-12T03:38:27.914Z] ---> 0fc207a18f5a [2022-10-12T03:38:27.914Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-12T03:38:27.914Z] ---> Running in e489ce9eee16 [2022-10-12T03:38:27.914Z] Removing intermediate container e489ce9eee16 [2022-10-12T03:38:27.914Z] ---> 75ef82810d60 [2022-10-12T03:38:27.914Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:38:28.174Z] ---> Running in b21d1422ecce [2022-10-12T03:38:28.745Z] Removing intermediate container b21d1422ecce [2022-10-12T03:38:28.745Z] ---> 7e0d2a0c2f60 [2022-10-12T03:38:28.745Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T03:38:28.745Z] ---> Running in 163695b5cc49 [2022-10-12T03:38:29.008Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T03:38:29.949Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T03:38:30.209Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-12T03:38:30.209Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-12T03:38:30.320Z] Still waiting to schedule task [2022-10-12T03:38:30.321Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-12T03:38:30.469Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-12T03:38:30.469Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-12T03:38:30.469Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T03:38:30.469Z] OK: 216 MiB in 55 packages [2022-10-12T03:38:31.039Z] Removing intermediate container 163695b5cc49 [2022-10-12T03:38:31.039Z] ---> c9e4074f00e4 [2022-10-12T03:38:31.039Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-12T03:38:31.298Z] ---> b21c050abd72 [2022-10-12T03:38:31.298Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T03:38:31.298Z] ---> Running in 4b1cce72008b [2022-10-12T03:38:49.406Z] Removing intermediate container 4b1cce72008b [2022-10-12T03:38:49.406Z] ---> 11b7b468d1b1 [2022-10-12T03:38:49.406Z] Step 11/13 : COPY . . [2022-10-12T03:38:49.406Z] ---> d5fd33321e8e [2022-10-12T03:38:49.406Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T03:38:49.406Z] ---> Running in 2aa424b4fc93 [2022-10-12T03:38:49.406Z] Removing intermediate container 2aa424b4fc93 [2022-10-12T03:38:49.406Z] ---> 2047f2ab3e46 [2022-10-12T03:38:49.406Z] Step 13/13 : RUN $MAKE [2022-10-12T03:38:49.406Z] ---> Running in c3f5d05ff863 [2022-10-12T03:38:49.406Z] noop [2022-10-12T03:38:49.406Z] Removing intermediate container c3f5d05ff863 [2022-10-12T03:38:49.406Z] ---> 3093e9d0b027 [2022-10-12T03:38:49.406Z] Successfully built 3093e9d0b027 [2022-10-12T03:38:49.406Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:38:49.854Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T03:38:49.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:38:49.996Z] prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container [2022-10-12T03:38:50.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-313 -v /w/workspace/foundry_device-virtual-go_PR-313:/w/workspace/foundry_device-virtual-go_PR-313:rw,z -v /w/workspace/foundry_device-virtual-go_PR-313@tmp:/w/workspace/foundry_device-virtual-go_PR-313@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 ******** ci-base-image-x86_64 cat [2022-10-12T03:38:50.466Z] $ docker top 65c600a9c566486dac88b66bd201f4ee0bc426adc041c913861b951c75fa896a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T03:38:50.869Z] + go version [2022-10-12T03:38:50.869Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-12T03:38:50.900Z] $ docker stop --time=1 65c600a9c566486dac88b66bd201f4ee0bc426adc041c913861b951c75fa896a [2022-10-12T03:38:52.178Z] $ docker rm -f 65c600a9c566486dac88b66bd201f4ee0bc426adc041c913861b951c75fa896a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:38:52.856Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T03:38:52.856Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:38:52.997Z] prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container [2022-10-12T03:38:53.027Z] $ 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-313 -v /w/workspace/foundry_device-virtual-go_PR-313:/w/workspace/foundry_device-virtual-go_PR-313:rw,z -v /w/workspace/foundry_device-virtual-go_PR-313@tmp:/w/workspace/foundry_device-virtual-go_PR-313@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 ******** ci-base-image-x86_64 cat [2022-10-12T03:38:53.429Z] $ docker top a9cd620a0948cf15eb80c9c0a548108646ade67aacda32ea248169fc87d7db20 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T03:38:53.836Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-313 [Pipeline] fileExists [Pipeline] sh [2022-10-12T03:38:54.194Z] + make test [2022-10-12T03:38:54.194Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-12T03:38:54.456Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-12T03:39:04.426Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-12T03:39:04.994Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-10-12T03:39:11.551Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-12T03:39:11.810Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T03:39:15.091Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T03:39:15.091Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T03:39:15.091Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T03:39:15.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T03:39:15.165Z] $ docker stop --time=1 a9cd620a0948cf15eb80c9c0a548108646ade67aacda32ea248169fc87d7db20 [2022-10-12T03:39:17.186Z] $ docker rm -f a9cd620a0948cf15eb80c9c0a548108646ade67aacda32ea248169fc87d7db20 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T03:39:17.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T03:39:17.771Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-12T03:39:18.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T03:39:18.765Z] + ls -al . [2022-10-12T03:39:18.765Z] total 200 [2022-10-12T03:39:18.765Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 03:38 . [2022-10-12T03:39:18.765Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:37 .. [2022-10-12T03:39:18.766Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:39 .git [2022-10-12T03:39:18.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:37 .github [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 12 03:37 .gitignore [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 03:37 .golangci.yml [2022-10-12T03:39:18.766Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 03:38 .semver [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 12 03:37 Attribution.txt [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 12 03:37 CHANGELOG.md [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 12 03:37 Dockerfile [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 03:37 GOVERNANCE.md [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 12 03:37 Jenkinsfile [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 03:37 LICENSE [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 12 03:37 Makefile [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 12 03:37 OWNERS.md [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 12 03:37 README.md [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 03:38 VERSION [2022-10-12T03:39:18.766Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:37 bin [2022-10-12T03:39:18.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:37 cmd [2022-10-12T03:39:18.766Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 12 03:39 coverage.out [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 12 03:37 go.mod [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 12 03:37 go.sum [2022-10-12T03:39:18.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:37 internal [2022-10-12T03:39:18.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:37 snap [2022-10-12T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 12 03:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:39:19.152Z] + 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=068f6fd71b490d48a74cf43e13cff0e93a74c51f --label arch=amd64 --label version=0.0.0 . [2022-10-12T03:39:19.152Z] Sending build context to Docker daemon 23.24MB [2022-10-12T03:39:19.152Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T03:39:19.152Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T03:39:19.152Z] ---> 3093e9d0b027 [2022-10-12T03:39:19.152Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T03:39:19.422Z] ---> Running in 068d3b758de3 [2022-10-12T03:39:19.422Z] Removing intermediate container 068d3b758de3 [2022-10-12T03:39:19.422Z] ---> 87a876daab4a [2022-10-12T03:39:19.422Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T03:39:19.422Z] ---> Running in 266a03f2e10c [2022-10-12T03:39:19.681Z] Removing intermediate container 266a03f2e10c [2022-10-12T03:39:19.681Z] ---> 745ab1b7ef81 [2022-10-12T03:39:19.681Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T03:39:19.681Z] ---> Running in 6c6c3205cc71 [2022-10-12T03:39:19.681Z] Removing intermediate container 6c6c3205cc71 [2022-10-12T03:39:19.681Z] ---> 750c90dada23 [2022-10-12T03:39:19.681Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-12T03:39:19.681Z] ---> Running in 8d6841f3cd6e [2022-10-12T03:39:19.940Z] Removing intermediate container 8d6841f3cd6e [2022-10-12T03:39:19.940Z] ---> 8fb41d614e47 [2022-10-12T03:39:19.940Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:39:19.940Z] ---> Running in eb57988ac210 [2022-10-12T03:39:20.508Z] Removing intermediate container eb57988ac210 [2022-10-12T03:39:20.508Z] ---> 52b730860127 [2022-10-12T03:39:20.508Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T03:39:20.508Z] ---> Running in 426328fc290a [2022-10-12T03:39:21.075Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T03:39:21.641Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T03:39:22.208Z] OK: 216 MiB in 55 packages [2022-10-12T03:39:22.470Z] Removing intermediate container 426328fc290a [2022-10-12T03:39:22.470Z] ---> 721ceb891c7b [2022-10-12T03:39:22.470Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-12T03:39:22.470Z] ---> 5052a560648f [2022-10-12T03:39:22.470Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T03:39:22.728Z] ---> Running in 6fc721c02d45 [2022-10-12T03:39:23.294Z] Removing intermediate container 6fc721c02d45 [2022-10-12T03:39:23.294Z] ---> 52b27abad9b1 [2022-10-12T03:39:23.294Z] Step 11/27 : COPY . . [2022-10-12T03:39:23.861Z] ---> c9ed705e54f8 [2022-10-12T03:39:23.861Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T03:39:23.861Z] ---> Running in 80cd2dee65ba [2022-10-12T03:39:23.861Z] Removing intermediate container 80cd2dee65ba [2022-10-12T03:39:23.861Z] ---> 892f3993e84f [2022-10-12T03:39:23.861Z] Step 13/27 : RUN $MAKE [2022-10-12T03:39:24.120Z] ---> Running in e004c70602a5 [2022-10-12T03:39:24.378Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-10-12T03:39:46.304Z] Removing intermediate container e004c70602a5 [2022-10-12T03:39:46.304Z] ---> 228c1b651342 [2022-10-12T03:39:46.304Z] Step 14/27 : FROM alpine:3.16 [2022-10-12T03:39:46.304Z] 3.16: Pulling from library/alpine [2022-10-12T03:39:46.304Z] 213ec9aee27d: Already exists [2022-10-12T03:39:46.304Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T03:39:46.304Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T03:39:46.304Z] ---> 9c6f07244728 [2022-10-12T03:39:46.304Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-12T03:39:46.304Z] ---> Running in d877bb55b3d3 [2022-10-12T03:39:46.564Z] Removing intermediate container d877bb55b3d3 [2022-10-12T03:39:46.564Z] ---> bed8acf516af [2022-10-12T03:39:46.564Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:39:46.564Z] ---> Running in b32a5f196e26 [2022-10-12T03:39:47.132Z] Removing intermediate container b32a5f196e26 [2022-10-12T03:39:47.132Z] ---> f0df43cbf8ae [2022-10-12T03:39:47.132Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T03:39:47.132Z] ---> Running in e13f793731cd [2022-10-12T03:39:47.391Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T03:39:48.327Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T03:39:48.585Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T03:39:48.586Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T03:39:48.844Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T03:39:48.844Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T03:39:49.102Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T03:39:49.102Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T03:39:49.102Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T03:39:49.102Z] OK: 8 MiB in 20 packages [2022-10-12T03:39:49.668Z] Removing intermediate container e13f793731cd [2022-10-12T03:39:49.668Z] ---> d341813b058e [2022-10-12T03:39:49.668Z] Step 18/27 : WORKDIR / [2022-10-12T03:39:49.668Z] ---> Running in 31f680a0eaba [2022-10-12T03:39:49.668Z] Removing intermediate container 31f680a0eaba [2022-10-12T03:39:49.668Z] ---> 90a09d6497c9 [2022-10-12T03:39:49.668Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-12T03:39:49.927Z] ---> 709ba2784b3f [2022-10-12T03:39:49.927Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-12T03:39:50.184Z] ---> 9f16af586ee9 [2022-10-12T03:39:50.184Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-12T03:39:50.750Z] ---> b7edc44ba030 [2022-10-12T03:39:50.750Z] Step 22/27 : EXPOSE 59900 [2022-10-12T03:39:50.750Z] ---> Running in b00af19ac9de [2022-10-12T03:39:50.750Z] Removing intermediate container b00af19ac9de [2022-10-12T03:39:50.750Z] ---> 4f4f112844b2 [2022-10-12T03:39:50.750Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-12T03:39:51.008Z] ---> Running in 38ce86d3c9b8 [2022-10-12T03:39:51.008Z] Removing intermediate container 38ce86d3c9b8 [2022-10-12T03:39:51.008Z] ---> bcd596ebe13f [2022-10-12T03:39:51.008Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T03:39:51.009Z] ---> Running in b2414d674f16 [2022-10-12T03:39:51.266Z] Removing intermediate container b2414d674f16 [2022-10-12T03:39:51.266Z] ---> 3300055185b6 [2022-10-12T03:39:51.266Z] Step 25/27 : LABEL arch=amd64 [2022-10-12T03:39:51.266Z] ---> Running in b768088fb778 [2022-10-12T03:39:51.266Z] Removing intermediate container b768088fb778 [2022-10-12T03:39:51.266Z] ---> 08026a6bc300 [2022-10-12T03:39:51.266Z] Step 26/27 : LABEL git_sha=068f6fd71b490d48a74cf43e13cff0e93a74c51f [2022-10-12T03:39:51.266Z] ---> Running in 5683857293d2 [2022-10-12T03:39:51.525Z] Removing intermediate container 5683857293d2 [2022-10-12T03:39:51.525Z] ---> dfb2668dfac8 [2022-10-12T03:39:51.525Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T03:39:51.525Z] ---> Running in ec4b93906396 [2022-10-12T03:39:51.525Z] Removing intermediate container ec4b93906396 [2022-10-12T03:39:51.525Z] ---> 401d44dc912c [2022-10-12T03:39:51.525Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T03:39:51.525Z] Successfully built 401d44dc912c [2022-10-12T03:39:51.525Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:39:52.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T03:39:52.352Z] [2022-10-12T03:39:52.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:39:52.720Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T03:39:52.720Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-12T03:39:52.720Z] 5eb5b503b376: Pulling fs layer [2022-10-12T03:39:52.720Z] 5c69ac0246d0: Pulling fs layer [2022-10-12T03:39:52.720Z] ec43610c2a17: Pulling fs layer [2022-10-12T03:39:52.720Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-12T03:39:52.720Z] 33b1e0a273af: Pulling fs layer [2022-10-12T03:39:52.720Z] 5d3b04190fa2: Pulling fs layer [2022-10-12T03:39:52.720Z] 2f39f015ded8: Pulling fs layer [2022-10-12T03:39:52.720Z] 5d3b04190fa2: Waiting [2022-10-12T03:39:52.720Z] 3a2ae6a8a46f: Waiting [2022-10-12T03:39:52.720Z] 33b1e0a273af: Waiting [2022-10-12T03:39:52.720Z] 2f39f015ded8: Waiting [2022-10-12T03:39:52.720Z] 5c69ac0246d0: Download complete [2022-10-12T03:39:52.720Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-12T03:39:52.980Z] 33b1e0a273af: Verifying Checksum [2022-10-12T03:39:52.980Z] 33b1e0a273af: Download complete [2022-10-12T03:39:52.980Z] ec43610c2a17: Verifying Checksum [2022-10-12T03:39:52.980Z] ec43610c2a17: Download complete [2022-10-12T03:39:52.980Z] 5d3b04190fa2: Verifying Checksum [2022-10-12T03:39:52.980Z] 5d3b04190fa2: Download complete [2022-10-12T03:39:52.980Z] 5eb5b503b376: Download complete [2022-10-12T03:39:53.544Z] 2f39f015ded8: Download complete [2022-10-12T03:39:54.110Z] 5eb5b503b376: Pull complete [2022-10-12T03:39:54.110Z] 5c69ac0246d0: Pull complete [2022-10-12T03:39:54.677Z] ec43610c2a17: Pull complete [2022-10-12T03:39:54.677Z] 3a2ae6a8a46f: Pull complete [2022-10-12T03:39:54.936Z] 33b1e0a273af: Pull complete [2022-10-12T03:39:54.936Z] 5d3b04190fa2: Pull complete [2022-10-12T03:39:59.116Z] 2f39f015ded8: Pull complete [2022-10-12T03:39:59.116Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-12T03:39:59.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T03:39:59.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:39:59.343Z] prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container [2022-10-12T03:39:59.372Z] $ 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-313 -v /w/workspace/foundry_device-virtual-go_PR-313:/w/workspace/foundry_device-virtual-go_PR-313:rw,z -v /w/workspace/foundry_device-virtual-go_PR-313@tmp:/w/workspace/foundry_device-virtual-go_PR-313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-12T03:40:01.265Z] $ docker top 25f6db6ac65816054139aefaf59673bf6a8cbdaef28bdb7ce623dc253123dcf1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:40:01.703Z] ---> job-cost.sh [2022-10-12T03:40:01.703Z] lf-activate-venv: SKIPPING [2022-10-12T03:40:01.703Z] INFO: No Stack... [2022-10-12T03:40:01.964Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T03:40:02.538Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T03:40:02.858Z] + + cut -d, -f6 [2022-10-12T03:40:02.858Z] cat /w/workspace/foundry_device-virtual-go_PR-313/archives/cost.csv [Pipeline] lock [2022-10-12T03:40:02.898Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] [2022-10-12T03:40:02.903Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] did not exist. Created. [2022-10-12T03:40:02.903Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T03:40:03.297Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-12T03:40:03.348Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T03:40:03.381Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T03:40:03.470Z] $ docker stop --time=1 25f6db6ac65816054139aefaf59673bf6a8cbdaef28bdb7ce623dc253123dcf1 [2022-10-12T03:40:04.644Z] $ docker rm -f 25f6db6ac65816054139aefaf59673bf6a8cbdaef28bdb7ce623dc253123dcf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-12T03:42:45.662Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7716 in /w/workspace/foundry_device-virtual-go_PR-313 [Pipeline] { [Pipeline] ws [2022-10-12T03:42:45.699Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-10-12T03:42:45.777Z] The recommended git tool is: git [2022-10-12T03:42:51.322Z] using credential edgex-jenkins-ssh [2022-10-12T03:42:51.339Z] Cloning the remote Git repository [2022-10-12T03:42:51.401Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-12T03:42:51.481Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-10-12T03:42:51.630Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-12T03:42:51.632Z] > git --version # timeout=10 [2022-10-12T03:42:51.658Z] > git --version # 'git version 2.25.1' [2022-10-12T03:42:51.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T03:42:51.710Z] Verifying host key using known hosts file [2022-10-12T03:42:51.909Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-12T03:42:51.922Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T03:42:54.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-12T03:42:54.135Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T03:42:55.700Z] Merging remotes/origin/main commit 476f8fe53201fee1938bf38d508323121d922085 into PR head commit 068f6fd71b490d48a74cf43e13cff0e93a74c51f [2022-10-12T03:42:55.946Z] Merge succeeded, producing 068f6fd71b490d48a74cf43e13cff0e93a74c51f [2022-10-12T03:42:55.947Z] Checking out Revision 068f6fd71b490d48a74cf43e13cff0e93a74c51f (PR-313) [2022-10-12T03:42:55.020Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-12T03:42:55.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-12T03:42:55.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T03:42:55.072Z] Verifying host key using known hosts file [2022-10-12T03:42:55.079Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-12T03:42:55.090Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/313/head:refs/remotes/origin/PR-313 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-12T03:42:55.721Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T03:42:55.742Z] > git checkout -f 068f6fd71b490d48a74cf43e13cff0e93a74c51f # timeout=10 [2022-10-12T03:42:55.840Z] > git remote # timeout=10 [2022-10-12T03:42:55.863Z] > git config --get remote.origin.url # timeout=10 [2022-10-12T03:42:55.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T03:42:55.887Z] Verifying host key using known hosts file [2022-10-12T03:42:55.891Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-12T03:42:55.901Z] > git merge 476f8fe53201fee1938bf38d508323121d922085 # timeout=10 [2022-10-12T03:42:55.930Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-12T03:42:55.955Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T03:42:55.971Z] > git checkout -f 068f6fd71b490d48a74cf43e13cff0e93a74c51f # timeout=10 [2022-10-12T03:42:59.471Z] Commit message: "fix: update example request/response topic scheme" [2022-10-12T03:42:59.519Z] > git --version # timeout=10 [2022-10-12T03:42:59.530Z] > git --version # 'git version 2.25.1' [2022-10-12T03:42:59.552Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T03:43:00.650Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-12T03:43:00.650Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T03:43:00.650Z] Dload Upload Total Spent Left Speed [2022-10-12T03:43:00.650Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-10-12T03:43:01.314Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-12T03:43:01.661Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-12T03:43:01.661Z] + sudo tee /etc/docker/daemon.new [2022-10-12T03:43:01.661Z] { [2022-10-12T03:43:01.661Z] "registry-mirrors": [ [2022-10-12T03:43:01.661Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-12T03:43:01.661Z] ], [2022-10-12T03:43:01.661Z] "bip": "10.250.0.254/24", [2022-10-12T03:43:01.661Z] "hosts": [ [2022-10-12T03:43:01.661Z] "tcp://0.0.0.0:5555", [2022-10-12T03:43:01.661Z] "unix:///var/run/docker.sock" [2022-10-12T03:43:01.661Z] ], [2022-10-12T03:43:01.661Z] "mtu": 1458, [2022-10-12T03:43:01.661Z] "selinux-enabled": true, [2022-10-12T03:43:01.661Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-12T03:43:01.661Z] } [Pipeline] sh [2022-10-12T03:43:02.012Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-12T03:43:02.354Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T03:43:20.677Z] provisioning config files... [2022-10-12T03:43:20.703Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config18003877125861877959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:43:21.096Z] ---> docker-login.sh [2022-10-12T03:43:21.096Z] nexus3.edgexfoundry.org:10001 [2022-10-12T03:43:21.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:43:21.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:43:21.689Z] Configure a credential helper to remove this warning. See [2022-10-12T03:43:21.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:43:21.689Z] [2022-10-12T03:43:21.689Z] Login Succeeded [2022-10-12T03:43:21.689Z] nexus3.edgexfoundry.org:10002 [2022-10-12T03:43:21.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:43:22.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:43:22.226Z] Configure a credential helper to remove this warning. See [2022-10-12T03:43:22.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:43:22.226Z] [2022-10-12T03:43:22.226Z] Login Succeeded [2022-10-12T03:43:22.226Z] nexus3.edgexfoundry.org:10003 [2022-10-12T03:43:22.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:43:22.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:43:22.497Z] Configure a credential helper to remove this warning. See [2022-10-12T03:43:22.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:43:22.497Z] [2022-10-12T03:43:22.497Z] Login Succeeded [2022-10-12T03:43:22.497Z] nexus3.edgexfoundry.org:10004 [2022-10-12T03:43:22.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:43:22.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:43:22.772Z] Configure a credential helper to remove this warning. See [2022-10-12T03:43:22.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:43:22.772Z] [2022-10-12T03:43:22.772Z] Login Succeeded [2022-10-12T03:43:22.772Z] docker.io [2022-10-12T03:43:23.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:43:23.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:43:23.637Z] Configure a credential helper to remove this warning. See [2022-10-12T03:43:23.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:43:23.637Z] [2022-10-12T03:43:23.637Z] Login Succeeded [2022-10-12T03:43:23.637Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T03:43:23.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T03:43:23.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T03:43:23.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T03:43:24.013Z] ========================================================= [2022-10-12T03:43:24.013Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-12T03:43:24.013Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:43:24.509Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-12T03:43:24.781Z] Sending build context to Docker daemon 11.74MB [2022-10-12T03:43:24.782Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T03:43:24.782Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-12T03:43:25.050Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-12T03:43:25.050Z] 9b18e9b68314: Pulling fs layer [2022-10-12T03:43:25.050Z] d32db5db7311: Pulling fs layer [2022-10-12T03:43:25.050Z] d0c4b47475fc: Pulling fs layer [2022-10-12T03:43:25.050Z] 5831b945b038: Pulling fs layer [2022-10-12T03:43:25.050Z] 86bbec2aaacd: Pulling fs layer [2022-10-12T03:43:25.050Z] e10730c5d714: Pulling fs layer [2022-10-12T03:43:25.050Z] 5dd5c2283517: Pulling fs layer [2022-10-12T03:43:25.050Z] d5ac0230b979: Pulling fs layer [2022-10-12T03:43:25.050Z] e10730c5d714: Waiting [2022-10-12T03:43:25.050Z] 86bbec2aaacd: Waiting [2022-10-12T03:43:25.050Z] 5dd5c2283517: Waiting [2022-10-12T03:43:25.050Z] d5ac0230b979: Waiting [2022-10-12T03:43:25.050Z] 5831b945b038: Waiting [2022-10-12T03:43:25.050Z] d0c4b47475fc: Verifying Checksum [2022-10-12T03:43:25.050Z] d0c4b47475fc: Download complete [2022-10-12T03:43:25.050Z] d32db5db7311: Verifying Checksum [2022-10-12T03:43:25.050Z] d32db5db7311: Download complete [2022-10-12T03:43:25.050Z] 86bbec2aaacd: Verifying Checksum [2022-10-12T03:43:25.050Z] 86bbec2aaacd: Download complete [2022-10-12T03:43:25.050Z] e10730c5d714: Verifying Checksum [2022-10-12T03:43:25.050Z] e10730c5d714: Download complete [2022-10-12T03:43:25.330Z] 9b18e9b68314: Verifying Checksum [2022-10-12T03:43:25.330Z] 9b18e9b68314: Download complete [2022-10-12T03:43:26.303Z] 9b18e9b68314: Pull complete [2022-10-12T03:43:26.303Z] d5ac0230b979: Verifying Checksum [2022-10-12T03:43:26.303Z] d5ac0230b979: Download complete [2022-10-12T03:43:26.575Z] d32db5db7311: Pull complete [2022-10-12T03:43:26.847Z] d0c4b47475fc: Pull complete [2022-10-12T03:43:27.438Z] 5dd5c2283517: Verifying Checksum [2022-10-12T03:43:28.023Z] 5831b945b038: Verifying Checksum [2022-10-12T03:43:28.024Z] 5831b945b038: Download complete [2022-10-12T03:43:40.370Z] 5831b945b038: Pull complete [2022-10-12T03:43:40.370Z] 86bbec2aaacd: Pull complete [2022-10-12T03:43:40.640Z] e10730c5d714: Pull complete [2022-10-12T03:43:47.304Z] 5dd5c2283517: Pull complete [2022-10-12T03:43:48.266Z] d5ac0230b979: Pull complete [2022-10-12T03:43:48.266Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-12T03:43:48.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-12T03:43:48.266Z] ---> 59b3b1a385d4 [2022-10-12T03:43:48.266Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T03:43:50.207Z] ---> Running in be64d685274a [2022-10-12T03:43:50.474Z] Removing intermediate container be64d685274a [2022-10-12T03:43:50.474Z] ---> 899c1e440240 [2022-10-12T03:43:50.474Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T03:43:50.474Z] ---> Running in d6abe8d979be [2022-10-12T03:43:50.744Z] Removing intermediate container d6abe8d979be [2022-10-12T03:43:50.744Z] ---> 2f2fb1608cfd [2022-10-12T03:43:50.744Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-12T03:43:50.744Z] ---> Running in 913aff6a5dab [2022-10-12T03:43:51.010Z] Removing intermediate container 913aff6a5dab [2022-10-12T03:43:51.010Z] ---> 846c4cdec114 [2022-10-12T03:43:51.010Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-12T03:43:51.277Z] ---> Running in 50ff1bf22a1c [2022-10-12T03:43:51.544Z] Removing intermediate container 50ff1bf22a1c [2022-10-12T03:43:51.544Z] ---> 77b42c78028a [2022-10-12T03:43:51.544Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:43:51.544Z] ---> Running in fcfa56c72004 [2022-10-12T03:43:53.496Z] Removing intermediate container fcfa56c72004 [2022-10-12T03:43:53.497Z] ---> 2a3ca6ebc030 [2022-10-12T03:43:53.497Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T03:43:53.497Z] ---> Running in 5ed377bfe948 [2022-10-12T03:43:54.456Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T03:43:55.038Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T03:43:55.996Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-12T03:43:56.262Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-12T03:43:56.262Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-12T03:43:56.531Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-12T03:43:56.531Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T03:43:56.531Z] OK: 226 MiB in 55 packages [2022-10-12T03:43:57.494Z] Removing intermediate container 5ed377bfe948 [2022-10-12T03:43:57.494Z] ---> 485bb9a5b322 [2022-10-12T03:43:57.494Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-12T03:43:58.076Z] ---> b94716ef3e75 [2022-10-12T03:43:58.076Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T03:43:58.076Z] ---> Running in f2f387db4d5e [2022-10-12T03:44:54.499Z] Removing intermediate container f2f387db4d5e [2022-10-12T03:44:54.499Z] ---> 421cf12b2aa8 [2022-10-12T03:44:54.499Z] Step 11/13 : COPY . . [2022-10-12T03:44:54.499Z] ---> 96c27e67955b [2022-10-12T03:44:54.499Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T03:44:54.499Z] ---> Running in 2d1c68c0382d [2022-10-12T03:44:54.499Z] Removing intermediate container 2d1c68c0382d [2022-10-12T03:44:54.499Z] ---> 0dd460942d5c [2022-10-12T03:44:54.499Z] Step 13/13 : RUN $MAKE [2022-10-12T03:44:54.499Z] ---> Running in 3898358bf7a7 [2022-10-12T03:44:54.499Z] noop [2022-10-12T03:44:54.499Z] Removing intermediate container 3898358bf7a7 [2022-10-12T03:44:54.499Z] ---> db657a4ad628 [2022-10-12T03:44:54.499Z] Successfully built db657a4ad628 [2022-10-12T03:44:54.499Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:44:54.988Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T03:44:54.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:44:55.239Z] prd-ubuntu20.04-docker-arm64-4c-16g-7716 does not seem to be running inside a container [2022-10-12T03:44:55.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T03:44:56.503Z] $ docker top 43bcfec032bec47928cb59a28e600db76c1dfc539cd7fbd5f670f7e3731f45ee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T03:44:57.386Z] + go version [2022-10-12T03:44:57.387Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-12T03:44:57.427Z] $ docker stop --time=1 43bcfec032bec47928cb59a28e600db76c1dfc539cd7fbd5f670f7e3731f45ee [2022-10-12T03:44:59.054Z] $ docker rm -f 43bcfec032bec47928cb59a28e600db76c1dfc539cd7fbd5f670f7e3731f45ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:44:59.939Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T03:44:59.939Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:45:00.214Z] prd-ubuntu20.04-docker-arm64-4c-16g-7716 does not seem to be running inside a container [2022-10-12T03:45:00.287Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T03:45:01.576Z] $ docker top 1756db5b3f55f3355f8dd4b502b59965a479262410edb0c42ce8548a16bb6cf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T03:45:02.141Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-12T03:45:02.532Z] + make test [2022-10-12T03:45:02.810Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-12T03:45:04.221Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-12T03:46:40.915Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-12T03:46:40.915Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.143s coverage: 65.7% of statements [2022-10-12T03:46:40.915Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-12T03:46:40.915Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T03:46:55.927Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T03:46:55.927Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T03:46:55.927Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T03:46:55.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T03:46:55.998Z] $ docker stop --time=1 1756db5b3f55f3355f8dd4b502b59965a479262410edb0c42ce8548a16bb6cf2 [2022-10-12T03:46:57.829Z] $ docker rm -f 1756db5b3f55f3355f8dd4b502b59965a479262410edb0c42ce8548a16bb6cf2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T03:46:58.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T03:46:58.909Z] Warning: overwriting stash ‘coverage-report’ [2022-10-12T03:46:59.393Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T03:46:59.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T03:47:00.348Z] + ls -al . [2022-10-12T03:47:00.348Z] total 196 [2022-10-12T03:47:00.348Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:45 . [2022-10-12T03:47:00.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:42 .. [2022-10-12T03:47:00.348Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:42 .git [2022-10-12T03:47:00.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:42 .github [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 12 03:42 .gitignore [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 03:42 .golangci.yml [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 12 03:42 Attribution.txt [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 12 03:42 CHANGELOG.md [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 12 03:42 Dockerfile [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 03:42 GOVERNANCE.md [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 12 03:42 Jenkinsfile [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 03:42 LICENSE [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 12 03:42 Makefile [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 12 03:42 OWNERS.md [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 12 03:42 README.md [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 03:38 VERSION [2022-10-12T03:47:00.348Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:42 bin [2022-10-12T03:47:00.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:42 cmd [2022-10-12T03:47:00.348Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 12 03:46 coverage.out [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 12 03:42 go.mod [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 12 03:42 go.sum [2022-10-12T03:47:00.348Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:42 internal [2022-10-12T03:47:00.348Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:42 snap [2022-10-12T03:47:00.348Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 12 03:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:47:00.785Z] + 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=068f6fd71b490d48a74cf43e13cff0e93a74c51f --label arch=arm64 --label version=0.0.0 . [2022-10-12T03:47:01.372Z] Sending build context to Docker daemon 11.79MB [2022-10-12T03:47:01.372Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T03:47:01.372Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T03:47:01.372Z] ---> db657a4ad628 [2022-10-12T03:47:01.372Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T03:47:01.372Z] ---> Running in 8d4e9995194f [2022-10-12T03:47:01.960Z] Removing intermediate container 8d4e9995194f [2022-10-12T03:47:01.960Z] ---> 7f1421953af5 [2022-10-12T03:47:01.960Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T03:47:01.960Z] ---> Running in f62e1fbb3412 [2022-10-12T03:47:02.550Z] Removing intermediate container f62e1fbb3412 [2022-10-12T03:47:02.550Z] ---> bb33744b9a78 [2022-10-12T03:47:02.550Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T03:47:02.550Z] ---> Running in e51f78b8de6c [2022-10-12T03:47:02.827Z] Removing intermediate container e51f78b8de6c [2022-10-12T03:47:02.827Z] ---> 77d787e4c714 [2022-10-12T03:47:02.827Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-12T03:47:02.827Z] ---> Running in 536a701ea1a9 [2022-10-12T03:47:03.428Z] Removing intermediate container 536a701ea1a9 [2022-10-12T03:47:03.428Z] ---> 5504d08feccb [2022-10-12T03:47:03.428Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:47:03.428Z] ---> Running in a251f98a6888 [2022-10-12T03:47:06.783Z] Removing intermediate container a251f98a6888 [2022-10-12T03:47:06.783Z] ---> 64cd92af6260 [2022-10-12T03:47:06.783Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T03:47:06.783Z] ---> Running in 750f6f4ddc0b [2022-10-12T03:47:07.747Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T03:47:08.709Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T03:47:09.673Z] OK: 226 MiB in 55 packages [2022-10-12T03:47:10.646Z] Removing intermediate container 750f6f4ddc0b [2022-10-12T03:47:10.646Z] ---> 1ac609db26c1 [2022-10-12T03:47:10.646Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-12T03:47:11.233Z] ---> 0de24e48281c [2022-10-12T03:47:11.233Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T03:47:11.500Z] ---> Running in 85a507cfa14b [2022-10-12T03:47:14.095Z] Removing intermediate container 85a507cfa14b [2022-10-12T03:47:14.095Z] ---> 4569f187bd89 [2022-10-12T03:47:14.095Z] Step 11/27 : COPY . . [2022-10-12T03:47:15.060Z] ---> c6d71423af0b [2022-10-12T03:47:15.060Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T03:47:15.060Z] ---> Running in 456750148b83 [2022-10-12T03:47:15.343Z] Removing intermediate container 456750148b83 [2022-10-12T03:47:15.343Z] ---> 41dd5dd6d5c0 [2022-10-12T03:47:15.343Z] Step 13/27 : RUN $MAKE [2022-10-12T03:47:15.343Z] ---> Running in bbc1b11f265d [2022-10-12T03:47:16.907Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-10-12T03:49:53.784Z] Removing intermediate container bbc1b11f265d [2022-10-12T03:49:53.784Z] ---> 903b3b37aa4f [2022-10-12T03:49:53.784Z] Step 14/27 : FROM alpine:3.16 [2022-10-12T03:49:53.784Z] 3.16: Pulling from library/alpine [2022-10-12T03:49:53.784Z] 9b18e9b68314: Already exists [2022-10-12T03:49:53.784Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T03:49:53.784Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T03:49:53.784Z] ---> a6215f271958 [2022-10-12T03:49:53.784Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-12T03:49:53.784Z] ---> Running in 9a0b09c57234 [2022-10-12T03:49:53.784Z] Removing intermediate container 9a0b09c57234 [2022-10-12T03:49:53.784Z] ---> 9f1e22f0474a [2022-10-12T03:49:53.784Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:49:53.784Z] ---> Running in 31e9c98a69cf [2022-10-12T03:49:54.375Z] Removing intermediate container 31e9c98a69cf [2022-10-12T03:49:54.375Z] ---> d97a311dbc82 [2022-10-12T03:49:54.375Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T03:49:54.375Z] ---> Running in d72f9b9b82b7 [2022-10-12T03:49:55.344Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T03:49:56.304Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T03:49:57.265Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T03:49:57.265Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T03:49:57.265Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T03:49:57.532Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T03:49:57.532Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T03:49:57.532Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T03:49:57.797Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T03:49:57.797Z] OK: 8 MiB in 20 packages [2022-10-12T03:49:58.765Z] Removing intermediate container d72f9b9b82b7 [2022-10-12T03:49:58.765Z] ---> cb3fbab97329 [2022-10-12T03:49:58.765Z] Step 18/27 : WORKDIR / [2022-10-12T03:49:58.765Z] ---> Running in 63ffa2530d57 [2022-10-12T03:49:59.033Z] Removing intermediate container 63ffa2530d57 [2022-10-12T03:49:59.033Z] ---> f736392b443f [2022-10-12T03:49:59.033Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-12T03:49:59.616Z] ---> 72728685298b [2022-10-12T03:49:59.616Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-12T03:50:00.202Z] ---> 107d62a6a36e [2022-10-12T03:50:00.202Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-12T03:50:01.615Z] ---> 8c52895a4692 [2022-10-12T03:50:01.615Z] Step 22/27 : EXPOSE 59900 [2022-10-12T03:50:01.615Z] ---> Running in 65308b4f0b14 [2022-10-12T03:50:01.883Z] Removing intermediate container 65308b4f0b14 [2022-10-12T03:50:01.883Z] ---> 6c3a678d0931 [2022-10-12T03:50:01.883Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-12T03:50:02.150Z] ---> Running in 4673e2504eca [2022-10-12T03:50:02.419Z] Removing intermediate container 4673e2504eca [2022-10-12T03:50:02.419Z] ---> 933481841c13 [2022-10-12T03:50:02.419Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T03:50:02.419Z] ---> Running in e90cfdf1d879 [2022-10-12T03:50:02.687Z] Removing intermediate container e90cfdf1d879 [2022-10-12T03:50:02.687Z] ---> 1f59c26c92ee [2022-10-12T03:50:02.687Z] Step 25/27 : LABEL arch=arm64 [2022-10-12T03:50:02.687Z] ---> Running in 2c50c8b6c1be [2022-10-12T03:50:03.272Z] Removing intermediate container 2c50c8b6c1be [2022-10-12T03:50:03.272Z] ---> 30224ff54e38 [2022-10-12T03:50:03.272Z] Step 26/27 : LABEL git_sha=068f6fd71b490d48a74cf43e13cff0e93a74c51f [2022-10-12T03:50:03.272Z] ---> Running in ce924286d44f [2022-10-12T03:50:03.539Z] Removing intermediate container ce924286d44f [2022-10-12T03:50:03.539Z] ---> 9ecb06b8cf5e [2022-10-12T03:50:03.539Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T03:50:03.539Z] ---> Running in 2ae02917cc76 [2022-10-12T03:50:03.806Z] Removing intermediate container 2ae02917cc76 [2022-10-12T03:50:03.806Z] ---> 4eb36af15c67 [2022-10-12T03:50:03.806Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T03:50:03.806Z] Successfully built 4eb36af15c67 [2022-10-12T03:50:03.806Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:50:04.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T03:50:04.638Z] [2022-10-12T03:50:04.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:50:05.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T03:50:05.080Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-12T03:50:05.080Z] 8998bd30e6a1: Pulling fs layer [2022-10-12T03:50:05.080Z] 04944245beec: Pulling fs layer [2022-10-12T03:50:05.080Z] 699f458cf7ca: Pulling fs layer [2022-10-12T03:50:05.080Z] 765212b225bb: Pulling fs layer [2022-10-12T03:50:05.080Z] f23df028b6ca: Pulling fs layer [2022-10-12T03:50:05.080Z] d65c8cfc05b1: Pulling fs layer [2022-10-12T03:50:05.080Z] 2437ff75d9bd: Pulling fs layer [2022-10-12T03:50:05.081Z] 765212b225bb: Waiting [2022-10-12T03:50:05.081Z] f23df028b6ca: Waiting [2022-10-12T03:50:05.081Z] d65c8cfc05b1: Waiting [2022-10-12T03:50:05.081Z] 2437ff75d9bd: Waiting [2022-10-12T03:50:05.350Z] 04944245beec: Verifying Checksum [2022-10-12T03:50:05.350Z] 04944245beec: Download complete [2022-10-12T03:50:05.350Z] 765212b225bb: Verifying Checksum [2022-10-12T03:50:05.350Z] 765212b225bb: Download complete [2022-10-12T03:50:05.350Z] f23df028b6ca: Verifying Checksum [2022-10-12T03:50:05.350Z] f23df028b6ca: Download complete [2022-10-12T03:50:05.350Z] d65c8cfc05b1: Verifying Checksum [2022-10-12T03:50:05.350Z] d65c8cfc05b1: Download complete [2022-10-12T03:50:05.350Z] 699f458cf7ca: Verifying Checksum [2022-10-12T03:50:05.350Z] 699f458cf7ca: Download complete [2022-10-12T03:50:05.934Z] 8998bd30e6a1: Verifying Checksum [2022-10-12T03:50:05.934Z] 8998bd30e6a1: Download complete [2022-10-12T03:50:07.876Z] 2437ff75d9bd: Verifying Checksum [2022-10-12T03:50:07.876Z] 2437ff75d9bd: Download complete [2022-10-12T03:50:09.817Z] 8998bd30e6a1: Pull complete [2022-10-12T03:50:10.084Z] 04944245beec: Pull complete [2022-10-12T03:50:11.493Z] 699f458cf7ca: Pull complete [2022-10-12T03:50:11.493Z] 765212b225bb: Pull complete [2022-10-12T03:50:13.433Z] f23df028b6ca: Pull complete [2022-10-12T03:50:13.433Z] d65c8cfc05b1: Pull complete [2022-10-12T03:50:25.740Z] 2437ff75d9bd: Pull complete [2022-10-12T03:50:25.740Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-12T03:50:25.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T03:50:25.740Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:50:26.039Z] prd-ubuntu20.04-docker-arm64-4c-16g-7716 does not seem to be running inside a container [2022-10-12T03:50:26.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-12T03:50:28.779Z] $ docker top dbb805c4259dd05c2ff5e15c711e43f69177ce7655c4854be82350104aa0079e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:50:29.690Z] ---> job-cost.sh [2022-10-12T03:50:29.691Z] lf-activate-venv: SKIPPING [2022-10-12T03:50:29.691Z] INFO: No Stack... [2022-10-12T03:50:29.958Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-12T03:50:30.917Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T03:50:31.572Z] + + cut -d, -f6 [2022-10-12T03:50:31.572Z] cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2022-10-12T03:50:31.652Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] [2022-10-12T03:50:31.657Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] did not exist. Created. [2022-10-12T03:50:31.657Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T03:50:32.059Z] /w/workspace/device-virtual-go/1@tmp/durable-fe2529f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-12T03:50:32.726Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-12T03:50:32.760Z] Warning: overwriting stash ‘stack-cost’ [2022-10-12T03:50:32.817Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T03:50:32.831Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T03:50:32.905Z] $ docker stop --time=1 dbb805c4259dd05c2ff5e15c711e43f69177ce7655c4854be82350104aa0079e [2022-10-12T03:50:34.421Z] $ docker rm -f dbb805c4259dd05c2ff5e15c711e43f69177ce7655c4854be82350104aa0079e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-12T03:50:35.402Z] provisioning config files... [2022-10-12T03:50:35.413Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-313@tmp/config18399002148184432574tmp [Pipeline] { [Pipeline] sh [2022-10-12T03:50:35.750Z] + set +x [2022-10-12T03:50:35.750Z] + curl -s https://codecov.io/bash [2022-10-12T03:50:35.750Z] + bash -s -- [2022-10-12T03:50:35.750Z] [2022-10-12T03:50:35.750Z] _____ _ [2022-10-12T03:50:35.750Z] / ____| | | [2022-10-12T03:50:35.750Z] | | ___ __| | ___ ___ _____ __ [2022-10-12T03:50:35.750Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-12T03:50:35.750Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-12T03:50:35.750Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-12T03:50:35.750Z] Bash-1.0.6 [2022-10-12T03:50:35.750Z] [2022-10-12T03:50:35.750Z] [2022-10-12T03:50:35.750Z] ==> git version 2.25.1 found [2022-10-12T03:50:35.750Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-12T03:50:35.750Z] Release-Date: 2020-01-08 [2022-10-12T03:50:35.750Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-12T03:50:35.750Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-12T03:50:35.750Z] ==> Jenkins CI detected. [2022-10-12T03:50:35.750Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-313 [2022-10-12T03:50:35.750Z] project root: . [2022-10-12T03:50:35.750Z] --> token set from env [2022-10-12T03:50:35.750Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-12T03:50:35.750Z] ==> Running gcov in . (disable via -X gcov) [2022-10-12T03:50:35.750Z] ==> Python coveragepy not found [2022-10-12T03:50:35.750Z] ==> Searching for coverage reports in: [2022-10-12T03:50:35.750Z] + . [2022-10-12T03:50:35.750Z] -> Found 1 reports [2022-10-12T03:50:35.750Z] ==> Detecting git/mercurial file structure [2022-10-12T03:50:35.750Z] ==> Reading reports [2022-10-12T03:50:35.750Z] + ./coverage.out bytes=44128 [2022-10-12T03:50:35.750Z] ==> Appending adjustments [2022-10-12T03:50:35.750Z] https://docs.codecov.io/docs/fixing-reports [2022-10-12T03:50:36.010Z] + Found adjustments [2022-10-12T03:50:36.010Z] ==> Gzipping contents [2022-10-12T03:50:36.010Z] 8.0K /tmp/codecov.PLNURU.gz [2022-10-12T03:50:36.010Z] ==> Uploading reports [2022-10-12T03:50:36.010Z] url: https://codecov.io [2022-10-12T03:50:36.010Z] query: branch=PR-313&commit=068f6fd71b490d48a74cf43e13cff0e93a74c51f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-313%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=313&job=&cmd_args= [2022-10-12T03:50:36.010Z] -> Pinging Codecov [2022-10-12T03:50:36.010Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-313&commit=068f6fd71b490d48a74cf43e13cff0e93a74c51f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-313%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=313&job=&cmd_args= [2022-10-12T03:50:36.269Z] -> Uploading to [2022-10-12T03:50:36.269Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-12/5E52B4B073DB2E39498172D8E973AA87/068f6fd71b490d48a74cf43e13cff0e93a74c51f/f2124272-1fc3-4fb2-ad58-ca84cedc114b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T035036Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=054146cbdddc1a6c1fe4a7d04fd2179b03975589306e4a3b5bd024bd2bc6d869 [2022-10-12T03:50:36.269Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T03:50:36.269Z] Dload Upload Total Spent Left Speed [2022-10-12T03:50:36.528Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5491 0 0 100 5491 0 25073 --:--:-- --:--:-- --:--:-- 25073 [2022-10-12T03:50:36.528Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/068f6fd71b490d48a74cf43e13cff0e93a74c51f [Pipeline] } [2022-10-12T03:50:36.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-12T03:50:38.322Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-313/archives ] [2022-10-12T03:50:38.322Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-313/archives [2022-10-12T03:50:38.322Z] total 16 [2022-10-12T03:50:38.322Z] drwxr-xr-x 3 root root 4096 Oct 12 03:40 . [2022-10-12T03:50:38.322Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 03:40 .. [2022-10-12T03:50:38.322Z] drwxr-xr-x 2 root root 4096 Oct 12 03:40 cost [2022-10-12T03:50:38.322Z] -rw-r--r-- 1 root root 89 Oct 12 03:40 cost.csv [2022-10-12T03:50:38.322Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-313/archives [2022-10-12T03:50:38.322Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-313/archives [2022-10-12T03:50:38.322Z] total 16 [2022-10-12T03:50:38.322Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 03:40 . [2022-10-12T03:50:38.322Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 03:40 .. [2022-10-12T03:50:38.322Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 03:40 cost [2022-10-12T03:50:38.322Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 12 03:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:50:38.650Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:50:39.534Z] ---> package-listing.sh [2022-10-12T03:50:39.534Z] ++ facter osfamily [2022-10-12T03:50:39.534Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-12T03:50:39.793Z] + OS_FAMILY=debian [2022-10-12T03:50:39.793Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-313 [2022-10-12T03:50:39.793Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-12T03:50:39.793Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-12T03:50:39.793Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-12T03:50:39.793Z] + PACKAGES=/tmp/packages_start.txt [2022-10-12T03:50:39.793Z] + '[' /w/workspace/foundry_device-virtual-go_PR-313 ']' [2022-10-12T03:50:39.793Z] + PACKAGES=/tmp/packages_end.txt [2022-10-12T03:50:39.793Z] + case "${OS_FAMILY}" in [2022-10-12T03:50:39.793Z] + dpkg -l [2022-10-12T03:50:39.793Z] + grep '^ii' [2022-10-12T03:50:39.793Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-12T03:50:39.793Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-12T03:50:39.793Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-12T03:50:39.793Z] + '[' /w/workspace/foundry_device-virtual-go_PR-313 ']' [2022-10-12T03:50:39.793Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-313/archives/ [2022-10-12T03:50:39.793Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-313/archives/ [Pipeline] echo [2022-10-12T03:50:39.829Z] 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-313/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-12T03:50:40.119Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:50:40.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T03:50:40.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:50:40.876Z] prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container [2022-10-12T03:50:40.907Z] $ 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-313/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-313 -v /w/workspace/foundry_device-virtual-go_PR-313:/w/workspace/foundry_device-virtual-go_PR-313:rw,z -v /w/workspace/foundry_device-virtual-go_PR-313@tmp:/w/workspace/foundry_device-virtual-go_PR-313@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-12T03:50:41.147Z] $ docker top d4f7fafb2f9a6dbd2560f7b9a048d126f2bd7d4e97a617a43be17d770c16daae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T03:50:41.606Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-12T03:50:41.915Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-12T03:50:42.231Z] + ls /var/log/sa-host [2022-10-12T03:50:42.231Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T03:50:42.532Z] provisioning config files... [2022-10-12T03:50:42.541Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-313@tmp/config16115925210168135171tmp [Pipeline] { [Pipeline] echo [2022-10-12T03:50:42.601Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:50:42.916Z] ---> create-netrc.sh [Pipeline] } [2022-10-12T03:50:42.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:50:43.354Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-12T03:50:43.389Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:50:43.708Z] ---> sudo-logs.sh [2022-10-12T03:50:43.709Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-12T03:50:43.801Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:50:44.115Z] ---> job-cost.sh [2022-10-12T03:50:44.115Z] lf-activate-venv: SKIPPING [2022-10-12T03:50:44.115Z] DEBUG: total: 0.2199999988079071 [2022-10-12T03:50:44.115Z] INFO: Retrieving Stack Cost... [2022-10-12T03:50:44.684Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T03:50:44.943Z] INFO: Archiving Costs [Pipeline] echo [2022-10-12T03:50:44.976Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:50:45.290Z] ---> logs-deploy.sh [2022-10-12T03:50:45.290Z] lf-activate-venv: SKIPPING [2022-10-12T03:50:45.291Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-313/1 [2022-10-12T03:50:45.291Z] INFO: archiving workspace using pattern(s): [2022-10-12T03:50:46.229Z] Archives upload complete. [2022-10-12T03:50:46.489Z] INFO: archiving logs to Nexus [2022-10-12T03:50:47.057Z] ---> uname -a: [2022-10-12T03:50:47.058Z] Linux prd-ubuntu20-04-docker-8c-8g-7715 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-12T03:50:47.058Z] [2022-10-12T03:50:47.058Z] [2022-10-12T03:50:47.058Z] ---> lscpu: [2022-10-12T03:50:47.058Z] Architecture: x86_64 [2022-10-12T03:50:47.058Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-12T03:50:47.058Z] Byte Order: Little Endian [2022-10-12T03:50:47.058Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-12T03:50:47.058Z] CPU(s): 8 [2022-10-12T03:50:47.058Z] On-line CPU(s) list: 0-7 [2022-10-12T03:50:47.058Z] Thread(s) per core: 1 [2022-10-12T03:50:47.058Z] Core(s) per socket: 1 [2022-10-12T03:50:47.058Z] Socket(s): 8 [2022-10-12T03:50:47.058Z] NUMA node(s): 1 [2022-10-12T03:50:47.058Z] Vendor ID: AuthenticAMD [2022-10-12T03:50:47.058Z] CPU family: 23 [2022-10-12T03:50:47.058Z] Model: 49 [2022-10-12T03:50:47.058Z] Model name: AMD EPYC-Rome Processor [2022-10-12T03:50:47.058Z] Stepping: 0 [2022-10-12T03:50:47.058Z] CPU MHz: 2799.994 [2022-10-12T03:50:47.058Z] BogoMIPS: 5599.98 [2022-10-12T03:50:47.058Z] Virtualization: AMD-V [2022-10-12T03:50:47.058Z] Hypervisor vendor: KVM [2022-10-12T03:50:47.058Z] Virtualization type: full [2022-10-12T03:50:47.058Z] L1d cache: 256 KiB [2022-10-12T03:50:47.058Z] L1i cache: 256 KiB [2022-10-12T03:50:47.058Z] L2 cache: 4 MiB [2022-10-12T03:50:47.058Z] L3 cache: 128 MiB [2022-10-12T03:50:47.058Z] NUMA node0 CPU(s): 0-7 [2022-10-12T03:50:47.058Z] Vulnerability Itlb multihit: Not affected [2022-10-12T03:50:47.058Z] Vulnerability L1tf: Not affected [2022-10-12T03:50:47.058Z] Vulnerability Mds: Not affected [2022-10-12T03:50:47.058Z] Vulnerability Meltdown: Not affected [2022-10-12T03:50:47.058Z] Vulnerability Mmio stale data: Not affected [2022-10-12T03:50:47.058Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-12T03:50:47.058Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-12T03:50:47.058Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-12T03:50:47.058Z] Vulnerability Srbds: Not affected [2022-10-12T03:50:47.058Z] Vulnerability Tsx async abort: Not affected [2022-10-12T03:50:47.058Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-12T03:50:47.058Z] [2022-10-12T03:50:47.058Z] [2022-10-12T03:50:47.058Z] ---> nproc: [2022-10-12T03:50:47.058Z] 8 [2022-10-12T03:50:47.058Z] [2022-10-12T03:50:47.058Z]