Pull request #479 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f45d463b5cf09a947b224bc2f888c28ac41aa005+5f72e015f34b47f5606eaa448abf809a2ca1fd82 (a7dfad86f267cf387c3380569be3dc3696c29f35) 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-ssh855061357453670881.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-ssh16927600800288628492.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-479/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-479/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4438183054120279895.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-479/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6258860643974275260.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-ssh4954903117332758179.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-479/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-479/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17982248543574242612.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5936 in /w/workspace/foundry_device-virtual-go_PR-479 [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-479 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5f72e015f34b47f5606eaa448abf809a2ca1fd82 into PR head commit f45d463b5cf09a947b224bc2f888c28ac41aa005 Merge succeeded, producing f45d463b5cf09a947b224bc2f888c28ac41aa005 Checking out Revision f45d463b5cf09a947b224bc2f888c28ac41aa005 (PR-479) > 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/479/head:refs/remotes/origin/PR-479 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f45d463b5cf09a947b224bc2f888c28ac41aa005 # 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 5f72e015f34b47f5606eaa448abf809a2ca1fd82 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f45d463b5cf09a947b224bc2f888c28ac41aa005 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-19T11:54:04.654Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-19T11:54:05.350Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-19T11:54:05.766Z] ========================================================= [2024-07-19T11:54:05.766Z] EdgeX Global Pipelines Version Info [2024-07-19T11:54:05.766Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-19T11:54:06.964Z] ------------------- [2024-07-19T11:54:06.964Z] stable info: [2024-07-19T11:54:06.964Z] ------------------- [2024-07-19T11:54:06.964Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-19T11:54:06.964Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-19T11:54:06.964Z] Message: update stable to v1.0.260 [2024-07-19T11:54:07.617Z] ------------------- [2024-07-19T11:54:07.617Z] experimental info: [2024-07-19T11:54:07.617Z] ------------------- [2024-07-19T11:54:07.617Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-19T11:54:07.617Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-19T11:54:07.617Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-19T11:54:08.318Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-07-19T11:54:08.570Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-07-19T11:54:08.853Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-19T11:54:09.064Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-19T11:54:09.287Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-19T11:54:09.519Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-19T11:54:09.693Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-19T11:54:09.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-19T11:54:10.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-19T11:54:10.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-19T11:54:10.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-19T11:54:10.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-07-19T11:54:10.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-19T11:54:11.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-19T11:54:11.331Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-19T11:54:11.493Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-19T11:54:11.746Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-19T11:54:11.955Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-19T11:54:12.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-19T11:54:12.345Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-19T11:54:12.461Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-19T11:54:12.671Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-19T11:54:12.863Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-19T11:54:13.056Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-19T11:54:13.199Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-19T11:54:13.361Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-19T11:54:13.532Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-19T11:54:13.732Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-479 [Pipeline] echo [2024-07-19T11:54:13.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-479 [Pipeline] echo [2024-07-19T11:54:14.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-479 [Pipeline] echo [2024-07-19T11:54:14.318Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f45d463b5cf09a947b224bc2f888c28ac41aa005 [Pipeline] echo [2024-07-19T11:54:14.483Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f45d463 [Pipeline] echo [2024-07-19T11:54:14.657Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T11:54:15.054Z] provisioning config files... [2024-07-19T11:54:15.102Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-479@tmp/config14807469278805467090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T11:54:15.902Z] ---> ****-login.sh [2024-07-19T11:54:15.902Z] nexus3.edgexfoundry.org:10001 [2024-07-19T11:54:15.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:54:16.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:54:16.221Z] Configure a credential helper to remove this warning. See [2024-07-19T11:54:16.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:54:16.221Z] [2024-07-19T11:54:16.221Z] Login Succeeded [2024-07-19T11:54:16.221Z] nexus3.edgexfoundry.org:10002 [2024-07-19T11:54:16.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:54:16.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:54:16.221Z] Configure a credential helper to remove this warning. See [2024-07-19T11:54:16.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:54:16.221Z] [2024-07-19T11:54:16.221Z] Login Succeeded [2024-07-19T11:54:16.221Z] nexus3.edgexfoundry.org:10003 [2024-07-19T11:54:16.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:54:16.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:54:16.518Z] Configure a credential helper to remove this warning. See [2024-07-19T11:54:16.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:54:16.518Z] [2024-07-19T11:54:16.518Z] Login Succeeded [2024-07-19T11:54:16.518Z] nexus3.edgexfoundry.org:10004 [2024-07-19T11:54:16.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:54:16.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:54:16.518Z] Configure a credential helper to remove this warning. See [2024-07-19T11:54:16.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:54:16.518Z] [2024-07-19T11:54:16.518Z] Login Succeeded [2024-07-19T11:54:16.518Z] ****.io [2024-07-19T11:54:16.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:54:16.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:54:16.819Z] Configure a credential helper to remove this warning. See [2024-07-19T11:54:16.819Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:54:16.819Z] [2024-07-19T11:54:16.819Z] Login Succeeded [2024-07-19T11:54:16.819Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T11:54:16.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-19T11:54:18.421Z] + git rev-list -1 --merges f45d463b5cf09a947b224bc2f888c28ac41aa005~1..f45d463b5cf09a947b224bc2f888c28ac41aa005 [Pipeline] echo [2024-07-19T11:54:18.652Z] -----------> git rev-list -1 --merges f45d463b5cf09a947b224bc2f888c28ac41aa005~1..f45d463b5cf09a947b224bc2f888c28ac41aa005 f45d463b5cf09a947b224bc2f888c28ac41aa005 [false] [Pipeline] sh [2024-07-19T11:54:19.206Z] + git log --format=format:%s -1 f45d463b5cf09a947b224bc2f888c28ac41aa005 [Pipeline] echo [2024-07-19T11:54:19.330Z] ========================================================= [2024-07-19T11:54:19.330Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-19T11:54:19.330Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T11:54:20.379Z] + git log --format=format:%s -1 f45d463b5cf09a947b224bc2f888c28ac41aa005 [Pipeline] echo [2024-07-19T11:54:20.533Z] [semverPrep] GIT_COMMIT: f45d463b5cf09a947b224bc2f888c28ac41aa005, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-19T11:54:20.677Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-19T11:54:21.355Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-19T11:54:21.355Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-19T11:54:21.355Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-19T11:54:21.355Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-19T11:54:21.355Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-19T11:54:21.355Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-19T11:54:21.355Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T11:54:22.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T11:54:22.185Z] [2024-07-19T11:54:22.185Z] 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-19T11:54:22.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T11:54:22.955Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-19T11:54:22.955Z] b85a868b505f: Pulling fs layer [2024-07-19T11:54:22.955Z] e2be974225ed: Pulling fs layer [2024-07-19T11:54:22.955Z] 339a4e72a1f5: Pulling fs layer [2024-07-19T11:54:22.955Z] 988bab9f4d93: Pulling fs layer [2024-07-19T11:54:22.955Z] 1469e6f7b9e6: Pulling fs layer [2024-07-19T11:54:22.955Z] eaf3925da568: Pulling fs layer [2024-07-19T11:54:22.955Z] bab4dde63d76: Pulling fs layer [2024-07-19T11:54:22.955Z] bde34c3a00c8: Pulling fs layer [2024-07-19T11:54:22.955Z] b352a97aabf1: Pulling fs layer [2024-07-19T11:54:22.955Z] 4872d77fe225: Pulling fs layer [2024-07-19T11:54:22.955Z] 5851b861e8e6: Pulling fs layer [2024-07-19T11:54:22.955Z] bab4dde63d76: Waiting [2024-07-19T11:54:22.955Z] bde34c3a00c8: Waiting [2024-07-19T11:54:22.955Z] b352a97aabf1: Waiting [2024-07-19T11:54:22.955Z] 4872d77fe225: Waiting [2024-07-19T11:54:22.955Z] 5851b861e8e6: Waiting [2024-07-19T11:54:22.955Z] 988bab9f4d93: Waiting [2024-07-19T11:54:22.955Z] eaf3925da568: Waiting [2024-07-19T11:54:22.955Z] 1469e6f7b9e6: Waiting [2024-07-19T11:54:22.955Z] e2be974225ed: Verifying Checksum [2024-07-19T11:54:22.955Z] e2be974225ed: Download complete [2024-07-19T11:54:22.955Z] 988bab9f4d93: Verifying Checksum [2024-07-19T11:54:22.955Z] 988bab9f4d93: Download complete [2024-07-19T11:54:22.955Z] 1469e6f7b9e6: Verifying Checksum [2024-07-19T11:54:22.955Z] 1469e6f7b9e6: Download complete [2024-07-19T11:54:22.955Z] 339a4e72a1f5: Verifying Checksum [2024-07-19T11:54:22.955Z] 339a4e72a1f5: Download complete [2024-07-19T11:54:22.955Z] eaf3925da568: Verifying Checksum [2024-07-19T11:54:22.955Z] eaf3925da568: Download complete [2024-07-19T11:54:23.250Z] bde34c3a00c8: Verifying Checksum [2024-07-19T11:54:23.250Z] bde34c3a00c8: Download complete [2024-07-19T11:54:23.250Z] b352a97aabf1: Verifying Checksum [2024-07-19T11:54:23.250Z] b352a97aabf1: Download complete [2024-07-19T11:54:23.250Z] 4872d77fe225: Verifying Checksum [2024-07-19T11:54:23.250Z] 4872d77fe225: Download complete [2024-07-19T11:54:23.250Z] 5851b861e8e6: Download complete [2024-07-19T11:54:23.250Z] b85a868b505f: Verifying Checksum [2024-07-19T11:54:23.250Z] b85a868b505f: Download complete [2024-07-19T11:54:23.529Z] bab4dde63d76: Verifying Checksum [2024-07-19T11:54:23.529Z] bab4dde63d76: Download complete [2024-07-19T11:54:24.614Z] b85a868b505f: Pull complete [2024-07-19T11:54:24.614Z] e2be974225ed: Pull complete [2024-07-19T11:54:25.292Z] 339a4e72a1f5: Pull complete [2024-07-19T11:54:25.292Z] 988bab9f4d93: Pull complete [2024-07-19T11:54:25.591Z] 1469e6f7b9e6: Pull complete [2024-07-19T11:54:25.591Z] eaf3925da568: Pull complete [2024-07-19T11:54:27.076Z] bab4dde63d76: Pull complete [2024-07-19T11:54:27.372Z] bde34c3a00c8: Pull complete [2024-07-19T11:54:27.372Z] b352a97aabf1: Pull complete [2024-07-19T11:54:27.372Z] 4872d77fe225: Pull complete [2024-07-19T11:54:27.668Z] 5851b861e8e6: Pull complete [2024-07-19T11:54:27.668Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-19T11:54:27.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-19T11:54:27.668Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T11:54:28.569Z] prd-ubuntu20.04-docker-8c-8g-5936 does not seem to be running inside a container [2024-07-19T11:54:28.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-479 -v /w/workspace/foundry_device-virtual-go_PR-479:/w/workspace/foundry_device-virtual-go_PR-479:rw,z -v /w/workspace/foundry_device-virtual-go_PR-479@tmp:/w/workspace/foundry_device-virtual-go_PR-479@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-19T11:54:31.575Z] $ docker top 8693cf0b7adf1afbf0ce3fb7af0de2e954fc75e76b9ba34a12ebef8041b20d04 -eo pid,comm [2024-07-19T11:54:31.665Z] 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-19T11:54:31.665Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-19T11:54:32.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T11:54:32.303Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T11:54:32.452Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T11:54:32.452Z] $ docker exec 8693cf0b7adf1afbf0ce3fb7af0de2e954fc75e76b9ba34a12ebef8041b20d04 ssh-agent [2024-07-19T11:54:32.582Z] SSH_AUTH_SOCK=/tmp/ssh-u1Dzy9twI7oi/agent.32 [2024-07-19T11:54:32.582Z] SSH_AGENT_PID=38 [2024-07-19T11:54:32.604Z] Running ssh-add (command line suppressed) [2024-07-19T11:54:32.700Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-479@tmp/private_key_4270295392792434748.key (/w/workspace/foundry_device-virtual-go_PR-479@tmp/private_key_4270295392792434748.key) [2024-07-19T11:54:32.778Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T11:54:33.423Z] + git tag --points-at HEAD [Pipeline] } [2024-07-19T11:54:33.608Z] $ docker exec --env ******** --env ******** 8693cf0b7adf1afbf0ce3fb7af0de2e954fc75e76b9ba34a12ebef8041b20d04 ssh-agent -k [2024-07-19T11:54:33.707Z] unset SSH_AUTH_SOCK; [2024-07-19T11:54:33.707Z] unset SSH_AGENT_PID; [2024-07-19T11:54:33.707Z] echo Agent pid 38 killed; [2024-07-19T11:54:33.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-19T11:54:34.151Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-19T11:54:34.151Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-19T11:54:34.289Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-19T11:54:34.289Z] $ docker exec 8693cf0b7adf1afbf0ce3fb7af0de2e954fc75e76b9ba34a12ebef8041b20d04 ssh-agent [2024-07-19T11:54:34.465Z] SSH_AUTH_SOCK=/tmp/ssh-Y8KkkwUGvniZ/agent.71 [2024-07-19T11:54:34.465Z] SSH_AGENT_PID=77 [2024-07-19T11:54:34.533Z] Running ssh-add (command line suppressed) [2024-07-19T11:54:34.635Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-479@tmp/private_key_12360906927048096547.key (/w/workspace/foundry_device-virtual-go_PR-479@tmp/private_key_12360906927048096547.key) [2024-07-19T11:54:34.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-19T11:54:35.267Z] + git semver init [2024-07-19T11:54:35.571Z] 2024-07-19 11:54:35,404 [run_init] DEBUG init version:0.0.0 force:False [2024-07-19T11:54:35.571Z] 2024-07-19 11:54:35,405 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-479/.semver [2024-07-19T11:54:35.571Z] 2024-07-19 11:54:35,406 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-479/.semver [2024-07-19T11:54:35.571Z] 2024-07-19 11:54:35,406 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-479/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-479, universal_newlines=False, shell=None, istream=None) [2024-07-19T11:54:37.738Z] 2024-07-19 11:54:37,341 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-479/.git/info/exclude [2024-07-19T11:54:37.738Z] 2024-07-19 11:54:37,341 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-479/.semver/PR-479 with force:False [2024-07-19T11:54:37.738Z] 2024-07-19 11:54:37,342 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-479/.semver/PR-479 [2024-07-19T11:54:37.738Z] 2024-07-19 11:54:37,346 [execute] INFO git cat-file --batch-check [2024-07-19T11:54:37.738Z] 2024-07-19 11:54:37,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-479/.semver, universal_newlines=False, shell=None, istream=) [2024-07-19T11:54:37.738Z] 2024-07-19 11:54:37,352 [execute] INFO git cat-file --batch [2024-07-19T11:54:37.738Z] 2024-07-19 11:54:37,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-479/.semver, universal_newlines=False, shell=None, istream=) [2024-07-19T11:54:37.738Z] 2024-07-19 11:54:37,358 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-479/.semver/PR-479 [2024-07-19T11:54:37.738Z] 0.0.0 [Pipeline] } [2024-07-19T11:54:37.793Z] $ docker exec --env ******** --env ******** 8693cf0b7adf1afbf0ce3fb7af0de2e954fc75e76b9ba34a12ebef8041b20d04 ssh-agent -k [2024-07-19T11:54:37.892Z] unset SSH_AUTH_SOCK; [2024-07-19T11:54:37.893Z] unset SSH_AGENT_PID; [2024-07-19T11:54:37.893Z] echo Agent pid 77 killed; [2024-07-19T11:54:37.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-19T11:54:38.772Z] + git semver [Pipeline] } [2024-07-19T11:54:39.086Z] $ docker stop --time=1 8693cf0b7adf1afbf0ce3fb7af0de2e954fc75e76b9ba34a12ebef8041b20d04 [2024-07-19T11:54:40.442Z] $ docker rm -f --volumes 8693cf0b7adf1afbf0ce3fb7af0de2e954fc75e76b9ba34a12ebef8041b20d04 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T11:54:41.205Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-19T11:54:42.280Z] Stashed 1 file(s) [Pipeline] echo [2024-07-19T11:54:42.395Z] [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-19T11:54:44.732Z] provisioning config files... [2024-07-19T11:54:44.760Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-479@tmp/config8834787989911795974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T11:54:45.455Z] ---> ****-login.sh [2024-07-19T11:54:45.455Z] nexus3.edgexfoundry.org:10001 [2024-07-19T11:54:45.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:54:45.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:54:45.455Z] Configure a credential helper to remove this warning. See [2024-07-19T11:54:45.455Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:54:45.455Z] [2024-07-19T11:54:45.455Z] Login Succeeded [2024-07-19T11:54:45.455Z] nexus3.edgexfoundry.org:10002 [2024-07-19T11:54:45.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:54:45.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:54:45.455Z] Configure a credential helper to remove this warning. See [2024-07-19T11:54:45.455Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:54:45.455Z] [2024-07-19T11:54:45.455Z] Login Succeeded [2024-07-19T11:54:45.455Z] nexus3.edgexfoundry.org:10003 [2024-07-19T11:54:45.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:54:45.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:54:45.779Z] Configure a credential helper to remove this warning. See [2024-07-19T11:54:45.779Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:54:45.779Z] [2024-07-19T11:54:45.779Z] Login Succeeded [2024-07-19T11:54:45.779Z] nexus3.edgexfoundry.org:10004 [2024-07-19T11:54:45.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:54:45.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:54:45.779Z] Configure a credential helper to remove this warning. See [2024-07-19T11:54:45.779Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:54:45.779Z] [2024-07-19T11:54:45.779Z] Login Succeeded [2024-07-19T11:54:45.779Z] ****.io [2024-07-19T11:54:45.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:54:46.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:54:46.131Z] Configure a credential helper to remove this warning. See [2024-07-19T11:54:46.131Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:54:46.131Z] [2024-07-19T11:54:46.131Z] Login Succeeded [2024-07-19T11:54:46.131Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T11:54:46.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-19T11:54:46.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T11:54:47.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-19T11:54:47.269Z] ========================================================= [2024-07-19T11:54:47.269Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-19T11:54:47.269Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T11:54:48.381Z] + 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-19T11:54:48.381Z] Sending build context to Docker daemon 37.55MB [2024-07-19T11:54:48.381Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T11:54:48.381Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-19T11:54:48.658Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-19T11:54:48.658Z] 619be1103602: Pulling fs layer [2024-07-19T11:54:48.658Z] 7862e08f4a3e: Pulling fs layer [2024-07-19T11:54:48.658Z] 5df492c9dc93: Pulling fs layer [2024-07-19T11:54:48.658Z] 7629e6793208: Pulling fs layer [2024-07-19T11:54:48.658Z] 4f4fb700ef54: Pulling fs layer [2024-07-19T11:54:48.658Z] fb5054dd5b73: Pulling fs layer [2024-07-19T11:54:48.658Z] eeca6798cff9: Pulling fs layer [2024-07-19T11:54:48.658Z] aa269ceb94a6: Pulling fs layer [2024-07-19T11:54:48.658Z] ada007ff1a6a: Pulling fs layer [2024-07-19T11:54:48.658Z] 7629e6793208: Waiting [2024-07-19T11:54:48.658Z] 4f4fb700ef54: Waiting [2024-07-19T11:54:48.658Z] fb5054dd5b73: Waiting [2024-07-19T11:54:48.658Z] eeca6798cff9: Waiting [2024-07-19T11:54:48.658Z] aa269ceb94a6: Waiting [2024-07-19T11:54:48.658Z] ada007ff1a6a: Waiting [2024-07-19T11:54:48.658Z] 7862e08f4a3e: Verifying Checksum [2024-07-19T11:54:48.658Z] 7862e08f4a3e: Download complete [2024-07-19T11:54:48.658Z] 7629e6793208: Download complete [2024-07-19T11:54:48.658Z] 4f4fb700ef54: Verifying Checksum [2024-07-19T11:54:48.658Z] 4f4fb700ef54: Download complete [2024-07-19T11:54:48.658Z] 619be1103602: Verifying Checksum [2024-07-19T11:54:48.658Z] 619be1103602: Download complete [2024-07-19T11:54:48.658Z] eeca6798cff9: Verifying Checksum [2024-07-19T11:54:48.658Z] eeca6798cff9: Download complete [2024-07-19T11:54:48.658Z] 619be1103602: Pull complete [2024-07-19T11:54:48.920Z] 7862e08f4a3e: Pull complete [2024-07-19T11:54:48.920Z] ada007ff1a6a: Verifying Checksum [2024-07-19T11:54:48.920Z] ada007ff1a6a: Download complete [2024-07-19T11:54:48.920Z] 5df492c9dc93: Verifying Checksum [2024-07-19T11:54:48.920Z] 5df492c9dc93: Download complete [2024-07-19T11:54:49.533Z] aa269ceb94a6: Verifying Checksum [2024-07-19T11:54:49.533Z] aa269ceb94a6: Download complete [2024-07-19T11:54:52.339Z] 5df492c9dc93: Pull complete [2024-07-19T11:54:52.339Z] 7629e6793208: Pull complete [2024-07-19T11:54:52.631Z] 4f4fb700ef54: Pull complete [2024-07-19T11:54:52.631Z] fb5054dd5b73: Pull complete [2024-07-19T11:54:52.631Z] eeca6798cff9: Pull complete [2024-07-19T11:54:55.417Z] aa269ceb94a6: Pull complete [2024-07-19T11:54:55.417Z] ada007ff1a6a: Pull complete [2024-07-19T11:54:55.417Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-19T11:54:55.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-19T11:54:55.417Z] ---> f489d0715acc [2024-07-19T11:54:55.417Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T11:54:59.077Z] Still waiting to schedule task [2024-07-19T11:54:59.077Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-19T11:54:59.807Z] ---> Running in d56f75f3ecde [2024-07-19T11:54:59.807Z] Removing intermediate container d56f75f3ecde [2024-07-19T11:54:59.807Z] ---> be2d0088923c [2024-07-19T11:54:59.807Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T11:54:59.807Z] ---> Running in 4cc075e1f5e9 [2024-07-19T11:54:59.807Z] Removing intermediate container 4cc075e1f5e9 [2024-07-19T11:54:59.807Z] ---> 11169b261cda [2024-07-19T11:54:59.807Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-19T11:54:59.807Z] ---> Running in 4e4fb72eab45 [2024-07-19T11:54:59.807Z] Removing intermediate container 4e4fb72eab45 [2024-07-19T11:54:59.807Z] ---> 6b9adef7f451 [2024-07-19T11:54:59.807Z] Step 6/12 : WORKDIR /device-virtual-go [2024-07-19T11:54:59.807Z] ---> Running in 5d9175a04062 [2024-07-19T11:55:00.100Z] Removing intermediate container 5d9175a04062 [2024-07-19T11:55:00.100Z] ---> fcba87b722d4 [2024-07-19T11:55:00.100Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T11:55:00.100Z] ---> Running in b8230022cf16 [2024-07-19T11:55:00.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T11:55:00.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T11:55:00.661Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-19T11:55:00.661Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-19T11:55:00.661Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-19T11:55:00.661Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-19T11:55:00.661Z] Executing busybox-1.36.1-r5.trigger [2024-07-19T11:55:00.661Z] OK: 268 MiB in 56 packages [2024-07-19T11:55:01.334Z] Removing intermediate container b8230022cf16 [2024-07-19T11:55:01.334Z] ---> 61178b8bf1b6 [2024-07-19T11:55:01.334Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-19T11:55:01.334Z] ---> dfa0b60d5160 [2024-07-19T11:55:01.334Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T11:55:01.334Z] ---> Running in b967f3ea668f [2024-07-19T11:55:48.819Z] Removing intermediate container b967f3ea668f [2024-07-19T11:55:48.819Z] ---> ff65fdc79211 [2024-07-19T11:55:48.819Z] Step 10/12 : COPY . . [2024-07-19T11:55:48.819Z] ---> 0ec9c76b4f04 [2024-07-19T11:55:48.819Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T11:55:48.819Z] ---> Running in 5518366c8b3d [2024-07-19T11:55:48.819Z] Removing intermediate container 5518366c8b3d [2024-07-19T11:55:48.819Z] ---> 94d3c97b8a07 [2024-07-19T11:55:48.819Z] Step 12/12 : RUN $MAKE [2024-07-19T11:55:48.819Z] ---> Running in 1f89c860f141 [2024-07-19T11:55:48.819Z] noop [2024-07-19T11:55:48.819Z] Removing intermediate container 1f89c860f141 [2024-07-19T11:55:48.819Z] ---> 1f33e375a203 [2024-07-19T11:55:48.819Z] Successfully built 1f33e375a203 [2024-07-19T11:55:48.819Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T11:55:49.866Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-19T11:55:49.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T11:55:50.366Z] prd-ubuntu20.04-docker-8c-8g-5936 does not seem to be running inside a container [2024-07-19T11:55:50.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-479 -v /w/workspace/foundry_device-virtual-go_PR-479:/w/workspace/foundry_device-virtual-go_PR-479:rw,z -v /w/workspace/foundry_device-virtual-go_PR-479@tmp:/w/workspace/foundry_device-virtual-go_PR-479@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-19T11:55:50.860Z] $ docker top a0da66b1f6b1b1e273610969f1fcf71bb78c54623a62844fd1440bba81694978 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T11:55:51.539Z] + go version [2024-07-19T11:55:51.539Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-19T11:55:51.660Z] $ docker stop --time=1 a0da66b1f6b1b1e273610969f1fcf71bb78c54623a62844fd1440bba81694978 [2024-07-19T11:55:52.961Z] $ docker rm -f --volumes a0da66b1f6b1b1e273610969f1fcf71bb78c54623a62844fd1440bba81694978 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T11:55:55.013Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-19T11:55:55.013Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T11:55:55.555Z] prd-ubuntu20.04-docker-8c-8g-5936 does not seem to be running inside a container [2024-07-19T11:55:55.662Z] $ 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-479 -v /w/workspace/foundry_device-virtual-go_PR-479:/w/workspace/foundry_device-virtual-go_PR-479:rw,z -v /w/workspace/foundry_device-virtual-go_PR-479@tmp:/w/workspace/foundry_device-virtual-go_PR-479@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-19T11:55:56.007Z] $ docker top 9c08eaa8216a533395c6a679486c214c3742446da42f0e6d9496dd56c3bd95a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T11:55:56.759Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-479 [Pipeline] fileExists [Pipeline] sh [2024-07-19T11:55:57.438Z] + make test [2024-07-19T11:55:57.438Z] go test ./... -coverprofile=coverage.out [2024-07-19T11:55:58.997Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-07-19T11:56:17.656Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-07-19T11:56:17.656Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements [2024-07-19T11:56:24.539Z] go vet ./... [2024-07-19T11:56:29.008Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-19T11:56:29.008Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-19T11:56:29.008Z] ./bin/test-attribution-txt.sh [2024-07-19T11:56:29.008Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-19T11:56:29.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-19T11:56:29.333Z] $ docker stop --time=1 9c08eaa8216a533395c6a679486c214c3742446da42f0e6d9496dd56c3bd95a6 [2024-07-19T11:56:34.254Z] $ docker rm -f --volumes 9c08eaa8216a533395c6a679486c214c3742446da42f0e6d9496dd56c3bd95a6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T11:56:35.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-19T11:56:35.441Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-19T11:56:36.731Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5937 in /w/workspace/foundry_device-virtual-go_PR-479 [Pipeline] { [2024-07-19T11:56:36.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] ws [2024-07-19T11:56:37.269Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [2024-07-19T11:56:37.375Z] + ls -al . [2024-07-19T11:56:37.375Z] total 276 [2024-07-19T11:56:37.375Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 11:55 . [2024-07-19T11:56:37.375Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 11:53 .. [2024-07-19T11:56:37.375Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 11:56 .git [2024-07-19T11:56:37.375Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 11:53 .github [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 272 Jul 19 11:53 .gitignore [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 11:53 .golangci.yml [2024-07-19T11:56:37.375Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 11:54 .semver [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 17933 Jul 19 11:53 Attribution.txt [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 15941 Jul 19 11:53 CHANGELOG.md [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 1755 Jul 19 11:53 Dockerfile [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 11:53 GOVERNANCE.md [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 11:53 Jenkinsfile [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 11:53 LICENSE [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 1953 Jul 19 11:53 Makefile [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 19 11:53 OWNERS.md [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 4103 Jul 19 11:53 README.md [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 11:54 VERSION [2024-07-19T11:56:37.375Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 11:53 bin [2024-07-19T11:56:37.375Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 11:53 cmd [2024-07-19T11:56:37.375Z] -rw-r--r-- 1 jenkins jenkins 43247 Jul 19 11:56 coverage.out [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 6922 Jul 19 11:53 go.mod [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 101671 Jul 19 11:53 go.sum [2024-07-19T11:56:37.375Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 11:53 internal [2024-07-19T11:56:37.375Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 19 11:53 version.go [Pipeline] checkout [2024-07-19T11:56:37.490Z] The recommended git tool is: git [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T11:56:38.231Z] + 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=f45d463b5cf09a947b224bc2f888c28ac41aa005 --label arch=amd64 --label version=0.0.0 . [2024-07-19T11:56:38.231Z] Sending build context to Docker daemon 37.59MB [2024-07-19T11:56:38.231Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T11:56:38.231Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-19T11:56:38.231Z] ---> 1f33e375a203 [2024-07-19T11:56:38.231Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T11:56:38.882Z] ---> Running in 74bea418586a [2024-07-19T11:56:38.882Z] Removing intermediate container 74bea418586a [2024-07-19T11:56:38.882Z] ---> 378ce7a71f80 [2024-07-19T11:56:38.882Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T11:56:38.882Z] ---> Running in e12c392585c6 [2024-07-19T11:56:38.882Z] Removing intermediate container e12c392585c6 [2024-07-19T11:56:38.882Z] ---> 3101ad74c45c [2024-07-19T11:56:38.882Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-19T11:56:38.882Z] ---> Running in 84a943cccf4b [2024-07-19T11:56:38.882Z] Removing intermediate container 84a943cccf4b [2024-07-19T11:56:38.882Z] ---> 682b67696a9e [2024-07-19T11:56:38.882Z] Step 6/26 : WORKDIR /device-virtual-go [2024-07-19T11:56:38.882Z] ---> Running in 90777dfc2029 [2024-07-19T11:56:39.185Z] Removing intermediate container 90777dfc2029 [2024-07-19T11:56:39.185Z] ---> 9e5a69bb2d9f [2024-07-19T11:56:39.185Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T11:56:39.185Z] ---> Running in b29c73f87649 [2024-07-19T11:56:39.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T11:56:39.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T11:56:39.811Z] OK: 268 MiB in 56 packages [2024-07-19T11:56:40.113Z] Removing intermediate container b29c73f87649 [2024-07-19T11:56:40.113Z] ---> 892f96891967 [2024-07-19T11:56:40.113Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-19T11:56:40.113Z] ---> 4a1cd3f2474d [2024-07-19T11:56:40.113Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T11:56:40.113Z] ---> Running in 7f22a576be12 [2024-07-19T11:56:40.751Z] Removing intermediate container 7f22a576be12 [2024-07-19T11:56:40.751Z] ---> df34879bc6c7 [2024-07-19T11:56:40.751Z] Step 10/26 : COPY . . [2024-07-19T11:56:41.781Z] ---> 1cd0ca4c1e96 [2024-07-19T11:56:41.781Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T11:56:41.781Z] ---> Running in 1c221e4a1128 [2024-07-19T11:56:41.781Z] Removing intermediate container 1c221e4a1128 [2024-07-19T11:56:41.781Z] ---> 665016cb9746 [2024-07-19T11:56:41.781Z] Step 12/26 : RUN $MAKE [2024-07-19T11:56:41.781Z] ---> Running in 7ae84c4e76e0 [2024-07-19T11:56:42.088Z] 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.25" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-07-19T11:56:46.259Z] using credential edgex-jenkins-ssh [2024-07-19T11:56:46.351Z] Cloning the remote Git repository [2024-07-19T11:56:46.433Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-07-19T11:56:46.531Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-07-19T11:56:46.680Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-07-19T11:56:46.680Z] > git --version # timeout=10 [2024-07-19T11:56:46.699Z] > git --version # 'git version 2.25.1' [2024-07-19T11:56:46.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T11:56:46.855Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-19T11:56:50.241Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-07-19T11:56:50.264Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-19T11:56:52.032Z] Merging remotes/origin/main commit 5f72e015f34b47f5606eaa448abf809a2ca1fd82 into PR head commit f45d463b5cf09a947b224bc2f888c28ac41aa005 [2024-07-19T11:56:52.359Z] Merge succeeded, producing f45d463b5cf09a947b224bc2f888c28ac41aa005 [2024-07-19T11:56:52.359Z] Checking out Revision f45d463b5cf09a947b224bc2f888c28ac41aa005 (PR-479) [2024-07-19T11:56:51.486Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-07-19T11:56:51.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-07-19T11:56:51.540Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T11:56:51.562Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/479/head:refs/remotes/origin/PR-479 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-19T11:56:52.053Z] > git config core.sparsecheckout # timeout=10 [2024-07-19T11:56:52.109Z] > git checkout -f f45d463b5cf09a947b224bc2f888c28ac41aa005 # timeout=10 [2024-07-19T11:56:52.243Z] > git remote # timeout=10 [2024-07-19T11:56:52.260Z] > git config --get remote.origin.url # timeout=10 [2024-07-19T11:56:52.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-19T11:56:52.295Z] > git merge 5f72e015f34b47f5606eaa448abf809a2ca1fd82 # timeout=10 [2024-07-19T11:56:52.322Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-19T11:56:52.364Z] > git config core.sparsecheckout # timeout=10 [2024-07-19T11:56:52.386Z] > git checkout -f f45d463b5cf09a947b224bc2f888c28ac41aa005 # timeout=10 [2024-07-19T11:56:53.091Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-19T11:56:53.174Z] > git --version # timeout=10 [2024-07-19T11:56:53.186Z] > git --version # 'git version 2.25.1' [2024-07-19T11:56:53.196Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T11:56:59.274Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-19T11:56:59.274Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-19T11:56:59.274Z] Dload Upload Total Spent Left Speed [2024-07-19T11:56:59.274Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 100k 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-07-19T11:56:59.803Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-19T11:57:00.272Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-19T11:57:00.272Z] + sudo tee /etc/docker/daemon.new [2024-07-19T11:57:00.272Z] { [2024-07-19T11:57:00.272Z] "registry-mirrors": [ [2024-07-19T11:57:00.272Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-19T11:57:00.272Z] ], [2024-07-19T11:57:00.272Z] "bip": "10.250.0.254/24", [2024-07-19T11:57:00.272Z] "hosts": [ [2024-07-19T11:57:00.272Z] "tcp://0.0.0.0:5555", [2024-07-19T11:57:00.272Z] "unix:///var/run/docker.sock" [2024-07-19T11:57:00.272Z] ], [2024-07-19T11:57:00.272Z] "mtu": 1458, [2024-07-19T11:57:00.272Z] "selinux-enabled": true, [2024-07-19T11:57:00.272Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-19T11:57:00.272Z] } [Pipeline] sh [2024-07-19T11:57:00.782Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-19T11:57:01.327Z] + sudo service docker restart [2024-07-19T11:57:09.221Z] Removing intermediate container 7ae84c4e76e0 [2024-07-19T11:57:09.221Z] ---> fe3ef46932bc [2024-07-19T11:57:09.221Z] Step 13/26 : FROM alpine:3.18 [2024-07-19T11:57:09.221Z] 3.18: Pulling from library/alpine [2024-07-19T11:57:09.488Z] 73baa7ef167e: Pulling fs layer [2024-07-19T11:57:09.772Z] 73baa7ef167e: Verifying Checksum [2024-07-19T11:57:09.772Z] 73baa7ef167e: Download complete [2024-07-19T11:57:09.772Z] 73baa7ef167e: Pull complete [2024-07-19T11:57:09.772Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-19T11:57:09.772Z] Status: Downloaded newer image for alpine:3.18 [2024-07-19T11:57:09.772Z] ---> 8fd7cac70a4a [2024-07-19T11:57:09.772Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-07-19T11:57:09.772Z] ---> Running in 3549742c27fb [2024-07-19T11:57:10.060Z] Removing intermediate container 3549742c27fb [2024-07-19T11:57:10.060Z] ---> b2d12b128580 [2024-07-19T11:57:10.060Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-19T11:57:10.060Z] ---> Running in c6f4a1152020 [2024-07-19T11:57:10.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T11:57:10.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T11:57:10.677Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-19T11:57:10.677Z] Executing busybox-1.36.1-r7.trigger [2024-07-19T11:57:10.677Z] OK: 7 MiB in 16 packages [2024-07-19T11:57:11.000Z] Removing intermediate container c6f4a1152020 [2024-07-19T11:57:11.000Z] ---> 79d7bfc5a3a4 [2024-07-19T11:57:11.000Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-19T11:57:11.000Z] ---> Running in 80a05852c58a [2024-07-19T11:57:11.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-19T11:57:11.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-19T11:57:11.278Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T11:57:11.278Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T11:57:11.278Z] OK: 7 MiB in 16 packages [2024-07-19T11:57:11.955Z] Removing intermediate container 80a05852c58a [2024-07-19T11:57:11.955Z] ---> ed71f0077999 [2024-07-19T11:57:11.955Z] Step 17/26 : WORKDIR / [2024-07-19T11:57:11.955Z] ---> Running in 5e9c4ad5c08c [2024-07-19T11:57:11.956Z] Removing intermediate container 5e9c4ad5c08c [2024-07-19T11:57:11.956Z] ---> 0f239cc2bd15 [2024-07-19T11:57:11.956Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-07-19T11:57:12.252Z] ---> 4a730f90030f [2024-07-19T11:57:12.252Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-07-19T11:57:12.252Z] ---> d49f8412ec08 [2024-07-19T11:57:12.252Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-07-19T11:57:13.289Z] ---> 36c664b905a5 [2024-07-19T11:57:13.289Z] Step 21/26 : EXPOSE 59900 [2024-07-19T11:57:13.289Z] ---> Running in bfc188b0bdd0 [2024-07-19T11:57:13.289Z] Removing intermediate container bfc188b0bdd0 [2024-07-19T11:57:13.289Z] ---> 39e1c9c4e34e [2024-07-19T11:57:13.289Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-07-19T11:57:13.289Z] ---> Running in e9542718f602 [2024-07-19T11:57:13.289Z] Removing intermediate container e9542718f602 [2024-07-19T11:57:13.289Z] ---> e9f360e13217 [2024-07-19T11:57:13.289Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-19T11:57:13.289Z] ---> Running in 0ecab8c36ea2 [2024-07-19T11:57:13.289Z] Removing intermediate container 0ecab8c36ea2 [2024-07-19T11:57:13.289Z] ---> 0d96e4e2c41d [2024-07-19T11:57:13.289Z] Step 24/26 : LABEL arch=amd64 [2024-07-19T11:57:13.289Z] ---> Running in f7d5cc92af2e [2024-07-19T11:57:13.580Z] Removing intermediate container f7d5cc92af2e [2024-07-19T11:57:13.580Z] ---> c9b4c1f01b25 [2024-07-19T11:57:13.580Z] Step 25/26 : LABEL git_sha=f45d463b5cf09a947b224bc2f888c28ac41aa005 [2024-07-19T11:57:13.580Z] ---> Running in 44dd18d44a9f [2024-07-19T11:57:13.580Z] Removing intermediate container 44dd18d44a9f [2024-07-19T11:57:13.580Z] ---> 8670ef9c5d9b [2024-07-19T11:57:13.580Z] Step 26/26 : LABEL version=0.0.0 [2024-07-19T11:57:13.580Z] ---> Running in a8b00b285add [2024-07-19T11:57:13.580Z] Removing intermediate container a8b00b285add [2024-07-19T11:57:13.580Z] ---> dad27be558fc [2024-07-19T11:57:13.580Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-19T11:57:13.580Z] Successfully built dad27be558fc [2024-07-19T11:57:13.580Z] 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-19T11:57:16.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T11:57:16.532Z] [2024-07-19T11:57:16.532Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T11:57:17.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T11:57:17.412Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-19T11:57:17.412Z] 5eb5b503b376: Pulling fs layer [2024-07-19T11:57:17.412Z] 5c69ac0246d0: Pulling fs layer [2024-07-19T11:57:17.412Z] ec43610c2a17: Pulling fs layer [2024-07-19T11:57:17.412Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-19T11:57:17.412Z] 33b1e0a273af: Pulling fs layer [2024-07-19T11:57:17.412Z] 5d3b04190fa2: Pulling fs layer [2024-07-19T11:57:17.412Z] 2f39f015ded8: Pulling fs layer [2024-07-19T11:57:17.412Z] 3a2ae6a8a46f: Waiting [2024-07-19T11:57:17.412Z] 5d3b04190fa2: Waiting [2024-07-19T11:57:17.412Z] 33b1e0a273af: Waiting [2024-07-19T11:57:17.412Z] 5c69ac0246d0: Download complete [2024-07-19T11:57:17.412Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-19T11:57:17.412Z] 3a2ae6a8a46f: Download complete [2024-07-19T11:57:17.412Z] 33b1e0a273af: Verifying Checksum [2024-07-19T11:57:17.412Z] 33b1e0a273af: Download complete [2024-07-19T11:57:17.412Z] 5d3b04190fa2: Verifying Checksum [2024-07-19T11:57:17.412Z] 5d3b04190fa2: Download complete [2024-07-19T11:57:17.412Z] ec43610c2a17: Verifying Checksum [2024-07-19T11:57:17.412Z] ec43610c2a17: Download complete [2024-07-19T11:57:17.705Z] 5eb5b503b376: Verifying Checksum [2024-07-19T11:57:17.705Z] 5eb5b503b376: Download complete [2024-07-19T11:57:18.346Z] 2f39f015ded8: Download complete [2024-07-19T11:57:18.639Z] 5eb5b503b376: Pull complete [2024-07-19T11:57:18.925Z] 5c69ac0246d0: Pull complete [2024-07-19T11:57:19.199Z] ec43610c2a17: Pull complete [2024-07-19T11:57:19.199Z] 3a2ae6a8a46f: Pull complete [2024-07-19T11:57:19.479Z] 33b1e0a273af: Pull complete [2024-07-19T11:57:19.479Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T11:57:20.524Z] provisioning config files... [2024-07-19T11:57:20.583Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5812712441663616146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T11:57:21.431Z] ---> ****-login.sh [2024-07-19T11:57:21.431Z] nexus3.edgexfoundry.org:10001 [2024-07-19T11:57:21.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:57:22.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:57:22.053Z] Configure a credential helper to remove this warning. See [2024-07-19T11:57:22.053Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:57:22.053Z] [2024-07-19T11:57:22.053Z] Login Succeeded [2024-07-19T11:57:22.053Z] nexus3.edgexfoundry.org:10002 [2024-07-19T11:57:22.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:57:22.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:57:22.351Z] Configure a credential helper to remove this warning. See [2024-07-19T11:57:22.351Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:57:22.351Z] [2024-07-19T11:57:22.351Z] Login Succeeded [2024-07-19T11:57:22.351Z] nexus3.edgexfoundry.org:10003 [2024-07-19T11:57:22.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:57:22.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:57:22.668Z] Configure a credential helper to remove this warning. See [2024-07-19T11:57:22.668Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:57:22.668Z] [2024-07-19T11:57:22.668Z] Login Succeeded [2024-07-19T11:57:22.668Z] nexus3.edgexfoundry.org:10004 [2024-07-19T11:57:22.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:57:22.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:57:22.975Z] Configure a credential helper to remove this warning. See [2024-07-19T11:57:22.975Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:57:22.975Z] [2024-07-19T11:57:22.975Z] Login Succeeded [2024-07-19T11:57:22.975Z] ****.io [2024-07-19T11:57:23.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-19T11:57:23.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-19T11:57:23.573Z] Configure a credential helper to remove this warning. See [2024-07-19T11:57:23.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-19T11:57:23.573Z] [2024-07-19T11:57:23.573Z] Login Succeeded [2024-07-19T11:57:23.573Z] ---> ****-login.sh ends [Pipeline] } [2024-07-19T11:57:23.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2024-07-19T11:57:24.061Z] 2f39f015ded8: Pull complete [2024-07-19T11:57:24.061Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-19T11:57:24.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T11:57:24.061Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T11:57:25.014Z] prd-ubuntu20.04-docker-8c-8g-5936 does not seem to be running inside a container [2024-07-19T11:57:25.091Z] $ 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-479 -v /w/workspace/foundry_device-virtual-go_PR-479:/w/workspace/foundry_device-virtual-go_PR-479:rw,z -v /w/workspace/foundry_device-virtual-go_PR-479@tmp:/w/workspace/foundry_device-virtual-go_PR-479@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-19T11:57:28.568Z] $ docker top 6363e083c3875e814c50050f19101b6cdad5008f935c7277b8aeb361f7ad93b1 -eo pid,comm [Pipeline] { [Pipeline] echo [2024-07-19T11:57:29.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] libraryResource [Pipeline] sh [Pipeline] echo [2024-07-19T11:57:29.545Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2024-07-19T11:57:29.580Z] ---> job-cost.sh [2024-07-19T11:57:29.580Z] lf-activate-venv: SKIPPING [2024-07-19T11:57:29.580Z] INFO: No Stack... [Pipeline] echo [2024-07-19T11:57:29.715Z] ========================================================= [2024-07-19T11:57:29.715Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-19T11:57:29.715Z] ========================================================= [Pipeline] fileExists [2024-07-19T11:57:29.889Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] fileExists [Pipeline] isUnix [2024-07-19T11:57:30.171Z] INFO: Archiving Costs [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2024-07-19T11:57:30.883Z] + cat /w/workspace/foundry_device-virtual-go_PR-479/archives/cost.csv [2024-07-19T11:57:30.883Z] + cut -d, -f6 [Pipeline] lock [2024-07-19T11:57:31.142Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-479-1-stack-cost] [2024-07-19T11:57:31.184Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-479-1-stack-cost] did not exist. Created. [2024-07-19T11:57:31.192Z] + 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-19T11:57:31.210Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-479-1-stack-cost] [Pipeline] { [2024-07-19T11:57:31.522Z] Sending build context to Docker daemon 18.96MB [Pipeline] unstash [Pipeline] sh [2024-07-19T11:57:31.830Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T11:57:31.830Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-19T11:57:31.830Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-19T11:57:31.830Z] c6b39de5b339: Pulling fs layer [2024-07-19T11:57:31.830Z] a69c41024577: Pulling fs layer [2024-07-19T11:57:31.830Z] d6de4b400683: Pulling fs layer [2024-07-19T11:57:31.830Z] 35cb2a7552d0: Pulling fs layer [2024-07-19T11:57:31.830Z] 4f4fb700ef54: Pulling fs layer [2024-07-19T11:57:31.830Z] 464afbd9ba4c: Pulling fs layer [2024-07-19T11:57:31.830Z] 00f215d4a9da: Pulling fs layer [2024-07-19T11:57:31.830Z] d496ad576159: Pulling fs layer [2024-07-19T11:57:31.830Z] 4f4fb700ef54: Waiting [2024-07-19T11:57:31.830Z] 464afbd9ba4c: Waiting [2024-07-19T11:57:31.830Z] 00f215d4a9da: Waiting [2024-07-19T11:57:31.830Z] d496ad576159: Waiting [2024-07-19T11:57:31.830Z] 35cb2a7552d0: Waiting [2024-07-19T11:57:31.830Z] a69c41024577: Verifying Checksum [2024-07-19T11:57:31.830Z] a69c41024577: Download complete [2024-07-19T11:57:31.830Z] 35cb2a7552d0: Verifying Checksum [2024-07-19T11:57:31.830Z] 35cb2a7552d0: Download complete [2024-07-19T11:57:31.830Z] 4f4fb700ef54: Verifying Checksum [2024-07-19T11:57:31.830Z] 4f4fb700ef54: Download complete [2024-07-19T11:57:31.830Z] c6b39de5b339: Verifying Checksum [2024-07-19T11:57:31.830Z] c6b39de5b339: Download complete [2024-07-19T11:57:31.830Z] 464afbd9ba4c: Verifying Checksum [2024-07-19T11:57:31.830Z] 464afbd9ba4c: Download complete [2024-07-19T11:57:32.120Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-19T11:57:32.251Z] Stashed 1 file(s) [Pipeline] } [2024-07-19T11:57:32.414Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-479-1-stack-cost] [2024-07-19T11:57:32.489Z] d496ad576159: Verifying Checksum [2024-07-19T11:57:32.489Z] d496ad576159: Download complete [Pipeline] // lock [Pipeline] } [2024-07-19T11:57:32.689Z] $ docker stop --time=1 6363e083c3875e814c50050f19101b6cdad5008f935c7277b8aeb361f7ad93b1 [2024-07-19T11:57:32.821Z] c6b39de5b339: Pull complete [2024-07-19T11:57:33.501Z] a69c41024577: Pull complete [2024-07-19T11:57:33.816Z] d6de4b400683: Verifying Checksum [2024-07-19T11:57:33.816Z] d6de4b400683: Download complete [2024-07-19T11:57:33.913Z] $ docker rm -f --volumes 6363e083c3875e814c50050f19101b6cdad5008f935c7277b8aeb361f7ad93b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-07-19T11:57:34.885Z] 00f215d4a9da: Verifying Checksum [2024-07-19T11:57:34.885Z] 00f215d4a9da: Download complete [Pipeline] // stage [Pipeline] } [2024-07-19T11:57:47.680Z] d6de4b400683: Pull complete [2024-07-19T11:57:47.680Z] 35cb2a7552d0: Pull complete [2024-07-19T11:57:47.995Z] 4f4fb700ef54: Pull complete [2024-07-19T11:57:48.303Z] 464afbd9ba4c: Pull complete [2024-07-19T11:57:56.856Z] 00f215d4a9da: Pull complete [2024-07-19T11:57:58.429Z] d496ad576159: Pull complete [2024-07-19T11:57:58.429Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-19T11:57:58.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-19T11:57:58.429Z] ---> f246e2811388 [2024-07-19T11:57:58.429Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T11:57:59.953Z] ---> Running in ab7674748c14 [2024-07-19T11:58:00.243Z] Removing intermediate container ab7674748c14 [2024-07-19T11:58:00.243Z] ---> b02b7824113c [2024-07-19T11:58:00.243Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T11:58:00.243Z] ---> Running in d60ae2d3c23a [2024-07-19T11:58:00.514Z] Removing intermediate container d60ae2d3c23a [2024-07-19T11:58:00.514Z] ---> 225749964232 [2024-07-19T11:58:00.514Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-07-19T11:58:00.514Z] ---> Running in 2b314516521b [2024-07-19T11:58:00.823Z] Removing intermediate container 2b314516521b [2024-07-19T11:58:00.823Z] ---> fe81a2cffe4e [2024-07-19T11:58:00.823Z] Step 6/12 : WORKDIR /device-virtual-go [2024-07-19T11:58:01.126Z] ---> Running in 6736782a4777 [2024-07-19T11:58:01.409Z] Removing intermediate container 6736782a4777 [2024-07-19T11:58:01.409Z] ---> 43de55b99e8d [2024-07-19T11:58:01.409Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T11:58:01.409Z] ---> Running in b70dde5e4915 [2024-07-19T11:58:02.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T11:58:02.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T11:58:03.847Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-19T11:58:03.847Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-19T11:58:03.847Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-19T11:58:03.847Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-19T11:58:03.847Z] Executing busybox-1.36.1-r5.trigger [2024-07-19T11:58:03.847Z] OK: 271 MiB in 56 packages [2024-07-19T11:58:04.935Z] Removing intermediate container b70dde5e4915 [2024-07-19T11:58:04.935Z] ---> f05167c94e21 [2024-07-19T11:58:04.935Z] Step 8/12 : COPY go.mod vendor* ./ [2024-07-19T11:58:05.238Z] ---> f1112fc492a8 [2024-07-19T11:58:05.238Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T11:58:05.238Z] ---> Running in 8cd3f248f57e [2024-07-19T11:59:57.797Z] Removing intermediate container 8cd3f248f57e [2024-07-19T11:59:57.797Z] ---> ddafb566862e [2024-07-19T11:59:57.797Z] Step 10/12 : COPY . . [2024-07-19T11:59:57.797Z] ---> 73ff37a7f486 [2024-07-19T11:59:57.797Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T11:59:57.797Z] ---> Running in 94a4842d99de [2024-07-19T11:59:57.797Z] Removing intermediate container 94a4842d99de [2024-07-19T11:59:57.797Z] ---> 0e98a8c85aff [2024-07-19T11:59:57.797Z] Step 12/12 : RUN $MAKE [2024-07-19T11:59:57.797Z] ---> Running in ced1f581454f [2024-07-19T11:59:57.797Z] noop [2024-07-19T11:59:57.797Z] Removing intermediate container ced1f581454f [2024-07-19T11:59:57.797Z] ---> 01472a63c6ed [2024-07-19T11:59:57.797Z] Successfully built 01472a63c6ed [2024-07-19T11:59:57.797Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T11:59:58.908Z] + docker inspect -f . ci-base-image-arm64 [2024-07-19T11:59:58.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T11:59:59.470Z] prd-ubuntu20.04-docker-arm64-4c-16g-5937 does not seem to be running inside a container [2024-07-19T11:59:59.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-19T12:00:00.804Z] $ docker top 2e83f4b9955d52cd70c0abd29e1484ff7464a4943c6753119b5cbbd100e8c052 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T12:00:02.045Z] + go version [2024-07-19T12:00:02.045Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-19T12:00:02.136Z] $ docker stop --time=1 2e83f4b9955d52cd70c0abd29e1484ff7464a4943c6753119b5cbbd100e8c052 [2024-07-19T12:00:03.804Z] $ docker rm -f --volumes 2e83f4b9955d52cd70c0abd29e1484ff7464a4943c6753119b5cbbd100e8c052 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T12:00:05.961Z] + docker inspect -f . ci-base-image-arm64 [2024-07-19T12:00:05.961Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T12:00:06.617Z] prd-ubuntu20.04-docker-arm64-4c-16g-5937 does not seem to be running inside a container [2024-07-19T12:00:06.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-19T12:00:08.040Z] $ docker top ee1921e80af7a7173860e82821f56e7466a9988dd933aa5c12d2981d9b024984 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T12:00:08.984Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-19T12:00:09.789Z] + make test [2024-07-19T12:00:09.789Z] go test ./... -coverprofile=coverage.out [2024-07-19T12:00:15.561Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-07-19T12:03:24.372Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-07-19T12:03:24.372Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.058s coverage: 58.3% of statements [2024-07-19T12:03:24.372Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-19T12:03:24.372Z] go vet ./... [2024-07-19T12:04:04.348Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-19T12:04:04.348Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-19T12:04:04.348Z] ./bin/test-attribution-txt.sh [2024-07-19T12:04:04.348Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-19T12:04:04.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-19T12:04:04.764Z] $ docker stop --time=1 ee1921e80af7a7173860e82821f56e7466a9988dd933aa5c12d2981d9b024984 [2024-07-19T12:04:06.687Z] $ docker rm -f --volumes ee1921e80af7a7173860e82821f56e7466a9988dd933aa5c12d2981d9b024984 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-19T12:04:08.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-19T12:04:08.822Z] Warning: overwriting stash ‘coverage-report’ [2024-07-19T12:04:09.763Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-19T12:04:11.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-19T12:04:11.790Z] + ls -al . [2024-07-19T12:04:11.790Z] total 272 [2024-07-19T12:04:11.790Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 19 12:00 . [2024-07-19T12:04:11.790Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 11:56 .. [2024-07-19T12:04:11.790Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 11:56 .git [2024-07-19T12:04:11.790Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 11:56 .github [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 272 Jul 19 11:56 .gitignore [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 11:56 .golangci.yml [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 17933 Jul 19 11:56 Attribution.txt [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 15941 Jul 19 11:56 CHANGELOG.md [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 1755 Jul 19 11:56 Dockerfile [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 11:56 GOVERNANCE.md [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 11:56 Jenkinsfile [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 11:56 LICENSE [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 1953 Jul 19 11:56 Makefile [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 623 Jul 19 11:56 OWNERS.md [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 4103 Jul 19 11:56 README.md [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 11:54 VERSION [2024-07-19T12:04:11.790Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 11:56 bin [2024-07-19T12:04:11.790Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 11:56 cmd [2024-07-19T12:04:11.790Z] -rw-r--r-- 1 jenkins jenkins 43247 Jul 19 12:03 coverage.out [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 6922 Jul 19 11:56 go.mod [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 101671 Jul 19 11:56 go.sum [2024-07-19T12:04:11.790Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 11:56 internal [2024-07-19T12:04:11.790Z] -rw-rw-r-- 1 jenkins jenkins 235 Jul 19 11:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T12:04:12.787Z] + 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=f45d463b5cf09a947b224bc2f888c28ac41aa005 --label arch=arm64 --label version=0.0.0 . [2024-07-19T12:04:13.464Z] Sending build context to Docker daemon 19MB [2024-07-19T12:04:13.464Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-19T12:04:13.464Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-19T12:04:13.464Z] ---> 01472a63c6ed [2024-07-19T12:04:13.464Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-19T12:04:13.464Z] ---> Running in d1370bde39bd [2024-07-19T12:04:13.814Z] Removing intermediate container d1370bde39bd [2024-07-19T12:04:13.814Z] ---> 5a8851cf25af [2024-07-19T12:04:13.814Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-19T12:04:13.814Z] ---> Running in e6e0ad524300 [2024-07-19T12:04:14.124Z] Removing intermediate container e6e0ad524300 [2024-07-19T12:04:14.124Z] ---> 773ba11278fc [2024-07-19T12:04:14.124Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-07-19T12:04:14.124Z] ---> Running in 08140b27ed2a [2024-07-19T12:04:14.419Z] Removing intermediate container 08140b27ed2a [2024-07-19T12:04:14.419Z] ---> 1c93f4c0088c [2024-07-19T12:04:14.419Z] Step 6/26 : WORKDIR /device-virtual-go [2024-07-19T12:04:14.419Z] ---> Running in 28910cff10ca [2024-07-19T12:04:14.716Z] Removing intermediate container 28910cff10ca [2024-07-19T12:04:14.716Z] ---> c6e90df76489 [2024-07-19T12:04:14.716Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-19T12:04:15.059Z] ---> Running in 250aa5ed292d [2024-07-19T12:04:16.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T12:04:16.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T12:04:17.079Z] OK: 271 MiB in 56 packages [2024-07-19T12:04:18.180Z] Removing intermediate container 250aa5ed292d [2024-07-19T12:04:18.180Z] ---> ec12da59dcdc [2024-07-19T12:04:18.180Z] Step 8/26 : COPY go.mod vendor* ./ [2024-07-19T12:04:18.505Z] ---> e7352030a7bb [2024-07-19T12:04:18.505Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-19T12:04:18.874Z] ---> Running in 0a242ba03aa8 [2024-07-19T12:04:20.975Z] Removing intermediate container 0a242ba03aa8 [2024-07-19T12:04:20.975Z] ---> 8fa25726bc8d [2024-07-19T12:04:20.975Z] Step 10/26 : COPY . . [2024-07-19T12:04:22.594Z] ---> ddea3aa41b44 [2024-07-19T12:04:22.594Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-19T12:04:22.594Z] ---> Running in 9b52732443eb [2024-07-19T12:04:22.903Z] Removing intermediate container 9b52732443eb [2024-07-19T12:04:22.903Z] ---> 4bd35d5e8635 [2024-07-19T12:04:22.903Z] Step 12/26 : RUN $MAKE [2024-07-19T12:04:22.903Z] ---> Running in 908bfc42dfc2 [2024-07-19T12:04:24.006Z] 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.25" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-07-19T12:07:47.108Z] Removing intermediate container 908bfc42dfc2 [2024-07-19T12:07:47.108Z] ---> e4a1813a9c47 [2024-07-19T12:07:47.108Z] Step 13/26 : FROM alpine:3.18 [2024-07-19T12:07:47.108Z] 3.18: Pulling from library/alpine [2024-07-19T12:07:47.108Z] 5c905c7ebe2f: Pulling fs layer [2024-07-19T12:07:47.108Z] 5c905c7ebe2f: Verifying Checksum [2024-07-19T12:07:47.108Z] 5c905c7ebe2f: Download complete [2024-07-19T12:07:47.108Z] 5c905c7ebe2f: Pull complete [2024-07-19T12:07:47.108Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-19T12:07:47.108Z] Status: Downloaded newer image for alpine:3.18 [2024-07-19T12:07:47.108Z] ---> dec292d02e07 [2024-07-19T12:07:47.108Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-07-19T12:07:47.108Z] ---> Running in a0ece23836cc [2024-07-19T12:07:47.108Z] Removing intermediate container a0ece23836cc [2024-07-19T12:07:47.108Z] ---> afd628702011 [2024-07-19T12:07:47.108Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-07-19T12:07:47.108Z] ---> Running in 8c589ef418e9 [2024-07-19T12:07:47.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T12:07:47.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T12:07:47.108Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-19T12:07:47.108Z] Executing busybox-1.36.1-r7.trigger [2024-07-19T12:07:47.108Z] OK: 8 MiB in 16 packages [2024-07-19T12:07:47.108Z] Removing intermediate container 8c589ef418e9 [2024-07-19T12:07:47.108Z] ---> 61cf37382cdb [2024-07-19T12:07:47.108Z] Step 16/26 : RUN apk --no-cache upgrade [2024-07-19T12:07:47.108Z] ---> Running in 8468462ba1c2 [2024-07-19T12:07:47.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-19T12:07:47.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-19T12:07:47.108Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T12:07:47.108Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-19T12:07:47.108Z] OK: 8 MiB in 16 packages [2024-07-19T12:07:47.108Z] Removing intermediate container 8468462ba1c2 [2024-07-19T12:07:47.108Z] ---> f363aa03e6f3 [2024-07-19T12:07:47.108Z] Step 17/26 : WORKDIR / [2024-07-19T12:07:47.108Z] ---> Running in 1bede8868e8c [2024-07-19T12:07:47.108Z] Removing intermediate container 1bede8868e8c [2024-07-19T12:07:47.108Z] ---> fb40a5988223 [2024-07-19T12:07:47.108Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-07-19T12:07:47.108Z] ---> f1c94e8b83f8 [2024-07-19T12:07:47.108Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-07-19T12:07:47.108Z] ---> c4921feb4016 [2024-07-19T12:07:47.108Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-07-19T12:07:47.439Z] ---> c47b04f227c8 [2024-07-19T12:07:47.439Z] Step 21/26 : EXPOSE 59900 [2024-07-19T12:07:47.439Z] ---> Running in b7ed0fc37a3d [2024-07-19T12:07:47.742Z] Removing intermediate container b7ed0fc37a3d [2024-07-19T12:07:47.742Z] ---> 660f923b2d34 [2024-07-19T12:07:47.742Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-07-19T12:07:47.742Z] ---> Running in f93b67709d03 [2024-07-19T12:07:48.082Z] Removing intermediate container f93b67709d03 [2024-07-19T12:07:48.082Z] ---> 870594228719 [2024-07-19T12:07:48.082Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-19T12:07:48.082Z] ---> Running in 8765e3b2a671 [2024-07-19T12:07:48.393Z] Removing intermediate container 8765e3b2a671 [2024-07-19T12:07:48.393Z] ---> 841cf5c76fd2 [2024-07-19T12:07:48.393Z] Step 24/26 : LABEL arch=arm64 [2024-07-19T12:07:48.718Z] ---> Running in f8d66a4bcd82 [2024-07-19T12:07:49.062Z] Removing intermediate container f8d66a4bcd82 [2024-07-19T12:07:49.062Z] ---> 0a340fd3afd9 [2024-07-19T12:07:49.062Z] Step 25/26 : LABEL git_sha=f45d463b5cf09a947b224bc2f888c28ac41aa005 [2024-07-19T12:07:49.062Z] ---> Running in 6f58f828b547 [2024-07-19T12:07:49.362Z] Removing intermediate container 6f58f828b547 [2024-07-19T12:07:49.362Z] ---> 47c1c1576528 [2024-07-19T12:07:49.362Z] Step 26/26 : LABEL version=0.0.0 [2024-07-19T12:07:49.362Z] ---> Running in bcb8cfb2a696 [2024-07-19T12:07:49.732Z] Removing intermediate container bcb8cfb2a696 [2024-07-19T12:07:49.732Z] ---> a881183c5277 [2024-07-19T12:07:49.732Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-19T12:07:49.732Z] Successfully built a881183c5277 [2024-07-19T12:07:49.732Z] 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-19T12:07:52.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T12:07:52.245Z] [2024-07-19T12:07:52.245Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T12:07:53.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T12:07:53.172Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-19T12:07:53.172Z] 8998bd30e6a1: Pulling fs layer [2024-07-19T12:07:53.172Z] 04944245beec: Pulling fs layer [2024-07-19T12:07:53.172Z] 699f458cf7ca: Pulling fs layer [2024-07-19T12:07:53.172Z] 765212b225bb: Pulling fs layer [2024-07-19T12:07:53.172Z] f23df028b6ca: Pulling fs layer [2024-07-19T12:07:53.172Z] d65c8cfc05b1: Pulling fs layer [2024-07-19T12:07:53.172Z] 2437ff75d9bd: Pulling fs layer [2024-07-19T12:07:53.172Z] 765212b225bb: Waiting [2024-07-19T12:07:53.172Z] f23df028b6ca: Waiting [2024-07-19T12:07:53.172Z] 2437ff75d9bd: Waiting [2024-07-19T12:07:53.172Z] d65c8cfc05b1: Waiting [2024-07-19T12:07:53.172Z] 04944245beec: Verifying Checksum [2024-07-19T12:07:53.172Z] 04944245beec: Download complete [2024-07-19T12:07:53.454Z] 765212b225bb: Verifying Checksum [2024-07-19T12:07:53.454Z] 765212b225bb: Download complete [2024-07-19T12:07:53.454Z] d65c8cfc05b1: Verifying Checksum [2024-07-19T12:07:53.454Z] d65c8cfc05b1: Download complete [2024-07-19T12:07:53.454Z] 699f458cf7ca: Verifying Checksum [2024-07-19T12:07:53.454Z] 699f458cf7ca: Download complete [2024-07-19T12:07:54.112Z] 8998bd30e6a1: Download complete [2024-07-19T12:07:56.255Z] 2437ff75d9bd: Verifying Checksum [2024-07-19T12:07:56.255Z] 2437ff75d9bd: Download complete [2024-07-19T12:07:58.340Z] 8998bd30e6a1: Pull complete [2024-07-19T12:07:58.957Z] 04944245beec: Pull complete [2024-07-19T12:08:00.606Z] 699f458cf7ca: Pull complete [2024-07-19T12:08:00.899Z] 765212b225bb: Pull complete [2024-07-19T12:08:01.538Z] f23df028b6ca: Pull complete [2024-07-19T12:08:01.825Z] d65c8cfc05b1: Pull complete [2024-07-19T12:08:20.430Z] 2437ff75d9bd: Pull complete [2024-07-19T12:08:20.430Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-19T12:08:20.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-19T12:08:20.430Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T12:08:21.212Z] prd-ubuntu20.04-docker-arm64-4c-16g-5937 does not seem to be running inside a container [2024-07-19T12:08:21.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-19T12:08:24.000Z] $ docker top ae60a71146b9173c5f88de494c92697f11ea66c220b6d43284768689c5a2d836 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-19T12:08:25.054Z] ---> job-cost.sh [2024-07-19T12:08:25.395Z] lf-activate-venv: SKIPPING [2024-07-19T12:08:25.395Z] INFO: No Stack... [2024-07-19T12:08:26.520Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-19T12:08:27.174Z] INFO: Archiving Costs [Pipeline] sh [2024-07-19T12:08:27.623Z] + cut -d, -f6 [2024-07-19T12:08:27.623Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2024-07-19T12:08:27.868Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-479-1-stack-cost] [2024-07-19T12:08:27.881Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-479-1-stack-cost] did not exist. Created. [2024-07-19T12:08:27.916Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-479-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-19T12:08:28.707Z] /w/workspace/device-virtual-go/1@tmp/durable-c1cf5734/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-19T12:08:29.352Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-19T12:08:29.425Z] Warning: overwriting stash ‘stack-cost’ [2024-07-19T12:08:29.488Z] Stashed 1 file(s) [Pipeline] } [2024-07-19T12:08:29.577Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-479-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-19T12:08:30.043Z] $ docker stop --time=1 ae60a71146b9173c5f88de494c92697f11ea66c220b6d43284768689c5a2d836 [2024-07-19T12:08:31.630Z] $ docker rm -f --volumes ae60a71146b9173c5f88de494c92697f11ea66c220b6d43284768689c5a2d836 [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-19T12:08:34.637Z] provisioning config files... [2024-07-19T12:08:34.655Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-479@tmp/config5322539435308387725tmp [Pipeline] { [Pipeline] sh [2024-07-19T12:08:35.400Z] + set +x [2024-07-19T12:08:35.400Z] + curl -s https://codecov.io/bash [2024-07-19T12:08:35.400Z] + bash -s -- [2024-07-19T12:08:35.400Z] [2024-07-19T12:08:35.400Z] _____ _ [2024-07-19T12:08:35.400Z] / ____| | | [2024-07-19T12:08:35.400Z] | | ___ __| | ___ ___ _____ __ [2024-07-19T12:08:35.400Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-19T12:08:35.400Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-19T12:08:35.400Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-19T12:08:35.400Z] Bash-1.0.6 [2024-07-19T12:08:35.400Z] [2024-07-19T12:08:35.400Z] [2024-07-19T12:08:35.400Z] ==> git version 2.25.1 found [2024-07-19T12:08:35.400Z] ==> 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-19T12:08:35.400Z] Release-Date: 2020-01-08 [2024-07-19T12:08:35.400Z] 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-19T12:08:35.400Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-19T12:08:35.400Z] ==> Jenkins CI detected. [2024-07-19T12:08:35.400Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-479 [2024-07-19T12:08:35.400Z] project root: . [2024-07-19T12:08:35.400Z] --> token set from env [2024-07-19T12:08:35.400Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-19T12:08:35.400Z] ==> Running gcov in . (disable via -X gcov) [2024-07-19T12:08:35.400Z] ==> Python coveragepy not found [2024-07-19T12:08:35.400Z] ==> Searching for coverage reports in: [2024-07-19T12:08:35.400Z] + . [2024-07-19T12:08:35.400Z] -> Found 1 reports [2024-07-19T12:08:35.400Z] ==> Detecting git/mercurial file structure [2024-07-19T12:08:35.400Z] ==> Reading reports [2024-07-19T12:08:35.400Z] + ./coverage.out bytes=43247 [2024-07-19T12:08:35.400Z] ==> Appending adjustments [2024-07-19T12:08:35.400Z] https://docs.codecov.io/docs/fixing-reports [2024-07-19T12:08:35.400Z] + Found adjustments [2024-07-19T12:08:35.400Z] ==> Gzipping contents [2024-07-19T12:08:35.400Z] 8.0K /tmp/codecov.xp7AVB.gz [2024-07-19T12:08:35.400Z] ==> Uploading reports [2024-07-19T12:08:35.400Z] url: https://codecov.io [2024-07-19T12:08:35.400Z] query: branch=PR-479&commit=f45d463b5cf09a947b224bc2f888c28ac41aa005&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-479%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=479&job=&cmd_args= [2024-07-19T12:08:35.666Z] -> Pinging Codecov [2024-07-19T12:08:35.666Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-479&commit=f45d463b5cf09a947b224bc2f888c28ac41aa005&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-479%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=479&job=&cmd_args= [2024-07-19T12:08:35.666Z] -> Uploading to [2024-07-19T12:08:35.666Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-19/5E52B4B073DB2E39498172D8E973AA87/f45d463b5cf09a947b224bc2f888c28ac41aa005/c291ff37-f2db-4084-8a52-a872aa1ced1d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240719%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240719T120835Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aad428c946c33ec00e65d48adcb81c124d59c0932f4361f517e36f85eeba0d95 [2024-07-19T12:08:35.666Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-19T12:08:35.666Z] Dload Upload Total Spent Left Speed [2024-07-19T12:08:35.956Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 18879 --:--:-- --:--:-- --:--:-- 18808 100 5022 0 0 100 5022 0 18879 --:--:-- --:--:-- --:--:-- 18808 [2024-07-19T12:08:35.956Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/f45d463b5cf09a947b224bc2f888c28ac41aa005 [Pipeline] } [2024-07-19T12:08:36.062Z] 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-19T12:08:43.211Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-479/archives ] [2024-07-19T12:08:43.211Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-479/archives [2024-07-19T12:08:43.211Z] total 16 [2024-07-19T12:08:43.211Z] drwxr-xr-x 3 root root 4096 Jul 19 11:57 . [2024-07-19T12:08:43.211Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 11:57 .. [2024-07-19T12:08:43.211Z] drwxr-xr-x 2 root root 4096 Jul 19 11:57 cost [2024-07-19T12:08:43.211Z] -rw-r--r-- 1 root root 89 Jul 19 11:57 cost.csv [2024-07-19T12:08:43.211Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-479/archives [2024-07-19T12:08:43.211Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-479/archives [2024-07-19T12:08:43.211Z] total 16 [2024-07-19T12:08:43.211Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 11:57 . [2024-07-19T12:08:43.211Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 11:57 .. [2024-07-19T12:08:43.211Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 11:57 cost [2024-07-19T12:08:43.211Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 19 11:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-19T12:08:43.875Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T12:08:44.772Z] ---> package-listing.sh [2024-07-19T12:08:44.772Z] ++ facter osfamily [2024-07-19T12:08:44.772Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-19T12:08:44.772Z] + OS_FAMILY=debian [2024-07-19T12:08:44.772Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-479 [2024-07-19T12:08:44.772Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-19T12:08:44.772Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-19T12:08:44.772Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-19T12:08:44.772Z] + PACKAGES=/tmp/packages_start.txt [2024-07-19T12:08:44.772Z] + '[' /w/workspace/foundry_device-virtual-go_PR-479 ']' [2024-07-19T12:08:44.772Z] + PACKAGES=/tmp/packages_end.txt [2024-07-19T12:08:44.772Z] + case "${OS_FAMILY}" in [2024-07-19T12:08:44.772Z] + dpkg -l [2024-07-19T12:08:44.772Z] + grep '^ii' [2024-07-19T12:08:44.818Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-19T12:08:44.818Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-19T12:08:44.818Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-19T12:08:44.818Z] + '[' /w/workspace/foundry_device-virtual-go_PR-479 ']' [2024-07-19T12:08:44.818Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-479/archives/ [2024-07-19T12:08:44.818Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-479/archives/ [Pipeline] echo [2024-07-19T12:08:44.932Z] 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-479/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-19T12:08:45.462Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-19T12:08:46.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-19T12:08:46.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-19T12:08:46.791Z] prd-ubuntu20.04-docker-8c-8g-5936 does not seem to be running inside a container [2024-07-19T12:08:46.917Z] $ 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-479/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-479 -v /w/workspace/foundry_device-virtual-go_PR-479:/w/workspace/foundry_device-virtual-go_PR-479:rw,z -v /w/workspace/foundry_device-virtual-go_PR-479@tmp:/w/workspace/foundry_device-virtual-go_PR-479@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-19T12:08:47.102Z] $ docker top 64057032073a75f307f7d2c3220227811327c1029ca2d18f65c85ce9ffaaba4e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-19T12:08:47.855Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-19T12:08:48.368Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-19T12:08:48.900Z] + ls /var/log/sa-host [2024-07-19T12:08:48.900Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-19T12:08:49.749Z] provisioning config files... [2024-07-19T12:08:49.756Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-479@tmp/config5210365497222324681tmp [Pipeline] { [Pipeline] echo [2024-07-19T12:08:50.057Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T12:08:50.685Z] ---> create-netrc.sh [Pipeline] } [2024-07-19T12:08:50.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-19T12:08:51.643Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-19T12:08:51.789Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T12:08:52.311Z] ---> sudo-logs.sh [2024-07-19T12:08:52.311Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-19T12:08:52.613Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T12:08:53.198Z] ---> job-cost.sh [2024-07-19T12:08:53.198Z] lf-activate-venv: SKIPPING [2024-07-19T12:08:53.198Z] DEBUG: total: 0.2199999988079071 [2024-07-19T12:08:53.198Z] INFO: Retrieving Stack Cost... [2024-07-19T12:08:53.516Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-19T12:08:53.848Z] INFO: Archiving Costs [Pipeline] echo [2024-07-19T12:08:54.018Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-19T12:08:54.557Z] ---> logs-deploy.sh [2024-07-19T12:08:54.557Z] lf-activate-venv: SKIPPING [2024-07-19T12:08:54.557Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-479/1 [2024-07-19T12:08:54.557Z] INFO: archiving workspace using pattern(s): [2024-07-19T12:08:55.250Z] Archives upload complete. [2024-07-19T12:08:55.577Z] INFO: archiving logs to Nexus