Pull request #488 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 81eeae48d3608f4d5ac3b7406ec49b9a838d195c+8966c26b49b103c4be0d1e0859a9f7a15856cd15 (fa526cd4a8d0edfb297e4f4260f654874d433fc8) 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-ssh16249294901076221878.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh2752125082332590721.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 f3350a1713306dce7682ed7e37d5774890d03277 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-488/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-488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8528828228148083986.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-488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4249047499490030561.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh1600077466841218672.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-488/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-488/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8377153444452503450.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 f3350a1713306dce7682ed7e37d5774890d03277 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 ‘prd-ubuntu20.04-docker-8c-8g-9843’ Running on prd-ubuntu20.04-docker-8c-8g-9849 in /w/workspace/foundry_device-virtual-go_PR-488 [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-488 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8966c26b49b103c4be0d1e0859a9f7a15856cd15 into PR head commit 81eeae48d3608f4d5ac3b7406ec49b9a838d195c Merge succeeded, producing 81eeae48d3608f4d5ac3b7406ec49b9a838d195c Checking out Revision 81eeae48d3608f4d5ac3b7406ec49b9a838d195c (PR-488) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/488/head:refs/remotes/origin/PR-488 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81eeae48d3608f4d5ac3b7406ec49b9a838d195c # 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 8966c26b49b103c4be0d1e0859a9f7a15856cd15 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81eeae48d3608f4d5ac3b7406ec49b9a838d195c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-09T11:23:04.217Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-09T11:23:04.432Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-09T11:23:04.558Z] ========================================================= [2024-09-09T11:23:04.558Z] EdgeX Global Pipelines Version Info [2024-09-09T11:23:04.558Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:23:05.689Z] ------------------- [2024-09-09T11:23:05.689Z] stable info: [2024-09-09T11:23:05.689Z] ------------------- [2024-09-09T11:23:05.689Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-09T11:23:05.689Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-09T11:23:05.689Z] Message: update stable to v1.0.263 [2024-09-09T11:23:05.950Z] ------------------- [2024-09-09T11:23:05.950Z] experimental info: [2024-09-09T11:23:05.950Z] ------------------- [2024-09-09T11:23:05.950Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-09T11:23:05.950Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-09T11:23:05.950Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-09T11:23:06.211Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-09-09T11:23:06.269Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-09-09T11:23:06.322Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-09T11:23:06.378Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-09T11:23:06.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-09T11:23:06.489Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-09T11:23:06.544Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-09T11:23:06.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-09-09T11:23:06.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-09T11:23:06.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-09T11:23:06.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-09T11:23:06.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-09-09T11:23:06.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-09T11:23:06.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-09T11:23:07.005Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-09T11:23:07.063Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-09-09T11:23:07.118Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-09T11:23:07.178Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-09T11:23:07.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-09T11:23:07.302Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-09T11:23:07.357Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-09-09T11:23:07.423Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-09-09T11:23:07.470Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-09T11:23:07.522Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-09T11:23:07.577Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-09T11:23:07.634Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-09T11:23:07.694Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-09T11:23:07.752Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-488 [Pipeline] echo [2024-09-09T11:23:07.814Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-488 [Pipeline] echo [2024-09-09T11:23:07.880Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-488 [Pipeline] echo [2024-09-09T11:23:07.936Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 81eeae48d3608f4d5ac3b7406ec49b9a838d195c [Pipeline] echo [2024-09-09T11:23:08.000Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 81eeae4 [Pipeline] echo [2024-09-09T11:23:08.060Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T11:23:08.212Z] provisioning config files... [2024-09-09T11:23:08.231Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-488@tmp/config3787926934346013760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:23:08.608Z] ---> ****-login.sh [2024-09-09T11:23:08.608Z] nexus3.edgexfoundry.org:10001 [2024-09-09T11:23:08.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:23:09.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:23:09.131Z] Configure a credential helper to remove this warning. See [2024-09-09T11:23:09.131Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:23:09.131Z] [2024-09-09T11:23:09.131Z] Login Succeeded [2024-09-09T11:23:09.131Z] nexus3.edgexfoundry.org:10002 [2024-09-09T11:23:09.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:23:09.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:23:09.131Z] Configure a credential helper to remove this warning. See [2024-09-09T11:23:09.131Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:23:09.131Z] [2024-09-09T11:23:09.131Z] Login Succeeded [2024-09-09T11:23:09.131Z] nexus3.edgexfoundry.org:10003 [2024-09-09T11:23:09.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:23:09.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:23:09.393Z] Configure a credential helper to remove this warning. See [2024-09-09T11:23:09.393Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:23:09.393Z] [2024-09-09T11:23:09.393Z] Login Succeeded [2024-09-09T11:23:09.393Z] nexus3.edgexfoundry.org:10004 [2024-09-09T11:23:09.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:23:09.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:23:09.393Z] Configure a credential helper to remove this warning. See [2024-09-09T11:23:09.393Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:23:09.393Z] [2024-09-09T11:23:09.393Z] Login Succeeded [2024-09-09T11:23:09.393Z] ****.io [2024-09-09T11:23:09.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:23:09.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:23:09.653Z] Configure a credential helper to remove this warning. See [2024-09-09T11:23:09.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:23:09.653Z] [2024-09-09T11:23:09.653Z] Login Succeeded [2024-09-09T11:23:09.653Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T11:23:09.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-09T11:23:10.372Z] + git rev-list -1 --merges 81eeae48d3608f4d5ac3b7406ec49b9a838d195c~1..81eeae48d3608f4d5ac3b7406ec49b9a838d195c [Pipeline] echo [2024-09-09T11:23:10.423Z] -----------> git rev-list -1 --merges 81eeae48d3608f4d5ac3b7406ec49b9a838d195c~1..81eeae48d3608f4d5ac3b7406ec49b9a838d195c 81eeae48d3608f4d5ac3b7406ec49b9a838d195c [false] [Pipeline] sh [2024-09-09T11:23:10.752Z] + git log --format=format:%s -1 81eeae48d3608f4d5ac3b7406ec49b9a838d195c [Pipeline] echo [2024-09-09T11:23:10.795Z] ========================================================= [2024-09-09T11:23:10.795Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-09T11:23:10.795Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T11:23:11.260Z] + git log --format=format:%s -1 81eeae48d3608f4d5ac3b7406ec49b9a838d195c [Pipeline] echo [2024-09-09T11:23:11.306Z] [semverPrep] GIT_COMMIT: 81eeae48d3608f4d5ac3b7406ec49b9a838d195c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-09-09T11:23:11.356Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-09T11:23:11.789Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-09T11:23:11.789Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-09T11:23:11.789Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-09T11:23:11.789Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-09T11:23:11.789Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-09T11:23:11.789Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-09T11:23:11.789Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:23:12.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T11:23:12.302Z] [2024-09-09T11:23:12.302Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:23:12.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T11:23:12.707Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-09T11:23:12.707Z] b85a868b505f: Pulling fs layer [2024-09-09T11:23:12.707Z] e2be974225ed: Pulling fs layer [2024-09-09T11:23:12.707Z] 339a4e72a1f5: Pulling fs layer [2024-09-09T11:23:12.707Z] 988bab9f4d93: Pulling fs layer [2024-09-09T11:23:12.707Z] 1469e6f7b9e6: Pulling fs layer [2024-09-09T11:23:12.707Z] eaf3925da568: Pulling fs layer [2024-09-09T11:23:12.707Z] bab4dde63d76: Pulling fs layer [2024-09-09T11:23:12.707Z] bde34c3a00c8: Pulling fs layer [2024-09-09T11:23:12.707Z] b352a97aabf1: Pulling fs layer [2024-09-09T11:23:12.707Z] 4872d77fe225: Pulling fs layer [2024-09-09T11:23:12.707Z] 5851b861e8e6: Pulling fs layer [2024-09-09T11:23:12.707Z] 988bab9f4d93: Waiting [2024-09-09T11:23:12.707Z] bde34c3a00c8: Waiting [2024-09-09T11:23:12.707Z] b352a97aabf1: Waiting [2024-09-09T11:23:12.708Z] 1469e6f7b9e6: Waiting [2024-09-09T11:23:12.708Z] 4872d77fe225: Waiting [2024-09-09T11:23:12.708Z] bab4dde63d76: Waiting [2024-09-09T11:23:12.708Z] eaf3925da568: Waiting [2024-09-09T11:23:12.708Z] 5851b861e8e6: Waiting [2024-09-09T11:23:12.708Z] e2be974225ed: Verifying Checksum [2024-09-09T11:23:12.708Z] e2be974225ed: Download complete [2024-09-09T11:23:12.708Z] 988bab9f4d93: Download complete [2024-09-09T11:23:12.708Z] 1469e6f7b9e6: Verifying Checksum [2024-09-09T11:23:12.708Z] 1469e6f7b9e6: Download complete [2024-09-09T11:23:12.708Z] 339a4e72a1f5: Download complete [2024-09-09T11:23:12.708Z] eaf3925da568: Verifying Checksum [2024-09-09T11:23:12.708Z] eaf3925da568: Download complete [2024-09-09T11:23:12.969Z] bde34c3a00c8: Download complete [2024-09-09T11:23:12.969Z] b352a97aabf1: Verifying Checksum [2024-09-09T11:23:12.969Z] b352a97aabf1: Download complete [2024-09-09T11:23:12.969Z] 4872d77fe225: Verifying Checksum [2024-09-09T11:23:12.969Z] 4872d77fe225: Download complete [2024-09-09T11:23:12.969Z] 5851b861e8e6: Download complete [2024-09-09T11:23:12.969Z] b85a868b505f: Verifying Checksum [2024-09-09T11:23:12.969Z] b85a868b505f: Download complete [2024-09-09T11:23:13.229Z] bab4dde63d76: Verifying Checksum [2024-09-09T11:23:13.229Z] bab4dde63d76: Download complete [2024-09-09T11:23:14.167Z] b85a868b505f: Pull complete [2024-09-09T11:23:14.426Z] e2be974225ed: Pull complete [2024-09-09T11:23:15.002Z] 339a4e72a1f5: Pull complete [2024-09-09T11:23:15.002Z] 988bab9f4d93: Pull complete [2024-09-09T11:23:15.265Z] 1469e6f7b9e6: Pull complete [2024-09-09T11:23:15.265Z] eaf3925da568: Pull complete [2024-09-09T11:23:17.180Z] bab4dde63d76: Pull complete [2024-09-09T11:23:17.180Z] bde34c3a00c8: Pull complete [2024-09-09T11:23:17.180Z] b352a97aabf1: Pull complete [2024-09-09T11:23:17.440Z] 4872d77fe225: Pull complete [2024-09-09T11:23:17.440Z] 5851b861e8e6: Pull complete [2024-09-09T11:23:17.440Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-09T11:23:17.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T11:23:17.440Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T11:23:17.751Z] prd-ubuntu20.04-docker-8c-8g-9849 does not seem to be running inside a container [2024-09-09T11:23:17.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-488 -v /w/workspace/foundry_device-virtual-go_PR-488:/w/workspace/foundry_device-virtual-go_PR-488:rw,z -v /w/workspace/foundry_device-virtual-go_PR-488@tmp:/w/workspace/foundry_device-virtual-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-09T11:23:18.965Z] $ docker top 39a2061831b7971d7cd0952f81e67c946fb9b3589fdc27ca51a0d218f5dbd8bb -eo pid,comm [2024-09-09T11:23:19.025Z] 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). [2024-09-09T11:23:19.025Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-09T11:23:19.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-09T11:23:19.198Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-09T11:23:19.328Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-09T11:23:19.328Z] $ docker exec 39a2061831b7971d7cd0952f81e67c946fb9b3589fdc27ca51a0d218f5dbd8bb ssh-agent [2024-09-09T11:23:19.453Z] SSH_AUTH_SOCK=/tmp/ssh-9CmAhoGl8Aku/agent.32 [2024-09-09T11:23:19.453Z] SSH_AGENT_PID=38 [2024-09-09T11:23:19.458Z] Running ssh-add (command line suppressed) [2024-09-09T11:23:19.571Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-488@tmp/private_key_6020745063100796149.key (/w/workspace/foundry_device-virtual-go_PR-488@tmp/private_key_6020745063100796149.key) [2024-09-09T11:23:19.588Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-09T11:23:19.935Z] + git tag --points-at HEAD [Pipeline] } [2024-09-09T11:23:19.962Z] $ docker exec --env ******** --env ******** 39a2061831b7971d7cd0952f81e67c946fb9b3589fdc27ca51a0d218f5dbd8bb ssh-agent -k [2024-09-09T11:23:20.066Z] unset SSH_AUTH_SOCK; [2024-09-09T11:23:20.067Z] unset SSH_AGENT_PID; [2024-09-09T11:23:20.067Z] echo Agent pid 38 killed; [2024-09-09T11:23:20.079Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-09T11:23:20.209Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-09T11:23:20.209Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-09T11:23:20.325Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-09T11:23:20.325Z] $ docker exec 39a2061831b7971d7cd0952f81e67c946fb9b3589fdc27ca51a0d218f5dbd8bb ssh-agent [2024-09-09T11:23:20.437Z] SSH_AUTH_SOCK=/tmp/ssh-fa0MKSXwwkT7/agent.71 [2024-09-09T11:23:20.437Z] SSH_AGENT_PID=77 [2024-09-09T11:23:20.442Z] Running ssh-add (command line suppressed) [2024-09-09T11:23:20.564Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-488@tmp/private_key_1272582436464863523.key (/w/workspace/foundry_device-virtual-go_PR-488@tmp/private_key_1272582436464863523.key) [2024-09-09T11:23:20.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-09T11:23:20.943Z] + git semver init [2024-09-09T11:23:21.205Z] 2024-09-09 11:23:21,121 [run_init] DEBUG init version:0.0.0 force:False [2024-09-09T11:23:21.205Z] 2024-09-09 11:23:21,122 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-488/.semver [2024-09-09T11:23:21.205Z] 2024-09-09 11:23:21,123 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-488/.semver [2024-09-09T11:23:21.205Z] 2024-09-09 11:23:21,123 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-488/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-488, universal_newlines=False, shell=None, istream=None) [2024-09-09T11:23:23.114Z] 2024-09-09 11:23:22,947 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-488/.git/info/exclude [2024-09-09T11:23:23.114Z] 2024-09-09 11:23:22,948 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-488/.semver/PR-488 with force:False [2024-09-09T11:23:23.114Z] 2024-09-09 11:23:22,948 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-488/.semver/PR-488 [2024-09-09T11:23:23.114Z] 2024-09-09 11:23:22,952 [execute] INFO git cat-file --batch-check [2024-09-09T11:23:23.114Z] 2024-09-09 11:23:22,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-488/.semver, universal_newlines=False, shell=None, istream=) [2024-09-09T11:23:23.114Z] 2024-09-09 11:23:22,959 [execute] INFO git cat-file --batch [2024-09-09T11:23:23.114Z] 2024-09-09 11:23:22,959 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-488/.semver, universal_newlines=False, shell=None, istream=) [2024-09-09T11:23:23.114Z] 2024-09-09 11:23:22,965 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-488/.semver/PR-488 [2024-09-09T11:23:23.114Z] 0.0.0 [Pipeline] } [2024-09-09T11:23:23.141Z] $ docker exec --env ******** --env ******** 39a2061831b7971d7cd0952f81e67c946fb9b3589fdc27ca51a0d218f5dbd8bb ssh-agent -k [2024-09-09T11:23:23.247Z] unset SSH_AUTH_SOCK; [2024-09-09T11:23:23.247Z] unset SSH_AGENT_PID; [2024-09-09T11:23:23.247Z] echo Agent pid 77 killed; [2024-09-09T11:23:23.261Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-09T11:23:23.736Z] + git semver [Pipeline] } [2024-09-09T11:23:24.024Z] $ docker stop --time=1 39a2061831b7971d7cd0952f81e67c946fb9b3589fdc27ca51a0d218f5dbd8bb [2024-09-09T11:23:25.340Z] $ docker rm -f --volumes 39a2061831b7971d7cd0952f81e67c946fb9b3589fdc27ca51a0d218f5dbd8bb [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-09T11:23:25.768Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-09T11:23:26.108Z] Stashed 1 file(s) [Pipeline] echo [2024-09-09T11:23:26.145Z] [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 [2024-09-09T11:23:26.873Z] provisioning config files... [2024-09-09T11:23:26.884Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-488@tmp/config11653348845720463407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:23:27.253Z] ---> ****-login.sh [2024-09-09T11:23:27.253Z] nexus3.edgexfoundry.org:10001 [2024-09-09T11:23:27.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:23:27.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:23:27.253Z] Configure a credential helper to remove this warning. See [2024-09-09T11:23:27.253Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:23:27.253Z] [2024-09-09T11:23:27.253Z] Login Succeeded [2024-09-09T11:23:27.253Z] nexus3.edgexfoundry.org:10002 [2024-09-09T11:23:27.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:23:27.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:23:27.253Z] Configure a credential helper to remove this warning. See [2024-09-09T11:23:27.253Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:23:27.253Z] [2024-09-09T11:23:27.253Z] Login Succeeded [2024-09-09T11:23:27.253Z] nexus3.edgexfoundry.org:10003 [2024-09-09T11:23:27.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:23:27.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:23:27.513Z] Configure a credential helper to remove this warning. See [2024-09-09T11:23:27.513Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:23:27.513Z] [2024-09-09T11:23:27.513Z] Login Succeeded [2024-09-09T11:23:27.513Z] nexus3.edgexfoundry.org:10004 [2024-09-09T11:23:27.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:23:27.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:23:27.514Z] Configure a credential helper to remove this warning. See [2024-09-09T11:23:27.514Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:23:27.514Z] [2024-09-09T11:23:27.514Z] Login Succeeded [2024-09-09T11:23:27.514Z] ****.io [2024-09-09T11:23:27.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:23:27.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:23:27.773Z] Configure a credential helper to remove this warning. See [2024-09-09T11:23:27.773Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:23:27.773Z] [2024-09-09T11:23:27.773Z] Login Succeeded [2024-09-09T11:23:27.773Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T11:23:27.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-09T11:23:28.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T11:23:28.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T11:23:28.141Z] ========================================================= [2024-09-09T11:23:28.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-09T11:23:28.141Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:23:28.654Z] + 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 . [2024-09-09T11:23:28.655Z] Sending build context to Docker daemon 37.61MB [2024-09-09T11:23:28.655Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T11:23:28.655Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-09T11:23:28.930Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-09T11:23:28.930Z] 619be1103602: Pulling fs layer [2024-09-09T11:23:28.930Z] 7862e08f4a3e: Pulling fs layer [2024-09-09T11:23:28.930Z] 5df492c9dc93: Pulling fs layer [2024-09-09T11:23:28.930Z] 7629e6793208: Pulling fs layer [2024-09-09T11:23:28.931Z] 4f4fb700ef54: Pulling fs layer [2024-09-09T11:23:28.931Z] fb5054dd5b73: Pulling fs layer [2024-09-09T11:23:28.931Z] eeca6798cff9: Pulling fs layer [2024-09-09T11:23:28.931Z] aa269ceb94a6: Pulling fs layer [2024-09-09T11:23:28.931Z] ada007ff1a6a: Pulling fs layer [2024-09-09T11:23:28.931Z] 4f4fb700ef54: Waiting [2024-09-09T11:23:28.931Z] ada007ff1a6a: Waiting [2024-09-09T11:23:28.931Z] fb5054dd5b73: Waiting [2024-09-09T11:23:28.931Z] eeca6798cff9: Waiting [2024-09-09T11:23:28.931Z] 7629e6793208: Waiting [2024-09-09T11:23:28.931Z] aa269ceb94a6: Waiting [2024-09-09T11:23:28.931Z] 7862e08f4a3e: Verifying Checksum [2024-09-09T11:23:28.931Z] 7862e08f4a3e: Download complete [2024-09-09T11:23:28.931Z] 7629e6793208: Verifying Checksum [2024-09-09T11:23:28.931Z] 7629e6793208: Download complete [2024-09-09T11:23:28.931Z] 4f4fb700ef54: Verifying Checksum [2024-09-09T11:23:28.931Z] 4f4fb700ef54: Download complete [2024-09-09T11:23:28.931Z] fb5054dd5b73: Verifying Checksum [2024-09-09T11:23:28.931Z] fb5054dd5b73: Download complete [2024-09-09T11:23:28.931Z] 619be1103602: Verifying Checksum [2024-09-09T11:23:28.931Z] 619be1103602: Download complete [2024-09-09T11:23:28.931Z] eeca6798cff9: Verifying Checksum [2024-09-09T11:23:28.931Z] eeca6798cff9: Download complete [2024-09-09T11:23:29.195Z] 619be1103602: Pull complete [2024-09-09T11:23:29.195Z] ada007ff1a6a: Verifying Checksum [2024-09-09T11:23:29.195Z] ada007ff1a6a: Download complete [2024-09-09T11:23:29.195Z] 7862e08f4a3e: Pull complete [2024-09-09T11:23:29.454Z] 5df492c9dc93: Verifying Checksum [2024-09-09T11:23:29.714Z] aa269ceb94a6: Verifying Checksum [2024-09-09T11:23:29.714Z] aa269ceb94a6: Download complete [2024-09-09T11:23:33.009Z] 5df492c9dc93: Pull complete [2024-09-09T11:23:33.009Z] 7629e6793208: Pull complete [2024-09-09T11:23:33.009Z] 4f4fb700ef54: Pull complete [2024-09-09T11:23:33.009Z] fb5054dd5b73: Pull complete [2024-09-09T11:23:33.009Z] eeca6798cff9: Pull complete [2024-09-09T11:23:35.546Z] aa269ceb94a6: Pull complete [2024-09-09T11:23:35.806Z] ada007ff1a6a: Pull complete [2024-09-09T11:23:35.806Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-09T11:23:35.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-09T11:23:35.806Z] ---> f489d0715acc [2024-09-09T11:23:35.806Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T11:23:37.184Z] ---> Running in 1e83344edb21 [2024-09-09T11:23:37.184Z] Removing intermediate container 1e83344edb21 [2024-09-09T11:23:37.184Z] ---> d643b60dac64 [2024-09-09T11:23:37.184Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T11:23:37.184Z] ---> Running in 126cbab83f26 [2024-09-09T11:23:37.184Z] Removing intermediate container 126cbab83f26 [2024-09-09T11:23:37.184Z] ---> 2fc4b7d4e117 [2024-09-09T11:23:37.184Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-09-09T11:23:37.184Z] ---> Running in 4e290e8f0ab4 [2024-09-09T11:23:37.444Z] Removing intermediate container 4e290e8f0ab4 [2024-09-09T11:23:37.444Z] ---> d7ba9a98e1da [2024-09-09T11:23:37.444Z] Step 6/12 : WORKDIR /device-virtual-go [2024-09-09T11:23:37.444Z] ---> Running in adf16a7010a1 [2024-09-09T11:23:37.444Z] Removing intermediate container adf16a7010a1 [2024-09-09T11:23:37.444Z] ---> ecdf2114522a [2024-09-09T11:23:37.444Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T11:23:37.444Z] ---> Running in f9de84a46ecf [2024-09-09T11:23:37.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T11:23:37.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T11:23:38.226Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-09T11:23:38.226Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-09T11:23:38.226Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-09T11:23:38.226Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-09T11:23:38.226Z] Executing busybox-1.36.1-r5.trigger [2024-09-09T11:23:38.226Z] OK: 268 MiB in 56 packages [2024-09-09T11:23:38.486Z] Removing intermediate container f9de84a46ecf [2024-09-09T11:23:38.486Z] ---> 24d08a5d6a93 [2024-09-09T11:23:38.486Z] Step 8/12 : COPY go.mod vendor* ./ [2024-09-09T11:23:38.746Z] ---> 47cfa7c51505 [2024-09-09T11:23:38.746Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T11:23:38.746Z] ---> Running in f1eb96ea1cbb [2024-09-09T11:23:41.674Z] Still waiting to schedule task [2024-09-09T11:23:41.675Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9844’ [2024-09-09T11:24:35.064Z] Removing intermediate container f1eb96ea1cbb [2024-09-09T11:24:35.064Z] ---> d32cf8339b12 [2024-09-09T11:24:35.064Z] Step 10/12 : COPY . . [2024-09-09T11:24:35.064Z] ---> a037f58c976a [2024-09-09T11:24:35.064Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T11:24:35.064Z] ---> Running in 4dafc0ee7d53 [2024-09-09T11:24:35.064Z] Removing intermediate container 4dafc0ee7d53 [2024-09-09T11:24:35.064Z] ---> 95ad0ca425c8 [2024-09-09T11:24:35.064Z] Step 12/12 : RUN $MAKE [2024-09-09T11:24:35.064Z] ---> Running in e44202bee441 [2024-09-09T11:24:35.064Z] noop [2024-09-09T11:24:35.064Z] Removing intermediate container e44202bee441 [2024-09-09T11:24:35.064Z] ---> a04d0166e8df [2024-09-09T11:24:35.064Z] Successfully built a04d0166e8df [2024-09-09T11:24:35.064Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:24:35.572Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-09T11:24:35.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T11:24:35.746Z] prd-ubuntu20.04-docker-8c-8g-9849 does not seem to be running inside a container [2024-09-09T11:24:35.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-488 -v /w/workspace/foundry_device-virtual-go_PR-488:/w/workspace/foundry_device-virtual-go_PR-488:rw,z -v /w/workspace/foundry_device-virtual-go_PR-488@tmp:/w/workspace/foundry_device-virtual-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-09T11:24:36.122Z] $ docker top afd229c64643f4bfc50fe146423ee471db733a923a9907ddc119da2ca6b76690 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T11:24:36.542Z] + go version [2024-09-09T11:24:36.542Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-09T11:24:36.584Z] $ docker stop --time=1 afd229c64643f4bfc50fe146423ee471db733a923a9907ddc119da2ca6b76690 [2024-09-09T11:24:37.843Z] $ docker rm -f --volumes afd229c64643f4bfc50fe146423ee471db733a923a9907ddc119da2ca6b76690 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:24:38.646Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-09T11:24:38.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T11:24:38.814Z] prd-ubuntu20.04-docker-8c-8g-9849 does not seem to be running inside a container [2024-09-09T11:24:38.838Z] $ 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-488 -v /w/workspace/foundry_device-virtual-go_PR-488:/w/workspace/foundry_device-virtual-go_PR-488:rw,z -v /w/workspace/foundry_device-virtual-go_PR-488@tmp:/w/workspace/foundry_device-virtual-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-09T11:24:39.139Z] $ docker top 4bde48ef8042eb7725a78671080d27a24cebc48e1e5690b63f42f62f7086361f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T11:24:39.555Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-488 [Pipeline] fileExists [Pipeline] sh [2024-09-09T11:24:39.936Z] + make test [2024-09-09T11:24:39.936Z] go test ./... -coverprofile=coverage.out [2024-09-09T11:24:41.837Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-09-09T11:25:03.874Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-09-09T11:25:03.874Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements [2024-09-09T11:25:12.000Z] go vet ./... [2024-09-09T11:25:18.565Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-09T11:25:18.565Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-09T11:25:18.565Z] ./bin/test-attribution-txt.sh [2024-09-09T11:25:18.565Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-09T11:25:18.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-09T11:25:18.656Z] $ docker stop --time=1 4bde48ef8042eb7725a78671080d27a24cebc48e1e5690b63f42f62f7086361f [2024-09-09T11:25:24.098Z] $ docker rm -f --volumes 4bde48ef8042eb7725a78671080d27a24cebc48e1e5690b63f42f62f7086361f [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-09T11:25:24.752Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-09T11:25:24.830Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-09T11:25:25.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-09T11:25:25.906Z] + ls -al . [2024-09-09T11:25:25.906Z] total 276 [2024-09-09T11:25:25.906Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 11:24 . [2024-09-09T11:25:25.906Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 11:22 .. [2024-09-09T11:25:25.906Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 11:25 .git [2024-09-09T11:25:25.906Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 11:22 .github [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 272 Sep 9 11:22 .gitignore [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 11:22 .golangci.yml [2024-09-09T11:25:25.906Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 11:23 .semver [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 17933 Sep 9 11:22 Attribution.txt [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 15941 Sep 9 11:22 CHANGELOG.md [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 1755 Sep 9 11:22 Dockerfile [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 11:22 GOVERNANCE.md [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 9 11:22 Jenkinsfile [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 11:22 LICENSE [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 1953 Sep 9 11:22 Makefile [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 9 11:22 OWNERS.md [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 4103 Sep 9 11:22 README.md [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 11:23 VERSION [2024-09-09T11:25:25.906Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 11:22 bin [2024-09-09T11:25:25.906Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 11:22 cmd [2024-09-09T11:25:25.906Z] -rw-r--r-- 1 jenkins jenkins 43247 Sep 9 11:25 coverage.out [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 6924 Sep 9 11:22 go.mod [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 11:22 go.sum [2024-09-09T11:25:25.906Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 11:22 internal [2024-09-09T11:25:25.906Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 9 11:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:25:26.337Z] + 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=81eeae48d3608f4d5ac3b7406ec49b9a838d195c --label arch=amd64 --label version=0.0.0 . [2024-09-09T11:25:26.597Z] Sending build context to Docker daemon 37.65MB [2024-09-09T11:25:26.597Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T11:25:26.597Z] Step 2/26 : FROM ${BASE} AS builder [2024-09-09T11:25:26.597Z] ---> a04d0166e8df [2024-09-09T11:25:26.597Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T11:25:27.168Z] ---> Running in df3990b5f5f5 [2024-09-09T11:25:27.168Z] Removing intermediate container df3990b5f5f5 [2024-09-09T11:25:27.168Z] ---> 5865420a75dd [2024-09-09T11:25:27.168Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T11:25:27.168Z] ---> Running in 2248135801ad [2024-09-09T11:25:27.428Z] Removing intermediate container 2248135801ad [2024-09-09T11:25:27.428Z] ---> e45c829cafca [2024-09-09T11:25:27.428Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-09-09T11:25:27.428Z] ---> Running in d701e16c1ac1 [2024-09-09T11:25:27.428Z] Removing intermediate container d701e16c1ac1 [2024-09-09T11:25:27.428Z] ---> 96cb02727078 [2024-09-09T11:25:27.428Z] Step 6/26 : WORKDIR /device-virtual-go [2024-09-09T11:25:27.428Z] ---> Running in 47e051785ff0 [2024-09-09T11:25:27.698Z] Removing intermediate container 47e051785ff0 [2024-09-09T11:25:27.698Z] ---> 45a3e4c629ec [2024-09-09T11:25:27.698Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T11:25:27.698Z] ---> Running in af6ccc7c0965 [2024-09-09T11:25:27.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T11:25:27.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T11:25:28.530Z] OK: 268 MiB in 56 packages [2024-09-09T11:25:28.789Z] Removing intermediate container af6ccc7c0965 [2024-09-09T11:25:28.789Z] ---> b6df0757b7da [2024-09-09T11:25:28.789Z] Step 8/26 : COPY go.mod vendor* ./ [2024-09-09T11:25:28.789Z] ---> 877c8b417b2a [2024-09-09T11:25:28.789Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T11:25:28.789Z] ---> Running in 559b2d6be2bf [2024-09-09T11:25:29.725Z] Removing intermediate container 559b2d6be2bf [2024-09-09T11:25:29.725Z] ---> 562d8cd13fc9 [2024-09-09T11:25:29.725Z] Step 10/26 : COPY . . [2024-09-09T11:25:30.664Z] ---> f7a2fb717a1b [2024-09-09T11:25:30.664Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T11:25:30.664Z] ---> Running in 5ed42682592c [2024-09-09T11:25:30.923Z] Removing intermediate container 5ed42682592c [2024-09-09T11:25:30.923Z] ---> bb5e2f75bbc4 [2024-09-09T11:25:30.923Z] Step 12/26 : RUN $MAKE [2024-09-09T11:25:30.923Z] ---> Running in 3a64dd818d32 [2024-09-09T11:25:31.182Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-09-09T11:26:09.929Z] Removing intermediate container 3a64dd818d32 [2024-09-09T11:26:09.929Z] ---> e60385619d5a [2024-09-09T11:26:09.929Z] Step 13/26 : FROM alpine:3.18 [2024-09-09T11:26:09.929Z] 3.18: Pulling from library/alpine [2024-09-09T11:26:09.929Z] 1cc3d825d8b2: Pulling fs layer [2024-09-09T11:26:09.929Z] 1cc3d825d8b2: Download complete [2024-09-09T11:26:09.929Z] 1cc3d825d8b2: Pull complete [2024-09-09T11:26:09.929Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-09T11:26:09.929Z] Status: Downloaded newer image for alpine:3.18 [2024-09-09T11:26:09.929Z] ---> 2c64cf60f6f0 [2024-09-09T11:26:09.929Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-09-09T11:26:09.929Z] ---> Running in 036ed825705b [2024-09-09T11:26:09.929Z] Removing intermediate container 036ed825705b [2024-09-09T11:26:09.929Z] ---> 226ab098c675 [2024-09-09T11:26:09.929Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-09-09T11:26:09.929Z] ---> Running in 5eaba894b894 [2024-09-09T11:26:09.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T11:26:09.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T11:26:09.929Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-09T11:26:09.929Z] Executing busybox-1.36.1-r7.trigger [2024-09-09T11:26:09.929Z] OK: 7 MiB in 16 packages [2024-09-09T11:26:09.929Z] Removing intermediate container 5eaba894b894 [2024-09-09T11:26:09.929Z] ---> c3fa89dd0a88 [2024-09-09T11:26:09.929Z] Step 16/26 : RUN apk --no-cache upgrade [2024-09-09T11:26:09.929Z] ---> Running in af0c376ce22d [2024-09-09T11:26:09.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T11:26:09.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T11:26:09.929Z] OK: 7 MiB in 16 packages [2024-09-09T11:26:09.929Z] Removing intermediate container af0c376ce22d [2024-09-09T11:26:09.929Z] ---> dd7cd7d76dba [2024-09-09T11:26:09.929Z] Step 17/26 : WORKDIR / [2024-09-09T11:26:09.929Z] ---> Running in c0c6c0681943 [2024-09-09T11:26:09.929Z] Removing intermediate container c0c6c0681943 [2024-09-09T11:26:09.929Z] ---> d0c0a82803eb [2024-09-09T11:26:09.929Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-09-09T11:26:09.929Z] ---> 10066ad5067a [2024-09-09T11:26:09.929Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-09-09T11:26:09.929Z] ---> e968a8a6d7f2 [2024-09-09T11:26:09.929Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-09-09T11:26:10.866Z] ---> 456b232f3d0d [2024-09-09T11:26:10.866Z] Step 21/26 : EXPOSE 59900 [2024-09-09T11:26:10.866Z] ---> Running in 9fcc10b8d2dd [2024-09-09T11:26:10.866Z] Removing intermediate container 9fcc10b8d2dd [2024-09-09T11:26:10.866Z] ---> d2701560cc83 [2024-09-09T11:26:10.866Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-09-09T11:26:10.866Z] ---> Running in 6166322e4f1c [2024-09-09T11:26:10.866Z] Removing intermediate container 6166322e4f1c [2024-09-09T11:26:10.866Z] ---> 9059e0b070ca [2024-09-09T11:26:10.866Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-09T11:26:10.866Z] ---> Running in 9f2cb5615bc9 [2024-09-09T11:26:10.866Z] Removing intermediate container 9f2cb5615bc9 [2024-09-09T11:26:10.866Z] ---> 050e5f0f6a8b [2024-09-09T11:26:10.866Z] Step 24/26 : LABEL arch=amd64 [2024-09-09T11:26:10.866Z] ---> Running in 6601a65082f9 [2024-09-09T11:26:10.866Z] Removing intermediate container 6601a65082f9 [2024-09-09T11:26:10.866Z] ---> 101df8a71028 [2024-09-09T11:26:10.866Z] Step 25/26 : LABEL git_sha=81eeae48d3608f4d5ac3b7406ec49b9a838d195c [2024-09-09T11:26:11.125Z] ---> Running in d94daa87f2c2 [2024-09-09T11:26:11.125Z] Removing intermediate container d94daa87f2c2 [2024-09-09T11:26:11.125Z] ---> 63e0fa5cfdc4 [2024-09-09T11:26:11.125Z] Step 26/26 : LABEL version=0.0.0 [2024-09-09T11:26:11.125Z] ---> Running in 16551c041599 [2024-09-09T11:26:11.125Z] Removing intermediate container 16551c041599 [2024-09-09T11:26:11.125Z] ---> a168d60019d9 [2024-09-09T11:26:11.125Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-09T11:26:11.125Z] Successfully built a168d60019d9 [2024-09-09T11:26:11.125Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:26:12.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T11:26:12.134Z] [2024-09-09T11:26:12.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:26:12.522Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T11:26:12.522Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-09T11:26:12.522Z] 5eb5b503b376: Pulling fs layer [2024-09-09T11:26:12.522Z] 5c69ac0246d0: Pulling fs layer [2024-09-09T11:26:12.522Z] ec43610c2a17: Pulling fs layer [2024-09-09T11:26:12.522Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-09T11:26:12.522Z] 33b1e0a273af: Pulling fs layer [2024-09-09T11:26:12.522Z] 5d3b04190fa2: Pulling fs layer [2024-09-09T11:26:12.522Z] 2f39f015ded8: Pulling fs layer [2024-09-09T11:26:12.522Z] 3a2ae6a8a46f: Waiting [2024-09-09T11:26:12.522Z] 33b1e0a273af: Waiting [2024-09-09T11:26:12.522Z] 5d3b04190fa2: Waiting [2024-09-09T11:26:12.522Z] 2f39f015ded8: Waiting [2024-09-09T11:26:12.522Z] 5c69ac0246d0: Download complete [2024-09-09T11:26:12.522Z] 3a2ae6a8a46f: Download complete [2024-09-09T11:26:12.522Z] 33b1e0a273af: Verifying Checksum [2024-09-09T11:26:12.522Z] 33b1e0a273af: Download complete [2024-09-09T11:26:12.522Z] 5d3b04190fa2: Verifying Checksum [2024-09-09T11:26:12.522Z] 5d3b04190fa2: Download complete [2024-09-09T11:26:12.522Z] ec43610c2a17: Verifying Checksum [2024-09-09T11:26:12.522Z] ec43610c2a17: Download complete [2024-09-09T11:26:12.781Z] 5eb5b503b376: Verifying Checksum [2024-09-09T11:26:12.781Z] 5eb5b503b376: Download complete [2024-09-09T11:26:13.347Z] 2f39f015ded8: Download complete [2024-09-09T11:26:14.310Z] 5eb5b503b376: Pull complete [2024-09-09T11:26:14.310Z] 5c69ac0246d0: Pull complete [2024-09-09T11:26:14.570Z] ec43610c2a17: Pull complete [2024-09-09T11:26:14.828Z] 3a2ae6a8a46f: Pull complete [2024-09-09T11:26:15.086Z] 33b1e0a273af: Pull complete [2024-09-09T11:26:15.086Z] 5d3b04190fa2: Pull complete [2024-09-09T11:26:19.274Z] 2f39f015ded8: Pull complete [2024-09-09T11:26:19.274Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-09T11:26:19.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T11:26:19.274Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T11:26:19.552Z] prd-ubuntu20.04-docker-8c-8g-9849 does not seem to be running inside a container [2024-09-09T11:26:19.582Z] $ 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-488 -v /w/workspace/foundry_device-virtual-go_PR-488:/w/workspace/foundry_device-virtual-go_PR-488:rw,z -v /w/workspace/foundry_device-virtual-go_PR-488@tmp:/w/workspace/foundry_device-virtual-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-09T11:26:26.467Z] $ docker top 5d52a77fb75052b104525d1166b32b526944a4b4fd575551a646b0df9b693c65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:26:26.982Z] ---> job-cost.sh [2024-09-09T11:26:26.982Z] lf-activate-venv: SKIPPING [2024-09-09T11:26:26.982Z] INFO: No Stack... [2024-09-09T11:26:27.241Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-09T11:26:27.500Z] INFO: Archiving Costs [Pipeline] sh [2024-09-09T11:26:27.825Z] + cat /w/workspace/foundry_device-virtual-go_PR-488/archives/cost.csv [2024-09-09T11:26:27.825Z] + cut -d, -f6 [Pipeline] lock [2024-09-09T11:26:27.876Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-488-1-stack-cost] [2024-09-09T11:26:27.885Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-488-1-stack-cost] did not exist. Created. [2024-09-09T11:26:27.892Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-488-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-09T11:26:28.316Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-09T11:26:28.373Z] Stashed 1 file(s) [Pipeline] } [2024-09-09T11:26:28.419Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-488-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-09T11:26:28.514Z] $ docker stop --time=1 5d52a77fb75052b104525d1166b32b526944a4b4fd575551a646b0df9b693c65 [2024-09-09T11:26:29.669Z] $ docker rm -f --volumes 5d52a77fb75052b104525d1166b32b526944a4b4fd575551a646b0df9b693c65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-09T11:27:32.811Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9850 in /w/workspace/foundry_device-virtual-go_PR-488 [Pipeline] { [Pipeline] ws [2024-09-09T11:27:32.895Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-09-09T11:27:32.992Z] The recommended git tool is: git [2024-09-09T11:27:41.741Z] using credential edgex-jenkins-ssh [2024-09-09T11:27:41.773Z] Cloning the remote Git repository [2024-09-09T11:27:41.830Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-09-09T11:27:42.010Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-09-09T11:27:42.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-09-09T11:27:42.315Z] > git --version # timeout=10 [2024-09-09T11:27:42.350Z] > git --version # 'git version 2.25.1' [2024-09-09T11:27:42.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T11:27:42.680Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-09T11:27:46.563Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-09-09T11:27:46.586Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-09T11:27:48.170Z] Merging remotes/origin/main commit 8966c26b49b103c4be0d1e0859a9f7a15856cd15 into PR head commit 81eeae48d3608f4d5ac3b7406ec49b9a838d195c [2024-09-09T11:27:48.448Z] Merge succeeded, producing 81eeae48d3608f4d5ac3b7406ec49b9a838d195c [2024-09-09T11:27:48.449Z] Checking out Revision 81eeae48d3608f4d5ac3b7406ec49b9a838d195c (PR-488) [2024-09-09T11:27:47.566Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-09-09T11:27:47.618Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-09-09T11:27:47.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T11:27:47.647Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/488/head:refs/remotes/origin/PR-488 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-09T11:27:48.183Z] > git config core.sparsecheckout # timeout=10 [2024-09-09T11:27:48.249Z] > git checkout -f 81eeae48d3608f4d5ac3b7406ec49b9a838d195c # timeout=10 [2024-09-09T11:27:48.349Z] > git remote # timeout=10 [2024-09-09T11:27:48.367Z] > git config --get remote.origin.url # timeout=10 [2024-09-09T11:27:48.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T11:27:48.404Z] > git merge 8966c26b49b103c4be0d1e0859a9f7a15856cd15 # timeout=10 [2024-09-09T11:27:48.429Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-09T11:27:48.451Z] > git config core.sparsecheckout # timeout=10 [2024-09-09T11:27:48.463Z] > git checkout -f 81eeae48d3608f4d5ac3b7406ec49b9a838d195c # timeout=10 [2024-09-09T11:27:48.992Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-09-09T11:27:49.037Z] > git --version # timeout=10 [2024-09-09T11:27:49.048Z] > git --version # 'git version 2.25.1' [2024-09-09T11:27:49.067Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T11:27:54.264Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-09T11:27:54.264Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-09T11:27:54.264Z] Dload Upload Total Spent Left Speed [2024-09-09T11:27:54.264Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh [2024-09-09T11:27:54.625Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-09T11:27:54.978Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-09-09T11:27:54.978Z] /etc/docker/daemon.json [2024-09-09T11:27:54.978Z] { [2024-09-09T11:27:54.978Z] "registry-mirrors": [ [2024-09-09T11:27:54.978Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-09T11:27:54.978Z] ], [2024-09-09T11:27:54.978Z] "bip": "10.250.0.254/24", [2024-09-09T11:27:54.978Z] "hosts": [ [2024-09-09T11:27:54.978Z] "tcp://0.0.0.0:5555", [2024-09-09T11:27:54.978Z] "unix:///var/run/docker.sock" [2024-09-09T11:27:54.978Z] ], [2024-09-09T11:27:54.978Z] "mtu": 1458, [2024-09-09T11:27:54.978Z] "selinux-enabled": true, [2024-09-09T11:27:54.978Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-09T11:27:54.978Z] } [Pipeline] sh [2024-09-09T11:27:55.334Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-09T11:27:55.687Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T11:28:14.096Z] provisioning config files... [2024-09-09T11:28:14.127Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1433562732035136155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:28:14.635Z] ---> ****-login.sh [2024-09-09T11:28:14.635Z] nexus3.edgexfoundry.org:10001 [2024-09-09T11:28:14.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:28:15.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:28:15.494Z] Configure a credential helper to remove this warning. See [2024-09-09T11:28:15.494Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:28:15.494Z] [2024-09-09T11:28:15.494Z] Login Succeeded [2024-09-09T11:28:15.494Z] nexus3.edgexfoundry.org:10002 [2024-09-09T11:28:15.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:28:15.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:28:15.765Z] Configure a credential helper to remove this warning. See [2024-09-09T11:28:15.765Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:28:15.765Z] [2024-09-09T11:28:15.765Z] Login Succeeded [2024-09-09T11:28:15.765Z] nexus3.edgexfoundry.org:10003 [2024-09-09T11:28:15.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:28:16.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:28:16.041Z] Configure a credential helper to remove this warning. See [2024-09-09T11:28:16.041Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:28:16.041Z] [2024-09-09T11:28:16.041Z] Login Succeeded [2024-09-09T11:28:16.041Z] nexus3.edgexfoundry.org:10004 [2024-09-09T11:28:16.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:28:16.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:28:16.317Z] Configure a credential helper to remove this warning. See [2024-09-09T11:28:16.317Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:28:16.317Z] [2024-09-09T11:28:16.317Z] Login Succeeded [2024-09-09T11:28:16.317Z] ****.io [2024-09-09T11:28:16.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T11:28:16.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T11:28:16.853Z] Configure a credential helper to remove this warning. See [2024-09-09T11:28:16.853Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T11:28:16.853Z] [2024-09-09T11:28:16.853Z] Login Succeeded [2024-09-09T11:28:16.853Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T11:28:16.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-09T11:28:17.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T11:28:17.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T11:28:17.448Z] ========================================================= [2024-09-09T11:28:17.449Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-09T11:28:17.449Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:28:18.002Z] + 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 . [2024-09-09T11:28:18.584Z] Sending build context to Docker daemon 18.99MB [2024-09-09T11:28:18.584Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T11:28:18.584Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-09T11:28:18.857Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-09T11:28:18.857Z] c6b39de5b339: Pulling fs layer [2024-09-09T11:28:18.857Z] a69c41024577: Pulling fs layer [2024-09-09T11:28:18.857Z] d6de4b400683: Pulling fs layer [2024-09-09T11:28:18.857Z] 35cb2a7552d0: Pulling fs layer [2024-09-09T11:28:18.857Z] 4f4fb700ef54: Pulling fs layer [2024-09-09T11:28:18.857Z] 464afbd9ba4c: Pulling fs layer [2024-09-09T11:28:18.857Z] 00f215d4a9da: Pulling fs layer [2024-09-09T11:28:18.857Z] d496ad576159: Pulling fs layer [2024-09-09T11:28:18.857Z] 464afbd9ba4c: Waiting [2024-09-09T11:28:18.857Z] 00f215d4a9da: Waiting [2024-09-09T11:28:18.857Z] d496ad576159: Waiting [2024-09-09T11:28:18.857Z] 35cb2a7552d0: Waiting [2024-09-09T11:28:18.857Z] 4f4fb700ef54: Waiting [2024-09-09T11:28:18.857Z] a69c41024577: Verifying Checksum [2024-09-09T11:28:18.857Z] a69c41024577: Download complete [2024-09-09T11:28:18.857Z] 35cb2a7552d0: Verifying Checksum [2024-09-09T11:28:18.857Z] 35cb2a7552d0: Download complete [2024-09-09T11:28:18.857Z] 4f4fb700ef54: Verifying Checksum [2024-09-09T11:28:18.857Z] 4f4fb700ef54: Download complete [2024-09-09T11:28:18.857Z] 464afbd9ba4c: Verifying Checksum [2024-09-09T11:28:18.857Z] 464afbd9ba4c: Download complete [2024-09-09T11:28:18.857Z] c6b39de5b339: Verifying Checksum [2024-09-09T11:28:18.857Z] c6b39de5b339: Download complete [2024-09-09T11:28:19.817Z] d496ad576159: Verifying Checksum [2024-09-09T11:28:19.817Z] d496ad576159: Download complete [2024-09-09T11:28:19.817Z] c6b39de5b339: Pull complete [2024-09-09T11:28:20.400Z] a69c41024577: Pull complete [2024-09-09T11:28:20.982Z] d6de4b400683: Verifying Checksum [2024-09-09T11:28:20.982Z] d6de4b400683: Download complete [2024-09-09T11:28:21.946Z] 00f215d4a9da: Verifying Checksum [2024-09-09T11:28:21.946Z] 00f215d4a9da: Download complete [2024-09-09T11:28:34.242Z] d6de4b400683: Pull complete [2024-09-09T11:28:34.242Z] 35cb2a7552d0: Pull complete [2024-09-09T11:28:34.242Z] 4f4fb700ef54: Pull complete [2024-09-09T11:28:34.242Z] 464afbd9ba4c: Pull complete [2024-09-09T11:28:44.327Z] 00f215d4a9da: Pull complete [2024-09-09T11:28:44.915Z] d496ad576159: Pull complete [2024-09-09T11:28:44.915Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-09T11:28:44.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-09T11:28:44.915Z] ---> f246e2811388 [2024-09-09T11:28:44.915Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T11:28:45.875Z] ---> Running in 5fa28c51eaa2 [2024-09-09T11:28:46.142Z] Removing intermediate container 5fa28c51eaa2 [2024-09-09T11:28:46.142Z] ---> 3cccbc084e7a [2024-09-09T11:28:46.142Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T11:28:46.142Z] ---> Running in 6f4074f2d277 [2024-09-09T11:28:46.411Z] Removing intermediate container 6f4074f2d277 [2024-09-09T11:28:46.411Z] ---> 0d941702b88a [2024-09-09T11:28:46.411Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-09-09T11:28:46.411Z] ---> Running in 93a431009c0c [2024-09-09T11:28:46.994Z] Removing intermediate container 93a431009c0c [2024-09-09T11:28:46.994Z] ---> 0c0968d88580 [2024-09-09T11:28:46.994Z] Step 6/12 : WORKDIR /device-virtual-go [2024-09-09T11:28:46.994Z] ---> Running in d4f46fe95c56 [2024-09-09T11:28:47.274Z] Removing intermediate container d4f46fe95c56 [2024-09-09T11:28:47.274Z] ---> f1680eaea5b4 [2024-09-09T11:28:47.274Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T11:28:47.274Z] ---> Running in 58fcb520a54b [2024-09-09T11:28:49.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T11:28:50.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T11:28:51.135Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-09T11:28:51.135Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-09T11:28:51.135Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-09T11:28:51.135Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-09T11:28:51.135Z] Executing busybox-1.36.1-r5.trigger [2024-09-09T11:28:51.135Z] OK: 271 MiB in 56 packages [2024-09-09T11:28:52.106Z] Removing intermediate container 58fcb520a54b [2024-09-09T11:28:52.106Z] ---> 0ab080aaed5a [2024-09-09T11:28:52.383Z] Step 8/12 : COPY go.mod vendor* ./ [2024-09-09T11:28:52.654Z] ---> 7324bd116aee [2024-09-09T11:28:52.654Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T11:28:52.943Z] ---> Running in 2eebe139cd4e [2024-09-09T11:30:44.827Z] Removing intermediate container 2eebe139cd4e [2024-09-09T11:30:44.827Z] ---> 6aa5ad7a62db [2024-09-09T11:30:44.827Z] Step 10/12 : COPY . . [2024-09-09T11:30:44.827Z] ---> be8567dca206 [2024-09-09T11:30:44.827Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T11:30:44.827Z] ---> Running in 0794e9338f23 [2024-09-09T11:30:45.103Z] Removing intermediate container 0794e9338f23 [2024-09-09T11:30:45.103Z] ---> 04792f2f03fa [2024-09-09T11:30:45.103Z] Step 12/12 : RUN $MAKE [2024-09-09T11:30:45.103Z] ---> Running in 8ca3e6c20942 [2024-09-09T11:30:46.073Z] noop [2024-09-09T11:30:47.048Z] Removing intermediate container 8ca3e6c20942 [2024-09-09T11:30:47.049Z] ---> 9eb8137f5b70 [2024-09-09T11:30:47.049Z] Successfully built 9eb8137f5b70 [2024-09-09T11:30:47.049Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:30:47.581Z] + docker inspect -f . ci-base-image-arm64 [2024-09-09T11:30:47.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T11:30:47.915Z] prd-ubuntu20.04-docker-arm64-4c-16g-9850 does not seem to be running inside a container [2024-09-09T11:30:47.973Z] $ 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 ******** ci-base-image-arm64 cat [2024-09-09T11:30:49.203Z] $ docker top 932533b14b678766dba8247267f6cdd6f5fceca87e2bd6a22012b465e08856bf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T11:30:50.141Z] + go version [2024-09-09T11:30:50.141Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-09T11:30:50.184Z] $ docker stop --time=1 932533b14b678766dba8247267f6cdd6f5fceca87e2bd6a22012b465e08856bf [2024-09-09T11:30:51.822Z] $ docker rm -f --volumes 932533b14b678766dba8247267f6cdd6f5fceca87e2bd6a22012b465e08856bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:30:52.811Z] + docker inspect -f . ci-base-image-arm64 [2024-09-09T11:30:52.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T11:30:53.095Z] prd-ubuntu20.04-docker-arm64-4c-16g-9850 does not seem to be running inside a container [2024-09-09T11:30:53.160Z] $ 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 ******** ci-base-image-arm64 cat [2024-09-09T11:30:54.377Z] $ docker top 212c8bbeefd71d13a399619dbdc6b2bab32e6a0c067c9043baa6a5cd5159d143 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T11:30:55.319Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-09T11:30:56.065Z] + make test [2024-09-09T11:30:56.065Z] go test ./... -coverprofile=coverage.out [2024-09-09T11:31:02.719Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-09-09T11:34:24.841Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-09-09T11:34:24.841Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.060s coverage: 58.3% of statements [2024-09-09T11:34:24.841Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-09T11:34:24.841Z] go vet ./... [2024-09-09T11:35:03.729Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-09T11:35:03.729Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-09T11:35:03.729Z] ./bin/test-attribution-txt.sh [2024-09-09T11:35:03.729Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-09T11:35:03.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-09T11:35:03.814Z] $ docker stop --time=1 212c8bbeefd71d13a399619dbdc6b2bab32e6a0c067c9043baa6a5cd5159d143 [2024-09-09T11:35:05.625Z] $ docker rm -f --volumes 212c8bbeefd71d13a399619dbdc6b2bab32e6a0c067c9043baa6a5cd5159d143 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-09T11:35:07.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-09T11:35:07.178Z] Warning: overwriting stash ‘coverage-report’ [2024-09-09T11:35:07.620Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T11:35:08.406Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-09T11:35:08.753Z] + ls -al . [2024-09-09T11:35:08.753Z] total 272 [2024-09-09T11:35:08.753Z] drwxrwxr-x 7 jenkins jenkins 4096 Sep 9 11:31 . [2024-09-09T11:35:08.753Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 11:27 .. [2024-09-09T11:35:08.753Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 11:27 .git [2024-09-09T11:35:08.753Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 11:27 .github [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 272 Sep 9 11:27 .gitignore [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 11:27 .golangci.yml [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 17933 Sep 9 11:27 Attribution.txt [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 15941 Sep 9 11:27 CHANGELOG.md [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 1755 Sep 9 11:27 Dockerfile [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 11:27 GOVERNANCE.md [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 9 11:27 Jenkinsfile [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 11:27 LICENSE [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 1953 Sep 9 11:27 Makefile [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 9 11:27 OWNERS.md [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 4103 Sep 9 11:27 README.md [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 11:23 VERSION [2024-09-09T11:35:08.753Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 11:27 bin [2024-09-09T11:35:08.753Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 11:27 cmd [2024-09-09T11:35:08.753Z] -rw-r--r-- 1 jenkins jenkins 43247 Sep 9 11:34 coverage.out [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 6924 Sep 9 11:27 go.mod [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 11:27 go.sum [2024-09-09T11:35:08.753Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 11:27 internal [2024-09-09T11:35:08.753Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 9 11:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:35:09.207Z] + 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=81eeae48d3608f4d5ac3b7406ec49b9a838d195c --label arch=arm64 --label version=0.0.0 . [2024-09-09T11:35:09.792Z] Sending build context to Docker daemon 19.04MB [2024-09-09T11:35:09.792Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T11:35:09.792Z] Step 2/26 : FROM ${BASE} AS builder [2024-09-09T11:35:09.792Z] ---> 9eb8137f5b70 [2024-09-09T11:35:09.792Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T11:35:09.792Z] ---> Running in de34385fa676 [2024-09-09T11:35:10.058Z] Removing intermediate container de34385fa676 [2024-09-09T11:35:10.058Z] ---> cd2bb4881ae5 [2024-09-09T11:35:10.058Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T11:35:10.322Z] ---> Running in 30a9d5a7ff50 [2024-09-09T11:35:10.587Z] Removing intermediate container 30a9d5a7ff50 [2024-09-09T11:35:10.587Z] ---> 173d4de7dcda [2024-09-09T11:35:10.587Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-09-09T11:35:10.587Z] ---> Running in 87d53ac945ad [2024-09-09T11:35:10.853Z] Removing intermediate container 87d53ac945ad [2024-09-09T11:35:10.853Z] ---> 322792c22be0 [2024-09-09T11:35:10.853Z] Step 6/26 : WORKDIR /device-virtual-go [2024-09-09T11:35:10.853Z] ---> Running in ae17ef75e614 [2024-09-09T11:35:11.119Z] Removing intermediate container ae17ef75e614 [2024-09-09T11:35:11.119Z] ---> b4f0eb6bd887 [2024-09-09T11:35:11.119Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T11:35:11.119Z] ---> Running in 149a599fc121 [2024-09-09T11:35:12.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T11:35:12.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T11:35:13.561Z] OK: 271 MiB in 56 packages [2024-09-09T11:35:14.524Z] Removing intermediate container 149a599fc121 [2024-09-09T11:35:14.524Z] ---> 4c4e054d3c2a [2024-09-09T11:35:14.524Z] Step 8/26 : COPY go.mod vendor* ./ [2024-09-09T11:35:14.791Z] ---> 3975dd5810a3 [2024-09-09T11:35:14.791Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T11:35:15.070Z] ---> Running in 7ff24dcec32a [2024-09-09T11:35:18.232Z] Removing intermediate container 7ff24dcec32a [2024-09-09T11:35:18.232Z] ---> c7cc1ab33fac [2024-09-09T11:35:18.232Z] Step 10/26 : COPY . . [2024-09-09T11:35:18.501Z] ---> 82af30a0a84a [2024-09-09T11:35:18.501Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T11:35:18.501Z] ---> Running in 1eef35cc29bc [2024-09-09T11:35:18.773Z] Removing intermediate container 1eef35cc29bc [2024-09-09T11:35:18.773Z] ---> d8690d8f920c [2024-09-09T11:35:18.773Z] Step 12/26 : RUN $MAKE [2024-09-09T11:35:18.773Z] ---> Running in ce0fa43c198b [2024-09-09T11:35:19.733Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-09-09T11:38:41.526Z] Removing intermediate container ce0fa43c198b [2024-09-09T11:38:41.526Z] ---> d967bc3ebda3 [2024-09-09T11:38:41.526Z] Step 13/26 : FROM alpine:3.18 [2024-09-09T11:38:41.526Z] 3.18: Pulling from library/alpine [2024-09-09T11:38:41.526Z] 720f3032cd11: Pulling fs layer [2024-09-09T11:38:41.526Z] 720f3032cd11: Verifying Checksum [2024-09-09T11:38:41.526Z] 720f3032cd11: Download complete [2024-09-09T11:38:41.526Z] 720f3032cd11: Pull complete [2024-09-09T11:38:41.526Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-09T11:38:41.526Z] Status: Downloaded newer image for alpine:3.18 [2024-09-09T11:38:41.526Z] ---> 3e834921e367 [2024-09-09T11:38:41.526Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-09-09T11:38:41.526Z] ---> Running in 69d8b869feac [2024-09-09T11:38:41.526Z] Removing intermediate container 69d8b869feac [2024-09-09T11:38:41.526Z] ---> 7a074c3f496b [2024-09-09T11:38:41.526Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-09-09T11:38:41.526Z] ---> Running in 410f80e07b6c [2024-09-09T11:38:41.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T11:38:41.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T11:38:41.526Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-09T11:38:41.526Z] Executing busybox-1.36.1-r7.trigger [2024-09-09T11:38:41.526Z] OK: 8 MiB in 16 packages [2024-09-09T11:38:42.111Z] Removing intermediate container 410f80e07b6c [2024-09-09T11:38:42.111Z] ---> 5dde1aa35f65 [2024-09-09T11:38:42.111Z] Step 16/26 : RUN apk --no-cache upgrade [2024-09-09T11:38:42.111Z] ---> Running in ce232215f0d8 [2024-09-09T11:38:43.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T11:38:43.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T11:38:44.305Z] OK: 8 MiB in 16 packages [2024-09-09T11:38:45.289Z] Removing intermediate container ce232215f0d8 [2024-09-09T11:38:45.290Z] ---> f0e6bdba260f [2024-09-09T11:38:45.290Z] Step 17/26 : WORKDIR / [2024-09-09T11:38:45.290Z] ---> Running in d8ce50cf07a0 [2024-09-09T11:38:45.558Z] Removing intermediate container d8ce50cf07a0 [2024-09-09T11:38:45.558Z] ---> 6a3abe77aafb [2024-09-09T11:38:45.558Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-09-09T11:38:46.147Z] ---> 8d45549fb393 [2024-09-09T11:38:46.147Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-09-09T11:38:46.416Z] ---> 835d232b386f [2024-09-09T11:38:46.416Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-09-09T11:38:48.373Z] ---> e7cade9eb859 [2024-09-09T11:38:48.373Z] Step 21/26 : EXPOSE 59900 [2024-09-09T11:38:48.373Z] ---> Running in 70c72e60225a [2024-09-09T11:38:48.641Z] Removing intermediate container 70c72e60225a [2024-09-09T11:38:48.641Z] ---> 7711717d5e9b [2024-09-09T11:38:48.641Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-09-09T11:38:48.641Z] ---> Running in 154749c1d027 [2024-09-09T11:38:48.911Z] Removing intermediate container 154749c1d027 [2024-09-09T11:38:48.911Z] ---> 0d7f02a48e45 [2024-09-09T11:38:48.911Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-09T11:38:49.182Z] ---> Running in 5c1997ad4f2c [2024-09-09T11:38:49.452Z] Removing intermediate container 5c1997ad4f2c [2024-09-09T11:38:49.452Z] ---> 13eb3378f0df [2024-09-09T11:38:49.452Z] Step 24/26 : LABEL arch=arm64 [2024-09-09T11:38:49.452Z] ---> Running in 830943d1ea44 [2024-09-09T11:38:49.720Z] Removing intermediate container 830943d1ea44 [2024-09-09T11:38:49.720Z] ---> 79b50a67531f [2024-09-09T11:38:49.720Z] Step 25/26 : LABEL git_sha=81eeae48d3608f4d5ac3b7406ec49b9a838d195c [2024-09-09T11:38:49.720Z] ---> Running in 527ed7c38352 [2024-09-09T11:38:49.990Z] Removing intermediate container 527ed7c38352 [2024-09-09T11:38:49.990Z] ---> 96ebae7d3770 [2024-09-09T11:38:49.990Z] Step 26/26 : LABEL version=0.0.0 [2024-09-09T11:38:50.258Z] ---> Running in 998a4f75144f [2024-09-09T11:38:50.525Z] Removing intermediate container 998a4f75144f [2024-09-09T11:38:50.525Z] ---> a4861756c949 [2024-09-09T11:38:50.525Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-09T11:38:50.525Z] Successfully built a4861756c949 [2024-09-09T11:38:50.525Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:38:51.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T11:38:51.481Z] [2024-09-09T11:38:51.481Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:38:51.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T11:38:51.915Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-09T11:38:51.915Z] 8998bd30e6a1: Pulling fs layer [2024-09-09T11:38:51.915Z] 04944245beec: Pulling fs layer [2024-09-09T11:38:51.915Z] 699f458cf7ca: Pulling fs layer [2024-09-09T11:38:51.915Z] 765212b225bb: Pulling fs layer [2024-09-09T11:38:51.915Z] f23df028b6ca: Pulling fs layer [2024-09-09T11:38:51.915Z] d65c8cfc05b1: Pulling fs layer [2024-09-09T11:38:51.915Z] 2437ff75d9bd: Pulling fs layer [2024-09-09T11:38:51.915Z] 765212b225bb: Waiting [2024-09-09T11:38:51.915Z] f23df028b6ca: Waiting [2024-09-09T11:38:51.915Z] d65c8cfc05b1: Waiting [2024-09-09T11:38:51.915Z] 2437ff75d9bd: Waiting [2024-09-09T11:38:52.184Z] 04944245beec: Verifying Checksum [2024-09-09T11:38:52.184Z] 04944245beec: Download complete [2024-09-09T11:38:52.184Z] 765212b225bb: Verifying Checksum [2024-09-09T11:38:52.184Z] 765212b225bb: Download complete [2024-09-09T11:38:52.184Z] f23df028b6ca: Verifying Checksum [2024-09-09T11:38:52.184Z] f23df028b6ca: Download complete [2024-09-09T11:38:52.184Z] d65c8cfc05b1: Verifying Checksum [2024-09-09T11:38:52.184Z] d65c8cfc05b1: Download complete [2024-09-09T11:38:52.184Z] 699f458cf7ca: Verifying Checksum [2024-09-09T11:38:52.184Z] 699f458cf7ca: Download complete [2024-09-09T11:38:52.770Z] 8998bd30e6a1: Verifying Checksum [2024-09-09T11:38:52.770Z] 8998bd30e6a1: Download complete [2024-09-09T11:38:55.354Z] 2437ff75d9bd: Verifying Checksum [2024-09-09T11:38:55.354Z] 2437ff75d9bd: Download complete [2024-09-09T11:38:57.299Z] 8998bd30e6a1: Pull complete [2024-09-09T11:38:57.883Z] 04944245beec: Pull complete [2024-09-09T11:38:59.307Z] 699f458cf7ca: Pull complete [2024-09-09T11:38:59.575Z] 765212b225bb: Pull complete [2024-09-09T11:39:00.538Z] f23df028b6ca: Pull complete [2024-09-09T11:39:00.807Z] d65c8cfc05b1: Pull complete [2024-09-09T11:39:19.030Z] 2437ff75d9bd: Pull complete [2024-09-09T11:39:19.030Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-09T11:39:19.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T11:39:19.030Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T11:39:19.403Z] prd-ubuntu20.04-docker-arm64-4c-16g-9850 does not seem to be running inside a container [2024-09-09T11:39:19.539Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-09T11:39:22.137Z] $ docker top 6823c0a4087400a41470df06ddac10ab1a8f4839c581860af42084deb04704ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:39:23.090Z] ---> job-cost.sh [2024-09-09T11:39:23.090Z] lf-activate-venv: SKIPPING [2024-09-09T11:39:23.090Z] INFO: No Stack... [2024-09-09T11:39:23.681Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-09T11:39:24.274Z] INFO: Archiving Costs [Pipeline] sh [2024-09-09T11:39:24.944Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-09-09T11:39:24.945Z] + cut -d, -f6 [Pipeline] lock [2024-09-09T11:39:25.032Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-488-1-stack-cost] [2024-09-09T11:39:25.041Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-488-1-stack-cost] did not exist. Created. [2024-09-09T11:39:25.053Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-488-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-09T11:39:25.508Z] /w/workspace/device-virtual-go/1@tmp/durable-776abc19/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-09T11:39:25.869Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-09T11:39:25.912Z] Warning: overwriting stash ‘stack-cost’ [2024-09-09T11:39:25.961Z] Stashed 1 file(s) [Pipeline] } [2024-09-09T11:39:25.984Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-488-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-09T11:39:26.075Z] $ docker stop --time=1 6823c0a4087400a41470df06ddac10ab1a8f4839c581860af42084deb04704ed [2024-09-09T11:39:27.581Z] $ docker rm -f --volumes 6823c0a4087400a41470df06ddac10ab1a8f4839c581860af42084deb04704ed [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 [2024-09-09T11:39:28.829Z] provisioning config files... [2024-09-09T11:39:28.837Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-488@tmp/config11341839586543287852tmp [Pipeline] { [Pipeline] sh [2024-09-09T11:39:29.178Z] + set +x [2024-09-09T11:39:29.178Z] + curl -s https://codecov.io/bash [2024-09-09T11:39:29.178Z] + bash -s -- [2024-09-09T11:39:29.178Z] [2024-09-09T11:39:29.178Z] _____ _ [2024-09-09T11:39:29.178Z] / ____| | | [2024-09-09T11:39:29.178Z] | | ___ __| | ___ ___ _____ __ [2024-09-09T11:39:29.178Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-09T11:39:29.178Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-09T11:39:29.178Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-09T11:39:29.178Z] Bash-1.0.6 [2024-09-09T11:39:29.178Z] [2024-09-09T11:39:29.178Z] [2024-09-09T11:39:29.178Z] ==> git version 2.25.1 found [2024-09-09T11:39:29.178Z] ==> 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 [2024-09-09T11:39:29.178Z] Release-Date: 2020-01-08 [2024-09-09T11:39:29.178Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-09-09T11:39:29.178Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-09T11:39:29.178Z] ==> Jenkins CI detected. [2024-09-09T11:39:29.178Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-488 [2024-09-09T11:39:29.178Z] project root: . [2024-09-09T11:39:29.178Z] --> token set from env [2024-09-09T11:39:29.178Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-09T11:39:29.178Z] ==> Running gcov in . (disable via -X gcov) [2024-09-09T11:39:29.178Z] ==> Python coveragepy not found [2024-09-09T11:39:29.178Z] ==> Searching for coverage reports in: [2024-09-09T11:39:29.178Z] + . [2024-09-09T11:39:29.178Z] -> Found 1 reports [2024-09-09T11:39:29.178Z] ==> Detecting git/mercurial file structure [2024-09-09T11:39:29.178Z] ==> Reading reports [2024-09-09T11:39:29.178Z] + ./coverage.out bytes=43247 [2024-09-09T11:39:29.178Z] ==> Appending adjustments [2024-09-09T11:39:29.178Z] https://docs.codecov.io/docs/fixing-reports [2024-09-09T11:39:29.437Z] + Found adjustments [2024-09-09T11:39:29.437Z] ==> Gzipping contents [2024-09-09T11:39:29.437Z] 8.0K /tmp/codecov.B4NEs9.gz [2024-09-09T11:39:29.438Z] ==> Uploading reports [2024-09-09T11:39:29.438Z] url: https://codecov.io [2024-09-09T11:39:29.438Z] query: branch=PR-488&commit=81eeae48d3608f4d5ac3b7406ec49b9a838d195c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-488%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=488&job=&cmd_args= [2024-09-09T11:39:29.438Z] -> Pinging Codecov [2024-09-09T11:39:29.438Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-488&commit=81eeae48d3608f4d5ac3b7406ec49b9a838d195c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-488%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=488&job=&cmd_args= [2024-09-09T11:39:29.438Z] -> Uploading to [2024-09-09T11:39:29.438Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-09/5E52B4B073DB2E39498172D8E973AA87/81eeae48d3608f4d5ac3b7406ec49b9a838d195c/6af24482-899c-45d0-899f-d9b999ae3527.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T113929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1cca1c3795c3e705c937ace007713a3090b31811ab9715f59acef8620dcb3cc9 [2024-09-09T11:39:29.438Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-09T11:39:29.438Z] Dload Upload Total Spent Left Speed [2024-09-09T11:39:29.697Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 21100 --:--:-- --:--:-- --:--:-- 21100 [2024-09-09T11:39:29.697Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/81eeae48d3608f4d5ac3b7406ec49b9a838d195c [Pipeline] } [2024-09-09T11:39:29.728Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-09-09T11:39:31.902Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-488/archives ] [2024-09-09T11:39:31.902Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-488/archives [2024-09-09T11:39:31.902Z] total 16 [2024-09-09T11:39:31.902Z] drwxr-xr-x 3 root root 4096 Sep 9 11:26 . [2024-09-09T11:39:31.902Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 11:26 .. [2024-09-09T11:39:31.902Z] drwxr-xr-x 2 root root 4096 Sep 9 11:26 cost [2024-09-09T11:39:31.902Z] -rw-r--r-- 1 root root 89 Sep 9 11:26 cost.csv [2024-09-09T11:39:31.902Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-488/archives [2024-09-09T11:39:31.902Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-488/archives [2024-09-09T11:39:31.902Z] total 16 [2024-09-09T11:39:31.902Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 11:26 . [2024-09-09T11:39:31.902Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 11:26 .. [2024-09-09T11:39:31.902Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 11:26 cost [2024-09-09T11:39:31.902Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 9 11:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:39:32.249Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:39:33.155Z] ---> package-listing.sh [2024-09-09T11:39:33.155Z] ++ facter osfamily [2024-09-09T11:39:33.155Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-09T11:39:33.416Z] + OS_FAMILY=debian [2024-09-09T11:39:33.416Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-488 [2024-09-09T11:39:33.416Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-09T11:39:33.416Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-09T11:39:33.416Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-09T11:39:33.416Z] + PACKAGES=/tmp/packages_start.txt [2024-09-09T11:39:33.416Z] + '[' /w/workspace/foundry_device-virtual-go_PR-488 ']' [2024-09-09T11:39:33.416Z] + PACKAGES=/tmp/packages_end.txt [2024-09-09T11:39:33.416Z] + case "${OS_FAMILY}" in [2024-09-09T11:39:33.416Z] + dpkg -l [2024-09-09T11:39:33.416Z] + grep '^ii' [2024-09-09T11:39:33.416Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-09T11:39:33.416Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-09T11:39:33.416Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-09T11:39:33.416Z] + '[' /w/workspace/foundry_device-virtual-go_PR-488 ']' [2024-09-09T11:39:33.416Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-488/archives/ [2024-09-09T11:39:33.416Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-488/archives/ [Pipeline] echo [2024-09-09T11:39:33.464Z] 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-488/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-09T11:39:33.776Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T11:39:34.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T11:39:34.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T11:39:34.629Z] prd-ubuntu20.04-docker-8c-8g-9849 does not seem to be running inside a container [2024-09-09T11:39:34.654Z] $ 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-488/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-488 -v /w/workspace/foundry_device-virtual-go_PR-488:/w/workspace/foundry_device-virtual-go_PR-488:rw,z -v /w/workspace/foundry_device-virtual-go_PR-488@tmp:/w/workspace/foundry_device-virtual-go_PR-488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-09T11:39:34.886Z] $ docker top d27654137b552597fc8837bbbb8fe27425a8b40623c82fa2c0fa96ab2259330a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T11:39:35.324Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-09T11:39:35.646Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-09T11:39:35.969Z] + ls /var/log/sa-host [2024-09-09T11:39:35.969Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T11:39:36.133Z] provisioning config files... [2024-09-09T11:39:36.144Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-488@tmp/config18336771669589564742tmp [Pipeline] { [Pipeline] echo [2024-09-09T11:39:36.211Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:39:36.550Z] ---> create-netrc.sh [Pipeline] } [2024-09-09T11:39:36.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:39:37.021Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-09T11:39:37.057Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:39:37.381Z] ---> sudo-logs.sh [2024-09-09T11:39:37.381Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-09T11:39:37.481Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:39:37.804Z] ---> job-cost.sh [2024-09-09T11:39:37.804Z] lf-activate-venv: SKIPPING [2024-09-09T11:39:37.804Z] DEBUG: total: 0.2199999988079071 [2024-09-09T11:39:37.804Z] INFO: Retrieving Stack Cost... [2024-09-09T11:39:38.373Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-09T11:39:38.637Z] INFO: Archiving Costs [Pipeline] echo [2024-09-09T11:39:38.682Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T11:39:39.009Z] ---> logs-deploy.sh [2024-09-09T11:39:39.009Z] lf-activate-venv: SKIPPING [2024-09-09T11:39:39.009Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-488/1 [2024-09-09T11:39:39.009Z] INFO: archiving workspace using pattern(s): [2024-09-09T11:39:39.950Z] Archives upload complete. [2024-09-09T11:39:39.950Z] INFO: archiving logs to Nexus