Pull request #299 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 MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at b3ed2c468bbc11562de4df1efe7e210c5fb0a041 rather than fec75ada00550320aca600e4cb54573f8d097c57 Obtained Jenkinsfile from b3ed2c468bbc11562de4df1efe7e210c5fb0a041 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-ssh15209032178221065619.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16791132136455223010.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh 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-299/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-299/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12531668204751685455.key > 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-299/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4528297157783750622.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh12287692637662939735.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-299/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-299/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6691401237082693442.key > 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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22398 in /w/workspace/foundry_device-virtual-go_PR-299 [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-299 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b3ed2c468bbc11562de4df1efe7e210c5fb0a041 into PR head commit fec75ada00550320aca600e4cb54573f8d097c57 Merge succeeded, producing fec75ada00550320aca600e4cb54573f8d097c57 Checking out Revision fec75ada00550320aca600e4cb54573f8d097c57 (PR-299) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/299/head:refs/remotes/origin/PR-299 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fec75ada00550320aca600e4cb54573f8d097c57 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b3ed2c468bbc11562de4df1efe7e210c5fb0a041 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fec75ada00550320aca600e4cb54573f8d097c57 # timeout=10 Commit message: "fix(snap): Update plug name for content interface" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-10T09:05:59.794Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-10T09:05:59.978Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-10T09:06:00.076Z] ========================================================= [2022-08-10T09:06:00.076Z] EdgeX Global Pipelines Version Info [2022-08-10T09:06:00.076Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:06:00.896Z] ------------------- [2022-08-10T09:06:00.896Z] stable info: [2022-08-10T09:06:00.896Z] ------------------- [2022-08-10T09:06:00.896Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-10T09:06:00.896Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-10T09:06:00.896Z] Message: update stable to v1.0.238 [2022-08-10T09:06:01.471Z] ------------------- [2022-08-10T09:06:01.471Z] experimental info: [2022-08-10T09:06:01.471Z] ------------------- [2022-08-10T09:06:01.471Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-10T09:06:01.471Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-10T09:06:01.471Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-10T09:06:01.828Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-08-10T09:06:01.871Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-08-10T09:06:01.909Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-10T09:06:01.950Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-10T09:06:01.992Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-10T09:06:02.032Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-10T09:06:02.091Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-10T09:06:02.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-10T09:06:02.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-10T09:06:02.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-10T09:06:02.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-10T09:06:02.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-08-10T09:06:02.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-10T09:06:02.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-10T09:06:02.479Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-10T09:06:02.520Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-10T09:06:02.558Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-10T09:06:02.593Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-10T09:06:02.640Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-10T09:06:02.682Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-10T09:06:02.718Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-10T09:06:02.759Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-10T09:06:02.799Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-10T09:06:02.839Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-10T09:06:02.877Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-10T09:06:02.916Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-10T09:06:02.950Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-10T09:06:02.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-299 [Pipeline] echo [2022-08-10T09:06:03.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-299 [Pipeline] echo [2022-08-10T09:06:03.072Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-299 [Pipeline] echo [2022-08-10T09:06:03.115Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fec75ada00550320aca600e4cb54573f8d097c57 [Pipeline] echo [2022-08-10T09:06:03.158Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fec75ad [Pipeline] echo [2022-08-10T09:06:03.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-10T09:06:03.311Z] provisioning config files... [2022-08-10T09:06:03.325Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-299@tmp/config179677639413958229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:06:03.678Z] ---> docker-login.sh [2022-08-10T09:06:03.678Z] nexus3.edgexfoundry.org:10001 [2022-08-10T09:06:03.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:06:04.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:06:04.200Z] Configure a credential helper to remove this warning. See [2022-08-10T09:06:04.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:06:04.200Z] [2022-08-10T09:06:04.200Z] Login Succeeded [2022-08-10T09:06:04.200Z] nexus3.edgexfoundry.org:10002 [2022-08-10T09:06:04.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:06:04.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:06:04.200Z] Configure a credential helper to remove this warning. See [2022-08-10T09:06:04.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:06:04.200Z] [2022-08-10T09:06:04.200Z] Login Succeeded [2022-08-10T09:06:04.200Z] nexus3.edgexfoundry.org:10003 [2022-08-10T09:06:04.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:06:04.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:06:04.463Z] Configure a credential helper to remove this warning. See [2022-08-10T09:06:04.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:06:04.463Z] [2022-08-10T09:06:04.463Z] Login Succeeded [2022-08-10T09:06:04.463Z] nexus3.edgexfoundry.org:10004 [2022-08-10T09:06:04.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:06:04.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:06:04.726Z] Configure a credential helper to remove this warning. See [2022-08-10T09:06:04.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:06:04.726Z] [2022-08-10T09:06:04.726Z] Login Succeeded [2022-08-10T09:06:04.726Z] docker.io [2022-08-10T09:06:04.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:06:04.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:06:04.988Z] Configure a credential helper to remove this warning. See [2022-08-10T09:06:04.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:06:04.988Z] [2022-08-10T09:06:04.988Z] Login Succeeded [2022-08-10T09:06:04.988Z] ---> docker-login.sh ends [Pipeline] } [2022-08-10T09:06:05.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-10T09:06:05.639Z] + git rev-list -1 --merges fec75ada00550320aca600e4cb54573f8d097c57~1..fec75ada00550320aca600e4cb54573f8d097c57 [Pipeline] echo [2022-08-10T09:06:05.697Z] -----------> git rev-list -1 --merges fec75ada00550320aca600e4cb54573f8d097c57~1..fec75ada00550320aca600e4cb54573f8d097c57 fec75ada00550320aca600e4cb54573f8d097c57 [false] [Pipeline] sh [2022-08-10T09:06:06.010Z] + git log --format=format:%s -1 fec75ada00550320aca600e4cb54573f8d097c57 [Pipeline] echo [2022-08-10T09:06:06.044Z] ========================================================= [2022-08-10T09:06:06.044Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-10T09:06:06.044Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-10T09:06:06.459Z] + git log --format=format:%s -1 fec75ada00550320aca600e4cb54573f8d097c57 [Pipeline] echo [2022-08-10T09:06:06.493Z] [semverPrep] GIT_COMMIT: fec75ada00550320aca600e4cb54573f8d097c57, Commit Message: fix(snap): Update plug name for content interface [Pipeline] echo [2022-08-10T09:06:06.520Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-10T09:06:06.908Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-10T09:06:06.908Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-10T09:06:06.908Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-10T09:06:06.908Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-10T09:06:06.908Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-10T09:06:06.908Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-10T09:06:06.908Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:06:07.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-10T09:06:07.329Z] [2022-08-10T09:06:07.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:06:07.699Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-10T09:06:07.699Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-10T09:06:07.699Z] b85a868b505f: Pulling fs layer [2022-08-10T09:06:07.699Z] e2be974225ed: Pulling fs layer [2022-08-10T09:06:07.699Z] 339a4e72a1f5: Pulling fs layer [2022-08-10T09:06:07.699Z] 988bab9f4d93: Pulling fs layer [2022-08-10T09:06:07.699Z] 1469e6f7b9e6: Pulling fs layer [2022-08-10T09:06:07.699Z] eaf3925da568: Pulling fs layer [2022-08-10T09:06:07.699Z] bab4dde63d76: Pulling fs layer [2022-08-10T09:06:07.699Z] bde34c3a00c8: Pulling fs layer [2022-08-10T09:06:07.699Z] 988bab9f4d93: Waiting [2022-08-10T09:06:07.699Z] 1469e6f7b9e6: Waiting [2022-08-10T09:06:07.699Z] eaf3925da568: Waiting [2022-08-10T09:06:07.699Z] bab4dde63d76: Waiting [2022-08-10T09:06:07.699Z] b352a97aabf1: Pulling fs layer [2022-08-10T09:06:07.699Z] bde34c3a00c8: Waiting [2022-08-10T09:06:07.699Z] 4872d77fe225: Pulling fs layer [2022-08-10T09:06:07.699Z] 5851b861e8e6: Pulling fs layer [2022-08-10T09:06:07.699Z] b352a97aabf1: Waiting [2022-08-10T09:06:07.699Z] 4872d77fe225: Waiting [2022-08-10T09:06:07.699Z] 5851b861e8e6: Waiting [2022-08-10T09:06:07.699Z] e2be974225ed: Verifying Checksum [2022-08-10T09:06:07.699Z] e2be974225ed: Download complete [2022-08-10T09:06:07.699Z] 988bab9f4d93: Verifying Checksum [2022-08-10T09:06:07.699Z] 988bab9f4d93: Download complete [2022-08-10T09:06:07.960Z] 1469e6f7b9e6: Verifying Checksum [2022-08-10T09:06:07.960Z] 1469e6f7b9e6: Download complete [2022-08-10T09:06:07.960Z] eaf3925da568: Download complete [2022-08-10T09:06:07.960Z] 339a4e72a1f5: Verifying Checksum [2022-08-10T09:06:07.960Z] 339a4e72a1f5: Download complete [2022-08-10T09:06:07.960Z] bde34c3a00c8: Download complete [2022-08-10T09:06:07.960Z] b352a97aabf1: Verifying Checksum [2022-08-10T09:06:07.960Z] b352a97aabf1: Download complete [2022-08-10T09:06:07.960Z] 4872d77fe225: Download complete [2022-08-10T09:06:07.960Z] 5851b861e8e6: Verifying Checksum [2022-08-10T09:06:07.960Z] 5851b861e8e6: Download complete [2022-08-10T09:06:07.960Z] b85a868b505f: Verifying Checksum [2022-08-10T09:06:07.960Z] b85a868b505f: Download complete [2022-08-10T09:06:08.221Z] bab4dde63d76: Verifying Checksum [2022-08-10T09:06:08.221Z] bab4dde63d76: Download complete [2022-08-10T09:06:09.611Z] b85a868b505f: Pull complete [2022-08-10T09:06:09.611Z] e2be974225ed: Pull complete [2022-08-10T09:06:10.184Z] 339a4e72a1f5: Pull complete [2022-08-10T09:06:10.184Z] 988bab9f4d93: Pull complete [2022-08-10T09:06:10.444Z] 1469e6f7b9e6: Pull complete [2022-08-10T09:06:10.705Z] eaf3925da568: Pull complete [2022-08-10T09:06:12.633Z] bab4dde63d76: Pull complete [2022-08-10T09:06:12.895Z] bde34c3a00c8: Pull complete [2022-08-10T09:06:12.895Z] b352a97aabf1: Pull complete [2022-08-10T09:06:12.895Z] 4872d77fe225: Pull complete [2022-08-10T09:06:13.156Z] 5851b861e8e6: Pull complete [2022-08-10T09:06:13.156Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-10T09:06:13.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-10T09:06:13.156Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T09:06:13.372Z] prd-ubuntu20.04-docker-8c-8g-22398 does not seem to be running inside a container [2022-08-10T09:06:13.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-299 -v /w/workspace/foundry_device-virtual-go_PR-299:/w/workspace/foundry_device-virtual-go_PR-299:rw,z -v /w/workspace/foundry_device-virtual-go_PR-299@tmp:/w/workspace/foundry_device-virtual-go_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-10T09:06:14.944Z] $ docker top 44392f1ac6bea0422faabf30aa027f94835972e26c85ee80ff42860f82223050 -eo pid,comm [2022-08-10T09:06:15.019Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-10T09:06:15.019Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-10T09:06:15.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-10T09:06:15.128Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-10T09:06:15.274Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-10T09:06:15.281Z] $ docker exec 44392f1ac6bea0422faabf30aa027f94835972e26c85ee80ff42860f82223050 ssh-agent [2022-08-10T09:06:15.418Z] SSH_AUTH_SOCK=/tmp/ssh-BX7BSeV5PXE9/agent.34 [2022-08-10T09:06:15.418Z] SSH_AGENT_PID=40 [2022-08-10T09:06:15.426Z] Running ssh-add (command line suppressed) [2022-08-10T09:06:15.570Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-299@tmp/private_key_6107976307217906574.key (/w/workspace/foundry_device-virtual-go_PR-299@tmp/private_key_6107976307217906574.key) [2022-08-10T09:06:15.589Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-10T09:06:15.927Z] + git tag --points-at HEAD [Pipeline] } [2022-08-10T09:06:15.959Z] $ docker exec --env ******** --env ******** 44392f1ac6bea0422faabf30aa027f94835972e26c85ee80ff42860f82223050 ssh-agent -k [2022-08-10T09:06:16.082Z] unset SSH_AUTH_SOCK; [2022-08-10T09:06:16.083Z] unset SSH_AGENT_PID; [2022-08-10T09:06:16.083Z] echo Agent pid 40 killed; [2022-08-10T09:06:16.091Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-10T09:06:16.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-10T09:06:16.179Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-10T09:06:16.329Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-10T09:06:16.337Z] $ docker exec 44392f1ac6bea0422faabf30aa027f94835972e26c85ee80ff42860f82223050 ssh-agent [2022-08-10T09:06:16.472Z] SSH_AUTH_SOCK=/tmp/ssh-yhr5qD7eaJD9/agent.73 [2022-08-10T09:06:16.472Z] SSH_AGENT_PID=79 [2022-08-10T09:06:16.478Z] Running ssh-add (command line suppressed) [2022-08-10T09:06:16.595Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-299@tmp/private_key_6816118419145388555.key (/w/workspace/foundry_device-virtual-go_PR-299@tmp/private_key_6816118419145388555.key) [2022-08-10T09:06:16.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-10T09:06:16.944Z] + git semver init [2022-08-10T09:06:17.207Z] 2022-08-10 09:06:17,201 [run_init] DEBUG init version:0.0.0 force:False [2022-08-10T09:06:17.207Z] 2022-08-10 09:06:17,202 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-299/.semver [2022-08-10T09:06:17.207Z] 2022-08-10 09:06:17,202 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-299/.semver [2022-08-10T09:06:17.207Z] 2022-08-10 09:06:17,202 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-299/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-299, universal_newlines=False, shell=None, istream=None) [2022-08-10T09:06:18.150Z] 2022-08-10 09:06:18,134 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-299/.git/info/exclude [2022-08-10T09:06:18.150Z] 2022-08-10 09:06:18,134 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-299/.semver/PR-299 with force:False [2022-08-10T09:06:18.150Z] 2022-08-10 09:06:18,134 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-299/.semver/PR-299 [2022-08-10T09:06:18.150Z] 2022-08-10 09:06:18,141 [execute] INFO git cat-file --batch-check [2022-08-10T09:06:18.150Z] 2022-08-10 09:06:18,142 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-299/.semver, universal_newlines=False, shell=None, istream=) [2022-08-10T09:06:18.150Z] 2022-08-10 09:06:18,150 [execute] INFO git cat-file --batch [2022-08-10T09:06:18.150Z] 2022-08-10 09:06:18,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-299/.semver, universal_newlines=False, shell=None, istream=) [2022-08-10T09:06:18.410Z] 2022-08-10 09:06:18,157 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-299/.semver/PR-299 [2022-08-10T09:06:18.410Z] 0.0.0 [Pipeline] } [2022-08-10T09:06:18.440Z] $ docker exec --env ******** --env ******** 44392f1ac6bea0422faabf30aa027f94835972e26c85ee80ff42860f82223050 ssh-agent -k [2022-08-10T09:06:18.555Z] unset SSH_AUTH_SOCK; [2022-08-10T09:06:18.556Z] unset SSH_AGENT_PID; [2022-08-10T09:06:18.556Z] echo Agent pid 79 killed; [2022-08-10T09:06:18.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-10T09:06:18.997Z] + git semver [Pipeline] } [2022-08-10T09:06:19.298Z] $ docker stop --time=1 44392f1ac6bea0422faabf30aa027f94835972e26c85ee80ff42860f82223050 [2022-08-10T09:06:20.621Z] $ docker rm -f 44392f1ac6bea0422faabf30aa027f94835972e26c85ee80ff42860f82223050 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-10T09:06:21.056Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-10T09:06:21.397Z] Stashed 1 file(s) [Pipeline] echo [2022-08-10T09:06:21.417Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-10T09:06:21.965Z] provisioning config files... [2022-08-10T09:06:21.976Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-299@tmp/config8909104026634614501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:06:22.327Z] ---> docker-login.sh [2022-08-10T09:06:22.327Z] nexus3.edgexfoundry.org:10001 [2022-08-10T09:06:22.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:06:22.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:06:22.327Z] Configure a credential helper to remove this warning. See [2022-08-10T09:06:22.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:06:22.327Z] [2022-08-10T09:06:22.327Z] Login Succeeded [2022-08-10T09:06:22.327Z] nexus3.edgexfoundry.org:10002 [2022-08-10T09:06:22.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:06:22.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:06:22.588Z] Configure a credential helper to remove this warning. See [2022-08-10T09:06:22.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:06:22.588Z] [2022-08-10T09:06:22.588Z] Login Succeeded [2022-08-10T09:06:22.588Z] nexus3.edgexfoundry.org:10003 [2022-08-10T09:06:22.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:06:22.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:06:22.588Z] Configure a credential helper to remove this warning. See [2022-08-10T09:06:22.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:06:22.588Z] [2022-08-10T09:06:22.588Z] Login Succeeded [2022-08-10T09:06:22.588Z] nexus3.edgexfoundry.org:10004 [2022-08-10T09:06:22.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:06:22.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:06:22.850Z] Configure a credential helper to remove this warning. See [2022-08-10T09:06:22.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:06:22.850Z] [2022-08-10T09:06:22.850Z] Login Succeeded [2022-08-10T09:06:22.850Z] docker.io [2022-08-10T09:06:22.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:06:23.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:06:23.111Z] Configure a credential helper to remove this warning. See [2022-08-10T09:06:23.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:06:23.111Z] [2022-08-10T09:06:23.111Z] Login Succeeded [2022-08-10T09:06:23.111Z] ---> docker-login.sh ends [Pipeline] } [2022-08-10T09:06:23.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-10T09:06:23.336Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T09:06:23.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T09:06:23.397Z] ========================================================= [2022-08-10T09:06:23.397Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-10T09:06:23.397Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:06:23.858Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-10T09:06:23.858Z] Sending build context to Docker daemon 23.09MB [2022-08-10T09:06:23.858Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T09:06:23.858Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-10T09:06:23.858Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-10T09:06:23.858Z] 2408cc74d12b: Pulling fs layer [2022-08-10T09:06:23.858Z] ea60b727a1ce: Pulling fs layer [2022-08-10T09:06:23.858Z] 30c4a7721957: Pulling fs layer [2022-08-10T09:06:23.858Z] 370296b7ddb6: Pulling fs layer [2022-08-10T09:06:23.858Z] 7c6cee850709: Pulling fs layer [2022-08-10T09:06:23.858Z] 39a5fcdaea64: Pulling fs layer [2022-08-10T09:06:23.858Z] 7c6cee850709: Waiting [2022-08-10T09:06:23.858Z] 370296b7ddb6: Waiting [2022-08-10T09:06:23.858Z] d94ebbe4e438: Pulling fs layer [2022-08-10T09:06:23.858Z] bcfd1f05c69d: Pulling fs layer [2022-08-10T09:06:23.858Z] 39a5fcdaea64: Waiting [2022-08-10T09:06:23.858Z] d94ebbe4e438: Waiting [2022-08-10T09:06:23.858Z] 59ccb84bbe0f: Pulling fs layer [2022-08-10T09:06:23.858Z] bcfd1f05c69d: Waiting [2022-08-10T09:06:23.858Z] 59ccb84bbe0f: Waiting [2022-08-10T09:06:24.122Z] 30c4a7721957: Download complete [2022-08-10T09:06:24.122Z] ea60b727a1ce: Download complete [2022-08-10T09:06:24.122Z] 7c6cee850709: Download complete [2022-08-10T09:06:24.122Z] 39a5fcdaea64: Verifying Checksum [2022-08-10T09:06:24.122Z] 39a5fcdaea64: Download complete [2022-08-10T09:06:24.122Z] 2408cc74d12b: Verifying Checksum [2022-08-10T09:06:24.122Z] 2408cc74d12b: Download complete [2022-08-10T09:06:24.122Z] d94ebbe4e438: Download complete [2022-08-10T09:06:24.122Z] 2408cc74d12b: Pull complete [2022-08-10T09:06:24.402Z] ea60b727a1ce: Pull complete [2022-08-10T09:06:24.402Z] 30c4a7721957: Pull complete [2022-08-10T09:06:24.681Z] bcfd1f05c69d: Verifying Checksum [2022-08-10T09:06:24.681Z] bcfd1f05c69d: Download complete [2022-08-10T09:06:24.947Z] 59ccb84bbe0f: Verifying Checksum [2022-08-10T09:06:24.947Z] 59ccb84bbe0f: Download complete [2022-08-10T09:06:24.947Z] 370296b7ddb6: Download complete [2022-08-10T09:06:29.140Z] 370296b7ddb6: Pull complete [2022-08-10T09:06:29.140Z] 7c6cee850709: Pull complete [2022-08-10T09:06:29.140Z] 39a5fcdaea64: Pull complete [2022-08-10T09:06:29.140Z] d94ebbe4e438: Pull complete [2022-08-10T09:06:31.679Z] bcfd1f05c69d: Pull complete [2022-08-10T09:06:31.938Z] 59ccb84bbe0f: Pull complete [2022-08-10T09:06:31.938Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-10T09:06:31.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-10T09:06:31.938Z] ---> a4fb48ad2a94 [2022-08-10T09:06:31.938Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T09:06:33.855Z] ---> Running in 1f6b6d16f0bd [2022-08-10T09:06:33.855Z] Removing intermediate container 1f6b6d16f0bd [2022-08-10T09:06:33.855Z] ---> da69d8b349e5 [2022-08-10T09:06:33.855Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T09:06:33.855Z] ---> Running in 8c9973ccf3a2 [2022-08-10T09:06:33.855Z] Removing intermediate container 8c9973ccf3a2 [2022-08-10T09:06:33.855Z] ---> beacd365d685 [2022-08-10T09:06:33.855Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-10T09:06:33.855Z] ---> Running in 89ff31b4793d [2022-08-10T09:06:33.855Z] Removing intermediate container 89ff31b4793d [2022-08-10T09:06:33.855Z] ---> 91eb3e807ea9 [2022-08-10T09:06:33.855Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T09:06:34.115Z] ---> Running in e6149f03ae79 [2022-08-10T09:06:34.690Z] Removing intermediate container e6149f03ae79 [2022-08-10T09:06:34.690Z] ---> 414c2eefc4c4 [2022-08-10T09:06:34.690Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T09:06:34.690Z] ---> Running in 434e4a96143e [2022-08-10T09:06:34.954Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-10T09:06:35.896Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-10T09:06:36.155Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-10T09:06:36.155Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-10T09:06:36.416Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-10T09:06:36.416Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-10T09:06:36.416Z] Executing busybox-1.35.0-r13.trigger [2022-08-10T09:06:36.416Z] OK: 216 MiB in 55 packages [2022-08-10T09:06:36.795Z] Still waiting to schedule task [2022-08-10T09:06:36.795Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-10T09:06:36.985Z] Removing intermediate container 434e4a96143e [2022-08-10T09:06:36.985Z] ---> 79c5b989be82 [2022-08-10T09:06:36.985Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-10T09:06:36.985Z] ---> bf3d578ab988 [2022-08-10T09:06:36.985Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T09:06:37.247Z] ---> Running in 08e3ad79ea10 [2022-08-10T09:06:55.362Z] Removing intermediate container 08e3ad79ea10 [2022-08-10T09:06:55.362Z] ---> abe0bfb36a3d [2022-08-10T09:06:55.362Z] Step 10/12 : COPY . . [2022-08-10T09:06:55.941Z] ---> 63684eb75934 [2022-08-10T09:06:55.941Z] Step 11/12 : ARG MAKE='make build' [2022-08-10T09:06:55.941Z] ---> Running in e585048a9616 [2022-08-10T09:06:55.941Z] Removing intermediate container e585048a9616 [2022-08-10T09:06:55.941Z] ---> 68bc9a5210ae [2022-08-10T09:06:55.941Z] Step 12/12 : RUN $MAKE [2022-08-10T09:06:55.941Z] ---> Running in 86e60466cc9e [2022-08-10T09:06:56.201Z] noop [2022-08-10T09:06:56.464Z] Removing intermediate container 86e60466cc9e [2022-08-10T09:06:56.464Z] ---> a7fcadca89b0 [2022-08-10T09:06:56.464Z] Successfully built a7fcadca89b0 [2022-08-10T09:06:56.464Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:06:56.901Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-10T09:06:56.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T09:06:57.050Z] prd-ubuntu20.04-docker-8c-8g-22398 does not seem to be running inside a container [2022-08-10T09:06:57.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-299 -v /w/workspace/foundry_device-virtual-go_PR-299:/w/workspace/foundry_device-virtual-go_PR-299:rw,z -v /w/workspace/foundry_device-virtual-go_PR-299@tmp:/w/workspace/foundry_device-virtual-go_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-10T09:06:57.485Z] $ docker top b73e33bf4d7c4eafa5b81e523ca627d7864939e52f6872b267423044d2a8b249 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T09:06:57.975Z] + go version [2022-08-10T09:06:57.975Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-10T09:06:58.016Z] $ docker stop --time=1 b73e33bf4d7c4eafa5b81e523ca627d7864939e52f6872b267423044d2a8b249 [2022-08-10T09:06:59.304Z] $ docker rm -f b73e33bf4d7c4eafa5b81e523ca627d7864939e52f6872b267423044d2a8b249 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:06:59.997Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-10T09:06:59.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T09:07:00.154Z] prd-ubuntu20.04-docker-8c-8g-22398 does not seem to be running inside a container [2022-08-10T09:07:00.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-299 -v /w/workspace/foundry_device-virtual-go_PR-299:/w/workspace/foundry_device-virtual-go_PR-299:rw,z -v /w/workspace/foundry_device-virtual-go_PR-299@tmp:/w/workspace/foundry_device-virtual-go_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-10T09:07:00.577Z] $ docker top 7b4b246c73c0483193b4f6be6c3dd94bdff2a9fc8b9ee3a61e48000a23b06d55 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T09:07:00.977Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-299 [Pipeline] fileExists [Pipeline] sh [2022-08-10T09:07:01.332Z] + make test [2022-08-10T09:07:01.332Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-10T09:07:01.594Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-10T09:07:09.719Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-10T09:07:10.666Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements [2022-08-10T09:07:17.249Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-10T09:07:17.249Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-10T09:07:19.785Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-10T09:07:19.785Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-10T09:07:19.785Z] ./bin/test-attribution-txt.sh [2022-08-10T09:07:19.785Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-10T09:07:19.785Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-10T09:07:19.785Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-10T09:07:19.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-10T09:07:19.848Z] $ docker stop --time=1 7b4b246c73c0483193b4f6be6c3dd94bdff2a9fc8b9ee3a61e48000a23b06d55 [2022-08-10T09:07:21.650Z] $ docker rm -f 7b4b246c73c0483193b4f6be6c3dd94bdff2a9fc8b9ee3a61e48000a23b06d55 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-10T09:07:22.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-10T09:07:22.207Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-10T09:07:22.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-10T09:07:23.174Z] + ls -al . [2022-08-10T09:07:23.174Z] total 192 [2022-08-10T09:07:23.174Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 10 09:07 . [2022-08-10T09:07:23.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 09:05 .. [2022-08-10T09:07:23.174Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 09:07 .git [2022-08-10T09:07:23.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 09:05 .github [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 10 09:05 .gitignore [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 10 09:05 .golangci.yml [2022-08-10T09:07:23.174Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 09:06 .semver [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 10 09:05 Attribution.txt [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 10 09:05 CHANGELOG.md [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 10 09:05 Dockerfile [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 09:05 GOVERNANCE.md [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 10 09:05 Jenkinsfile [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 10 09:05 LICENSE [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 10 09:05 Makefile [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 10 09:05 OWNERS.md [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 10 09:05 README.md [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 09:06 VERSION [2022-08-10T09:07:23.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 09:05 bin [2022-08-10T09:07:23.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 09:05 cmd [2022-08-10T09:07:23.174Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 10 09:07 coverage.out [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 10 09:05 go.mod [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 10 09:05 go.sum [2022-08-10T09:07:23.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 09:05 internal [2022-08-10T09:07:23.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 09:05 snap [2022-08-10T09:07:23.174Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 10 09:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:07:23.576Z] + 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=fec75ada00550320aca600e4cb54573f8d097c57 --label arch=amd64 --label version=0.0.0 . [2022-08-10T09:07:23.576Z] Sending build context to Docker daemon 23.14MB [2022-08-10T09:07:23.576Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T09:07:23.576Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-10T09:07:23.576Z] ---> a7fcadca89b0 [2022-08-10T09:07:23.576Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T09:07:23.835Z] ---> Running in a7046442340a [2022-08-10T09:07:23.835Z] Removing intermediate container a7046442340a [2022-08-10T09:07:23.835Z] ---> 73349950cc09 [2022-08-10T09:07:23.835Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T09:07:23.835Z] ---> Running in 088a21cde3d4 [2022-08-10T09:07:23.835Z] Removing intermediate container 088a21cde3d4 [2022-08-10T09:07:23.835Z] ---> 2af41deff5ae [2022-08-10T09:07:23.835Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-10T09:07:24.093Z] ---> Running in d1c7e19cd3f0 [2022-08-10T09:07:24.093Z] Removing intermediate container d1c7e19cd3f0 [2022-08-10T09:07:24.093Z] ---> 030bbeab5119 [2022-08-10T09:07:24.093Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T09:07:24.093Z] ---> Running in 37d821beed88 [2022-08-10T09:07:24.665Z] Removing intermediate container 37d821beed88 [2022-08-10T09:07:24.665Z] ---> 095871c3b9e0 [2022-08-10T09:07:24.665Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T09:07:24.665Z] ---> Running in 9030e5752a54 [2022-08-10T09:07:24.925Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-10T09:07:25.880Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-10T09:07:26.143Z] OK: 216 MiB in 55 packages [2022-08-10T09:07:26.404Z] Removing intermediate container 9030e5752a54 [2022-08-10T09:07:26.404Z] ---> 57446caa8e16 [2022-08-10T09:07:26.404Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-10T09:07:26.665Z] ---> 094b4fcbbbc4 [2022-08-10T09:07:26.665Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T09:07:26.665Z] ---> Running in ea256b1f6dac [2022-08-10T09:07:27.234Z] Removing intermediate container ea256b1f6dac [2022-08-10T09:07:27.234Z] ---> 39e8b85be863 [2022-08-10T09:07:27.234Z] Step 10/26 : COPY . . [2022-08-10T09:07:27.803Z] ---> 1c4afc80fcad [2022-08-10T09:07:27.803Z] Step 11/26 : ARG MAKE='make build' [2022-08-10T09:07:27.803Z] ---> Running in 4f2975e245d1 [2022-08-10T09:07:27.803Z] Removing intermediate container 4f2975e245d1 [2022-08-10T09:07:27.803Z] ---> 1259f0b2aee3 [2022-08-10T09:07:27.803Z] Step 12/26 : RUN $MAKE [2022-08-10T09:07:28.065Z] ---> Running in 0584058b2740 [2022-08-10T09:07:28.326Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-08-10T09:07:50.292Z] Removing intermediate container 0584058b2740 [2022-08-10T09:07:50.292Z] ---> eacc73ab7931 [2022-08-10T09:07:50.292Z] Step 13/26 : FROM alpine:3.16 [2022-08-10T09:07:50.292Z] 3.16: Pulling from library/alpine [2022-08-10T09:07:50.292Z] 213ec9aee27d: Pulling fs layer [2022-08-10T09:07:50.292Z] 213ec9aee27d: Verifying Checksum [2022-08-10T09:07:50.292Z] 213ec9aee27d: Download complete [2022-08-10T09:07:50.292Z] 213ec9aee27d: Pull complete [2022-08-10T09:07:50.292Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-10T09:07:50.292Z] Status: Downloaded newer image for alpine:3.16 [2022-08-10T09:07:50.292Z] ---> 9c6f07244728 [2022-08-10T09:07:50.292Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-10T09:07:50.292Z] ---> Running in 788e48de591e [2022-08-10T09:07:50.292Z] Removing intermediate container 788e48de591e [2022-08-10T09:07:50.292Z] ---> 81e83d4b2837 [2022-08-10T09:07:50.292Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T09:07:50.292Z] ---> Running in 3a2cdf237b76 [2022-08-10T09:07:50.292Z] Removing intermediate container 3a2cdf237b76 [2022-08-10T09:07:50.292Z] ---> ff38cc901570 [2022-08-10T09:07:50.292Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-10T09:07:50.292Z] ---> Running in 44a836be6785 [2022-08-10T09:07:50.292Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-10T09:07:50.292Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-10T09:07:50.292Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-10T09:07:50.292Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-10T09:07:50.292Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-10T09:07:50.292Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-10T09:07:50.292Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-10T09:07:50.552Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-10T09:07:50.552Z] Executing busybox-1.35.0-r17.trigger [2022-08-10T09:07:50.552Z] OK: 8 MiB in 20 packages [2022-08-10T09:07:51.124Z] Removing intermediate container 44a836be6785 [2022-08-10T09:07:51.124Z] ---> 81335dc2d33a [2022-08-10T09:07:51.124Z] Step 17/26 : WORKDIR / [2022-08-10T09:07:51.124Z] ---> Running in 7d73fecfaca5 [2022-08-10T09:07:51.124Z] Removing intermediate container 7d73fecfaca5 [2022-08-10T09:07:51.124Z] ---> 974f322dec8b [2022-08-10T09:07:51.124Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-10T09:07:51.385Z] ---> 3d1ae402f1a0 [2022-08-10T09:07:51.385Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-10T09:07:51.385Z] ---> 25ae443deafa [2022-08-10T09:07:51.385Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-10T09:07:51.954Z] ---> a3617b9c420c [2022-08-10T09:07:51.954Z] Step 21/26 : EXPOSE 59900 [2022-08-10T09:07:51.954Z] ---> Running in 847e749dd7e6 [2022-08-10T09:07:51.954Z] Removing intermediate container 847e749dd7e6 [2022-08-10T09:07:51.954Z] ---> 79f263f6e98d [2022-08-10T09:07:51.954Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-10T09:07:52.216Z] ---> Running in 8d065178c620 [2022-08-10T09:07:52.216Z] Removing intermediate container 8d065178c620 [2022-08-10T09:07:52.216Z] ---> 893219f0e46f [2022-08-10T09:07:52.216Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-10T09:07:52.216Z] ---> Running in 1b3c3ea82bb4 [2022-08-10T09:07:52.216Z] Removing intermediate container 1b3c3ea82bb4 [2022-08-10T09:07:52.216Z] ---> e4a4f9f59e30 [2022-08-10T09:07:52.216Z] Step 24/26 : LABEL arch=amd64 [2022-08-10T09:07:52.476Z] ---> Running in 7295caee66c1 [2022-08-10T09:07:52.476Z] Removing intermediate container 7295caee66c1 [2022-08-10T09:07:52.476Z] ---> 420ee296fd2f [2022-08-10T09:07:52.476Z] Step 25/26 : LABEL git_sha=fec75ada00550320aca600e4cb54573f8d097c57 [2022-08-10T09:07:52.476Z] ---> Running in 965fadeb4f7c [2022-08-10T09:07:52.476Z] Removing intermediate container 965fadeb4f7c [2022-08-10T09:07:52.476Z] ---> 338cf5916966 [2022-08-10T09:07:52.476Z] Step 26/26 : LABEL version=0.0.0 [2022-08-10T09:07:52.476Z] ---> Running in b382c451e9ac [2022-08-10T09:07:52.735Z] Removing intermediate container b382c451e9ac [2022-08-10T09:07:52.735Z] ---> 093a376aa0e6 [2022-08-10T09:07:52.735Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-10T09:07:52.736Z] Successfully built 093a376aa0e6 [2022-08-10T09:07:52.736Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:07:53.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T09:07:53.611Z] [2022-08-10T09:07:53.611Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:07:53.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T09:07:53.980Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-10T09:07:53.980Z] 5eb5b503b376: Pulling fs layer [2022-08-10T09:07:53.980Z] 5c69ac0246d0: Pulling fs layer [2022-08-10T09:07:53.980Z] ec43610c2a17: Pulling fs layer [2022-08-10T09:07:53.980Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-10T09:07:53.980Z] 33b1e0a273af: Pulling fs layer [2022-08-10T09:07:53.980Z] 5d3b04190fa2: Pulling fs layer [2022-08-10T09:07:53.980Z] 2f39f015ded8: Pulling fs layer [2022-08-10T09:07:53.980Z] 33b1e0a273af: Waiting [2022-08-10T09:07:53.980Z] 5d3b04190fa2: Waiting [2022-08-10T09:07:53.980Z] 2f39f015ded8: Waiting [2022-08-10T09:07:53.980Z] 3a2ae6a8a46f: Waiting [2022-08-10T09:07:53.980Z] 5c69ac0246d0: Verifying Checksum [2022-08-10T09:07:53.980Z] 5c69ac0246d0: Download complete [2022-08-10T09:07:53.980Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-10T09:07:53.980Z] 3a2ae6a8a46f: Download complete [2022-08-10T09:07:54.242Z] 33b1e0a273af: Verifying Checksum [2022-08-10T09:07:54.242Z] 33b1e0a273af: Download complete [2022-08-10T09:07:54.242Z] 5d3b04190fa2: Verifying Checksum [2022-08-10T09:07:54.242Z] 5d3b04190fa2: Download complete [2022-08-10T09:07:54.242Z] ec43610c2a17: Verifying Checksum [2022-08-10T09:07:54.242Z] ec43610c2a17: Download complete [2022-08-10T09:07:54.242Z] 5eb5b503b376: Verifying Checksum [2022-08-10T09:07:54.242Z] 5eb5b503b376: Download complete [2022-08-10T09:07:55.180Z] 2f39f015ded8: Download complete [2022-08-10T09:07:55.440Z] 5eb5b503b376: Pull complete [2022-08-10T09:07:55.700Z] 5c69ac0246d0: Pull complete [2022-08-10T09:07:55.959Z] ec43610c2a17: Pull complete [2022-08-10T09:07:56.218Z] 3a2ae6a8a46f: Pull complete [2022-08-10T09:07:56.218Z] 33b1e0a273af: Pull complete [2022-08-10T09:07:56.478Z] 5d3b04190fa2: Pull complete [2022-08-10T09:08:00.674Z] 2f39f015ded8: Pull complete [2022-08-10T09:08:00.674Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-10T09:08:00.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T09:08:00.674Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T09:08:00.951Z] prd-ubuntu20.04-docker-8c-8g-22398 does not seem to be running inside a container [2022-08-10T09:08:00.992Z] $ 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-299 -v /w/workspace/foundry_device-virtual-go_PR-299:/w/workspace/foundry_device-virtual-go_PR-299:rw,z -v /w/workspace/foundry_device-virtual-go_PR-299@tmp:/w/workspace/foundry_device-virtual-go_PR-299@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-10T09:08:02.586Z] $ docker top 2198e23b6496aaec607d4a0cb135fc1a536523069e29c5d5075f7968dbe0a67f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:08:03.056Z] ---> job-cost.sh [2022-08-10T09:08:03.056Z] lf-activate-venv: SKIPPING [2022-08-10T09:08:03.056Z] INFO: No Stack... [2022-08-10T09:08:03.628Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-10T09:08:03.889Z] INFO: Archiving Costs [Pipeline] sh [2022-08-10T09:08:04.206Z] + cut -d, -f6 [2022-08-10T09:08:04.206Z] + cat /w/workspace/foundry_device-virtual-go_PR-299/archives/cost.csv [Pipeline] lock [2022-08-10T09:08:04.244Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-299-1-stack-cost] [2022-08-10T09:08:04.248Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-299-1-stack-cost] did not exist. Created. [2022-08-10T09:08:04.249Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-299-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-10T09:08:04.705Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-10T09:08:04.767Z] Stashed 1 file(s) [Pipeline] } [2022-08-10T09:08:04.781Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-299-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-10T09:08:04.855Z] $ docker stop --time=1 2198e23b6496aaec607d4a0cb135fc1a536523069e29c5d5075f7968dbe0a67f [2022-08-10T09:08:06.029Z] $ docker rm -f 2198e23b6496aaec607d4a0cb135fc1a536523069e29c5d5075f7968dbe0a67f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-10T09:08:18.049Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22399 in /w/workspace/foundry_device-virtual-go_PR-299 [Pipeline] { [Pipeline] ws [2022-08-10T09:08:18.096Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-08-10T09:08:18.186Z] The recommended git tool is: git [2022-08-10T09:08:24.985Z] using credential edgex-jenkins-ssh [2022-08-10T09:08:25.002Z] Cloning the remote Git repository [2022-08-10T09:08:25.058Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-08-10T09:08:25.132Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-08-10T09:08:25.246Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-10T09:08:25.247Z] > git --version # timeout=10 [2022-08-10T09:08:25.287Z] > git --version # 'git version 2.25.1' [2022-08-10T09:08:25.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-10T09:08:25.389Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-10T09:08:27.285Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-10T09:08:27.304Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-10T09:08:27.336Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-10T09:08:27.373Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-10T09:08:27.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-10T09:08:27.388Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/299/head:refs/remotes/origin/PR-299 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-10T09:08:27.889Z] Merging remotes/origin/main commit b3ed2c468bbc11562de4df1efe7e210c5fb0a041 into PR head commit fec75ada00550320aca600e4cb54573f8d097c57 [2022-08-10T09:08:28.102Z] Merge succeeded, producing fec75ada00550320aca600e4cb54573f8d097c57 [2022-08-10T09:08:28.102Z] Checking out Revision fec75ada00550320aca600e4cb54573f8d097c57 (PR-299) [2022-08-10T09:08:27.912Z] > git config core.sparsecheckout # timeout=10 [2022-08-10T09:08:27.932Z] > git checkout -f fec75ada00550320aca600e4cb54573f8d097c57 # timeout=10 [2022-08-10T09:08:28.020Z] > git remote # timeout=10 [2022-08-10T09:08:28.038Z] > git config --get remote.origin.url # timeout=10 [2022-08-10T09:08:28.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-10T09:08:28.065Z] > git merge b3ed2c468bbc11562de4df1efe7e210c5fb0a041 # timeout=10 [2022-08-10T09:08:28.090Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-10T09:08:28.112Z] > git config core.sparsecheckout # timeout=10 [2022-08-10T09:08:28.126Z] > git checkout -f fec75ada00550320aca600e4cb54573f8d097c57 # timeout=10 [2022-08-10T09:08:32.287Z] Commit message: "fix(snap): Update plug name for content interface" [2022-08-10T09:08:32.353Z] > git --version # timeout=10 [2022-08-10T09:08:32.364Z] > git --version # 'git version 2.25.1' [2022-08-10T09:08:32.377Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-10T09:08:33.593Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-10T09:08:33.593Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-10T09:08:33.593Z] Dload Upload Total Spent Left Speed [2022-08-10T09:08:33.593Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh [2022-08-10T09:08:34.383Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-10T09:08:34.734Z] + sudo tee /etc/docker/daemon.new [2022-08-10T09:08:34.734Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-10T09:08:34.734Z] { [2022-08-10T09:08:34.734Z] "registry-mirrors": [ [2022-08-10T09:08:34.734Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-10T09:08:34.734Z] ], [2022-08-10T09:08:34.734Z] "bip": "10.250.0.254/24", [2022-08-10T09:08:34.734Z] "hosts": [ [2022-08-10T09:08:34.734Z] "tcp://0.0.0.0:5555", [2022-08-10T09:08:34.734Z] "unix:///var/run/docker.sock" [2022-08-10T09:08:34.734Z] ], [2022-08-10T09:08:34.734Z] "mtu": 1458, [2022-08-10T09:08:34.734Z] "selinux-enabled": true, [2022-08-10T09:08:34.734Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-10T09:08:34.734Z] } [Pipeline] sh [2022-08-10T09:08:35.081Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-10T09:08:35.444Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-10T09:08:54.013Z] provisioning config files... [2022-08-10T09:08:54.037Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4134498954502306457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:08:54.446Z] ---> docker-login.sh [2022-08-10T09:08:54.446Z] nexus3.edgexfoundry.org:10001 [2022-08-10T09:08:55.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:08:55.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:08:55.321Z] Configure a credential helper to remove this warning. See [2022-08-10T09:08:55.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:08:55.321Z] [2022-08-10T09:08:55.321Z] Login Succeeded [2022-08-10T09:08:55.321Z] nexus3.edgexfoundry.org:10002 [2022-08-10T09:08:55.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:08:55.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:08:55.597Z] Configure a credential helper to remove this warning. See [2022-08-10T09:08:55.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:08:55.597Z] [2022-08-10T09:08:55.597Z] Login Succeeded [2022-08-10T09:08:55.597Z] nexus3.edgexfoundry.org:10003 [2022-08-10T09:08:56.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:08:56.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:08:56.198Z] Configure a credential helper to remove this warning. See [2022-08-10T09:08:56.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:08:56.198Z] [2022-08-10T09:08:56.198Z] Login Succeeded [2022-08-10T09:08:56.198Z] nexus3.edgexfoundry.org:10004 [2022-08-10T09:08:56.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:08:56.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:08:56.754Z] Configure a credential helper to remove this warning. See [2022-08-10T09:08:56.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:08:56.754Z] [2022-08-10T09:08:56.754Z] Login Succeeded [2022-08-10T09:08:56.754Z] docker.io [2022-08-10T09:08:57.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-10T09:08:57.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-10T09:08:57.625Z] Configure a credential helper to remove this warning. See [2022-08-10T09:08:57.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-10T09:08:57.625Z] [2022-08-10T09:08:57.625Z] Login Succeeded [2022-08-10T09:08:57.625Z] ---> docker-login.sh ends [Pipeline] } [2022-08-10T09:08:57.657Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-10T09:08:58.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T09:08:58.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-10T09:08:58.098Z] ========================================================= [2022-08-10T09:08:58.098Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-10T09:08:58.098Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:08:58.609Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-10T09:08:58.886Z] Sending build context to Docker daemon 11.68MB [2022-08-10T09:08:59.166Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T09:08:59.166Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-10T09:08:59.166Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-10T09:08:59.166Z] b3c136eddcbf: Pulling fs layer [2022-08-10T09:08:59.166Z] c0a3192eca97: Pulling fs layer [2022-08-10T09:08:59.166Z] a050256f5b6f: Pulling fs layer [2022-08-10T09:08:59.166Z] 656be50a0ddc: Pulling fs layer [2022-08-10T09:08:59.166Z] 2bbca73fdf42: Pulling fs layer [2022-08-10T09:08:59.166Z] 46d945488cbd: Pulling fs layer [2022-08-10T09:08:59.166Z] 8a5474983e97: Pulling fs layer [2022-08-10T09:08:59.166Z] 329c88fbcd65: Pulling fs layer [2022-08-10T09:08:59.166Z] 656be50a0ddc: Waiting [2022-08-10T09:08:59.166Z] 2bbca73fdf42: Waiting [2022-08-10T09:08:59.166Z] 46d945488cbd: Waiting [2022-08-10T09:08:59.166Z] 329c88fbcd65: Waiting [2022-08-10T09:08:59.166Z] 8a5474983e97: Waiting [2022-08-10T09:08:59.166Z] a050256f5b6f: Verifying Checksum [2022-08-10T09:08:59.166Z] c0a3192eca97: Verifying Checksum [2022-08-10T09:08:59.166Z] c0a3192eca97: Download complete [2022-08-10T09:08:59.166Z] a050256f5b6f: Download complete [2022-08-10T09:08:59.166Z] 2bbca73fdf42: Verifying Checksum [2022-08-10T09:08:59.166Z] 2bbca73fdf42: Download complete [2022-08-10T09:08:59.166Z] 46d945488cbd: Download complete [2022-08-10T09:08:59.166Z] b3c136eddcbf: Verifying Checksum [2022-08-10T09:08:59.166Z] b3c136eddcbf: Download complete [2022-08-10T09:09:00.164Z] b3c136eddcbf: Pull complete [2022-08-10T09:09:00.444Z] 329c88fbcd65: Verifying Checksum [2022-08-10T09:09:00.444Z] 329c88fbcd65: Download complete [2022-08-10T09:09:00.723Z] c0a3192eca97: Pull complete [2022-08-10T09:09:01.011Z] a050256f5b6f: Pull complete [2022-08-10T09:09:01.611Z] 8a5474983e97: Verifying Checksum [2022-08-10T09:09:01.611Z] 8a5474983e97: Download complete [2022-08-10T09:09:02.212Z] 656be50a0ddc: Verifying Checksum [2022-08-10T09:09:02.212Z] 656be50a0ddc: Download complete [2022-08-10T09:09:14.630Z] 656be50a0ddc: Pull complete [2022-08-10T09:09:14.903Z] 2bbca73fdf42: Pull complete [2022-08-10T09:09:15.176Z] 46d945488cbd: Pull complete [2022-08-10T09:09:21.902Z] 8a5474983e97: Pull complete [2022-08-10T09:09:23.881Z] 329c88fbcd65: Pull complete [2022-08-10T09:09:23.881Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-10T09:09:23.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-10T09:09:23.881Z] ---> ff4287adb874 [2022-08-10T09:09:23.881Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T09:09:24.483Z] ---> Running in 628d206e042a [2022-08-10T09:09:24.763Z] Removing intermediate container 628d206e042a [2022-08-10T09:09:24.763Z] ---> cbcc73418296 [2022-08-10T09:09:24.763Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T09:09:24.763Z] ---> Running in 372187c41c58 [2022-08-10T09:09:25.369Z] Removing intermediate container 372187c41c58 [2022-08-10T09:09:25.369Z] ---> 1079cca6e0bc [2022-08-10T09:09:25.369Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-10T09:09:25.369Z] ---> Running in 22afa1e10ef9 [2022-08-10T09:09:26.811Z] Removing intermediate container 22afa1e10ef9 [2022-08-10T09:09:26.811Z] ---> 0b507e871433 [2022-08-10T09:09:26.811Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T09:09:26.811Z] ---> Running in 7d113d3d66bb [2022-08-10T09:09:28.794Z] Removing intermediate container 7d113d3d66bb [2022-08-10T09:09:28.794Z] ---> ba06b0d2935a [2022-08-10T09:09:28.794Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T09:09:28.794Z] ---> Running in ef0df2347683 [2022-08-10T09:09:29.786Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-10T09:09:30.385Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-10T09:09:31.365Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-10T09:09:31.366Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-10T09:09:31.366Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-10T09:09:31.640Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-10T09:09:31.640Z] Executing busybox-1.35.0-r13.trigger [2022-08-10T09:09:31.914Z] OK: 226 MiB in 55 packages [2022-08-10T09:09:32.915Z] Removing intermediate container ef0df2347683 [2022-08-10T09:09:32.915Z] ---> a7315a8e2485 [2022-08-10T09:09:32.915Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-10T09:09:33.195Z] ---> 825a93851071 [2022-08-10T09:09:33.195Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T09:09:33.195Z] ---> Running in e53519a1b37c [2022-08-10T09:10:20.220Z] Removing intermediate container e53519a1b37c [2022-08-10T09:10:20.220Z] ---> de7a3b9727ee [2022-08-10T09:10:20.220Z] Step 10/12 : COPY . . [2022-08-10T09:10:20.220Z] ---> 28649b39d161 [2022-08-10T09:10:20.220Z] Step 11/12 : ARG MAKE='make build' [2022-08-10T09:10:20.502Z] ---> Running in 9d372d776382 [2022-08-10T09:10:20.777Z] Removing intermediate container 9d372d776382 [2022-08-10T09:10:20.777Z] ---> dca3ddcd7e2a [2022-08-10T09:10:20.777Z] Step 12/12 : RUN $MAKE [2022-08-10T09:10:20.777Z] ---> Running in 7cf44f999488 [2022-08-10T09:10:21.756Z] noop [2022-08-10T09:10:22.357Z] Removing intermediate container 7cf44f999488 [2022-08-10T09:10:22.358Z] ---> 89820c1ec356 [2022-08-10T09:10:22.358Z] Successfully built 89820c1ec356 [2022-08-10T09:10:22.358Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:10:22.852Z] + docker inspect -f . ci-base-image-arm64 [2022-08-10T09:10:22.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T09:10:23.156Z] prd-ubuntu20.04-docker-arm64-4c-16g-22399 does not seem to be running inside a container [2022-08-10T09:10:23.246Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-08-10T09:10:24.541Z] $ docker top 58da9a7b6755f7861cde5ac9b64562eda2971a1f467c2fe36d3a953daf7421b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T09:10:25.530Z] + go version [2022-08-10T09:10:25.530Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-10T09:10:25.569Z] $ docker stop --time=1 58da9a7b6755f7861cde5ac9b64562eda2971a1f467c2fe36d3a953daf7421b3 [2022-08-10T09:10:27.187Z] $ docker rm -f 58da9a7b6755f7861cde5ac9b64562eda2971a1f467c2fe36d3a953daf7421b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:10:28.090Z] + docker inspect -f . ci-base-image-arm64 [2022-08-10T09:10:28.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T09:10:28.395Z] prd-ubuntu20.04-docker-arm64-4c-16g-22399 does not seem to be running inside a container [2022-08-10T09:10:28.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** ci-base-image-arm64 cat [2022-08-10T09:10:29.749Z] $ docker top a161b2fdeb8f9ba1a0f6a9eb8d854932acc6b4aef73e36041a8d65fc5f5c6e9c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T09:10:30.695Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-10T09:10:31.422Z] + make test [2022-08-10T09:10:31.422Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-10T09:10:32.867Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-10T09:11:54.743Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-10T09:11:54.743Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.129s coverage: 65.7% of statements [2022-08-10T09:11:54.743Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-10T09:11:54.743Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-10T09:12:09.872Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-10T09:12:09.872Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-10T09:12:09.872Z] ./bin/test-attribution-txt.sh [2022-08-10T09:12:09.872Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-10T09:12:09.872Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-10T09:12:09.872Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-10T09:12:09.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-10T09:12:09.943Z] $ docker stop --time=1 a161b2fdeb8f9ba1a0f6a9eb8d854932acc6b4aef73e36041a8d65fc5f5c6e9c [2022-08-10T09:12:11.729Z] $ docker rm -f a161b2fdeb8f9ba1a0f6a9eb8d854932acc6b4aef73e36041a8d65fc5f5c6e9c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-10T09:12:12.758Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-10T09:12:12.791Z] Warning: overwriting stash ‘coverage-report’ [2022-08-10T09:12:13.273Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-10T09:12:13.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-10T09:12:14.216Z] + ls -al . [2022-08-10T09:12:14.216Z] total 188 [2022-08-10T09:12:14.216Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 09:10 . [2022-08-10T09:12:14.216Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 09:08 .. [2022-08-10T09:12:14.216Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 09:08 .git [2022-08-10T09:12:14.216Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 09:08 .github [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 10 09:08 .gitignore [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 10 09:08 .golangci.yml [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 10 09:08 Attribution.txt [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 10 09:08 CHANGELOG.md [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 10 09:08 Dockerfile [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 09:08 GOVERNANCE.md [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 10 09:08 Jenkinsfile [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 10 09:08 LICENSE [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 10 09:08 Makefile [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 10 09:08 OWNERS.md [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 10 09:08 README.md [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 09:06 VERSION [2022-08-10T09:12:14.216Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 09:08 bin [2022-08-10T09:12:14.216Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 09:08 cmd [2022-08-10T09:12:14.216Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 10 09:11 coverage.out [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 10 09:08 go.mod [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 10 09:08 go.sum [2022-08-10T09:12:14.216Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 09:08 internal [2022-08-10T09:12:14.216Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 09:08 snap [2022-08-10T09:12:14.216Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 10 09:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:12:14.673Z] + 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=fec75ada00550320aca600e4cb54573f8d097c57 --label arch=arm64 --label version=0.0.0 . [2022-08-10T09:12:14.949Z] Sending build context to Docker daemon 11.73MB [2022-08-10T09:12:15.230Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-10T09:12:15.230Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-10T09:12:15.230Z] ---> 89820c1ec356 [2022-08-10T09:12:15.230Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-10T09:12:15.230Z] ---> Running in 70999f98fc3b [2022-08-10T09:12:15.509Z] Removing intermediate container 70999f98fc3b [2022-08-10T09:12:15.509Z] ---> 63fa6d2d0d86 [2022-08-10T09:12:15.509Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-10T09:12:15.509Z] ---> Running in 56f59dddb741 [2022-08-10T09:12:16.110Z] Removing intermediate container 56f59dddb741 [2022-08-10T09:12:16.110Z] ---> 63789513d50d [2022-08-10T09:12:16.110Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-10T09:12:16.110Z] ---> Running in 2ffab89ff078 [2022-08-10T09:12:16.385Z] Removing intermediate container 2ffab89ff078 [2022-08-10T09:12:16.385Z] ---> 60937e09d0d8 [2022-08-10T09:12:16.385Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T09:12:16.385Z] ---> Running in ccfeda0572c3 [2022-08-10T09:12:17.827Z] Removing intermediate container ccfeda0572c3 [2022-08-10T09:12:17.827Z] ---> 892dfae40cda [2022-08-10T09:12:17.827Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-10T09:12:18.105Z] ---> Running in 2b171bfae5b3 [2022-08-10T09:12:19.083Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-10T09:12:20.063Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-10T09:12:20.665Z] OK: 226 MiB in 55 packages [2022-08-10T09:12:21.645Z] Removing intermediate container 2b171bfae5b3 [2022-08-10T09:12:21.645Z] ---> cfe4f07437f6 [2022-08-10T09:12:21.645Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-10T09:12:22.252Z] ---> bf032ddb0676 [2022-08-10T09:12:22.252Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-10T09:12:22.252Z] ---> Running in a921f688eabe [2022-08-10T09:12:24.230Z] Removing intermediate container a921f688eabe [2022-08-10T09:12:24.230Z] ---> d5c68e5942d9 [2022-08-10T09:12:24.230Z] Step 10/26 : COPY . . [2022-08-10T09:12:25.671Z] ---> 314ba9541980 [2022-08-10T09:12:25.671Z] Step 11/26 : ARG MAKE='make build' [2022-08-10T09:12:25.671Z] ---> Running in 1107eaf13c6f [2022-08-10T09:12:25.671Z] Removing intermediate container 1107eaf13c6f [2022-08-10T09:12:25.671Z] ---> 616ba2748e41 [2022-08-10T09:12:25.671Z] Step 12/26 : RUN $MAKE [2022-08-10T09:12:25.962Z] ---> Running in 65b59e8e97d3 [2022-08-10T09:12:26.963Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-08-10T09:14:33.883Z] Removing intermediate container 65b59e8e97d3 [2022-08-10T09:14:33.883Z] ---> 7c51f890d3ac [2022-08-10T09:14:33.883Z] Step 13/26 : FROM alpine:3.16 [2022-08-10T09:14:33.883Z] 3.16: Pulling from library/alpine [2022-08-10T09:14:33.883Z] 9b18e9b68314: Pulling fs layer [2022-08-10T09:14:33.883Z] 9b18e9b68314: Verifying Checksum [2022-08-10T09:14:33.883Z] 9b18e9b68314: Download complete [2022-08-10T09:14:33.883Z] 9b18e9b68314: Pull complete [2022-08-10T09:14:33.883Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-10T09:14:33.883Z] Status: Downloaded newer image for alpine:3.16 [2022-08-10T09:14:33.883Z] ---> a6215f271958 [2022-08-10T09:14:33.883Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-10T09:14:33.883Z] ---> Running in 0731f9e04f01 [2022-08-10T09:14:33.883Z] Removing intermediate container 0731f9e04f01 [2022-08-10T09:14:33.883Z] ---> f0c742da3745 [2022-08-10T09:14:33.883Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-10T09:14:33.883Z] ---> Running in 32bbdbe7eb53 [2022-08-10T09:14:33.883Z] Removing intermediate container 32bbdbe7eb53 [2022-08-10T09:14:33.883Z] ---> ded0c084e188 [2022-08-10T09:14:33.883Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-10T09:14:33.883Z] ---> Running in 7c35da9b03be [2022-08-10T09:14:33.883Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-10T09:14:33.883Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-10T09:14:33.883Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-10T09:14:33.883Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-10T09:14:33.883Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-10T09:14:33.883Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-10T09:14:33.883Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-10T09:14:33.883Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-10T09:14:33.883Z] Executing busybox-1.35.0-r17.trigger [2022-08-10T09:14:33.883Z] OK: 8 MiB in 20 packages [2022-08-10T09:14:33.883Z] Removing intermediate container 7c35da9b03be [2022-08-10T09:14:33.883Z] ---> 22e7966d385e [2022-08-10T09:14:33.883Z] Step 17/26 : WORKDIR / [2022-08-10T09:14:33.883Z] ---> Running in 77ea7105b241 [2022-08-10T09:14:33.883Z] Removing intermediate container 77ea7105b241 [2022-08-10T09:14:33.883Z] ---> 9341a31e727e [2022-08-10T09:14:33.883Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-10T09:14:34.158Z] ---> 2643fab8fc0b [2022-08-10T09:14:34.158Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-10T09:14:34.759Z] ---> f4c44435e69f [2022-08-10T09:14:34.759Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-10T09:14:36.197Z] ---> 698772d92988 [2022-08-10T09:14:36.197Z] Step 21/26 : EXPOSE 59900 [2022-08-10T09:14:36.197Z] ---> Running in 39efc6754fd4 [2022-08-10T09:14:36.197Z] Removing intermediate container 39efc6754fd4 [2022-08-10T09:14:36.197Z] ---> 9cb0dfab38b5 [2022-08-10T09:14:36.197Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-10T09:14:36.474Z] ---> Running in 22b27dc32892 [2022-08-10T09:14:36.751Z] Removing intermediate container 22b27dc32892 [2022-08-10T09:14:36.751Z] ---> ddbfdc085d7e [2022-08-10T09:14:36.751Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-10T09:14:36.751Z] ---> Running in ddec082bb0ce [2022-08-10T09:14:37.028Z] Removing intermediate container ddec082bb0ce [2022-08-10T09:14:37.028Z] ---> adb5bc172f19 [2022-08-10T09:14:37.028Z] Step 24/26 : LABEL arch=arm64 [2022-08-10T09:14:37.028Z] ---> Running in 05fa84f654e4 [2022-08-10T09:14:37.302Z] Removing intermediate container 05fa84f654e4 [2022-08-10T09:14:37.302Z] ---> 5afcda00aa33 [2022-08-10T09:14:37.302Z] Step 25/26 : LABEL git_sha=fec75ada00550320aca600e4cb54573f8d097c57 [2022-08-10T09:14:37.579Z] ---> Running in 23ca8175b32b [2022-08-10T09:14:37.855Z] Removing intermediate container 23ca8175b32b [2022-08-10T09:14:37.855Z] ---> c5aa8330a466 [2022-08-10T09:14:37.855Z] Step 26/26 : LABEL version=0.0.0 [2022-08-10T09:14:37.855Z] ---> Running in ca17a28d813e [2022-08-10T09:14:38.129Z] Removing intermediate container ca17a28d813e [2022-08-10T09:14:38.129Z] ---> 4d716d20763e [2022-08-10T09:14:38.129Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-10T09:14:38.129Z] Successfully built 4d716d20763e [2022-08-10T09:14:38.129Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:14:39.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-10T09:14:39.001Z] [2022-08-10T09:14:39.001Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:14:39.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-10T09:14:39.705Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-10T09:14:39.705Z] 8998bd30e6a1: Pulling fs layer [2022-08-10T09:14:39.705Z] 04944245beec: Pulling fs layer [2022-08-10T09:14:39.705Z] 699f458cf7ca: Pulling fs layer [2022-08-10T09:14:39.705Z] 765212b225bb: Pulling fs layer [2022-08-10T09:14:39.705Z] f23df028b6ca: Pulling fs layer [2022-08-10T09:14:39.705Z] d65c8cfc05b1: Pulling fs layer [2022-08-10T09:14:39.705Z] 2437ff75d9bd: Pulling fs layer [2022-08-10T09:14:39.705Z] 765212b225bb: Waiting [2022-08-10T09:14:39.705Z] d65c8cfc05b1: Waiting [2022-08-10T09:14:39.705Z] 2437ff75d9bd: Waiting [2022-08-10T09:14:39.705Z] f23df028b6ca: Waiting [2022-08-10T09:14:39.705Z] 04944245beec: Verifying Checksum [2022-08-10T09:14:39.705Z] 04944245beec: Download complete [2022-08-10T09:14:39.705Z] 765212b225bb: Verifying Checksum [2022-08-10T09:14:39.705Z] 765212b225bb: Download complete [2022-08-10T09:14:39.705Z] f23df028b6ca: Download complete [2022-08-10T09:14:39.705Z] d65c8cfc05b1: Verifying Checksum [2022-08-10T09:14:39.705Z] d65c8cfc05b1: Download complete [2022-08-10T09:14:39.981Z] 699f458cf7ca: Verifying Checksum [2022-08-10T09:14:40.256Z] 8998bd30e6a1: Verifying Checksum [2022-08-10T09:14:40.256Z] 8998bd30e6a1: Download complete [2022-08-10T09:14:42.238Z] 2437ff75d9bd: Verifying Checksum [2022-08-10T09:14:42.238Z] 2437ff75d9bd: Download complete [2022-08-10T09:14:44.867Z] 8998bd30e6a1: Pull complete [2022-08-10T09:14:45.141Z] 04944245beec: Pull complete [2022-08-10T09:14:46.581Z] 699f458cf7ca: Pull complete [2022-08-10T09:14:46.856Z] 765212b225bb: Pull complete [2022-08-10T09:14:47.458Z] f23df028b6ca: Pull complete [2022-08-10T09:14:47.734Z] d65c8cfc05b1: Pull complete [2022-08-10T09:15:02.856Z] 2437ff75d9bd: Pull complete [2022-08-10T09:15:02.856Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-10T09:15:02.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-10T09:15:02.856Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T09:15:03.260Z] prd-ubuntu20.04-docker-arm64-4c-16g-22399 does not seem to be running inside a container [2022-08-10T09:15:03.351Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-10T09:15:05.843Z] $ docker top bf87a16ac2ea2c01123f56d0e8c87736381f65b44ea8d8c104e4649496e1baba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:15:06.811Z] ---> job-cost.sh [2022-08-10T09:15:06.811Z] lf-activate-venv: SKIPPING [2022-08-10T09:15:06.811Z] INFO: No Stack... [2022-08-10T09:15:07.084Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-10T09:15:08.068Z] INFO: Archiving Costs [Pipeline] sh [2022-08-10T09:15:08.755Z] + + cutcat -d, /w/workspace/device-virtual-go/1/archives/cost.csv -f6 [2022-08-10T09:15:08.755Z] [Pipeline] lock [2022-08-10T09:15:08.840Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-299-1-stack-cost] [2022-08-10T09:15:08.845Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-299-1-stack-cost] did not exist. Created. [2022-08-10T09:15:08.845Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-299-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-10T09:15:09.614Z] /w/workspace/device-virtual-go/1@tmp/durable-b23d4179/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-10T09:15:10.322Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-10T09:15:10.357Z] Warning: overwriting stash ‘stack-cost’ [2022-08-10T09:15:10.405Z] Stashed 1 file(s) [Pipeline] } [2022-08-10T09:15:10.420Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-299-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-10T09:15:10.501Z] $ docker stop --time=1 bf87a16ac2ea2c01123f56d0e8c87736381f65b44ea8d8c104e4649496e1baba [2022-08-10T09:15:12.025Z] $ docker rm -f bf87a16ac2ea2c01123f56d0e8c87736381f65b44ea8d8c104e4649496e1baba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-10T09:15:13.105Z] provisioning config files... [2022-08-10T09:15:13.114Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-299@tmp/config1363323533854509928tmp [Pipeline] { [Pipeline] sh [2022-08-10T09:15:13.449Z] + set +x [2022-08-10T09:15:13.450Z] + curl -s https://codecov.io/bash [2022-08-10T09:15:13.450Z] + bash -s -- [2022-08-10T09:15:13.709Z] [2022-08-10T09:15:13.709Z] _____ _ [2022-08-10T09:15:13.709Z] / ____| | | [2022-08-10T09:15:13.709Z] | | ___ __| | ___ ___ _____ __ [2022-08-10T09:15:13.709Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-10T09:15:13.709Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-10T09:15:13.709Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-10T09:15:13.709Z] Bash-1.0.6 [2022-08-10T09:15:13.709Z] [2022-08-10T09:15:13.709Z] [2022-08-10T09:15:13.709Z] ==> git version 2.25.1 found [2022-08-10T09:15:13.709Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-10T09:15:13.710Z] Release-Date: 2020-01-08 [2022-08-10T09:15:13.710Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-10T09:15:13.710Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-10T09:15:13.710Z] ==> Jenkins CI detected. [2022-08-10T09:15:13.710Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-299 [2022-08-10T09:15:13.710Z] project root: . [2022-08-10T09:15:13.710Z] --> token set from env [2022-08-10T09:15:13.710Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-10T09:15:13.710Z] ==> Running gcov in . (disable via -X gcov) [2022-08-10T09:15:13.710Z] ==> Python coveragepy not found [2022-08-10T09:15:13.710Z] ==> Searching for coverage reports in: [2022-08-10T09:15:13.710Z] + . [2022-08-10T09:15:13.710Z] -> Found 1 reports [2022-08-10T09:15:13.710Z] ==> Detecting git/mercurial file structure [2022-08-10T09:15:13.710Z] ==> Reading reports [2022-08-10T09:15:13.710Z] + ./coverage.out bytes=44128 [2022-08-10T09:15:13.710Z] ==> Appending adjustments [2022-08-10T09:15:13.710Z] https://docs.codecov.io/docs/fixing-reports [2022-08-10T09:15:13.971Z] + Found adjustments [2022-08-10T09:15:13.971Z] ==> Gzipping contents [2022-08-10T09:15:13.971Z] 8.0K /tmp/codecov.2PDdoL.gz [2022-08-10T09:15:13.971Z] ==> Uploading reports [2022-08-10T09:15:13.971Z] url: https://codecov.io [2022-08-10T09:15:13.971Z] query: branch=PR-299&commit=fec75ada00550320aca600e4cb54573f8d097c57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-299%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=299&job=&cmd_args= [2022-08-10T09:15:13.971Z] -> Pinging Codecov [2022-08-10T09:15:13.971Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-299&commit=fec75ada00550320aca600e4cb54573f8d097c57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-299%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=299&job=&cmd_args= [2022-08-10T09:15:14.236Z] -> Uploading to [2022-08-10T09:15:14.236Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-10/5E52B4B073DB2E39498172D8E973AA87/fec75ada00550320aca600e4cb54573f8d097c57/33765a32-2059-4e6f-a1fa-bec2f466be6d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220810%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220810T091514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=060d72930eedb8d416ddc142daf740dd4b9a4974b2cf2ee75ad9390f284b07d7 [2022-08-10T09:15:14.237Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-10T09:15:14.237Z] Dload Upload Total Spent Left Speed [2022-08-10T09:15:14.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5495 0 0 100 5495 0 24752 --:--:-- --:--:-- --:--:-- 24641 100 5495 0 0 100 5495 0 21216 --:--:-- --:--:-- --:--:-- 21134 [2022-08-10T09:15:14.496Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/fec75ada00550320aca600e4cb54573f8d097c57 [Pipeline] } [2022-08-10T09:15:14.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-10T09:15:16.371Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-299/archives ] [2022-08-10T09:15:16.371Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-299/archives [2022-08-10T09:15:16.371Z] total 16 [2022-08-10T09:15:16.371Z] drwxr-xr-x 3 root root 4096 Aug 10 09:08 . [2022-08-10T09:15:16.371Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 09:08 .. [2022-08-10T09:15:16.371Z] drwxr-xr-x 2 root root 4096 Aug 10 09:08 cost [2022-08-10T09:15:16.371Z] -rw-r--r-- 1 root root 89 Aug 10 09:08 cost.csv [2022-08-10T09:15:16.371Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-299/archives [2022-08-10T09:15:16.371Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-299/archives [2022-08-10T09:15:16.371Z] total 16 [2022-08-10T09:15:16.371Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 09:08 . [2022-08-10T09:15:16.371Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 09:08 .. [2022-08-10T09:15:16.371Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 09:08 cost [2022-08-10T09:15:16.371Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 10 09:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:15:16.701Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:15:17.597Z] ---> package-listing.sh [2022-08-10T09:15:17.597Z] ++ facter osfamily [2022-08-10T09:15:17.597Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-10T09:15:17.858Z] + OS_FAMILY=debian [2022-08-10T09:15:17.858Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-299 [2022-08-10T09:15:17.858Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-10T09:15:17.858Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-10T09:15:17.858Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-10T09:15:17.858Z] + PACKAGES=/tmp/packages_start.txt [2022-08-10T09:15:17.858Z] + '[' /w/workspace/foundry_device-virtual-go_PR-299 ']' [2022-08-10T09:15:17.858Z] + PACKAGES=/tmp/packages_end.txt [2022-08-10T09:15:17.858Z] + case "${OS_FAMILY}" in [2022-08-10T09:15:17.858Z] + dpkg -l [2022-08-10T09:15:17.858Z] + grep '^ii' [2022-08-10T09:15:17.858Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-10T09:15:17.858Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-10T09:15:17.858Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-10T09:15:17.858Z] + '[' /w/workspace/foundry_device-virtual-go_PR-299 ']' [2022-08-10T09:15:17.858Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-299/archives/ [2022-08-10T09:15:17.858Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-299/archives/ [Pipeline] echo [2022-08-10T09:15:17.892Z] 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-299/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-10T09:15:18.189Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-10T09:15:18.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-10T09:15:18.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-10T09:15:18.987Z] prd-ubuntu20.04-docker-8c-8g-22398 does not seem to be running inside a container [2022-08-10T09:15:19.026Z] $ 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-299/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-299 -v /w/workspace/foundry_device-virtual-go_PR-299:/w/workspace/foundry_device-virtual-go_PR-299:rw,z -v /w/workspace/foundry_device-virtual-go_PR-299@tmp:/w/workspace/foundry_device-virtual-go_PR-299@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-08-10T09:15:19.221Z] $ docker top 6c651e652189ec293da0a764b5098954f90c7038e57cca1b0ed03f04758e333a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-10T09:15:19.638Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-10T09:15:19.950Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-10T09:15:20.262Z] + ls /var/log/sa-host [2022-08-10T09:15:20.262Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-10T09:15:20.392Z] provisioning config files... [2022-08-10T09:15:20.403Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-299@tmp/config6427057645479539634tmp [Pipeline] { [Pipeline] echo [2022-08-10T09:15:20.449Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:15:20.761Z] ---> create-netrc.sh [Pipeline] } [2022-08-10T09:15:20.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:15:21.186Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-10T09:15:21.220Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:15:21.532Z] ---> sudo-logs.sh [2022-08-10T09:15:21.532Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-10T09:15:21.624Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:15:21.942Z] ---> job-cost.sh [2022-08-10T09:15:21.942Z] lf-activate-venv: SKIPPING [2022-08-10T09:15:21.942Z] DEBUG: total: 0.2199999988079071 [2022-08-10T09:15:21.942Z] INFO: Retrieving Stack Cost... [2022-08-10T09:15:22.512Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-10T09:15:22.773Z] INFO: Archiving Costs [Pipeline] echo [2022-08-10T09:15:22.805Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-10T09:15:23.119Z] ---> logs-deploy.sh [2022-08-10T09:15:23.119Z] lf-activate-venv: SKIPPING [2022-08-10T09:15:23.119Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-299/1 [2022-08-10T09:15:23.119Z] INFO: archiving workspace using pattern(s): [2022-08-10T09:15:24.056Z] Archives upload complete. [2022-08-10T09:15:24.056Z] INFO: archiving logs to Nexus