Pull request #296 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7+92de881e1764f9c8787685d99df057aa74012de3 (d1791c0baf23cccc4ed663e8531a6d9600b4ce4c) 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-ssh17476299862855205240.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-ssh14546380705590098810.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-296/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-296/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11845519781071693572.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-296/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8642840548440223975.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-ssh3611775585623768693.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-296/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-296/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10990231905387299043.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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-20397 in /w/workspace/foundry_device-virtual-go_PR-296 [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-296 # 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 92de881e1764f9c8787685d99df057aa74012de3 into PR head commit 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 Merge succeeded, producing 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 Checking out Revision 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 (PR-296) > 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/296/head:refs/remotes/origin/PR-296 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 # 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 92de881e1764f9c8787685d99df057aa74012de3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-18T11:09:08.953Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-18T11:09:09.115Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-18T11:09:09.220Z] ========================================================= [2022-07-18T11:09:09.220Z] EdgeX Global Pipelines Version Info [2022-07-18T11:09:09.220Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:09:10.036Z] ------------------- [2022-07-18T11:09:10.036Z] stable info: [2022-07-18T11:09:10.036Z] ------------------- [2022-07-18T11:09:10.036Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T11:09:10.036Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T11:09:10.036Z] Message: update stable to v1.0.238 [2022-07-18T11:09:10.611Z] ------------------- [2022-07-18T11:09:10.612Z] experimental info: [2022-07-18T11:09:10.612Z] ------------------- [2022-07-18T11:09:10.612Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T11:09:10.612Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T11:09:10.612Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-18T11:09:10.956Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-07-18T11:09:10.996Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-07-18T11:09:11.040Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-18T11:09:11.081Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-18T11:09:11.126Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-18T11:09:11.168Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-18T11:09:11.212Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-18T11:09:11.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-18T11:09:11.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-18T11:09:11.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-18T11:09:11.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-18T11:09:11.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-07-18T11:09:11.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-18T11:09:11.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-18T11:09:11.551Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T11:09:11.590Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T11:09:11.632Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T11:09:11.673Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T11:09:11.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-18T11:09:11.759Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-18T11:09:11.802Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-18T11:09:11.842Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-18T11:09:11.887Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-18T11:09:11.926Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-18T11:09:11.968Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-18T11:09:12.011Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-18T11:09:12.053Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-18T11:09:12.091Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-296 [Pipeline] echo [2022-07-18T11:09:12.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-296 [Pipeline] echo [2022-07-18T11:09:12.167Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-296 [Pipeline] echo [2022-07-18T11:09:12.211Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 [Pipeline] echo [2022-07-18T11:09:12.251Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45ffb1c [Pipeline] echo [2022-07-18T11:09:12.295Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T11:09:12.416Z] provisioning config files... [2022-07-18T11:09:12.433Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-296@tmp/config6350136705763049297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:09:12.786Z] ---> docker-login.sh [2022-07-18T11:09:12.787Z] nexus3.edgexfoundry.org:10001 [2022-07-18T11:09:13.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:09:13.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:09:13.314Z] Configure a credential helper to remove this warning. See [2022-07-18T11:09:13.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:09:13.314Z] [2022-07-18T11:09:13.314Z] Login Succeeded [2022-07-18T11:09:13.314Z] nexus3.edgexfoundry.org:10002 [2022-07-18T11:09:13.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:09:13.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:09:13.314Z] Configure a credential helper to remove this warning. See [2022-07-18T11:09:13.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:09:13.314Z] [2022-07-18T11:09:13.314Z] Login Succeeded [2022-07-18T11:09:13.314Z] nexus3.edgexfoundry.org:10003 [2022-07-18T11:09:13.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:09:13.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:09:13.575Z] Configure a credential helper to remove this warning. See [2022-07-18T11:09:13.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:09:13.575Z] [2022-07-18T11:09:13.575Z] Login Succeeded [2022-07-18T11:09:13.575Z] nexus3.edgexfoundry.org:10004 [2022-07-18T11:09:13.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:09:13.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:09:13.575Z] Configure a credential helper to remove this warning. See [2022-07-18T11:09:13.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:09:13.575Z] [2022-07-18T11:09:13.575Z] Login Succeeded [2022-07-18T11:09:13.575Z] docker.io [2022-07-18T11:09:13.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:09:14.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:09:14.098Z] Configure a credential helper to remove this warning. See [2022-07-18T11:09:14.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:09:14.098Z] [2022-07-18T11:09:14.098Z] Login Succeeded [2022-07-18T11:09:14.098Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T11:09:14.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-18T11:09:14.743Z] + git rev-list -1 --merges 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7~1..45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 [Pipeline] echo [2022-07-18T11:09:14.796Z] -----------> git rev-list -1 --merges 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7~1..45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 [false] [Pipeline] sh [2022-07-18T11:09:15.101Z] + git log --format=format:%s -1 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 [Pipeline] echo [2022-07-18T11:09:15.136Z] ========================================================= [2022-07-18T11:09:15.136Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-18T11:09:15.136Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T11:09:15.580Z] + git log --format=format:%s -1 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 [Pipeline] echo [2022-07-18T11:09:15.613Z] [semverPrep] GIT_COMMIT: 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-07-18T11:09:15.643Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-18T11:09:16.031Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T11:09:16.031Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-18T11:09:16.031Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-18T11:09:16.031Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-18T11:09:16.031Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-18T11:09:16.031Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-18T11:09:16.031Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:09:16.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T11:09:16.526Z] [2022-07-18T11:09:16.526Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:09:16.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T11:09:16.914Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-18T11:09:16.914Z] b85a868b505f: Pulling fs layer [2022-07-18T11:09:16.914Z] e2be974225ed: Pulling fs layer [2022-07-18T11:09:16.914Z] 339a4e72a1f5: Pulling fs layer [2022-07-18T11:09:16.914Z] 988bab9f4d93: Pulling fs layer [2022-07-18T11:09:16.914Z] 1469e6f7b9e6: Pulling fs layer [2022-07-18T11:09:16.914Z] eaf3925da568: Pulling fs layer [2022-07-18T11:09:16.914Z] bab4dde63d76: Pulling fs layer [2022-07-18T11:09:16.914Z] bde34c3a00c8: Pulling fs layer [2022-07-18T11:09:16.914Z] b352a97aabf1: Pulling fs layer [2022-07-18T11:09:16.914Z] 4872d77fe225: Pulling fs layer [2022-07-18T11:09:16.914Z] 5851b861e8e6: Pulling fs layer [2022-07-18T11:09:16.914Z] eaf3925da568: Waiting [2022-07-18T11:09:16.914Z] 988bab9f4d93: Waiting [2022-07-18T11:09:16.914Z] 1469e6f7b9e6: Waiting [2022-07-18T11:09:16.914Z] 4872d77fe225: Waiting [2022-07-18T11:09:16.914Z] bab4dde63d76: Waiting [2022-07-18T11:09:16.914Z] bde34c3a00c8: Waiting [2022-07-18T11:09:16.914Z] 5851b861e8e6: Waiting [2022-07-18T11:09:16.914Z] b352a97aabf1: Waiting [2022-07-18T11:09:16.914Z] e2be974225ed: Verifying Checksum [2022-07-18T11:09:16.914Z] e2be974225ed: Download complete [2022-07-18T11:09:16.914Z] 988bab9f4d93: Verifying Checksum [2022-07-18T11:09:16.914Z] 988bab9f4d93: Download complete [2022-07-18T11:09:17.174Z] 1469e6f7b9e6: Verifying Checksum [2022-07-18T11:09:17.175Z] 1469e6f7b9e6: Download complete [2022-07-18T11:09:17.175Z] eaf3925da568: Verifying Checksum [2022-07-18T11:09:17.175Z] eaf3925da568: Download complete [2022-07-18T11:09:17.175Z] 339a4e72a1f5: Verifying Checksum [2022-07-18T11:09:17.175Z] 339a4e72a1f5: Download complete [2022-07-18T11:09:17.175Z] bde34c3a00c8: Verifying Checksum [2022-07-18T11:09:17.175Z] bde34c3a00c8: Download complete [2022-07-18T11:09:17.175Z] b352a97aabf1: Verifying Checksum [2022-07-18T11:09:17.175Z] b352a97aabf1: Download complete [2022-07-18T11:09:17.175Z] 4872d77fe225: Download complete [2022-07-18T11:09:17.175Z] 5851b861e8e6: Download complete [2022-07-18T11:09:17.175Z] b85a868b505f: Verifying Checksum [2022-07-18T11:09:17.175Z] b85a868b505f: Download complete [2022-07-18T11:09:17.446Z] bab4dde63d76: Verifying Checksum [2022-07-18T11:09:17.446Z] bab4dde63d76: Download complete [2022-07-18T11:09:18.833Z] b85a868b505f: Pull complete [2022-07-18T11:09:18.833Z] e2be974225ed: Pull complete [2022-07-18T11:09:19.410Z] 339a4e72a1f5: Pull complete [2022-07-18T11:09:19.410Z] 988bab9f4d93: Pull complete [2022-07-18T11:09:19.675Z] 1469e6f7b9e6: Pull complete [2022-07-18T11:09:19.935Z] eaf3925da568: Pull complete [2022-07-18T11:09:21.855Z] bab4dde63d76: Pull complete [2022-07-18T11:09:21.855Z] bde34c3a00c8: Pull complete [2022-07-18T11:09:22.116Z] b352a97aabf1: Pull complete [2022-07-18T11:09:22.116Z] 4872d77fe225: Pull complete [2022-07-18T11:09:22.116Z] 5851b861e8e6: Pull complete [2022-07-18T11:09:22.116Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-18T11:09:22.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T11:09:22.116Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T11:09:22.360Z] prd-ubuntu20.04-docker-8c-8g-20397 does not seem to be running inside a container [2022-07-18T11:09:22.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-296 -v /w/workspace/foundry_device-virtual-go_PR-296:/w/workspace/foundry_device-virtual-go_PR-296:rw,z -v /w/workspace/foundry_device-virtual-go_PR-296@tmp:/w/workspace/foundry_device-virtual-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-18T11:09:23.817Z] $ docker top a0d483ae629bbb5a9cbb854f659f952d685492881aa77ed60ef4fa29b1405fc7 -eo pid,comm [2022-07-18T11:09:23.891Z] 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-07-18T11:09:23.891Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T11:09:24.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T11:09:24.018Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T11:09:24.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T11:09:24.181Z] $ docker exec a0d483ae629bbb5a9cbb854f659f952d685492881aa77ed60ef4fa29b1405fc7 ssh-agent [2022-07-18T11:09:24.320Z] SSH_AUTH_SOCK=/tmp/ssh-h3f64JfldRan/agent.33 [2022-07-18T11:09:24.320Z] SSH_AGENT_PID=39 [2022-07-18T11:09:24.328Z] Running ssh-add (command line suppressed) [2022-07-18T11:09:24.445Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-296@tmp/private_key_8530524960019686737.key (/w/workspace/foundry_device-virtual-go_PR-296@tmp/private_key_8530524960019686737.key) [2022-07-18T11:09:24.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T11:09:24.797Z] + git tag --points-at HEAD [Pipeline] } [2022-07-18T11:09:24.827Z] $ docker exec --env ******** --env ******** a0d483ae629bbb5a9cbb854f659f952d685492881aa77ed60ef4fa29b1405fc7 ssh-agent -k [2022-07-18T11:09:24.935Z] unset SSH_AUTH_SOCK; [2022-07-18T11:09:24.936Z] unset SSH_AGENT_PID; [2022-07-18T11:09:24.936Z] echo Agent pid 39 killed; [2022-07-18T11:09:24.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-18T11:09:25.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T11:09:25.029Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T11:09:25.169Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T11:09:25.176Z] $ docker exec a0d483ae629bbb5a9cbb854f659f952d685492881aa77ed60ef4fa29b1405fc7 ssh-agent [2022-07-18T11:09:25.303Z] SSH_AUTH_SOCK=/tmp/ssh-aZykWVVGK91d/agent.73 [2022-07-18T11:09:25.303Z] SSH_AGENT_PID=79 [2022-07-18T11:09:25.310Z] Running ssh-add (command line suppressed) [2022-07-18T11:09:25.437Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-296@tmp/private_key_8875751284920774506.key (/w/workspace/foundry_device-virtual-go_PR-296@tmp/private_key_8875751284920774506.key) [2022-07-18T11:09:25.449Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T11:09:25.782Z] + git semver init [2022-07-18T11:09:26.044Z] 2022-07-18 11:09:25,981 [run_init] DEBUG init version:0.0.0 force:False [2022-07-18T11:09:26.044Z] 2022-07-18 11:09:25,982 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-296/.semver [2022-07-18T11:09:26.044Z] 2022-07-18 11:09:25,983 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-296/.semver [2022-07-18T11:09:26.044Z] 2022-07-18 11:09:25,983 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-296/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-296, universal_newlines=False, shell=None, istream=None) [2022-07-18T11:09:26.986Z] 2022-07-18 11:09:26,888 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-296/.git/info/exclude [2022-07-18T11:09:26.986Z] 2022-07-18 11:09:26,888 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-296/.semver/PR-296 with force:False [2022-07-18T11:09:26.986Z] 2022-07-18 11:09:26,888 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-296/.semver/PR-296 [2022-07-18T11:09:26.986Z] 2022-07-18 11:09:26,893 [execute] INFO git cat-file --batch-check [2022-07-18T11:09:26.986Z] 2022-07-18 11:09:26,893 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-296/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T11:09:26.986Z] 2022-07-18 11:09:26,899 [execute] INFO git cat-file --batch [2022-07-18T11:09:26.986Z] 2022-07-18 11:09:26,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-296/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T11:09:26.986Z] 2022-07-18 11:09:26,904 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-296/.semver/PR-296 [2022-07-18T11:09:26.986Z] 0.0.0 [Pipeline] } [2022-07-18T11:09:27.016Z] $ docker exec --env ******** --env ******** a0d483ae629bbb5a9cbb854f659f952d685492881aa77ed60ef4fa29b1405fc7 ssh-agent -k [2022-07-18T11:09:27.125Z] unset SSH_AUTH_SOCK; [2022-07-18T11:09:27.126Z] unset SSH_AGENT_PID; [2022-07-18T11:09:27.126Z] echo Agent pid 79 killed; [2022-07-18T11:09:27.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T11:09:27.570Z] + git semver [Pipeline] } [2022-07-18T11:09:27.862Z] $ docker stop --time=1 a0d483ae629bbb5a9cbb854f659f952d685492881aa77ed60ef4fa29b1405fc7 [2022-07-18T11:09:29.206Z] $ docker rm -f a0d483ae629bbb5a9cbb854f659f952d685492881aa77ed60ef4fa29b1405fc7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T11:09:29.626Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-18T11:09:29.951Z] Stashed 1 file(s) [Pipeline] echo [2022-07-18T11:09:29.970Z] [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-07-18T11:09:30.571Z] provisioning config files... [2022-07-18T11:09:30.583Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-296@tmp/config2873488610905464578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:09:30.943Z] ---> docker-login.sh [2022-07-18T11:09:30.943Z] nexus3.edgexfoundry.org:10001 [2022-07-18T11:09:30.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:09:30.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:09:30.943Z] Configure a credential helper to remove this warning. See [2022-07-18T11:09:30.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:09:30.943Z] [2022-07-18T11:09:30.943Z] Login Succeeded [2022-07-18T11:09:30.943Z] nexus3.edgexfoundry.org:10002 [2022-07-18T11:09:30.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:09:31.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:09:31.208Z] Configure a credential helper to remove this warning. See [2022-07-18T11:09:31.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:09:31.208Z] [2022-07-18T11:09:31.208Z] Login Succeeded [2022-07-18T11:09:31.208Z] nexus3.edgexfoundry.org:10003 [2022-07-18T11:09:31.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:09:31.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:09:31.208Z] Configure a credential helper to remove this warning. See [2022-07-18T11:09:31.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:09:31.208Z] [2022-07-18T11:09:31.208Z] Login Succeeded [2022-07-18T11:09:31.208Z] nexus3.edgexfoundry.org:10004 [2022-07-18T11:09:31.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:09:31.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:09:31.471Z] Configure a credential helper to remove this warning. See [2022-07-18T11:09:31.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:09:31.471Z] [2022-07-18T11:09:31.471Z] Login Succeeded [2022-07-18T11:09:31.471Z] docker.io [2022-07-18T11:09:31.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:09:31.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:09:31.733Z] Configure a credential helper to remove this warning. See [2022-07-18T11:09:31.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:09:31.733Z] [2022-07-18T11:09:31.733Z] Login Succeeded [2022-07-18T11:09:31.733Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T11:09:31.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T11:09:31.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T11:09:31.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T11:09:32.024Z] ========================================================= [2022-07-18T11:09:32.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-18T11:09:32.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:09:32.500Z] + 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-07-18T11:09:32.500Z] Sending build context to Docker daemon 23.07MB [2022-07-18T11:09:32.500Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T11:09:32.500Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T11:09:32.762Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-18T11:09:32.762Z] 2408cc74d12b: Pulling fs layer [2022-07-18T11:09:32.762Z] ea60b727a1ce: Pulling fs layer [2022-07-18T11:09:32.762Z] 30c4a7721957: Pulling fs layer [2022-07-18T11:09:32.762Z] 370296b7ddb6: Pulling fs layer [2022-07-18T11:09:32.762Z] 7c6cee850709: Pulling fs layer [2022-07-18T11:09:32.762Z] 39a5fcdaea64: Pulling fs layer [2022-07-18T11:09:32.762Z] d94ebbe4e438: Pulling fs layer [2022-07-18T11:09:32.762Z] 7c6cee850709: Waiting [2022-07-18T11:09:32.762Z] bcfd1f05c69d: Pulling fs layer [2022-07-18T11:09:32.762Z] 59ccb84bbe0f: Pulling fs layer [2022-07-18T11:09:32.762Z] d94ebbe4e438: Waiting [2022-07-18T11:09:32.762Z] bcfd1f05c69d: Waiting [2022-07-18T11:09:32.762Z] 30c4a7721957: Verifying Checksum [2022-07-18T11:09:32.762Z] 30c4a7721957: Download complete [2022-07-18T11:09:32.762Z] ea60b727a1ce: Verifying Checksum [2022-07-18T11:09:32.762Z] ea60b727a1ce: Download complete [2022-07-18T11:09:32.762Z] 7c6cee850709: Verifying Checksum [2022-07-18T11:09:32.762Z] 7c6cee850709: Download complete [2022-07-18T11:09:32.762Z] 39a5fcdaea64: Verifying Checksum [2022-07-18T11:09:32.762Z] 39a5fcdaea64: Download complete [2022-07-18T11:09:32.762Z] 2408cc74d12b: Verifying Checksum [2022-07-18T11:09:32.762Z] d94ebbe4e438: Download complete [2022-07-18T11:09:32.762Z] 2408cc74d12b: Pull complete [2022-07-18T11:09:33.026Z] ea60b727a1ce: Pull complete [2022-07-18T11:09:33.026Z] 30c4a7721957: Pull complete [2022-07-18T11:09:33.289Z] 59ccb84bbe0f: Verifying Checksum [2022-07-18T11:09:33.289Z] 59ccb84bbe0f: Download complete [2022-07-18T11:09:33.549Z] bcfd1f05c69d: Verifying Checksum [2022-07-18T11:09:33.549Z] bcfd1f05c69d: Download complete [2022-07-18T11:09:33.549Z] 370296b7ddb6: Verifying Checksum [2022-07-18T11:09:33.549Z] 370296b7ddb6: Download complete [2022-07-18T11:09:37.750Z] 370296b7ddb6: Pull complete [2022-07-18T11:09:37.750Z] 7c6cee850709: Pull complete [2022-07-18T11:09:38.022Z] 39a5fcdaea64: Pull complete [2022-07-18T11:09:38.022Z] d94ebbe4e438: Pull complete [2022-07-18T11:09:40.567Z] bcfd1f05c69d: Pull complete [2022-07-18T11:09:40.827Z] 59ccb84bbe0f: Pull complete [2022-07-18T11:09:40.827Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-18T11:09:40.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-18T11:09:40.827Z] ---> a4fb48ad2a94 [2022-07-18T11:09:40.827Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T11:09:42.750Z] ---> Running in 391f0d85a73d [2022-07-18T11:09:42.750Z] Removing intermediate container 391f0d85a73d [2022-07-18T11:09:42.750Z] ---> 8e46516188f3 [2022-07-18T11:09:42.750Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T11:09:42.750Z] ---> Running in 6041407fd706 [2022-07-18T11:09:42.750Z] Removing intermediate container 6041407fd706 [2022-07-18T11:09:42.750Z] ---> 1cf37f45d201 [2022-07-18T11:09:42.750Z] Step 5/12 : WORKDIR /device-virtual-go [2022-07-18T11:09:42.750Z] ---> Running in 0d07b5b422aa [2022-07-18T11:09:43.010Z] Removing intermediate container 0d07b5b422aa [2022-07-18T11:09:43.010Z] ---> b1911f8d0909 [2022-07-18T11:09:43.010Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T11:09:43.010Z] ---> Running in 36f77e94078e [2022-07-18T11:09:43.583Z] Removing intermediate container 36f77e94078e [2022-07-18T11:09:43.583Z] ---> a49db143c573 [2022-07-18T11:09:43.583Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T11:09:43.583Z] ---> Running in c958a78777ed [2022-07-18T11:09:43.845Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T11:09:44.787Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T11:09:45.052Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T11:09:45.315Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T11:09:45.315Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T11:09:45.315Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T11:09:45.392Z] Still waiting to schedule task [2022-07-18T11:09:45.392Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-18T11:09:45.575Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T11:09:45.575Z] OK: 216 MiB in 55 packages [2022-07-18T11:09:45.836Z] Removing intermediate container c958a78777ed [2022-07-18T11:09:45.836Z] ---> 1af9d558c280 [2022-07-18T11:09:45.836Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-18T11:09:46.096Z] ---> f85ef0e865ae [2022-07-18T11:09:46.096Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T11:09:46.096Z] ---> Running in 1b12db5b0553 [2022-07-18T11:10:04.222Z] Removing intermediate container 1b12db5b0553 [2022-07-18T11:10:04.222Z] ---> 0b49a53711fd [2022-07-18T11:10:04.222Z] Step 10/12 : COPY . . [2022-07-18T11:10:04.222Z] ---> 5514e9f4783d [2022-07-18T11:10:04.222Z] Step 11/12 : ARG MAKE='make build' [2022-07-18T11:10:04.222Z] ---> Running in 7049f3aac77a [2022-07-18T11:10:04.222Z] Removing intermediate container 7049f3aac77a [2022-07-18T11:10:04.222Z] ---> 4d3d1f64efa6 [2022-07-18T11:10:04.222Z] Step 12/12 : RUN $MAKE [2022-07-18T11:10:04.222Z] ---> Running in 06988fe99099 [2022-07-18T11:10:04.222Z] noop [2022-07-18T11:10:04.222Z] Removing intermediate container 06988fe99099 [2022-07-18T11:10:04.222Z] ---> 9ffb06cdf93b [2022-07-18T11:10:04.222Z] Successfully built 9ffb06cdf93b [2022-07-18T11:10:04.222Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:10:04.727Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T11:10:04.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T11:10:04.914Z] prd-ubuntu20.04-docker-8c-8g-20397 does not seem to be running inside a container [2022-07-18T11:10:04.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-296 -v /w/workspace/foundry_device-virtual-go_PR-296:/w/workspace/foundry_device-virtual-go_PR-296:rw,z -v /w/workspace/foundry_device-virtual-go_PR-296@tmp:/w/workspace/foundry_device-virtual-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-18T11:10:05.373Z] $ docker top 7e08bc09a335070275ce4f8a1f54e0d56d6b2072c9e732f39a0085016d98dfd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T11:10:05.778Z] + go version [2022-07-18T11:10:05.778Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-18T11:10:05.814Z] $ docker stop --time=1 7e08bc09a335070275ce4f8a1f54e0d56d6b2072c9e732f39a0085016d98dfd1 [2022-07-18T11:10:07.102Z] $ docker rm -f 7e08bc09a335070275ce4f8a1f54e0d56d6b2072c9e732f39a0085016d98dfd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:10:07.826Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T11:10:07.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T11:10:07.974Z] prd-ubuntu20.04-docker-8c-8g-20397 does not seem to be running inside a container [2022-07-18T11:10:08.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-296 -v /w/workspace/foundry_device-virtual-go_PR-296:/w/workspace/foundry_device-virtual-go_PR-296:rw,z -v /w/workspace/foundry_device-virtual-go_PR-296@tmp:/w/workspace/foundry_device-virtual-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-18T11:10:08.468Z] $ docker top d0475c3893181d81f3790fb35b5b8d5fcf7958b5a699a2536317195a47a88484 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T11:10:08.873Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-296 [Pipeline] fileExists [Pipeline] sh [2022-07-18T11:10:09.233Z] + make test [2022-07-18T11:10:09.233Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-18T11:10:09.491Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-07-18T11:10:19.477Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-07-18T11:10:19.477Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-07-18T11:10:26.066Z] 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-07-18T11:10:26.066Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T11:10:29.366Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T11:10:29.367Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T11:10:29.367Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T11:10:29.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T11:10:29.437Z] $ docker stop --time=1 d0475c3893181d81f3790fb35b5b8d5fcf7958b5a699a2536317195a47a88484 [2022-07-18T11:10:31.149Z] $ docker rm -f d0475c3893181d81f3790fb35b5b8d5fcf7958b5a699a2536317195a47a88484 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T11:10:31.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T11:10:31.730Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-18T11:10:32.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T11:10:32.723Z] + ls -al . [2022-07-18T11:10:32.723Z] total 192 [2022-07-18T11:10:32.723Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 11:10 . [2022-07-18T11:10:32.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 11:09 .. [2022-07-18T11:10:32.723Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 11:10 .git [2022-07-18T11:10:32.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 11:09 .github [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 337 Jul 18 11:09 .gitignore [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 11:09 .golangci.yml [2022-07-18T11:10:32.723Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 11:09 .semver [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jul 18 11:09 Attribution.txt [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jul 18 11:09 CHANGELOG.md [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 1978 Jul 18 11:09 Dockerfile [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 11:09 GOVERNANCE.md [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 11:09 Jenkinsfile [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 11:09 LICENSE [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jul 18 11:09 Makefile [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 18 11:09 OWNERS.md [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jul 18 11:09 README.md [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 11:09 VERSION [2022-07-18T11:10:32.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 11:09 bin [2022-07-18T11:10:32.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 11:09 cmd [2022-07-18T11:10:32.723Z] -rw-r--r-- 1 jenkins jenkins 44128 Jul 18 11:10 coverage.out [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 3191 Jul 18 11:09 go.mod [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 34839 Jul 18 11:09 go.sum [2022-07-18T11:10:32.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 11:09 internal [2022-07-18T11:10:32.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 11:09 snap [2022-07-18T11:10:32.723Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 18 11:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:10:33.122Z] + 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=45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 --label arch=amd64 --label version=0.0.0 . [2022-07-18T11:10:33.122Z] Sending build context to Docker daemon 23.11MB [2022-07-18T11:10:33.122Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T11:10:33.122Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-18T11:10:33.122Z] ---> 9ffb06cdf93b [2022-07-18T11:10:33.122Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T11:10:33.382Z] ---> Running in b9cfbeb6430d [2022-07-18T11:10:33.382Z] Removing intermediate container b9cfbeb6430d [2022-07-18T11:10:33.382Z] ---> 9d31d04e6698 [2022-07-18T11:10:33.382Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T11:10:33.382Z] ---> Running in 83a3dcefc668 [2022-07-18T11:10:33.382Z] Removing intermediate container 83a3dcefc668 [2022-07-18T11:10:33.382Z] ---> 51ced8e852be [2022-07-18T11:10:33.382Z] Step 5/26 : WORKDIR /device-virtual-go [2022-07-18T11:10:33.642Z] ---> Running in 912feb6ec78d [2022-07-18T11:10:33.642Z] Removing intermediate container 912feb6ec78d [2022-07-18T11:10:33.642Z] ---> 153040cfff43 [2022-07-18T11:10:33.642Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T11:10:33.642Z] ---> Running in bc336420c7b0 [2022-07-18T11:10:34.210Z] Removing intermediate container bc336420c7b0 [2022-07-18T11:10:34.210Z] ---> 30928b8952c3 [2022-07-18T11:10:34.211Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T11:10:34.211Z] ---> Running in 478b5b30c650 [2022-07-18T11:10:34.473Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T11:10:35.421Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T11:10:35.682Z] OK: 216 MiB in 55 packages [2022-07-18T11:10:35.944Z] Removing intermediate container 478b5b30c650 [2022-07-18T11:10:35.945Z] ---> f750951bd688 [2022-07-18T11:10:35.945Z] Step 8/26 : COPY go.mod vendor* ./ [2022-07-18T11:10:36.208Z] ---> 0d027380c889 [2022-07-18T11:10:36.208Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T11:10:36.208Z] ---> Running in b1616abcf3ca [2022-07-18T11:10:36.777Z] Removing intermediate container b1616abcf3ca [2022-07-18T11:10:36.777Z] ---> 91bd97a83f72 [2022-07-18T11:10:36.777Z] Step 10/26 : COPY . . [2022-07-18T11:10:37.350Z] ---> 372082f7a1d1 [2022-07-18T11:10:37.350Z] Step 11/26 : ARG MAKE='make build' [2022-07-18T11:10:37.350Z] ---> Running in 80a169f89cf6 [2022-07-18T11:10:37.350Z] Removing intermediate container 80a169f89cf6 [2022-07-18T11:10:37.350Z] ---> 7ed5a4478834 [2022-07-18T11:10:37.350Z] Step 12/26 : RUN $MAKE [2022-07-18T11:10:37.350Z] ---> Running in cf383de62bd5 [2022-07-18T11:10:37.610Z] 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-07-18T11:10:59.568Z] Removing intermediate container cf383de62bd5 [2022-07-18T11:10:59.569Z] ---> 8e984946594b [2022-07-18T11:10:59.569Z] Step 13/26 : FROM alpine:3.16 [2022-07-18T11:10:59.569Z] 3.16: Pulling from library/alpine [2022-07-18T11:10:59.569Z] 2408cc74d12b: Already exists [2022-07-18T11:10:59.569Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-18T11:10:59.569Z] Status: Downloaded newer image for alpine:3.16 [2022-07-18T11:10:59.569Z] ---> e66264b98777 [2022-07-18T11:10:59.569Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-07-18T11:10:59.569Z] ---> Running in 6ca90deaa0db [2022-07-18T11:10:59.569Z] Removing intermediate container 6ca90deaa0db [2022-07-18T11:10:59.569Z] ---> fb0d7d48d7a1 [2022-07-18T11:10:59.569Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T11:10:59.569Z] ---> Running in cf60d10d2cd7 [2022-07-18T11:10:59.569Z] Removing intermediate container cf60d10d2cd7 [2022-07-18T11:10:59.569Z] ---> d9050506d616 [2022-07-18T11:10:59.569Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T11:10:59.569Z] ---> Running in 8da8aa6bb97f [2022-07-18T11:10:59.569Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T11:10:59.569Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T11:10:59.831Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T11:10:59.831Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-18T11:11:00.095Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T11:11:00.095Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-18T11:11:00.095Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T11:11:00.356Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T11:11:00.356Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T11:11:00.356Z] OK: 8 MiB in 20 packages [2022-07-18T11:11:00.930Z] Removing intermediate container 8da8aa6bb97f [2022-07-18T11:11:00.930Z] ---> 913c8b91f3dc [2022-07-18T11:11:00.930Z] Step 17/26 : WORKDIR / [2022-07-18T11:11:00.930Z] ---> Running in 66d7570eca5d [2022-07-18T11:11:00.930Z] Removing intermediate container 66d7570eca5d [2022-07-18T11:11:00.930Z] ---> 6a48cd48b4be [2022-07-18T11:11:00.930Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-07-18T11:11:01.194Z] ---> f34dd9073639 [2022-07-18T11:11:01.194Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-07-18T11:11:01.194Z] ---> 6c4d22af7a87 [2022-07-18T11:11:01.194Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-07-18T11:11:01.769Z] ---> 6808a37a4e0b [2022-07-18T11:11:01.769Z] Step 21/26 : EXPOSE 59900 [2022-07-18T11:11:01.769Z] ---> Running in bcd487a94fb1 [2022-07-18T11:11:01.769Z] Removing intermediate container bcd487a94fb1 [2022-07-18T11:11:01.769Z] ---> 886995e81b6c [2022-07-18T11:11:01.769Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-07-18T11:11:01.769Z] ---> Running in da2b8b73615a [2022-07-18T11:11:02.032Z] Removing intermediate container da2b8b73615a [2022-07-18T11:11:02.032Z] ---> f62ae1e5c7e5 [2022-07-18T11:11:02.032Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T11:11:02.032Z] ---> Running in b467f815c7a9 [2022-07-18T11:11:02.032Z] Removing intermediate container b467f815c7a9 [2022-07-18T11:11:02.032Z] ---> 0c36d5eacf17 [2022-07-18T11:11:02.032Z] Step 24/26 : LABEL arch=amd64 [2022-07-18T11:11:02.032Z] ---> Running in c881dde139d9 [2022-07-18T11:11:02.293Z] Removing intermediate container c881dde139d9 [2022-07-18T11:11:02.293Z] ---> 480aa9f9c3c5 [2022-07-18T11:11:02.293Z] Step 25/26 : LABEL git_sha=45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 [2022-07-18T11:11:02.293Z] ---> Running in f59a40867e57 [2022-07-18T11:11:02.293Z] Removing intermediate container f59a40867e57 [2022-07-18T11:11:02.293Z] ---> 2efc8f18bbe9 [2022-07-18T11:11:02.293Z] Step 26/26 : LABEL version=0.0.0 [2022-07-18T11:11:02.293Z] ---> Running in 41fffddf7f44 [2022-07-18T11:11:02.554Z] Removing intermediate container 41fffddf7f44 [2022-07-18T11:11:02.554Z] ---> 2f3be062ef54 [2022-07-18T11:11:02.554Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T11:11:02.554Z] Successfully built 2f3be062ef54 [2022-07-18T11:11:02.554Z] 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-07-18T11:11:03.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T11:11:03.426Z] [2022-07-18T11:11:03.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:11:03.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T11:11:03.812Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-18T11:11:03.812Z] 5eb5b503b376: Pulling fs layer [2022-07-18T11:11:03.812Z] 5c69ac0246d0: Pulling fs layer [2022-07-18T11:11:03.812Z] ec43610c2a17: Pulling fs layer [2022-07-18T11:11:03.812Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-18T11:11:03.812Z] 33b1e0a273af: Pulling fs layer [2022-07-18T11:11:03.812Z] 5d3b04190fa2: Pulling fs layer [2022-07-18T11:11:03.812Z] 2f39f015ded8: Pulling fs layer [2022-07-18T11:11:03.812Z] 3a2ae6a8a46f: Waiting [2022-07-18T11:11:03.812Z] 33b1e0a273af: Waiting [2022-07-18T11:11:03.812Z] 5d3b04190fa2: Waiting [2022-07-18T11:11:03.812Z] 5c69ac0246d0: Download complete [2022-07-18T11:11:03.812Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-18T11:11:03.812Z] 3a2ae6a8a46f: Download complete [2022-07-18T11:11:03.812Z] 33b1e0a273af: Verifying Checksum [2022-07-18T11:11:03.812Z] 33b1e0a273af: Download complete [2022-07-18T11:11:03.812Z] ec43610c2a17: Verifying Checksum [2022-07-18T11:11:03.812Z] ec43610c2a17: Download complete [2022-07-18T11:11:04.072Z] 5d3b04190fa2: Verifying Checksum [2022-07-18T11:11:04.072Z] 5d3b04190fa2: Download complete [2022-07-18T11:11:04.072Z] 5eb5b503b376: Verifying Checksum [2022-07-18T11:11:04.072Z] 5eb5b503b376: Download complete [2022-07-18T11:11:04.642Z] 2f39f015ded8: Download complete [2022-07-18T11:11:05.214Z] 5eb5b503b376: Pull complete [2022-07-18T11:11:05.474Z] 5c69ac0246d0: Pull complete [2022-07-18T11:11:05.733Z] ec43610c2a17: Pull complete [2022-07-18T11:11:05.994Z] 3a2ae6a8a46f: Pull complete [2022-07-18T11:11:05.994Z] 33b1e0a273af: Pull complete [2022-07-18T11:11:06.254Z] 5d3b04190fa2: Pull complete [2022-07-18T11:11:10.444Z] 2f39f015ded8: Pull complete [2022-07-18T11:11:10.445Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-18T11:11:10.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T11:11:10.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T11:11:10.693Z] prd-ubuntu20.04-docker-8c-8g-20397 does not seem to be running inside a container [2022-07-18T11:11:10.726Z] $ 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-296 -v /w/workspace/foundry_device-virtual-go_PR-296:/w/workspace/foundry_device-virtual-go_PR-296:rw,z -v /w/workspace/foundry_device-virtual-go_PR-296@tmp:/w/workspace/foundry_device-virtual-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-18T11:11:12.266Z] $ docker top 6c7cc3809c239c6a54f838b0819a9cca6e3960396968e2a459000aaf604549d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:11:12.734Z] ---> job-cost.sh [2022-07-18T11:11:12.734Z] lf-activate-venv: SKIPPING [2022-07-18T11:11:12.734Z] INFO: No Stack... [2022-07-18T11:11:13.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T11:11:13.590Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T11:11:13.940Z] + cat /w/workspace/foundry_device-virtual-go_PR-296/archives/cost.csv [2022-07-18T11:11:13.940Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T11:11:13.986Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-296-1-stack-cost] [2022-07-18T11:11:13.994Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-296-1-stack-cost] did not exist. Created. [2022-07-18T11:11:13.994Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-296-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T11:11:14.398Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-18T11:11:14.448Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T11:11:14.472Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-296-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T11:11:14.554Z] $ docker stop --time=1 6c7cc3809c239c6a54f838b0819a9cca6e3960396968e2a459000aaf604549d5 [2022-07-18T11:11:15.722Z] $ docker rm -f 6c7cc3809c239c6a54f838b0819a9cca6e3960396968e2a459000aaf604549d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-18T11:11:18.050Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20398 in /w/workspace/foundry_device-virtual-go_PR-296 [Pipeline] { [Pipeline] ws [2022-07-18T11:11:18.101Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-07-18T11:11:18.177Z] The recommended git tool is: git [2022-07-18T11:11:24.505Z] using credential edgex-jenkins-ssh [2022-07-18T11:11:24.523Z] Cloning the remote Git repository [2022-07-18T11:11:24.586Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-07-18T11:11:24.662Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-07-18T11:11:24.740Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-07-18T11:11:24.741Z] > git --version # timeout=10 [2022-07-18T11:11:24.757Z] > git --version # 'git version 2.25.1' [2022-07-18T11:11:24.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T11:11:24.816Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T11:11:27.204Z] Merging remotes/origin/main commit 92de881e1764f9c8787685d99df057aa74012de3 into PR head commit 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 [2022-07-18T11:11:26.684Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-07-18T11:11:26.702Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T11:11:26.728Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-07-18T11:11:26.759Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-07-18T11:11:26.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T11:11:26.771Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/296/head:refs/remotes/origin/PR-296 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-18T11:11:27.225Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T11:11:27.402Z] Merge succeeded, producing 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 [2022-07-18T11:11:27.403Z] Checking out Revision 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 (PR-296) [2022-07-18T11:11:27.241Z] > git checkout -f 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 # timeout=10 [2022-07-18T11:11:27.322Z] > git remote # timeout=10 [2022-07-18T11:11:27.338Z] > git config --get remote.origin.url # timeout=10 [2022-07-18T11:11:27.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T11:11:27.364Z] > git merge 92de881e1764f9c8787685d99df057aa74012de3 # timeout=10 [2022-07-18T11:11:27.387Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-18T11:11:27.413Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T11:11:27.424Z] > git checkout -f 45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 # timeout=10 [2022-07-18T11:11:31.563Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-07-18T11:11:31.622Z] > git --version # timeout=10 [2022-07-18T11:11:31.634Z] > git --version # 'git version 2.25.1' [2022-07-18T11:11:31.652Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T11:11:35.549Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-18T11:11:35.549Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T11:11:35.549Z] Dload Upload Total Spent Left Speed [2022-07-18T11:11:35.550Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh [2022-07-18T11:11:36.476Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-18T11:11:36.832Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-07-18T11:11:36.832Z] /etc/docker/daemon.json [2022-07-18T11:11:36.832Z] { [2022-07-18T11:11:36.832Z] "registry-mirrors": [ [2022-07-18T11:11:36.832Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-18T11:11:36.832Z] ], [2022-07-18T11:11:36.832Z] "bip": "10.250.0.254/24", [2022-07-18T11:11:36.832Z] "hosts": [ [2022-07-18T11:11:36.832Z] "tcp://0.0.0.0:5555", [2022-07-18T11:11:36.832Z] "unix:///var/run/docker.sock" [2022-07-18T11:11:36.832Z] ], [2022-07-18T11:11:36.832Z] "mtu": 1458, [2022-07-18T11:11:36.832Z] "selinux-enabled": true, [2022-07-18T11:11:36.832Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-18T11:11:36.832Z] } [Pipeline] sh [2022-07-18T11:11:37.190Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-18T11:11:37.544Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T11:11:55.955Z] provisioning config files... [2022-07-18T11:11:55.980Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3673085223565470491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:11:56.383Z] ---> docker-login.sh [2022-07-18T11:11:56.383Z] nexus3.edgexfoundry.org:10001 [2022-07-18T11:11:56.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:11:57.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:11:57.254Z] Configure a credential helper to remove this warning. See [2022-07-18T11:11:57.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:11:57.254Z] [2022-07-18T11:11:57.254Z] Login Succeeded [2022-07-18T11:11:57.254Z] nexus3.edgexfoundry.org:10002 [2022-07-18T11:11:57.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:11:57.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:11:57.853Z] Configure a credential helper to remove this warning. See [2022-07-18T11:11:57.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:11:57.853Z] [2022-07-18T11:11:57.853Z] Login Succeeded [2022-07-18T11:11:57.853Z] nexus3.edgexfoundry.org:10003 [2022-07-18T11:11:58.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:11:58.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:11:58.407Z] Configure a credential helper to remove this warning. See [2022-07-18T11:11:58.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:11:58.407Z] [2022-07-18T11:11:58.407Z] Login Succeeded [2022-07-18T11:11:58.407Z] nexus3.edgexfoundry.org:10004 [2022-07-18T11:11:58.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:11:58.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:11:58.681Z] Configure a credential helper to remove this warning. See [2022-07-18T11:11:58.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:11:58.681Z] [2022-07-18T11:11:58.681Z] Login Succeeded [2022-07-18T11:11:58.681Z] docker.io [2022-07-18T11:11:59.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T11:11:59.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T11:11:59.553Z] Configure a credential helper to remove this warning. See [2022-07-18T11:11:59.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T11:11:59.553Z] [2022-07-18T11:11:59.553Z] Login Succeeded [2022-07-18T11:11:59.553Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T11:11:59.581Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T11:11:59.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T11:11:59.988Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T11:12:00.023Z] ========================================================= [2022-07-18T11:12:00.023Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-18T11:12:00.023Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:12:00.535Z] + 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-07-18T11:12:01.152Z] Sending build context to Docker daemon 11.67MB [2022-07-18T11:12:01.152Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T11:12:01.153Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T11:12:01.153Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-18T11:12:01.153Z] b3c136eddcbf: Pulling fs layer [2022-07-18T11:12:01.153Z] c0a3192eca97: Pulling fs layer [2022-07-18T11:12:01.153Z] a050256f5b6f: Pulling fs layer [2022-07-18T11:12:01.153Z] 656be50a0ddc: Pulling fs layer [2022-07-18T11:12:01.153Z] 2bbca73fdf42: Pulling fs layer [2022-07-18T11:12:01.153Z] 46d945488cbd: Pulling fs layer [2022-07-18T11:12:01.153Z] 8a5474983e97: Pulling fs layer [2022-07-18T11:12:01.153Z] 329c88fbcd65: Pulling fs layer [2022-07-18T11:12:01.153Z] 656be50a0ddc: Waiting [2022-07-18T11:12:01.153Z] 2bbca73fdf42: Waiting [2022-07-18T11:12:01.153Z] 46d945488cbd: Waiting [2022-07-18T11:12:01.153Z] 8a5474983e97: Waiting [2022-07-18T11:12:01.153Z] 329c88fbcd65: Waiting [2022-07-18T11:12:01.153Z] a050256f5b6f: Download complete [2022-07-18T11:12:01.153Z] c0a3192eca97: Verifying Checksum [2022-07-18T11:12:01.153Z] c0a3192eca97: Download complete [2022-07-18T11:12:01.153Z] 2bbca73fdf42: Verifying Checksum [2022-07-18T11:12:01.153Z] 2bbca73fdf42: Download complete [2022-07-18T11:12:01.153Z] 46d945488cbd: Verifying Checksum [2022-07-18T11:12:01.153Z] 46d945488cbd: Download complete [2022-07-18T11:12:01.153Z] b3c136eddcbf: Verifying Checksum [2022-07-18T11:12:01.153Z] b3c136eddcbf: Download complete [2022-07-18T11:12:02.153Z] b3c136eddcbf: Pull complete [2022-07-18T11:12:02.434Z] 329c88fbcd65: Verifying Checksum [2022-07-18T11:12:02.434Z] 329c88fbcd65: Download complete [2022-07-18T11:12:02.710Z] c0a3192eca97: Pull complete [2022-07-18T11:12:02.986Z] a050256f5b6f: Pull complete [2022-07-18T11:12:03.583Z] 8a5474983e97: Download complete [2022-07-18T11:12:04.181Z] 656be50a0ddc: Verifying Checksum [2022-07-18T11:12:04.181Z] 656be50a0ddc: Download complete [2022-07-18T11:12:19.293Z] 656be50a0ddc: Pull complete [2022-07-18T11:12:19.293Z] 2bbca73fdf42: Pull complete [2022-07-18T11:12:19.293Z] 46d945488cbd: Pull complete [2022-07-18T11:12:23.626Z] 8a5474983e97: Pull complete [2022-07-18T11:12:26.263Z] 329c88fbcd65: Pull complete [2022-07-18T11:12:26.263Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-18T11:12:26.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-18T11:12:26.263Z] ---> ff4287adb874 [2022-07-18T11:12:26.263Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T11:12:28.253Z] ---> Running in b4a15f0f9980 [2022-07-18T11:12:28.253Z] Removing intermediate container b4a15f0f9980 [2022-07-18T11:12:28.253Z] ---> 4d903f2ad192 [2022-07-18T11:12:28.253Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T11:12:28.253Z] ---> Running in c46b4db03015 [2022-07-18T11:12:28.854Z] Removing intermediate container c46b4db03015 [2022-07-18T11:12:28.854Z] ---> 76b64c825191 [2022-07-18T11:12:28.854Z] Step 5/12 : WORKDIR /device-virtual-go [2022-07-18T11:12:28.854Z] ---> Running in 52d0b94000e4 [2022-07-18T11:12:29.129Z] Removing intermediate container 52d0b94000e4 [2022-07-18T11:12:29.129Z] ---> 7318208405ea [2022-07-18T11:12:29.129Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T11:12:29.129Z] ---> Running in 30eb30c0ffeb [2022-07-18T11:12:31.114Z] Removing intermediate container 30eb30c0ffeb [2022-07-18T11:12:31.114Z] ---> 46ecff2751c5 [2022-07-18T11:12:31.114Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T11:12:31.114Z] ---> Running in f23e86e1e371 [2022-07-18T11:12:32.100Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T11:12:32.698Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T11:12:33.675Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T11:12:33.675Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T11:12:33.675Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T11:12:33.954Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T11:12:34.228Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T11:12:34.228Z] OK: 226 MiB in 55 packages [2022-07-18T11:12:35.210Z] Removing intermediate container f23e86e1e371 [2022-07-18T11:12:35.210Z] ---> 34af5833f753 [2022-07-18T11:12:35.210Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-18T11:12:35.817Z] ---> 7d9939a56656 [2022-07-18T11:12:35.817Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T11:12:35.818Z] ---> Running in b3a8bdae8900 [2022-07-18T11:13:22.812Z] Removing intermediate container b3a8bdae8900 [2022-07-18T11:13:22.812Z] ---> 6b6223406e90 [2022-07-18T11:13:22.812Z] Step 10/12 : COPY . . [2022-07-18T11:13:22.812Z] ---> e9b30331a969 [2022-07-18T11:13:22.812Z] Step 11/12 : ARG MAKE='make build' [2022-07-18T11:13:22.812Z] ---> Running in e99b5274ba49 [2022-07-18T11:13:22.812Z] Removing intermediate container e99b5274ba49 [2022-07-18T11:13:22.812Z] ---> a50065cc0b77 [2022-07-18T11:13:22.812Z] Step 12/12 : RUN $MAKE [2022-07-18T11:13:22.812Z] ---> Running in bff8f3d14012 [2022-07-18T11:13:22.812Z] noop [2022-07-18T11:13:22.812Z] Removing intermediate container bff8f3d14012 [2022-07-18T11:13:22.812Z] ---> b2baca8b28d5 [2022-07-18T11:13:22.812Z] Successfully built b2baca8b28d5 [2022-07-18T11:13:22.812Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:13:23.305Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T11:13:23.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T11:13:23.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-20398 does not seem to be running inside a container [2022-07-18T11:13:23.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-18T11:13:25.008Z] $ docker top 007d9866f57437b8d294fd15b4f16b45b6631b1e2f9425144e15a0418c8f20f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T11:13:25.947Z] + go version [2022-07-18T11:13:25.947Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-18T11:13:25.986Z] $ docker stop --time=1 007d9866f57437b8d294fd15b4f16b45b6631b1e2f9425144e15a0418c8f20f1 [2022-07-18T11:13:27.604Z] $ docker rm -f 007d9866f57437b8d294fd15b4f16b45b6631b1e2f9425144e15a0418c8f20f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:13:28.546Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T11:13:28.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T11:13:28.872Z] prd-ubuntu20.04-docker-arm64-4c-16g-20398 does not seem to be running inside a container [2022-07-18T11:13:28.956Z] $ 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 ******** ci-base-image-arm64 cat [2022-07-18T11:13:30.192Z] $ docker top 1ec0c2caf8f4da54651b45b9c44cef30992858d6caa5f0792c59c4b60fa9f86b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T11:13:31.173Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-18T11:13:31.906Z] + make test [2022-07-18T11:13:31.906Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-18T11:13:33.352Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-07-18T11:14:55.189Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-07-18T11:14:55.189Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.128s coverage: 65.7% of statements [2022-07-18T11:14:55.189Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-18T11:14:55.189Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T11:15:10.330Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T11:15:10.330Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T11:15:10.330Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T11:15:10.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T11:15:10.407Z] $ docker stop --time=1 1ec0c2caf8f4da54651b45b9c44cef30992858d6caa5f0792c59c4b60fa9f86b [2022-07-18T11:15:12.182Z] $ docker rm -f 1ec0c2caf8f4da54651b45b9c44cef30992858d6caa5f0792c59c4b60fa9f86b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T11:15:13.196Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T11:15:13.229Z] Warning: overwriting stash ‘coverage-report’ [2022-07-18T11:15:13.684Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T11:15:14.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T11:15:14.655Z] + ls -al . [2022-07-18T11:15:14.655Z] total 188 [2022-07-18T11:15:14.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 11:13 . [2022-07-18T11:15:14.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 11:11 .. [2022-07-18T11:15:14.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 11:11 .git [2022-07-18T11:15:14.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 11:11 .github [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 337 Jul 18 11:11 .gitignore [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 11:11 .golangci.yml [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jul 18 11:11 Attribution.txt [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jul 18 11:11 CHANGELOG.md [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 1978 Jul 18 11:11 Dockerfile [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 11:11 GOVERNANCE.md [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 11:11 Jenkinsfile [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 11:11 LICENSE [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jul 18 11:11 Makefile [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 18 11:11 OWNERS.md [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jul 18 11:11 README.md [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 11:09 VERSION [2022-07-18T11:15:14.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 11:11 bin [2022-07-18T11:15:14.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 11:11 cmd [2022-07-18T11:15:14.655Z] -rw-r--r-- 1 jenkins jenkins 44128 Jul 18 11:14 coverage.out [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 3191 Jul 18 11:11 go.mod [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 34839 Jul 18 11:11 go.sum [2022-07-18T11:15:14.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 11:11 internal [2022-07-18T11:15:14.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 11:11 snap [2022-07-18T11:15:14.655Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 18 11:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:15:15.095Z] + 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=45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 --label arch=arm64 --label version=0.0.0 . [2022-07-18T11:15:15.367Z] Sending build context to Docker daemon 11.71MB [2022-07-18T11:15:15.643Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T11:15:15.643Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-18T11:15:15.643Z] ---> b2baca8b28d5 [2022-07-18T11:15:15.643Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T11:15:15.643Z] ---> Running in dc0b15947e37 [2022-07-18T11:15:15.923Z] Removing intermediate container dc0b15947e37 [2022-07-18T11:15:15.923Z] ---> 33cdb42afe04 [2022-07-18T11:15:15.923Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T11:15:15.923Z] ---> Running in b8273f33cdeb [2022-07-18T11:15:16.524Z] Removing intermediate container b8273f33cdeb [2022-07-18T11:15:16.524Z] ---> e94503d7c808 [2022-07-18T11:15:16.524Z] Step 5/26 : WORKDIR /device-virtual-go [2022-07-18T11:15:16.524Z] ---> Running in 45f40ebae3f4 [2022-07-18T11:15:16.798Z] Removing intermediate container 45f40ebae3f4 [2022-07-18T11:15:16.798Z] ---> 434b3f8d7dae [2022-07-18T11:15:16.798Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T11:15:16.798Z] ---> Running in e57261bede96 [2022-07-18T11:15:18.777Z] Removing intermediate container e57261bede96 [2022-07-18T11:15:18.777Z] ---> cfc0101ba720 [2022-07-18T11:15:18.777Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T11:15:18.777Z] ---> Running in 4a36550ecef3 [2022-07-18T11:15:19.753Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T11:15:20.728Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T11:15:21.326Z] OK: 226 MiB in 55 packages [2022-07-18T11:15:22.307Z] Removing intermediate container 4a36550ecef3 [2022-07-18T11:15:22.307Z] ---> 49d6e607c211 [2022-07-18T11:15:22.307Z] Step 8/26 : COPY go.mod vendor* ./ [2022-07-18T11:15:22.907Z] ---> 019c9c438f81 [2022-07-18T11:15:22.907Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T11:15:22.907Z] ---> Running in 9f03e5e43534 [2022-07-18T11:15:24.892Z] Removing intermediate container 9f03e5e43534 [2022-07-18T11:15:24.892Z] ---> 1a0e1cf12eaf [2022-07-18T11:15:24.892Z] Step 10/26 : COPY . . [2022-07-18T11:15:25.880Z] ---> c6e60007f7b4 [2022-07-18T11:15:25.880Z] Step 11/26 : ARG MAKE='make build' [2022-07-18T11:15:26.159Z] ---> Running in ae47d64fad18 [2022-07-18T11:15:26.433Z] Removing intermediate container ae47d64fad18 [2022-07-18T11:15:26.433Z] ---> f5b51c2264c6 [2022-07-18T11:15:26.433Z] Step 12/26 : RUN $MAKE [2022-07-18T11:15:26.433Z] ---> Running in af716004b646 [2022-07-18T11:15:27.424Z] 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-07-18T11:17:34.360Z] Removing intermediate container af716004b646 [2022-07-18T11:17:34.361Z] ---> 971d74f7277b [2022-07-18T11:17:34.361Z] Step 13/26 : FROM alpine:3.16 [2022-07-18T11:17:34.361Z] 3.16: Pulling from library/alpine [2022-07-18T11:17:34.361Z] b3c136eddcbf: Already exists [2022-07-18T11:17:34.361Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-18T11:17:34.361Z] Status: Downloaded newer image for alpine:3.16 [2022-07-18T11:17:34.361Z] ---> 6e30ab57aeee [2022-07-18T11:17:34.361Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-07-18T11:17:34.361Z] ---> Running in df6f0a1514f2 [2022-07-18T11:17:34.361Z] Removing intermediate container df6f0a1514f2 [2022-07-18T11:17:34.361Z] ---> 4e73c56d97b5 [2022-07-18T11:17:34.361Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T11:17:34.361Z] ---> Running in d7ce87826d49 [2022-07-18T11:17:34.361Z] Removing intermediate container d7ce87826d49 [2022-07-18T11:17:34.361Z] ---> 8c7dedba7e24 [2022-07-18T11:17:34.361Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T11:17:34.361Z] ---> Running in 8c4cf99cf040 [2022-07-18T11:17:34.361Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T11:17:34.361Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T11:17:34.361Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T11:17:34.361Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-18T11:17:34.361Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T11:17:34.361Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-18T11:17:34.361Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T11:17:34.361Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T11:17:34.361Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T11:17:34.361Z] OK: 8 MiB in 20 packages [2022-07-18T11:17:34.361Z] Removing intermediate container 8c4cf99cf040 [2022-07-18T11:17:34.361Z] ---> 3ca5dec720ca [2022-07-18T11:17:34.361Z] Step 17/26 : WORKDIR / [2022-07-18T11:17:34.361Z] ---> Running in 14b154b04a28 [2022-07-18T11:17:34.361Z] Removing intermediate container 14b154b04a28 [2022-07-18T11:17:34.361Z] ---> 7a30c16bba74 [2022-07-18T11:17:34.361Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-07-18T11:17:34.361Z] ---> 77a3512304db [2022-07-18T11:17:34.361Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-07-18T11:17:34.962Z] ---> c8dd8a33571e [2022-07-18T11:17:34.962Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-07-18T11:17:36.407Z] ---> 9117fb0e4fea [2022-07-18T11:17:36.407Z] Step 21/26 : EXPOSE 59900 [2022-07-18T11:17:36.407Z] ---> Running in b0f727162978 [2022-07-18T11:17:36.682Z] Removing intermediate container b0f727162978 [2022-07-18T11:17:36.682Z] ---> 7cc873464719 [2022-07-18T11:17:36.682Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-07-18T11:17:36.682Z] ---> Running in 1f265fbcb3e5 [2022-07-18T11:17:36.957Z] Removing intermediate container 1f265fbcb3e5 [2022-07-18T11:17:36.957Z] ---> b6a0f527d73c [2022-07-18T11:17:36.957Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T11:17:37.235Z] ---> Running in 871c78ea20ef [2022-07-18T11:17:37.513Z] Removing intermediate container 871c78ea20ef [2022-07-18T11:17:37.513Z] ---> f61cae75ab6a [2022-07-18T11:17:37.513Z] Step 24/26 : LABEL arch=arm64 [2022-07-18T11:17:37.513Z] ---> Running in dc634fea888f [2022-07-18T11:17:37.790Z] Removing intermediate container dc634fea888f [2022-07-18T11:17:37.790Z] ---> 6ef8835c7b9b [2022-07-18T11:17:37.790Z] Step 25/26 : LABEL git_sha=45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 [2022-07-18T11:17:37.790Z] ---> Running in 843ff496ebfc [2022-07-18T11:17:38.067Z] Removing intermediate container 843ff496ebfc [2022-07-18T11:17:38.067Z] ---> 115d134564e4 [2022-07-18T11:17:38.067Z] Step 26/26 : LABEL version=0.0.0 [2022-07-18T11:17:38.350Z] ---> Running in e4cb6167ee77 [2022-07-18T11:17:38.624Z] Removing intermediate container e4cb6167ee77 [2022-07-18T11:17:38.624Z] ---> 4377f8cf138b [2022-07-18T11:17:38.624Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T11:17:38.624Z] Successfully built 4377f8cf138b [2022-07-18T11:17:38.624Z] 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-07-18T11:17:39.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T11:17:39.414Z] [2022-07-18T11:17:39.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:17:39.901Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T11:17:39.901Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-18T11:17:39.901Z] 8998bd30e6a1: Pulling fs layer [2022-07-18T11:17:39.901Z] 04944245beec: Pulling fs layer [2022-07-18T11:17:39.901Z] 699f458cf7ca: Pulling fs layer [2022-07-18T11:17:39.901Z] 765212b225bb: Pulling fs layer [2022-07-18T11:17:39.901Z] f23df028b6ca: Pulling fs layer [2022-07-18T11:17:39.901Z] d65c8cfc05b1: Pulling fs layer [2022-07-18T11:17:39.901Z] 2437ff75d9bd: Pulling fs layer [2022-07-18T11:17:39.901Z] f23df028b6ca: Waiting [2022-07-18T11:17:39.901Z] d65c8cfc05b1: Waiting [2022-07-18T11:17:39.901Z] 2437ff75d9bd: Waiting [2022-07-18T11:17:39.901Z] 765212b225bb: Waiting [2022-07-18T11:17:40.177Z] 04944245beec: Verifying Checksum [2022-07-18T11:17:40.177Z] 04944245beec: Download complete [2022-07-18T11:17:40.177Z] 765212b225bb: Verifying Checksum [2022-07-18T11:17:40.177Z] 765212b225bb: Download complete [2022-07-18T11:17:40.177Z] f23df028b6ca: Verifying Checksum [2022-07-18T11:17:40.177Z] f23df028b6ca: Download complete [2022-07-18T11:17:40.178Z] d65c8cfc05b1: Verifying Checksum [2022-07-18T11:17:40.178Z] d65c8cfc05b1: Download complete [2022-07-18T11:17:40.470Z] 699f458cf7ca: Verifying Checksum [2022-07-18T11:17:40.470Z] 699f458cf7ca: Download complete [2022-07-18T11:17:40.752Z] 8998bd30e6a1: Verifying Checksum [2022-07-18T11:17:40.752Z] 8998bd30e6a1: Download complete [2022-07-18T11:17:43.380Z] 2437ff75d9bd: Verifying Checksum [2022-07-18T11:17:43.380Z] 2437ff75d9bd: Download complete [2022-07-18T11:17:45.367Z] 8998bd30e6a1: Pull complete [2022-07-18T11:17:45.641Z] 04944245beec: Pull complete [2022-07-18T11:17:47.083Z] 699f458cf7ca: Pull complete [2022-07-18T11:17:47.360Z] 765212b225bb: Pull complete [2022-07-18T11:17:48.343Z] f23df028b6ca: Pull complete [2022-07-18T11:17:48.343Z] d65c8cfc05b1: Pull complete [2022-07-18T11:18:03.453Z] 2437ff75d9bd: Pull complete [2022-07-18T11:18:03.453Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-18T11:18:03.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T11:18:03.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T11:18:03.856Z] prd-ubuntu20.04-docker-arm64-4c-16g-20398 does not seem to be running inside a container [2022-07-18T11:18:03.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-18T11:18:06.581Z] $ docker top 532248524dc67f97876581b51bd2b1dee2203568a36087c66adc0d4a29319c49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:18:07.572Z] ---> job-cost.sh [2022-07-18T11:18:07.572Z] lf-activate-venv: SKIPPING [2022-07-18T11:18:07.572Z] INFO: No Stack... [2022-07-18T11:18:07.846Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-18T11:18:08.822Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T11:18:09.504Z] + + catcut -d, -f6 [2022-07-18T11:18:09.504Z] /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2022-07-18T11:18:09.585Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-296-1-stack-cost] [2022-07-18T11:18:09.590Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-296-1-stack-cost] did not exist. Created. [2022-07-18T11:18:09.590Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-296-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T11:18:10.335Z] /w/workspace/device-virtual-go/1@tmp/durable-3a41158c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-18T11:18:11.034Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-18T11:18:11.073Z] Warning: overwriting stash ‘stack-cost’ [2022-07-18T11:18:11.116Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T11:18:11.133Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-296-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T11:18:11.231Z] $ docker stop --time=1 532248524dc67f97876581b51bd2b1dee2203568a36087c66adc0d4a29319c49 [2022-07-18T11:18:12.700Z] $ docker rm -f 532248524dc67f97876581b51bd2b1dee2203568a36087c66adc0d4a29319c49 [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-07-18T11:18:13.785Z] provisioning config files... [2022-07-18T11:18:13.793Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-296@tmp/config6450453144124832528tmp [Pipeline] { [Pipeline] sh [2022-07-18T11:18:14.130Z] + set +x [2022-07-18T11:18:14.130Z] + curl -s https://codecov.io/bash [2022-07-18T11:18:14.130Z] + bash -s -- [2022-07-18T11:18:14.130Z] [2022-07-18T11:18:14.130Z] _____ _ [2022-07-18T11:18:14.130Z] / ____| | | [2022-07-18T11:18:14.130Z] | | ___ __| | ___ ___ _____ __ [2022-07-18T11:18:14.130Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-18T11:18:14.130Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-18T11:18:14.130Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-18T11:18:14.130Z] Bash-1.0.6 [2022-07-18T11:18:14.130Z] [2022-07-18T11:18:14.130Z] [2022-07-18T11:18:14.130Z] ==> git version 2.25.1 found [2022-07-18T11:18:14.130Z] ==> 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-07-18T11:18:14.130Z] Release-Date: 2020-01-08 [2022-07-18T11:18:14.130Z] 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-07-18T11:18:14.130Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-18T11:18:14.130Z] ==> Jenkins CI detected. [2022-07-18T11:18:14.130Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-296 [2022-07-18T11:18:14.130Z] project root: . [2022-07-18T11:18:14.130Z] --> token set from env [2022-07-18T11:18:14.130Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-18T11:18:14.130Z] ==> Running gcov in . (disable via -X gcov) [2022-07-18T11:18:14.130Z] ==> Python coveragepy not found [2022-07-18T11:18:14.130Z] ==> Searching for coverage reports in: [2022-07-18T11:18:14.130Z] + . [2022-07-18T11:18:14.130Z] -> Found 1 reports [2022-07-18T11:18:14.130Z] ==> Detecting git/mercurial file structure [2022-07-18T11:18:14.130Z] ==> Reading reports [2022-07-18T11:18:14.130Z] + ./coverage.out bytes=44128 [2022-07-18T11:18:14.130Z] ==> Appending adjustments [2022-07-18T11:18:14.130Z] https://docs.codecov.io/docs/fixing-reports [2022-07-18T11:18:14.393Z] + Found adjustments [2022-07-18T11:18:14.393Z] ==> Gzipping contents [2022-07-18T11:18:14.393Z] 8.0K /tmp/codecov.ZpPDGO.gz [2022-07-18T11:18:14.393Z] ==> Uploading reports [2022-07-18T11:18:14.393Z] url: https://codecov.io [2022-07-18T11:18:14.393Z] query: branch=PR-296&commit=45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-296%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=296&job=&cmd_args= [2022-07-18T11:18:14.393Z] -> Pinging Codecov [2022-07-18T11:18:14.393Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-296&commit=45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-296%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=296&job=&cmd_args= [2022-07-18T11:18:14.654Z] -> Uploading to [2022-07-18T11:18:14.654Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-18/5E52B4B073DB2E39498172D8E973AA87/45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7/cd826199-56c4-414b-8af9-d1c427838c3f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T111814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ffb660f3c46a221aeda79946e23e3c0d6c49d99fba1e86e3c10d3ec483546b87 [2022-07-18T11:18:14.654Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T11:18:14.654Z] Dload Upload Total Spent Left Speed [2022-07-18T11:18:14.917Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5497 0 0 100 5497 0 23900 --:--:-- --:--:-- --:--:-- 23796 [2022-07-18T11:18:14.917Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/45ffb1cfdb796f0794f1c189e9f1ffaf6bff9fe7 [Pipeline] } [2022-07-18T11:18:14.945Z] 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-07-18T11:18:16.677Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-296/archives ] [2022-07-18T11:18:16.677Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-296/archives [2022-07-18T11:18:16.677Z] total 16 [2022-07-18T11:18:16.677Z] drwxr-xr-x 3 root root 4096 Jul 18 11:11 . [2022-07-18T11:18:16.677Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 11:11 .. [2022-07-18T11:18:16.677Z] drwxr-xr-x 2 root root 4096 Jul 18 11:11 cost [2022-07-18T11:18:16.677Z] -rw-r--r-- 1 root root 88 Jul 18 11:11 cost.csv [2022-07-18T11:18:16.677Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-296/archives [2022-07-18T11:18:16.677Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-296/archives [2022-07-18T11:18:16.677Z] total 16 [2022-07-18T11:18:16.677Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 11:11 . [2022-07-18T11:18:16.677Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 11:11 .. [2022-07-18T11:18:16.677Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 11:11 cost [2022-07-18T11:18:16.677Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 18 11:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:18:17.013Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:18:17.907Z] ---> package-listing.sh [2022-07-18T11:18:17.908Z] ++ facter osfamily [2022-07-18T11:18:17.908Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-18T11:18:18.168Z] + OS_FAMILY=debian [2022-07-18T11:18:18.168Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-296 [2022-07-18T11:18:18.168Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-18T11:18:18.168Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-18T11:18:18.168Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-18T11:18:18.168Z] + PACKAGES=/tmp/packages_start.txt [2022-07-18T11:18:18.168Z] + '[' /w/workspace/foundry_device-virtual-go_PR-296 ']' [2022-07-18T11:18:18.168Z] + PACKAGES=/tmp/packages_end.txt [2022-07-18T11:18:18.168Z] + case "${OS_FAMILY}" in [2022-07-18T11:18:18.168Z] + dpkg -l [2022-07-18T11:18:18.168Z] + grep '^ii' [2022-07-18T11:18:18.168Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-18T11:18:18.168Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-18T11:18:18.168Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-18T11:18:18.168Z] + '[' /w/workspace/foundry_device-virtual-go_PR-296 ']' [2022-07-18T11:18:18.168Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-296/archives/ [2022-07-18T11:18:18.168Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-296/archives/ [Pipeline] echo [2022-07-18T11:18:18.208Z] 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-296/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-18T11:18:18.502Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T11:18:19.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T11:18:19.130Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T11:18:19.288Z] prd-ubuntu20.04-docker-8c-8g-20397 does not seem to be running inside a container [2022-07-18T11:18:19.324Z] $ 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-296/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-296 -v /w/workspace/foundry_device-virtual-go_PR-296:/w/workspace/foundry_device-virtual-go_PR-296:rw,z -v /w/workspace/foundry_device-virtual-go_PR-296@tmp:/w/workspace/foundry_device-virtual-go_PR-296@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-18T11:18:19.570Z] $ docker top 22ea50db142e224f56dc06549aac06f0de7997fef1199a24ac7ac52bd001263c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T11:18:19.975Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-18T11:18:20.284Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-18T11:18:20.602Z] + ls /var/log/sa-host [2022-07-18T11:18:20.602Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T11:18:20.790Z] provisioning config files... [2022-07-18T11:18:20.799Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-296@tmp/config2126483006406530429tmp [Pipeline] { [Pipeline] echo [2022-07-18T11:18:20.849Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:18:21.163Z] ---> create-netrc.sh [Pipeline] } [2022-07-18T11:18:21.189Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:18:21.584Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-18T11:18:21.620Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:18:21.936Z] ---> sudo-logs.sh [2022-07-18T11:18:21.937Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-18T11:18:22.025Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:18:22.335Z] ---> job-cost.sh [2022-07-18T11:18:22.335Z] lf-activate-venv: SKIPPING [2022-07-18T11:18:22.335Z] DEBUG: total: 0.2199999988079071 [2022-07-18T11:18:22.335Z] INFO: Retrieving Stack Cost... [2022-07-18T11:18:22.905Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T11:18:23.167Z] INFO: Archiving Costs [Pipeline] echo [2022-07-18T11:18:23.207Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T11:18:23.530Z] ---> logs-deploy.sh [2022-07-18T11:18:23.530Z] lf-activate-venv: SKIPPING [2022-07-18T11:18:23.530Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-296/1 [2022-07-18T11:18:23.530Z] INFO: archiving workspace using pattern(s): [2022-07-18T11:18:24.478Z] Archives upload complete. [2022-07-18T11:18:24.739Z] INFO: archiving logs to Nexus [2022-07-18T11:18:25.312Z] ---> uname -a: [2022-07-18T11:18:25.312Z] Linux prd-ubuntu20-04-docker-8c-8g-20397 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-07-18T11:18:25.312Z] [2022-07-18T11:18:25.312Z] [2022-07-18T11:18:25.312Z] ---> lscpu: [2022-07-18T11:18:25.312Z] Architecture: x86_64 [2022-07-18T11:18:25.312Z] CPU op-mode(s): 32-bit, 64-bit [2022-07-18T11:18:25.312Z] Byte Order: Little Endian [2022-07-18T11:18:25.312Z] Address sizes: 40 bits physical, 48 bits virtual [2022-07-18T11:18:25.312Z] CPU(s): 8 [2022-07-18T11:18:25.312Z] On-line CPU(s) list: 0-7 [2022-07-18T11:18:25.312Z] Thread(s) per core: 1 [2022-07-18T11:18:25.312Z] Core(s) per socket: 1 [2022-07-18T11:18:25.312Z] Socket(s): 8 [2022-07-18T11:18:25.312Z] NUMA node(s): 1 [2022-07-18T11:18:25.312Z] Vendor ID: AuthenticAMD [2022-07-18T11:18:25.312Z] CPU family: 23 [2022-07-18T11:18:25.312Z] Model: 49 [2022-07-18T11:18:25.312Z] Model name: AMD EPYC-Rome Processor [2022-07-18T11:18:25.312Z] Stepping: 0 [2022-07-18T11:18:25.312Z] CPU MHz: 2800.000 [2022-07-18T11:18:25.312Z] BogoMIPS: 5600.00 [2022-07-18T11:18:25.312Z] Virtualization: AMD-V [2022-07-18T11:18:25.312Z] Hypervisor vendor: KVM [2022-07-18T11:18:25.312Z] Virtualization type: full [2022-07-18T11:18:25.312Z] L1d cache: 256 KiB [2022-07-18T11:18:25.312Z] L1i cache: 256 KiB [2022-07-18T11:18:25.312Z] L2 cache: 4 MiB [2022-07-18T11:18:25.312Z] L3 cache: 128 MiB [2022-07-18T11:18:25.312Z] NUMA node0 CPU(s): 0-7 [2022-07-18T11:18:25.312Z] Vulnerability Itlb multihit: Not affected [2022-07-18T11:18:25.312Z] Vulnerability L1tf: Not affected [2022-07-18T11:18:25.312Z] Vulnerability Mds: Not affected [2022-07-18T11:18:25.312Z] Vulnerability Meltdown: Not affected [2022-07-18T11:18:25.312Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-07-18T11:18:25.312Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-07-18T11:18:25.312Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-07-18T11:18:25.313Z] Vulnerability Srbds: Not affected [2022-07-18T11:18:25.313Z] Vulnerability Tsx async abort: Not affected [2022-07-18T11:18:25.313Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-07-18T11:18:25.313Z] [2022-07-18T11:18:25.313Z] [2022-07-18T11:18:25.313Z] ---> nproc: [2022-07-18T11:18:25.313Z] 8 [2022-07-18T11:18:25.313Z] [2022-07-18T11:18:25.313Z] [2022-07-18T11:18:25.313Z] ---> df -h: [2022-07-18T11:18:25.313Z] Filesystem Size Used Avail Use% Mounted on [2022-07-18T11:18:25.313Z] overlay 155G 11G 145G 7% / [2022-07-18T11:18:25.313Z] tmpfs 64M 0 64M 0% /dev [2022-07-18T11:18:25.313Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-07-18T11:18:25.313Z] shm 64M 0 64M 0% /dev/shm [2022-07-18T11:18:25.313Z] /dev/vda1 155G 11G 145G 7% /facter-os [2022-07-18T11:18:25.313Z] [2022-07-18T11:18:25.313Z]