Pull request #475 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from ad92c84b73dbd8840292c1a592621e653de09e3c+5d512c18d1c7b78db7dd773bf8816c37bfaa059e (e6166834b0f1ba4c4e8276c1d50b35925b99665d) 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-ssh10830634151516324609.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-ssh11918840364311781439.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-475/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-475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2115893639715016677.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-475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15292088362482250752.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-ssh7531681157948816815.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-475/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-475/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18125678632790305015.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4769’ Running on prd-ubuntu20.04-docker-8c-8g-4772 in /w/workspace/foundry_device-virtual-go_PR-475 [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-475 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5d512c18d1c7b78db7dd773bf8816c37bfaa059e into PR head commit ad92c84b73dbd8840292c1a592621e653de09e3c Merge succeeded, producing ad92c84b73dbd8840292c1a592621e653de09e3c Checking out Revision ad92c84b73dbd8840292c1a592621e653de09e3c (PR-475) > 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/475/head:refs/remotes/origin/PR-475 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad92c84b73dbd8840292c1a592621e653de09e3c # 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 5d512c18d1c7b78db7dd773bf8816c37bfaa059e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad92c84b73dbd8840292c1a592621e653de09e3c # timeout=10 Commit message: "feat: Allow empty profileName in Device" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-02T05:48:09.558Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-02T05:48:09.760Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-02T05:48:09.880Z] ========================================================= [2024-07-02T05:48:09.880Z] EdgeX Global Pipelines Version Info [2024-07-02T05:48:09.880Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:48:10.646Z] ------------------- [2024-07-02T05:48:10.646Z] stable info: [2024-07-02T05:48:10.646Z] ------------------- [2024-07-02T05:48:10.646Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-02T05:48:10.646Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-02T05:48:10.646Z] Message: update stable to v1.0.260 [2024-07-02T05:48:11.219Z] ------------------- [2024-07-02T05:48:11.219Z] experimental info: [2024-07-02T05:48:11.219Z] ------------------- [2024-07-02T05:48:11.219Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-02T05:48:11.219Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-02T05:48:11.219Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-02T05:48:11.435Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-07-02T05:48:11.493Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-07-02T05:48:11.553Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-02T05:48:11.614Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-02T05:48:11.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-02T05:48:11.733Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-02T05:48:11.795Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-02T05:48:11.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-02T05:48:11.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-02T05:48:11.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-02T05:48:12.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-02T05:48:12.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-07-02T05:48:12.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-02T05:48:12.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-02T05:48:12.238Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-02T05:48:12.294Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-02T05:48:12.350Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-02T05:48:12.403Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-02T05:48:12.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-02T05:48:12.510Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-02T05:48:12.564Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-02T05:48:12.615Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-02T05:48:12.672Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-02T05:48:12.726Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-02T05:48:12.781Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-02T05:48:12.846Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-02T05:48:12.901Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-02T05:48:12.956Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-475 [Pipeline] echo [2024-07-02T05:48:13.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-475 [Pipeline] echo [2024-07-02T05:48:13.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-475 [Pipeline] echo [2024-07-02T05:48:13.134Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad92c84b73dbd8840292c1a592621e653de09e3c [Pipeline] echo [2024-07-02T05:48:13.187Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad92c84 [Pipeline] echo [2024-07-02T05:48:13.245Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T05:48:13.381Z] provisioning config files... [2024-07-02T05:48:13.394Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-475@tmp/config5329248881451245426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:48:13.785Z] ---> ****-login.sh [2024-07-02T05:48:13.785Z] nexus3.edgexfoundry.org:10001 [2024-07-02T05:48:14.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:48:14.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:48:14.045Z] Configure a credential helper to remove this warning. See [2024-07-02T05:48:14.045Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:48:14.045Z] [2024-07-02T05:48:14.045Z] Login Succeeded [2024-07-02T05:48:14.045Z] nexus3.edgexfoundry.org:10002 [2024-07-02T05:48:14.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:48:14.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:48:14.305Z] Configure a credential helper to remove this warning. See [2024-07-02T05:48:14.305Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:48:14.305Z] [2024-07-02T05:48:14.305Z] Login Succeeded [2024-07-02T05:48:14.305Z] nexus3.edgexfoundry.org:10003 [2024-07-02T05:48:14.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:48:14.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:48:14.305Z] Configure a credential helper to remove this warning. See [2024-07-02T05:48:14.306Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:48:14.306Z] [2024-07-02T05:48:14.306Z] Login Succeeded [2024-07-02T05:48:14.306Z] nexus3.edgexfoundry.org:10004 [2024-07-02T05:48:14.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:48:14.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:48:14.567Z] Configure a credential helper to remove this warning. See [2024-07-02T05:48:14.567Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:48:14.567Z] [2024-07-02T05:48:14.567Z] Login Succeeded [2024-07-02T05:48:14.567Z] ****.io [2024-07-02T05:48:14.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:48:14.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:48:14.829Z] Configure a credential helper to remove this warning. See [2024-07-02T05:48:14.829Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:48:14.829Z] [2024-07-02T05:48:14.829Z] Login Succeeded [2024-07-02T05:48:14.829Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T05:48:14.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-02T05:48:15.543Z] + git rev-list -1 --merges ad92c84b73dbd8840292c1a592621e653de09e3c~1..ad92c84b73dbd8840292c1a592621e653de09e3c [Pipeline] echo [2024-07-02T05:48:15.596Z] -----------> git rev-list -1 --merges ad92c84b73dbd8840292c1a592621e653de09e3c~1..ad92c84b73dbd8840292c1a592621e653de09e3c ad92c84b73dbd8840292c1a592621e653de09e3c [false] [Pipeline] sh [2024-07-02T05:48:15.916Z] + git log --format=format:%s -1 ad92c84b73dbd8840292c1a592621e653de09e3c [Pipeline] echo [2024-07-02T05:48:15.958Z] ========================================================= [2024-07-02T05:48:15.958Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-02T05:48:15.958Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T05:48:16.409Z] + git log --format=format:%s -1 ad92c84b73dbd8840292c1a592621e653de09e3c [Pipeline] echo [2024-07-02T05:48:16.444Z] [semverPrep] GIT_COMMIT: ad92c84b73dbd8840292c1a592621e653de09e3c, Commit Message: feat: Allow empty profileName in Device [Pipeline] echo [2024-07-02T05:48:16.484Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-02T05:48:16.950Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-02T05:48:16.950Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-02T05:48:16.950Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-02T05:48:16.950Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-02T05:48:16.950Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-02T05:48:16.950Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-02T05:48:16.950Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:48:17.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T05:48:17.417Z] [2024-07-02T05:48:17.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:48:17.804Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T05:48:17.804Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-02T05:48:17.804Z] b85a868b505f: Pulling fs layer [2024-07-02T05:48:17.804Z] e2be974225ed: Pulling fs layer [2024-07-02T05:48:17.804Z] 339a4e72a1f5: Pulling fs layer [2024-07-02T05:48:17.804Z] 988bab9f4d93: Pulling fs layer [2024-07-02T05:48:17.804Z] 1469e6f7b9e6: Pulling fs layer [2024-07-02T05:48:17.804Z] eaf3925da568: Pulling fs layer [2024-07-02T05:48:17.804Z] bab4dde63d76: Pulling fs layer [2024-07-02T05:48:17.804Z] bde34c3a00c8: Pulling fs layer [2024-07-02T05:48:17.804Z] b352a97aabf1: Pulling fs layer [2024-07-02T05:48:17.804Z] 4872d77fe225: Pulling fs layer [2024-07-02T05:48:17.804Z] 5851b861e8e6: Pulling fs layer [2024-07-02T05:48:17.804Z] 988bab9f4d93: Waiting [2024-07-02T05:48:17.804Z] b352a97aabf1: Waiting [2024-07-02T05:48:17.804Z] 4872d77fe225: Waiting [2024-07-02T05:48:17.804Z] 5851b861e8e6: Waiting [2024-07-02T05:48:17.804Z] eaf3925da568: Waiting [2024-07-02T05:48:17.804Z] bab4dde63d76: Waiting [2024-07-02T05:48:17.804Z] 1469e6f7b9e6: Waiting [2024-07-02T05:48:17.804Z] bde34c3a00c8: Waiting [2024-07-02T05:48:17.804Z] e2be974225ed: Verifying Checksum [2024-07-02T05:48:17.804Z] e2be974225ed: Download complete [2024-07-02T05:48:17.804Z] 988bab9f4d93: Verifying Checksum [2024-07-02T05:48:17.804Z] 988bab9f4d93: Download complete [2024-07-02T05:48:17.804Z] 1469e6f7b9e6: Verifying Checksum [2024-07-02T05:48:17.804Z] 1469e6f7b9e6: Download complete [2024-07-02T05:48:17.804Z] eaf3925da568: Verifying Checksum [2024-07-02T05:48:17.804Z] eaf3925da568: Download complete [2024-07-02T05:48:17.804Z] 339a4e72a1f5: Verifying Checksum [2024-07-02T05:48:17.804Z] 339a4e72a1f5: Download complete [2024-07-02T05:48:18.062Z] bde34c3a00c8: Verifying Checksum [2024-07-02T05:48:18.062Z] b352a97aabf1: Verifying Checksum [2024-07-02T05:48:18.062Z] b352a97aabf1: Download complete [2024-07-02T05:48:18.062Z] 4872d77fe225: Verifying Checksum [2024-07-02T05:48:18.062Z] 4872d77fe225: Download complete [2024-07-02T05:48:18.062Z] 5851b861e8e6: Verifying Checksum [2024-07-02T05:48:18.062Z] 5851b861e8e6: Download complete [2024-07-02T05:48:18.062Z] b85a868b505f: Verifying Checksum [2024-07-02T05:48:18.062Z] b85a868b505f: Download complete [2024-07-02T05:48:18.321Z] bab4dde63d76: Verifying Checksum [2024-07-02T05:48:18.321Z] bab4dde63d76: Download complete [2024-07-02T05:48:19.256Z] b85a868b505f: Pull complete [2024-07-02T05:48:19.256Z] e2be974225ed: Pull complete [2024-07-02T05:48:19.829Z] 339a4e72a1f5: Pull complete [2024-07-02T05:48:19.829Z] 988bab9f4d93: Pull complete [2024-07-02T05:48:20.091Z] 1469e6f7b9e6: Pull complete [2024-07-02T05:48:20.091Z] eaf3925da568: Pull complete [2024-07-02T05:48:21.994Z] bab4dde63d76: Pull complete [2024-07-02T05:48:21.994Z] bde34c3a00c8: Pull complete [2024-07-02T05:48:21.994Z] b352a97aabf1: Pull complete [2024-07-02T05:48:21.994Z] 4872d77fe225: Pull complete [2024-07-02T05:48:21.994Z] 5851b861e8e6: Pull complete [2024-07-02T05:48:21.994Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-02T05:48:21.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T05:48:21.994Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:48:22.278Z] prd-ubuntu20.04-docker-8c-8g-4772 does not seem to be running inside a container [2024-07-02T05:48:22.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-475 -v /w/workspace/foundry_device-virtual-go_PR-475:/w/workspace/foundry_device-virtual-go_PR-475:rw,z -v /w/workspace/foundry_device-virtual-go_PR-475@tmp:/w/workspace/foundry_device-virtual-go_PR-475@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-devops/py-git-semver:0.1.4 cat [2024-07-02T05:48:25.493Z] $ docker top e4dfdf5d3b3b4ad08080f62737c05de51e1ca731c607744f2f825709fd71b245 -eo pid,comm [2024-07-02T05:48:25.556Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-02T05:48:25.556Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-02T05:48:25.710Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T05:48:25.710Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T05:48:25.825Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T05:48:25.824Z] $ docker exec e4dfdf5d3b3b4ad08080f62737c05de51e1ca731c607744f2f825709fd71b245 ssh-agent [2024-07-02T05:48:25.931Z] SSH_AUTH_SOCK=/tmp/ssh-aapYodVKM946/agent.33 [2024-07-02T05:48:25.931Z] SSH_AGENT_PID=39 [2024-07-02T05:48:25.942Z] Running ssh-add (command line suppressed) [2024-07-02T05:48:26.045Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-475@tmp/private_key_2840975061728523913.key (/w/workspace/foundry_device-virtual-go_PR-475@tmp/private_key_2840975061728523913.key) [2024-07-02T05:48:26.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T05:48:26.415Z] + git tag --points-at HEAD [Pipeline] } [2024-07-02T05:48:26.438Z] $ docker exec --env ******** --env ******** e4dfdf5d3b3b4ad08080f62737c05de51e1ca731c607744f2f825709fd71b245 ssh-agent -k [2024-07-02T05:48:26.525Z] unset SSH_AUTH_SOCK; [2024-07-02T05:48:26.526Z] unset SSH_AGENT_PID; [2024-07-02T05:48:26.526Z] echo Agent pid 39 killed; [2024-07-02T05:48:26.539Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-02T05:48:26.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T05:48:26.649Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T05:48:26.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T05:48:26.763Z] $ docker exec e4dfdf5d3b3b4ad08080f62737c05de51e1ca731c607744f2f825709fd71b245 ssh-agent [2024-07-02T05:48:26.873Z] SSH_AUTH_SOCK=/tmp/ssh-bsCob0SlzQky/agent.72 [2024-07-02T05:48:26.873Z] SSH_AGENT_PID=78 [2024-07-02T05:48:26.876Z] Running ssh-add (command line suppressed) [2024-07-02T05:48:26.962Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-475@tmp/private_key_4527343154544452677.key (/w/workspace/foundry_device-virtual-go_PR-475@tmp/private_key_4527343154544452677.key) [2024-07-02T05:48:26.979Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T05:48:27.321Z] + git semver init [2024-07-02T05:48:27.580Z] 2024-07-02 05:48:27,485 [run_init] DEBUG init version:0.0.0 force:False [2024-07-02T05:48:27.580Z] 2024-07-02 05:48:27,486 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-475/.semver [2024-07-02T05:48:27.580Z] 2024-07-02 05:48:27,487 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-475/.semver [2024-07-02T05:48:27.580Z] 2024-07-02 05:48:27,487 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-475/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-475, universal_newlines=False, shell=None, istream=None) [2024-07-02T05:48:29.489Z] 2024-07-02 05:48:29,436 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-475/.git/info/exclude [2024-07-02T05:48:29.489Z] 2024-07-02 05:48:29,436 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-475/.semver/PR-475 with force:False [2024-07-02T05:48:29.489Z] 2024-07-02 05:48:29,436 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-475/.semver/PR-475 [2024-07-02T05:48:29.489Z] 2024-07-02 05:48:29,440 [execute] INFO git cat-file --batch-check [2024-07-02T05:48:29.489Z] 2024-07-02 05:48:29,440 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-475/.semver, universal_newlines=False, shell=None, istream=) [2024-07-02T05:48:29.489Z] 2024-07-02 05:48:29,446 [execute] INFO git cat-file --batch [2024-07-02T05:48:29.489Z] 2024-07-02 05:48:29,446 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-475/.semver, universal_newlines=False, shell=None, istream=) [2024-07-02T05:48:29.489Z] 2024-07-02 05:48:29,451 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-475/.semver/PR-475 [2024-07-02T05:48:29.489Z] 0.0.0 [Pipeline] } [2024-07-02T05:48:29.515Z] $ docker exec --env ******** --env ******** e4dfdf5d3b3b4ad08080f62737c05de51e1ca731c607744f2f825709fd71b245 ssh-agent -k [2024-07-02T05:48:29.609Z] unset SSH_AUTH_SOCK; [2024-07-02T05:48:29.610Z] unset SSH_AGENT_PID; [2024-07-02T05:48:29.610Z] echo Agent pid 78 killed; [2024-07-02T05:48:29.621Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-02T05:48:30.095Z] + git semver [Pipeline] } [2024-07-02T05:48:30.380Z] $ docker stop --time=1 e4dfdf5d3b3b4ad08080f62737c05de51e1ca731c607744f2f825709fd71b245 [2024-07-02T05:48:31.675Z] $ docker rm -f --volumes e4dfdf5d3b3b4ad08080f62737c05de51e1ca731c607744f2f825709fd71b245 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T05:48:32.109Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-02T05:48:32.424Z] Stashed 1 file(s) [Pipeline] echo [2024-07-02T05:48:32.448Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T05:48:33.114Z] provisioning config files... [2024-07-02T05:48:33.125Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-475@tmp/config3771327060730986153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:48:33.497Z] ---> ****-login.sh [2024-07-02T05:48:33.497Z] nexus3.edgexfoundry.org:10001 [2024-07-02T05:48:33.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:48:33.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:48:33.497Z] Configure a credential helper to remove this warning. See [2024-07-02T05:48:33.497Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:48:33.497Z] [2024-07-02T05:48:33.497Z] Login Succeeded [2024-07-02T05:48:33.497Z] nexus3.edgexfoundry.org:10002 [2024-07-02T05:48:33.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:48:33.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:48:33.498Z] Configure a credential helper to remove this warning. See [2024-07-02T05:48:33.498Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:48:33.498Z] [2024-07-02T05:48:33.498Z] Login Succeeded [2024-07-02T05:48:33.498Z] nexus3.edgexfoundry.org:10003 [2024-07-02T05:48:33.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:48:33.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:48:33.757Z] Configure a credential helper to remove this warning. See [2024-07-02T05:48:33.757Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:48:33.757Z] [2024-07-02T05:48:33.757Z] Login Succeeded [2024-07-02T05:48:33.757Z] nexus3.edgexfoundry.org:10004 [2024-07-02T05:48:33.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:48:33.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:48:33.757Z] Configure a credential helper to remove this warning. See [2024-07-02T05:48:33.757Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:48:33.757Z] [2024-07-02T05:48:33.757Z] Login Succeeded [2024-07-02T05:48:33.757Z] ****.io [2024-07-02T05:48:34.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:48:34.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:48:34.016Z] Configure a credential helper to remove this warning. See [2024-07-02T05:48:34.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:48:34.016Z] [2024-07-02T05:48:34.016Z] Login Succeeded [2024-07-02T05:48:34.016Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T05:48:34.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-02T05:48:34.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T05:48:34.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T05:48:34.380Z] ========================================================= [2024-07-02T05:48:34.380Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-02T05:48:34.380Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:48:34.884Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-02T05:48:34.884Z] Sending build context to Docker daemon 37.57MB [2024-07-02T05:48:34.884Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T05:48:34.884Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-02T05:48:35.153Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-02T05:48:35.153Z] 619be1103602: Pulling fs layer [2024-07-02T05:48:35.153Z] 7862e08f4a3e: Pulling fs layer [2024-07-02T05:48:35.153Z] 5df492c9dc93: Pulling fs layer [2024-07-02T05:48:35.153Z] 7629e6793208: Pulling fs layer [2024-07-02T05:48:35.153Z] 4f4fb700ef54: Pulling fs layer [2024-07-02T05:48:35.153Z] fb5054dd5b73: Pulling fs layer [2024-07-02T05:48:35.153Z] eeca6798cff9: Pulling fs layer [2024-07-02T05:48:35.153Z] aa269ceb94a6: Pulling fs layer [2024-07-02T05:48:35.153Z] fb5054dd5b73: Waiting [2024-07-02T05:48:35.153Z] 7629e6793208: Waiting [2024-07-02T05:48:35.153Z] eeca6798cff9: Waiting [2024-07-02T05:48:35.153Z] aa269ceb94a6: Waiting [2024-07-02T05:48:35.153Z] 4f4fb700ef54: Waiting [2024-07-02T05:48:35.153Z] ada007ff1a6a: Pulling fs layer [2024-07-02T05:48:35.153Z] ada007ff1a6a: Waiting [2024-07-02T05:48:35.153Z] 7862e08f4a3e: Verifying Checksum [2024-07-02T05:48:35.153Z] 7862e08f4a3e: Download complete [2024-07-02T05:48:35.153Z] 7629e6793208: Download complete [2024-07-02T05:48:35.153Z] 4f4fb700ef54: Download complete [2024-07-02T05:48:35.153Z] fb5054dd5b73: Verifying Checksum [2024-07-02T05:48:35.153Z] fb5054dd5b73: Download complete [2024-07-02T05:48:35.153Z] 619be1103602: Verifying Checksum [2024-07-02T05:48:35.153Z] 619be1103602: Download complete [2024-07-02T05:48:35.153Z] eeca6798cff9: Verifying Checksum [2024-07-02T05:48:35.153Z] eeca6798cff9: Download complete [2024-07-02T05:48:35.412Z] 619be1103602: Pull complete [2024-07-02T05:48:35.412Z] 7862e08f4a3e: Pull complete [2024-07-02T05:48:35.412Z] ada007ff1a6a: Verifying Checksum [2024-07-02T05:48:35.412Z] ada007ff1a6a: Download complete [2024-07-02T05:48:35.670Z] 5df492c9dc93: Verifying Checksum [2024-07-02T05:48:35.670Z] 5df492c9dc93: Download complete [2024-07-02T05:48:35.928Z] aa269ceb94a6: Verifying Checksum [2024-07-02T05:48:35.928Z] aa269ceb94a6: Download complete [2024-07-02T05:48:39.206Z] 5df492c9dc93: Pull complete [2024-07-02T05:48:39.206Z] 7629e6793208: Pull complete [2024-07-02T05:48:39.206Z] 4f4fb700ef54: Pull complete [2024-07-02T05:48:39.206Z] fb5054dd5b73: Pull complete [2024-07-02T05:48:39.206Z] eeca6798cff9: Pull complete [2024-07-02T05:48:41.106Z] aa269ceb94a6: Pull complete [2024-07-02T05:48:41.365Z] ada007ff1a6a: Pull complete [2024-07-02T05:48:41.624Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-02T05:48:41.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-02T05:48:41.624Z] ---> f489d0715acc [2024-07-02T05:48:41.624Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-02T05:48:47.918Z] Still waiting to schedule task [2024-07-02T05:48:47.918Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4771’ is offline [2024-07-02T05:48:48.202Z] ---> Running in b3a6efadf7c3 [2024-07-02T05:48:48.202Z] Removing intermediate container b3a6efadf7c3 [2024-07-02T05:48:48.202Z] ---> 4fa2bd9f880b [2024-07-02T05:48:48.202Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-02T05:48:48.202Z] ---> Running in 8aaf2c0f66a7 [2024-07-02T05:48:48.202Z] Removing intermediate container 8aaf2c0f66a7 [2024-07-02T05:48:48.202Z] ---> 6b53503b3564 [2024-07-02T05:48:48.202Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-02T05:48:48.202Z] ---> Running in a831806529d7 [2024-07-02T05:48:48.202Z] Removing intermediate container a831806529d7 [2024-07-02T05:48:48.202Z] ---> c33b77f8f7ba [2024-07-02T05:48:48.202Z] Step 6/12 : WORKDIR /device-virtual-go [2024-07-02T05:48:48.202Z] ---> Running in 704a93f07469 [2024-07-02T05:48:48.202Z] Removing intermediate container 704a93f07469 [2024-07-02T05:48:48.202Z] ---> f260c740116a [2024-07-02T05:48:48.202Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-02T05:48:48.462Z] ---> Running in b1e444604fe4 [2024-07-02T05:48:48.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T05:48:48.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T05:48:48.978Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-07-02T05:48:48.978Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-02T05:48:48.978Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-07-02T05:48:48.978Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-07-02T05:48:48.978Z] Executing busybox-1.36.1-r5.trigger [2024-07-02T05:48:48.978Z] OK: 268 MiB in 56 packages [2024-07-02T05:48:49.544Z] Removing intermediate container b1e444604fe4 [2024-07-02T05:48:49.544Z] ---> 90ab9bf7676f [2024-07-02T05:48:49.544Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-02T05:48:49.803Z] ---> a98be6744e23 [2024-07-02T05:48:49.803Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T05:48:49.803Z] ---> Running in 2270bedf874f [2024-07-02T05:49:57.503Z] Removing intermediate container 2270bedf874f [2024-07-02T05:49:57.503Z] ---> fd6e5e372b69 [2024-07-02T05:49:57.503Z] Step 10/12 : COPY . . [2024-07-02T05:49:57.504Z] ---> 47e479b35ef2 [2024-07-02T05:49:57.504Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T05:49:57.504Z] ---> Running in d1395964a9b7 [2024-07-02T05:49:57.504Z] Removing intermediate container d1395964a9b7 [2024-07-02T05:49:57.504Z] ---> 140342a718ae [2024-07-02T05:49:57.504Z] Step 12/12 : RUN $MAKE [2024-07-02T05:49:57.504Z] ---> Running in c9e90e2ace89 [2024-07-02T05:49:57.504Z] noop [2024-07-02T05:49:57.504Z] Removing intermediate container c9e90e2ace89 [2024-07-02T05:49:57.504Z] ---> 00ff3c0292c4 [2024-07-02T05:49:57.504Z] Successfully built 00ff3c0292c4 [2024-07-02T05:49:57.504Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:49:57.987Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-02T05:49:57.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:49:58.180Z] prd-ubuntu20.04-docker-8c-8g-4772 does not seem to be running inside a container [2024-07-02T05:49:58.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-475 -v /w/workspace/foundry_device-virtual-go_PR-475:/w/workspace/foundry_device-virtual-go_PR-475:rw,z -v /w/workspace/foundry_device-virtual-go_PR-475@tmp:/w/workspace/foundry_device-virtual-go_PR-475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-02T05:49:58.566Z] $ docker top b2a5044b2c5158cefbd8ba99870922a20be4d00b2c7b8136f29fd53ef3eb755f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T05:49:58.994Z] + go version [2024-07-02T05:49:58.994Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-02T05:49:59.031Z] $ docker stop --time=1 b2a5044b2c5158cefbd8ba99870922a20be4d00b2c7b8136f29fd53ef3eb755f [2024-07-02T05:50:00.281Z] $ docker rm -f --volumes b2a5044b2c5158cefbd8ba99870922a20be4d00b2c7b8136f29fd53ef3eb755f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:50:01.095Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-02T05:50:01.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:50:01.264Z] prd-ubuntu20.04-docker-8c-8g-4772 does not seem to be running inside a container [2024-07-02T05:50:01.301Z] $ 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-475 -v /w/workspace/foundry_device-virtual-go_PR-475:/w/workspace/foundry_device-virtual-go_PR-475:rw,z -v /w/workspace/foundry_device-virtual-go_PR-475@tmp:/w/workspace/foundry_device-virtual-go_PR-475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-02T05:50:01.638Z] $ docker top fbb049fd52b2a2f9f603eb7e957540b69d23d5380aaa14a91d09211874e0e39d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T05:50:02.049Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-475 [Pipeline] fileExists [Pipeline] sh [2024-07-02T05:50:02.424Z] + make test [2024-07-02T05:50:02.424Z] go test ./... -coverprofile=coverage.out [2024-07-02T05:50:04.328Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-07-02T05:50:22.404Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-07-02T05:50:22.404Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.010s coverage: 58.4% of statements [2024-07-02T05:50:23.129Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4774 in /w/workspace/foundry_device-virtual-go_PR-475 [Pipeline] { [Pipeline] ws [2024-07-02T05:50:23.219Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-07-02T05:50:23.322Z] The recommended git tool is: git [2024-07-02T05:50:30.513Z] go vet ./... [2024-07-02T05:50:31.189Z] using credential edgex-jenkins-ssh [2024-07-02T05:50:31.214Z] Cloning the remote Git repository [2024-07-02T05:50:31.270Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-07-02T05:50:31.385Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-07-02T05:50:31.642Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-07-02T05:50:31.643Z] > git --version # timeout=10 [2024-07-02T05:50:31.691Z] > git --version # 'git version 2.25.1' [2024-07-02T05:50:31.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T05:50:31.907Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-02T05:50:35.576Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-07-02T05:50:35.618Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-02T05:50:37.072Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-02T05:50:37.072Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-02T05:50:37.072Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-07-02T05:50:37.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-02T05:50:37.160Z] $ docker stop --time=1 fbb049fd52b2a2f9f603eb7e957540b69d23d5380aaa14a91d09211874e0e39d [2024-07-02T05:50:37.650Z] Merging remotes/origin/main commit 5d512c18d1c7b78db7dd773bf8816c37bfaa059e into PR head commit ad92c84b73dbd8840292c1a592621e653de09e3c [2024-07-02T05:50:37.913Z] Merge succeeded, producing ad92c84b73dbd8840292c1a592621e653de09e3c [2024-07-02T05:50:37.914Z] Checking out Revision ad92c84b73dbd8840292c1a592621e653de09e3c (PR-475) [2024-07-02T05:50:36.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-07-02T05:50:36.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-07-02T05:50:36.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T05:50:37.003Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/475/head:refs/remotes/origin/PR-475 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-02T05:50:37.664Z] > git config core.sparsecheckout # timeout=10 [2024-07-02T05:50:37.725Z] > git checkout -f ad92c84b73dbd8840292c1a592621e653de09e3c # timeout=10 [2024-07-02T05:50:37.804Z] > git remote # timeout=10 [2024-07-02T05:50:37.819Z] > git config --get remote.origin.url # timeout=10 [2024-07-02T05:50:37.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T05:50:37.864Z] > git merge 5d512c18d1c7b78db7dd773bf8816c37bfaa059e # timeout=10 [2024-07-02T05:50:37.890Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-02T05:50:37.918Z] > git config core.sparsecheckout # timeout=10 [2024-07-02T05:50:37.931Z] > git checkout -f ad92c84b73dbd8840292c1a592621e653de09e3c # timeout=10 [2024-07-02T05:50:41.524Z] Commit message: "feat: Allow empty profileName in Device" [2024-07-02T05:50:41.572Z] > git --version # timeout=10 [2024-07-02T05:50:41.584Z] > git --version # 'git version 2.25.1' [2024-07-02T05:50:41.603Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-02T05:50:43.020Z] $ docker rm -f --volumes fbb049fd52b2a2f9f603eb7e957540b69d23d5380aaa14a91d09211874e0e39d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-07-02T05:50:43.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2024-07-02T05:50:43.908Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-07-02T05:50:44.121Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-02T05:50:44.121Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T05:50:44.121Z] Dload Upload Total Spent Left Speed [2024-07-02T05:50:44.121Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 119k 0 --:--:-- --:--:-- --:--:-- 118k 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 117k [Pipeline] sh [2024-07-02T05:50:44.496Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh [2024-07-02T05:50:44.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-02T05:50:44.980Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-02T05:50:44.980Z] + sudo tee /etc/docker/daemon.new [2024-07-02T05:50:44.980Z] { [2024-07-02T05:50:44.980Z] "registry-mirrors": [ [2024-07-02T05:50:44.980Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-02T05:50:44.980Z] ], [2024-07-02T05:50:44.980Z] "bip": "10.250.0.254/24", [2024-07-02T05:50:44.980Z] "hosts": [ [2024-07-02T05:50:44.980Z] "tcp://0.0.0.0:5555", [2024-07-02T05:50:44.980Z] "unix:///var/run/docker.sock" [2024-07-02T05:50:44.980Z] ], [2024-07-02T05:50:44.980Z] "mtu": 1458, [2024-07-02T05:50:44.980Z] "selinux-enabled": true, [2024-07-02T05:50:44.980Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-02T05:50:44.980Z] } [Pipeline] sh [2024-07-02T05:50:45.195Z] + ls -al . [2024-07-02T05:50:45.195Z] total 276 [2024-07-02T05:50:45.195Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 05:50 . [2024-07-02T05:50:45.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 05:48 .. [2024-07-02T05:50:45.195Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 05:50 .git [2024-07-02T05:50:45.195Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:48 .github [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 272 Jul 2 05:48 .gitignore [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 05:48 .golangci.yml [2024-07-02T05:50:45.195Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 05:48 .semver [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 17933 Jul 2 05:48 Attribution.txt [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 15941 Jul 2 05:48 CHANGELOG.md [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 1755 Jul 2 05:48 Dockerfile [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 05:48 GOVERNANCE.md [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 2 05:48 Jenkinsfile [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 05:48 LICENSE [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 1953 Jul 2 05:48 Makefile [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 2 05:48 OWNERS.md [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 4103 Jul 2 05:48 README.md [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 05:48 VERSION [2024-07-02T05:50:45.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 05:48 bin [2024-07-02T05:50:45.195Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:48 cmd [2024-07-02T05:50:45.195Z] -rw-r--r-- 1 jenkins jenkins 43247 Jul 2 05:50 coverage.out [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 6979 Jul 2 05:48 go.mod [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 101949 Jul 2 05:48 go.sum [2024-07-02T05:50:45.195Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:48 internal [2024-07-02T05:50:45.195Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 2 05:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:50:45.343Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-02T05:50:45.614Z] + 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=ad92c84b73dbd8840292c1a592621e653de09e3c --label arch=amd64 --label version=0.0.0 . [2024-07-02T05:50:45.615Z] Sending build context to Docker daemon 37.62MB [2024-07-02T05:50:45.615Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T05:50:45.615Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-02T05:50:45.615Z] ---> 00ff3c0292c4 [2024-07-02T05:50:45.615Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-02T05:50:45.744Z] + sudo service docker restart [2024-07-02T05:50:46.552Z] ---> Running in d69d07db0df6 [2024-07-02T05:50:46.552Z] Removing intermediate container d69d07db0df6 [2024-07-02T05:50:46.552Z] ---> 647d04e4402c [2024-07-02T05:50:46.552Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-02T05:50:46.552Z] ---> Running in 6e065eccb597 [2024-07-02T05:50:46.552Z] Removing intermediate container 6e065eccb597 [2024-07-02T05:50:46.552Z] ---> a89c6584d5fb [2024-07-02T05:50:46.552Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-02T05:50:46.552Z] ---> Running in 5b3eb0e51e53 [2024-07-02T05:50:46.810Z] Removing intermediate container 5b3eb0e51e53 [2024-07-02T05:50:46.810Z] ---> 0e3a3fa55273 [2024-07-02T05:50:46.810Z] Step 6/26 : WORKDIR /device-virtual-go [2024-07-02T05:50:46.810Z] ---> Running in 8927c86324cb [2024-07-02T05:50:46.810Z] Removing intermediate container 8927c86324cb [2024-07-02T05:50:46.810Z] ---> 1f59e64415a6 [2024-07-02T05:50:46.810Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-02T05:50:46.810Z] ---> Running in d6e25dc3f8a4 [2024-07-02T05:50:47.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T05:50:47.329Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T05:50:47.588Z] OK: 268 MiB in 56 packages [2024-07-02T05:50:47.848Z] Removing intermediate container d6e25dc3f8a4 [2024-07-02T05:50:47.848Z] ---> 6a91bcdbfb8f [2024-07-02T05:50:47.848Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-02T05:50:47.848Z] ---> 174d0ac5aeb2 [2024-07-02T05:50:47.848Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T05:50:47.848Z] ---> Running in 696e4090b50e [2024-07-02T05:50:48.790Z] Removing intermediate container 696e4090b50e [2024-07-02T05:50:48.790Z] ---> 08718f75eaf6 [2024-07-02T05:50:48.790Z] Step 10/26 : COPY . . [2024-07-02T05:50:49.726Z] ---> c3b87019caa2 [2024-07-02T05:50:49.726Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T05:50:49.726Z] ---> Running in 25b54256c33a [2024-07-02T05:50:49.726Z] Removing intermediate container 25b54256c33a [2024-07-02T05:50:49.726Z] ---> 5ce0654f504f [2024-07-02T05:50:49.726Z] Step 12/26 : RUN $MAKE [2024-07-02T05:50:49.726Z] ---> Running in e8a2430dbd1f [2024-07-02T05:50:50.294Z] 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.19" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T05:51:04.085Z] provisioning config files... [2024-07-02T05:51:04.111Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3850077429173735230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:51:04.631Z] ---> ****-login.sh [2024-07-02T05:51:04.631Z] nexus3.edgexfoundry.org:10001 [2024-07-02T05:51:04.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:51:05.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:51:05.182Z] Configure a credential helper to remove this warning. See [2024-07-02T05:51:05.182Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:51:05.182Z] [2024-07-02T05:51:05.182Z] Login Succeeded [2024-07-02T05:51:05.182Z] nexus3.edgexfoundry.org:10002 [2024-07-02T05:51:05.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:51:05.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:51:05.452Z] Configure a credential helper to remove this warning. See [2024-07-02T05:51:05.452Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:51:05.452Z] [2024-07-02T05:51:05.452Z] Login Succeeded [2024-07-02T05:51:05.719Z] nexus3.edgexfoundry.org:10003 [2024-07-02T05:51:05.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:51:05.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:51:05.994Z] Configure a credential helper to remove this warning. See [2024-07-02T05:51:05.994Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:51:05.994Z] [2024-07-02T05:51:05.994Z] Login Succeeded [2024-07-02T05:51:05.994Z] nexus3.edgexfoundry.org:10004 [2024-07-02T05:51:06.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:51:06.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:51:06.264Z] Configure a credential helper to remove this warning. See [2024-07-02T05:51:06.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:51:06.264Z] [2024-07-02T05:51:06.264Z] Login Succeeded [2024-07-02T05:51:06.264Z] ****.io [2024-07-02T05:51:06.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:51:06.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:51:06.803Z] Configure a credential helper to remove this warning. See [2024-07-02T05:51:06.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:51:06.803Z] [2024-07-02T05:51:06.803Z] Login Succeeded [2024-07-02T05:51:06.803Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T05:51:06.845Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-02T05:51:07.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T05:51:07.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T05:51:07.390Z] ========================================================= [2024-07-02T05:51:07.390Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-02T05:51:07.390Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:51:07.957Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-02T05:51:08.546Z] Sending build context to Docker daemon 19MB [2024-07-02T05:51:08.546Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T05:51:08.546Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-02T05:51:08.546Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-02T05:51:08.546Z] c6b39de5b339: Pulling fs layer [2024-07-02T05:51:08.546Z] a69c41024577: Pulling fs layer [2024-07-02T05:51:08.546Z] d6de4b400683: Pulling fs layer [2024-07-02T05:51:08.546Z] 35cb2a7552d0: Pulling fs layer [2024-07-02T05:51:08.546Z] 4f4fb700ef54: Pulling fs layer [2024-07-02T05:51:08.546Z] 464afbd9ba4c: Pulling fs layer [2024-07-02T05:51:08.546Z] 00f215d4a9da: Pulling fs layer [2024-07-02T05:51:08.546Z] d496ad576159: Pulling fs layer [2024-07-02T05:51:08.546Z] 464afbd9ba4c: Waiting [2024-07-02T05:51:08.546Z] 00f215d4a9da: Waiting [2024-07-02T05:51:08.546Z] d496ad576159: Waiting [2024-07-02T05:51:08.546Z] 35cb2a7552d0: Waiting [2024-07-02T05:51:08.546Z] 4f4fb700ef54: Waiting [2024-07-02T05:51:08.818Z] a69c41024577: Verifying Checksum [2024-07-02T05:51:08.818Z] a69c41024577: Download complete [2024-07-02T05:51:08.818Z] 35cb2a7552d0: Verifying Checksum [2024-07-02T05:51:08.818Z] 35cb2a7552d0: Download complete [2024-07-02T05:51:08.818Z] 4f4fb700ef54: Verifying Checksum [2024-07-02T05:51:08.818Z] 4f4fb700ef54: Download complete [2024-07-02T05:51:08.818Z] 464afbd9ba4c: Verifying Checksum [2024-07-02T05:51:08.818Z] 464afbd9ba4c: Download complete [2024-07-02T05:51:08.818Z] c6b39de5b339: Download complete [2024-07-02T05:51:09.407Z] d496ad576159: Verifying Checksum [2024-07-02T05:51:09.407Z] d496ad576159: Download complete [2024-07-02T05:51:09.678Z] c6b39de5b339: Pull complete [2024-07-02T05:51:10.265Z] a69c41024577: Pull complete [2024-07-02T05:51:10.535Z] d6de4b400683: Verifying Checksum [2024-07-02T05:51:10.535Z] d6de4b400683: Download complete [2024-07-02T05:51:11.501Z] 00f215d4a9da: Verifying Checksum [2024-07-02T05:51:11.501Z] 00f215d4a9da: Download complete [2024-07-02T05:51:22.375Z] Removing intermediate container e8a2430dbd1f [2024-07-02T05:51:22.375Z] ---> 95b18f27dea8 [2024-07-02T05:51:22.375Z] Step 13/26 : FROM alpine:3.18 [2024-07-02T05:51:22.375Z] 3.18: Pulling from library/alpine [2024-07-02T05:51:22.375Z] 73baa7ef167e: Pulling fs layer [2024-07-02T05:51:22.375Z] 73baa7ef167e: Verifying Checksum [2024-07-02T05:51:22.375Z] 73baa7ef167e: Download complete [2024-07-02T05:51:22.375Z] 73baa7ef167e: Pull complete [2024-07-02T05:51:22.375Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-02T05:51:22.375Z] Status: Downloaded newer image for alpine:3.18 [2024-07-02T05:51:22.375Z] ---> 8fd7cac70a4a [2024-07-02T05:51:22.375Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-07-02T05:51:22.375Z] ---> Running in b12d5e853abc [2024-07-02T05:51:22.375Z] Removing intermediate container b12d5e853abc [2024-07-02T05:51:22.375Z] ---> fff3e18a655e [2024-07-02T05:51:22.375Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-02T05:51:22.375Z] ---> Running in 4eed2158c226 [2024-07-02T05:51:22.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T05:51:22.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T05:51:22.895Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-02T05:51:22.895Z] Executing busybox-1.36.1-r7.trigger [2024-07-02T05:51:22.895Z] OK: 7 MiB in 16 packages [2024-07-02T05:51:23.155Z] Removing intermediate container 4eed2158c226 [2024-07-02T05:51:23.155Z] ---> 62bc13982a7f [2024-07-02T05:51:23.155Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-02T05:51:23.155Z] ---> Running in f82c1e64d553 [2024-07-02T05:51:23.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T05:51:23.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T05:51:23.674Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T05:51:23.827Z] d6de4b400683: Pull complete [2024-07-02T05:51:23.827Z] 35cb2a7552d0: Pull complete [2024-07-02T05:51:23.827Z] 4f4fb700ef54: Pull complete [2024-07-02T05:51:23.827Z] 464afbd9ba4c: Pull complete [2024-07-02T05:51:23.933Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T05:51:23.933Z] OK: 7 MiB in 16 packages [2024-07-02T05:51:24.501Z] Removing intermediate container f82c1e64d553 [2024-07-02T05:51:24.501Z] ---> 075fd913b844 [2024-07-02T05:51:24.501Z] Step 17/26 : WORKDIR / [2024-07-02T05:51:24.501Z] ---> Running in c3ea8ab509a0 [2024-07-02T05:51:24.501Z] Removing intermediate container c3ea8ab509a0 [2024-07-02T05:51:24.501Z] ---> 2df0e7e3b33e [2024-07-02T05:51:24.501Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-07-02T05:51:24.760Z] ---> 2c8713e8af21 [2024-07-02T05:51:24.760Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-07-02T05:51:24.760Z] ---> 348488d99c71 [2024-07-02T05:51:24.760Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-07-02T05:51:26.137Z] ---> d27e8372c5a8 [2024-07-02T05:51:26.137Z] Step 21/26 : EXPOSE 59900 [2024-07-02T05:51:26.137Z] ---> Running in 6554171789a6 [2024-07-02T05:51:26.137Z] Removing intermediate container 6554171789a6 [2024-07-02T05:51:26.137Z] ---> a60cd3339a94 [2024-07-02T05:51:26.137Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-07-02T05:51:26.137Z] ---> Running in 50618fcede57 [2024-07-02T05:51:26.396Z] Removing intermediate container 50618fcede57 [2024-07-02T05:51:26.396Z] ---> aba72a1e172f [2024-07-02T05:51:26.396Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-02T05:51:26.396Z] ---> Running in 1234cf349921 [2024-07-02T05:51:26.396Z] Removing intermediate container 1234cf349921 [2024-07-02T05:51:26.396Z] ---> e00115bbfbae [2024-07-02T05:51:26.396Z] Step 24/26 : LABEL arch=amd64 [2024-07-02T05:51:26.396Z] ---> Running in 1f9cea9c23f2 [2024-07-02T05:51:26.396Z] Removing intermediate container 1f9cea9c23f2 [2024-07-02T05:51:26.396Z] ---> ee687157febc [2024-07-02T05:51:26.396Z] Step 25/26 : LABEL git_sha=ad92c84b73dbd8840292c1a592621e653de09e3c [2024-07-02T05:51:26.396Z] ---> Running in da947bdeeb79 [2024-07-02T05:51:26.655Z] Removing intermediate container da947bdeeb79 [2024-07-02T05:51:26.656Z] ---> 3ffdb6463ac7 [2024-07-02T05:51:26.656Z] Step 26/26 : LABEL version=0.0.0 [2024-07-02T05:51:26.656Z] ---> Running in 53b1cea572af [2024-07-02T05:51:26.656Z] Removing intermediate container 53b1cea572af [2024-07-02T05:51:26.656Z] ---> a85b23977fa8 [2024-07-02T05:51:26.656Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-02T05:51:26.656Z] Successfully built a85b23977fa8 [2024-07-02T05:51:26.656Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:51:27.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T05:51:27.664Z] [2024-07-02T05:51:27.664Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:51:28.075Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T05:51:28.075Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-02T05:51:28.075Z] 5eb5b503b376: Pulling fs layer [2024-07-02T05:51:28.075Z] 5c69ac0246d0: Pulling fs layer [2024-07-02T05:51:28.075Z] ec43610c2a17: Pulling fs layer [2024-07-02T05:51:28.075Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-02T05:51:28.075Z] 33b1e0a273af: Pulling fs layer [2024-07-02T05:51:28.075Z] 5d3b04190fa2: Pulling fs layer [2024-07-02T05:51:28.075Z] 2f39f015ded8: Pulling fs layer [2024-07-02T05:51:28.075Z] 33b1e0a273af: Waiting [2024-07-02T05:51:28.075Z] 5d3b04190fa2: Waiting [2024-07-02T05:51:28.075Z] 3a2ae6a8a46f: Waiting [2024-07-02T05:51:28.075Z] 5c69ac0246d0: Download complete [2024-07-02T05:51:28.075Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-02T05:51:28.075Z] 3a2ae6a8a46f: Download complete [2024-07-02T05:51:28.333Z] 33b1e0a273af: Verifying Checksum [2024-07-02T05:51:28.333Z] 33b1e0a273af: Download complete [2024-07-02T05:51:28.333Z] 5d3b04190fa2: Verifying Checksum [2024-07-02T05:51:28.333Z] 5d3b04190fa2: Download complete [2024-07-02T05:51:28.333Z] ec43610c2a17: Verifying Checksum [2024-07-02T05:51:28.333Z] ec43610c2a17: Download complete [2024-07-02T05:51:28.333Z] 5eb5b503b376: Download complete [2024-07-02T05:51:28.907Z] 2f39f015ded8: Download complete [2024-07-02T05:51:29.843Z] 5eb5b503b376: Pull complete [2024-07-02T05:51:29.843Z] 5c69ac0246d0: Pull complete [2024-07-02T05:51:30.101Z] ec43610c2a17: Pull complete [2024-07-02T05:51:30.362Z] 3a2ae6a8a46f: Pull complete [2024-07-02T05:51:30.362Z] 33b1e0a273af: Pull complete [2024-07-02T05:51:30.620Z] 5d3b04190fa2: Pull complete [2024-07-02T05:51:32.023Z] 00f215d4a9da: Pull complete [2024-07-02T05:51:33.968Z] d496ad576159: Pull complete [2024-07-02T05:51:33.968Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-02T05:51:33.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-02T05:51:33.968Z] ---> f246e2811388 [2024-07-02T05:51:33.968Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-02T05:51:34.807Z] 2f39f015ded8: Pull complete [2024-07-02T05:51:34.808Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-02T05:51:34.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T05:51:34.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:51:35.080Z] prd-ubuntu20.04-docker-8c-8g-4772 does not seem to be running inside a container [2024-07-02T05:51:35.118Z] $ 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-475 -v /w/workspace/foundry_device-virtual-go_PR-475:/w/workspace/foundry_device-virtual-go_PR-475:rw,z -v /w/workspace/foundry_device-virtual-go_PR-475@tmp:/w/workspace/foundry_device-virtual-go_PR-475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-02T05:51:35.389Z] ---> Running in 4cc7d7a56dab [2024-07-02T05:51:35.658Z] Removing intermediate container 4cc7d7a56dab [2024-07-02T05:51:35.658Z] ---> f112e121d676 [2024-07-02T05:51:35.658Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-02T05:51:35.926Z] ---> Running in 1a184cf76c2d [2024-07-02T05:51:36.193Z] Removing intermediate container 1a184cf76c2d [2024-07-02T05:51:36.193Z] ---> 4c54ef62fdd2 [2024-07-02T05:51:36.193Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-02T05:51:36.193Z] ---> Running in cae37fe62e45 [2024-07-02T05:51:36.465Z] Removing intermediate container cae37fe62e45 [2024-07-02T05:51:36.465Z] ---> fc811c945789 [2024-07-02T05:51:36.465Z] Step 6/12 : WORKDIR /device-virtual-go [2024-07-02T05:51:36.465Z] ---> Running in b0c23d69566a [2024-07-02T05:51:36.735Z] Removing intermediate container b0c23d69566a [2024-07-02T05:51:36.735Z] ---> 5f164d9e4ab4 [2024-07-02T05:51:36.735Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-02T05:51:37.009Z] ---> Running in aed879cd5b20 [2024-07-02T05:51:37.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T05:51:38.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T05:51:39.579Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-07-02T05:51:39.579Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-02T05:51:39.579Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-07-02T05:51:39.579Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-07-02T05:51:39.579Z] Executing busybox-1.36.1-r5.trigger [2024-07-02T05:51:39.579Z] OK: 271 MiB in 56 packages [2024-07-02T05:51:41.003Z] Removing intermediate container aed879cd5b20 [2024-07-02T05:51:41.003Z] ---> 299cea661078 [2024-07-02T05:51:41.003Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-02T05:51:41.195Z] $ docker top 933b5f20356331031e8c54e94e66eb19d12b7d7f201d9d9f0a0721ac1fb208b3 -eo pid,comm [2024-07-02T05:51:41.270Z] ---> 0e27dba23b89 [2024-07-02T05:51:41.270Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T05:51:41.270Z] ---> Running in b690914b55af [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:51:41.944Z] ---> job-cost.sh [2024-07-02T05:51:41.944Z] lf-activate-venv: SKIPPING [2024-07-02T05:51:41.944Z] INFO: No Stack... [2024-07-02T05:51:42.203Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-02T05:51:42.773Z] INFO: Archiving Costs [Pipeline] sh [2024-07-02T05:51:43.108Z] + cat /w/workspace/foundry_device-virtual-go_PR-475/archives/cost.csv [2024-07-02T05:51:43.108Z] + cut -d, -f6 [Pipeline] lock [2024-07-02T05:51:43.155Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-475-1-stack-cost] [2024-07-02T05:51:43.162Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-475-1-stack-cost] did not exist. Created. [2024-07-02T05:51:43.169Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-475-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-02T05:51:43.663Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-02T05:51:43.721Z] Stashed 1 file(s) [Pipeline] } [2024-07-02T05:51:43.758Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-475-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-02T05:51:43.850Z] $ docker stop --time=1 933b5f20356331031e8c54e94e66eb19d12b7d7f201d9d9f0a0721ac1fb208b3 [2024-07-02T05:51:44.999Z] $ docker rm -f --volumes 933b5f20356331031e8c54e94e66eb19d12b7d7f201d9d9f0a0721ac1fb208b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-02T05:53:32.993Z] Removing intermediate container b690914b55af [2024-07-02T05:53:32.993Z] ---> 4afafff7347d [2024-07-02T05:53:32.993Z] Step 10/12 : COPY . . [2024-07-02T05:53:32.993Z] ---> 6166f3f6c12a [2024-07-02T05:53:32.993Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T05:53:32.993Z] ---> Running in 4e936d641c2d [2024-07-02T05:53:32.993Z] Removing intermediate container 4e936d641c2d [2024-07-02T05:53:32.993Z] ---> a57db13745ee [2024-07-02T05:53:32.993Z] Step 12/12 : RUN $MAKE [2024-07-02T05:53:32.993Z] ---> Running in fa98ba3068ce [2024-07-02T05:53:32.993Z] noop [2024-07-02T05:53:32.993Z] Removing intermediate container fa98ba3068ce [2024-07-02T05:53:32.993Z] ---> 53451e168b1e [2024-07-02T05:53:32.993Z] Successfully built 53451e168b1e [2024-07-02T05:53:32.993Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:53:33.526Z] + docker inspect -f . ci-base-image-arm64 [2024-07-02T05:53:33.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:53:33.818Z] prd-ubuntu20.04-docker-arm64-4c-16g-4774 does not seem to be running inside a container [2024-07-02T05:53:33.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-02T05:53:35.068Z] $ docker top b9e56062b687c278b0c469adf17052e8db2eb9b6e09fd040c0f160e65d3d3c3c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T05:53:35.997Z] + go version [2024-07-02T05:53:35.997Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-02T05:53:36.033Z] $ docker stop --time=1 b9e56062b687c278b0c469adf17052e8db2eb9b6e09fd040c0f160e65d3d3c3c [2024-07-02T05:53:37.683Z] $ docker rm -f --volumes b9e56062b687c278b0c469adf17052e8db2eb9b6e09fd040c0f160e65d3d3c3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:53:38.592Z] + docker inspect -f . ci-base-image-arm64 [2024-07-02T05:53:38.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:53:38.845Z] prd-ubuntu20.04-docker-arm64-4c-16g-4774 does not seem to be running inside a container [2024-07-02T05:53:38.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-02T05:53:40.003Z] $ docker top bb0865b507bdc1c15ca6cafa4aae6455cd64822e239edec18c55eb2bea6db59a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T05:53:40.573Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-02T05:53:41.259Z] + make test [2024-07-02T05:53:41.259Z] go test ./... -coverprofile=coverage.out [2024-07-02T05:53:47.917Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-07-02T05:56:55.095Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-07-02T05:56:55.095Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.060s coverage: 58.3% of statements [2024-07-02T05:56:56.505Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-02T05:56:56.505Z] go vet ./... [2024-07-02T05:57:43.346Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-02T05:57:43.346Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-02T05:57:43.346Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-07-02T05:57:43.392Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-02T05:57:43.432Z] $ docker stop --time=1 bb0865b507bdc1c15ca6cafa4aae6455cd64822e239edec18c55eb2bea6db59a [2024-07-02T05:57:45.403Z] $ docker rm -f --volumes bb0865b507bdc1c15ca6cafa4aae6455cd64822e239edec18c55eb2bea6db59a [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T05:57:47.169Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-02T05:57:47.209Z] Warning: overwriting stash ‘coverage-report’ [2024-07-02T05:57:47.664Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T05:57:48.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-02T05:57:48.671Z] + ls -al . [2024-07-02T05:57:48.671Z] total 272 [2024-07-02T05:57:48.671Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 2 05:53 . [2024-07-02T05:57:48.671Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 05:50 .. [2024-07-02T05:57:48.671Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 05:50 .git [2024-07-02T05:57:48.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:50 .github [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 272 Jul 2 05:50 .gitignore [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 05:50 .golangci.yml [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 17933 Jul 2 05:50 Attribution.txt [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 15941 Jul 2 05:50 CHANGELOG.md [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 1755 Jul 2 05:50 Dockerfile [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 05:50 GOVERNANCE.md [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 2 05:50 Jenkinsfile [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 05:50 LICENSE [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 1953 Jul 2 05:50 Makefile [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 2 05:50 OWNERS.md [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 4103 Jul 2 05:50 README.md [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 05:48 VERSION [2024-07-02T05:57:48.671Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 05:50 bin [2024-07-02T05:57:48.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:50 cmd [2024-07-02T05:57:48.671Z] -rw-r--r-- 1 jenkins jenkins 43247 Jul 2 05:56 coverage.out [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 6979 Jul 2 05:50 go.mod [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 101949 Jul 2 05:50 go.sum [2024-07-02T05:57:48.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:50 internal [2024-07-02T05:57:48.671Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 2 05:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:57:49.127Z] + 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=ad92c84b73dbd8840292c1a592621e653de09e3c --label arch=arm64 --label version=0.0.0 . [2024-07-02T05:57:49.715Z] Sending build context to Docker daemon 19.04MB [2024-07-02T05:57:49.715Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T05:57:49.715Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-02T05:57:49.715Z] ---> 53451e168b1e [2024-07-02T05:57:49.715Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-02T05:57:49.982Z] ---> Running in bcda4e8aaa44 [2024-07-02T05:57:50.248Z] Removing intermediate container bcda4e8aaa44 [2024-07-02T05:57:50.248Z] ---> 179188bb9019 [2024-07-02T05:57:50.248Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-02T05:57:50.248Z] ---> Running in 2aefc0b26485 [2024-07-02T05:57:50.519Z] Removing intermediate container 2aefc0b26485 [2024-07-02T05:57:50.519Z] ---> 6af365caa523 [2024-07-02T05:57:50.519Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-02T05:57:50.519Z] ---> Running in 47fa65ce29f3 [2024-07-02T05:57:50.787Z] Removing intermediate container 47fa65ce29f3 [2024-07-02T05:57:50.787Z] ---> d54a9018ef3a [2024-07-02T05:57:50.787Z] Step 6/26 : WORKDIR /device-virtual-go [2024-07-02T05:57:50.787Z] ---> Running in 81cb7040b8fe [2024-07-02T05:57:51.382Z] Removing intermediate container 81cb7040b8fe [2024-07-02T05:57:51.382Z] ---> 7a7e73239706 [2024-07-02T05:57:51.382Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-02T05:57:51.382Z] ---> Running in e6df7724e9eb [2024-07-02T05:57:52.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T05:57:52.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T05:57:53.575Z] OK: 271 MiB in 56 packages [2024-07-02T05:57:54.538Z] Removing intermediate container e6df7724e9eb [2024-07-02T05:57:54.538Z] ---> f0453d3bbcbd [2024-07-02T05:57:54.538Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-02T05:57:55.124Z] ---> aea43209bb26 [2024-07-02T05:57:55.124Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T05:57:55.124Z] ---> Running in 3609f104c1a6 [2024-07-02T05:57:57.706Z] Removing intermediate container 3609f104c1a6 [2024-07-02T05:57:57.706Z] ---> 2f573c0ad272 [2024-07-02T05:57:57.706Z] Step 10/26 : COPY . . [2024-07-02T05:57:59.113Z] ---> f063703d930d [2024-07-02T05:57:59.113Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T05:57:59.113Z] ---> Running in eb008e4218e4 [2024-07-02T05:57:59.382Z] Removing intermediate container eb008e4218e4 [2024-07-02T05:57:59.382Z] ---> 80b82487b6d0 [2024-07-02T05:57:59.382Z] Step 12/26 : RUN $MAKE [2024-07-02T05:57:59.382Z] ---> Running in 1f2d5f57e879 [2024-07-02T05:58:00.349Z] 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.19" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-07-02T06:01:22.107Z] Removing intermediate container 1f2d5f57e879 [2024-07-02T06:01:22.107Z] ---> f8367bfdcbe4 [2024-07-02T06:01:22.107Z] Step 13/26 : FROM alpine:3.18 [2024-07-02T06:01:22.107Z] 3.18: Pulling from library/alpine [2024-07-02T06:01:22.107Z] 5c905c7ebe2f: Pulling fs layer [2024-07-02T06:01:22.107Z] 5c905c7ebe2f: Verifying Checksum [2024-07-02T06:01:22.107Z] 5c905c7ebe2f: Download complete [2024-07-02T06:01:22.107Z] 5c905c7ebe2f: Pull complete [2024-07-02T06:01:22.107Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-02T06:01:22.107Z] Status: Downloaded newer image for alpine:3.18 [2024-07-02T06:01:22.107Z] ---> dec292d02e07 [2024-07-02T06:01:22.107Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-07-02T06:01:22.107Z] ---> Running in a9c1fedef0f0 [2024-07-02T06:01:22.107Z] Removing intermediate container a9c1fedef0f0 [2024-07-02T06:01:22.107Z] ---> 4d916c224369 [2024-07-02T06:01:22.107Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-02T06:01:22.107Z] ---> Running in a8caa54fcb2a [2024-07-02T06:01:22.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T06:01:22.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T06:01:22.107Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-02T06:01:22.107Z] Executing busybox-1.36.1-r7.trigger [2024-07-02T06:01:22.107Z] OK: 8 MiB in 16 packages [2024-07-02T06:01:22.107Z] Removing intermediate container a8caa54fcb2a [2024-07-02T06:01:22.107Z] ---> 741c847b1440 [2024-07-02T06:01:22.107Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-02T06:01:22.107Z] ---> Running in b9443e13ab83 [2024-07-02T06:01:22.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T06:01:22.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T06:01:22.107Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T06:01:22.107Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T06:01:22.107Z] OK: 8 MiB in 16 packages [2024-07-02T06:01:22.107Z] Removing intermediate container b9443e13ab83 [2024-07-02T06:01:22.107Z] ---> 36c7392852bf [2024-07-02T06:01:22.107Z] Step 17/26 : WORKDIR / [2024-07-02T06:01:22.107Z] ---> Running in ed4b5b5cc7ed [2024-07-02T06:01:22.107Z] Removing intermediate container ed4b5b5cc7ed [2024-07-02T06:01:22.107Z] ---> 616393bd91f0 [2024-07-02T06:01:22.107Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-07-02T06:01:22.107Z] ---> d4d0ce6f4b77 [2024-07-02T06:01:22.107Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-07-02T06:01:22.373Z] ---> 2a864a7a3c0a [2024-07-02T06:01:22.373Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-07-02T06:01:24.414Z] ---> 37ddd94cc1e0 [2024-07-02T06:01:24.414Z] Step 21/26 : EXPOSE 59900 [2024-07-02T06:01:24.414Z] ---> Running in 3bafeaa648cd [2024-07-02T06:01:24.414Z] Removing intermediate container 3bafeaa648cd [2024-07-02T06:01:24.414Z] ---> dfac0aa2ce65 [2024-07-02T06:01:24.414Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-07-02T06:01:24.414Z] ---> Running in 1c685c86b9d0 [2024-07-02T06:01:25.006Z] Removing intermediate container 1c685c86b9d0 [2024-07-02T06:01:25.006Z] ---> dbd29be10738 [2024-07-02T06:01:25.006Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-02T06:01:25.006Z] ---> Running in ce2f48b02cf4 [2024-07-02T06:01:25.275Z] Removing intermediate container ce2f48b02cf4 [2024-07-02T06:01:25.275Z] ---> bfb2d2164321 [2024-07-02T06:01:25.275Z] Step 24/26 : LABEL arch=arm64 [2024-07-02T06:01:25.275Z] ---> Running in f213917249aa [2024-07-02T06:01:25.542Z] Removing intermediate container f213917249aa [2024-07-02T06:01:25.542Z] ---> 1162d5bde9f0 [2024-07-02T06:01:25.542Z] Step 25/26 : LABEL git_sha=ad92c84b73dbd8840292c1a592621e653de09e3c [2024-07-02T06:01:25.814Z] ---> Running in 11af271a4072 [2024-07-02T06:01:26.083Z] Removing intermediate container 11af271a4072 [2024-07-02T06:01:26.083Z] ---> b5bc7227eb95 [2024-07-02T06:01:26.083Z] Step 26/26 : LABEL version=0.0.0 [2024-07-02T06:01:26.083Z] ---> Running in be4435a11feb [2024-07-02T06:01:26.351Z] Removing intermediate container be4435a11feb [2024-07-02T06:01:26.351Z] ---> 314747764a56 [2024-07-02T06:01:26.351Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-02T06:01:26.351Z] Successfully built 314747764a56 [2024-07-02T06:01:26.351Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T06:01:27.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T06:01:27.265Z] [2024-07-02T06:01:27.265Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T06:01:27.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T06:01:27.727Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-02T06:01:27.727Z] 8998bd30e6a1: Pulling fs layer [2024-07-02T06:01:27.727Z] 04944245beec: Pulling fs layer [2024-07-02T06:01:27.727Z] 699f458cf7ca: Pulling fs layer [2024-07-02T06:01:27.727Z] 765212b225bb: Pulling fs layer [2024-07-02T06:01:27.727Z] f23df028b6ca: Pulling fs layer [2024-07-02T06:01:27.727Z] d65c8cfc05b1: Pulling fs layer [2024-07-02T06:01:27.727Z] 2437ff75d9bd: Pulling fs layer [2024-07-02T06:01:27.727Z] 765212b225bb: Waiting [2024-07-02T06:01:27.727Z] f23df028b6ca: Waiting [2024-07-02T06:01:27.727Z] d65c8cfc05b1: Waiting [2024-07-02T06:01:27.727Z] 2437ff75d9bd: Waiting [2024-07-02T06:01:27.995Z] 04944245beec: Verifying Checksum [2024-07-02T06:01:27.995Z] 04944245beec: Download complete [2024-07-02T06:01:27.995Z] 765212b225bb: Verifying Checksum [2024-07-02T06:01:27.995Z] 765212b225bb: Download complete [2024-07-02T06:01:27.995Z] f23df028b6ca: Verifying Checksum [2024-07-02T06:01:27.995Z] f23df028b6ca: Download complete [2024-07-02T06:01:27.995Z] d65c8cfc05b1: Verifying Checksum [2024-07-02T06:01:27.995Z] d65c8cfc05b1: Download complete [2024-07-02T06:01:28.263Z] 699f458cf7ca: Verifying Checksum [2024-07-02T06:01:28.263Z] 699f458cf7ca: Download complete [2024-07-02T06:01:28.531Z] 8998bd30e6a1: Verifying Checksum [2024-07-02T06:01:28.531Z] 8998bd30e6a1: Download complete [2024-07-02T06:01:31.114Z] 2437ff75d9bd: Verifying Checksum [2024-07-02T06:01:31.114Z] 2437ff75d9bd: Download complete [2024-07-02T06:01:33.057Z] 8998bd30e6a1: Pull complete [2024-07-02T06:01:33.642Z] 04944245beec: Pull complete [2024-07-02T06:01:35.050Z] 699f458cf7ca: Pull complete [2024-07-02T06:01:35.321Z] 765212b225bb: Pull complete [2024-07-02T06:01:35.902Z] f23df028b6ca: Pull complete [2024-07-02T06:01:36.168Z] d65c8cfc05b1: Pull complete [2024-07-02T06:01:54.361Z] 2437ff75d9bd: Pull complete [2024-07-02T06:01:54.361Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-02T06:01:54.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T06:01:54.361Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T06:01:54.710Z] prd-ubuntu20.04-docker-arm64-4c-16g-4774 does not seem to be running inside a container [2024-07-02T06:01:54.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-02T06:01:57.245Z] $ docker top aeac2091fc96db00561ff5b9188b1167b821230b7d67f8ef19d1195f5ebd86cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T06:01:57.815Z] ---> job-cost.sh [2024-07-02T06:01:58.080Z] lf-activate-venv: SKIPPING [2024-07-02T06:01:58.080Z] INFO: No Stack... [2024-07-02T06:01:58.656Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-02T06:01:59.232Z] INFO: Archiving Costs [Pipeline] sh [2024-07-02T06:01:59.577Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-07-02T06:01:59.578Z] + cut -d, -f6 [Pipeline] lock [2024-07-02T06:01:59.899Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-475-1-stack-cost] [2024-07-02T06:01:59.906Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-475-1-stack-cost] did not exist. Created. [2024-07-02T06:01:59.915Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-475-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-02T06:02:00.333Z] /w/workspace/device-virtual-go/1@tmp/durable-f4bceb31/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-02T06:02:00.690Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-02T06:02:00.732Z] Warning: overwriting stash ‘stack-cost’ [2024-07-02T06:02:00.777Z] Stashed 1 file(s) [Pipeline] } [2024-07-02T06:02:00.801Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-475-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-02T06:02:00.889Z] $ docker stop --time=1 aeac2091fc96db00561ff5b9188b1167b821230b7d67f8ef19d1195f5ebd86cf [2024-07-02T06:02:02.324Z] $ docker rm -f --volumes aeac2091fc96db00561ff5b9188b1167b821230b7d67f8ef19d1195f5ebd86cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-07-02T06:02:03.527Z] provisioning config files... [2024-07-02T06:02:03.535Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-475@tmp/config2004239911007231650tmp [Pipeline] { [Pipeline] sh [2024-07-02T06:02:03.887Z] + set +x [2024-07-02T06:02:03.887Z] + curl -s https://codecov.io/bash [2024-07-02T06:02:03.887Z] + bash -s -- [2024-07-02T06:02:03.887Z] [2024-07-02T06:02:03.887Z] _____ _ [2024-07-02T06:02:03.887Z] / ____| | | [2024-07-02T06:02:03.887Z] | | ___ __| | ___ ___ _____ __ [2024-07-02T06:02:03.887Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-02T06:02:03.887Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-02T06:02:03.887Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-02T06:02:03.887Z] Bash-1.0.6 [2024-07-02T06:02:03.887Z] [2024-07-02T06:02:03.887Z] [2024-07-02T06:02:03.887Z] ==> git version 2.25.1 found [2024-07-02T06:02:03.887Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-07-02T06:02:03.887Z] Release-Date: 2020-01-08 [2024-07-02T06:02:03.887Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-02T06:02:03.887Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-02T06:02:03.887Z] ==> Jenkins CI detected. [2024-07-02T06:02:03.887Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-475 [2024-07-02T06:02:03.887Z] project root: . [2024-07-02T06:02:03.887Z] --> token set from env [2024-07-02T06:02:03.887Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-02T06:02:03.887Z] ==> Running gcov in . (disable via -X gcov) [2024-07-02T06:02:03.887Z] ==> Python coveragepy not found [2024-07-02T06:02:03.887Z] ==> Searching for coverage reports in: [2024-07-02T06:02:03.887Z] + . [2024-07-02T06:02:04.146Z] -> Found 1 reports [2024-07-02T06:02:04.146Z] ==> Detecting git/mercurial file structure [2024-07-02T06:02:04.146Z] ==> Reading reports [2024-07-02T06:02:04.146Z] + ./coverage.out bytes=43247 [2024-07-02T06:02:04.146Z] ==> Appending adjustments [2024-07-02T06:02:04.146Z] https://docs.codecov.io/docs/fixing-reports [2024-07-02T06:02:04.146Z] + Found adjustments [2024-07-02T06:02:04.146Z] ==> Gzipping contents [2024-07-02T06:02:04.146Z] 8.0K /tmp/codecov.EYVxOj.gz [2024-07-02T06:02:04.146Z] ==> Uploading reports [2024-07-02T06:02:04.146Z] url: https://codecov.io [2024-07-02T06:02:04.146Z] query: branch=PR-475&commit=ad92c84b73dbd8840292c1a592621e653de09e3c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-475%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=475&job=&cmd_args= [2024-07-02T06:02:04.146Z] -> Pinging Codecov [2024-07-02T06:02:04.147Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-475&commit=ad92c84b73dbd8840292c1a592621e653de09e3c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-475%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=475&job=&cmd_args= [2024-07-02T06:02:04.147Z] -> Uploading to [2024-07-02T06:02:04.147Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-02/5E52B4B073DB2E39498172D8E973AA87/ad92c84b73dbd8840292c1a592621e653de09e3c/26fe2814-f067-4967-906d-e63176bb880d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240702%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240702T060204Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21b764cd5340f7160a7b46c5b5d597b8617f5ee5e33ccb3bc5a80404a7b2249c [2024-07-02T06:02:04.147Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T06:02:04.147Z] Dload Upload Total Spent Left Speed [2024-07-02T06:02:04.407Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 20838 --:--:-- --:--:-- --:--:-- 20838 [2024-07-02T06:02:04.407Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ad92c84b73dbd8840292c1a592621e653de09e3c [Pipeline] } [2024-07-02T06:02:04.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-02T06:02:06.755Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-475/archives ] [2024-07-02T06:02:06.755Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-475/archives [2024-07-02T06:02:06.755Z] total 16 [2024-07-02T06:02:06.755Z] drwxr-xr-x 3 root root 4096 Jul 2 05:51 . [2024-07-02T06:02:06.755Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 2 05:51 .. [2024-07-02T06:02:06.755Z] drwxr-xr-x 2 root root 4096 Jul 2 05:51 cost [2024-07-02T06:02:06.755Z] -rw-r--r-- 1 root root 89 Jul 2 05:51 cost.csv [2024-07-02T06:02:06.755Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-475/archives [2024-07-02T06:02:06.755Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-475/archives [2024-07-02T06:02:06.755Z] total 16 [2024-07-02T06:02:06.755Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 05:51 . [2024-07-02T06:02:06.755Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 2 05:51 .. [2024-07-02T06:02:06.755Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 2 05:51 cost [2024-07-02T06:02:06.755Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 2 05:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-02T06:02:07.095Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T06:02:08.002Z] ---> package-listing.sh [2024-07-02T06:02:08.003Z] ++ facter osfamily [2024-07-02T06:02:08.003Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-02T06:02:08.262Z] + OS_FAMILY=debian [2024-07-02T06:02:08.262Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-475 [2024-07-02T06:02:08.262Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-02T06:02:08.262Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-02T06:02:08.262Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-02T06:02:08.262Z] + PACKAGES=/tmp/packages_start.txt [2024-07-02T06:02:08.262Z] + '[' /w/workspace/foundry_device-virtual-go_PR-475 ']' [2024-07-02T06:02:08.262Z] + PACKAGES=/tmp/packages_end.txt [2024-07-02T06:02:08.262Z] + case "${OS_FAMILY}" in [2024-07-02T06:02:08.262Z] + dpkg -l [2024-07-02T06:02:08.262Z] + grep '^ii' [2024-07-02T06:02:08.262Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-02T06:02:08.262Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-02T06:02:08.262Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-02T06:02:08.262Z] + '[' /w/workspace/foundry_device-virtual-go_PR-475 ']' [2024-07-02T06:02:08.262Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-475/archives/ [2024-07-02T06:02:08.262Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-475/archives/ [Pipeline] echo [2024-07-02T06:02:08.302Z] 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-475/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-02T06:02:08.599Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T06:02:09.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T06:02:09.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T06:02:09.422Z] prd-ubuntu20.04-docker-8c-8g-4772 does not seem to be running inside a container [2024-07-02T06:02:09.506Z] $ 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-475/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-475 -v /w/workspace/foundry_device-virtual-go_PR-475:/w/workspace/foundry_device-virtual-go_PR-475:rw,z -v /w/workspace/foundry_device-virtual-go_PR-475@tmp:/w/workspace/foundry_device-virtual-go_PR-475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-02T06:02:09.680Z] $ docker top bce9815da6dfb30777966e35f37c2c6cd4ae3d58ec0cf51b8859597b13e0d4a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T06:02:10.118Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-02T06:02:10.455Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-02T06:02:10.778Z] + ls /var/log/sa-host [2024-07-02T06:02:10.778Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T06:02:10.935Z] provisioning config files... [2024-07-02T06:02:10.945Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-475@tmp/config5024350594601670270tmp [Pipeline] { [Pipeline] echo [2024-07-02T06:02:11.012Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T06:02:11.336Z] ---> create-netrc.sh [Pipeline] } [2024-07-02T06:02:11.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-02T06:02:11.779Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-02T06:02:11.824Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T06:02:12.152Z] ---> sudo-logs.sh [2024-07-02T06:02:12.152Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-02T06:02:12.251Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T06:02:12.570Z] ---> job-cost.sh [2024-07-02T06:02:12.570Z] lf-activate-venv: SKIPPING [2024-07-02T06:02:12.570Z] DEBUG: total: 0.2199999988079071 [2024-07-02T06:02:12.570Z] INFO: Retrieving Stack Cost... [2024-07-02T06:02:12.831Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-02T06:02:13.091Z] INFO: Archiving Costs [Pipeline] echo [2024-07-02T06:02:13.134Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T06:02:13.459Z] ---> logs-deploy.sh [2024-07-02T06:02:13.460Z] lf-activate-venv: SKIPPING [2024-07-02T06:02:13.460Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-475/1 [2024-07-02T06:02:13.460Z] INFO: archiving workspace using pattern(s): [2024-07-02T06:02:14.396Z] Archives upload complete. [2024-07-02T06:02:14.396Z] INFO: archiving logs to Nexus