Pull request #427 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af+3e7277aeb6c2165bba0097e742148e8cd729522a (e308d175f3d2dc987a9b3b2537f8c334c5908142) 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-ssh8861658318738198982.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh2304844179520028080.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-427/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-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3504809710185694857.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-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9925695301308464296.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh9212232188656059044.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-427/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-427/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8176806696063693313.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5992 in /w/workspace/foundry_device-virtual-go_PR-427 [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-427 # 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 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3e7277aeb6c2165bba0097e742148e8cd729522a into PR head commit 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af Merge succeeded, producing 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af Checking out Revision 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af (PR-427) > 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/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af # 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 3e7277aeb6c2165bba0097e742148e8cd729522a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af # timeout=10 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T21:14:51.827Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T21:14:51.990Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T21:14:52.090Z] ========================================================= [2023-09-12T21:14:52.090Z] EdgeX Global Pipelines Version Info [2023-09-12T21:14:52.090Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:14:52.835Z] ------------------- [2023-09-12T21:14:52.835Z] stable info: [2023-09-12T21:14:52.835Z] ------------------- [2023-09-12T21:14:52.835Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T21:14:52.835Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:14:52.835Z] Message: update stable to v1.0.254 [2023-09-12T21:14:53.410Z] ------------------- [2023-09-12T21:14:53.410Z] experimental info: [2023-09-12T21:14:53.410Z] ------------------- [2023-09-12T21:14:53.410Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T21:14:53.410Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:14:53.410Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T21:14:53.670Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-12T21:14:53.705Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-12T21:14:53.745Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T21:14:53.786Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T21:14:53.823Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T21:14:53.863Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T21:14:53.900Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T21:14:53.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T21:14:53.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T21:14:54.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T21:14:54.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T21:14:54.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-12T21:14:54.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T21:14:54.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T21:14:54.245Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:14:54.287Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:14:54.333Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:14:54.377Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:14:54.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T21:14:54.466Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T21:14:54.509Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-12T21:14:54.555Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-12T21:14:54.602Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T21:14:54.642Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T21:14:54.684Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T21:14:54.722Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T21:14:54.760Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T21:14:54.804Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-427 [Pipeline] echo [2023-09-12T21:14:54.850Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-427 [Pipeline] echo [2023-09-12T21:14:54.889Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-427 [Pipeline] echo [2023-09-12T21:14:54.931Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af [Pipeline] echo [2023-09-12T21:14:54.971Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b51c0f [Pipeline] echo [2023-09-12T21:14:55.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:14:55.130Z] provisioning config files... [2023-09-12T21:14:55.144Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-427@tmp/config2997947940627445789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:14:55.493Z] ---> docker-login.sh [2023-09-12T21:14:55.494Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:14:55.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:14:55.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:14:55.755Z] Configure a credential helper to remove this warning. See [2023-09-12T21:14:55.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:14:55.755Z] [2023-09-12T21:14:55.755Z] Login Succeeded [2023-09-12T21:14:55.755Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:14:55.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:14:56.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:14:56.019Z] Configure a credential helper to remove this warning. See [2023-09-12T21:14:56.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:14:56.019Z] [2023-09-12T21:14:56.019Z] Login Succeeded [2023-09-12T21:14:56.019Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:14:56.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:14:56.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:14:56.019Z] Configure a credential helper to remove this warning. See [2023-09-12T21:14:56.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:14:56.019Z] [2023-09-12T21:14:56.019Z] Login Succeeded [2023-09-12T21:14:56.019Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:14:56.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:14:56.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:14:56.280Z] Configure a credential helper to remove this warning. See [2023-09-12T21:14:56.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:14:56.280Z] [2023-09-12T21:14:56.280Z] Login Succeeded [2023-09-12T21:14:56.280Z] docker.io [2023-09-12T21:14:56.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:14:56.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:14:56.541Z] Configure a credential helper to remove this warning. See [2023-09-12T21:14:56.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:14:56.541Z] [2023-09-12T21:14:56.541Z] Login Succeeded [2023-09-12T21:14:56.541Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:14:56.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T21:14:57.212Z] + git rev-list -1 --merges 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af~1..9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af [Pipeline] echo [2023-09-12T21:14:57.279Z] -----------> git rev-list -1 --merges 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af~1..9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af [false] [Pipeline] sh [2023-09-12T21:14:57.589Z] + git log --format=format:%s -1 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af [Pipeline] echo [2023-09-12T21:14:57.633Z] ========================================================= [2023-09-12T21:14:57.633Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T21:14:57.633Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:14:58.069Z] + git log --format=format:%s -1 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af [Pipeline] echo [2023-09-12T21:14:58.100Z] [semverPrep] GIT_COMMIT: 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 [Pipeline] echo [2023-09-12T21:14:58.130Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T21:14:58.532Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T21:14:58.532Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T21:14:58.532Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T21:14:58.532Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T21:14:58.532Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T21:14:58.532Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T21:14:58.532Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:14:59.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:14:59.029Z] [2023-09-12T21:14:59.029Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:14:59.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:14:59.405Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T21:14:59.405Z] b85a868b505f: Pulling fs layer [2023-09-12T21:14:59.405Z] e2be974225ed: Pulling fs layer [2023-09-12T21:14:59.405Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T21:14:59.405Z] 988bab9f4d93: Pulling fs layer [2023-09-12T21:14:59.405Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T21:14:59.405Z] eaf3925da568: Pulling fs layer [2023-09-12T21:14:59.405Z] bab4dde63d76: Pulling fs layer [2023-09-12T21:14:59.405Z] bde34c3a00c8: Pulling fs layer [2023-09-12T21:14:59.405Z] b352a97aabf1: Pulling fs layer [2023-09-12T21:14:59.405Z] 4872d77fe225: Pulling fs layer [2023-09-12T21:14:59.405Z] 5851b861e8e6: Pulling fs layer [2023-09-12T21:14:59.405Z] 988bab9f4d93: Waiting [2023-09-12T21:14:59.405Z] 1469e6f7b9e6: Waiting [2023-09-12T21:14:59.405Z] bab4dde63d76: Waiting [2023-09-12T21:14:59.405Z] eaf3925da568: Waiting [2023-09-12T21:14:59.405Z] bde34c3a00c8: Waiting [2023-09-12T21:14:59.405Z] b352a97aabf1: Waiting [2023-09-12T21:14:59.405Z] 4872d77fe225: Waiting [2023-09-12T21:14:59.405Z] 5851b861e8e6: Waiting [2023-09-12T21:14:59.405Z] e2be974225ed: Verifying Checksum [2023-09-12T21:14:59.405Z] e2be974225ed: Download complete [2023-09-12T21:14:59.405Z] 988bab9f4d93: Download complete [2023-09-12T21:14:59.670Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T21:14:59.670Z] 1469e6f7b9e6: Download complete [2023-09-12T21:14:59.670Z] eaf3925da568: Download complete [2023-09-12T21:14:59.670Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T21:14:59.670Z] 339a4e72a1f5: Download complete [2023-09-12T21:14:59.670Z] bde34c3a00c8: Download complete [2023-09-12T21:14:59.670Z] b352a97aabf1: Verifying Checksum [2023-09-12T21:14:59.670Z] b352a97aabf1: Download complete [2023-09-12T21:14:59.670Z] 4872d77fe225: Download complete [2023-09-12T21:14:59.670Z] 5851b861e8e6: Download complete [2023-09-12T21:14:59.670Z] b85a868b505f: Verifying Checksum [2023-09-12T21:14:59.670Z] b85a868b505f: Download complete [2023-09-12T21:14:59.931Z] bab4dde63d76: Verifying Checksum [2023-09-12T21:14:59.931Z] bab4dde63d76: Download complete [2023-09-12T21:15:00.874Z] b85a868b505f: Pull complete [2023-09-12T21:15:01.134Z] e2be974225ed: Pull complete [2023-09-12T21:15:01.706Z] 339a4e72a1f5: Pull complete [2023-09-12T21:15:01.706Z] 988bab9f4d93: Pull complete [2023-09-12T21:15:02.276Z] 1469e6f7b9e6: Pull complete [2023-09-12T21:15:02.276Z] eaf3925da568: Pull complete [2023-09-12T21:15:04.194Z] bab4dde63d76: Pull complete [2023-09-12T21:15:04.194Z] bde34c3a00c8: Pull complete [2023-09-12T21:15:04.452Z] b352a97aabf1: Pull complete [2023-09-12T21:15:04.452Z] 4872d77fe225: Pull complete [2023-09-12T21:15:04.712Z] 5851b861e8e6: Pull complete [2023-09-12T21:15:04.712Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T21:15:04.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:15:04.712Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:15:04.926Z] prd-ubuntu20.04-docker-8c-8g-5992 does not seem to be running inside a container [2023-09-12T21:15:05.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-427 -v /w/workspace/foundry_device-virtual-go_PR-427:/w/workspace/foundry_device-virtual-go_PR-427:rw,z -v /w/workspace/foundry_device-virtual-go_PR-427@tmp:/w/workspace/foundry_device-virtual-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T21:15:07.771Z] $ docker top 38b68e4741d22f1d68441c11a944137c3bf53d3260e2e70c60b3b2684f03e354 -eo pid,comm [2023-09-12T21:15:07.839Z] 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). [2023-09-12T21:15:07.839Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T21:15:07.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:15:07.965Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:15:08.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:15:08.082Z] $ docker exec 38b68e4741d22f1d68441c11a944137c3bf53d3260e2e70c60b3b2684f03e354 ssh-agent [2023-09-12T21:15:08.188Z] SSH_AUTH_SOCK=/tmp/ssh-Hah1wLhCaQk8/agent.31 [2023-09-12T21:15:08.188Z] SSH_AGENT_PID=37 [2023-09-12T21:15:08.195Z] Running ssh-add (command line suppressed) [2023-09-12T21:15:08.297Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-427@tmp/private_key_9859754139926722645.key (/w/workspace/foundry_device-virtual-go_PR-427@tmp/private_key_9859754139926722645.key) [2023-09-12T21:15:08.309Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:15:08.647Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T21:15:08.682Z] $ docker exec --env ******** --env ******** 38b68e4741d22f1d68441c11a944137c3bf53d3260e2e70c60b3b2684f03e354 ssh-agent -k [2023-09-12T21:15:08.771Z] unset SSH_AUTH_SOCK; [2023-09-12T21:15:08.772Z] unset SSH_AGENT_PID; [2023-09-12T21:15:08.772Z] echo Agent pid 37 killed; [2023-09-12T21:15:08.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T21:15:08.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:15:08.876Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:15:09.007Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:15:09.014Z] $ docker exec 38b68e4741d22f1d68441c11a944137c3bf53d3260e2e70c60b3b2684f03e354 ssh-agent [2023-09-12T21:15:09.136Z] SSH_AUTH_SOCK=/tmp/ssh-ZRgBGpHM0Gtl/agent.69 [2023-09-12T21:15:09.136Z] SSH_AGENT_PID=75 [2023-09-12T21:15:09.142Z] Running ssh-add (command line suppressed) [2023-09-12T21:15:09.271Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-427@tmp/private_key_2109590605416757333.key (/w/workspace/foundry_device-virtual-go_PR-427@tmp/private_key_2109590605416757333.key) [2023-09-12T21:15:09.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:15:09.615Z] + git semver init [2023-09-12T21:15:09.875Z] 2023-09-12 21:15:09,807 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T21:15:09.875Z] 2023-09-12 21:15:09,808 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-427/.semver [2023-09-12T21:15:09.875Z] 2023-09-12 21:15:09,808 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-427/.semver [2023-09-12T21:15:09.875Z] 2023-09-12 21:15:09,809 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-427/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-427, universal_newlines=False, shell=None, istream=None) [2023-09-12T21:15:11.256Z] 2023-09-12 21:15:10,943 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-427/.git/info/exclude [2023-09-12T21:15:11.256Z] 2023-09-12 21:15:10,944 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-427/.semver/PR-427 with force:False [2023-09-12T21:15:11.256Z] 2023-09-12 21:15:10,944 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-427/.semver/PR-427 [2023-09-12T21:15:11.256Z] 2023-09-12 21:15:10,948 [execute] INFO git cat-file --batch-check [2023-09-12T21:15:11.257Z] 2023-09-12 21:15:10,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-427/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T21:15:11.257Z] 2023-09-12 21:15:10,955 [execute] INFO git cat-file --batch [2023-09-12T21:15:11.257Z] 2023-09-12 21:15:10,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-427/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T21:15:11.257Z] 2023-09-12 21:15:10,961 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-427/.semver/PR-427 [2023-09-12T21:15:11.257Z] 0.0.0 [Pipeline] } [2023-09-12T21:15:11.288Z] $ docker exec --env ******** --env ******** 38b68e4741d22f1d68441c11a944137c3bf53d3260e2e70c60b3b2684f03e354 ssh-agent -k [2023-09-12T21:15:11.388Z] unset SSH_AUTH_SOCK; [2023-09-12T21:15:11.388Z] unset SSH_AGENT_PID; [2023-09-12T21:15:11.389Z] echo Agent pid 75 killed; [2023-09-12T21:15:11.395Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T21:15:11.823Z] + git semver [Pipeline] } [2023-09-12T21:15:12.114Z] $ docker stop --time=1 38b68e4741d22f1d68441c11a944137c3bf53d3260e2e70c60b3b2684f03e354 [2023-09-12T21:15:13.417Z] $ docker rm -f --volumes 38b68e4741d22f1d68441c11a944137c3bf53d3260e2e70c60b3b2684f03e354 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:15:13.822Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T21:15:14.103Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T21:15:14.119Z] [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 [2023-09-12T21:15:14.705Z] provisioning config files... [2023-09-12T21:15:14.713Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-427@tmp/config6731014267802944819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:15:15.065Z] ---> docker-login.sh [2023-09-12T21:15:15.066Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:15:15.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:15:15.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:15:15.066Z] Configure a credential helper to remove this warning. See [2023-09-12T21:15:15.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:15:15.066Z] [2023-09-12T21:15:15.066Z] Login Succeeded [2023-09-12T21:15:15.066Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:15:15.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:15:15.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:15:15.066Z] Configure a credential helper to remove this warning. See [2023-09-12T21:15:15.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:15:15.066Z] [2023-09-12T21:15:15.066Z] Login Succeeded [2023-09-12T21:15:15.066Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:15:15.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:15:15.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:15:15.325Z] Configure a credential helper to remove this warning. See [2023-09-12T21:15:15.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:15:15.325Z] [2023-09-12T21:15:15.325Z] Login Succeeded [2023-09-12T21:15:15.325Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:15:15.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:15:15.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:15:15.325Z] Configure a credential helper to remove this warning. See [2023-09-12T21:15:15.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:15:15.325Z] [2023-09-12T21:15:15.325Z] Login Succeeded [2023-09-12T21:15:15.325Z] docker.io [2023-09-12T21:15:15.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:15:15.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:15:15.585Z] Configure a credential helper to remove this warning. See [2023-09-12T21:15:15.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:15:15.585Z] [2023-09-12T21:15:15.585Z] Login Succeeded [2023-09-12T21:15:15.585Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:15:15.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T21:15:15.808Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:15:15.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:15:15.897Z] ========================================================= [2023-09-12T21:15:15.897Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T21:15:15.897Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:15:16.364Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T21:15:16.364Z] Sending build context to Docker daemon 23.6MB [2023-09-12T21:15:16.364Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:15:16.364Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T21:15:16.638Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T21:15:16.638Z] 7264a8db6415: Pulling fs layer [2023-09-12T21:15:16.638Z] c4d48a809fc2: Pulling fs layer [2023-09-12T21:15:16.638Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T21:15:16.638Z] ad3a456e5733: Pulling fs layer [2023-09-12T21:15:16.638Z] 9e4f439ed901: Pulling fs layer [2023-09-12T21:15:16.638Z] feaf6a47b606: Pulling fs layer [2023-09-12T21:15:16.638Z] ad3a456e5733: Waiting [2023-09-12T21:15:16.638Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T21:15:16.638Z] 8ac70367396e: Pulling fs layer [2023-09-12T21:15:16.638Z] 6db16350a2e2: Pulling fs layer [2023-09-12T21:15:16.638Z] 5e8b037d7d82: Waiting [2023-09-12T21:15:16.638Z] 9250d5d63582: Pulling fs layer [2023-09-12T21:15:16.638Z] 9250d5d63582: Waiting [2023-09-12T21:15:16.638Z] 8ac70367396e: Waiting [2023-09-12T21:15:16.638Z] c4d48a809fc2: Verifying Checksum [2023-09-12T21:15:16.638Z] c4d48a809fc2: Download complete [2023-09-12T21:15:16.638Z] ad3a456e5733: Verifying Checksum [2023-09-12T21:15:16.638Z] ad3a456e5733: Download complete [2023-09-12T21:15:16.638Z] 9e4f439ed901: Verifying Checksum [2023-09-12T21:15:16.638Z] 9e4f439ed901: Download complete [2023-09-12T21:15:16.638Z] 7264a8db6415: Verifying Checksum [2023-09-12T21:15:16.638Z] 7264a8db6415: Download complete [2023-09-12T21:15:16.638Z] feaf6a47b606: Verifying Checksum [2023-09-12T21:15:16.638Z] feaf6a47b606: Download complete [2023-09-12T21:15:16.922Z] 7264a8db6415: Pull complete [2023-09-12T21:15:16.922Z] 8ac70367396e: Verifying Checksum [2023-09-12T21:15:16.922Z] 8ac70367396e: Download complete [2023-09-12T21:15:16.922Z] c4d48a809fc2: Pull complete [2023-09-12T21:15:17.182Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T21:15:17.182Z] 4f1c88b9dad5: Download complete [2023-09-12T21:15:17.182Z] 6db16350a2e2: Verifying Checksum [2023-09-12T21:15:17.182Z] 6db16350a2e2: Download complete [2023-09-12T21:15:17.440Z] 9250d5d63582: Verifying Checksum [2023-09-12T21:15:17.440Z] 9250d5d63582: Download complete [2023-09-12T21:15:17.698Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T21:15:17.698Z] 5e8b037d7d82: Download complete [2023-09-12T21:15:20.983Z] 4f1c88b9dad5: Pull complete [2023-09-12T21:15:20.983Z] ad3a456e5733: Pull complete [2023-09-12T21:15:20.983Z] 9e4f439ed901: Pull complete [2023-09-12T21:15:20.983Z] feaf6a47b606: Pull complete [2023-09-12T21:15:23.511Z] 5e8b037d7d82: Pull complete [2023-09-12T21:15:24.078Z] 8ac70367396e: Pull complete [2023-09-12T21:15:24.335Z] 6db16350a2e2: Pull complete [2023-09-12T21:15:25.271Z] 9250d5d63582: Pull complete [2023-09-12T21:15:25.271Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T21:15:25.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T21:15:25.271Z] ---> fa269f55d9b9 [2023-09-12T21:15:25.271Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:15:29.527Z] Still waiting to schedule task [2023-09-12T21:15:29.528Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T21:15:31.844Z] ---> Running in 6f6985d8933f [2023-09-12T21:15:31.844Z] Removing intermediate container 6f6985d8933f [2023-09-12T21:15:31.844Z] ---> 2352c58e493b [2023-09-12T21:15:31.844Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:15:31.844Z] ---> Running in d0d98b75e0c7 [2023-09-12T21:15:31.844Z] Removing intermediate container d0d98b75e0c7 [2023-09-12T21:15:31.844Z] ---> 3f61e035303e [2023-09-12T21:15:31.844Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:15:32.103Z] ---> Running in f8e5e6deac52 [2023-09-12T21:15:32.103Z] Removing intermediate container f8e5e6deac52 [2023-09-12T21:15:32.103Z] ---> 480cd251ca16 [2023-09-12T21:15:32.103Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-12T21:15:32.103Z] ---> Running in f391d607eb3a [2023-09-12T21:15:32.103Z] Removing intermediate container f391d607eb3a [2023-09-12T21:15:32.103Z] ---> c48916e294d1 [2023-09-12T21:15:32.103Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:15:32.103Z] ---> Running in bfd2562abc09 [2023-09-12T21:15:32.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:15:32.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:15:32.880Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T21:15:32.880Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T21:15:32.880Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T21:15:32.880Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T21:15:32.880Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:15:32.880Z] OK: 270 MiB in 60 packages [2023-09-12T21:15:33.447Z] Removing intermediate container bfd2562abc09 [2023-09-12T21:15:33.447Z] ---> 5cc18002f7a3 [2023-09-12T21:15:33.447Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-12T21:15:33.706Z] ---> 7475cdd82a21 [2023-09-12T21:15:33.706Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:15:33.706Z] ---> Running in a67f83432097 [2023-09-12T21:16:12.452Z] Removing intermediate container a67f83432097 [2023-09-12T21:16:12.452Z] ---> cdd2e4355528 [2023-09-12T21:16:12.452Z] Step 10/12 : COPY . . [2023-09-12T21:16:12.452Z] ---> 8f8aaaccfb5b [2023-09-12T21:16:12.452Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:16:12.452Z] ---> Running in 97cebeb58238 [2023-09-12T21:16:12.452Z] Removing intermediate container 97cebeb58238 [2023-09-12T21:16:12.452Z] ---> a77931b40752 [2023-09-12T21:16:12.452Z] Step 12/12 : RUN $MAKE [2023-09-12T21:16:12.452Z] ---> Running in daadbc4974fe [2023-09-12T21:16:12.452Z] noop [2023-09-12T21:16:12.452Z] Removing intermediate container daadbc4974fe [2023-09-12T21:16:12.452Z] ---> 940eba2aa996 [2023-09-12T21:16:12.452Z] Successfully built 940eba2aa996 [2023-09-12T21:16:12.452Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:16:12.896Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T21:16:12.896Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:16:13.050Z] prd-ubuntu20.04-docker-8c-8g-5992 does not seem to be running inside a container [2023-09-12T21:16:13.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-427 -v /w/workspace/foundry_device-virtual-go_PR-427:/w/workspace/foundry_device-virtual-go_PR-427:rw,z -v /w/workspace/foundry_device-virtual-go_PR-427@tmp:/w/workspace/foundry_device-virtual-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T21:16:13.416Z] $ docker top dfaf686510e8394c1fb60bd3ec58aa5de584c839f506860752b1d91a981af733 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:16:13.793Z] + go version [2023-09-12T21:16:13.793Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T21:16:13.827Z] $ docker stop --time=1 dfaf686510e8394c1fb60bd3ec58aa5de584c839f506860752b1d91a981af733 [2023-09-12T21:16:15.088Z] $ docker rm -f --volumes dfaf686510e8394c1fb60bd3ec58aa5de584c839f506860752b1d91a981af733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:16:15.781Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T21:16:15.781Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:16:15.962Z] prd-ubuntu20.04-docker-8c-8g-5992 does not seem to be running inside a container [2023-09-12T21:16:16.022Z] $ 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-427 -v /w/workspace/foundry_device-virtual-go_PR-427:/w/workspace/foundry_device-virtual-go_PR-427:rw,z -v /w/workspace/foundry_device-virtual-go_PR-427@tmp:/w/workspace/foundry_device-virtual-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T21:16:16.543Z] $ docker top 328d19651cbf684c69f6b0dfaad3abe479451dc93c6f0a6e23fbac58a691782d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:16:16.938Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-427 [Pipeline] fileExists [Pipeline] sh [2023-09-12T21:16:17.299Z] + make test [2023-09-12T21:16:17.299Z] go test ./... -coverprofile=coverage.out [2023-09-12T21:16:18.674Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-12T21:16:28.635Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-12T21:16:28.635Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.014s coverage: 58.6% of statements [2023-09-12T21:16:32.817Z] go vet ./... [2023-09-12T21:16:36.097Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T21:16:36.097Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T21:16:36.097Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T21:16:36.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T21:16:36.166Z] $ docker stop --time=1 328d19651cbf684c69f6b0dfaad3abe479451dc93c6f0a6e23fbac58a691782d [2023-09-12T21:16:39.827Z] $ docker rm -f --volumes 328d19651cbf684c69f6b0dfaad3abe479451dc93c6f0a6e23fbac58a691782d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:16:40.350Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T21:16:40.428Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T21:16:41.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T21:16:41.425Z] + ls -al . [2023-09-12T21:16:41.426Z] total 204 [2023-09-12T21:16:41.426Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 21:16 . [2023-09-12T21:16:41.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:14 .. [2023-09-12T21:16:41.426Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:16 .git [2023-09-12T21:16:41.426Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:14 .github [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 12 21:14 .gitignore [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:14 .golangci.yml [2023-09-12T21:16:41.426Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:15 .semver [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 12 21:14 Attribution.txt [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 12 21:14 CHANGELOG.md [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 12 21:14 Dockerfile [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:14 GOVERNANCE.md [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 12 21:14 Jenkinsfile [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:14 LICENSE [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 12 21:14 Makefile [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 12 21:14 OWNERS.md [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 12 21:14 README.md [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:15 VERSION [2023-09-12T21:16:41.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:14 bin [2023-09-12T21:16:41.426Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:14 cmd [2023-09-12T21:16:41.426Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 12 21:16 coverage.out [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 3636 Sep 12 21:14 go.mod [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 33427 Sep 12 21:14 go.sum [2023-09-12T21:16:41.426Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:14 internal [2023-09-12T21:16:41.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:14 snap [2023-09-12T21:16:41.426Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 12 21:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:16:41.801Z] + 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=9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af --label arch=amd64 --label version=0.0.0 . [2023-09-12T21:16:41.801Z] Sending build context to Docker daemon 23.65MB [2023-09-12T21:16:41.801Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:16:41.801Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T21:16:41.801Z] ---> 940eba2aa996 [2023-09-12T21:16:41.801Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:16:42.370Z] ---> Running in 92a9371660ed [2023-09-12T21:16:42.370Z] Removing intermediate container 92a9371660ed [2023-09-12T21:16:42.370Z] ---> 865ffeb89ebd [2023-09-12T21:16:42.370Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:16:42.370Z] ---> Running in b84bd421dd90 [2023-09-12T21:16:42.370Z] Removing intermediate container b84bd421dd90 [2023-09-12T21:16:42.370Z] ---> dc03ab53c24b [2023-09-12T21:16:42.370Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:16:42.370Z] ---> Running in 481ec90b2ac8 [2023-09-12T21:16:42.630Z] Removing intermediate container 481ec90b2ac8 [2023-09-12T21:16:42.630Z] ---> 8cf32edc6349 [2023-09-12T21:16:42.630Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-12T21:16:42.630Z] ---> Running in 6473a6618a60 [2023-09-12T21:16:42.630Z] Removing intermediate container 6473a6618a60 [2023-09-12T21:16:42.630Z] ---> 2d056e308935 [2023-09-12T21:16:42.630Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:16:42.630Z] ---> Running in e349a784959e [2023-09-12T21:16:42.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:16:43.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:16:43.407Z] OK: 270 MiB in 60 packages [2023-09-12T21:16:43.666Z] Removing intermediate container e349a784959e [2023-09-12T21:16:43.666Z] ---> 9448483d3b5e [2023-09-12T21:16:43.666Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-12T21:16:43.666Z] ---> 5bbb86b71f52 [2023-09-12T21:16:43.666Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:16:43.666Z] ---> Running in 584400950cc1 [2023-09-12T21:16:44.600Z] Removing intermediate container 584400950cc1 [2023-09-12T21:16:44.600Z] ---> 140c740cb021 [2023-09-12T21:16:44.600Z] Step 10/25 : COPY . . [2023-09-12T21:16:45.167Z] ---> 0b8835f7dcfd [2023-09-12T21:16:45.167Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:16:45.167Z] ---> Running in 9a641c53c6cc [2023-09-12T21:16:45.426Z] Removing intermediate container 9a641c53c6cc [2023-09-12T21:16:45.426Z] ---> c3a3479af3e8 [2023-09-12T21:16:45.426Z] Step 12/25 : RUN $MAKE [2023-09-12T21:16:45.426Z] ---> Running in 2f4e55799bd9 [2023-09-12T21:16:45.686Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-12T21:17:03.762Z] Removing intermediate container 2f4e55799bd9 [2023-09-12T21:17:03.763Z] ---> 441e4157f942 [2023-09-12T21:17:03.763Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T21:17:03.763Z] 3.18: Pulling from library/alpine [2023-09-12T21:17:03.763Z] 7264a8db6415: Already exists [2023-09-12T21:17:04.021Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T21:17:04.021Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T21:17:04.021Z] ---> 7e01a0d0a1dc [2023-09-12T21:17:04.021Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-12T21:17:04.021Z] ---> Running in bda4f3913ac1 [2023-09-12T21:17:04.021Z] Removing intermediate container bda4f3913ac1 [2023-09-12T21:17:04.021Z] ---> cbe43db6b4b6 [2023-09-12T21:17:04.021Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T21:17:04.280Z] ---> Running in aed5b3c169dc [2023-09-12T21:17:04.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:17:04.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:17:04.803Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T21:17:04.803Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:17:04.803Z] OK: 7 MiB in 16 packages [2023-09-12T21:17:05.062Z] Removing intermediate container aed5b3c169dc [2023-09-12T21:17:05.062Z] ---> 11026ca61df3 [2023-09-12T21:17:05.062Z] Step 16/25 : WORKDIR / [2023-09-12T21:17:05.062Z] ---> Running in d8cf61a3c9cc [2023-09-12T21:17:05.062Z] Removing intermediate container d8cf61a3c9cc [2023-09-12T21:17:05.062Z] ---> e08153f88804 [2023-09-12T21:17:05.062Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-12T21:17:05.320Z] ---> b767dc0995d5 [2023-09-12T21:17:05.320Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-12T21:17:05.320Z] ---> 61c36d9f1533 [2023-09-12T21:17:05.320Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-12T21:17:06.254Z] ---> d138ed211987 [2023-09-12T21:17:06.254Z] Step 20/25 : EXPOSE 59900 [2023-09-12T21:17:06.254Z] ---> Running in 24476dc7a9b7 [2023-09-12T21:17:06.254Z] Removing intermediate container 24476dc7a9b7 [2023-09-12T21:17:06.254Z] ---> 2a3796234b49 [2023-09-12T21:17:06.254Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-12T21:17:06.254Z] ---> Running in 9e0226a5a106 [2023-09-12T21:17:06.254Z] Removing intermediate container 9e0226a5a106 [2023-09-12T21:17:06.254Z] ---> 9d5039078c74 [2023-09-12T21:17:06.254Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T21:17:06.254Z] ---> Running in 368fd50b8c08 [2023-09-12T21:17:06.512Z] Removing intermediate container 368fd50b8c08 [2023-09-12T21:17:06.512Z] ---> 341f22d9cf95 [2023-09-12T21:17:06.512Z] Step 23/25 : LABEL arch=amd64 [2023-09-12T21:17:06.512Z] ---> Running in 5228642ea793 [2023-09-12T21:17:06.512Z] Removing intermediate container 5228642ea793 [2023-09-12T21:17:06.512Z] ---> 0283a64b15f3 [2023-09-12T21:17:06.512Z] Step 24/25 : LABEL git_sha=9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af [2023-09-12T21:17:06.512Z] ---> Running in ea77574e7d3b [2023-09-12T21:17:06.512Z] Removing intermediate container ea77574e7d3b [2023-09-12T21:17:06.512Z] ---> 73d35e83dc1b [2023-09-12T21:17:06.512Z] Step 25/25 : LABEL version=0.0.0 [2023-09-12T21:17:06.512Z] ---> Running in 5d0255e8737a [2023-09-12T21:17:06.771Z] Removing intermediate container 5d0255e8737a [2023-09-12T21:17:06.771Z] ---> 60420f8707fd [2023-09-12T21:17:06.771Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T21:17:06.771Z] Successfully built 60420f8707fd [2023-09-12T21:17:06.771Z] 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 [2023-09-12T21:17:07.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:17:07.627Z] [2023-09-12T21:17:07.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:17:07.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:17:07.987Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T21:17:07.987Z] 5eb5b503b376: Pulling fs layer [2023-09-12T21:17:07.987Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T21:17:07.987Z] ec43610c2a17: Pulling fs layer [2023-09-12T21:17:07.987Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T21:17:07.987Z] 33b1e0a273af: Pulling fs layer [2023-09-12T21:17:07.987Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T21:17:07.987Z] 2f39f015ded8: Pulling fs layer [2023-09-12T21:17:07.987Z] 33b1e0a273af: Waiting [2023-09-12T21:17:07.987Z] 3a2ae6a8a46f: Waiting [2023-09-12T21:17:07.987Z] 5d3b04190fa2: Waiting [2023-09-12T21:17:07.987Z] 2f39f015ded8: Waiting [2023-09-12T21:17:07.987Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T21:17:07.987Z] 5c69ac0246d0: Download complete [2023-09-12T21:17:07.987Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T21:17:07.987Z] 3a2ae6a8a46f: Download complete [2023-09-12T21:17:07.987Z] 33b1e0a273af: Verifying Checksum [2023-09-12T21:17:07.987Z] 33b1e0a273af: Download complete [2023-09-12T21:17:07.987Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T21:17:07.987Z] 5d3b04190fa2: Download complete [2023-09-12T21:17:08.245Z] ec43610c2a17: Verifying Checksum [2023-09-12T21:17:08.245Z] ec43610c2a17: Download complete [2023-09-12T21:17:08.245Z] 5eb5b503b376: Verifying Checksum [2023-09-12T21:17:08.245Z] 5eb5b503b376: Download complete [2023-09-12T21:17:08.809Z] 2f39f015ded8: Download complete [2023-09-12T21:17:09.373Z] 5eb5b503b376: Pull complete [2023-09-12T21:17:09.374Z] 5c69ac0246d0: Pull complete [2023-09-12T21:17:09.938Z] ec43610c2a17: Pull complete [2023-09-12T21:17:09.938Z] 3a2ae6a8a46f: Pull complete [2023-09-12T21:17:10.200Z] 33b1e0a273af: Pull complete [2023-09-12T21:17:10.200Z] 5d3b04190fa2: Pull complete [2023-09-12T21:17:14.383Z] 2f39f015ded8: Pull complete [2023-09-12T21:17:14.383Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T21:17:14.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:17:14.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:17:14.601Z] prd-ubuntu20.04-docker-8c-8g-5992 does not seem to be running inside a container [2023-09-12T21:17:14.635Z] $ 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-427 -v /w/workspace/foundry_device-virtual-go_PR-427:/w/workspace/foundry_device-virtual-go_PR-427:rw,z -v /w/workspace/foundry_device-virtual-go_PR-427@tmp:/w/workspace/foundry_device-virtual-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T21:17:18.558Z] $ docker top 94d321b73545624fc3614056b03569bcda8307ebcbf2780a3b3360ffd54c1d76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:17:18.972Z] ---> job-cost.sh [2023-09-12T21:17:18.972Z] lf-activate-venv: SKIPPING [2023-09-12T21:17:18.972Z] INFO: No Stack... [2023-09-12T21:17:19.230Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T21:17:19.490Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T21:17:19.804Z] + cat /w/workspace/foundry_device-virtual-go_PR-427/archives/cost.csv [2023-09-12T21:17:19.804Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T21:17:19.846Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-427-1-stack-cost] [2023-09-12T21:17:19.851Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-427-1-stack-cost] did not exist. Created. [2023-09-12T21:17:19.851Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-427-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T21:17:20.239Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T21:17:20.291Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T21:17:20.324Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-427-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T21:17:20.404Z] $ docker stop --time=1 94d321b73545624fc3614056b03569bcda8307ebcbf2780a3b3360ffd54c1d76 [2023-09-12T21:17:21.552Z] $ docker rm -f --volumes 94d321b73545624fc3614056b03569bcda8307ebcbf2780a3b3360ffd54c1d76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T21:18:59.068Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5993 in /w/workspace/foundry_device-virtual-go_PR-427 [Pipeline] { [Pipeline] ws [2023-09-12T21:18:59.123Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-09-12T21:18:59.195Z] The recommended git tool is: git [2023-09-12T21:19:04.795Z] using credential edgex-jenkins-ssh [2023-09-12T21:19:04.822Z] Cloning the remote Git repository [2023-09-12T21:19:04.864Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-12T21:19:04.970Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-09-12T21:19:05.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-12T21:19:05.133Z] > git --version # timeout=10 [2023-09-12T21:19:05.158Z] > git --version # 'git version 2.25.1' [2023-09-12T21:19:05.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:19:05.323Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T21:19:07.364Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-12T21:19:07.386Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T21:19:08.908Z] Merging remotes/origin/main commit 3e7277aeb6c2165bba0097e742148e8cd729522a into PR head commit 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af [2023-09-12T21:19:09.207Z] Merge succeeded, producing 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af [2023-09-12T21:19:09.208Z] Checking out Revision 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af (PR-427) [2023-09-12T21:19:08.268Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-12T21:19:08.310Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-12T21:19:08.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:19:08.328Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-12T21:19:08.918Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T21:19:09.000Z] > git checkout -f 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af # timeout=10 [2023-09-12T21:19:09.092Z] > git remote # timeout=10 [2023-09-12T21:19:09.113Z] > git config --get remote.origin.url # timeout=10 [2023-09-12T21:19:09.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:19:09.151Z] > git merge 3e7277aeb6c2165bba0097e742148e8cd729522a # timeout=10 [2023-09-12T21:19:09.178Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-12T21:19:09.206Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T21:19:09.220Z] > git checkout -f 9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af # timeout=10 [2023-09-12T21:19:12.760Z] Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" [2023-09-12T21:19:12.807Z] > git --version # timeout=10 [2023-09-12T21:19:12.820Z] > git --version # 'git version 2.25.1' [2023-09-12T21:19:12.838Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:19:13.933Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T21:19:13.933Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T21:19:13.933Z] Dload Upload Total Spent Left Speed [2023-09-12T21:19:13.933Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [2023-09-12T21:19:14.564Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T21:19:14.913Z] + sudo tee /etc/docker/daemon.new [2023-09-12T21:19:14.913Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T21:19:14.913Z] { [2023-09-12T21:19:14.913Z] "registry-mirrors": [ [2023-09-12T21:19:14.913Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T21:19:14.913Z] ], [2023-09-12T21:19:14.913Z] "bip": "10.250.0.254/24", [2023-09-12T21:19:14.913Z] "hosts": [ [2023-09-12T21:19:14.913Z] "tcp://0.0.0.0:5555", [2023-09-12T21:19:14.913Z] "unix:///var/run/docker.sock" [2023-09-12T21:19:14.913Z] ], [2023-09-12T21:19:14.913Z] "mtu": 1458, [2023-09-12T21:19:14.913Z] "selinux-enabled": true, [2023-09-12T21:19:14.913Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T21:19:14.913Z] } [Pipeline] sh [2023-09-12T21:19:15.254Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T21:19:15.600Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:19:33.925Z] provisioning config files... [2023-09-12T21:19:33.951Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17257502604302840021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:19:34.337Z] ---> docker-login.sh [2023-09-12T21:19:34.337Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:19:34.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:19:34.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:19:34.877Z] Configure a credential helper to remove this warning. See [2023-09-12T21:19:34.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:19:34.877Z] [2023-09-12T21:19:34.877Z] Login Succeeded [2023-09-12T21:19:34.877Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:19:35.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:19:35.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:19:35.412Z] Configure a credential helper to remove this warning. See [2023-09-12T21:19:35.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:19:35.412Z] [2023-09-12T21:19:35.412Z] Login Succeeded [2023-09-12T21:19:35.412Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:19:35.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:19:35.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:19:35.681Z] Configure a credential helper to remove this warning. See [2023-09-12T21:19:35.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:19:35.681Z] [2023-09-12T21:19:35.681Z] Login Succeeded [2023-09-12T21:19:35.681Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:19:35.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:19:35.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:19:35.956Z] Configure a credential helper to remove this warning. See [2023-09-12T21:19:35.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:19:35.956Z] [2023-09-12T21:19:35.956Z] Login Succeeded [2023-09-12T21:19:35.956Z] docker.io [2023-09-12T21:19:36.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:19:36.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:19:36.495Z] Configure a credential helper to remove this warning. See [2023-09-12T21:19:36.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:19:36.495Z] [2023-09-12T21:19:36.495Z] Login Succeeded [2023-09-12T21:19:36.763Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:19:36.793Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T21:19:37.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:19:37.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:19:37.249Z] ========================================================= [2023-09-12T21:19:37.249Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T21:19:37.249Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:19:37.756Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T21:19:38.024Z] Sending build context to Docker daemon 11.95MB [2023-09-12T21:19:38.024Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:19:38.024Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T21:19:38.293Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T21:19:38.293Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T21:19:38.293Z] 5d54e960e981: Pulling fs layer [2023-09-12T21:19:38.293Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T21:19:38.293Z] f0e02332f6b5: Pulling fs layer [2023-09-12T21:19:38.293Z] 66412af1f25a: Pulling fs layer [2023-09-12T21:19:38.293Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T21:19:38.293Z] 9a37bb91b891: Pulling fs layer [2023-09-12T21:19:38.293Z] a29adfc67d43: Pulling fs layer [2023-09-12T21:19:38.293Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T21:19:38.293Z] 9a37bb91b891: Waiting [2023-09-12T21:19:38.293Z] f0e02332f6b5: Waiting [2023-09-12T21:19:38.293Z] a29adfc67d43: Waiting [2023-09-12T21:19:38.293Z] 66412af1f25a: Waiting [2023-09-12T21:19:38.293Z] d5de9f91c1a4: Waiting [2023-09-12T21:19:38.293Z] 5d54e960e981: Verifying Checksum [2023-09-12T21:19:38.293Z] 5d54e960e981: Download complete [2023-09-12T21:19:38.293Z] f0e02332f6b5: Verifying Checksum [2023-09-12T21:19:38.293Z] f0e02332f6b5: Download complete [2023-09-12T21:19:38.293Z] 66412af1f25a: Download complete [2023-09-12T21:19:38.293Z] 9fda8d8052c6: Download complete [2023-09-12T21:19:39.259Z] 9a37bb91b891: Verifying Checksum [2023-09-12T21:19:39.259Z] 9a37bb91b891: Download complete [2023-09-12T21:19:39.855Z] 9fda8d8052c6: Pull complete [2023-09-12T21:19:39.855Z] a29adfc67d43: Verifying Checksum [2023-09-12T21:19:39.855Z] a29adfc67d43: Download complete [2023-09-12T21:19:40.449Z] 5d54e960e981: Pull complete [2023-09-12T21:19:40.449Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T21:19:40.449Z] d5de9f91c1a4: Download complete [2023-09-12T21:19:40.449Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T21:19:40.449Z] c4a7e357bf2a: Download complete [2023-09-12T21:19:41.415Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T21:19:41.415Z] 1baf3a5c0e64: Download complete [2023-09-12T21:19:51.518Z] c4a7e357bf2a: Pull complete [2023-09-12T21:19:51.518Z] f0e02332f6b5: Pull complete [2023-09-12T21:19:51.787Z] 66412af1f25a: Pull complete [2023-09-12T21:19:58.445Z] 1baf3a5c0e64: Pull complete [2023-09-12T21:19:59.865Z] 9a37bb91b891: Pull complete [2023-09-12T21:20:00.825Z] a29adfc67d43: Pull complete [2023-09-12T21:20:04.168Z] d5de9f91c1a4: Pull complete [2023-09-12T21:20:04.168Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T21:20:04.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T21:20:04.168Z] ---> 746ca1b523b5 [2023-09-12T21:20:04.168Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:20:06.154Z] ---> Running in 0b0c37139a90 [2023-09-12T21:20:06.154Z] Removing intermediate container 0b0c37139a90 [2023-09-12T21:20:06.154Z] ---> b20dd8ec5c6f [2023-09-12T21:20:06.154Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:20:06.154Z] ---> Running in 973368db1fb5 [2023-09-12T21:20:06.423Z] Removing intermediate container 973368db1fb5 [2023-09-12T21:20:06.423Z] ---> 96c77f5ef38e [2023-09-12T21:20:06.423Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:20:06.423Z] ---> Running in d7f47530bc03 [2023-09-12T21:20:07.005Z] Removing intermediate container d7f47530bc03 [2023-09-12T21:20:07.005Z] ---> 79adab5e3ee8 [2023-09-12T21:20:07.005Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-12T21:20:07.005Z] ---> Running in 89918588d60c [2023-09-12T21:20:07.272Z] Removing intermediate container 89918588d60c [2023-09-12T21:20:07.272Z] ---> 155f30f9d61b [2023-09-12T21:20:07.272Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:20:07.272Z] ---> Running in f3d1b8693c6a [2023-09-12T21:20:08.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:20:08.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:20:09.797Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T21:20:09.797Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T21:20:09.797Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T21:20:09.797Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T21:20:09.797Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:20:09.797Z] OK: 272 MiB in 60 packages [2023-09-12T21:20:11.208Z] Removing intermediate container f3d1b8693c6a [2023-09-12T21:20:11.208Z] ---> b876f68e0863 [2023-09-12T21:20:11.208Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-12T21:20:11.475Z] ---> 8491765ee159 [2023-09-12T21:20:11.475Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:20:11.475Z] ---> Running in 9f57e76a8612 [2023-09-12T21:21:19.336Z] Removing intermediate container 9f57e76a8612 [2023-09-12T21:21:19.336Z] ---> 7612ab4079fe [2023-09-12T21:21:19.336Z] Step 10/12 : COPY . . [2023-09-12T21:21:19.336Z] ---> 1e4a60af9e14 [2023-09-12T21:21:19.336Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:21:19.606Z] ---> Running in 01a645bc8f95 [2023-09-12T21:21:19.874Z] Removing intermediate container 01a645bc8f95 [2023-09-12T21:21:19.874Z] ---> 57cd469bb885 [2023-09-12T21:21:19.874Z] Step 12/12 : RUN $MAKE [2023-09-12T21:21:19.874Z] ---> Running in 372b0b202016 [2023-09-12T21:21:20.842Z] noop [2023-09-12T21:21:21.430Z] Removing intermediate container 372b0b202016 [2023-09-12T21:21:21.430Z] ---> 862f8d92296f [2023-09-12T21:21:21.430Z] Successfully built 862f8d92296f [2023-09-12T21:21:21.430Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:21:21.904Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T21:21:21.904Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:21:22.205Z] prd-ubuntu20.04-docker-arm64-4c-16g-5993 does not seem to be running inside a container [2023-09-12T21:21:22.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T21:21:25.596Z] $ docker top 0cf4a3185def05718fac088505c5b99b2c30c34260898d21169fecf6ca6bd5e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:21:26.459Z] + go version [2023-09-12T21:21:26.459Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T21:21:26.494Z] $ docker stop --time=1 0cf4a3185def05718fac088505c5b99b2c30c34260898d21169fecf6ca6bd5e4 [2023-09-12T21:21:28.117Z] $ docker rm -f --volumes 0cf4a3185def05718fac088505c5b99b2c30c34260898d21169fecf6ca6bd5e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:21:28.976Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T21:21:28.976Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:21:29.218Z] prd-ubuntu20.04-docker-arm64-4c-16g-5993 does not seem to be running inside a container [2023-09-12T21:21:29.287Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T21:21:30.505Z] $ docker top cbdabc6b095e11351e372ac837f8ed482648784a0481fc6a36ae1654839db573 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:21:31.354Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-12T21:21:32.065Z] + make test [2023-09-12T21:21:32.065Z] go test ./... -coverprofile=coverage.out [2023-09-12T21:21:36.323Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-12T21:23:12.943Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-12T21:23:12.943Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.069s coverage: 58.4% of statements [2023-09-12T21:23:12.943Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T21:23:12.943Z] go vet ./... [2023-09-12T21:23:39.641Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T21:23:39.641Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T21:23:39.641Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T21:23:39.675Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T21:23:39.713Z] $ docker stop --time=1 cbdabc6b095e11351e372ac837f8ed482648784a0481fc6a36ae1654839db573 [2023-09-12T21:23:41.839Z] $ docker rm -f --volumes cbdabc6b095e11351e372ac837f8ed482648784a0481fc6a36ae1654839db573 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:23:43.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T21:23:43.234Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T21:23:43.748Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:23:44.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T21:23:44.725Z] + ls -al . [2023-09-12T21:23:44.725Z] total 200 [2023-09-12T21:23:44.725Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:21 . [2023-09-12T21:23:44.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:19 .. [2023-09-12T21:23:44.725Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:19 .git [2023-09-12T21:23:44.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:19 .github [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 12 21:19 .gitignore [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:19 .golangci.yml [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 12 21:19 Attribution.txt [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 12 21:19 CHANGELOG.md [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 12 21:19 Dockerfile [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:19 GOVERNANCE.md [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 12 21:19 Jenkinsfile [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:19 LICENSE [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 12 21:19 Makefile [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 12 21:19 OWNERS.md [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 12 21:19 README.md [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:15 VERSION [2023-09-12T21:23:44.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:19 bin [2023-09-12T21:23:44.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:19 cmd [2023-09-12T21:23:44.725Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 12 21:23 coverage.out [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 3636 Sep 12 21:19 go.mod [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 33427 Sep 12 21:19 go.sum [2023-09-12T21:23:44.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:19 internal [2023-09-12T21:23:44.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:19 snap [2023-09-12T21:23:44.725Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 12 21:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:23:45.148Z] + 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=9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af --label arch=arm64 --label version=0.0.0 . [2023-09-12T21:23:46.113Z] Sending build context to Docker daemon 11.99MB [2023-09-12T21:23:46.113Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:23:46.113Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T21:23:46.113Z] ---> 862f8d92296f [2023-09-12T21:23:46.113Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:23:46.381Z] ---> Running in 62ec60e8929b [2023-09-12T21:23:46.653Z] Removing intermediate container 62ec60e8929b [2023-09-12T21:23:46.653Z] ---> 4d8085fb8a81 [2023-09-12T21:23:46.653Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:23:46.653Z] ---> Running in 2f87adc079d7 [2023-09-12T21:23:46.930Z] Removing intermediate container 2f87adc079d7 [2023-09-12T21:23:46.930Z] ---> ba077e982456 [2023-09-12T21:23:46.930Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:23:47.198Z] ---> Running in ab374f22e97a [2023-09-12T21:23:47.468Z] Removing intermediate container ab374f22e97a [2023-09-12T21:23:47.468Z] ---> 1eaec557c881 [2023-09-12T21:23:47.468Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-12T21:23:47.468Z] ---> Running in 7ad56caaa012 [2023-09-12T21:23:48.893Z] Removing intermediate container 7ad56caaa012 [2023-09-12T21:23:48.893Z] ---> 0222983a4f22 [2023-09-12T21:23:48.893Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:23:49.161Z] ---> Running in 72f167111c47 [2023-09-12T21:23:50.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:23:51.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:23:53.121Z] OK: 272 MiB in 60 packages [2023-09-12T21:23:54.533Z] Removing intermediate container 72f167111c47 [2023-09-12T21:23:54.533Z] ---> c00bbdd47ef5 [2023-09-12T21:23:54.533Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-12T21:23:56.495Z] ---> 7cd583c21316 [2023-09-12T21:23:56.496Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:23:56.763Z] ---> Running in 0b76a4be92ff [2023-09-12T21:23:59.357Z] Removing intermediate container 0b76a4be92ff [2023-09-12T21:23:59.357Z] ---> 41c9cf9c31a5 [2023-09-12T21:23:59.357Z] Step 10/25 : COPY . . [2023-09-12T21:24:00.315Z] ---> 4bbcb38db656 [2023-09-12T21:24:00.315Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:24:00.582Z] ---> Running in 7ed5e621befd [2023-09-12T21:24:00.850Z] Removing intermediate container 7ed5e621befd [2023-09-12T21:24:00.850Z] ---> dcd2b1bc4019 [2023-09-12T21:24:00.850Z] Step 12/25 : RUN $MAKE [2023-09-12T21:24:00.850Z] ---> Running in e2e77b81b339 [2023-09-12T21:24:01.825Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-12T21:26:08.547Z] Removing intermediate container e2e77b81b339 [2023-09-12T21:26:08.547Z] ---> 8156ec0637b0 [2023-09-12T21:26:08.547Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T21:26:08.547Z] 3.18: Pulling from library/alpine [2023-09-12T21:26:08.547Z] 9fda8d8052c6: Already exists [2023-09-12T21:26:08.547Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T21:26:08.547Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T21:26:08.547Z] ---> f6648c04cd6c [2023-09-12T21:26:08.547Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-12T21:26:08.547Z] ---> Running in a3a78d4f50dd [2023-09-12T21:26:08.547Z] Removing intermediate container a3a78d4f50dd [2023-09-12T21:26:08.547Z] ---> 2b9f1c801bb2 [2023-09-12T21:26:08.547Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T21:26:08.547Z] ---> Running in c05d5ec36a06 [2023-09-12T21:26:08.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:26:08.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:26:08.547Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T21:26:08.547Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:26:08.547Z] OK: 8 MiB in 16 packages [2023-09-12T21:26:08.547Z] Removing intermediate container c05d5ec36a06 [2023-09-12T21:26:08.547Z] ---> 79a609d9056a [2023-09-12T21:26:08.547Z] Step 16/25 : WORKDIR / [2023-09-12T21:26:08.547Z] ---> Running in cf235314d2af [2023-09-12T21:26:08.547Z] Removing intermediate container cf235314d2af [2023-09-12T21:26:08.547Z] ---> dd2d5f93da97 [2023-09-12T21:26:08.547Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-12T21:26:08.547Z] ---> af2307bd3961 [2023-09-12T21:26:08.547Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-12T21:26:08.547Z] ---> 32f8ff21a8ad [2023-09-12T21:26:08.547Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-12T21:26:08.547Z] ---> 110638267876 [2023-09-12T21:26:08.547Z] Step 20/25 : EXPOSE 59900 [2023-09-12T21:26:08.547Z] ---> Running in 8d3019906a4d [2023-09-12T21:26:08.547Z] Removing intermediate container 8d3019906a4d [2023-09-12T21:26:08.547Z] ---> 3dd124a6c993 [2023-09-12T21:26:08.547Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-12T21:26:08.547Z] ---> Running in ec88e14d7dcb [2023-09-12T21:26:08.547Z] Removing intermediate container ec88e14d7dcb [2023-09-12T21:26:08.547Z] ---> da41dd446f11 [2023-09-12T21:26:08.547Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T21:26:08.547Z] ---> Running in bce65a30c4a9 [2023-09-12T21:26:08.547Z] Removing intermediate container bce65a30c4a9 [2023-09-12T21:26:08.547Z] ---> dcbe464b2f4c [2023-09-12T21:26:08.547Z] Step 23/25 : LABEL arch=arm64 [2023-09-12T21:26:08.547Z] ---> Running in 436a109b1c77 [2023-09-12T21:26:08.547Z] Removing intermediate container 436a109b1c77 [2023-09-12T21:26:08.547Z] ---> f44a0931865d [2023-09-12T21:26:08.547Z] Step 24/25 : LABEL git_sha=9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af [2023-09-12T21:26:08.547Z] ---> Running in de7d95ac3d12 [2023-09-12T21:26:08.547Z] Removing intermediate container de7d95ac3d12 [2023-09-12T21:26:08.547Z] ---> 5ad9d9b7856c [2023-09-12T21:26:08.547Z] Step 25/25 : LABEL version=0.0.0 [2023-09-12T21:26:08.547Z] ---> Running in 987fbcf2e705 [2023-09-12T21:26:08.547Z] Removing intermediate container 987fbcf2e705 [2023-09-12T21:26:08.547Z] ---> 169357d97ee7 [2023-09-12T21:26:08.547Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T21:26:08.547Z] Successfully built 169357d97ee7 [2023-09-12T21:26:08.547Z] 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 [2023-09-12T21:26:09.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:26:09.368Z] [2023-09-12T21:26:09.368Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:26:09.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:26:09.771Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T21:26:09.771Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T21:26:09.771Z] 04944245beec: Pulling fs layer [2023-09-12T21:26:09.771Z] 699f458cf7ca: Pulling fs layer [2023-09-12T21:26:09.771Z] 765212b225bb: Pulling fs layer [2023-09-12T21:26:09.771Z] f23df028b6ca: Pulling fs layer [2023-09-12T21:26:09.771Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T21:26:09.771Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T21:26:09.771Z] d65c8cfc05b1: Waiting [2023-09-12T21:26:09.771Z] f23df028b6ca: Waiting [2023-09-12T21:26:09.771Z] 2437ff75d9bd: Waiting [2023-09-12T21:26:09.771Z] 765212b225bb: Waiting [2023-09-12T21:26:10.041Z] 04944245beec: Verifying Checksum [2023-09-12T21:26:10.041Z] 04944245beec: Download complete [2023-09-12T21:26:10.041Z] 765212b225bb: Verifying Checksum [2023-09-12T21:26:10.041Z] 765212b225bb: Download complete [2023-09-12T21:26:10.041Z] f23df028b6ca: Download complete [2023-09-12T21:26:10.041Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T21:26:10.041Z] d65c8cfc05b1: Download complete [2023-09-12T21:26:10.041Z] 699f458cf7ca: Verifying Checksum [2023-09-12T21:26:10.041Z] 699f458cf7ca: Download complete [2023-09-12T21:26:10.623Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T21:26:10.623Z] 8998bd30e6a1: Download complete [2023-09-12T21:26:12.576Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T21:26:12.576Z] 2437ff75d9bd: Download complete [2023-09-12T21:26:14.518Z] 8998bd30e6a1: Pull complete [2023-09-12T21:26:15.100Z] 04944245beec: Pull complete [2023-09-12T21:26:16.510Z] 699f458cf7ca: Pull complete [2023-09-12T21:26:16.510Z] 765212b225bb: Pull complete [2023-09-12T21:26:17.095Z] f23df028b6ca: Pull complete [2023-09-12T21:26:17.363Z] d65c8cfc05b1: Pull complete [2023-09-12T21:26:32.353Z] 2437ff75d9bd: Pull complete [2023-09-12T21:26:32.353Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T21:26:32.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:26:32.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:26:32.689Z] prd-ubuntu20.04-docker-arm64-4c-16g-5993 does not seem to be running inside a container [2023-09-12T21:26:32.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T21:26:36.127Z] $ docker top 93acdcdfc1dfddfac0409e47f021ab8edf2003e9b9cec095d0d4c07485f1eb7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:26:37.033Z] ---> job-cost.sh [2023-09-12T21:26:37.033Z] lf-activate-venv: SKIPPING [2023-09-12T21:26:37.033Z] INFO: No Stack... [2023-09-12T21:26:37.301Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T21:26:38.264Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T21:26:38.922Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2023-09-12T21:26:38.922Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T21:26:38.985Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-427-1-stack-cost] [2023-09-12T21:26:38.991Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-427-1-stack-cost] did not exist. Created. [2023-09-12T21:26:38.991Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-427-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T21:26:39.717Z] /w/workspace/device-virtual-go/1@tmp/durable-d32e2766/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T21:26:40.387Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T21:26:40.421Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T21:26:40.482Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T21:26:40.497Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-427-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T21:26:40.580Z] $ docker stop --time=1 93acdcdfc1dfddfac0409e47f021ab8edf2003e9b9cec095d0d4c07485f1eb7a [2023-09-12T21:26:42.044Z] $ docker rm -f --volumes 93acdcdfc1dfddfac0409e47f021ab8edf2003e9b9cec095d0d4c07485f1eb7a [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 [2023-09-12T21:26:43.032Z] provisioning config files... [2023-09-12T21:26:43.039Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-427@tmp/config16112760434977205505tmp [Pipeline] { [Pipeline] sh [2023-09-12T21:26:43.373Z] + set +x [2023-09-12T21:26:43.374Z] + bash -s -- [2023-09-12T21:26:43.374Z] + curl -s https://codecov.io/bash [2023-09-12T21:26:43.374Z] [2023-09-12T21:26:43.374Z] _____ _ [2023-09-12T21:26:43.374Z] / ____| | | [2023-09-12T21:26:43.374Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T21:26:43.374Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T21:26:43.374Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T21:26:43.374Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T21:26:43.374Z] Bash-1.0.6 [2023-09-12T21:26:43.374Z] [2023-09-12T21:26:43.374Z] [2023-09-12T21:26:43.374Z] ==> git version 2.25.1 found [2023-09-12T21:26:43.374Z] ==> 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 [2023-09-12T21:26:43.374Z] Release-Date: 2020-01-08 [2023-09-12T21:26:43.374Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-12T21:26:43.374Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T21:26:43.374Z] ==> Jenkins CI detected. [2023-09-12T21:26:43.374Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-427 [2023-09-12T21:26:43.374Z] project root: . [2023-09-12T21:26:43.374Z] --> token set from env [2023-09-12T21:26:43.374Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T21:26:43.374Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T21:26:43.374Z] ==> Python coveragepy not found [2023-09-12T21:26:43.374Z] ==> Searching for coverage reports in: [2023-09-12T21:26:43.374Z] + . [2023-09-12T21:26:43.374Z] -> Found 1 reports [2023-09-12T21:26:43.374Z] ==> Detecting git/mercurial file structure [2023-09-12T21:26:43.633Z] ==> Reading reports [2023-09-12T21:26:43.633Z] + ./coverage.out bytes=43063 [2023-09-12T21:26:43.633Z] ==> Appending adjustments [2023-09-12T21:26:43.633Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T21:26:43.633Z] + Found adjustments [2023-09-12T21:26:43.633Z] ==> Gzipping contents [2023-09-12T21:26:43.633Z] 8.0K /tmp/codecov.nJM4Md.gz [2023-09-12T21:26:43.633Z] ==> Uploading reports [2023-09-12T21:26:43.633Z] url: https://codecov.io [2023-09-12T21:26:43.633Z] query: branch=PR-427&commit=9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-427%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=427&job=&cmd_args= [2023-09-12T21:26:43.633Z] -> Pinging Codecov [2023-09-12T21:26:43.633Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-427&commit=9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-427%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=427&job=&cmd_args= [2023-09-12T21:26:43.633Z] -> Uploading to [2023-09-12T21:26:43.633Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/5E52B4B073DB2E39498172D8E973AA87/9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af/a023add7-47da-4cff-8e2b-994e4ec1ed50.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T212643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0599572ebc7e058cbb1dbd9e01a3cc75674d25c16c640d9f36f293e7c859e984 [2023-09-12T21:26:43.893Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T21:26:43.893Z] Dload Upload Total Spent Left Speed [2023-09-12T21:26:43.893Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25920 --:--:-- --:--:-- --:--:-- 25920 [2023-09-12T21:26:43.893Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9b51c0fc3ef0c40626bf36580ec3ae9d5dbbc6af [Pipeline] } [2023-09-12T21:26:43.920Z] 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 [2023-09-12T21:26:45.706Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-427/archives ] [2023-09-12T21:26:45.706Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-427/archives [2023-09-12T21:26:45.706Z] total 16 [2023-09-12T21:26:45.706Z] drwxr-xr-x 3 root root 4096 Sep 12 21:17 . [2023-09-12T21:26:45.706Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 21:17 .. [2023-09-12T21:26:45.706Z] drwxr-xr-x 2 root root 4096 Sep 12 21:17 cost [2023-09-12T21:26:45.706Z] -rw-r--r-- 1 root root 89 Sep 12 21:17 cost.csv [2023-09-12T21:26:45.706Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-427/archives [2023-09-12T21:26:45.706Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-427/archives [2023-09-12T21:26:45.706Z] total 16 [2023-09-12T21:26:45.706Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:17 . [2023-09-12T21:26:45.706Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 21:17 .. [2023-09-12T21:26:45.706Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 21:17 cost [2023-09-12T21:26:45.706Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 12 21:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:26:46.045Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:26:46.931Z] ---> package-listing.sh [2023-09-12T21:26:46.931Z] ++ facter osfamily [2023-09-12T21:26:46.931Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T21:26:47.191Z] + OS_FAMILY=debian [2023-09-12T21:26:47.191Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-427 [2023-09-12T21:26:47.191Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T21:26:47.191Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T21:26:47.191Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T21:26:47.191Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T21:26:47.191Z] + '[' /w/workspace/foundry_device-virtual-go_PR-427 ']' [2023-09-12T21:26:47.191Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T21:26:47.191Z] + case "${OS_FAMILY}" in [2023-09-12T21:26:47.191Z] + dpkg -l [2023-09-12T21:26:47.191Z] + grep '^ii' [2023-09-12T21:26:47.191Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T21:26:47.191Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T21:26:47.191Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T21:26:47.191Z] + '[' /w/workspace/foundry_device-virtual-go_PR-427 ']' [2023-09-12T21:26:47.191Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-427/archives/ [2023-09-12T21:26:47.191Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-427/archives/ [Pipeline] echo [2023-09-12T21:26:47.227Z] 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-427/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-12T21:26:47.519Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:26:48.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:26:48.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:26:48.293Z] prd-ubuntu20.04-docker-8c-8g-5992 does not seem to be running inside a container [2023-09-12T21:26:48.303Z] $ 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-427/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-427 -v /w/workspace/foundry_device-virtual-go_PR-427:/w/workspace/foundry_device-virtual-go_PR-427:rw,z -v /w/workspace/foundry_device-virtual-go_PR-427@tmp:/w/workspace/foundry_device-virtual-go_PR-427@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T21:26:48.480Z] $ docker top 663a80b7cc0d2b061bfb4b9bb555a8923b2fff12b1ead22300af856fd2751000 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:26:48.895Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T21:26:49.203Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T21:26:49.512Z] + ls /var/log/sa-host [2023-09-12T21:26:49.512Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:26:49.656Z] provisioning config files... [2023-09-12T21:26:49.665Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-427@tmp/config7564611174706009829tmp [Pipeline] { [Pipeline] echo [2023-09-12T21:26:49.715Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:26:50.025Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T21:26:50.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:26:50.459Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T21:26:50.489Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:26:50.798Z] ---> sudo-logs.sh [2023-09-12T21:26:50.798Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T21:26:50.887Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:26:51.196Z] ---> job-cost.sh [2023-09-12T21:26:51.196Z] lf-activate-venv: SKIPPING [2023-09-12T21:26:51.196Z] DEBUG: total: 0.2199999988079071 [2023-09-12T21:26:51.196Z] INFO: Retrieving Stack Cost... [2023-09-12T21:26:51.763Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T21:26:52.022Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T21:26:52.062Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:26:52.377Z] ---> logs-deploy.sh [2023-09-12T21:26:52.377Z] lf-activate-venv: SKIPPING [2023-09-12T21:26:52.377Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-427/1 [2023-09-12T21:26:52.377Z] INFO: archiving workspace using pattern(s): [2023-09-12T21:26:53.314Z] Archives upload complete. [2023-09-12T21:26:53.314Z] INFO: archiving logs to Nexus