Pull request #304 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55c9ed191447c380b145ab73e4237033d9a94992+76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 (3528cd281dacc4fa1fb251b5668ec76c962d3757) 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-ssh525372924830866388.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16843845586276933632.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-304/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-304/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6358234296611306015.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-304/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16024471228058265719.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15801845284574791668.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-304/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-304/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10783601256168507136.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-28946 in /w/workspace/foundry_device-virtual-go_PR-304 [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-304 # 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 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 into PR head commit 55c9ed191447c380b145ab73e4237033d9a94992 Merge succeeded, producing 55c9ed191447c380b145ab73e4237033d9a94992 Checking out Revision 55c9ed191447c380b145ab73e4237033d9a94992 (PR-304) > 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/304/head:refs/remotes/origin/PR-304 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55c9ed191447c380b145ab73e4237033d9a94992 # 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 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55c9ed191447c380b145ab73e4237033d9a94992 # 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 bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-12T11:04:28.256Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-12T11:04:28.427Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-12T11:04:28.532Z] ========================================================= [2022-09-12T11:04:28.532Z] EdgeX Global Pipelines Version Info [2022-09-12T11:04:28.532Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:04:29.734Z] ------------------- [2022-09-12T11:04:29.734Z] stable info: [2022-09-12T11:04:29.734Z] ------------------- [2022-09-12T11:04:29.734Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-12T11:04:29.734Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-12T11:04:29.734Z] Message: update stable to v1.0.239 [2022-09-12T11:04:30.003Z] ------------------- [2022-09-12T11:04:30.003Z] experimental info: [2022-09-12T11:04:30.003Z] ------------------- [2022-09-12T11:04:30.003Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-12T11:04:30.003Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-12T11:04:30.003Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-12T11:04:30.388Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-09-12T11:04:30.429Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-09-12T11:04:30.468Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-12T11:04:30.507Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-12T11:04:30.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-12T11:04:30.582Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-12T11:04:30.622Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-12T11:04:30.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-12T11:04:30.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-12T11:04:30.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-12T11:04:30.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-12T11:04:30.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-09-12T11:04:30.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-12T11:04:30.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-12T11:04:30.966Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-12T11:04:31.010Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-12T11:04:31.050Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-12T11:04:31.095Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-12T11:04:31.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-12T11:04:31.177Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-12T11:04:31.216Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-12T11:04:31.263Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-12T11:04:31.308Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-12T11:04:31.350Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-12T11:04:31.394Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-12T11:04:31.442Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-12T11:04:31.490Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-12T11:04:31.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-304 [Pipeline] echo [2022-09-12T11:04:31.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-304 [Pipeline] echo [2022-09-12T11:04:31.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-304 [Pipeline] echo [2022-09-12T11:04:31.668Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55c9ed191447c380b145ab73e4237033d9a94992 [Pipeline] echo [2022-09-12T11:04:31.712Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55c9ed1 [Pipeline] echo [2022-09-12T11:04:31.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T11:04:31.883Z] provisioning config files... [2022-09-12T11:04:31.901Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-304@tmp/config2007213560727733675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:04:32.278Z] ---> docker-login.sh [2022-09-12T11:04:32.278Z] nexus3.edgexfoundry.org:10001 [2022-09-12T11:04:32.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:04:32.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:04:32.807Z] Configure a credential helper to remove this warning. See [2022-09-12T11:04:32.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:04:32.807Z] [2022-09-12T11:04:32.807Z] Login Succeeded [2022-09-12T11:04:32.807Z] nexus3.edgexfoundry.org:10002 [2022-09-12T11:04:32.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:04:32.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:04:32.807Z] Configure a credential helper to remove this warning. See [2022-09-12T11:04:32.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:04:32.807Z] [2022-09-12T11:04:32.807Z] Login Succeeded [2022-09-12T11:04:32.807Z] nexus3.edgexfoundry.org:10003 [2022-09-12T11:04:33.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:04:33.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:04:33.072Z] Configure a credential helper to remove this warning. See [2022-09-12T11:04:33.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:04:33.072Z] [2022-09-12T11:04:33.072Z] Login Succeeded [2022-09-12T11:04:33.072Z] nexus3.edgexfoundry.org:10004 [2022-09-12T11:04:33.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:04:33.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:04:33.334Z] Configure a credential helper to remove this warning. See [2022-09-12T11:04:33.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:04:33.334Z] [2022-09-12T11:04:33.334Z] Login Succeeded [2022-09-12T11:04:33.334Z] docker.io [2022-09-12T11:04:33.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:04:33.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:04:33.597Z] Configure a credential helper to remove this warning. See [2022-09-12T11:04:33.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:04:33.597Z] [2022-09-12T11:04:33.597Z] Login Succeeded [2022-09-12T11:04:33.597Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T11:04:33.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-12T11:04:34.252Z] + git rev-list -1 --merges 55c9ed191447c380b145ab73e4237033d9a94992~1..55c9ed191447c380b145ab73e4237033d9a94992 [Pipeline] echo [2022-09-12T11:04:34.298Z] -----------> git rev-list -1 --merges 55c9ed191447c380b145ab73e4237033d9a94992~1..55c9ed191447c380b145ab73e4237033d9a94992 55c9ed191447c380b145ab73e4237033d9a94992 [false] [Pipeline] sh [2022-09-12T11:04:34.612Z] + git log --format=format:%s -1 55c9ed191447c380b145ab73e4237033d9a94992 [Pipeline] echo [2022-09-12T11:04:34.646Z] ========================================================= [2022-09-12T11:04:34.647Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-12T11:04:34.647Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T11:04:35.090Z] + git log --format=format:%s -1 55c9ed191447c380b145ab73e4237033d9a94992 [Pipeline] echo [2022-09-12T11:04:35.126Z] [semverPrep] GIT_COMMIT: 55c9ed191447c380b145ab73e4237033d9a94992, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-12T11:04:35.155Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-12T11:04:35.546Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-12T11:04:35.546Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-12T11:04:35.546Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-12T11:04:35.546Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-12T11:04:35.546Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-12T11:04:35.546Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-12T11:04:35.546Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:04:36.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T11:04:36.044Z] [2022-09-12T11:04:36.044Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:04:36.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T11:04:36.425Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-12T11:04:36.425Z] b85a868b505f: Pulling fs layer [2022-09-12T11:04:36.425Z] e2be974225ed: Pulling fs layer [2022-09-12T11:04:36.425Z] 339a4e72a1f5: Pulling fs layer [2022-09-12T11:04:36.425Z] 988bab9f4d93: Pulling fs layer [2022-09-12T11:04:36.425Z] 1469e6f7b9e6: Pulling fs layer [2022-09-12T11:04:36.425Z] 988bab9f4d93: Waiting [2022-09-12T11:04:36.425Z] 1469e6f7b9e6: Waiting [2022-09-12T11:04:36.425Z] eaf3925da568: Pulling fs layer [2022-09-12T11:04:36.425Z] bab4dde63d76: Pulling fs layer [2022-09-12T11:04:36.425Z] bde34c3a00c8: Pulling fs layer [2022-09-12T11:04:36.425Z] b352a97aabf1: Pulling fs layer [2022-09-12T11:04:36.425Z] 4872d77fe225: Pulling fs layer [2022-09-12T11:04:36.425Z] 5851b861e8e6: Pulling fs layer [2022-09-12T11:04:36.425Z] eaf3925da568: Waiting [2022-09-12T11:04:36.425Z] bde34c3a00c8: Waiting [2022-09-12T11:04:36.425Z] b352a97aabf1: Waiting [2022-09-12T11:04:36.425Z] bab4dde63d76: Waiting [2022-09-12T11:04:36.425Z] 4872d77fe225: Waiting [2022-09-12T11:04:36.425Z] 5851b861e8e6: Waiting [2022-09-12T11:04:36.425Z] e2be974225ed: Download complete [2022-09-12T11:04:36.425Z] 988bab9f4d93: Download complete [2022-09-12T11:04:36.688Z] 339a4e72a1f5: Verifying Checksum [2022-09-12T11:04:36.688Z] 339a4e72a1f5: Download complete [2022-09-12T11:04:36.688Z] 1469e6f7b9e6: Verifying Checksum [2022-09-12T11:04:36.688Z] 1469e6f7b9e6: Download complete [2022-09-12T11:04:36.688Z] eaf3925da568: Verifying Checksum [2022-09-12T11:04:36.688Z] eaf3925da568: Download complete [2022-09-12T11:04:36.688Z] bde34c3a00c8: Download complete [2022-09-12T11:04:36.688Z] b352a97aabf1: Download complete [2022-09-12T11:04:36.688Z] 4872d77fe225: Verifying Checksum [2022-09-12T11:04:36.688Z] 4872d77fe225: Download complete [2022-09-12T11:04:36.688Z] 5851b861e8e6: Download complete [2022-09-12T11:04:36.688Z] b85a868b505f: Verifying Checksum [2022-09-12T11:04:36.688Z] b85a868b505f: Download complete [2022-09-12T11:04:36.947Z] bab4dde63d76: Verifying Checksum [2022-09-12T11:04:38.329Z] b85a868b505f: Pull complete [2022-09-12T11:04:38.329Z] e2be974225ed: Pull complete [2022-09-12T11:04:38.900Z] 339a4e72a1f5: Pull complete [2022-09-12T11:04:38.900Z] 988bab9f4d93: Pull complete [2022-09-12T11:04:39.473Z] 1469e6f7b9e6: Pull complete [2022-09-12T11:04:39.473Z] eaf3925da568: Pull complete [2022-09-12T11:04:41.385Z] bab4dde63d76: Pull complete [2022-09-12T11:04:41.648Z] bde34c3a00c8: Pull complete [2022-09-12T11:04:41.648Z] b352a97aabf1: Pull complete [2022-09-12T11:04:41.648Z] 4872d77fe225: Pull complete [2022-09-12T11:04:41.913Z] 5851b861e8e6: Pull complete [2022-09-12T11:04:41.913Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-12T11:04:41.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-12T11:04:41.913Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T11:04:42.152Z] prd-ubuntu20.04-docker-8c-8g-28946 does not seem to be running inside a container [2022-09-12T11:04:42.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-304 -v /w/workspace/foundry_device-virtual-go_PR-304:/w/workspace/foundry_device-virtual-go_PR-304:rw,z -v /w/workspace/foundry_device-virtual-go_PR-304@tmp:/w/workspace/foundry_device-virtual-go_PR-304@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-09-12T11:04:43.590Z] $ docker top 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af -eo pid,comm [2022-09-12T11:04:43.659Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-12T11:04:43.659Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-12T11:04:43.793Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-12T11:04:43.793Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-12T11:04:43.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-12T11:04:43.953Z] $ docker exec 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af ssh-agent [2022-09-12T11:04:44.098Z] SSH_AUTH_SOCK=/tmp/ssh-PVKimGzMGBes/agent.32 [2022-09-12T11:04:44.098Z] SSH_AGENT_PID=39 [2022-09-12T11:04:44.105Z] Running ssh-add (command line suppressed) [2022-09-12T11:04:44.238Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-304@tmp/private_key_6478266962972341508.key (/w/workspace/foundry_device-virtual-go_PR-304@tmp/private_key_6478266962972341508.key) [2022-09-12T11:04:44.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-12T11:04:44.600Z] + git tag --points-at HEAD [Pipeline] } [2022-09-12T11:04:44.633Z] $ docker exec --env ******** --env ******** 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af ssh-agent -k [2022-09-12T11:04:44.743Z] unset SSH_AUTH_SOCK; [2022-09-12T11:04:44.743Z] unset SSH_AGENT_PID; [2022-09-12T11:04:44.743Z] echo Agent pid 39 killed; [2022-09-12T11:04:44.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-12T11:04:44.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-12T11:04:44.852Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-12T11:04:44.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-12T11:04:44.999Z] $ docker exec 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af ssh-agent [2022-09-12T11:04:45.131Z] SSH_AUTH_SOCK=/tmp/ssh-1J7dFnQeN9g7/agent.71 [2022-09-12T11:04:45.131Z] SSH_AGENT_PID=77 [2022-09-12T11:04:45.137Z] Running ssh-add (command line suppressed) [2022-09-12T11:04:45.269Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-304@tmp/private_key_3390116241497911083.key (/w/workspace/foundry_device-virtual-go_PR-304@tmp/private_key_3390116241497911083.key) [2022-09-12T11:04:45.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-12T11:04:45.621Z] + git semver init [2022-09-12T11:04:45.883Z] 2022-09-12 11:04:45,838 [run_init] DEBUG init version:0.0.0 force:False [2022-09-12T11:04:45.883Z] 2022-09-12 11:04:45,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-304/.semver [2022-09-12T11:04:45.883Z] 2022-09-12 11:04:45,840 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-304/.semver [2022-09-12T11:04:45.883Z] 2022-09-12 11:04:45,840 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-304/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-304, universal_newlines=False, shell=None, istream=None) [2022-09-12T11:04:47.273Z] 2022-09-12 11:04:46,942 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-304/.git/info/exclude [2022-09-12T11:04:47.273Z] 2022-09-12 11:04:46,943 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-304/.semver/PR-304 with force:False [2022-09-12T11:04:47.273Z] 2022-09-12 11:04:46,943 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-304/.semver/PR-304 [2022-09-12T11:04:47.273Z] 2022-09-12 11:04:46,948 [execute] INFO git cat-file --batch-check [2022-09-12T11:04:47.273Z] 2022-09-12 11:04:46,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-304/.semver, universal_newlines=False, shell=None, istream=) [2022-09-12T11:04:47.273Z] 2022-09-12 11:04:46,956 [execute] INFO git cat-file --batch [2022-09-12T11:04:47.273Z] 2022-09-12 11:04:46,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-304/.semver, universal_newlines=False, shell=None, istream=) [2022-09-12T11:04:47.273Z] 2022-09-12 11:04:46,962 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-304/.semver/PR-304 [2022-09-12T11:04:47.273Z] 0.0.0 [Pipeline] } [2022-09-12T11:04:47.298Z] $ docker exec --env ******** --env ******** 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af ssh-agent -k [2022-09-12T11:04:47.427Z] unset SSH_AUTH_SOCK; [2022-09-12T11:04:47.428Z] unset SSH_AGENT_PID; [2022-09-12T11:04:47.428Z] echo Agent pid 77 killed; [2022-09-12T11:04:47.437Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-12T11:04:47.866Z] + git semver [Pipeline] } [2022-09-12T11:04:48.158Z] $ docker stop --time=1 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af [2022-09-12T11:04:49.487Z] $ docker rm -f 4229d7c86ea3b0069afc291d7702adfb5e9df779ac705302c61a9005bddb97af [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T11:04:49.901Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-12T11:04:50.224Z] Stashed 1 file(s) [Pipeline] echo [2022-09-12T11:04:50.242Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T11:04:50.832Z] provisioning config files... [2022-09-12T11:04:50.843Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-304@tmp/config2170540356079854344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:04:51.195Z] ---> docker-login.sh [2022-09-12T11:04:51.195Z] nexus3.edgexfoundry.org:10001 [2022-09-12T11:04:51.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:04:51.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:04:51.195Z] Configure a credential helper to remove this warning. See [2022-09-12T11:04:51.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:04:51.195Z] [2022-09-12T11:04:51.195Z] Login Succeeded [2022-09-12T11:04:51.195Z] nexus3.edgexfoundry.org:10002 [2022-09-12T11:04:51.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:04:51.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:04:51.456Z] Configure a credential helper to remove this warning. See [2022-09-12T11:04:51.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:04:51.456Z] [2022-09-12T11:04:51.456Z] Login Succeeded [2022-09-12T11:04:51.456Z] nexus3.edgexfoundry.org:10003 [2022-09-12T11:04:51.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:04:51.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:04:51.456Z] Configure a credential helper to remove this warning. See [2022-09-12T11:04:51.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:04:51.456Z] [2022-09-12T11:04:51.456Z] Login Succeeded [2022-09-12T11:04:51.456Z] nexus3.edgexfoundry.org:10004 [2022-09-12T11:04:51.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:04:51.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:04:51.716Z] Configure a credential helper to remove this warning. See [2022-09-12T11:04:51.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:04:51.716Z] [2022-09-12T11:04:51.716Z] Login Succeeded [2022-09-12T11:04:51.716Z] docker.io [2022-09-12T11:04:51.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:04:51.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:04:51.977Z] Configure a credential helper to remove this warning. See [2022-09-12T11:04:51.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:04:51.977Z] [2022-09-12T11:04:51.977Z] Login Succeeded [2022-09-12T11:04:51.977Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T11:04:52.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-12T11:04:52.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T11:04:52.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T11:04:52.263Z] ========================================================= [2022-09-12T11:04:52.263Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-12T11:04:52.263Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:04:52.734Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-12T11:04:52.734Z] Sending build context to Docker daemon 23.13MB [2022-09-12T11:04:52.734Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T11:04:52.734Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-12T11:04:52.996Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-12T11:04:52.996Z] 2408cc74d12b: Pulling fs layer [2022-09-12T11:04:52.996Z] ea60b727a1ce: Pulling fs layer [2022-09-12T11:04:52.996Z] 30c4a7721957: Pulling fs layer [2022-09-12T11:04:52.996Z] 370296b7ddb6: Pulling fs layer [2022-09-12T11:04:52.996Z] 7c6cee850709: Pulling fs layer [2022-09-12T11:04:52.996Z] 39a5fcdaea64: Pulling fs layer [2022-09-12T11:04:52.996Z] d94ebbe4e438: Pulling fs layer [2022-09-12T11:04:52.996Z] bcfd1f05c69d: Pulling fs layer [2022-09-12T11:04:52.996Z] 59ccb84bbe0f: Pulling fs layer [2022-09-12T11:04:52.996Z] 39a5fcdaea64: Waiting [2022-09-12T11:04:52.996Z] d94ebbe4e438: Waiting [2022-09-12T11:04:52.996Z] bcfd1f05c69d: Waiting [2022-09-12T11:04:52.996Z] 59ccb84bbe0f: Waiting [2022-09-12T11:04:52.996Z] 370296b7ddb6: Waiting [2022-09-12T11:04:52.996Z] 7c6cee850709: Waiting [2022-09-12T11:04:52.996Z] 30c4a7721957: Verifying Checksum [2022-09-12T11:04:52.996Z] 30c4a7721957: Download complete [2022-09-12T11:04:52.996Z] ea60b727a1ce: Verifying Checksum [2022-09-12T11:04:52.996Z] ea60b727a1ce: Download complete [2022-09-12T11:04:52.996Z] 7c6cee850709: Verifying Checksum [2022-09-12T11:04:52.996Z] 7c6cee850709: Download complete [2022-09-12T11:04:52.996Z] 39a5fcdaea64: Verifying Checksum [2022-09-12T11:04:52.996Z] 39a5fcdaea64: Download complete [2022-09-12T11:04:52.996Z] 2408cc74d12b: Download complete [2022-09-12T11:04:52.996Z] d94ebbe4e438: Download complete [2022-09-12T11:04:53.261Z] 2408cc74d12b: Pull complete [2022-09-12T11:04:53.261Z] ea60b727a1ce: Pull complete [2022-09-12T11:04:53.531Z] 30c4a7721957: Pull complete [2022-09-12T11:04:53.531Z] 59ccb84bbe0f: Verifying Checksum [2022-09-12T11:04:53.531Z] 59ccb84bbe0f: Download complete [2022-09-12T11:04:53.795Z] bcfd1f05c69d: Verifying Checksum [2022-09-12T11:04:53.795Z] bcfd1f05c69d: Download complete [2022-09-12T11:04:53.795Z] 370296b7ddb6: Verifying Checksum [2022-09-12T11:04:53.795Z] 370296b7ddb6: Download complete [2022-09-12T11:04:57.999Z] 370296b7ddb6: Pull complete [2022-09-12T11:04:58.259Z] 7c6cee850709: Pull complete [2022-09-12T11:04:58.259Z] 39a5fcdaea64: Pull complete [2022-09-12T11:04:58.259Z] d94ebbe4e438: Pull complete [2022-09-12T11:05:00.799Z] bcfd1f05c69d: Pull complete [2022-09-12T11:05:01.370Z] 59ccb84bbe0f: Pull complete [2022-09-12T11:05:01.370Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-12T11:05:01.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-12T11:05:01.370Z] ---> a4fb48ad2a94 [2022-09-12T11:05:01.370Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T11:05:03.287Z] ---> Running in a58a62f92ec6 [2022-09-12T11:05:03.287Z] Removing intermediate container a58a62f92ec6 [2022-09-12T11:05:03.287Z] ---> 2da5eaf6c2ad [2022-09-12T11:05:03.287Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T11:05:03.287Z] ---> Running in ae126cf22764 [2022-09-12T11:05:03.287Z] Removing intermediate container ae126cf22764 [2022-09-12T11:05:03.287Z] ---> 2aee1aa9fd72 [2022-09-12T11:05:03.287Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-12T11:05:03.287Z] ---> Running in a92ed40dd41b [2022-09-12T11:05:03.548Z] Removing intermediate container a92ed40dd41b [2022-09-12T11:05:03.548Z] ---> 3224b89cf458 [2022-09-12T11:05:03.548Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-12T11:05:03.548Z] ---> Running in 8807e4c364aa [2022-09-12T11:05:03.548Z] Removing intermediate container 8807e4c364aa [2022-09-12T11:05:03.548Z] ---> eb7aa9129b7a [2022-09-12T11:05:03.548Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T11:05:03.548Z] ---> Running in 76aa67ee4e8a [2022-09-12T11:05:04.121Z] Removing intermediate container 76aa67ee4e8a [2022-09-12T11:05:04.121Z] ---> 9737a3f6eda8 [2022-09-12T11:05:04.121Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T11:05:04.121Z] ---> Running in fbce03c357e2 [2022-09-12T11:05:04.694Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T11:05:05.266Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T11:05:05.660Z] Still waiting to schedule task [2022-09-12T11:05:05.660Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-12T11:05:05.838Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-12T11:05:05.838Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-12T11:05:05.838Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-12T11:05:06.100Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-12T11:05:06.100Z] Executing busybox-1.35.0-r13.trigger [2022-09-12T11:05:06.100Z] OK: 216 MiB in 55 packages [2022-09-12T11:05:06.673Z] Removing intermediate container fbce03c357e2 [2022-09-12T11:05:06.673Z] ---> f19b390a3a0c [2022-09-12T11:05:06.673Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-12T11:05:06.674Z] ---> 02a2ff520880 [2022-09-12T11:05:06.674Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T11:05:06.674Z] ---> Running in 3d6f8b85d76a [2022-09-12T11:05:28.661Z] Removing intermediate container 3d6f8b85d76a [2022-09-12T11:05:28.661Z] ---> 6a2259415bff [2022-09-12T11:05:28.661Z] Step 11/13 : COPY . . [2022-09-12T11:05:28.661Z] ---> 5b6e123372e4 [2022-09-12T11:05:28.661Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-12T11:05:28.661Z] ---> Running in 161a87b01d02 [2022-09-12T11:05:28.661Z] Removing intermediate container 161a87b01d02 [2022-09-12T11:05:28.661Z] ---> 5ee27c5cbf82 [2022-09-12T11:05:28.661Z] Step 13/13 : RUN $MAKE [2022-09-12T11:05:28.661Z] ---> Running in 51582b432fc6 [2022-09-12T11:05:28.661Z] noop [2022-09-12T11:05:28.661Z] Removing intermediate container 51582b432fc6 [2022-09-12T11:05:28.661Z] ---> 162cbd4ed1de [2022-09-12T11:05:28.661Z] Successfully built 162cbd4ed1de [2022-09-12T11:05:28.661Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:05:29.102Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-12T11:05:29.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T11:05:29.273Z] prd-ubuntu20.04-docker-8c-8g-28946 does not seem to be running inside a container [2022-09-12T11:05:29.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-304 -v /w/workspace/foundry_device-virtual-go_PR-304:/w/workspace/foundry_device-virtual-go_PR-304:rw,z -v /w/workspace/foundry_device-virtual-go_PR-304@tmp:/w/workspace/foundry_device-virtual-go_PR-304@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-09-12T11:05:29.744Z] $ docker top aa2550d5b56bbb0c99c31f390a2a2014a7b082fae8cfe4bae077f6c66feea333 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T11:05:30.239Z] + go version [2022-09-12T11:05:30.240Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-12T11:05:30.273Z] $ docker stop --time=1 aa2550d5b56bbb0c99c31f390a2a2014a7b082fae8cfe4bae077f6c66feea333 [2022-09-12T11:05:31.579Z] $ docker rm -f aa2550d5b56bbb0c99c31f390a2a2014a7b082fae8cfe4bae077f6c66feea333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:05:32.316Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-12T11:05:32.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T11:05:32.487Z] prd-ubuntu20.04-docker-8c-8g-28946 does not seem to be running inside a container [2022-09-12T11:05:32.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-304 -v /w/workspace/foundry_device-virtual-go_PR-304:/w/workspace/foundry_device-virtual-go_PR-304:rw,z -v /w/workspace/foundry_device-virtual-go_PR-304@tmp:/w/workspace/foundry_device-virtual-go_PR-304@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-09-12T11:05:32.915Z] $ docker top f75fb09c5977d415964693da689b7ef0f14ee8b1e36495fc1b6dc02085ed563e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T11:05:33.327Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-304 [Pipeline] fileExists [Pipeline] sh [2022-09-12T11:05:33.686Z] + make test [2022-09-12T11:05:33.686Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-12T11:05:33.944Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-12T11:05:43.927Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-12T11:05:44.189Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-09-12T11:05:52.324Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-12T11:05:52.324Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-12T11:05:54.232Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-12T11:05:54.232Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-12T11:05:54.232Z] ./bin/test-attribution-txt.sh [2022-09-12T11:05:54.495Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-12T11:05:54.495Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-12T11:05:54.495Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-12T11:05:54.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-12T11:05:54.569Z] $ docker stop --time=1 f75fb09c5977d415964693da689b7ef0f14ee8b1e36495fc1b6dc02085ed563e [2022-09-12T11:05:56.415Z] $ docker rm -f f75fb09c5977d415964693da689b7ef0f14ee8b1e36495fc1b6dc02085ed563e [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T11:05:56.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-12T11:05:56.970Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-12T11:05:57.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-12T11:05:57.976Z] + ls -al . [2022-09-12T11:05:57.976Z] total 192 [2022-09-12T11:05:57.976Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 11:05 . [2022-09-12T11:05:57.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 11:04 .. [2022-09-12T11:05:57.976Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 11:05 .git [2022-09-12T11:05:57.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:04 .github [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 12 11:04 .gitignore [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 11:04 .golangci.yml [2022-09-12T11:05:57.976Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 11:04 .semver [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 8152 Sep 12 11:04 Attribution.txt [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 12 11:04 CHANGELOG.md [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 12 11:04 Dockerfile [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 11:04 GOVERNANCE.md [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 12 11:04 Jenkinsfile [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 11:04 LICENSE [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 12 11:04 Makefile [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 12 11:04 OWNERS.md [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 12 11:04 README.md [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 11:04 VERSION [2022-09-12T11:05:57.976Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 11:04 bin [2022-09-12T11:05:57.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:04 cmd [2022-09-12T11:05:57.976Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 12 11:05 coverage.out [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 3328 Sep 12 11:04 go.mod [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 36202 Sep 12 11:04 go.sum [2022-09-12T11:05:57.976Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:04 internal [2022-09-12T11:05:57.976Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 11:04 snap [2022-09-12T11:05:57.976Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 12 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:05:58.383Z] + 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=55c9ed191447c380b145ab73e4237033d9a94992 --label arch=amd64 --label version=0.0.0 . [2022-09-12T11:05:58.383Z] Sending build context to Docker daemon 23.18MB [2022-09-12T11:05:58.383Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T11:05:58.383Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-12T11:05:58.383Z] ---> 162cbd4ed1de [2022-09-12T11:05:58.383Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T11:05:58.644Z] ---> Running in 32b960fe09ae [2022-09-12T11:05:58.644Z] Removing intermediate container 32b960fe09ae [2022-09-12T11:05:58.644Z] ---> 536b0897a7c5 [2022-09-12T11:05:58.644Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T11:05:58.644Z] ---> Running in 63554a58b7fb [2022-09-12T11:05:58.908Z] Removing intermediate container 63554a58b7fb [2022-09-12T11:05:58.908Z] ---> bfe333a6ff63 [2022-09-12T11:05:58.908Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-12T11:05:58.908Z] ---> Running in e0fadd1d8134 [2022-09-12T11:05:58.908Z] Removing intermediate container e0fadd1d8134 [2022-09-12T11:05:58.908Z] ---> c0888b6fb5da [2022-09-12T11:05:58.908Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-12T11:05:58.908Z] ---> Running in 95c686c6a442 [2022-09-12T11:05:59.168Z] Removing intermediate container 95c686c6a442 [2022-09-12T11:05:59.168Z] ---> b0cf17a53abb [2022-09-12T11:05:59.168Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T11:05:59.168Z] ---> Running in d9cf85cc150b [2022-09-12T11:05:59.739Z] Removing intermediate container d9cf85cc150b [2022-09-12T11:05:59.739Z] ---> a0384e01f128 [2022-09-12T11:05:59.739Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T11:05:59.739Z] ---> Running in ee3db5913023 [2022-09-12T11:06:00.001Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T11:06:00.944Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T11:06:01.216Z] OK: 216 MiB in 55 packages [2022-09-12T11:06:01.477Z] Removing intermediate container ee3db5913023 [2022-09-12T11:06:01.477Z] ---> 1b651a4d4f87 [2022-09-12T11:06:01.477Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-12T11:06:01.736Z] ---> 8f4f96061ff1 [2022-09-12T11:06:01.736Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T11:06:01.736Z] ---> Running in 893919caca07 [2022-09-12T11:06:02.306Z] Removing intermediate container 893919caca07 [2022-09-12T11:06:02.306Z] ---> 7675cdd70408 [2022-09-12T11:06:02.306Z] Step 11/27 : COPY . . [2022-09-12T11:06:02.884Z] ---> 47b88cc0787d [2022-09-12T11:06:02.884Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-12T11:06:02.884Z] ---> Running in 0ae077ea4c1e [2022-09-12T11:06:02.884Z] Removing intermediate container 0ae077ea4c1e [2022-09-12T11:06:02.884Z] ---> 2b9d12a20b16 [2022-09-12T11:06:02.884Z] Step 13/27 : RUN $MAKE [2022-09-12T11:06:02.884Z] ---> Running in 13dc41b5e1e5 [2022-09-12T11:06:03.144Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-09-12T11:06:25.127Z] Removing intermediate container 13dc41b5e1e5 [2022-09-12T11:06:25.127Z] ---> b80bae7c590e [2022-09-12T11:06:25.127Z] Step 14/27 : FROM alpine:3.16 [2022-09-12T11:06:25.127Z] 3.16: Pulling from library/alpine [2022-09-12T11:06:25.127Z] 213ec9aee27d: Pulling fs layer [2022-09-12T11:06:25.127Z] 213ec9aee27d: Verifying Checksum [2022-09-12T11:06:25.127Z] 213ec9aee27d: Download complete [2022-09-12T11:06:25.127Z] 213ec9aee27d: Pull complete [2022-09-12T11:06:25.127Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-12T11:06:25.127Z] Status: Downloaded newer image for alpine:3.16 [2022-09-12T11:06:25.127Z] ---> 9c6f07244728 [2022-09-12T11:06:25.127Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-12T11:06:25.127Z] ---> Running in ff91e33a82ef [2022-09-12T11:06:25.127Z] Removing intermediate container ff91e33a82ef [2022-09-12T11:06:25.127Z] ---> ea2ae155cf97 [2022-09-12T11:06:25.127Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T11:06:25.127Z] ---> Running in 0059208a169b [2022-09-12T11:06:25.127Z] Removing intermediate container 0059208a169b [2022-09-12T11:06:25.127Z] ---> 259141529d1b [2022-09-12T11:06:25.127Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-12T11:06:25.127Z] ---> Running in 9c21984b6c46 [2022-09-12T11:06:25.127Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-12T11:06:25.127Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-12T11:06:25.127Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-12T11:06:25.127Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-12T11:06:25.389Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-12T11:06:25.389Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-12T11:06:25.389Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-12T11:06:25.653Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-12T11:06:25.653Z] Executing busybox-1.35.0-r17.trigger [2022-09-12T11:06:25.653Z] OK: 8 MiB in 20 packages [2022-09-12T11:06:26.228Z] Removing intermediate container 9c21984b6c46 [2022-09-12T11:06:26.228Z] ---> 6d536e0efc9a [2022-09-12T11:06:26.228Z] Step 18/27 : WORKDIR / [2022-09-12T11:06:26.228Z] ---> Running in a392b55a4b96 [2022-09-12T11:06:26.228Z] Removing intermediate container a392b55a4b96 [2022-09-12T11:06:26.228Z] ---> 7976e024aee8 [2022-09-12T11:06:26.228Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-12T11:06:26.228Z] ---> 6644c471efa4 [2022-09-12T11:06:26.228Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-12T11:06:26.489Z] ---> cd9826b3c3a6 [2022-09-12T11:06:26.489Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-12T11:06:27.071Z] ---> 7b2d898e68a7 [2022-09-12T11:06:27.071Z] Step 22/27 : EXPOSE 59900 [2022-09-12T11:06:27.071Z] ---> Running in 5fe244be0f29 [2022-09-12T11:06:27.334Z] Removing intermediate container 5fe244be0f29 [2022-09-12T11:06:27.334Z] ---> 153ac3bed808 [2022-09-12T11:06:27.334Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-12T11:06:27.334Z] ---> Running in bba967754fd7 [2022-09-12T11:06:27.334Z] Removing intermediate container bba967754fd7 [2022-09-12T11:06:27.334Z] ---> aa1daae78499 [2022-09-12T11:06:27.334Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-12T11:06:27.334Z] ---> Running in 4b9d9c80b9ce [2022-09-12T11:06:27.600Z] Removing intermediate container 4b9d9c80b9ce [2022-09-12T11:06:27.600Z] ---> d8520493ab9b [2022-09-12T11:06:27.600Z] Step 25/27 : LABEL arch=amd64 [2022-09-12T11:06:27.600Z] ---> Running in d1d74048b142 [2022-09-12T11:06:27.600Z] Removing intermediate container d1d74048b142 [2022-09-12T11:06:27.600Z] ---> 7fdfeeaa9a83 [2022-09-12T11:06:27.600Z] Step 26/27 : LABEL git_sha=55c9ed191447c380b145ab73e4237033d9a94992 [2022-09-12T11:06:27.600Z] ---> Running in 42848697c0c7 [2022-09-12T11:06:27.862Z] Removing intermediate container 42848697c0c7 [2022-09-12T11:06:27.862Z] ---> 74d3eafd9801 [2022-09-12T11:06:27.862Z] Step 27/27 : LABEL version=0.0.0 [2022-09-12T11:06:27.862Z] ---> Running in ff897a914193 [2022-09-12T11:06:27.862Z] Removing intermediate container ff897a914193 [2022-09-12T11:06:27.862Z] ---> d975adfe2d6a [2022-09-12T11:06:27.862Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-12T11:06:27.862Z] Successfully built d975adfe2d6a [2022-09-12T11:06:27.862Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:06:28.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T11:06:28.786Z] [2022-09-12T11:06:28.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:06:29.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T11:06:29.180Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-12T11:06:29.180Z] 5eb5b503b376: Pulling fs layer [2022-09-12T11:06:29.180Z] 5c69ac0246d0: Pulling fs layer [2022-09-12T11:06:29.180Z] ec43610c2a17: Pulling fs layer [2022-09-12T11:06:29.180Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-12T11:06:29.180Z] 33b1e0a273af: Pulling fs layer [2022-09-12T11:06:29.180Z] 5d3b04190fa2: Pulling fs layer [2022-09-12T11:06:29.180Z] 3a2ae6a8a46f: Waiting [2022-09-12T11:06:29.180Z] 33b1e0a273af: Waiting [2022-09-12T11:06:29.180Z] 5d3b04190fa2: Waiting [2022-09-12T11:06:29.180Z] 2f39f015ded8: Pulling fs layer [2022-09-12T11:06:29.180Z] 2f39f015ded8: Waiting [2022-09-12T11:06:29.180Z] 5c69ac0246d0: Download complete [2022-09-12T11:06:29.180Z] 33b1e0a273af: Verifying Checksum [2022-09-12T11:06:29.180Z] 33b1e0a273af: Download complete [2022-09-12T11:06:29.180Z] 5d3b04190fa2: Download complete [2022-09-12T11:06:29.180Z] ec43610c2a17: Verifying Checksum [2022-09-12T11:06:29.180Z] ec43610c2a17: Download complete [2022-09-12T11:06:29.443Z] 5eb5b503b376: Verifying Checksum [2022-09-12T11:06:29.443Z] 5eb5b503b376: Download complete [2022-09-12T11:06:30.018Z] 2f39f015ded8: Download complete [2022-09-12T11:06:30.959Z] 5eb5b503b376: Pull complete [2022-09-12T11:06:30.960Z] 5c69ac0246d0: Pull complete [2022-09-12T11:06:31.528Z] ec43610c2a17: Pull complete [2022-09-12T11:06:31.528Z] 3a2ae6a8a46f: Pull complete [2022-09-12T11:06:31.528Z] 33b1e0a273af: Pull complete [2022-09-12T11:06:31.787Z] 5d3b04190fa2: Pull complete [2022-09-12T11:06:35.983Z] 2f39f015ded8: Pull complete [2022-09-12T11:06:35.983Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-12T11:06:35.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T11:06:35.983Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T11:06:36.209Z] prd-ubuntu20.04-docker-8c-8g-28946 does not seem to be running inside a container [2022-09-12T11:06:36.248Z] $ 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-304 -v /w/workspace/foundry_device-virtual-go_PR-304:/w/workspace/foundry_device-virtual-go_PR-304:rw,z -v /w/workspace/foundry_device-virtual-go_PR-304@tmp:/w/workspace/foundry_device-virtual-go_PR-304@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-09-12T11:06:37.883Z] $ docker top c4196ba4db1214582214286d4ba236065e13ab9bbe218a8fa0f4bcc1f1fe4dac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:06:38.372Z] ---> job-cost.sh [2022-09-12T11:06:38.372Z] lf-activate-venv: SKIPPING [2022-09-12T11:06:38.372Z] INFO: No Stack... [2022-09-12T11:06:38.945Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-12T11:06:39.206Z] INFO: Archiving Costs [Pipeline] sh [2022-09-12T11:06:39.530Z] + cat /w/workspace/foundry_device-virtual-go_PR-304/archives/cost.csv [2022-09-12T11:06:39.530Z] + cut -d, -f6 [Pipeline] lock [2022-09-12T11:06:39.571Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] [2022-09-12T11:06:39.576Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] did not exist. Created. [2022-09-12T11:06:39.576Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-12T11:06:39.963Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-12T11:06:40.010Z] Stashed 1 file(s) [Pipeline] } [2022-09-12T11:06:40.043Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-12T11:06:40.124Z] $ docker stop --time=1 c4196ba4db1214582214286d4ba236065e13ab9bbe218a8fa0f4bcc1f1fe4dac [2022-09-12T11:06:41.289Z] $ docker rm -f c4196ba4db1214582214286d4ba236065e13ab9bbe218a8fa0f4bcc1f1fe4dac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-12T11:06:51.474Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-28948 in /w/workspace/foundry_device-virtual-go_PR-304 [Pipeline] { [Pipeline] ws [2022-09-12T11:06:51.516Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-09-12T11:06:51.754Z] The recommended git tool is: git [2022-09-12T11:06:59.147Z] using credential edgex-jenkins-ssh [2022-09-12T11:06:59.171Z] Cloning the remote Git repository [2022-09-12T11:06:59.248Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-09-12T11:06:59.341Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-09-12T11:06:59.441Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-12T11:06:59.442Z] > git --version # timeout=10 [2022-09-12T11:06:59.462Z] > git --version # 'git version 2.25.1' [2022-09-12T11:06:59.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T11:06:59.630Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-12T11:07:02.495Z] Merging remotes/origin/main commit 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 into PR head commit 55c9ed191447c380b145ab73e4237033d9a94992 [2022-09-12T11:07:02.754Z] Merge succeeded, producing 55c9ed191447c380b145ab73e4237033d9a94992 [2022-09-12T11:07:02.755Z] Checking out Revision 55c9ed191447c380b145ab73e4237033d9a94992 (PR-304) [2022-09-12T11:07:01.803Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-12T11:07:01.826Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-12T11:07:01.862Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-12T11:07:01.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-12T11:07:01.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T11:07:01.920Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/304/head:refs/remotes/origin/PR-304 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-12T11:07:02.529Z] > git config core.sparsecheckout # timeout=10 [2022-09-12T11:07:02.551Z] > git checkout -f 55c9ed191447c380b145ab73e4237033d9a94992 # timeout=10 [2022-09-12T11:07:02.659Z] > git remote # timeout=10 [2022-09-12T11:07:02.678Z] > git config --get remote.origin.url # timeout=10 [2022-09-12T11:07:02.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-12T11:07:02.705Z] > git merge 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 # timeout=10 [2022-09-12T11:07:02.739Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-12T11:07:02.765Z] > git config core.sparsecheckout # timeout=10 [2022-09-12T11:07:02.778Z] > git checkout -f 55c9ed191447c380b145ab73e4237033d9a94992 # timeout=10 [2022-09-12T11:07:07.241Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-12T11:07:07.310Z] > git --version # timeout=10 [2022-09-12T11:07:07.327Z] > git --version # 'git version 2.25.1' [2022-09-12T11:07:07.340Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T11:07:08.674Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-12T11:07:08.674Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-12T11:07:08.674Z] Dload Upload Total Spent Left Speed [2022-09-12T11:07:08.674Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75461 0 --:--:-- --:--:-- --:--:-- 75915 [Pipeline] sh [2022-09-12T11:07:09.634Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-12T11:07:10.004Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-12T11:07:10.004Z] + sudo tee /etc/docker/daemon.new [2022-09-12T11:07:10.004Z] { [2022-09-12T11:07:10.004Z] "registry-mirrors": [ [2022-09-12T11:07:10.004Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-12T11:07:10.004Z] ], [2022-09-12T11:07:10.004Z] "bip": "10.250.0.254/24", [2022-09-12T11:07:10.004Z] "hosts": [ [2022-09-12T11:07:10.004Z] "tcp://0.0.0.0:5555", [2022-09-12T11:07:10.004Z] "unix:///var/run/docker.sock" [2022-09-12T11:07:10.004Z] ], [2022-09-12T11:07:10.004Z] "mtu": 1458, [2022-09-12T11:07:10.004Z] "selinux-enabled": true, [2022-09-12T11:07:10.004Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-12T11:07:10.004Z] } [Pipeline] sh [2022-09-12T11:07:10.382Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-12T11:07:10.747Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T11:07:29.156Z] provisioning config files... [2022-09-12T11:07:29.181Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config493139470364713919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:07:29.585Z] ---> docker-login.sh [2022-09-12T11:07:29.585Z] nexus3.edgexfoundry.org:10001 [2022-09-12T11:07:30.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:07:30.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:07:30.454Z] Configure a credential helper to remove this warning. See [2022-09-12T11:07:30.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:07:30.454Z] [2022-09-12T11:07:30.454Z] Login Succeeded [2022-09-12T11:07:30.454Z] nexus3.edgexfoundry.org:10002 [2022-09-12T11:07:30.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:07:30.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:07:30.727Z] Configure a credential helper to remove this warning. See [2022-09-12T11:07:30.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:07:30.727Z] [2022-09-12T11:07:30.727Z] Login Succeeded [2022-09-12T11:07:30.727Z] nexus3.edgexfoundry.org:10003 [2022-09-12T11:07:31.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:07:31.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:07:31.327Z] Configure a credential helper to remove this warning. See [2022-09-12T11:07:31.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:07:31.327Z] [2022-09-12T11:07:31.327Z] Login Succeeded [2022-09-12T11:07:31.327Z] nexus3.edgexfoundry.org:10004 [2022-09-12T11:07:31.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:07:31.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:07:31.872Z] Configure a credential helper to remove this warning. See [2022-09-12T11:07:31.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:07:31.872Z] [2022-09-12T11:07:31.872Z] Login Succeeded [2022-09-12T11:07:31.872Z] docker.io [2022-09-12T11:07:32.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-12T11:07:32.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-12T11:07:32.416Z] Configure a credential helper to remove this warning. See [2022-09-12T11:07:32.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-12T11:07:32.416Z] [2022-09-12T11:07:32.416Z] Login Succeeded [2022-09-12T11:07:32.416Z] ---> docker-login.sh ends [Pipeline] } [2022-09-12T11:07:32.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-12T11:07:32.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T11:07:32.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-12T11:07:32.883Z] ========================================================= [2022-09-12T11:07:32.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-12T11:07:32.883Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:07:33.388Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-12T11:07:33.663Z] Sending build context to Docker daemon 11.7MB [2022-09-12T11:07:33.663Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T11:07:33.663Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-12T11:07:33.944Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-12T11:07:33.944Z] b3c136eddcbf: Pulling fs layer [2022-09-12T11:07:33.944Z] c0a3192eca97: Pulling fs layer [2022-09-12T11:07:33.944Z] a050256f5b6f: Pulling fs layer [2022-09-12T11:07:33.944Z] 656be50a0ddc: Pulling fs layer [2022-09-12T11:07:33.944Z] 2bbca73fdf42: Pulling fs layer [2022-09-12T11:07:33.944Z] 46d945488cbd: Pulling fs layer [2022-09-12T11:07:33.944Z] 8a5474983e97: Pulling fs layer [2022-09-12T11:07:33.944Z] 329c88fbcd65: Pulling fs layer [2022-09-12T11:07:33.944Z] 656be50a0ddc: Waiting [2022-09-12T11:07:33.944Z] 2bbca73fdf42: Waiting [2022-09-12T11:07:33.944Z] 46d945488cbd: Waiting [2022-09-12T11:07:33.944Z] 8a5474983e97: Waiting [2022-09-12T11:07:33.944Z] 329c88fbcd65: Waiting [2022-09-12T11:07:33.944Z] a050256f5b6f: Verifying Checksum [2022-09-12T11:07:33.944Z] a050256f5b6f: Download complete [2022-09-12T11:07:33.944Z] c0a3192eca97: Verifying Checksum [2022-09-12T11:07:33.944Z] c0a3192eca97: Download complete [2022-09-12T11:07:33.944Z] 2bbca73fdf42: Verifying Checksum [2022-09-12T11:07:33.944Z] 2bbca73fdf42: Download complete [2022-09-12T11:07:33.944Z] 46d945488cbd: Download complete [2022-09-12T11:07:33.944Z] b3c136eddcbf: Verifying Checksum [2022-09-12T11:07:33.944Z] b3c136eddcbf: Download complete [2022-09-12T11:07:34.973Z] b3c136eddcbf: Pull complete [2022-09-12T11:07:35.250Z] 329c88fbcd65: Verifying Checksum [2022-09-12T11:07:35.250Z] 329c88fbcd65: Download complete [2022-09-12T11:07:35.525Z] c0a3192eca97: Pull complete [2022-09-12T11:07:35.797Z] a050256f5b6f: Pull complete [2022-09-12T11:07:36.071Z] 8a5474983e97: Verifying Checksum [2022-09-12T11:07:36.071Z] 8a5474983e97: Download complete [2022-09-12T11:07:36.667Z] 656be50a0ddc: Verifying Checksum [2022-09-12T11:07:36.667Z] 656be50a0ddc: Download complete [2022-09-12T11:07:49.075Z] 656be50a0ddc: Pull complete [2022-09-12T11:07:49.352Z] 2bbca73fdf42: Pull complete [2022-09-12T11:07:49.631Z] 46d945488cbd: Pull complete [2022-09-12T11:07:56.377Z] 8a5474983e97: Pull complete [2022-09-12T11:07:58.366Z] 329c88fbcd65: Pull complete [2022-09-12T11:07:58.366Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-12T11:07:58.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-12T11:07:58.366Z] ---> ff4287adb874 [2022-09-12T11:07:58.366Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T11:08:00.363Z] ---> Running in ab177f36b7dc [2022-09-12T11:08:00.639Z] Removing intermediate container ab177f36b7dc [2022-09-12T11:08:00.639Z] ---> 2f91cfae7f0d [2022-09-12T11:08:00.639Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T11:08:00.639Z] ---> Running in a96c97556a15 [2022-09-12T11:08:00.919Z] Removing intermediate container a96c97556a15 [2022-09-12T11:08:00.919Z] ---> b1e38c9a4a1c [2022-09-12T11:08:00.919Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-12T11:08:00.919Z] ---> Running in 89b5356e5e4f [2022-09-12T11:08:01.528Z] Removing intermediate container 89b5356e5e4f [2022-09-12T11:08:01.528Z] ---> 52a528a4531d [2022-09-12T11:08:01.528Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-12T11:08:01.528Z] ---> Running in 9ba3ee993738 [2022-09-12T11:08:01.816Z] Removing intermediate container 9ba3ee993738 [2022-09-12T11:08:01.816Z] ---> 4f08da224fb4 [2022-09-12T11:08:01.816Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T11:08:01.816Z] ---> Running in 1622a950a050 [2022-09-12T11:08:03.813Z] Removing intermediate container 1622a950a050 [2022-09-12T11:08:03.813Z] ---> 4423609100b6 [2022-09-12T11:08:03.813Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T11:08:03.813Z] ---> Running in d16791221cd9 [2022-09-12T11:08:04.792Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T11:08:05.782Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T11:08:07.226Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-12T11:08:07.226Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-12T11:08:07.226Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-12T11:08:07.502Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-12T11:08:07.502Z] Executing busybox-1.35.0-r13.trigger [2022-09-12T11:08:07.502Z] OK: 226 MiB in 55 packages [2022-09-12T11:08:08.487Z] Removing intermediate container d16791221cd9 [2022-09-12T11:08:08.487Z] ---> d0566c100d72 [2022-09-12T11:08:08.487Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-12T11:08:09.092Z] ---> 07a04e7a1e5c [2022-09-12T11:08:09.092Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T11:08:09.092Z] ---> Running in 1ecf55abec0f [2022-09-12T11:08:56.080Z] Removing intermediate container 1ecf55abec0f [2022-09-12T11:08:56.080Z] ---> ee681b728155 [2022-09-12T11:08:56.080Z] Step 11/13 : COPY . . [2022-09-12T11:08:56.080Z] ---> 40d816a9c6d5 [2022-09-12T11:08:56.080Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-12T11:08:56.080Z] ---> Running in 2d403a3a88ae [2022-09-12T11:08:56.080Z] Removing intermediate container 2d403a3a88ae [2022-09-12T11:08:56.080Z] ---> ee070193ac38 [2022-09-12T11:08:56.080Z] Step 13/13 : RUN $MAKE [2022-09-12T11:08:56.080Z] ---> Running in 9bd0220ceb1b [2022-09-12T11:08:56.676Z] noop [2022-09-12T11:08:57.273Z] Removing intermediate container 9bd0220ceb1b [2022-09-12T11:08:57.273Z] ---> 46e6c10160ed [2022-09-12T11:08:57.273Z] Successfully built 46e6c10160ed [2022-09-12T11:08:57.545Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:08:58.053Z] + docker inspect -f . ci-base-image-arm64 [2022-09-12T11:08:58.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T11:08:58.378Z] prd-ubuntu20.04-docker-arm64-4c-16g-28948 does not seem to be running inside a container [2022-09-12T11:08:58.459Z] $ 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-09-12T11:08:59.697Z] $ docker top 83fcd4501a7891a34eddc32533d3ce4dfa6550ba2c24f0d42714efa419be4db0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T11:09:00.638Z] + go version [2022-09-12T11:09:00.639Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-12T11:09:00.684Z] $ docker stop --time=1 83fcd4501a7891a34eddc32533d3ce4dfa6550ba2c24f0d42714efa419be4db0 [2022-09-12T11:09:02.309Z] $ docker rm -f 83fcd4501a7891a34eddc32533d3ce4dfa6550ba2c24f0d42714efa419be4db0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:09:03.246Z] + docker inspect -f . ci-base-image-arm64 [2022-09-12T11:09:03.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T11:09:03.664Z] prd-ubuntu20.04-docker-arm64-4c-16g-28948 does not seem to be running inside a container [2022-09-12T11:09:03.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-12T11:09:04.993Z] $ docker top 0612b1c5d772f034f000e496f508ed424cabd1712286504c95ee6251cfdbd7ec -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T11:09:05.955Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-12T11:09:06.703Z] + make test [2022-09-12T11:09:06.704Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-12T11:09:08.140Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-12T11:10:29.979Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-12T11:10:32.585Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.134s coverage: 65.7% of statements [2022-09-12T11:10:33.180Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-12T11:10:33.180Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-12T11:10:55.358Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-12T11:10:55.358Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-12T11:10:55.358Z] ./bin/test-attribution-txt.sh [2022-09-12T11:10:55.358Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-12T11:10:55.358Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-12T11:10:55.358Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-12T11:10:55.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-12T11:10:55.435Z] $ docker stop --time=1 0612b1c5d772f034f000e496f508ed424cabd1712286504c95ee6251cfdbd7ec [2022-09-12T11:10:57.206Z] $ docker rm -f 0612b1c5d772f034f000e496f508ed424cabd1712286504c95ee6251cfdbd7ec [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-12T11:10:58.295Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-12T11:10:58.331Z] Warning: overwriting stash ‘coverage-report’ [2022-09-12T11:10:58.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-12T11:10:59.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-12T11:10:59.844Z] + ls -al . [2022-09-12T11:10:59.844Z] total 188 [2022-09-12T11:10:59.844Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 11:09 . [2022-09-12T11:10:59.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 11:06 .. [2022-09-12T11:10:59.844Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 11:07 .git [2022-09-12T11:10:59.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:07 .github [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 12 11:07 .gitignore [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 11:07 .golangci.yml [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 8152 Sep 12 11:07 Attribution.txt [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 12 11:07 CHANGELOG.md [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 12 11:07 Dockerfile [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 11:07 GOVERNANCE.md [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 12 11:07 Jenkinsfile [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 11:07 LICENSE [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 12 11:07 Makefile [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 12 11:07 OWNERS.md [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 12 11:07 README.md [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 11:04 VERSION [2022-09-12T11:10:59.844Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 11:07 bin [2022-09-12T11:10:59.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:07 cmd [2022-09-12T11:10:59.844Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 12 11:10 coverage.out [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 3328 Sep 12 11:07 go.mod [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 36202 Sep 12 11:07 go.sum [2022-09-12T11:10:59.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 11:07 internal [2022-09-12T11:10:59.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 11:07 snap [2022-09-12T11:10:59.844Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 12 11:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:11:00.284Z] + 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=55c9ed191447c380b145ab73e4237033d9a94992 --label arch=arm64 --label version=0.0.0 . [2022-09-12T11:11:00.882Z] Sending build context to Docker daemon 11.75MB [2022-09-12T11:11:00.882Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-12T11:11:00.882Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-12T11:11:00.882Z] ---> 46e6c10160ed [2022-09-12T11:11:00.882Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-12T11:11:00.882Z] ---> Running in b284871d202c [2022-09-12T11:11:01.160Z] Removing intermediate container b284871d202c [2022-09-12T11:11:01.160Z] ---> f43bb5621de1 [2022-09-12T11:11:01.160Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-12T11:11:01.160Z] ---> Running in 08b67673eb52 [2022-09-12T11:11:01.443Z] Removing intermediate container 08b67673eb52 [2022-09-12T11:11:01.443Z] ---> 7d89f3319514 [2022-09-12T11:11:01.443Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-12T11:11:01.720Z] ---> Running in 274c1e03a0d4 [2022-09-12T11:11:01.998Z] Removing intermediate container 274c1e03a0d4 [2022-09-12T11:11:01.998Z] ---> 4a9dac92732e [2022-09-12T11:11:01.998Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-12T11:11:01.998Z] ---> Running in 84029b4f202d [2022-09-12T11:11:02.274Z] Removing intermediate container 84029b4f202d [2022-09-12T11:11:02.274Z] ---> 7af1f44fa251 [2022-09-12T11:11:02.274Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T11:11:02.274Z] ---> Running in 7ba35aae28a2 [2022-09-12T11:11:04.271Z] Removing intermediate container 7ba35aae28a2 [2022-09-12T11:11:04.271Z] ---> d00687d7b96b [2022-09-12T11:11:04.271Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-12T11:11:04.271Z] ---> Running in 2ff880ec1200 [2022-09-12T11:11:05.257Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T11:11:06.247Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T11:11:07.238Z] OK: 226 MiB in 55 packages [2022-09-12T11:11:08.231Z] Removing intermediate container 2ff880ec1200 [2022-09-12T11:11:08.231Z] ---> 84c50fd09e65 [2022-09-12T11:11:08.231Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-12T11:11:08.833Z] ---> aa30d1f72359 [2022-09-12T11:11:08.833Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-12T11:11:08.833Z] ---> Running in 611ae1d058de [2022-09-12T11:11:10.840Z] Removing intermediate container 611ae1d058de [2022-09-12T11:11:10.840Z] ---> b7a6d9582d59 [2022-09-12T11:11:10.840Z] Step 11/27 : COPY . . [2022-09-12T11:11:12.279Z] ---> df37ced99c18 [2022-09-12T11:11:12.279Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-12T11:11:12.279Z] ---> Running in 3bce89693929 [2022-09-12T11:11:12.559Z] Removing intermediate container 3bce89693929 [2022-09-12T11:11:12.559Z] ---> 8278b8e34d64 [2022-09-12T11:11:12.559Z] Step 13/27 : RUN $MAKE [2022-09-12T11:11:12.559Z] ---> Running in 41c4f2a87876 [2022-09-12T11:11:14.012Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-09-12T11:13:35.966Z] Removing intermediate container 41c4f2a87876 [2022-09-12T11:13:35.966Z] ---> cf40dca16409 [2022-09-12T11:13:35.966Z] Step 14/27 : FROM alpine:3.16 [2022-09-12T11:13:35.966Z] 3.16: Pulling from library/alpine [2022-09-12T11:13:35.966Z] 9b18e9b68314: Pulling fs layer [2022-09-12T11:13:35.966Z] 9b18e9b68314: Verifying Checksum [2022-09-12T11:13:35.966Z] 9b18e9b68314: Download complete [2022-09-12T11:13:35.966Z] 9b18e9b68314: Pull complete [2022-09-12T11:13:35.966Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-12T11:13:35.966Z] Status: Downloaded newer image for alpine:3.16 [2022-09-12T11:13:35.966Z] ---> a6215f271958 [2022-09-12T11:13:35.966Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-12T11:13:35.966Z] ---> Running in fdbf599c7fa7 [2022-09-12T11:13:35.966Z] Removing intermediate container fdbf599c7fa7 [2022-09-12T11:13:35.966Z] ---> b99799b3836a [2022-09-12T11:13:35.966Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-12T11:13:35.966Z] ---> Running in 61a642372708 [2022-09-12T11:13:35.966Z] Removing intermediate container 61a642372708 [2022-09-12T11:13:35.966Z] ---> 796f26a8fe25 [2022-09-12T11:13:35.966Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-12T11:13:35.966Z] ---> Running in 21065f65f625 [2022-09-12T11:13:35.966Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-12T11:13:35.966Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-12T11:13:35.966Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-12T11:13:35.966Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-12T11:13:35.966Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-12T11:13:35.966Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-12T11:13:35.966Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-12T11:13:35.966Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-12T11:13:35.966Z] Executing busybox-1.35.0-r17.trigger [2022-09-12T11:13:35.966Z] OK: 8 MiB in 20 packages [2022-09-12T11:13:35.966Z] Removing intermediate container 21065f65f625 [2022-09-12T11:13:35.966Z] ---> db8f2fefc65c [2022-09-12T11:13:35.966Z] Step 18/27 : WORKDIR / [2022-09-12T11:13:35.966Z] ---> Running in b5bfa3b48630 [2022-09-12T11:13:35.966Z] Removing intermediate container b5bfa3b48630 [2022-09-12T11:13:35.966Z] ---> 943eaea703e2 [2022-09-12T11:13:35.966Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-12T11:13:36.590Z] ---> 440d31133a0c [2022-09-12T11:13:36.590Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-12T11:13:38.257Z] ---> 5e2a9fc5cfa7 [2022-09-12T11:13:38.257Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-12T11:13:38.907Z] ---> 568eeea38339 [2022-09-12T11:13:38.907Z] Step 22/27 : EXPOSE 59900 [2022-09-12T11:13:38.907Z] ---> Running in 059588bce7d4 [2022-09-12T11:13:39.182Z] Removing intermediate container 059588bce7d4 [2022-09-12T11:13:39.182Z] ---> f2d5ad7e5076 [2022-09-12T11:13:39.182Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-12T11:13:39.182Z] ---> Running in 9bd71a2592ac [2022-09-12T11:13:39.465Z] Removing intermediate container 9bd71a2592ac [2022-09-12T11:13:39.465Z] ---> 3e1f30494cc1 [2022-09-12T11:13:39.465Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-12T11:13:39.740Z] ---> Running in 7561e9a6eb19 [2022-09-12T11:13:40.014Z] Removing intermediate container 7561e9a6eb19 [2022-09-12T11:13:40.014Z] ---> b339c9d3587a [2022-09-12T11:13:40.014Z] Step 25/27 : LABEL arch=arm64 [2022-09-12T11:13:40.014Z] ---> Running in c8f04a38a3ff [2022-09-12T11:13:40.300Z] Removing intermediate container c8f04a38a3ff [2022-09-12T11:13:40.300Z] ---> 5af2021a20fd [2022-09-12T11:13:40.300Z] Step 26/27 : LABEL git_sha=55c9ed191447c380b145ab73e4237033d9a94992 [2022-09-12T11:13:40.300Z] ---> Running in c710503a71b8 [2022-09-12T11:13:40.900Z] Removing intermediate container c710503a71b8 [2022-09-12T11:13:40.900Z] ---> b80cbdb7c54c [2022-09-12T11:13:40.900Z] Step 27/27 : LABEL version=0.0.0 [2022-09-12T11:13:40.900Z] ---> Running in 7c9a11a8ad40 [2022-09-12T11:13:41.173Z] Removing intermediate container 7c9a11a8ad40 [2022-09-12T11:13:41.173Z] ---> 464efd9327a7 [2022-09-12T11:13:41.173Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-12T11:13:41.173Z] Successfully built 464efd9327a7 [2022-09-12T11:13:41.173Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:13:42.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T11:13:42.026Z] [2022-09-12T11:13:42.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:13:42.465Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T11:13:42.744Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-12T11:13:42.744Z] 8998bd30e6a1: Pulling fs layer [2022-09-12T11:13:42.744Z] 04944245beec: Pulling fs layer [2022-09-12T11:13:42.744Z] 699f458cf7ca: Pulling fs layer [2022-09-12T11:13:42.744Z] 765212b225bb: Pulling fs layer [2022-09-12T11:13:42.744Z] f23df028b6ca: Pulling fs layer [2022-09-12T11:13:42.744Z] d65c8cfc05b1: Pulling fs layer [2022-09-12T11:13:42.744Z] 2437ff75d9bd: Pulling fs layer [2022-09-12T11:13:42.744Z] 765212b225bb: Waiting [2022-09-12T11:13:42.744Z] f23df028b6ca: Waiting [2022-09-12T11:13:42.744Z] d65c8cfc05b1: Waiting [2022-09-12T11:13:42.744Z] 2437ff75d9bd: Waiting [2022-09-12T11:13:42.744Z] 04944245beec: Verifying Checksum [2022-09-12T11:13:42.744Z] 04944245beec: Download complete [2022-09-12T11:13:42.744Z] 765212b225bb: Download complete [2022-09-12T11:13:42.744Z] f23df028b6ca: Verifying Checksum [2022-09-12T11:13:42.744Z] f23df028b6ca: Download complete [2022-09-12T11:13:42.744Z] d65c8cfc05b1: Verifying Checksum [2022-09-12T11:13:42.744Z] d65c8cfc05b1: Download complete [2022-09-12T11:13:43.025Z] 699f458cf7ca: Verifying Checksum [2022-09-12T11:13:43.026Z] 699f458cf7ca: Download complete [2022-09-12T11:13:43.300Z] 8998bd30e6a1: Verifying Checksum [2022-09-12T11:13:43.300Z] 8998bd30e6a1: Download complete [2022-09-12T11:13:45.936Z] 2437ff75d9bd: Verifying Checksum [2022-09-12T11:13:45.936Z] 2437ff75d9bd: Download complete [2022-09-12T11:13:47.922Z] 8998bd30e6a1: Pull complete [2022-09-12T11:13:48.199Z] 04944245beec: Pull complete [2022-09-12T11:13:49.848Z] 699f458cf7ca: Pull complete [2022-09-12T11:13:49.848Z] 765212b225bb: Pull complete [2022-09-12T11:13:50.832Z] f23df028b6ca: Pull complete [2022-09-12T11:13:51.106Z] d65c8cfc05b1: Pull complete [2022-09-12T11:14:06.221Z] 2437ff75d9bd: Pull complete [2022-09-12T11:14:06.221Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-12T11:14:06.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-12T11:14:06.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T11:14:06.620Z] prd-ubuntu20.04-docker-arm64-4c-16g-28948 does not seem to be running inside a container [2022-09-12T11:14:06.713Z] $ 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-09-12T11:14:09.292Z] $ docker top 9ffeb03847c3302313459fc6aa973b1b9d4107353ac4cf5d1d467f1d1ebe14a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:14:10.292Z] ---> job-cost.sh [2022-09-12T11:14:10.292Z] lf-activate-venv: SKIPPING [2022-09-12T11:14:10.292Z] INFO: No Stack... [2022-09-12T11:14:10.567Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-12T11:14:11.596Z] INFO: Archiving Costs [Pipeline] sh [2022-09-12T11:14:12.311Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-09-12T11:14:12.311Z] + cut -d, -f6 [Pipeline] lock [2022-09-12T11:14:12.365Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] [2022-09-12T11:14:12.371Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] did not exist. Created. [2022-09-12T11:14:12.371Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-12T11:14:13.252Z] /w/workspace/device-virtual-go/1@tmp/durable-7a9e4c04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-12T11:14:13.975Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-12T11:14:14.012Z] Warning: overwriting stash ‘stack-cost’ [2022-09-12T11:14:14.074Z] Stashed 1 file(s) [Pipeline] } [2022-09-12T11:14:14.093Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-304-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-12T11:14:14.182Z] $ docker stop --time=1 9ffeb03847c3302313459fc6aa973b1b9d4107353ac4cf5d1d467f1d1ebe14a0 [2022-09-12T11:14:15.817Z] $ docker rm -f 9ffeb03847c3302313459fc6aa973b1b9d4107353ac4cf5d1d467f1d1ebe14a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-12T11:14:16.979Z] provisioning config files... [2022-09-12T11:14:16.988Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-304@tmp/config7638264502362484316tmp [Pipeline] { [Pipeline] sh [2022-09-12T11:14:17.335Z] + set +x [2022-09-12T11:14:17.335Z] + curl -s https://codecov.io/bash [2022-09-12T11:14:17.335Z] + bash -s -- [2022-09-12T11:14:17.335Z] [2022-09-12T11:14:17.335Z] _____ _ [2022-09-12T11:14:17.335Z] / ____| | | [2022-09-12T11:14:17.335Z] | | ___ __| | ___ ___ _____ __ [2022-09-12T11:14:17.335Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-12T11:14:17.335Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-12T11:14:17.335Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-12T11:14:17.335Z] Bash-1.0.6 [2022-09-12T11:14:17.335Z] [2022-09-12T11:14:17.335Z] [2022-09-12T11:14:17.335Z] ==> git version 2.25.1 found [2022-09-12T11:14:17.335Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-12T11:14:17.335Z] Release-Date: 2020-01-08 [2022-09-12T11:14:17.335Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-12T11:14:17.335Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-12T11:14:17.335Z] ==> Jenkins CI detected. [2022-09-12T11:14:17.335Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-304 [2022-09-12T11:14:17.335Z] project root: . [2022-09-12T11:14:17.335Z] --> token set from env [2022-09-12T11:14:17.335Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-12T11:14:17.335Z] ==> Running gcov in . (disable via -X gcov) [2022-09-12T11:14:17.335Z] ==> Python coveragepy not found [2022-09-12T11:14:17.335Z] ==> Searching for coverage reports in: [2022-09-12T11:14:17.335Z] + . [2022-09-12T11:14:17.335Z] -> Found 1 reports [2022-09-12T11:14:17.335Z] ==> Detecting git/mercurial file structure [2022-09-12T11:14:17.335Z] ==> Reading reports [2022-09-12T11:14:17.335Z] + ./coverage.out bytes=44128 [2022-09-12T11:14:17.335Z] ==> Appending adjustments [2022-09-12T11:14:17.335Z] https://docs.codecov.io/docs/fixing-reports [2022-09-12T11:14:17.597Z] + Found adjustments [2022-09-12T11:14:17.597Z] ==> Gzipping contents [2022-09-12T11:14:17.597Z] 8.0K /tmp/codecov.SkLDbV.gz [2022-09-12T11:14:17.597Z] ==> Uploading reports [2022-09-12T11:14:17.597Z] url: https://codecov.io [2022-09-12T11:14:17.597Z] query: branch=PR-304&commit=55c9ed191447c380b145ab73e4237033d9a94992&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-304%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=304&job=&cmd_args= [2022-09-12T11:14:17.597Z] -> Pinging Codecov [2022-09-12T11:14:17.597Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-304&commit=55c9ed191447c380b145ab73e4237033d9a94992&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-304%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=304&job=&cmd_args= [2022-09-12T11:14:17.860Z] -> Uploading to [2022-09-12T11:14:17.860Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-12/5E52B4B073DB2E39498172D8E973AA87/55c9ed191447c380b145ab73e4237033d9a94992/d03be223-151b-454a-8243-a518c8abc0c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220912T111417Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bca5d397fcc7be4856d27e149a285d9f2c77c169e02baaf4865a6199249ab8c5 [2022-09-12T11:14:17.860Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-12T11:14:17.860Z] Dload Upload Total Spent Left Speed [2022-09-12T11:14:18.122Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5489 0 0 100 5489 0 23357 --:--:-- --:--:-- --:--:-- 23357 [2022-09-12T11:14:18.122Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/55c9ed191447c380b145ab73e4237033d9a94992 [Pipeline] } [2022-09-12T11:14:18.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-12T11:14:20.045Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-304/archives ] [2022-09-12T11:14:20.046Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-304/archives [2022-09-12T11:14:20.046Z] total 16 [2022-09-12T11:14:20.046Z] drwxr-xr-x 3 root root 4096 Sep 12 11:06 . [2022-09-12T11:14:20.046Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 11:06 .. [2022-09-12T11:14:20.046Z] drwxr-xr-x 2 root root 4096 Sep 12 11:06 cost [2022-09-12T11:14:20.046Z] -rw-r--r-- 1 root root 89 Sep 12 11:06 cost.csv [2022-09-12T11:14:20.046Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-304/archives [2022-09-12T11:14:20.046Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-304/archives [2022-09-12T11:14:20.046Z] total 16 [2022-09-12T11:14:20.046Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 11:06 . [2022-09-12T11:14:20.046Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 11:06 .. [2022-09-12T11:14:20.046Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 11:06 cost [2022-09-12T11:14:20.046Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 12 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:14:20.377Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:14:21.266Z] ---> package-listing.sh [2022-09-12T11:14:21.266Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-12T11:14:21.266Z] ++ facter osfamily [2022-09-12T11:14:21.527Z] + OS_FAMILY=debian [2022-09-12T11:14:21.527Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-304 [2022-09-12T11:14:21.527Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-12T11:14:21.527Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-12T11:14:21.527Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-12T11:14:21.527Z] + PACKAGES=/tmp/packages_start.txt [2022-09-12T11:14:21.527Z] + '[' /w/workspace/foundry_device-virtual-go_PR-304 ']' [2022-09-12T11:14:21.527Z] + PACKAGES=/tmp/packages_end.txt [2022-09-12T11:14:21.527Z] + case "${OS_FAMILY}" in [2022-09-12T11:14:21.527Z] + dpkg -l [2022-09-12T11:14:21.527Z] + grep '^ii' [2022-09-12T11:14:21.527Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-12T11:14:21.527Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-12T11:14:21.527Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-12T11:14:21.527Z] + '[' /w/workspace/foundry_device-virtual-go_PR-304 ']' [2022-09-12T11:14:21.527Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-304/archives/ [2022-09-12T11:14:21.527Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-304/archives/ [Pipeline] echo [2022-09-12T11:14:21.570Z] 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-304/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-12T11:14:21.867Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-12T11:14:22.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-12T11:14:22.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-12T11:14:22.687Z] prd-ubuntu20.04-docker-8c-8g-28946 does not seem to be running inside a container [2022-09-12T11:14:22.728Z] $ 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-304/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-304 -v /w/workspace/foundry_device-virtual-go_PR-304:/w/workspace/foundry_device-virtual-go_PR-304:rw,z -v /w/workspace/foundry_device-virtual-go_PR-304@tmp:/w/workspace/foundry_device-virtual-go_PR-304@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-09-12T11:14:22.923Z] $ docker top d5401a4ab44192d91fa8123c56900189a4fa9d0ed6c7e7c0221ccf582c4f6e57 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-12T11:14:23.347Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-12T11:14:23.660Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-12T11:14:23.972Z] + ls /var/log/sa-host [2022-09-12T11:14:23.972Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-12T11:14:24.173Z] provisioning config files... [2022-09-12T11:14:24.187Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-304@tmp/config6103211571049475373tmp [Pipeline] { [Pipeline] echo [2022-09-12T11:14:24.243Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:14:24.555Z] ---> create-netrc.sh [Pipeline] } [2022-09-12T11:14:24.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:14:25.008Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-12T11:14:25.040Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:14:25.354Z] ---> sudo-logs.sh [2022-09-12T11:14:25.354Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-12T11:14:25.455Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:14:25.785Z] ---> job-cost.sh [2022-09-12T11:14:25.785Z] lf-activate-venv: SKIPPING [2022-09-12T11:14:25.785Z] DEBUG: total: 0.2199999988079071 [2022-09-12T11:14:25.785Z] INFO: Retrieving Stack Cost... [2022-09-12T11:14:26.725Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-12T11:14:27.299Z] INFO: Archiving Costs [Pipeline] echo [2022-09-12T11:14:27.331Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-12T11:14:27.650Z] ---> logs-deploy.sh [2022-09-12T11:14:27.650Z] lf-activate-venv: SKIPPING [2022-09-12T11:14:27.650Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-304/1 [2022-09-12T11:14:27.650Z] INFO: archiving workspace using pattern(s): [2022-09-12T11:14:28.591Z] Archives upload complete. [2022-09-12T11:14:28.856Z] INFO: archiving logs to Nexus [2022-09-12T11:14:29.427Z] ---> uname -a: [2022-09-12T11:14:29.427Z] Linux prd-ubuntu20-04-docker-8c-8g-28946 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-09-12T11:14:29.427Z] [2022-09-12T11:14:29.427Z]