Pull request #484 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 07d1afac7dcf19a52e6976673496010a3f36fb6b+91ab2d1966be996543f139896746dd83b19c5706 (ebb1b5790670fb9ed3ab07fb8dbe69a2d39e61bb) 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-ssh18399808376734629282.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-ssh9930342850259612352.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-484/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-484/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7912436826957529537.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-484/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1914150448095836751.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-ssh14368433857881962009.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-484/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-484/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13728844124924971555.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-7962 in /w/workspace/foundry_device-virtual-go_PR-484 [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-484 # 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/484/head:refs/remotes/origin/PR-484 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 91ab2d1966be996543f139896746dd83b19c5706 into PR head commit 07d1afac7dcf19a52e6976673496010a3f36fb6b Merge succeeded, producing 07d1afac7dcf19a52e6976673496010a3f36fb6b Checking out Revision 07d1afac7dcf19a52e6976673496010a3f36fb6b (PR-484) 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 07d1afac7dcf19a52e6976673496010a3f36fb6b # 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 91ab2d1966be996543f139896746dd83b19c5706 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07d1afac7dcf19a52e6976673496010a3f36fb6b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-19T11:13:48.130Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-19T11:13:48.365Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-19T11:13:48.507Z] ========================================================= [2024-08-19T11:13:48.507Z] EdgeX Global Pipelines Version Info [2024-08-19T11:13:48.507Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:13:49.267Z] ------------------- [2024-08-19T11:13:49.267Z] stable info: [2024-08-19T11:13:49.267Z] ------------------- [2024-08-19T11:13:49.267Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-19T11:13:49.267Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-19T11:13:49.267Z] Message: update stable to v1.0.260 [2024-08-19T11:13:50.210Z] ------------------- [2024-08-19T11:13:50.210Z] experimental info: [2024-08-19T11:13:50.210Z] ------------------- [2024-08-19T11:13:50.210Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-19T11:13:50.210Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-19T11:13:50.210Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-19T11:13:50.456Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-08-19T11:13:50.521Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-08-19T11:13:50.585Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-19T11:13:50.650Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-19T11:13:50.712Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-19T11:13:50.771Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-19T11:13:50.828Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-19T11:13:50.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-19T11:13:50.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-19T11:13:51.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-19T11:13:51.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-19T11:13:51.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-08-19T11:13:51.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-19T11:13:51.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-19T11:13:51.304Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-19T11:13:51.356Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-19T11:13:51.416Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-19T11:13:51.477Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-19T11:13:51.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-19T11:13:51.596Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-19T11:13:51.656Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-19T11:13:51.716Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-19T11:13:51.779Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-19T11:13:51.855Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-19T11:13:51.918Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-19T11:13:51.983Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-19T11:13:52.043Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-19T11:13:52.103Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-484 [Pipeline] echo [2024-08-19T11:13:52.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-484 [Pipeline] echo [2024-08-19T11:13:52.215Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-484 [Pipeline] echo [2024-08-19T11:13:52.279Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07d1afac7dcf19a52e6976673496010a3f36fb6b [Pipeline] echo [2024-08-19T11:13:52.337Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07d1afa [Pipeline] echo [2024-08-19T11:13:52.399Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-19T11:13:52.543Z] provisioning config files... [2024-08-19T11:13:52.559Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-484@tmp/config9110762874679025590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:13:52.951Z] ---> ****-login.sh [2024-08-19T11:13:52.951Z] nexus3.edgexfoundry.org:10001 [2024-08-19T11:13:53.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:13:53.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:13:53.212Z] Configure a credential helper to remove this warning. See [2024-08-19T11:13:53.212Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:13:53.212Z] [2024-08-19T11:13:53.212Z] Login Succeeded [2024-08-19T11:13:53.212Z] nexus3.edgexfoundry.org:10002 [2024-08-19T11:13:53.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:13:53.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:13:53.472Z] Configure a credential helper to remove this warning. See [2024-08-19T11:13:53.472Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:13:53.472Z] [2024-08-19T11:13:53.472Z] Login Succeeded [2024-08-19T11:13:53.472Z] nexus3.edgexfoundry.org:10003 [2024-08-19T11:13:53.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:13:53.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:13:53.472Z] Configure a credential helper to remove this warning. See [2024-08-19T11:13:53.472Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:13:53.472Z] [2024-08-19T11:13:53.472Z] Login Succeeded [2024-08-19T11:13:53.472Z] nexus3.edgexfoundry.org:10004 [2024-08-19T11:13:53.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:13:53.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:13:53.473Z] Configure a credential helper to remove this warning. See [2024-08-19T11:13:53.473Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:13:53.473Z] [2024-08-19T11:13:53.473Z] Login Succeeded [2024-08-19T11:13:53.732Z] ****.io [2024-08-19T11:13:53.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:13:53.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:13:53.732Z] Configure a credential helper to remove this warning. See [2024-08-19T11:13:53.732Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:13:53.732Z] [2024-08-19T11:13:53.732Z] Login Succeeded [2024-08-19T11:13:53.732Z] ---> ****-login.sh ends [Pipeline] } [2024-08-19T11:13:53.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-19T11:13:54.543Z] + git rev-list -1 --merges 07d1afac7dcf19a52e6976673496010a3f36fb6b~1..07d1afac7dcf19a52e6976673496010a3f36fb6b [Pipeline] echo [2024-08-19T11:13:54.597Z] -----------> git rev-list -1 --merges 07d1afac7dcf19a52e6976673496010a3f36fb6b~1..07d1afac7dcf19a52e6976673496010a3f36fb6b 07d1afac7dcf19a52e6976673496010a3f36fb6b [false] [Pipeline] sh [2024-08-19T11:13:54.935Z] + git log --format=format:%s -1 07d1afac7dcf19a52e6976673496010a3f36fb6b [Pipeline] echo [2024-08-19T11:13:54.981Z] ========================================================= [2024-08-19T11:13:54.981Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-19T11:13:54.981Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-19T11:13:55.446Z] + git log --format=format:%s -1 07d1afac7dcf19a52e6976673496010a3f36fb6b [Pipeline] echo [2024-08-19T11:13:55.491Z] [semverPrep] GIT_COMMIT: 07d1afac7dcf19a52e6976673496010a3f36fb6b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-19T11:13:55.535Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-19T11:13:55.973Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-19T11:13:55.973Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-19T11:13:55.973Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-19T11:13:55.973Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-19T11:13:55.973Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-19T11:13:55.973Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-19T11:13:55.973Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:13:56.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-19T11:13:56.505Z] [2024-08-19T11:13:56.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:13:56.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-19T11:13:56.926Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-19T11:13:56.926Z] b85a868b505f: Pulling fs layer [2024-08-19T11:13:56.926Z] e2be974225ed: Pulling fs layer [2024-08-19T11:13:56.926Z] 339a4e72a1f5: Pulling fs layer [2024-08-19T11:13:56.926Z] 988bab9f4d93: Pulling fs layer [2024-08-19T11:13:56.926Z] 1469e6f7b9e6: Pulling fs layer [2024-08-19T11:13:56.926Z] eaf3925da568: Pulling fs layer [2024-08-19T11:13:56.926Z] bab4dde63d76: Pulling fs layer [2024-08-19T11:13:56.926Z] bde34c3a00c8: Pulling fs layer [2024-08-19T11:13:56.926Z] b352a97aabf1: Pulling fs layer [2024-08-19T11:13:56.926Z] 4872d77fe225: Pulling fs layer [2024-08-19T11:13:56.926Z] 5851b861e8e6: Pulling fs layer [2024-08-19T11:13:56.926Z] 4872d77fe225: Waiting [2024-08-19T11:13:56.926Z] b352a97aabf1: Waiting [2024-08-19T11:13:56.926Z] 5851b861e8e6: Waiting [2024-08-19T11:13:56.926Z] bde34c3a00c8: Waiting [2024-08-19T11:13:56.926Z] bab4dde63d76: Waiting [2024-08-19T11:13:56.926Z] 988bab9f4d93: Waiting [2024-08-19T11:13:56.926Z] 1469e6f7b9e6: Waiting [2024-08-19T11:13:56.926Z] eaf3925da568: Waiting [2024-08-19T11:13:56.926Z] e2be974225ed: Verifying Checksum [2024-08-19T11:13:56.926Z] e2be974225ed: Download complete [2024-08-19T11:13:56.926Z] 988bab9f4d93: Download complete [2024-08-19T11:13:56.926Z] 1469e6f7b9e6: Verifying Checksum [2024-08-19T11:13:56.926Z] 1469e6f7b9e6: Download complete [2024-08-19T11:13:56.926Z] eaf3925da568: Verifying Checksum [2024-08-19T11:13:56.926Z] eaf3925da568: Download complete [2024-08-19T11:13:56.926Z] 339a4e72a1f5: Verifying Checksum [2024-08-19T11:13:56.926Z] 339a4e72a1f5: Download complete [2024-08-19T11:13:56.926Z] bde34c3a00c8: Verifying Checksum [2024-08-19T11:13:56.926Z] bde34c3a00c8: Download complete [2024-08-19T11:13:57.186Z] b352a97aabf1: Download complete [2024-08-19T11:13:57.186Z] 4872d77fe225: Verifying Checksum [2024-08-19T11:13:57.186Z] 4872d77fe225: Download complete [2024-08-19T11:13:57.186Z] 5851b861e8e6: Verifying Checksum [2024-08-19T11:13:57.186Z] 5851b861e8e6: Download complete [2024-08-19T11:13:57.186Z] b85a868b505f: Verifying Checksum [2024-08-19T11:13:57.186Z] b85a868b505f: Download complete [2024-08-19T11:13:57.448Z] bab4dde63d76: Verifying Checksum [2024-08-19T11:13:57.448Z] bab4dde63d76: Download complete [2024-08-19T11:13:58.382Z] b85a868b505f: Pull complete [2024-08-19T11:13:58.382Z] e2be974225ed: Pull complete [2024-08-19T11:13:58.950Z] 339a4e72a1f5: Pull complete [2024-08-19T11:13:58.950Z] 988bab9f4d93: Pull complete [2024-08-19T11:13:59.209Z] 1469e6f7b9e6: Pull complete [2024-08-19T11:13:59.209Z] eaf3925da568: Pull complete [2024-08-19T11:14:01.152Z] bab4dde63d76: Pull complete [2024-08-19T11:14:01.152Z] bde34c3a00c8: Pull complete [2024-08-19T11:14:01.152Z] b352a97aabf1: Pull complete [2024-08-19T11:14:01.152Z] 4872d77fe225: Pull complete [2024-08-19T11:14:01.152Z] 5851b861e8e6: Pull complete [2024-08-19T11:14:01.152Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-19T11:14:01.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-19T11:14:01.152Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T11:14:01.443Z] prd-ubuntu20.04-docker-8c-8g-7962 does not seem to be running inside a container [2024-08-19T11:14:01.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-484 -v /w/workspace/foundry_device-virtual-go_PR-484:/w/workspace/foundry_device-virtual-go_PR-484:rw,z -v /w/workspace/foundry_device-virtual-go_PR-484@tmp:/w/workspace/foundry_device-virtual-go_PR-484@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-08-19T11:14:04.965Z] $ docker top 8c5e5fa46bcaa1cb07af486188fa523ba03607c7c08f2b574c03c6c46f81589b -eo pid,comm [2024-08-19T11:14:05.019Z] 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-08-19T11:14:05.019Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-19T11:14:05.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-19T11:14:05.201Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-19T11:14:05.324Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-19T11:14:05.325Z] $ docker exec 8c5e5fa46bcaa1cb07af486188fa523ba03607c7c08f2b574c03c6c46f81589b ssh-agent [2024-08-19T11:14:05.428Z] SSH_AUTH_SOCK=/tmp/ssh-llANcr2Tbr4x/agent.33 [2024-08-19T11:14:05.428Z] SSH_AGENT_PID=39 [2024-08-19T11:14:05.434Z] Running ssh-add (command line suppressed) [2024-08-19T11:14:05.526Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-484@tmp/private_key_10387546851476296423.key (/w/workspace/foundry_device-virtual-go_PR-484@tmp/private_key_10387546851476296423.key) [2024-08-19T11:14:05.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-19T11:14:05.892Z] + git tag --points-at HEAD [Pipeline] } [2024-08-19T11:14:05.920Z] $ docker exec --env ******** --env ******** 8c5e5fa46bcaa1cb07af486188fa523ba03607c7c08f2b574c03c6c46f81589b ssh-agent -k [2024-08-19T11:14:06.020Z] unset SSH_AUTH_SOCK; [2024-08-19T11:14:06.021Z] unset SSH_AGENT_PID; [2024-08-19T11:14:06.021Z] echo Agent pid 39 killed; [2024-08-19T11:14:06.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-19T11:14:06.161Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-19T11:14:06.161Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-19T11:14:06.264Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-19T11:14:06.265Z] $ docker exec 8c5e5fa46bcaa1cb07af486188fa523ba03607c7c08f2b574c03c6c46f81589b ssh-agent [2024-08-19T11:14:06.374Z] SSH_AUTH_SOCK=/tmp/ssh-Kli4WQI2YeGx/agent.72 [2024-08-19T11:14:06.374Z] SSH_AGENT_PID=78 [2024-08-19T11:14:06.379Z] Running ssh-add (command line suppressed) [2024-08-19T11:14:06.472Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-484@tmp/private_key_4598876486465701400.key (/w/workspace/foundry_device-virtual-go_PR-484@tmp/private_key_4598876486465701400.key) [2024-08-19T11:14:06.486Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-19T11:14:06.830Z] + git semver init [2024-08-19T11:14:07.088Z] 2024-08-19 11:14:07,009 [run_init] DEBUG init version:0.0.0 force:False [2024-08-19T11:14:07.089Z] 2024-08-19 11:14:07,010 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-484/.semver [2024-08-19T11:14:07.089Z] 2024-08-19 11:14:07,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-484/.semver [2024-08-19T11:14:07.089Z] 2024-08-19 11:14:07,010 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-484/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-484, universal_newlines=False, shell=None, istream=None) [2024-08-19T11:14:08.998Z] 2024-08-19 11:14:08,942 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-484/.git/info/exclude [2024-08-19T11:14:08.998Z] 2024-08-19 11:14:08,942 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-484/.semver/PR-484 with force:False [2024-08-19T11:14:08.998Z] 2024-08-19 11:14:08,942 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-484/.semver/PR-484 [2024-08-19T11:14:08.998Z] 2024-08-19 11:14:08,947 [execute] INFO git cat-file --batch-check [2024-08-19T11:14:08.998Z] 2024-08-19 11:14:08,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-484/.semver, universal_newlines=False, shell=None, istream=) [2024-08-19T11:14:08.998Z] 2024-08-19 11:14:08,952 [execute] INFO git cat-file --batch [2024-08-19T11:14:08.998Z] 2024-08-19 11:14:08,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-484/.semver, universal_newlines=False, shell=None, istream=) [2024-08-19T11:14:08.998Z] 2024-08-19 11:14:08,957 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-484/.semver/PR-484 [2024-08-19T11:14:08.998Z] 0.0.0 [Pipeline] } [2024-08-19T11:14:09.031Z] $ docker exec --env ******** --env ******** 8c5e5fa46bcaa1cb07af486188fa523ba03607c7c08f2b574c03c6c46f81589b ssh-agent -k [2024-08-19T11:14:09.124Z] unset SSH_AUTH_SOCK; [2024-08-19T11:14:09.124Z] unset SSH_AGENT_PID; [2024-08-19T11:14:09.125Z] echo Agent pid 78 killed; [2024-08-19T11:14:09.138Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-19T11:14:09.609Z] + git semver [Pipeline] } [2024-08-19T11:14:09.895Z] $ docker stop --time=1 8c5e5fa46bcaa1cb07af486188fa523ba03607c7c08f2b574c03c6c46f81589b [2024-08-19T11:14:11.190Z] $ docker rm -f --volumes 8c5e5fa46bcaa1cb07af486188fa523ba03607c7c08f2b574c03c6c46f81589b [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-19T11:14:11.625Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-19T11:14:11.942Z] Stashed 1 file(s) [Pipeline] echo [2024-08-19T11:14:11.967Z] [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-08-19T11:14:12.714Z] provisioning config files... [2024-08-19T11:14:12.725Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-484@tmp/config17806802537073871854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:14:13.100Z] ---> ****-login.sh [2024-08-19T11:14:13.100Z] nexus3.edgexfoundry.org:10001 [2024-08-19T11:14:13.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:14:13.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:14:13.100Z] Configure a credential helper to remove this warning. See [2024-08-19T11:14:13.100Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:14:13.100Z] [2024-08-19T11:14:13.100Z] Login Succeeded [2024-08-19T11:14:13.100Z] nexus3.edgexfoundry.org:10002 [2024-08-19T11:14:13.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:14:13.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:14:13.100Z] Configure a credential helper to remove this warning. See [2024-08-19T11:14:13.100Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:14:13.100Z] [2024-08-19T11:14:13.100Z] Login Succeeded [2024-08-19T11:14:13.100Z] nexus3.edgexfoundry.org:10003 [2024-08-19T11:14:13.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:14:13.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:14:13.360Z] Configure a credential helper to remove this warning. See [2024-08-19T11:14:13.360Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:14:13.360Z] [2024-08-19T11:14:13.360Z] Login Succeeded [2024-08-19T11:14:13.360Z] nexus3.edgexfoundry.org:10004 [2024-08-19T11:14:13.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:14:13.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:14:13.360Z] Configure a credential helper to remove this warning. See [2024-08-19T11:14:13.360Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:14:13.360Z] [2024-08-19T11:14:13.360Z] Login Succeeded [2024-08-19T11:14:13.360Z] ****.io [2024-08-19T11:14:13.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:14:13.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:14:13.622Z] Configure a credential helper to remove this warning. See [2024-08-19T11:14:13.622Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:14:13.622Z] [2024-08-19T11:14:13.622Z] Login Succeeded [2024-08-19T11:14:13.622Z] ---> ****-login.sh ends [Pipeline] } [2024-08-19T11:14:13.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-19T11:14:13.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T11:14:13.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T11:14:13.995Z] ========================================================= [2024-08-19T11:14:13.995Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-19T11:14:13.995Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:14:14.508Z] + 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-08-19T11:14:14.508Z] Sending build context to Docker daemon 37.58MB [2024-08-19T11:14:14.508Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T11:14:14.508Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-19T11:14:14.766Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-19T11:14:14.766Z] 619be1103602: Pulling fs layer [2024-08-19T11:14:14.766Z] 7862e08f4a3e: Pulling fs layer [2024-08-19T11:14:14.766Z] 5df492c9dc93: Pulling fs layer [2024-08-19T11:14:14.766Z] 7629e6793208: Pulling fs layer [2024-08-19T11:14:14.766Z] 4f4fb700ef54: Pulling fs layer [2024-08-19T11:14:14.766Z] fb5054dd5b73: Pulling fs layer [2024-08-19T11:14:14.766Z] eeca6798cff9: Pulling fs layer [2024-08-19T11:14:14.766Z] aa269ceb94a6: Pulling fs layer [2024-08-19T11:14:14.766Z] ada007ff1a6a: Pulling fs layer [2024-08-19T11:14:14.766Z] 7629e6793208: Waiting [2024-08-19T11:14:14.766Z] 4f4fb700ef54: Waiting [2024-08-19T11:14:14.766Z] fb5054dd5b73: Waiting [2024-08-19T11:14:14.766Z] eeca6798cff9: Waiting [2024-08-19T11:14:14.766Z] aa269ceb94a6: Waiting [2024-08-19T11:14:14.766Z] ada007ff1a6a: Waiting [2024-08-19T11:14:14.766Z] 7862e08f4a3e: Verifying Checksum [2024-08-19T11:14:14.766Z] 7862e08f4a3e: Download complete [2024-08-19T11:14:14.766Z] 7629e6793208: Verifying Checksum [2024-08-19T11:14:14.766Z] 4f4fb700ef54: Verifying Checksum [2024-08-19T11:14:14.766Z] 4f4fb700ef54: Download complete [2024-08-19T11:14:14.766Z] fb5054dd5b73: Download complete [2024-08-19T11:14:14.766Z] 619be1103602: Verifying Checksum [2024-08-19T11:14:14.766Z] 619be1103602: Download complete [2024-08-19T11:14:14.766Z] eeca6798cff9: Verifying Checksum [2024-08-19T11:14:14.766Z] eeca6798cff9: Download complete [2024-08-19T11:14:15.025Z] 619be1103602: Pull complete [2024-08-19T11:14:15.025Z] ada007ff1a6a: Verifying Checksum [2024-08-19T11:14:15.025Z] ada007ff1a6a: Download complete [2024-08-19T11:14:15.025Z] 7862e08f4a3e: Pull complete [2024-08-19T11:14:15.284Z] 5df492c9dc93: Verifying Checksum [2024-08-19T11:14:15.284Z] 5df492c9dc93: Download complete [2024-08-19T11:14:15.541Z] aa269ceb94a6: Verifying Checksum [2024-08-19T11:14:15.541Z] aa269ceb94a6: Download complete [2024-08-19T11:14:18.070Z] 5df492c9dc93: Pull complete [2024-08-19T11:14:18.070Z] 7629e6793208: Pull complete [2024-08-19T11:14:18.329Z] 4f4fb700ef54: Pull complete [2024-08-19T11:14:18.329Z] fb5054dd5b73: Pull complete [2024-08-19T11:14:18.329Z] eeca6798cff9: Pull complete [2024-08-19T11:14:20.859Z] aa269ceb94a6: Pull complete [2024-08-19T11:14:21.119Z] ada007ff1a6a: Pull complete [2024-08-19T11:14:21.119Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-19T11:14:21.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-19T11:14:21.119Z] ---> f489d0715acc [2024-08-19T11:14:21.119Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-19T11:14:26.395Z] ---> Running in 60177f45f356 [2024-08-19T11:14:26.395Z] Removing intermediate container 60177f45f356 [2024-08-19T11:14:26.395Z] ---> 9dcd85496c55 [2024-08-19T11:14:26.395Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-19T11:14:26.395Z] ---> Running in a6508a333627 [2024-08-19T11:14:26.395Z] Removing intermediate container a6508a333627 [2024-08-19T11:14:26.395Z] ---> dff49cadd783 [2024-08-19T11:14:26.395Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-08-19T11:14:26.395Z] ---> Running in f3dcb2f7198d [2024-08-19T11:14:26.395Z] Removing intermediate container f3dcb2f7198d [2024-08-19T11:14:26.395Z] ---> 3b8262a1cca3 [2024-08-19T11:14:26.395Z] Step 6/12 : WORKDIR /device-virtual-go [2024-08-19T11:14:26.395Z] ---> Running in 86598fd897a8 [2024-08-19T11:14:26.395Z] Removing intermediate container 86598fd897a8 [2024-08-19T11:14:26.395Z] ---> 8170e9124a67 [2024-08-19T11:14:26.395Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-19T11:14:26.395Z] ---> Running in 95964f5f7a20 [2024-08-19T11:14:26.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T11:14:26.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T11:14:26.914Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-19T11:14:26.914Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-19T11:14:26.914Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-19T11:14:26.914Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-19T11:14:26.914Z] Executing busybox-1.36.1-r5.trigger [2024-08-19T11:14:26.914Z] OK: 268 MiB in 56 packages [2024-08-19T11:14:27.492Z] Still waiting to schedule task [2024-08-19T11:14:27.492Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-19T11:14:27.853Z] Removing intermediate container 95964f5f7a20 [2024-08-19T11:14:27.853Z] ---> e3e200cf9507 [2024-08-19T11:14:27.853Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-19T11:14:27.853Z] ---> 25f977979557 [2024-08-19T11:14:27.853Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T11:14:27.853Z] ---> Running in 7927ce26bd32 [2024-08-19T11:15:25.949Z] Removing intermediate container 7927ce26bd32 [2024-08-19T11:15:25.949Z] ---> e9634ee1b24f [2024-08-19T11:15:25.949Z] Step 10/12 : COPY . . [2024-08-19T11:15:25.949Z] ---> 42d8d1fb47dd [2024-08-19T11:15:25.949Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-19T11:15:25.949Z] ---> Running in 172a2aa08446 [2024-08-19T11:15:25.949Z] Removing intermediate container 172a2aa08446 [2024-08-19T11:15:25.949Z] ---> 81bbd5ebd6fc [2024-08-19T11:15:25.949Z] Step 12/12 : RUN $MAKE [2024-08-19T11:15:25.949Z] ---> Running in 60769c3c01f3 [2024-08-19T11:15:25.949Z] noop [2024-08-19T11:15:25.949Z] Removing intermediate container 60769c3c01f3 [2024-08-19T11:15:25.949Z] ---> 4cdaed6c938b [2024-08-19T11:15:25.949Z] Successfully built 4cdaed6c938b [2024-08-19T11:15:25.949Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:15:26.441Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-19T11:15:26.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T11:15:26.625Z] prd-ubuntu20.04-docker-8c-8g-7962 does not seem to be running inside a container [2024-08-19T11:15:26.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-484 -v /w/workspace/foundry_device-virtual-go_PR-484:/w/workspace/foundry_device-virtual-go_PR-484:rw,z -v /w/workspace/foundry_device-virtual-go_PR-484@tmp:/w/workspace/foundry_device-virtual-go_PR-484@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-08-19T11:15:27.004Z] $ docker top 366b1207ea135bf3c3bae06cda0631ee07d1baf01288033028248afc3ceee333 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T11:15:27.416Z] + go version [2024-08-19T11:15:27.416Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-19T11:15:27.451Z] $ docker stop --time=1 366b1207ea135bf3c3bae06cda0631ee07d1baf01288033028248afc3ceee333 [2024-08-19T11:15:28.762Z] $ docker rm -f --volumes 366b1207ea135bf3c3bae06cda0631ee07d1baf01288033028248afc3ceee333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:15:29.560Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-19T11:15:29.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T11:15:29.729Z] prd-ubuntu20.04-docker-8c-8g-7962 does not seem to be running inside a container [2024-08-19T11:15:29.761Z] $ 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-484 -v /w/workspace/foundry_device-virtual-go_PR-484:/w/workspace/foundry_device-virtual-go_PR-484:rw,z -v /w/workspace/foundry_device-virtual-go_PR-484@tmp:/w/workspace/foundry_device-virtual-go_PR-484@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-08-19T11:15:30.069Z] $ docker top 5c1256c9052792f8d9aee9e499e8b3c2232dfba1d7ab1693f0d256d986c62ed5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T11:15:30.483Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-484 [Pipeline] fileExists [Pipeline] sh [2024-08-19T11:15:30.861Z] + make test [2024-08-19T11:15:30.861Z] go test ./... -coverprofile=coverage.out [2024-08-19T11:15:32.239Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-08-19T11:15:51.906Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-08-19T11:15:51.906Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements [2024-08-19T11:15:55.641Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7963 in /w/workspace/foundry_device-virtual-go_PR-484 [Pipeline] { [Pipeline] ws [2024-08-19T11:15:55.726Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-08-19T11:15:55.823Z] The recommended git tool is: git [2024-08-19T11:16:00.215Z] using credential edgex-jenkins-ssh [2024-08-19T11:16:00.237Z] Cloning the remote Git repository [2024-08-19T11:16:00.272Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-08-19T11:16:00.361Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-08-19T11:16:00.494Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-08-19T11:16:00.495Z] > git --version # timeout=10 [2024-08-19T11:16:00.513Z] > git --version # 'git version 2.25.1' [2024-08-19T11:16:00.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-19T11:16:00.641Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-19T11:16:01.913Z] go vet ./... [2024-08-19T11:16:04.021Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-08-19T11:16:04.045Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-19T11:16:05.396Z] Merging remotes/origin/main commit 91ab2d1966be996543f139896746dd83b19c5706 into PR head commit 07d1afac7dcf19a52e6976673496010a3f36fb6b [2024-08-19T11:16:05.655Z] Merge succeeded, producing 07d1afac7dcf19a52e6976673496010a3f36fb6b [2024-08-19T11:16:05.655Z] Checking out Revision 07d1afac7dcf19a52e6976673496010a3f36fb6b (PR-484) [2024-08-19T11:16:06.099Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-19T11:16:06.099Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-19T11:16:06.099Z] ./bin/test-attribution-txt.sh [2024-08-19T11:16:06.099Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-19T11:16:04.842Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-08-19T11:16:04.889Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-08-19T11:16:04.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-19T11:16:04.914Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-19T11:16:05.412Z] > git config core.sparsecheckout # timeout=10 [2024-08-19T11:16:05.472Z] > git checkout -f 07d1afac7dcf19a52e6976673496010a3f36fb6b # timeout=10 [2024-08-19T11:16:05.560Z] > git remote # timeout=10 [2024-08-19T11:16:05.577Z] > git config --get remote.origin.url # timeout=10 [2024-08-19T11:16:05.593Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-19T11:16:05.611Z] > git merge 91ab2d1966be996543f139896746dd83b19c5706 # timeout=10 [2024-08-19T11:16:05.639Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-19T11:16:05.659Z] > git config core.sparsecheckout # timeout=10 [2024-08-19T11:16:05.674Z] > git checkout -f 07d1afac7dcf19a52e6976673496010a3f36fb6b # timeout=10 [2024-08-19T11:16:06.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2024-08-19T11:16:06.165Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] } [2024-08-19T11:16:06.217Z] $ docker stop --time=1 5c1256c9052792f8d9aee9e499e8b3c2232dfba1d7ab1693f0d256d986c62ed5 [2024-08-19T11:16:06.226Z] > git --version # timeout=10 [2024-08-19T11:16:06.243Z] > git --version # 'git version 2.25.1' [2024-08-19T11:16:06.257Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-19T11:16:12.222Z] $ docker rm -f --volumes 5c1256c9052792f8d9aee9e499e8b3c2232dfba1d7ab1693f0d256d986c62ed5 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-08-19T11:16:12.819Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2024-08-19T11:16:13.156Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-08-19T11:16:13.385Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-19T11:16:13.385Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-19T11:16:13.385Z] Dload Upload Total Spent Left Speed [2024-08-19T11:16:13.385Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 83843 0 --:--:-- --:--:-- --:--:-- 84394 [Pipeline] sh [Pipeline] sh [2024-08-19T11:16:13.738Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-19T11:16:14.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-19T11:16:14.154Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-19T11:16:14.154Z] + sudo tee /etc/docker/daemon.new [2024-08-19T11:16:14.154Z] { [2024-08-19T11:16:14.154Z] "registry-mirrors": [ [2024-08-19T11:16:14.154Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-19T11:16:14.154Z] ], [2024-08-19T11:16:14.154Z] "bip": "10.250.0.254/24", [2024-08-19T11:16:14.154Z] "hosts": [ [2024-08-19T11:16:14.154Z] "tcp://0.0.0.0:5555", [2024-08-19T11:16:14.154Z] "unix:///var/run/docker.sock" [2024-08-19T11:16:14.154Z] ], [2024-08-19T11:16:14.154Z] "mtu": 1458, [2024-08-19T11:16:14.154Z] "selinux-enabled": true, [2024-08-19T11:16:14.154Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-19T11:16:14.154Z] } [Pipeline] sh [2024-08-19T11:16:14.350Z] + ls -al . [2024-08-19T11:16:14.350Z] total 276 [2024-08-19T11:16:14.350Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 11:15 . [2024-08-19T11:16:14.350Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 11:13 .. [2024-08-19T11:16:14.350Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 11:15 .git [2024-08-19T11:16:14.350Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 11:13 .github [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 272 Aug 19 11:13 .gitignore [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 19 11:13 .golangci.yml [2024-08-19T11:16:14.350Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 19 11:14 .semver [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 17933 Aug 19 11:13 Attribution.txt [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 15941 Aug 19 11:13 CHANGELOG.md [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 1755 Aug 19 11:13 Dockerfile [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 19 11:13 GOVERNANCE.md [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 19 11:13 Jenkinsfile [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 19 11:13 LICENSE [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 1953 Aug 19 11:13 Makefile [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 19 11:13 OWNERS.md [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 4103 Aug 19 11:13 README.md [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 19 11:14 VERSION [2024-08-19T11:16:14.350Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 11:13 bin [2024-08-19T11:16:14.350Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 11:13 cmd [2024-08-19T11:16:14.350Z] -rw-r--r-- 1 jenkins jenkins 43247 Aug 19 11:15 coverage.out [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 6923 Aug 19 11:13 go.mod [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 19 11:13 go.sum [2024-08-19T11:16:14.350Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 11:13 internal [2024-08-19T11:16:14.350Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 19 11:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:16:14.504Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-19T11:16:14.770Z] + 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=07d1afac7dcf19a52e6976673496010a3f36fb6b --label arch=amd64 --label version=0.0.0 . [2024-08-19T11:16:14.770Z] Sending build context to Docker daemon 37.62MB [2024-08-19T11:16:14.770Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T11:16:14.770Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-19T11:16:14.770Z] ---> 4cdaed6c938b [2024-08-19T11:16:14.770Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-19T11:16:14.895Z] + sudo service docker restart [2024-08-19T11:16:15.710Z] ---> Running in 2c722903c196 [2024-08-19T11:16:15.710Z] Removing intermediate container 2c722903c196 [2024-08-19T11:16:15.710Z] ---> 1a2fcd7a7660 [2024-08-19T11:16:15.710Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-19T11:16:15.710Z] ---> Running in 8fed8f4ac808 [2024-08-19T11:16:15.710Z] Removing intermediate container 8fed8f4ac808 [2024-08-19T11:16:15.710Z] ---> 6f2c94353608 [2024-08-19T11:16:15.710Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-19T11:16:15.710Z] ---> Running in b243c4ff88e6 [2024-08-19T11:16:15.710Z] Removing intermediate container b243c4ff88e6 [2024-08-19T11:16:15.710Z] ---> 2ee2a18571eb [2024-08-19T11:16:15.710Z] Step 6/26 : WORKDIR /device-virtual-go [2024-08-19T11:16:15.710Z] ---> Running in 21221bc1857b [2024-08-19T11:16:15.710Z] Removing intermediate container 21221bc1857b [2024-08-19T11:16:15.710Z] ---> a898a4473d4a [2024-08-19T11:16:15.710Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-19T11:16:15.969Z] ---> Running in d3f262589aab [2024-08-19T11:16:16.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T11:16:16.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T11:16:16.487Z] OK: 268 MiB in 56 packages [2024-08-19T11:16:16.745Z] Removing intermediate container d3f262589aab [2024-08-19T11:16:16.745Z] ---> 98186983b4dd [2024-08-19T11:16:16.745Z] Step 8/26 : COPY go.mod vendor* ./ [2024-08-19T11:16:17.005Z] ---> f98d20e92d4c [2024-08-19T11:16:17.005Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T11:16:17.005Z] ---> Running in 6e6c73122cf9 [2024-08-19T11:16:17.942Z] Removing intermediate container 6e6c73122cf9 [2024-08-19T11:16:17.942Z] ---> b6a64d9e4542 [2024-08-19T11:16:17.942Z] Step 10/26 : COPY . . [2024-08-19T11:16:18.878Z] ---> 029431adba0c [2024-08-19T11:16:18.878Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-19T11:16:18.878Z] ---> Running in 93fa58ac2e65 [2024-08-19T11:16:18.878Z] Removing intermediate container 93fa58ac2e65 [2024-08-19T11:16:18.878Z] ---> 1a4872440370 [2024-08-19T11:16:18.878Z] Step 12/26 : RUN $MAKE [2024-08-19T11:16:18.878Z] ---> Running in b38216e27f95 [2024-08-19T11:16:19.138Z] 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.31" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-19T11:16:33.254Z] provisioning config files... [2024-08-19T11:16:33.281Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8039962786040136692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:16:33.797Z] ---> ****-login.sh [2024-08-19T11:16:33.798Z] nexus3.edgexfoundry.org:10001 [2024-08-19T11:16:34.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:16:34.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:16:34.388Z] Configure a credential helper to remove this warning. See [2024-08-19T11:16:34.388Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:16:34.388Z] [2024-08-19T11:16:34.388Z] Login Succeeded [2024-08-19T11:16:34.388Z] nexus3.edgexfoundry.org:10002 [2024-08-19T11:16:34.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:16:34.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:16:34.925Z] Configure a credential helper to remove this warning. See [2024-08-19T11:16:34.925Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:16:34.925Z] [2024-08-19T11:16:34.925Z] Login Succeeded [2024-08-19T11:16:34.925Z] nexus3.edgexfoundry.org:10003 [2024-08-19T11:16:35.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:16:35.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:16:35.200Z] Configure a credential helper to remove this warning. See [2024-08-19T11:16:35.200Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:16:35.200Z] [2024-08-19T11:16:35.200Z] Login Succeeded [2024-08-19T11:16:35.200Z] nexus3.edgexfoundry.org:10004 [2024-08-19T11:16:35.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:16:35.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:16:35.473Z] Configure a credential helper to remove this warning. See [2024-08-19T11:16:35.473Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:16:35.473Z] [2024-08-19T11:16:35.473Z] Login Succeeded [2024-08-19T11:16:35.473Z] ****.io [2024-08-19T11:16:35.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T11:16:36.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T11:16:36.009Z] Configure a credential helper to remove this warning. See [2024-08-19T11:16:36.009Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T11:16:36.009Z] [2024-08-19T11:16:36.009Z] Login Succeeded [2024-08-19T11:16:36.009Z] ---> ****-login.sh ends [Pipeline] } [2024-08-19T11:16:36.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-19T11:16:36.517Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T11:16:36.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T11:16:36.621Z] ========================================================= [2024-08-19T11:16:36.621Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-19T11:16:36.621Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:16:37.195Z] + 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-08-19T11:16:37.783Z] Sending build context to Docker daemon 18.98MB [2024-08-19T11:16:37.783Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T11:16:37.783Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-19T11:16:38.762Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-19T11:16:38.762Z] c6b39de5b339: Pulling fs layer [2024-08-19T11:16:38.762Z] a69c41024577: Pulling fs layer [2024-08-19T11:16:38.762Z] d6de4b400683: Pulling fs layer [2024-08-19T11:16:38.762Z] 35cb2a7552d0: Pulling fs layer [2024-08-19T11:16:38.762Z] 4f4fb700ef54: Pulling fs layer [2024-08-19T11:16:38.762Z] 464afbd9ba4c: Pulling fs layer [2024-08-19T11:16:38.762Z] 00f215d4a9da: Pulling fs layer [2024-08-19T11:16:38.762Z] d496ad576159: Pulling fs layer [2024-08-19T11:16:38.762Z] 35cb2a7552d0: Waiting [2024-08-19T11:16:38.762Z] 4f4fb700ef54: Waiting [2024-08-19T11:16:38.762Z] 464afbd9ba4c: Waiting [2024-08-19T11:16:38.762Z] 00f215d4a9da: Waiting [2024-08-19T11:16:38.762Z] d496ad576159: Waiting [2024-08-19T11:16:38.762Z] a69c41024577: Download complete [2024-08-19T11:16:38.762Z] 35cb2a7552d0: Verifying Checksum [2024-08-19T11:16:38.762Z] 35cb2a7552d0: Download complete [2024-08-19T11:16:38.762Z] 4f4fb700ef54: Download complete [2024-08-19T11:16:38.762Z] 464afbd9ba4c: Verifying Checksum [2024-08-19T11:16:38.762Z] 464afbd9ba4c: Download complete [2024-08-19T11:16:38.762Z] c6b39de5b339: Verifying Checksum [2024-08-19T11:16:38.762Z] c6b39de5b339: Download complete [2024-08-19T11:16:39.354Z] d496ad576159: Verifying Checksum [2024-08-19T11:16:39.354Z] d496ad576159: Download complete [2024-08-19T11:16:39.624Z] c6b39de5b339: Pull complete [2024-08-19T11:16:40.211Z] a69c41024577: Pull complete [2024-08-19T11:16:40.480Z] d6de4b400683: Verifying Checksum [2024-08-19T11:16:40.480Z] d6de4b400683: Download complete [2024-08-19T11:16:41.444Z] 00f215d4a9da: Verifying Checksum [2024-08-19T11:16:41.445Z] 00f215d4a9da: Download complete [2024-08-19T11:16:53.785Z] d6de4b400683: Pull complete [2024-08-19T11:16:53.785Z] 35cb2a7552d0: Pull complete [2024-08-19T11:16:53.785Z] 4f4fb700ef54: Pull complete [2024-08-19T11:16:53.785Z] 464afbd9ba4c: Pull complete [2024-08-19T11:16:59.763Z] Removing intermediate container b38216e27f95 [2024-08-19T11:16:59.763Z] ---> a577fef6015e [2024-08-19T11:16:59.763Z] Step 13/26 : FROM alpine:3.18 [2024-08-19T11:16:59.763Z] 3.18: Pulling from library/alpine [2024-08-19T11:16:59.763Z] 930bdd4d222e: Pulling fs layer [2024-08-19T11:16:59.763Z] 930bdd4d222e: Verifying Checksum [2024-08-19T11:16:59.763Z] 930bdd4d222e: Download complete [2024-08-19T11:16:59.763Z] 930bdd4d222e: Pull complete [2024-08-19T11:16:59.763Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-19T11:16:59.763Z] Status: Downloaded newer image for alpine:3.18 [2024-08-19T11:16:59.763Z] ---> 18f865063206 [2024-08-19T11:16:59.763Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-08-19T11:16:59.763Z] ---> Running in 4aa8721a7c3a [2024-08-19T11:16:59.763Z] Removing intermediate container 4aa8721a7c3a [2024-08-19T11:16:59.763Z] ---> 3adcc98e4344 [2024-08-19T11:16:59.763Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-19T11:16:59.763Z] ---> Running in 2e75c75e2a3d [2024-08-19T11:16:59.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T11:16:59.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T11:16:59.763Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-19T11:16:59.763Z] Executing busybox-1.36.1-r7.trigger [2024-08-19T11:16:59.763Z] OK: 7 MiB in 16 packages [2024-08-19T11:16:59.763Z] Removing intermediate container 2e75c75e2a3d [2024-08-19T11:16:59.763Z] ---> 684eb21cbf7e [2024-08-19T11:16:59.763Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-19T11:16:59.763Z] ---> Running in 7596a2f00d72 [2024-08-19T11:16:59.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T11:16:59.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T11:16:59.763Z] OK: 7 MiB in 16 packages [2024-08-19T11:16:59.763Z] Removing intermediate container 7596a2f00d72 [2024-08-19T11:16:59.763Z] ---> 7830bdbd0d46 [2024-08-19T11:16:59.763Z] Step 17/26 : WORKDIR / [2024-08-19T11:16:59.763Z] ---> Running in 52404e7bbc0a [2024-08-19T11:16:59.763Z] Removing intermediate container 52404e7bbc0a [2024-08-19T11:16:59.763Z] ---> 5a4daf75173d [2024-08-19T11:16:59.763Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-08-19T11:16:59.763Z] ---> 3e91fabac179 [2024-08-19T11:16:59.763Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-08-19T11:16:59.763Z] ---> 82715b123909 [2024-08-19T11:16:59.763Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-08-19T11:16:59.763Z] ---> 985f1757712e [2024-08-19T11:16:59.763Z] Step 21/26 : EXPOSE 59900 [2024-08-19T11:16:59.763Z] ---> Running in 4c45d21bd1a9 [2024-08-19T11:16:59.763Z] Removing intermediate container 4c45d21bd1a9 [2024-08-19T11:16:59.763Z] ---> 975c48ac212f [2024-08-19T11:16:59.763Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-08-19T11:16:59.763Z] ---> Running in d22d7561b561 [2024-08-19T11:16:59.763Z] Removing intermediate container d22d7561b561 [2024-08-19T11:16:59.763Z] ---> 2ad593220ee3 [2024-08-19T11:16:59.763Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-19T11:16:59.763Z] ---> Running in 9f001e315a0f [2024-08-19T11:16:59.763Z] Removing intermediate container 9f001e315a0f [2024-08-19T11:16:59.763Z] ---> 59ec57071fe3 [2024-08-19T11:16:59.763Z] Step 24/26 : LABEL arch=amd64 [2024-08-19T11:16:59.763Z] ---> Running in d9c9deb7c0a3 [2024-08-19T11:17:00.022Z] Removing intermediate container d9c9deb7c0a3 [2024-08-19T11:17:00.022Z] ---> 6e889fa6bfde [2024-08-19T11:17:00.022Z] Step 25/26 : LABEL git_sha=07d1afac7dcf19a52e6976673496010a3f36fb6b [2024-08-19T11:17:00.022Z] ---> Running in 9e76678c77ab [2024-08-19T11:17:00.022Z] Removing intermediate container 9e76678c77ab [2024-08-19T11:17:00.022Z] ---> 88fbbb369ecb [2024-08-19T11:17:00.022Z] Step 26/26 : LABEL version=0.0.0 [2024-08-19T11:17:00.022Z] ---> Running in 689da608ae1e [2024-08-19T11:17:00.282Z] Removing intermediate container 689da608ae1e [2024-08-19T11:17:00.282Z] ---> f240a7319f7e [2024-08-19T11:17:00.282Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-19T11:17:00.282Z] Successfully built f240a7319f7e [2024-08-19T11:17:00.282Z] 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-08-19T11:17:01.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T11:17:01.347Z] [2024-08-19T11:17:01.347Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:17:01.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T11:17:01.758Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-19T11:17:01.758Z] 5eb5b503b376: Pulling fs layer [2024-08-19T11:17:01.758Z] 5c69ac0246d0: Pulling fs layer [2024-08-19T11:17:01.758Z] ec43610c2a17: Pulling fs layer [2024-08-19T11:17:01.758Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-19T11:17:01.758Z] 33b1e0a273af: Pulling fs layer [2024-08-19T11:17:01.758Z] 5d3b04190fa2: Pulling fs layer [2024-08-19T11:17:01.758Z] 2f39f015ded8: Pulling fs layer [2024-08-19T11:17:01.758Z] 3a2ae6a8a46f: Waiting [2024-08-19T11:17:01.758Z] 5d3b04190fa2: Waiting [2024-08-19T11:17:01.758Z] 33b1e0a273af: Waiting [2024-08-19T11:17:01.758Z] 5c69ac0246d0: Verifying Checksum [2024-08-19T11:17:01.758Z] 5c69ac0246d0: Download complete [2024-08-19T11:17:01.758Z] 3a2ae6a8a46f: Download complete [2024-08-19T11:17:01.758Z] 33b1e0a273af: Verifying Checksum [2024-08-19T11:17:01.758Z] 33b1e0a273af: Download complete [2024-08-19T11:17:01.758Z] ec43610c2a17: Verifying Checksum [2024-08-19T11:17:01.758Z] ec43610c2a17: Download complete [2024-08-19T11:17:01.758Z] 5d3b04190fa2: Verifying Checksum [2024-08-19T11:17:01.758Z] 5d3b04190fa2: Download complete [2024-08-19T11:17:02.008Z] 00f215d4a9da: Pull complete [2024-08-19T11:17:02.019Z] 5eb5b503b376: Verifying Checksum [2024-08-19T11:17:02.019Z] 5eb5b503b376: Download complete [2024-08-19T11:17:02.586Z] 2f39f015ded8: Verifying Checksum [2024-08-19T11:17:02.586Z] 2f39f015ded8: Download complete [2024-08-19T11:17:03.156Z] 5eb5b503b376: Pull complete [2024-08-19T11:17:03.156Z] 5c69ac0246d0: Pull complete [2024-08-19T11:17:03.421Z] d496ad576159: Pull complete [2024-08-19T11:17:03.421Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-19T11:17:03.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-19T11:17:03.421Z] ---> f246e2811388 [2024-08-19T11:17:03.421Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-19T11:17:03.724Z] ec43610c2a17: Pull complete [2024-08-19T11:17:03.724Z] 3a2ae6a8a46f: Pull complete [2024-08-19T11:17:03.982Z] 33b1e0a273af: Pull complete [2024-08-19T11:17:03.982Z] 5d3b04190fa2: Pull complete [2024-08-19T11:17:04.823Z] ---> Running in 255231b4da7b [2024-08-19T11:17:05.091Z] Removing intermediate container 255231b4da7b [2024-08-19T11:17:05.091Z] ---> 5f3e408cc046 [2024-08-19T11:17:05.091Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-19T11:17:05.091Z] ---> Running in f0a01252084b [2024-08-19T11:17:05.674Z] Removing intermediate container f0a01252084b [2024-08-19T11:17:05.674Z] ---> 79383db9563d [2024-08-19T11:17:05.674Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-08-19T11:17:05.674Z] ---> Running in 50b080586ceb [2024-08-19T11:17:05.942Z] Removing intermediate container 50b080586ceb [2024-08-19T11:17:05.942Z] ---> 6cbdef7f8296 [2024-08-19T11:17:05.942Z] Step 6/12 : WORKDIR /device-virtual-go [2024-08-19T11:17:05.942Z] ---> Running in e345b8393c61 [2024-08-19T11:17:06.216Z] Removing intermediate container e345b8393c61 [2024-08-19T11:17:06.216Z] ---> 6136621efc67 [2024-08-19T11:17:06.216Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-19T11:17:06.216Z] ---> Running in af08e7df8f9f [2024-08-19T11:17:07.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T11:17:07.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T11:17:08.174Z] 2f39f015ded8: Pull complete [2024-08-19T11:17:08.174Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-19T11:17:08.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T11:17:08.435Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T11:17:08.710Z] prd-ubuntu20.04-docker-8c-8g-7962 does not seem to be running inside a container [2024-08-19T11:17:08.738Z] $ 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-484 -v /w/workspace/foundry_device-virtual-go_PR-484:/w/workspace/foundry_device-virtual-go_PR-484:rw,z -v /w/workspace/foundry_device-virtual-go_PR-484@tmp:/w/workspace/foundry_device-virtual-go_PR-484@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-08-19T11:17:08.858Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-19T11:17:08.858Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-19T11:17:08.858Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-19T11:17:08.858Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-19T11:17:08.858Z] Executing busybox-1.36.1-r5.trigger [2024-08-19T11:17:08.858Z] OK: 271 MiB in 56 packages [2024-08-19T11:17:09.819Z] Removing intermediate container af08e7df8f9f [2024-08-19T11:17:09.819Z] ---> 45150f093e82 [2024-08-19T11:17:09.819Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-19T11:17:10.401Z] ---> fa9a059ff4b9 [2024-08-19T11:17:10.401Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T11:17:10.401Z] ---> Running in e3bc7bb078dd [2024-08-19T11:17:14.391Z] $ docker top b79aad7c2ed9379f086909e88cc36938931656851845f64133d0e610369b836c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:17:14.982Z] ---> job-cost.sh [2024-08-19T11:17:14.982Z] lf-activate-venv: SKIPPING [2024-08-19T11:17:14.982Z] INFO: No Stack... [2024-08-19T11:17:15.242Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-19T11:17:15.503Z] INFO: Archiving Costs [Pipeline] sh [2024-08-19T11:17:15.827Z] + cat /w/workspace/foundry_device-virtual-go_PR-484/archives/cost.csv [2024-08-19T11:17:15.827Z] + cut -d, -f6 [Pipeline] lock [2024-08-19T11:17:15.886Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-484-1-stack-cost] [2024-08-19T11:17:15.894Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-484-1-stack-cost] did not exist. Created. [2024-08-19T11:17:15.901Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-484-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-19T11:17:16.335Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-19T11:17:16.391Z] Stashed 1 file(s) [Pipeline] } [2024-08-19T11:17:16.432Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-484-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-19T11:17:16.529Z] $ docker stop --time=1 b79aad7c2ed9379f086909e88cc36938931656851845f64133d0e610369b836c [2024-08-19T11:17:17.673Z] $ docker rm -f --volumes b79aad7c2ed9379f086909e88cc36938931656851845f64133d0e610369b836c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-19T11:19:02.091Z] Removing intermediate container e3bc7bb078dd [2024-08-19T11:19:02.091Z] ---> 819840e1a9cd [2024-08-19T11:19:02.091Z] Step 10/12 : COPY . . [2024-08-19T11:19:02.091Z] ---> 4f1bfe9b18f4 [2024-08-19T11:19:02.091Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-19T11:19:02.091Z] ---> Running in 4a03dc48b208 [2024-08-19T11:19:02.091Z] Removing intermediate container 4a03dc48b208 [2024-08-19T11:19:02.091Z] ---> 694598198848 [2024-08-19T11:19:02.091Z] Step 12/12 : RUN $MAKE [2024-08-19T11:19:02.091Z] ---> Running in 79b768b7b8c1 [2024-08-19T11:19:02.091Z] noop [2024-08-19T11:19:02.091Z] Removing intermediate container 79b768b7b8c1 [2024-08-19T11:19:02.091Z] ---> b52dcefdf2d9 [2024-08-19T11:19:02.091Z] Successfully built b52dcefdf2d9 [2024-08-19T11:19:02.091Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:19:02.630Z] + docker inspect -f . ci-base-image-arm64 [2024-08-19T11:19:02.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T11:19:02.947Z] prd-ubuntu20.04-docker-arm64-4c-16g-7963 does not seem to be running inside a container [2024-08-19T11:19:03.019Z] $ 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-08-19T11:19:04.223Z] $ docker top 24a09261bd50c2e7d9a82fb0ddb5307a679eac4ba2f1a7c11d87ae8d13704dff -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T11:19:05.167Z] + go version [2024-08-19T11:19:05.167Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-19T11:19:05.204Z] $ docker stop --time=1 24a09261bd50c2e7d9a82fb0ddb5307a679eac4ba2f1a7c11d87ae8d13704dff [2024-08-19T11:19:07.096Z] $ docker rm -f --volumes 24a09261bd50c2e7d9a82fb0ddb5307a679eac4ba2f1a7c11d87ae8d13704dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:19:08.097Z] + docker inspect -f . ci-base-image-arm64 [2024-08-19T11:19:08.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T11:19:08.375Z] prd-ubuntu20.04-docker-arm64-4c-16g-7963 does not seem to be running inside a container [2024-08-19T11:19:08.431Z] $ 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-08-19T11:19:09.659Z] $ docker top 4f825487c57c1052d13e73a3fccbc91f437564d19017f6d005bc2b6265b0dc66 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T11:19:10.571Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-19T11:19:11.325Z] + make test [2024-08-19T11:19:11.326Z] go test ./... -coverprofile=coverage.out [2024-08-19T11:19:16.670Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-08-19T11:22:54.710Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-08-19T11:22:54.710Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.057s coverage: 58.3% of statements [2024-08-19T11:22:54.710Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-19T11:22:54.710Z] go vet ./... [2024-08-19T11:23:33.619Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-19T11:23:33.619Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-19T11:23:33.619Z] ./bin/test-attribution-txt.sh [2024-08-19T11:23:33.619Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-19T11:23:33.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-19T11:23:33.706Z] $ docker stop --time=1 4f825487c57c1052d13e73a3fccbc91f437564d19017f6d005bc2b6265b0dc66 [2024-08-19T11:23:35.583Z] $ docker rm -f --volumes 4f825487c57c1052d13e73a3fccbc91f437564d19017f6d005bc2b6265b0dc66 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-19T11:23:37.123Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-19T11:23:37.169Z] Warning: overwriting stash ‘coverage-report’ [2024-08-19T11:23:37.617Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-19T11:23:38.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-19T11:23:38.615Z] + ls -al . [2024-08-19T11:23:38.615Z] total 272 [2024-08-19T11:23:38.615Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 19 11:19 . [2024-08-19T11:23:38.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 11:16 .. [2024-08-19T11:23:38.615Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 11:16 .git [2024-08-19T11:23:38.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 11:16 .github [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 272 Aug 19 11:16 .gitignore [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 19 11:16 .golangci.yml [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 17933 Aug 19 11:16 Attribution.txt [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 15941 Aug 19 11:16 CHANGELOG.md [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 1755 Aug 19 11:16 Dockerfile [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 19 11:16 GOVERNANCE.md [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 19 11:16 Jenkinsfile [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 19 11:16 LICENSE [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 1953 Aug 19 11:16 Makefile [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 19 11:16 OWNERS.md [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 4103 Aug 19 11:16 README.md [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 19 11:14 VERSION [2024-08-19T11:23:38.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 11:16 bin [2024-08-19T11:23:38.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 11:16 cmd [2024-08-19T11:23:38.615Z] -rw-r--r-- 1 jenkins jenkins 43247 Aug 19 11:22 coverage.out [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 6923 Aug 19 11:16 go.mod [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 19 11:16 go.sum [2024-08-19T11:23:38.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 11:16 internal [2024-08-19T11:23:38.615Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 19 11:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:23:39.057Z] + 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=07d1afac7dcf19a52e6976673496010a3f36fb6b --label arch=arm64 --label version=0.0.0 . [2024-08-19T11:23:39.640Z] Sending build context to Docker daemon 19.03MB [2024-08-19T11:23:39.640Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T11:23:39.640Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-19T11:23:39.640Z] ---> b52dcefdf2d9 [2024-08-19T11:23:39.640Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-19T11:23:39.908Z] ---> Running in 677a8a05f37e [2024-08-19T11:23:40.175Z] Removing intermediate container 677a8a05f37e [2024-08-19T11:23:40.175Z] ---> 3e5a42bc3a32 [2024-08-19T11:23:40.175Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-19T11:23:40.175Z] ---> Running in 0fb84050a099 [2024-08-19T11:23:40.447Z] Removing intermediate container 0fb84050a099 [2024-08-19T11:23:40.447Z] ---> 3ce458d8074e [2024-08-19T11:23:40.447Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-19T11:23:40.447Z] ---> Running in 1dc277eed43f [2024-08-19T11:23:40.724Z] Removing intermediate container 1dc277eed43f [2024-08-19T11:23:40.724Z] ---> e9a66f6cdf23 [2024-08-19T11:23:40.724Z] Step 6/26 : WORKDIR /device-virtual-go [2024-08-19T11:23:40.990Z] ---> Running in a745b1f1df13 [2024-08-19T11:23:41.255Z] Removing intermediate container a745b1f1df13 [2024-08-19T11:23:41.255Z] ---> a98a3ed141fb [2024-08-19T11:23:41.255Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-19T11:23:41.255Z] ---> Running in c873a1dcee2f [2024-08-19T11:23:42.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T11:23:42.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T11:23:43.741Z] OK: 271 MiB in 56 packages [2024-08-19T11:23:44.696Z] Removing intermediate container c873a1dcee2f [2024-08-19T11:23:44.696Z] ---> f89534153f9e [2024-08-19T11:23:44.696Z] Step 8/26 : COPY go.mod vendor* ./ [2024-08-19T11:23:44.964Z] ---> 9cb4b86d780c [2024-08-19T11:23:44.964Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T11:23:44.964Z] ---> Running in a63176cab388 [2024-08-19T11:23:47.554Z] Removing intermediate container a63176cab388 [2024-08-19T11:23:47.554Z] ---> 52ec3ad25da3 [2024-08-19T11:23:47.554Z] Step 10/26 : COPY . . [2024-08-19T11:23:48.961Z] ---> 351b71905e5f [2024-08-19T11:23:48.961Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-19T11:23:48.961Z] ---> Running in 70c4c3dfb48d [2024-08-19T11:23:49.228Z] Removing intermediate container 70c4c3dfb48d [2024-08-19T11:23:49.228Z] ---> 7f4ee843c89b [2024-08-19T11:23:49.228Z] Step 12/26 : RUN $MAKE [2024-08-19T11:23:49.228Z] ---> Running in d4bd5ff0d2df [2024-08-19T11:23:50.188Z] 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.31" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-08-19T11:27:11.953Z] Removing intermediate container d4bd5ff0d2df [2024-08-19T11:27:11.953Z] ---> 56bfc723f829 [2024-08-19T11:27:11.953Z] Step 13/26 : FROM alpine:3.18 [2024-08-19T11:27:11.953Z] 3.18: Pulling from library/alpine [2024-08-19T11:27:11.953Z] 4983c3fe2029: Pulling fs layer [2024-08-19T11:27:11.953Z] 4983c3fe2029: Verifying Checksum [2024-08-19T11:27:11.953Z] 4983c3fe2029: Download complete [2024-08-19T11:27:11.953Z] 4983c3fe2029: Pull complete [2024-08-19T11:27:11.953Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-19T11:27:11.953Z] Status: Downloaded newer image for alpine:3.18 [2024-08-19T11:27:11.953Z] ---> a0237000ae83 [2024-08-19T11:27:11.953Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-08-19T11:27:11.953Z] ---> Running in a51b1be2e130 [2024-08-19T11:27:11.953Z] Removing intermediate container a51b1be2e130 [2024-08-19T11:27:11.953Z] ---> 7cfaba76caa3 [2024-08-19T11:27:11.953Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-19T11:27:11.953Z] ---> Running in 35387c56e519 [2024-08-19T11:27:11.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T11:27:11.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T11:27:11.953Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-19T11:27:11.953Z] Executing busybox-1.36.1-r7.trigger [2024-08-19T11:27:11.953Z] OK: 8 MiB in 16 packages [2024-08-19T11:27:11.953Z] Removing intermediate container 35387c56e519 [2024-08-19T11:27:11.953Z] ---> 2c29c4909e70 [2024-08-19T11:27:11.953Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-19T11:27:11.953Z] ---> Running in 4475301b75f3 [2024-08-19T11:27:11.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T11:27:11.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T11:27:11.953Z] OK: 8 MiB in 16 packages [2024-08-19T11:27:11.953Z] Removing intermediate container 4475301b75f3 [2024-08-19T11:27:11.953Z] ---> ff6107d111dc [2024-08-19T11:27:11.953Z] Step 17/26 : WORKDIR / [2024-08-19T11:27:11.953Z] ---> Running in 961d45316711 [2024-08-19T11:27:11.953Z] Removing intermediate container 961d45316711 [2024-08-19T11:27:11.953Z] ---> ca03e80e0403 [2024-08-19T11:27:11.953Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-08-19T11:27:11.953Z] ---> 2cca65d38463 [2024-08-19T11:27:11.953Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-08-19T11:27:12.219Z] ---> c6f2f81a896e [2024-08-19T11:27:12.219Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-08-19T11:27:14.156Z] ---> ff627da9801c [2024-08-19T11:27:14.156Z] Step 21/26 : EXPOSE 59900 [2024-08-19T11:27:14.156Z] ---> Running in 5022d508f4c9 [2024-08-19T11:27:14.156Z] Removing intermediate container 5022d508f4c9 [2024-08-19T11:27:14.156Z] ---> d6f5d5fb9de2 [2024-08-19T11:27:14.156Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-08-19T11:27:14.421Z] ---> Running in dd1f4dec4787 [2024-08-19T11:27:14.421Z] Removing intermediate container dd1f4dec4787 [2024-08-19T11:27:14.421Z] ---> 5d4d1bacac62 [2024-08-19T11:27:14.421Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-19T11:27:14.686Z] ---> Running in 435760ccdcd1 [2024-08-19T11:27:14.951Z] Removing intermediate container 435760ccdcd1 [2024-08-19T11:27:14.951Z] ---> 01b39bfffea8 [2024-08-19T11:27:14.951Z] Step 24/26 : LABEL arch=arm64 [2024-08-19T11:27:14.951Z] ---> Running in 81a29fd4ea63 [2024-08-19T11:27:15.216Z] Removing intermediate container 81a29fd4ea63 [2024-08-19T11:27:15.216Z] ---> 05b44166926e [2024-08-19T11:27:15.216Z] Step 25/26 : LABEL git_sha=07d1afac7dcf19a52e6976673496010a3f36fb6b [2024-08-19T11:27:15.482Z] ---> Running in 5b27f8298418 [2024-08-19T11:27:15.750Z] Removing intermediate container 5b27f8298418 [2024-08-19T11:27:15.750Z] ---> 49c7b435e37e [2024-08-19T11:27:15.750Z] Step 26/26 : LABEL version=0.0.0 [2024-08-19T11:27:15.750Z] ---> Running in f39633271d2c [2024-08-19T11:27:16.015Z] Removing intermediate container f39633271d2c [2024-08-19T11:27:16.015Z] ---> 2823d5b45eef [2024-08-19T11:27:16.015Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-19T11:27:16.015Z] Successfully built 2823d5b45eef [2024-08-19T11:27:16.015Z] 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-08-19T11:27:16.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-19T11:27:16.979Z] [2024-08-19T11:27:16.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:27:17.411Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-19T11:27:17.411Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-19T11:27:17.411Z] 8998bd30e6a1: Pulling fs layer [2024-08-19T11:27:17.411Z] 04944245beec: Pulling fs layer [2024-08-19T11:27:17.411Z] 699f458cf7ca: Pulling fs layer [2024-08-19T11:27:17.411Z] 765212b225bb: Pulling fs layer [2024-08-19T11:27:17.411Z] f23df028b6ca: Pulling fs layer [2024-08-19T11:27:17.411Z] d65c8cfc05b1: Pulling fs layer [2024-08-19T11:27:17.411Z] 2437ff75d9bd: Pulling fs layer [2024-08-19T11:27:17.411Z] f23df028b6ca: Waiting [2024-08-19T11:27:17.411Z] d65c8cfc05b1: Waiting [2024-08-19T11:27:17.411Z] 2437ff75d9bd: Waiting [2024-08-19T11:27:17.411Z] 765212b225bb: Waiting [2024-08-19T11:27:17.678Z] 04944245beec: Verifying Checksum [2024-08-19T11:27:17.679Z] 04944245beec: Download complete [2024-08-19T11:27:17.679Z] 765212b225bb: Verifying Checksum [2024-08-19T11:27:17.679Z] 765212b225bb: Download complete [2024-08-19T11:27:17.679Z] f23df028b6ca: Verifying Checksum [2024-08-19T11:27:17.679Z] f23df028b6ca: Download complete [2024-08-19T11:27:17.679Z] d65c8cfc05b1: Verifying Checksum [2024-08-19T11:27:17.679Z] d65c8cfc05b1: Download complete [2024-08-19T11:27:17.679Z] 699f458cf7ca: Verifying Checksum [2024-08-19T11:27:17.679Z] 699f458cf7ca: Download complete [2024-08-19T11:27:18.261Z] 8998bd30e6a1: Verifying Checksum [2024-08-19T11:27:18.261Z] 8998bd30e6a1: Download complete [2024-08-19T11:27:20.838Z] 2437ff75d9bd: Verifying Checksum [2024-08-19T11:27:20.838Z] 2437ff75d9bd: Download complete [2024-08-19T11:27:22.770Z] 8998bd30e6a1: Pull complete [2024-08-19T11:27:23.351Z] 04944245beec: Pull complete [2024-08-19T11:27:24.755Z] 699f458cf7ca: Pull complete [2024-08-19T11:27:25.022Z] 765212b225bb: Pull complete [2024-08-19T11:27:25.981Z] f23df028b6ca: Pull complete [2024-08-19T11:27:26.247Z] d65c8cfc05b1: Pull complete [2024-08-19T11:27:44.452Z] 2437ff75d9bd: Pull complete [2024-08-19T11:27:44.452Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-19T11:27:44.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-19T11:27:44.452Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T11:27:44.822Z] prd-ubuntu20.04-docker-arm64-4c-16g-7963 does not seem to be running inside a container [2024-08-19T11:27:44.879Z] $ 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-08-19T11:27:47.481Z] $ docker top efbbcd31e0d810401f555cf299fa8e91a2147789a2d4e5873ed2aa26464e1d12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:27:48.416Z] ---> job-cost.sh [2024-08-19T11:27:48.416Z] lf-activate-venv: SKIPPING [2024-08-19T11:27:48.416Z] INFO: No Stack... [2024-08-19T11:27:48.680Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-19T11:27:49.632Z] INFO: Archiving Costs [Pipeline] sh [2024-08-19T11:27:49.987Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-08-19T11:27:49.987Z] + cut -d, -f6 [Pipeline] lock [2024-08-19T11:27:50.340Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-484-1-stack-cost] [2024-08-19T11:27:50.347Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-484-1-stack-cost] did not exist. Created. [2024-08-19T11:27:50.358Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-484-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-19T11:27:51.120Z] /w/workspace/device-virtual-go/1@tmp/durable-0d31777a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-19T11:27:51.788Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-19T11:27:51.837Z] Warning: overwriting stash ‘stack-cost’ [2024-08-19T11:27:51.882Z] Stashed 1 file(s) [Pipeline] } [2024-08-19T11:27:51.904Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-484-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-19T11:27:51.997Z] $ docker stop --time=1 efbbcd31e0d810401f555cf299fa8e91a2147789a2d4e5873ed2aa26464e1d12 [2024-08-19T11:27:53.507Z] $ docker rm -f --volumes efbbcd31e0d810401f555cf299fa8e91a2147789a2d4e5873ed2aa26464e1d12 [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-08-19T11:27:54.843Z] provisioning config files... [2024-08-19T11:27:55.824Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-484@tmp/config2151215008107989416tmp [Pipeline] { [Pipeline] sh [2024-08-19T11:27:57.068Z] + set +x [2024-08-19T11:27:57.068Z] + + bash -s -- [2024-08-19T11:27:57.068Z] curl -s https://codecov.io/bash [2024-08-19T11:27:57.068Z] [2024-08-19T11:27:57.068Z] _____ _ [2024-08-19T11:27:57.068Z] / ____| | | [2024-08-19T11:27:57.068Z] | | ___ __| | ___ ___ _____ __ [2024-08-19T11:27:57.068Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-19T11:27:57.068Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-19T11:27:57.068Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-19T11:27:57.068Z] Bash-1.0.6 [2024-08-19T11:27:57.068Z] [2024-08-19T11:27:57.068Z] [2024-08-19T11:27:57.068Z] ==> git version 2.25.1 found [2024-08-19T11:27:57.068Z] ==> 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-08-19T11:27:57.068Z] Release-Date: 2020-01-08 [2024-08-19T11:27:57.068Z] 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-08-19T11:27:57.068Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-19T11:27:57.068Z] ==> Jenkins CI detected. [2024-08-19T11:27:57.068Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-484 [2024-08-19T11:27:57.068Z] project root: . [2024-08-19T11:27:57.068Z] --> token set from env [2024-08-19T11:27:57.068Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-19T11:27:57.068Z] ==> Running gcov in . (disable via -X gcov) [2024-08-19T11:27:57.068Z] ==> Python coveragepy not found [2024-08-19T11:27:57.068Z] ==> Searching for coverage reports in: [2024-08-19T11:27:57.068Z] + . [2024-08-19T11:27:57.068Z] -> Found 1 reports [2024-08-19T11:27:57.068Z] ==> Detecting git/mercurial file structure [2024-08-19T11:27:57.068Z] ==> Reading reports [2024-08-19T11:27:57.068Z] + ./coverage.out bytes=43247 [2024-08-19T11:27:57.068Z] ==> Appending adjustments [2024-08-19T11:27:57.068Z] https://docs.codecov.io/docs/fixing-reports [2024-08-19T11:27:57.328Z] + Found adjustments [2024-08-19T11:27:57.328Z] ==> Gzipping contents [2024-08-19T11:27:57.328Z] 8.0K /tmp/codecov.tuTgk8.gz [2024-08-19T11:27:57.328Z] ==> Uploading reports [2024-08-19T11:27:57.328Z] url: https://codecov.io [2024-08-19T11:27:57.328Z] query: branch=PR-484&commit=07d1afac7dcf19a52e6976673496010a3f36fb6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-484%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=484&job=&cmd_args= [2024-08-19T11:27:57.328Z] -> Pinging Codecov [2024-08-19T11:27:57.328Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-484&commit=07d1afac7dcf19a52e6976673496010a3f36fb6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-484%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=484&job=&cmd_args= [2024-08-19T11:27:57.328Z] -> Uploading to [2024-08-19T11:27:57.328Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-19/5E52B4B073DB2E39498172D8E973AA87/07d1afac7dcf19a52e6976673496010a3f36fb6b/070fcd1b-a239-4412-890b-83ede0cee834.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240819%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240819T112757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb6431b3e1335c571806ccc534ec2afad494de7a95de4404e4c9571299b3d719 [2024-08-19T11:27:57.328Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-19T11:27:57.328Z] Dload Upload Total Spent Left Speed [2024-08-19T11:27:57.588Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 20925 --:--:-- --:--:-- --:--:-- 20925 [2024-08-19T11:27:57.588Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/07d1afac7dcf19a52e6976673496010a3f36fb6b [Pipeline] } [2024-08-19T11:27:57.624Z] 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-08-19T11:27:59.963Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-484/archives ] [2024-08-19T11:27:59.963Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-484/archives [2024-08-19T11:27:59.963Z] total 16 [2024-08-19T11:27:59.963Z] drwxr-xr-x 3 root root 4096 Aug 19 11:17 . [2024-08-19T11:27:59.963Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 19 11:17 .. [2024-08-19T11:27:59.963Z] drwxr-xr-x 2 root root 4096 Aug 19 11:17 cost [2024-08-19T11:27:59.963Z] -rw-r--r-- 1 root root 89 Aug 19 11:17 cost.csv [2024-08-19T11:27:59.963Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-484/archives [2024-08-19T11:27:59.963Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-484/archives [2024-08-19T11:27:59.963Z] total 16 [2024-08-19T11:27:59.963Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 19 11:17 . [2024-08-19T11:27:59.963Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 19 11:17 .. [2024-08-19T11:27:59.963Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 19 11:17 cost [2024-08-19T11:27:59.963Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 19 11:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:28:00.316Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:28:01.221Z] ---> package-listing.sh [2024-08-19T11:28:01.221Z] ++ facter osfamily [2024-08-19T11:28:01.221Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-19T11:28:01.481Z] + OS_FAMILY=debian [2024-08-19T11:28:01.481Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-484 [2024-08-19T11:28:01.481Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-19T11:28:01.481Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-19T11:28:01.481Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-19T11:28:01.481Z] + PACKAGES=/tmp/packages_start.txt [2024-08-19T11:28:01.481Z] + '[' /w/workspace/foundry_device-virtual-go_PR-484 ']' [2024-08-19T11:28:01.481Z] + PACKAGES=/tmp/packages_end.txt [2024-08-19T11:28:01.481Z] + case "${OS_FAMILY}" in [2024-08-19T11:28:01.481Z] + dpkg -l [2024-08-19T11:28:01.481Z] + grep '^ii' [2024-08-19T11:28:01.481Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-19T11:28:01.481Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-19T11:28:01.481Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-19T11:28:01.481Z] + '[' /w/workspace/foundry_device-virtual-go_PR-484 ']' [2024-08-19T11:28:01.481Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-484/archives/ [2024-08-19T11:28:01.481Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-484/archives/ [Pipeline] echo [2024-08-19T11:28:01.523Z] 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-484/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-19T11:28:01.829Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T11:28:02.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T11:28:02.478Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T11:28:02.643Z] prd-ubuntu20.04-docker-8c-8g-7962 does not seem to be running inside a container [2024-08-19T11:28:02.667Z] $ 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-484/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-484 -v /w/workspace/foundry_device-virtual-go_PR-484:/w/workspace/foundry_device-virtual-go_PR-484:rw,z -v /w/workspace/foundry_device-virtual-go_PR-484@tmp:/w/workspace/foundry_device-virtual-go_PR-484@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-08-19T11:28:02.836Z] $ docker top 68830f33ea22e203293e2568864f2dedf7a21e8f38c9f0b7693fd91bd3872612 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T11:28:03.259Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-19T11:28:03.578Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-19T11:28:03.901Z] + ls /var/log/sa-host [2024-08-19T11:28:03.901Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-19T11:28:04.152Z] provisioning config files... [2024-08-19T11:28:04.162Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-484@tmp/config120057333780457860tmp [Pipeline] { [Pipeline] echo [2024-08-19T11:28:04.224Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:28:04.548Z] ---> create-netrc.sh [Pipeline] } [2024-08-19T11:28:04.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:28:05.013Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-19T11:28:05.054Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:28:05.379Z] ---> sudo-logs.sh [2024-08-19T11:28:05.379Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-19T11:28:05.509Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:28:05.834Z] ---> job-cost.sh [2024-08-19T11:28:05.834Z] lf-activate-venv: SKIPPING [2024-08-19T11:28:05.834Z] DEBUG: total: 0.2199999988079071 [2024-08-19T11:28:05.834Z] INFO: Retrieving Stack Cost... [2024-08-19T11:28:06.403Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-19T11:28:06.972Z] INFO: Archiving Costs [Pipeline] echo [2024-08-19T11:28:07.023Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T11:28:07.354Z] ---> logs-deploy.sh [2024-08-19T11:28:07.354Z] lf-activate-venv: SKIPPING [2024-08-19T11:28:07.354Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-484/1 [2024-08-19T11:28:07.354Z] INFO: archiving workspace using pattern(s): [2024-08-19T11:28:08.291Z] Archives upload complete. [2024-08-19T11:28:08.291Z] INFO: archiving logs to Nexus