Pull request #476 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0a626af9f7dc48f228c397d13ab24a28e2393264+932cd0ed64b24657bf9f55b2df32b0bd0d5697a3 (bf465d4c6266f8c60dc28f56aa11f7eee4e75456) 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-ssh11880236174424852030.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh17633059885021949488.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 590556114a56c6d90cc8043840e039c2f74196dc 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-476/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-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6994980082019280501.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-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14852402071566389442.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh16497798185912087838.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-476/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-476/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10004741363234187244.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 590556114a56c6d90cc8043840e039c2f74196dc 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4920 in /w/workspace/foundry_device-virtual-go_PR-476 [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-476 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 932cd0ed64b24657bf9f55b2df32b0bd0d5697a3 into PR head commit 0a626af9f7dc48f228c397d13ab24a28e2393264 Merge succeeded, producing 0a626af9f7dc48f228c397d13ab24a28e2393264 Checking out Revision 0a626af9f7dc48f228c397d13ab24a28e2393264 (PR-476) 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 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 0a626af9f7dc48f228c397d13ab24a28e2393264 # 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 932cd0ed64b24657bf9f55b2df32b0bd0d5697a3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a626af9f7dc48f228c397d13ab24a28e2393264 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-03T11:48:27.497Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-03T11:48:27.711Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-03T11:48:27.852Z] ========================================================= [2024-07-03T11:48:27.852Z] EdgeX Global Pipelines Version Info [2024-07-03T11:48:27.852Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-03T11:48:28.641Z] ------------------- [2024-07-03T11:48:28.641Z] stable info: [2024-07-03T11:48:28.641Z] ------------------- [2024-07-03T11:48:28.641Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T11:48:28.641Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-03T11:48:28.641Z] Message: update stable to v1.0.260 [2024-07-03T11:48:29.213Z] ------------------- [2024-07-03T11:48:29.213Z] experimental info: [2024-07-03T11:48:29.213Z] ------------------- [2024-07-03T11:48:29.213Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T11:48:29.213Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-03T11:48:29.213Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-03T11:48:29.442Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-07-03T11:48:29.505Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-07-03T11:48:29.564Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-03T11:48:29.620Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-03T11:48:29.672Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-03T11:48:29.732Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-03T11:48:29.789Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-03T11:48:29.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-03T11:48:29.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-03T11:48:29.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-03T11:48:30.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-03T11:48:30.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-07-03T11:48:30.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-03T11:48:30.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-03T11:48:30.280Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T11:48:30.347Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T11:48:30.406Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T11:48:30.467Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T11:48:30.529Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-03T11:48:30.590Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-03T11:48:30.650Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-03T11:48:30.704Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-03T11:48:30.763Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-03T11:48:30.817Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-03T11:48:30.873Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-03T11:48:30.934Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-03T11:48:30.994Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-03T11:48:31.053Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-476 [Pipeline] echo [2024-07-03T11:48:31.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-476 [Pipeline] echo [2024-07-03T11:48:31.168Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-476 [Pipeline] echo [2024-07-03T11:48:31.223Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a626af9f7dc48f228c397d13ab24a28e2393264 [Pipeline] echo [2024-07-03T11:48:31.286Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a626af [Pipeline] echo [2024-07-03T11:48:31.347Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T11:48:31.501Z] provisioning config files... [2024-07-03T11:48:31.515Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-476@tmp/config1337606085594926940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T11:48:31.923Z] ---> ****-login.sh [2024-07-03T11:48:31.923Z] nexus3.edgexfoundry.org:10001 [2024-07-03T11:48:32.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:48:32.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:48:32.183Z] Configure a credential helper to remove this warning. See [2024-07-03T11:48:32.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:48:32.183Z] [2024-07-03T11:48:32.183Z] Login Succeeded [2024-07-03T11:48:32.183Z] nexus3.edgexfoundry.org:10002 [2024-07-03T11:48:32.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:48:32.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:48:32.444Z] Configure a credential helper to remove this warning. See [2024-07-03T11:48:32.444Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:48:32.444Z] [2024-07-03T11:48:32.444Z] Login Succeeded [2024-07-03T11:48:32.444Z] nexus3.edgexfoundry.org:10003 [2024-07-03T11:48:32.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:48:32.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:48:32.445Z] Configure a credential helper to remove this warning. See [2024-07-03T11:48:32.445Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:48:32.445Z] [2024-07-03T11:48:32.445Z] Login Succeeded [2024-07-03T11:48:32.445Z] nexus3.edgexfoundry.org:10004 [2024-07-03T11:48:32.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:48:32.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:48:32.705Z] Configure a credential helper to remove this warning. See [2024-07-03T11:48:32.705Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:48:32.705Z] [2024-07-03T11:48:32.705Z] Login Succeeded [2024-07-03T11:48:32.705Z] ****.io [2024-07-03T11:48:32.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:48:32.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:48:32.966Z] Configure a credential helper to remove this warning. See [2024-07-03T11:48:32.966Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:48:32.966Z] [2024-07-03T11:48:32.966Z] Login Succeeded [2024-07-03T11:48:32.966Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T11:48:32.998Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-03T11:48:33.701Z] + git rev-list -1 --merges 0a626af9f7dc48f228c397d13ab24a28e2393264~1..0a626af9f7dc48f228c397d13ab24a28e2393264 [Pipeline] echo [2024-07-03T11:48:33.756Z] -----------> git rev-list -1 --merges 0a626af9f7dc48f228c397d13ab24a28e2393264~1..0a626af9f7dc48f228c397d13ab24a28e2393264 0a626af9f7dc48f228c397d13ab24a28e2393264 [false] [Pipeline] sh [2024-07-03T11:48:34.075Z] + git log --format=format:%s -1 0a626af9f7dc48f228c397d13ab24a28e2393264 [Pipeline] echo [2024-07-03T11:48:34.116Z] ========================================================= [2024-07-03T11:48:34.116Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-03T11:48:34.116Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T11:48:34.576Z] + git log --format=format:%s -1 0a626af9f7dc48f228c397d13ab24a28e2393264 [Pipeline] echo [2024-07-03T11:48:34.617Z] [semverPrep] GIT_COMMIT: 0a626af9f7dc48f228c397d13ab24a28e2393264, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-03T11:48:34.661Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-03T11:48:35.084Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-03T11:48:35.084Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-03T11:48:35.084Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-03T11:48:35.084Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-03T11:48:35.084Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-03T11:48:35.084Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-03T11:48:35.084Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T11:48:35.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T11:48:35.631Z] [2024-07-03T11:48:35.631Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T11:48:36.031Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T11:48:36.031Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-03T11:48:36.031Z] b85a868b505f: Pulling fs layer [2024-07-03T11:48:36.031Z] e2be974225ed: Pulling fs layer [2024-07-03T11:48:36.031Z] 339a4e72a1f5: Pulling fs layer [2024-07-03T11:48:36.031Z] 988bab9f4d93: Pulling fs layer [2024-07-03T11:48:36.031Z] 1469e6f7b9e6: Pulling fs layer [2024-07-03T11:48:36.031Z] eaf3925da568: Pulling fs layer [2024-07-03T11:48:36.031Z] bab4dde63d76: Pulling fs layer [2024-07-03T11:48:36.031Z] bde34c3a00c8: Pulling fs layer [2024-07-03T11:48:36.031Z] b352a97aabf1: Pulling fs layer [2024-07-03T11:48:36.031Z] 4872d77fe225: Pulling fs layer [2024-07-03T11:48:36.031Z] 5851b861e8e6: Pulling fs layer [2024-07-03T11:48:36.031Z] bab4dde63d76: Waiting [2024-07-03T11:48:36.031Z] 4872d77fe225: Waiting [2024-07-03T11:48:36.031Z] bde34c3a00c8: Waiting [2024-07-03T11:48:36.032Z] b352a97aabf1: Waiting [2024-07-03T11:48:36.032Z] 988bab9f4d93: Waiting [2024-07-03T11:48:36.032Z] 1469e6f7b9e6: Waiting [2024-07-03T11:48:36.032Z] 5851b861e8e6: Waiting [2024-07-03T11:48:36.032Z] eaf3925da568: Waiting [2024-07-03T11:48:36.032Z] e2be974225ed: Download complete [2024-07-03T11:48:36.032Z] 988bab9f4d93: Verifying Checksum [2024-07-03T11:48:36.032Z] 988bab9f4d93: Download complete [2024-07-03T11:48:36.032Z] 1469e6f7b9e6: Verifying Checksum [2024-07-03T11:48:36.032Z] 1469e6f7b9e6: Download complete [2024-07-03T11:48:36.032Z] eaf3925da568: Verifying Checksum [2024-07-03T11:48:36.032Z] eaf3925da568: Download complete [2024-07-03T11:48:36.291Z] 339a4e72a1f5: Verifying Checksum [2024-07-03T11:48:36.291Z] 339a4e72a1f5: Download complete [2024-07-03T11:48:36.291Z] bde34c3a00c8: Verifying Checksum [2024-07-03T11:48:36.291Z] bde34c3a00c8: Download complete [2024-07-03T11:48:36.291Z] b352a97aabf1: Verifying Checksum [2024-07-03T11:48:36.291Z] b352a97aabf1: Download complete [2024-07-03T11:48:36.291Z] 4872d77fe225: Verifying Checksum [2024-07-03T11:48:36.291Z] 4872d77fe225: Download complete [2024-07-03T11:48:36.291Z] 5851b861e8e6: Verifying Checksum [2024-07-03T11:48:36.291Z] 5851b861e8e6: Download complete [2024-07-03T11:48:36.291Z] b85a868b505f: Verifying Checksum [2024-07-03T11:48:36.291Z] b85a868b505f: Download complete [2024-07-03T11:48:36.550Z] bab4dde63d76: Verifying Checksum [2024-07-03T11:48:36.550Z] bab4dde63d76: Download complete [2024-07-03T11:48:37.519Z] b85a868b505f: Pull complete [2024-07-03T11:48:37.780Z] e2be974225ed: Pull complete [2024-07-03T11:48:38.350Z] 339a4e72a1f5: Pull complete [2024-07-03T11:48:38.350Z] 988bab9f4d93: Pull complete [2024-07-03T11:48:38.609Z] 1469e6f7b9e6: Pull complete [2024-07-03T11:48:38.869Z] eaf3925da568: Pull complete [2024-07-03T11:48:40.774Z] bab4dde63d76: Pull complete [2024-07-03T11:48:40.774Z] bde34c3a00c8: Pull complete [2024-07-03T11:48:40.774Z] b352a97aabf1: Pull complete [2024-07-03T11:48:40.774Z] 4872d77fe225: Pull complete [2024-07-03T11:48:40.774Z] 5851b861e8e6: Pull complete [2024-07-03T11:48:41.036Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-03T11:48:41.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T11:48:41.036Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T11:48:41.354Z] prd-ubuntu20.04-docker-8c-8g-4920 does not seem to be running inside a container [2024-07-03T11:48:41.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-476 -v /w/workspace/foundry_device-virtual-go_PR-476:/w/workspace/foundry_device-virtual-go_PR-476:rw,z -v /w/workspace/foundry_device-virtual-go_PR-476@tmp:/w/workspace/foundry_device-virtual-go_PR-476@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-07-03T11:48:44.828Z] $ docker top dc20f04446b2d7e4db4c307096af3c8f81e2d7b365865568b913549716c179df -eo pid,comm [2024-07-03T11:48:44.882Z] 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-07-03T11:48:44.882Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-03T11:48:45.057Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T11:48:45.057Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T11:48:45.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T11:48:45.181Z] $ docker exec dc20f04446b2d7e4db4c307096af3c8f81e2d7b365865568b913549716c179df ssh-agent [2024-07-03T11:48:45.281Z] SSH_AUTH_SOCK=/tmp/ssh-hdUvr8htRfri/agent.32 [2024-07-03T11:48:45.281Z] SSH_AGENT_PID=38 [2024-07-03T11:48:45.287Z] Running ssh-add (command line suppressed) [2024-07-03T11:48:45.381Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-476@tmp/private_key_14788542729336026697.key (/w/workspace/foundry_device-virtual-go_PR-476@tmp/private_key_14788542729336026697.key) [2024-07-03T11:48:45.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T11:48:45.773Z] + git tag --points-at HEAD [Pipeline] } [2024-07-03T11:48:45.803Z] $ docker exec --env ******** --env ******** dc20f04446b2d7e4db4c307096af3c8f81e2d7b365865568b913549716c179df ssh-agent -k [2024-07-03T11:48:45.895Z] unset SSH_AUTH_SOCK; [2024-07-03T11:48:45.896Z] unset SSH_AGENT_PID; [2024-07-03T11:48:45.896Z] echo Agent pid 38 killed; [2024-07-03T11:48:45.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-03T11:48:46.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T11:48:46.030Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T11:48:46.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T11:48:46.138Z] $ docker exec dc20f04446b2d7e4db4c307096af3c8f81e2d7b365865568b913549716c179df ssh-agent [2024-07-03T11:48:46.237Z] SSH_AUTH_SOCK=/tmp/ssh-gMapsak7yRuw/agent.71 [2024-07-03T11:48:46.237Z] SSH_AGENT_PID=77 [2024-07-03T11:48:46.242Z] Running ssh-add (command line suppressed) [2024-07-03T11:48:46.329Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-476@tmp/private_key_10411788709725186432.key (/w/workspace/foundry_device-virtual-go_PR-476@tmp/private_key_10411788709725186432.key) [2024-07-03T11:48:46.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T11:48:46.693Z] + git semver init [2024-07-03T11:48:46.953Z] 2024-07-03 11:48:46,858 [run_init] DEBUG init version:0.0.0 force:False [2024-07-03T11:48:46.953Z] 2024-07-03 11:48:46,858 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-476/.semver [2024-07-03T11:48:46.953Z] 2024-07-03 11:48:46,859 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-476/.semver [2024-07-03T11:48:46.953Z] 2024-07-03 11:48:46,859 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-476/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-476, universal_newlines=False, shell=None, istream=None) [2024-07-03T11:48:49.500Z] 2024-07-03 11:48:48,939 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-476/.git/info/exclude [2024-07-03T11:48:49.500Z] 2024-07-03 11:48:48,940 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-476/.semver/PR-476 with force:False [2024-07-03T11:48:49.500Z] 2024-07-03 11:48:48,940 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-476/.semver/PR-476 [2024-07-03T11:48:49.500Z] 2024-07-03 11:48:48,943 [execute] INFO git cat-file --batch-check [2024-07-03T11:48:49.500Z] 2024-07-03 11:48:48,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-476/.semver, universal_newlines=False, shell=None, istream=) [2024-07-03T11:48:49.500Z] 2024-07-03 11:48:48,950 [execute] INFO git cat-file --batch [2024-07-03T11:48:49.500Z] 2024-07-03 11:48:48,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-476/.semver, universal_newlines=False, shell=None, istream=) [2024-07-03T11:48:49.500Z] 2024-07-03 11:48:48,955 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-476/.semver/PR-476 [2024-07-03T11:48:49.500Z] 0.0.0 [Pipeline] } [2024-07-03T11:48:49.528Z] $ docker exec --env ******** --env ******** dc20f04446b2d7e4db4c307096af3c8f81e2d7b365865568b913549716c179df ssh-agent -k [2024-07-03T11:48:49.630Z] unset SSH_AUTH_SOCK; [2024-07-03T11:48:49.631Z] unset SSH_AGENT_PID; [2024-07-03T11:48:49.631Z] echo Agent pid 77 killed; [2024-07-03T11:48:49.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-03T11:48:50.119Z] + git semver [Pipeline] } [2024-07-03T11:48:50.408Z] $ docker stop --time=1 dc20f04446b2d7e4db4c307096af3c8f81e2d7b365865568b913549716c179df [2024-07-03T11:48:51.696Z] $ docker rm -f --volumes dc20f04446b2d7e4db4c307096af3c8f81e2d7b365865568b913549716c179df [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T11:48:52.155Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-03T11:48:52.534Z] Stashed 1 file(s) [Pipeline] echo [2024-07-03T11:48:52.556Z] [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-07-03T11:48:53.305Z] provisioning config files... [2024-07-03T11:48:53.317Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-476@tmp/config3254587607846928706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T11:48:53.690Z] ---> ****-login.sh [2024-07-03T11:48:53.690Z] nexus3.edgexfoundry.org:10001 [2024-07-03T11:48:53.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:48:53.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:48:53.691Z] Configure a credential helper to remove this warning. See [2024-07-03T11:48:53.691Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:48:53.691Z] [2024-07-03T11:48:53.691Z] Login Succeeded [2024-07-03T11:48:53.691Z] nexus3.edgexfoundry.org:10002 [2024-07-03T11:48:53.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:48:53.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:48:53.691Z] Configure a credential helper to remove this warning. See [2024-07-03T11:48:53.691Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:48:53.691Z] [2024-07-03T11:48:53.691Z] Login Succeeded [2024-07-03T11:48:53.691Z] nexus3.edgexfoundry.org:10003 [2024-07-03T11:48:53.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:48:53.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:48:53.954Z] Configure a credential helper to remove this warning. See [2024-07-03T11:48:53.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:48:53.954Z] [2024-07-03T11:48:53.954Z] Login Succeeded [2024-07-03T11:48:53.954Z] nexus3.edgexfoundry.org:10004 [2024-07-03T11:48:53.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:48:53.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:48:53.954Z] Configure a credential helper to remove this warning. See [2024-07-03T11:48:53.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:48:53.954Z] [2024-07-03T11:48:53.954Z] Login Succeeded [2024-07-03T11:48:53.954Z] ****.io [2024-07-03T11:48:54.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:48:54.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:48:54.215Z] Configure a credential helper to remove this warning. See [2024-07-03T11:48:54.215Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:48:54.215Z] [2024-07-03T11:48:54.215Z] Login Succeeded [2024-07-03T11:48:54.215Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T11:48:54.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T11:48:54.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T11:48:54.558Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T11:48:54.605Z] ========================================================= [2024-07-03T11:48:54.605Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-03T11:48:54.605Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T11:48:55.119Z] + 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-07-03T11:48:55.119Z] Sending build context to Docker daemon 37.52MB [2024-07-03T11:48:55.119Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T11:48:55.119Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-03T11:48:55.379Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-03T11:48:55.379Z] 619be1103602: Pulling fs layer [2024-07-03T11:48:55.379Z] 7862e08f4a3e: Pulling fs layer [2024-07-03T11:48:55.379Z] 5df492c9dc93: Pulling fs layer [2024-07-03T11:48:55.379Z] 7629e6793208: Pulling fs layer [2024-07-03T11:48:55.379Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T11:48:55.379Z] fb5054dd5b73: Pulling fs layer [2024-07-03T11:48:55.379Z] eeca6798cff9: Pulling fs layer [2024-07-03T11:48:55.379Z] aa269ceb94a6: Pulling fs layer [2024-07-03T11:48:55.379Z] ada007ff1a6a: Pulling fs layer [2024-07-03T11:48:55.379Z] eeca6798cff9: Waiting [2024-07-03T11:48:55.379Z] 4f4fb700ef54: Waiting [2024-07-03T11:48:55.379Z] fb5054dd5b73: Waiting [2024-07-03T11:48:55.379Z] ada007ff1a6a: Waiting [2024-07-03T11:48:55.379Z] aa269ceb94a6: Waiting [2024-07-03T11:48:55.379Z] 7862e08f4a3e: Verifying Checksum [2024-07-03T11:48:55.379Z] 7862e08f4a3e: Download complete [2024-07-03T11:48:55.379Z] 7629e6793208: Download complete [2024-07-03T11:48:55.379Z] 4f4fb700ef54: Verifying Checksum [2024-07-03T11:48:55.379Z] 4f4fb700ef54: Download complete [2024-07-03T11:48:55.379Z] 619be1103602: Verifying Checksum [2024-07-03T11:48:55.379Z] 619be1103602: Download complete [2024-07-03T11:48:55.379Z] fb5054dd5b73: Verifying Checksum [2024-07-03T11:48:55.379Z] fb5054dd5b73: Download complete [2024-07-03T11:48:55.379Z] eeca6798cff9: Verifying Checksum [2024-07-03T11:48:55.379Z] eeca6798cff9: Download complete [2024-07-03T11:48:55.638Z] 619be1103602: Pull complete [2024-07-03T11:48:55.638Z] ada007ff1a6a: Verifying Checksum [2024-07-03T11:48:55.638Z] ada007ff1a6a: Download complete [2024-07-03T11:48:55.638Z] 7862e08f4a3e: Pull complete [2024-07-03T11:48:55.897Z] 5df492c9dc93: Verifying Checksum [2024-07-03T11:48:55.898Z] 5df492c9dc93: Download complete [2024-07-03T11:48:56.156Z] aa269ceb94a6: Verifying Checksum [2024-07-03T11:48:56.156Z] aa269ceb94a6: Download complete [2024-07-03T11:48:59.447Z] 5df492c9dc93: Pull complete [2024-07-03T11:48:59.447Z] 7629e6793208: Pull complete [2024-07-03T11:48:59.447Z] 4f4fb700ef54: Pull complete [2024-07-03T11:48:59.447Z] fb5054dd5b73: Pull complete [2024-07-03T11:48:59.447Z] eeca6798cff9: Pull complete [2024-07-03T11:49:01.349Z] aa269ceb94a6: Pull complete [2024-07-03T11:49:01.916Z] ada007ff1a6a: Pull complete [2024-07-03T11:49:01.916Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-03T11:49:01.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-03T11:49:01.916Z] ---> f489d0715acc [2024-07-03T11:49:01.916Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-03T11:49:07.204Z] ---> Running in 0f1503da1659 [2024-07-03T11:49:07.204Z] Removing intermediate container 0f1503da1659 [2024-07-03T11:49:07.204Z] ---> ae1d1a2844ca [2024-07-03T11:49:07.204Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T11:49:07.204Z] ---> Running in 08bcf6f5e27f [2024-07-03T11:49:07.204Z] Removing intermediate container 08bcf6f5e27f [2024-07-03T11:49:07.204Z] ---> c4fc165a9a41 [2024-07-03T11:49:07.204Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-03T11:49:07.204Z] ---> Running in 434a851884cd [2024-07-03T11:49:07.204Z] Removing intermediate container 434a851884cd [2024-07-03T11:49:07.204Z] ---> c0b2f14faec5 [2024-07-03T11:49:07.204Z] Step 6/12 : WORKDIR /device-virtual-go [2024-07-03T11:49:07.204Z] ---> Running in c8dca723cea8 [2024-07-03T11:49:07.464Z] Removing intermediate container c8dca723cea8 [2024-07-03T11:49:07.464Z] ---> 815761d73869 [2024-07-03T11:49:07.464Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T11:49:07.464Z] ---> Running in d7f4558aa651 [2024-07-03T11:49:07.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T11:49:07.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T11:49:07.982Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-03T11:49:08.083Z] Still waiting to schedule task [2024-07-03T11:49:08.085Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-03T11:49:08.243Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-03T11:49:08.243Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-03T11:49:08.243Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-03T11:49:08.243Z] Executing busybox-1.36.1-r5.trigger [2024-07-03T11:49:08.243Z] OK: 268 MiB in 56 packages [2024-07-03T11:49:08.877Z] Removing intermediate container d7f4558aa651 [2024-07-03T11:49:08.877Z] ---> a533b51db6af [2024-07-03T11:49:08.877Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-03T11:49:08.877Z] ---> 3171f8d27b4f [2024-07-03T11:49:08.877Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T11:49:08.877Z] ---> Running in ce00ef92745f [2024-07-03T11:50:08.522Z] Removing intermediate container ce00ef92745f [2024-07-03T11:50:08.522Z] ---> 8169bddc4558 [2024-07-03T11:50:08.522Z] Step 10/12 : COPY . . [2024-07-03T11:50:09.928Z] ---> 333da652ed9f [2024-07-03T11:50:09.928Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T11:50:09.928Z] ---> Running in 58cbf983690c [2024-07-03T11:50:09.928Z] Removing intermediate container 58cbf983690c [2024-07-03T11:50:09.928Z] ---> eda2b9a46e82 [2024-07-03T11:50:09.928Z] Step 12/12 : RUN $MAKE [2024-07-03T11:50:09.928Z] ---> Running in d2e9d8edfc41 [2024-07-03T11:50:10.188Z] noop [2024-07-03T11:50:10.447Z] Removing intermediate container d2e9d8edfc41 [2024-07-03T11:50:10.447Z] ---> 18e574fd6972 [2024-07-03T11:50:10.447Z] Successfully built 18e574fd6972 [2024-07-03T11:50:10.447Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T11:50:10.939Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T11:50:10.939Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T11:50:11.115Z] prd-ubuntu20.04-docker-8c-8g-4920 does not seem to be running inside a container [2024-07-03T11:50:11.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-476 -v /w/workspace/foundry_device-virtual-go_PR-476:/w/workspace/foundry_device-virtual-go_PR-476:rw,z -v /w/workspace/foundry_device-virtual-go_PR-476@tmp:/w/workspace/foundry_device-virtual-go_PR-476@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-07-03T11:50:11.489Z] $ docker top d52df0cd267e71092aa22f0b16b9f0646b29641a9b4ce89cdf618f2aed3458dc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T11:50:11.880Z] + go version [2024-07-03T11:50:11.880Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-03T11:50:11.937Z] $ docker stop --time=1 d52df0cd267e71092aa22f0b16b9f0646b29641a9b4ce89cdf618f2aed3458dc [2024-07-03T11:50:13.194Z] $ docker rm -f --volumes d52df0cd267e71092aa22f0b16b9f0646b29641a9b4ce89cdf618f2aed3458dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T11:50:13.948Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T11:50:13.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T11:50:14.120Z] prd-ubuntu20.04-docker-8c-8g-4920 does not seem to be running inside a container [2024-07-03T11:50:14.176Z] $ 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-476 -v /w/workspace/foundry_device-virtual-go_PR-476:/w/workspace/foundry_device-virtual-go_PR-476:rw,z -v /w/workspace/foundry_device-virtual-go_PR-476@tmp:/w/workspace/foundry_device-virtual-go_PR-476@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-07-03T11:50:14.496Z] $ docker top 5e7631ce80b263f26b99a39481e360b73b00ce1dbbcf6d97a1a41338014a9bde -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T11:50:14.890Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-476 [Pipeline] fileExists [Pipeline] sh [2024-07-03T11:50:15.281Z] + make test [2024-07-03T11:50:15.281Z] go test ./... -coverprofile=coverage.out [2024-07-03T11:50:17.186Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-07-03T11:50:35.312Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-07-03T11:50:35.312Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements [2024-07-03T11:50:40.778Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4921 in /w/workspace/foundry_device-virtual-go_PR-476 [Pipeline] { [Pipeline] ws [2024-07-03T11:50:40.857Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-07-03T11:50:43.961Z] The recommended git tool is: git [2024-07-03T11:50:45.285Z] go vet ./... [2024-07-03T11:50:51.848Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-03T11:50:51.848Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-03T11:50:51.848Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-07-03T11:50:51.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-03T11:50:51.974Z] $ docker stop --time=1 5e7631ce80b263f26b99a39481e360b73b00ce1dbbcf6d97a1a41338014a9bde [2024-07-03T11:50:52.508Z] using credential edgex-jenkins-ssh [2024-07-03T11:50:52.533Z] Cloning the remote Git repository [2024-07-03T11:50:52.578Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-07-03T11:50:52.706Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-07-03T11:50:52.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-07-03T11:50:52.905Z] > git --version # timeout=10 [2024-07-03T11:50:52.934Z] > git --version # 'git version 2.25.1' [2024-07-03T11:50:52.937Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T11:50:53.159Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-03T11:50:56.263Z] $ docker rm -f --volumes 5e7631ce80b263f26b99a39481e360b73b00ce1dbbcf6d97a1a41338014a9bde [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T11:50:56.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-03T11:50:56.955Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-03T11:50:57.661Z] + sudo chown -R jenkins:jenkins . [2024-07-03T11:50:56.937Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-07-03T11:50:56.970Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2024-07-03T11:50:57.981Z] + ls -al . [2024-07-03T11:50:57.981Z] total 276 [2024-07-03T11:50:57.981Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 11:50 . [2024-07-03T11:50:57.981Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 11:48 .. [2024-07-03T11:50:57.981Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 11:50 .git [2024-07-03T11:50:57.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 11:48 .github [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 272 Jul 3 11:48 .gitignore [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 11:48 .golangci.yml [2024-07-03T11:50:57.981Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 11:48 .semver [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 17933 Jul 3 11:48 Attribution.txt [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 15941 Jul 3 11:48 CHANGELOG.md [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 1755 Jul 3 11:48 Dockerfile [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 11:48 GOVERNANCE.md [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 3 11:48 Jenkinsfile [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 11:48 LICENSE [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 1953 Jul 3 11:48 Makefile [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 3 11:48 OWNERS.md [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 4103 Jul 3 11:48 README.md [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 11:48 VERSION [2024-07-03T11:50:57.981Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 11:48 bin [2024-07-03T11:50:57.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 11:48 cmd [2024-07-03T11:50:57.981Z] -rw-r--r-- 1 jenkins jenkins 43247 Jul 3 11:50 coverage.out [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 6980 Jul 3 11:48 go.mod [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 101951 Jul 3 11:48 go.sum [2024-07-03T11:50:57.981Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 11:48 internal [2024-07-03T11:50:57.981Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 3 11:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T11:50:58.402Z] + 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=0a626af9f7dc48f228c397d13ab24a28e2393264 --label arch=amd64 --label version=0.0.0 . [2024-07-03T11:50:58.402Z] Sending build context to Docker daemon 37.57MB [2024-07-03T11:50:58.402Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T11:50:58.402Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-03T11:50:58.402Z] ---> 18e574fd6972 [2024-07-03T11:50:58.402Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-03T11:50:58.640Z] Merging remotes/origin/main commit 932cd0ed64b24657bf9f55b2df32b0bd0d5697a3 into PR head commit 0a626af9f7dc48f228c397d13ab24a28e2393264 [2024-07-03T11:50:59.047Z] Merge succeeded, producing 0a626af9f7dc48f228c397d13ab24a28e2393264 [2024-07-03T11:50:59.047Z] Checking out Revision 0a626af9f7dc48f228c397d13ab24a28e2393264 (PR-476) [2024-07-03T11:50:58.078Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-07-03T11:50:58.120Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-07-03T11:50:58.121Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T11:50:58.151Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-03T11:50:58.664Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T11:50:58.760Z] > git checkout -f 0a626af9f7dc48f228c397d13ab24a28e2393264 # timeout=10 [2024-07-03T11:50:58.871Z] > git remote # timeout=10 [2024-07-03T11:50:58.917Z] > git config --get remote.origin.url # timeout=10 [2024-07-03T11:50:58.946Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T11:50:58.972Z] > git merge 932cd0ed64b24657bf9f55b2df32b0bd0d5697a3 # timeout=10 [2024-07-03T11:50:59.012Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-03T11:50:59.052Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T11:50:59.080Z] > git checkout -f 0a626af9f7dc48f228c397d13ab24a28e2393264 # timeout=10 [2024-07-03T11:50:59.340Z] ---> Running in 4c8867b1517c [2024-07-03T11:50:59.340Z] Removing intermediate container 4c8867b1517c [2024-07-03T11:50:59.340Z] ---> 236fd1f4dc1e [2024-07-03T11:50:59.340Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T11:50:59.340Z] ---> Running in c0f33ecbf13c [2024-07-03T11:50:59.340Z] Removing intermediate container c0f33ecbf13c [2024-07-03T11:50:59.340Z] ---> a8b733c74a7f [2024-07-03T11:50:59.340Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-03T11:50:59.340Z] ---> Running in a8e909e3fd81 [2024-07-03T11:50:59.601Z] Removing intermediate container a8e909e3fd81 [2024-07-03T11:50:59.601Z] ---> 86a1d238150e [2024-07-03T11:50:59.601Z] Step 6/26 : WORKDIR /device-virtual-go [2024-07-03T11:50:59.601Z] ---> Running in 21d594944c4e [2024-07-03T11:50:59.601Z] Removing intermediate container 21d594944c4e [2024-07-03T11:50:59.601Z] ---> b37e938966f7 [2024-07-03T11:50:59.601Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T11:50:59.601Z] ---> Running in 639703276aea [2024-07-03T11:50:59.696Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-03T11:50:59.738Z] > git --version # timeout=10 [2024-07-03T11:50:59.755Z] > git --version # 'git version 2.25.1' [2024-07-03T11:50:59.771Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-03T11:50:59.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T11:51:00.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T11:51:00.386Z] OK: 268 MiB in 56 packages [2024-07-03T11:51:00.645Z] Removing intermediate container 639703276aea [2024-07-03T11:51:00.645Z] ---> f4bf04a892a8 [2024-07-03T11:51:00.645Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-03T11:51:00.904Z] ---> 8a6801e15cd3 [2024-07-03T11:51:00.904Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T11:51:00.904Z] ---> Running in 2d0f09c9514d [2024-07-03T11:51:01.476Z] Removing intermediate container 2d0f09c9514d [2024-07-03T11:51:01.476Z] ---> eb6d85ff9bc1 [2024-07-03T11:51:01.476Z] Step 10/26 : COPY . . [2024-07-03T11:51:02.854Z] ---> aca5c63e5695 [2024-07-03T11:51:02.854Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T11:51:02.854Z] ---> Running in caaab73482ef [2024-07-03T11:51:02.854Z] Removing intermediate container caaab73482ef [2024-07-03T11:51:02.854Z] ---> 6c69685077b9 [2024-07-03T11:51:02.854Z] Step 12/26 : RUN $MAKE [2024-07-03T11:51:02.854Z] ---> Running in 72047e489bce [2024-07-03T11:51:03.113Z] 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.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T11:51:04.689Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-03T11:51:04.689Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-03T11:51:04.689Z] Dload Upload Total Spent Left Speed [2024-07-03T11:51:04.689Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98676 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh [2024-07-03T11:51:05.040Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-03T11:51:05.386Z] + sudo tee /etc/docker/daemon.new [2024-07-03T11:51:05.387Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-03T11:51:05.387Z] { [2024-07-03T11:51:05.387Z] "registry-mirrors": [ [2024-07-03T11:51:05.387Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-03T11:51:05.387Z] ], [2024-07-03T11:51:05.387Z] "bip": "10.250.0.254/24", [2024-07-03T11:51:05.387Z] "hosts": [ [2024-07-03T11:51:05.387Z] "tcp://0.0.0.0:5555", [2024-07-03T11:51:05.387Z] "unix:///var/run/docker.sock" [2024-07-03T11:51:05.387Z] ], [2024-07-03T11:51:05.387Z] "mtu": 1458, [2024-07-03T11:51:05.387Z] "selinux-enabled": true, [2024-07-03T11:51:05.387Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-03T11:51:05.387Z] } [Pipeline] sh [2024-07-03T11:51:05.741Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-03T11:51:06.088Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T11:51:24.450Z] provisioning config files... [2024-07-03T11:51:24.478Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5163685709752585766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T11:51:24.981Z] ---> ****-login.sh [2024-07-03T11:51:24.981Z] nexus3.edgexfoundry.org:10001 [2024-07-03T11:51:25.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:51:25.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:51:25.569Z] Configure a credential helper to remove this warning. See [2024-07-03T11:51:25.569Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:51:25.569Z] [2024-07-03T11:51:25.569Z] Login Succeeded [2024-07-03T11:51:25.569Z] nexus3.edgexfoundry.org:10002 [2024-07-03T11:51:25.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:51:25.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:51:25.835Z] Configure a credential helper to remove this warning. See [2024-07-03T11:51:25.835Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:51:25.835Z] [2024-07-03T11:51:25.835Z] Login Succeeded [2024-07-03T11:51:26.110Z] nexus3.edgexfoundry.org:10003 [2024-07-03T11:51:26.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:51:26.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:51:26.383Z] Configure a credential helper to remove this warning. See [2024-07-03T11:51:26.383Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:51:26.383Z] [2024-07-03T11:51:26.383Z] Login Succeeded [2024-07-03T11:51:26.383Z] nexus3.edgexfoundry.org:10004 [2024-07-03T11:51:26.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:51:26.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:51:26.652Z] Configure a credential helper to remove this warning. See [2024-07-03T11:51:26.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:51:26.652Z] [2024-07-03T11:51:26.652Z] Login Succeeded [2024-07-03T11:51:26.652Z] ****.io [2024-07-03T11:51:26.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T11:51:27.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T11:51:27.183Z] Configure a credential helper to remove this warning. See [2024-07-03T11:51:27.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T11:51:27.183Z] [2024-07-03T11:51:27.183Z] Login Succeeded [2024-07-03T11:51:27.183Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T11:51:27.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T11:51:27.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T11:51:27.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T11:51:27.782Z] ========================================================= [2024-07-03T11:51:27.782Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-03T11:51:27.782Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T11:51:28.352Z] + 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-07-03T11:51:28.942Z] Sending build context to Docker daemon 18.95MB [2024-07-03T11:51:28.942Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T11:51:28.942Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-03T11:51:28.942Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-03T11:51:28.942Z] c6b39de5b339: Pulling fs layer [2024-07-03T11:51:28.942Z] a69c41024577: Pulling fs layer [2024-07-03T11:51:28.942Z] d6de4b400683: Pulling fs layer [2024-07-03T11:51:28.942Z] 35cb2a7552d0: Pulling fs layer [2024-07-03T11:51:28.942Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T11:51:28.942Z] 464afbd9ba4c: Pulling fs layer [2024-07-03T11:51:28.942Z] 00f215d4a9da: Pulling fs layer [2024-07-03T11:51:28.942Z] d496ad576159: Pulling fs layer [2024-07-03T11:51:28.942Z] 464afbd9ba4c: Waiting [2024-07-03T11:51:28.942Z] 35cb2a7552d0: Waiting [2024-07-03T11:51:28.942Z] d496ad576159: Waiting [2024-07-03T11:51:28.942Z] 00f215d4a9da: Waiting [2024-07-03T11:51:28.942Z] 4f4fb700ef54: Waiting [2024-07-03T11:51:29.213Z] a69c41024577: Verifying Checksum [2024-07-03T11:51:29.213Z] a69c41024577: Download complete [2024-07-03T11:51:29.213Z] 35cb2a7552d0: Verifying Checksum [2024-07-03T11:51:29.213Z] 35cb2a7552d0: Download complete [2024-07-03T11:51:29.213Z] 4f4fb700ef54: Verifying Checksum [2024-07-03T11:51:29.213Z] 4f4fb700ef54: Download complete [2024-07-03T11:51:29.213Z] 464afbd9ba4c: Verifying Checksum [2024-07-03T11:51:29.213Z] 464afbd9ba4c: Download complete [2024-07-03T11:51:29.213Z] c6b39de5b339: Verifying Checksum [2024-07-03T11:51:29.213Z] c6b39de5b339: Download complete [2024-07-03T11:51:29.512Z] d496ad576159: Verifying Checksum [2024-07-03T11:51:29.512Z] d496ad576159: Download complete [2024-07-03T11:51:30.100Z] c6b39de5b339: Pull complete [2024-07-03T11:51:30.687Z] a69c41024577: Pull complete [2024-07-03T11:51:30.955Z] d6de4b400683: Verifying Checksum [2024-07-03T11:51:30.955Z] d6de4b400683: Download complete [2024-07-03T11:51:32.376Z] 00f215d4a9da: Verifying Checksum [2024-07-03T11:51:32.376Z] 00f215d4a9da: Download complete [2024-07-03T11:51:35.199Z] Removing intermediate container 72047e489bce [2024-07-03T11:51:35.199Z] ---> 8ea10b45602e [2024-07-03T11:51:35.199Z] Step 13/26 : FROM alpine:3.18 [2024-07-03T11:51:35.199Z] 3.18: Pulling from library/alpine [2024-07-03T11:51:35.199Z] 73baa7ef167e: Pulling fs layer [2024-07-03T11:51:35.199Z] 73baa7ef167e: Verifying Checksum [2024-07-03T11:51:35.199Z] 73baa7ef167e: Download complete [2024-07-03T11:51:35.199Z] 73baa7ef167e: Pull complete [2024-07-03T11:51:35.199Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-03T11:51:35.199Z] Status: Downloaded newer image for alpine:3.18 [2024-07-03T11:51:35.199Z] ---> 8fd7cac70a4a [2024-07-03T11:51:35.199Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-07-03T11:51:35.199Z] ---> Running in e5b5286d057f [2024-07-03T11:51:35.199Z] Removing intermediate container e5b5286d057f [2024-07-03T11:51:35.199Z] ---> 5762c49e9436 [2024-07-03T11:51:35.199Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-03T11:51:35.199Z] ---> Running in 7fa6923f96d7 [2024-07-03T11:51:35.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T11:51:35.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T11:51:35.718Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-03T11:51:35.718Z] Executing busybox-1.36.1-r7.trigger [2024-07-03T11:51:35.718Z] OK: 7 MiB in 16 packages [2024-07-03T11:51:35.976Z] Removing intermediate container 7fa6923f96d7 [2024-07-03T11:51:35.976Z] ---> 0454cc91abc1 [2024-07-03T11:51:35.976Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-03T11:51:35.976Z] ---> Running in cb384c510ddc [2024-07-03T11:51:36.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T11:51:36.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T11:51:36.493Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T11:51:36.493Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T11:51:36.493Z] OK: 7 MiB in 16 packages [2024-07-03T11:51:37.062Z] Removing intermediate container cb384c510ddc [2024-07-03T11:51:37.062Z] ---> ca8482e091ac [2024-07-03T11:51:37.062Z] Step 17/26 : WORKDIR / [2024-07-03T11:51:37.062Z] ---> Running in 53f1a62bf975 [2024-07-03T11:51:37.062Z] Removing intermediate container 53f1a62bf975 [2024-07-03T11:51:37.062Z] ---> 7f0eb98020ae [2024-07-03T11:51:37.062Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-07-03T11:51:37.322Z] ---> 978ce0549a0a [2024-07-03T11:51:37.322Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-07-03T11:51:37.322Z] ---> 5be4825fa649 [2024-07-03T11:51:37.322Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-07-03T11:51:38.698Z] ---> 5ae94f3e65a4 [2024-07-03T11:51:38.698Z] Step 21/26 : EXPOSE 59900 [2024-07-03T11:51:38.698Z] ---> Running in a9a431599708 [2024-07-03T11:51:38.698Z] Removing intermediate container a9a431599708 [2024-07-03T11:51:38.698Z] ---> 45f5ae04fc72 [2024-07-03T11:51:38.698Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-07-03T11:51:38.698Z] ---> Running in 2a256d148741 [2024-07-03T11:51:38.698Z] Removing intermediate container 2a256d148741 [2024-07-03T11:51:38.698Z] ---> 473d1943aa12 [2024-07-03T11:51:38.698Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-03T11:51:38.698Z] ---> Running in 792212d94b02 [2024-07-03T11:51:38.698Z] Removing intermediate container 792212d94b02 [2024-07-03T11:51:38.698Z] ---> 2f66373d2bc9 [2024-07-03T11:51:38.698Z] Step 24/26 : LABEL arch=amd64 [2024-07-03T11:51:38.698Z] ---> Running in b6e64c246b30 [2024-07-03T11:51:38.698Z] Removing intermediate container b6e64c246b30 [2024-07-03T11:51:38.698Z] ---> 423a0b192339 [2024-07-03T11:51:38.698Z] Step 25/26 : LABEL git_sha=0a626af9f7dc48f228c397d13ab24a28e2393264 [2024-07-03T11:51:38.957Z] ---> Running in 16b56e32c707 [2024-07-03T11:51:38.957Z] Removing intermediate container 16b56e32c707 [2024-07-03T11:51:38.957Z] ---> 125571cb84d7 [2024-07-03T11:51:38.957Z] Step 26/26 : LABEL version=0.0.0 [2024-07-03T11:51:38.957Z] ---> Running in 9bab0d2cc25e [2024-07-03T11:51:38.957Z] Removing intermediate container 9bab0d2cc25e [2024-07-03T11:51:38.957Z] ---> 82e68a0f09a7 [2024-07-03T11:51:38.957Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-03T11:51:38.957Z] Successfully built 82e68a0f09a7 [2024-07-03T11:51:38.957Z] 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-07-03T11:51:39.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T11:51:39.979Z] [2024-07-03T11:51:39.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T11:51:40.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T11:51:40.385Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-03T11:51:40.385Z] 5eb5b503b376: Pulling fs layer [2024-07-03T11:51:40.385Z] 5c69ac0246d0: Pulling fs layer [2024-07-03T11:51:40.385Z] ec43610c2a17: Pulling fs layer [2024-07-03T11:51:40.385Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-03T11:51:40.385Z] 33b1e0a273af: Pulling fs layer [2024-07-03T11:51:40.385Z] 5d3b04190fa2: Pulling fs layer [2024-07-03T11:51:40.385Z] 2f39f015ded8: Pulling fs layer [2024-07-03T11:51:40.385Z] 3a2ae6a8a46f: Waiting [2024-07-03T11:51:40.385Z] 33b1e0a273af: Waiting [2024-07-03T11:51:40.385Z] 5d3b04190fa2: Waiting [2024-07-03T11:51:40.385Z] 2f39f015ded8: Waiting [2024-07-03T11:51:40.385Z] 5c69ac0246d0: Verifying Checksum [2024-07-03T11:51:40.385Z] 5c69ac0246d0: Download complete [2024-07-03T11:51:40.385Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-03T11:51:40.385Z] 3a2ae6a8a46f: Download complete [2024-07-03T11:51:40.385Z] 33b1e0a273af: Verifying Checksum [2024-07-03T11:51:40.385Z] 33b1e0a273af: Download complete [2024-07-03T11:51:40.385Z] ec43610c2a17: Verifying Checksum [2024-07-03T11:51:40.385Z] ec43610c2a17: Download complete [2024-07-03T11:51:40.385Z] 5d3b04190fa2: Download complete [2024-07-03T11:51:40.649Z] 5eb5b503b376: Verifying Checksum [2024-07-03T11:51:40.649Z] 5eb5b503b376: Download complete [2024-07-03T11:51:41.214Z] 2f39f015ded8: Download complete [2024-07-03T11:51:41.780Z] 5eb5b503b376: Pull complete [2024-07-03T11:51:41.780Z] 5c69ac0246d0: Pull complete [2024-07-03T11:51:42.348Z] ec43610c2a17: Pull complete [2024-07-03T11:51:42.348Z] 3a2ae6a8a46f: Pull complete [2024-07-03T11:51:42.608Z] 33b1e0a273af: Pull complete [2024-07-03T11:51:42.608Z] 5d3b04190fa2: Pull complete [2024-07-03T11:51:44.724Z] d6de4b400683: Pull complete [2024-07-03T11:51:44.724Z] 35cb2a7552d0: Pull complete [2024-07-03T11:51:44.724Z] 4f4fb700ef54: Pull complete [2024-07-03T11:51:44.724Z] 464afbd9ba4c: Pull complete [2024-07-03T11:51:46.792Z] 2f39f015ded8: Pull complete [2024-07-03T11:51:46.792Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-03T11:51:46.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T11:51:46.792Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T11:51:47.055Z] prd-ubuntu20.04-docker-8c-8g-4920 does not seem to be running inside a container [2024-07-03T11:51:47.121Z] $ 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-476 -v /w/workspace/foundry_device-virtual-go_PR-476:/w/workspace/foundry_device-virtual-go_PR-476:rw,z -v /w/workspace/foundry_device-virtual-go_PR-476@tmp:/w/workspace/foundry_device-virtual-go_PR-476@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-07-03T11:51:51.982Z] $ docker top 3fb772ae0920c846f2a3d7458b71814264d2d1143398ca64244c4a7093d2c620 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T11:51:52.456Z] ---> job-cost.sh [2024-07-03T11:51:52.456Z] lf-activate-venv: SKIPPING [2024-07-03T11:51:52.456Z] INFO: No Stack... [2024-07-03T11:51:52.715Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T11:51:52.925Z] 00f215d4a9da: Pull complete [2024-07-03T11:51:53.284Z] INFO: Archiving Costs [Pipeline] sh [2024-07-03T11:51:53.611Z] + cat /w/workspace/foundry_device-virtual-go_PR-476/archives/cost.csv [2024-07-03T11:51:53.611Z] + cut -d, -f6 [Pipeline] lock [2024-07-03T11:51:53.664Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-476-1-stack-cost] [2024-07-03T11:51:53.670Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-476-1-stack-cost] did not exist. Created. [2024-07-03T11:51:53.680Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-476-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T11:51:54.104Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-03T11:51:54.162Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T11:51:54.204Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-476-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T11:51:54.336Z] $ docker stop --time=1 3fb772ae0920c846f2a3d7458b71814264d2d1143398ca64244c4a7093d2c620 [2024-07-03T11:51:54.334Z] d496ad576159: Pull complete [2024-07-03T11:51:54.334Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-03T11:51:54.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-03T11:51:54.334Z] ---> f246e2811388 [2024-07-03T11:51:54.334Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-03T11:51:55.474Z] $ docker rm -f --volumes 3fb772ae0920c846f2a3d7458b71814264d2d1143398ca64244c4a7093d2c620 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-03T11:51:56.276Z] ---> Running in cea6239991bf [2024-07-03T11:51:56.276Z] Removing intermediate container cea6239991bf [2024-07-03T11:51:56.276Z] ---> ecb91000e3a4 [2024-07-03T11:51:56.276Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T11:51:56.276Z] ---> Running in ec7337a00c92 [2024-07-03T11:51:56.547Z] Removing intermediate container ec7337a00c92 [2024-07-03T11:51:56.547Z] ---> c1cd950927da [2024-07-03T11:51:56.547Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-03T11:51:56.815Z] ---> Running in 186c5db32d2f [2024-07-03T11:51:57.082Z] Removing intermediate container 186c5db32d2f [2024-07-03T11:51:57.082Z] ---> 7514496c363a [2024-07-03T11:51:57.082Z] Step 6/12 : WORKDIR /device-virtual-go [2024-07-03T11:51:57.082Z] ---> Running in a6339b9e1d2c [2024-07-03T11:51:57.351Z] Removing intermediate container a6339b9e1d2c [2024-07-03T11:51:57.351Z] ---> dd19700378f3 [2024-07-03T11:51:57.351Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T11:51:57.351Z] ---> Running in 37f4438e54de [2024-07-03T11:51:58.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T11:51:59.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T11:51:59.998Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-03T11:51:59.998Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-03T11:51:59.998Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-03T11:51:59.998Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-03T11:51:59.998Z] Executing busybox-1.36.1-r5.trigger [2024-07-03T11:51:59.998Z] OK: 271 MiB in 56 packages [2024-07-03T11:52:01.946Z] Removing intermediate container 37f4438e54de [2024-07-03T11:52:01.946Z] ---> c1936b5d0a4a [2024-07-03T11:52:01.946Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-03T11:52:02.214Z] ---> 5926de60a87b [2024-07-03T11:52:02.214Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T11:52:02.214Z] ---> Running in 07505632d870 [2024-07-03T11:53:53.881Z] Removing intermediate container 07505632d870 [2024-07-03T11:53:53.881Z] ---> 75036d2e9b87 [2024-07-03T11:53:53.881Z] Step 10/12 : COPY . . [2024-07-03T11:53:53.881Z] ---> 39c67ec5301d [2024-07-03T11:53:53.881Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T11:53:53.881Z] ---> Running in 79a1b10b2419 [2024-07-03T11:53:53.881Z] Removing intermediate container 79a1b10b2419 [2024-07-03T11:53:53.881Z] ---> 6b38cf04bd8f [2024-07-03T11:53:53.881Z] Step 12/12 : RUN $MAKE [2024-07-03T11:53:53.881Z] ---> Running in b4a78378dd6d [2024-07-03T11:53:53.881Z] noop [2024-07-03T11:53:53.881Z] Removing intermediate container b4a78378dd6d [2024-07-03T11:53:53.881Z] ---> 630b268cf383 [2024-07-03T11:53:53.881Z] Successfully built 630b268cf383 [2024-07-03T11:53:53.881Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T11:53:54.496Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T11:53:54.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T11:53:54.782Z] prd-ubuntu20.04-docker-arm64-4c-16g-4921 does not seem to be running inside a container [2024-07-03T11:53:54.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-03T11:53:56.020Z] $ docker top 677ab7febaf31b0631d084362428613313ba72cf46957c613c6bb9902554f610 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T11:53:56.899Z] + go version [2024-07-03T11:53:56.899Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-03T11:53:56.932Z] $ docker stop --time=1 677ab7febaf31b0631d084362428613313ba72cf46957c613c6bb9902554f610 [2024-07-03T11:53:58.610Z] $ docker rm -f --volumes 677ab7febaf31b0631d084362428613313ba72cf46957c613c6bb9902554f610 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T11:53:59.591Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T11:53:59.591Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T11:53:59.909Z] prd-ubuntu20.04-docker-arm64-4c-16g-4921 does not seem to be running inside a container [2024-07-03T11:53:59.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-03T11:54:01.076Z] $ docker top aea765a866139a9f29f11c3508b3dddd282ab4c2a726ca301b185b5caad4f1b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T11:54:01.965Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-03T11:54:02.693Z] + make test [2024-07-03T11:54:02.693Z] go test ./... -coverprofile=coverage.out [2024-07-03T11:54:08.025Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-07-03T11:57:14.841Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-07-03T11:57:14.841Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.060s coverage: 58.3% of statements [2024-07-03T11:57:15.813Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-03T11:57:15.813Z] go vet ./... [2024-07-03T11:58:02.656Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-03T11:58:02.656Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-03T11:58:02.656Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-07-03T11:58:02.710Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-03T11:58:02.748Z] $ docker stop --time=1 aea765a866139a9f29f11c3508b3dddd282ab4c2a726ca301b185b5caad4f1b3 [2024-07-03T11:58:04.657Z] $ docker rm -f --volumes aea765a866139a9f29f11c3508b3dddd282ab4c2a726ca301b185b5caad4f1b3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T11:58:06.171Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-03T11:58:06.216Z] Warning: overwriting stash ‘coverage-report’ [2024-07-03T11:58:06.666Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T11:58:07.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-03T11:58:07.644Z] + ls -al . [2024-07-03T11:58:07.644Z] total 272 [2024-07-03T11:58:07.644Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 3 11:54 . [2024-07-03T11:58:07.644Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 11:50 .. [2024-07-03T11:58:07.644Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 11:51 .git [2024-07-03T11:58:07.644Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 11:50 .github [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 272 Jul 3 11:50 .gitignore [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 11:50 .golangci.yml [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 17933 Jul 3 11:50 Attribution.txt [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 15941 Jul 3 11:50 CHANGELOG.md [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 1755 Jul 3 11:50 Dockerfile [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 11:50 GOVERNANCE.md [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 3 11:50 Jenkinsfile [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 11:50 LICENSE [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 1953 Jul 3 11:50 Makefile [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 3 11:50 OWNERS.md [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 4103 Jul 3 11:50 README.md [2024-07-03T11:58:07.644Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 11:48 VERSION [2024-07-03T11:58:07.644Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 11:50 bin [2024-07-03T11:58:07.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 11:50 cmd [2024-07-03T11:58:07.645Z] -rw-r--r-- 1 jenkins jenkins 43247 Jul 3 11:57 coverage.out [2024-07-03T11:58:07.645Z] -rw-rw-r-- 1 jenkins jenkins 6980 Jul 3 11:50 go.mod [2024-07-03T11:58:07.645Z] -rw-rw-r-- 1 jenkins jenkins 101951 Jul 3 11:50 go.sum [2024-07-03T11:58:07.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 11:50 internal [2024-07-03T11:58:07.645Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 3 11:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T11:58:08.088Z] + 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=0a626af9f7dc48f228c397d13ab24a28e2393264 --label arch=arm64 --label version=0.0.0 . [2024-07-03T11:58:08.670Z] Sending build context to Docker daemon 18.99MB [2024-07-03T11:58:08.670Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T11:58:08.670Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-03T11:58:08.670Z] ---> 630b268cf383 [2024-07-03T11:58:08.670Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-03T11:58:08.936Z] ---> Running in 22d0c20cc9ba [2024-07-03T11:58:09.204Z] Removing intermediate container 22d0c20cc9ba [2024-07-03T11:58:09.204Z] ---> 5423d6556491 [2024-07-03T11:58:09.204Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T11:58:09.204Z] ---> Running in 38ec6910666b [2024-07-03T11:58:09.469Z] Removing intermediate container 38ec6910666b [2024-07-03T11:58:09.469Z] ---> be208c554a8f [2024-07-03T11:58:09.469Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-03T11:58:09.737Z] ---> Running in 113675bfdd1b [2024-07-03T11:58:10.005Z] Removing intermediate container 113675bfdd1b [2024-07-03T11:58:10.005Z] ---> db1e53bfbb9d [2024-07-03T11:58:10.005Z] Step 6/26 : WORKDIR /device-virtual-go [2024-07-03T11:58:10.005Z] ---> Running in 7c771408923d [2024-07-03T11:58:10.273Z] Removing intermediate container 7c771408923d [2024-07-03T11:58:10.273Z] ---> b11c29f0d36c [2024-07-03T11:58:10.273Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T11:58:10.273Z] ---> Running in b855c19c7119 [2024-07-03T11:58:11.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T11:58:12.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T11:58:13.147Z] OK: 271 MiB in 56 packages [2024-07-03T11:58:14.108Z] Removing intermediate container b855c19c7119 [2024-07-03T11:58:14.108Z] ---> eb3bffb3d253 [2024-07-03T11:58:14.108Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-03T11:58:14.374Z] ---> 7970b31ca0b6 [2024-07-03T11:58:14.374Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T11:58:14.374Z] ---> Running in 4b2c979a79ff [2024-07-03T11:58:16.974Z] Removing intermediate container 4b2c979a79ff [2024-07-03T11:58:16.974Z] ---> 12b385a04eb3 [2024-07-03T11:58:16.974Z] Step 10/26 : COPY . . [2024-07-03T11:58:18.391Z] ---> b05846a92baf [2024-07-03T11:58:18.391Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T11:58:18.391Z] ---> Running in 8e456841b521 [2024-07-03T11:58:18.657Z] Removing intermediate container 8e456841b521 [2024-07-03T11:58:18.657Z] ---> f5b8118c5e73 [2024-07-03T11:58:18.657Z] Step 12/26 : RUN $MAKE [2024-07-03T11:58:18.657Z] ---> Running in 7e5d2df2535f [2024-07-03T11:58:19.611Z] 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.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-07-03T12:01:41.375Z] Removing intermediate container 7e5d2df2535f [2024-07-03T12:01:41.375Z] ---> 239dede2a6ae [2024-07-03T12:01:41.375Z] Step 13/26 : FROM alpine:3.18 [2024-07-03T12:01:41.375Z] 3.18: Pulling from library/alpine [2024-07-03T12:01:41.375Z] 5c905c7ebe2f: Pulling fs layer [2024-07-03T12:01:41.375Z] 5c905c7ebe2f: Verifying Checksum [2024-07-03T12:01:41.375Z] 5c905c7ebe2f: Download complete [2024-07-03T12:01:41.375Z] 5c905c7ebe2f: Pull complete [2024-07-03T12:01:41.375Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-03T12:01:41.375Z] Status: Downloaded newer image for alpine:3.18 [2024-07-03T12:01:41.375Z] ---> dec292d02e07 [2024-07-03T12:01:41.375Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-07-03T12:01:41.375Z] ---> Running in 0b3e93a94fb7 [2024-07-03T12:01:41.375Z] Removing intermediate container 0b3e93a94fb7 [2024-07-03T12:01:41.375Z] ---> 38641c4935e1 [2024-07-03T12:01:41.375Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-03T12:01:41.375Z] ---> Running in 5e8bfcc919a5 [2024-07-03T12:01:41.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T12:01:41.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T12:01:41.375Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-03T12:01:41.375Z] Executing busybox-1.36.1-r7.trigger [2024-07-03T12:01:41.375Z] OK: 8 MiB in 16 packages [2024-07-03T12:01:41.375Z] Removing intermediate container 5e8bfcc919a5 [2024-07-03T12:01:41.375Z] ---> 0103723a9164 [2024-07-03T12:01:41.375Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-03T12:01:41.375Z] ---> Running in 1ae8f1bed73d [2024-07-03T12:01:41.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T12:01:41.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T12:01:41.375Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T12:01:41.375Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T12:01:41.375Z] OK: 8 MiB in 16 packages [2024-07-03T12:01:41.375Z] Removing intermediate container 1ae8f1bed73d [2024-07-03T12:01:41.375Z] ---> d68718cb12c1 [2024-07-03T12:01:41.375Z] Step 17/26 : WORKDIR / [2024-07-03T12:01:41.642Z] ---> Running in 03ed504f18d8 [2024-07-03T12:01:41.911Z] Removing intermediate container 03ed504f18d8 [2024-07-03T12:01:41.911Z] ---> b3b9bddfe239 [2024-07-03T12:01:41.911Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-07-03T12:01:42.180Z] ---> 88244e2ca48b [2024-07-03T12:01:42.180Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-07-03T12:01:42.768Z] ---> 989103b20bd7 [2024-07-03T12:01:42.768Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-07-03T12:01:44.710Z] ---> 02de1e304584 [2024-07-03T12:01:44.711Z] Step 21/26 : EXPOSE 59900 [2024-07-03T12:01:44.711Z] ---> Running in 2dd76d30c9c6 [2024-07-03T12:01:44.711Z] Removing intermediate container 2dd76d30c9c6 [2024-07-03T12:01:44.711Z] ---> ada97453e8a7 [2024-07-03T12:01:44.711Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-07-03T12:01:44.711Z] ---> Running in 2ad2afff0cf1 [2024-07-03T12:01:44.981Z] Removing intermediate container 2ad2afff0cf1 [2024-07-03T12:01:44.981Z] ---> bf9a05dfb73e [2024-07-03T12:01:44.981Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-03T12:01:45.250Z] ---> Running in f3fcd61f258b [2024-07-03T12:01:45.515Z] Removing intermediate container f3fcd61f258b [2024-07-03T12:01:45.515Z] ---> afd7e11b9377 [2024-07-03T12:01:45.515Z] Step 24/26 : LABEL arch=arm64 [2024-07-03T12:01:45.515Z] ---> Running in 678081afc28b [2024-07-03T12:01:45.783Z] Removing intermediate container 678081afc28b [2024-07-03T12:01:45.783Z] ---> 9b855d5a5759 [2024-07-03T12:01:45.783Z] Step 25/26 : LABEL git_sha=0a626af9f7dc48f228c397d13ab24a28e2393264 [2024-07-03T12:01:45.783Z] ---> Running in 3e823b2c4d26 [2024-07-03T12:01:46.055Z] Removing intermediate container 3e823b2c4d26 [2024-07-03T12:01:46.055Z] ---> 83c0e4c97f36 [2024-07-03T12:01:46.055Z] Step 26/26 : LABEL version=0.0.0 [2024-07-03T12:01:46.322Z] ---> Running in ec0701c28c58 [2024-07-03T12:01:46.587Z] Removing intermediate container ec0701c28c58 [2024-07-03T12:01:46.587Z] ---> 97d429ed9453 [2024-07-03T12:01:46.587Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-03T12:01:46.587Z] Successfully built 97d429ed9453 [2024-07-03T12:01:46.587Z] 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-07-03T12:01:47.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T12:01:47.539Z] [2024-07-03T12:01:47.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T12:01:47.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T12:01:47.970Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-03T12:01:47.970Z] 8998bd30e6a1: Pulling fs layer [2024-07-03T12:01:47.970Z] 04944245beec: Pulling fs layer [2024-07-03T12:01:47.970Z] 699f458cf7ca: Pulling fs layer [2024-07-03T12:01:47.970Z] 765212b225bb: Pulling fs layer [2024-07-03T12:01:47.970Z] f23df028b6ca: Pulling fs layer [2024-07-03T12:01:47.970Z] d65c8cfc05b1: Pulling fs layer [2024-07-03T12:01:47.970Z] 2437ff75d9bd: Pulling fs layer [2024-07-03T12:01:47.970Z] 765212b225bb: Waiting [2024-07-03T12:01:47.970Z] 2437ff75d9bd: Waiting [2024-07-03T12:01:47.970Z] f23df028b6ca: Waiting [2024-07-03T12:01:47.970Z] d65c8cfc05b1: Waiting [2024-07-03T12:01:48.235Z] 04944245beec: Verifying Checksum [2024-07-03T12:01:48.235Z] 04944245beec: Download complete [2024-07-03T12:01:48.235Z] 765212b225bb: Verifying Checksum [2024-07-03T12:01:48.235Z] 765212b225bb: Download complete [2024-07-03T12:01:48.235Z] f23df028b6ca: Verifying Checksum [2024-07-03T12:01:48.235Z] f23df028b6ca: Download complete [2024-07-03T12:01:48.235Z] d65c8cfc05b1: Download complete [2024-07-03T12:01:48.501Z] 699f458cf7ca: Verifying Checksum [2024-07-03T12:01:48.501Z] 699f458cf7ca: Download complete [2024-07-03T12:01:48.766Z] 8998bd30e6a1: Verifying Checksum [2024-07-03T12:01:48.766Z] 8998bd30e6a1: Download complete [2024-07-03T12:01:51.332Z] 2437ff75d9bd: Verifying Checksum [2024-07-03T12:01:51.332Z] 2437ff75d9bd: Download complete [2024-07-03T12:01:53.267Z] 8998bd30e6a1: Pull complete [2024-07-03T12:01:53.849Z] 04944245beec: Pull complete [2024-07-03T12:01:55.256Z] 699f458cf7ca: Pull complete [2024-07-03T12:01:55.523Z] 765212b225bb: Pull complete [2024-07-03T12:01:56.483Z] f23df028b6ca: Pull complete [2024-07-03T12:01:56.750Z] d65c8cfc05b1: Pull complete [2024-07-03T12:02:14.954Z] 2437ff75d9bd: Pull complete [2024-07-03T12:02:14.955Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-03T12:02:14.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T12:02:14.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T12:02:15.319Z] prd-ubuntu20.04-docker-arm64-4c-16g-4921 does not seem to be running inside a container [2024-07-03T12:02:15.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-03T12:02:18.052Z] $ docker top d0152bc71904ad979c72c59dd261f98d5c624decf2ef1fdf341733c7b9a89852 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T12:02:18.681Z] ---> job-cost.sh [2024-07-03T12:02:18.947Z] lf-activate-venv: SKIPPING [2024-07-03T12:02:18.947Z] INFO: No Stack... [2024-07-03T12:02:19.210Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-03T12:02:20.161Z] INFO: Archiving Costs [Pipeline] sh [2024-07-03T12:02:20.815Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-07-03T12:02:20.815Z] + cut -d, -f6 [Pipeline] lock [2024-07-03T12:02:20.893Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-476-1-stack-cost] [2024-07-03T12:02:20.901Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-476-1-stack-cost] did not exist. Created. [2024-07-03T12:02:20.909Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-476-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T12:02:21.327Z] /w/workspace/device-virtual-go/1@tmp/durable-ce68803d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-03T12:02:21.994Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-03T12:02:22.040Z] Warning: overwriting stash ‘stack-cost’ [2024-07-03T12:02:22.082Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T12:02:22.105Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-476-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T12:02:22.198Z] $ docker stop --time=1 d0152bc71904ad979c72c59dd261f98d5c624decf2ef1fdf341733c7b9a89852 [2024-07-03T12:02:23.674Z] $ docker rm -f --volumes d0152bc71904ad979c72c59dd261f98d5c624decf2ef1fdf341733c7b9a89852 [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-07-03T12:02:24.883Z] provisioning config files... [2024-07-03T12:02:24.890Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-476@tmp/config7594737910883213541tmp [Pipeline] { [Pipeline] sh [2024-07-03T12:02:25.242Z] + set +x [2024-07-03T12:02:25.242Z] + + curl -sbash https://codecov.io/bash -s [2024-07-03T12:02:25.242Z] -- [2024-07-03T12:02:25.242Z] [2024-07-03T12:02:25.242Z] _____ _ [2024-07-03T12:02:25.242Z] / ____| | | [2024-07-03T12:02:25.242Z] | | ___ __| | ___ ___ _____ __ [2024-07-03T12:02:25.242Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-03T12:02:25.242Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-03T12:02:25.242Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-03T12:02:25.242Z] Bash-1.0.6 [2024-07-03T12:02:25.242Z] [2024-07-03T12:02:25.242Z] [2024-07-03T12:02:25.242Z] ==> git version 2.25.1 found [2024-07-03T12:02:25.242Z] ==> 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-07-03T12:02:25.242Z] Release-Date: 2020-01-08 [2024-07-03T12:02:25.242Z] 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-07-03T12:02:25.242Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-03T12:02:25.242Z] ==> Jenkins CI detected. [2024-07-03T12:02:25.242Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-476 [2024-07-03T12:02:25.242Z] project root: . [2024-07-03T12:02:25.242Z] --> token set from env [2024-07-03T12:02:25.242Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-03T12:02:25.242Z] ==> Running gcov in . (disable via -X gcov) [2024-07-03T12:02:25.242Z] ==> Python coveragepy not found [2024-07-03T12:02:25.242Z] ==> Searching for coverage reports in: [2024-07-03T12:02:25.243Z] + . [2024-07-03T12:02:25.243Z] -> Found 1 reports [2024-07-03T12:02:25.243Z] ==> Detecting git/mercurial file structure [2024-07-03T12:02:25.243Z] ==> Reading reports [2024-07-03T12:02:25.243Z] + ./coverage.out bytes=43247 [2024-07-03T12:02:25.504Z] ==> Appending adjustments [2024-07-03T12:02:25.504Z] https://docs.codecov.io/docs/fixing-reports [2024-07-03T12:02:25.504Z] + Found adjustments [2024-07-03T12:02:25.504Z] ==> Gzipping contents [2024-07-03T12:02:25.504Z] 8.0K /tmp/codecov.vFeixN.gz [2024-07-03T12:02:25.504Z] ==> Uploading reports [2024-07-03T12:02:25.504Z] url: https://codecov.io [2024-07-03T12:02:25.505Z] query: branch=PR-476&commit=0a626af9f7dc48f228c397d13ab24a28e2393264&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-476%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=476&job=&cmd_args= [2024-07-03T12:02:25.505Z] -> Pinging Codecov [2024-07-03T12:02:25.505Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-476&commit=0a626af9f7dc48f228c397d13ab24a28e2393264&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-476%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=476&job=&cmd_args= [2024-07-03T12:02:25.505Z] -> Uploading to [2024-07-03T12:02:25.505Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-03/5E52B4B073DB2E39498172D8E973AA87/0a626af9f7dc48f228c397d13ab24a28e2393264/3dd9318c-f974-41a6-8982-fa1f39612494.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T120225Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=13cf3a508daf8432fbfc66bde08fe0c71a4a6090e6cf3eb65261c67a08e67bed [2024-07-03T12:02:25.505Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-03T12:02:25.505Z] Dload Upload Total Spent Left Speed [2024-07-03T12:02:25.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 20414 --:--:-- --:--:-- --:--:-- 20414 [2024-07-03T12:02:25.766Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0a626af9f7dc48f228c397d13ab24a28e2393264 [Pipeline] } [2024-07-03T12:02:25.799Z] 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-07-03T12:02:28.188Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-476/archives ] [2024-07-03T12:02:28.188Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-476/archives [2024-07-03T12:02:28.188Z] total 16 [2024-07-03T12:02:28.188Z] drwxr-xr-x 3 root root 4096 Jul 3 11:51 . [2024-07-03T12:02:28.188Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 11:51 .. [2024-07-03T12:02:28.188Z] drwxr-xr-x 2 root root 4096 Jul 3 11:51 cost [2024-07-03T12:02:28.188Z] -rw-r--r-- 1 root root 89 Jul 3 11:51 cost.csv [2024-07-03T12:02:28.188Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-476/archives [2024-07-03T12:02:28.188Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-476/archives [2024-07-03T12:02:28.188Z] total 16 [2024-07-03T12:02:28.188Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 11:51 . [2024-07-03T12:02:28.188Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 11:51 .. [2024-07-03T12:02:28.188Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 11:51 cost [2024-07-03T12:02:28.188Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 3 11:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-03T12:02:28.526Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T12:02:29.419Z] ---> package-listing.sh [2024-07-03T12:02:29.419Z] ++ facter osfamily [2024-07-03T12:02:29.419Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-03T12:02:29.679Z] + OS_FAMILY=debian [2024-07-03T12:02:29.679Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-476 [2024-07-03T12:02:29.679Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-03T12:02:29.679Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-03T12:02:29.679Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-03T12:02:29.679Z] + PACKAGES=/tmp/packages_start.txt [2024-07-03T12:02:29.679Z] + '[' /w/workspace/foundry_device-virtual-go_PR-476 ']' [2024-07-03T12:02:29.679Z] + PACKAGES=/tmp/packages_end.txt [2024-07-03T12:02:29.679Z] + case "${OS_FAMILY}" in [2024-07-03T12:02:29.679Z] + grep '^ii' [2024-07-03T12:02:29.679Z] + dpkg -l [2024-07-03T12:02:29.679Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-03T12:02:29.679Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-03T12:02:29.679Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-03T12:02:29.679Z] + '[' /w/workspace/foundry_device-virtual-go_PR-476 ']' [2024-07-03T12:02:29.679Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-476/archives/ [2024-07-03T12:02:29.679Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-476/archives/ [Pipeline] echo [2024-07-03T12:02:29.723Z] 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-476/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-03T12:02:30.018Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T12:02:30.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T12:02:30.667Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T12:02:30.836Z] prd-ubuntu20.04-docker-8c-8g-4920 does not seem to be running inside a container [2024-07-03T12:02:30.919Z] $ 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-476/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-476 -v /w/workspace/foundry_device-virtual-go_PR-476:/w/workspace/foundry_device-virtual-go_PR-476:rw,z -v /w/workspace/foundry_device-virtual-go_PR-476@tmp:/w/workspace/foundry_device-virtual-go_PR-476@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-07-03T12:02:31.094Z] $ docker top 6c4c35460be6c0487e288f657fe071fc93dade6d6344aa049b227b23fe51d15b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T12:02:31.559Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-03T12:02:31.902Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-03T12:02:32.222Z] + ls /var/log/sa-host [2024-07-03T12:02:32.222Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T12:02:32.482Z] provisioning config files... [2024-07-03T12:02:32.491Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-476@tmp/config8077181382093023838tmp [Pipeline] { [Pipeline] echo [2024-07-03T12:02:32.575Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T12:02:32.901Z] ---> create-netrc.sh [Pipeline] } [2024-07-03T12:02:32.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-03T12:02:33.365Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-03T12:02:33.400Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T12:02:33.722Z] ---> sudo-logs.sh [2024-07-03T12:02:33.722Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-03T12:02:33.832Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T12:02:34.153Z] ---> job-cost.sh [2024-07-03T12:02:34.153Z] lf-activate-venv: SKIPPING [2024-07-03T12:02:34.153Z] DEBUG: total: 0.2199999988079071 [2024-07-03T12:02:34.153Z] INFO: Retrieving Stack Cost... [2024-07-03T12:02:34.413Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T12:02:34.981Z] INFO: Archiving Costs [Pipeline] echo [2024-07-03T12:02:35.024Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T12:02:35.348Z] ---> logs-deploy.sh [2024-07-03T12:02:35.348Z] lf-activate-venv: SKIPPING [2024-07-03T12:02:35.348Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-476/1 [2024-07-03T12:02:35.348Z] INFO: archiving workspace using pattern(s): [2024-07-03T12:02:36.290Z] Archives upload complete. [2024-07-03T12:02:36.290Z] INFO: archiving logs to Nexus