Pull request #451 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b728d9fe8c1f7a03007f76ebacc7f3d8184edd97+281ea38f110fc5f37e585dd894f432f319c759dc (4238b8924d23fe10ce58cca2ceb1fe43cc2c1678) 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-ssh15835536538582648966.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh7022977212533353210.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-451/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-451/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17740283452312560212.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-451/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2459088023940677443.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh17974406266084589138.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-451/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-451/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4195226007605641624.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-357 in /w/workspace/foundry_device-virtual-go_PR-451 [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-451 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/451/head:refs/remotes/origin/PR-451 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 281ea38f110fc5f37e585dd894f432f319c759dc into PR head commit b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 Merge succeeded, producing b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 Checking out Revision b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 (PR-451) Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 # 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 281ea38f110fc5f37e585dd894f432f319c759dc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-21T22:21:45.432Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-21T22:21:45.660Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-21T22:21:45.796Z] ========================================================= [2023-11-21T22:21:45.796Z] EdgeX Global Pipelines Version Info [2023-11-21T22:21:45.796Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:21:48.738Z] ------------------- [2023-11-21T22:21:48.738Z] stable info: [2023-11-21T22:21:48.738Z] ------------------- [2023-11-21T22:21:48.738Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-21T22:21:48.738Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:21:48.738Z] Message: update stable to v1.0.258 [2023-11-21T22:21:48.999Z] ------------------- [2023-11-21T22:21:48.999Z] experimental info: [2023-11-21T22:21:48.999Z] ------------------- [2023-11-21T22:21:48.999Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-21T22:21:48.999Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:21:48.999Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-21T22:21:49.233Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-11-21T22:21:49.325Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-11-21T22:21:49.402Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-21T22:21:49.471Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-21T22:21:49.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-21T22:21:49.638Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-21T22:21:49.727Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-21T22:21:49.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-21T22:21:49.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-21T22:21:49.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-21T22:21:50.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-21T22:21:50.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-11-21T22:21:50.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-21T22:21:50.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-21T22:21:50.521Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-21T22:21:50.603Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-21T22:21:50.683Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:21:50.765Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:21:50.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-21T22:21:50.944Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-21T22:21:51.060Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-21T22:21:51.170Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-21T22:21:51.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-21T22:21:51.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-21T22:21:51.474Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-21T22:21:51.557Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-21T22:21:51.701Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-21T22:21:51.842Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-451 [Pipeline] echo [2023-11-21T22:21:51.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-451 [Pipeline] echo [2023-11-21T22:21:52.095Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-451 [Pipeline] echo [2023-11-21T22:21:52.221Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 [Pipeline] echo [2023-11-21T22:21:52.323Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b728d9f [Pipeline] echo [2023-11-21T22:21:52.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:21:52.773Z] provisioning config files... [2023-11-21T22:21:52.791Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-451@tmp/config15488566563780268394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:21:53.260Z] ---> ****-login.sh [2023-11-21T22:21:53.260Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:21:53.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:53.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:53.528Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:53.528Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:53.528Z] [2023-11-21T22:21:53.528Z] Login Succeeded [2023-11-21T22:21:53.528Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:21:53.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:53.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:53.528Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:53.528Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:53.528Z] [2023-11-21T22:21:53.528Z] Login Succeeded [2023-11-21T22:21:53.528Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:21:53.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:53.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:53.800Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:53.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:53.800Z] [2023-11-21T22:21:53.800Z] Login Succeeded [2023-11-21T22:21:53.800Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:21:53.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:53.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:53.800Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:53.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:53.800Z] [2023-11-21T22:21:53.800Z] Login Succeeded [2023-11-21T22:21:53.800Z] ****.io [2023-11-21T22:21:54.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:54.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:54.067Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:54.067Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:54.067Z] [2023-11-21T22:21:54.067Z] Login Succeeded [2023-11-21T22:21:54.067Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:21:54.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-21T22:21:55.037Z] + git rev-list -1 --merges b728d9fe8c1f7a03007f76ebacc7f3d8184edd97~1..b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 [Pipeline] echo [2023-11-21T22:21:55.108Z] -----------> git rev-list -1 --merges b728d9fe8c1f7a03007f76ebacc7f3d8184edd97~1..b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 [false] [Pipeline] sh [2023-11-21T22:21:55.454Z] + git log --format=format:%s -1 b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 [Pipeline] echo [2023-11-21T22:21:55.503Z] ========================================================= [2023-11-21T22:21:55.503Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-21T22:21:55.503Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:21:56.084Z] + git log --format=format:%s -1 b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 [Pipeline] echo [2023-11-21T22:21:56.160Z] [semverPrep] GIT_COMMIT: b728d9fe8c1f7a03007f76ebacc7f3d8184edd97, Commit Message: build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 [Pipeline] echo [2023-11-21T22:21:56.273Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-21T22:21:56.737Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-21T22:21:56.737Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-21T22:21:56.737Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-21T22:21:56.737Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-21T22:21:56.737Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-21T22:21:56.737Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-21T22:21:56.737Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:21:57.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:21:57.311Z] [2023-11-21T22:21:57.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:21:57.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:21:58.327Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-21T22:21:58.327Z] b85a868b505f: Pulling fs layer [2023-11-21T22:21:58.327Z] e2be974225ed: Pulling fs layer [2023-11-21T22:21:58.327Z] 339a4e72a1f5: Pulling fs layer [2023-11-21T22:21:58.327Z] 988bab9f4d93: Pulling fs layer [2023-11-21T22:21:58.327Z] 1469e6f7b9e6: Pulling fs layer [2023-11-21T22:21:58.327Z] eaf3925da568: Pulling fs layer [2023-11-21T22:21:58.327Z] bab4dde63d76: Pulling fs layer [2023-11-21T22:21:58.327Z] bde34c3a00c8: Pulling fs layer [2023-11-21T22:21:58.327Z] b352a97aabf1: Pulling fs layer [2023-11-21T22:21:58.327Z] 4872d77fe225: Pulling fs layer [2023-11-21T22:21:58.327Z] 5851b861e8e6: Pulling fs layer [2023-11-21T22:21:58.327Z] 988bab9f4d93: Waiting [2023-11-21T22:21:58.327Z] bde34c3a00c8: Waiting [2023-11-21T22:21:58.327Z] b352a97aabf1: Waiting [2023-11-21T22:21:58.327Z] 1469e6f7b9e6: Waiting [2023-11-21T22:21:58.327Z] 5851b861e8e6: Waiting [2023-11-21T22:21:58.327Z] eaf3925da568: Waiting [2023-11-21T22:21:58.327Z] 4872d77fe225: Waiting [2023-11-21T22:21:58.327Z] bab4dde63d76: Waiting [2023-11-21T22:21:58.327Z] e2be974225ed: Download complete [2023-11-21T22:21:58.327Z] 988bab9f4d93: Verifying Checksum [2023-11-21T22:21:58.327Z] 988bab9f4d93: Download complete [2023-11-21T22:21:58.590Z] 1469e6f7b9e6: Verifying Checksum [2023-11-21T22:21:58.590Z] 1469e6f7b9e6: Download complete [2023-11-21T22:21:58.590Z] eaf3925da568: Verifying Checksum [2023-11-21T22:21:58.590Z] eaf3925da568: Download complete [2023-11-21T22:21:58.590Z] 339a4e72a1f5: Verifying Checksum [2023-11-21T22:21:58.590Z] 339a4e72a1f5: Download complete [2023-11-21T22:21:58.590Z] bde34c3a00c8: Download complete [2023-11-21T22:21:58.590Z] b352a97aabf1: Download complete [2023-11-21T22:21:58.884Z] 4872d77fe225: Verifying Checksum [2023-11-21T22:21:58.884Z] 4872d77fe225: Download complete [2023-11-21T22:21:58.884Z] 5851b861e8e6: Verifying Checksum [2023-11-21T22:21:58.884Z] 5851b861e8e6: Download complete [2023-11-21T22:21:58.884Z] b85a868b505f: Verifying Checksum [2023-11-21T22:21:58.884Z] b85a868b505f: Download complete [2023-11-21T22:21:59.453Z] bab4dde63d76: Verifying Checksum [2023-11-21T22:21:59.453Z] bab4dde63d76: Download complete [2023-11-21T22:22:00.862Z] b85a868b505f: Pull complete [2023-11-21T22:22:01.429Z] e2be974225ed: Pull complete [2023-11-21T22:22:02.807Z] 339a4e72a1f5: Pull complete [2023-11-21T22:22:03.069Z] 988bab9f4d93: Pull complete [2023-11-21T22:22:03.649Z] 1469e6f7b9e6: Pull complete [2023-11-21T22:22:03.649Z] eaf3925da568: Pull complete [2023-11-21T22:22:05.570Z] bab4dde63d76: Pull complete [2023-11-21T22:22:05.570Z] bde34c3a00c8: Pull complete [2023-11-21T22:22:05.835Z] b352a97aabf1: Pull complete [2023-11-21T22:22:05.835Z] 4872d77fe225: Pull complete [2023-11-21T22:22:06.106Z] 5851b861e8e6: Pull complete [2023-11-21T22:22:06.106Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-21T22:22:06.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:22:06.106Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:22:06.557Z] prd-ubuntu20.04-docker-8c-8g-357 does not seem to be running inside a container [2023-11-21T22:22:06.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-451 -v /w/workspace/foundry_device-virtual-go_PR-451:/w/workspace/foundry_device-virtual-go_PR-451:rw,z -v /w/workspace/foundry_device-virtual-go_PR-451@tmp:/w/workspace/foundry_device-virtual-go_PR-451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-21T22:22:14.556Z] $ docker top 2b4ba6d2b8a64c7bf7f7ffe5756ba83b43c832d2ee8994be1a2a8636771fc522 -eo pid,comm [2023-11-21T22:22:14.646Z] 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). [2023-11-21T22:22:14.646Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-21T22:22:14.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:22:14.947Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:22:15.068Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:22:15.073Z] $ docker exec 2b4ba6d2b8a64c7bf7f7ffe5756ba83b43c832d2ee8994be1a2a8636771fc522 ssh-agent [2023-11-21T22:22:15.180Z] SSH_AUTH_SOCK=/tmp/ssh-g7K6hdJCQ5Uy/agent.31 [2023-11-21T22:22:15.180Z] SSH_AGENT_PID=37 [2023-11-21T22:22:15.187Z] Running ssh-add (command line suppressed) [2023-11-21T22:22:15.294Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-451@tmp/private_key_8902996722008869149.key (/w/workspace/foundry_device-virtual-go_PR-451@tmp/private_key_8902996722008869149.key) [2023-11-21T22:22:15.319Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:22:15.707Z] + git tag --points-at HEAD [Pipeline] } [2023-11-21T22:22:15.744Z] $ docker exec --env ******** --env ******** 2b4ba6d2b8a64c7bf7f7ffe5756ba83b43c832d2ee8994be1a2a8636771fc522 ssh-agent -k [2023-11-21T22:22:15.849Z] unset SSH_AUTH_SOCK; [2023-11-21T22:22:15.849Z] unset SSH_AGENT_PID; [2023-11-21T22:22:15.849Z] echo Agent pid 37 killed; [2023-11-21T22:22:15.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-21T22:22:16.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:22:16.028Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:22:16.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:22:16.141Z] $ docker exec 2b4ba6d2b8a64c7bf7f7ffe5756ba83b43c832d2ee8994be1a2a8636771fc522 ssh-agent [2023-11-21T22:22:16.231Z] SSH_AUTH_SOCK=/tmp/ssh-Mb5Dif0BIC1f/agent.68 [2023-11-21T22:22:16.231Z] SSH_AGENT_PID=74 [2023-11-21T22:22:16.235Z] Running ssh-add (command line suppressed) [2023-11-21T22:22:16.337Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-451@tmp/private_key_1242776798658410915.key (/w/workspace/foundry_device-virtual-go_PR-451@tmp/private_key_1242776798658410915.key) [2023-11-21T22:22:16.348Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:22:16.709Z] + git semver init [2023-11-21T22:22:16.968Z] 2023-11-21 22:22:16,883 [run_init] DEBUG init version:0.0.0 force:False [2023-11-21T22:22:16.968Z] 2023-11-21 22:22:16,884 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-451/.semver [2023-11-21T22:22:16.968Z] 2023-11-21 22:22:16,885 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-451/.semver [2023-11-21T22:22:16.968Z] 2023-11-21 22:22:16,885 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-451/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-451, universal_newlines=False, shell=None, istream=None) [2023-11-21T22:22:18.879Z] 2023-11-21 22:22:18,508 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-451/.git/info/exclude [2023-11-21T22:22:18.879Z] 2023-11-21 22:22:18,509 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-451/.semver/PR-451 with force:False [2023-11-21T22:22:18.879Z] 2023-11-21 22:22:18,509 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-451/.semver/PR-451 [2023-11-21T22:22:18.879Z] 2023-11-21 22:22:18,513 [execute] INFO git cat-file --batch-check [2023-11-21T22:22:18.879Z] 2023-11-21 22:22:18,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-451/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:22:18.879Z] 2023-11-21 22:22:18,519 [execute] INFO git cat-file --batch [2023-11-21T22:22:18.879Z] 2023-11-21 22:22:18,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-451/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:22:18.879Z] 2023-11-21 22:22:18,524 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-451/.semver/PR-451 [2023-11-21T22:22:18.879Z] 0.0.0 [Pipeline] } [2023-11-21T22:22:18.917Z] $ docker exec --env ******** --env ******** 2b4ba6d2b8a64c7bf7f7ffe5756ba83b43c832d2ee8994be1a2a8636771fc522 ssh-agent -k [2023-11-21T22:22:19.026Z] unset SSH_AUTH_SOCK; [2023-11-21T22:22:19.026Z] unset SSH_AGENT_PID; [2023-11-21T22:22:19.026Z] echo Agent pid 74 killed; [2023-11-21T22:22:19.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-21T22:22:19.565Z] + git semver [Pipeline] } [2023-11-21T22:22:19.853Z] $ docker stop --time=1 2b4ba6d2b8a64c7bf7f7ffe5756ba83b43c832d2ee8994be1a2a8636771fc522 [2023-11-21T22:22:21.137Z] $ docker rm -f --volumes 2b4ba6d2b8a64c7bf7f7ffe5756ba83b43c832d2ee8994be1a2a8636771fc522 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:22:21.584Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-21T22:22:21.899Z] Stashed 1 file(s) [Pipeline] echo [2023-11-21T22:22:21.921Z] [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 [2023-11-21T22:22:23.176Z] provisioning config files... [2023-11-21T22:22:23.186Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-451@tmp/config10612415872623800559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:22:23.620Z] ---> ****-login.sh [2023-11-21T22:22:23.620Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:22:23.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.620Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.620Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.620Z] [2023-11-21T22:22:23.620Z] Login Succeeded [2023-11-21T22:22:23.620Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:22:23.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.620Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.620Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.620Z] [2023-11-21T22:22:23.620Z] Login Succeeded [2023-11-21T22:22:23.620Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:22:23.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.880Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.880Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.880Z] [2023-11-21T22:22:23.880Z] Login Succeeded [2023-11-21T22:22:23.880Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:22:23.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.880Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.880Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.880Z] [2023-11-21T22:22:23.880Z] Login Succeeded [2023-11-21T22:22:23.880Z] ****.io [2023-11-21T22:22:23.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:24.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:24.139Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:24.139Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:24.139Z] [2023-11-21T22:22:24.139Z] Login Succeeded [2023-11-21T22:22:24.139Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:22:24.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:22:24.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:22:24.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:22:24.682Z] ========================================================= [2023-11-21T22:22:24.682Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-21T22:22:24.682Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:22:25.362Z] + 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 . [2023-11-21T22:22:25.362Z] Sending build context to Docker daemon 34.07MB [2023-11-21T22:22:25.362Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:22:25.362Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-21T22:22:25.623Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-21T22:22:25.623Z] 7264a8db6415: Pulling fs layer [2023-11-21T22:22:25.623Z] c4d48a809fc2: Pulling fs layer [2023-11-21T22:22:25.623Z] 4f1c88b9dad5: Pulling fs layer [2023-11-21T22:22:25.623Z] ad3a456e5733: Pulling fs layer [2023-11-21T22:22:25.623Z] 69c7f0334f64: Pulling fs layer [2023-11-21T22:22:25.623Z] 1f1c1a5573a3: Pulling fs layer [2023-11-21T22:22:25.623Z] ce7588e14bc9: Pulling fs layer [2023-11-21T22:22:25.623Z] b5e4710f87ac: Pulling fs layer [2023-11-21T22:22:25.623Z] ad3a456e5733: Waiting [2023-11-21T22:22:25.623Z] ce7588e14bc9: Waiting [2023-11-21T22:22:25.623Z] b5e4710f87ac: Waiting [2023-11-21T22:22:25.623Z] 69c7f0334f64: Waiting [2023-11-21T22:22:25.623Z] 1f1c1a5573a3: Waiting [2023-11-21T22:22:25.623Z] c4d48a809fc2: Download complete [2023-11-21T22:22:25.623Z] ad3a456e5733: Download complete [2023-11-21T22:22:25.623Z] 69c7f0334f64: Verifying Checksum [2023-11-21T22:22:25.623Z] 69c7f0334f64: Download complete [2023-11-21T22:22:25.623Z] 7264a8db6415: Verifying Checksum [2023-11-21T22:22:25.623Z] 7264a8db6415: Download complete [2023-11-21T22:22:25.883Z] 1f1c1a5573a3: Verifying Checksum [2023-11-21T22:22:25.883Z] 1f1c1a5573a3: Download complete [2023-11-21T22:22:25.883Z] 7264a8db6415: Pull complete [2023-11-21T22:22:26.141Z] c4d48a809fc2: Pull complete [2023-11-21T22:22:26.141Z] b5e4710f87ac: Verifying Checksum [2023-11-21T22:22:26.141Z] b5e4710f87ac: Download complete [2023-11-21T22:22:27.078Z] 4f1c88b9dad5: Verifying Checksum [2023-11-21T22:22:27.078Z] 4f1c88b9dad5: Download complete [2023-11-21T22:22:27.722Z] ce7588e14bc9: Verifying Checksum [2023-11-21T22:22:27.723Z] ce7588e14bc9: Download complete [2023-11-21T22:22:30.355Z] 4f1c88b9dad5: Pull complete [2023-11-21T22:22:30.355Z] ad3a456e5733: Pull complete [2023-11-21T22:22:30.355Z] 69c7f0334f64: Pull complete [2023-11-21T22:22:30.355Z] 1f1c1a5573a3: Pull complete [2023-11-21T22:22:32.882Z] ce7588e14bc9: Pull complete [2023-11-21T22:22:33.140Z] b5e4710f87ac: Pull complete [2023-11-21T22:22:33.399Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-21T22:22:33.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-21T22:22:33.399Z] ---> 88b5674ff536 [2023-11-21T22:22:33.399Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:22:37.842Z] Still waiting to schedule task [2023-11-21T22:22:37.843Z] ‘prd-centos7-blackbox-4c-2g-162’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.843Z] ‘prd-centos7-blackbox-4c-2g-163’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.843Z] ‘prd-ubuntu20.04-docker-8c-8g-359’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.843Z] ‘prd-ubuntu20.04-docker-8c-8g-362’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.843Z] ‘prd-ubuntu20.04-docker-8c-8g-363’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.843Z] ‘prd-ubuntu20.04-docker-8c-8g-364’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.843Z] ‘prd-ubuntu20.04-docker-8c-8g-365’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.843Z] ‘prd-ubuntu20.04-docker-8c-8g-366’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.843Z] ‘prd-ubuntu20.04-docker-8c-8g-367’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.843Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-358’ is offline [2023-11-21T22:22:43.428Z] ---> Running in 6429feb77d51 [2023-11-21T22:22:43.688Z] Removing intermediate container 6429feb77d51 [2023-11-21T22:22:43.688Z] ---> a7924fcd47f1 [2023-11-21T22:22:43.688Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:22:43.688Z] ---> Running in 928a18528d86 [2023-11-21T22:22:43.688Z] Removing intermediate container 928a18528d86 [2023-11-21T22:22:43.688Z] ---> 11b304e27aa9 [2023-11-21T22:22:43.688Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:22:43.688Z] ---> Running in f6d7abb324da [2023-11-21T22:22:43.949Z] Removing intermediate container f6d7abb324da [2023-11-21T22:22:43.949Z] ---> 7046b4293e01 [2023-11-21T22:22:43.949Z] Step 6/12 : WORKDIR /device-virtual-go [2023-11-21T22:22:43.949Z] ---> Running in ef305f6246f0 [2023-11-21T22:22:43.949Z] Removing intermediate container ef305f6246f0 [2023-11-21T22:22:43.949Z] ---> ac051b64d7e8 [2023-11-21T22:22:43.949Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:22:43.949Z] ---> Running in 03407fcf5517 [2023-11-21T22:22:44.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:44.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:44.469Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-21T22:22:44.469Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-21T22:22:44.469Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-21T22:22:44.469Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-21T22:22:44.469Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:22:44.469Z] OK: 268 MiB in 56 packages [2023-11-21T22:22:45.038Z] Removing intermediate container 03407fcf5517 [2023-11-21T22:22:45.038Z] ---> 46bb7267b4bc [2023-11-21T22:22:45.038Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-21T22:22:45.298Z] ---> 459775b4734a [2023-11-21T22:22:45.298Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:22:45.298Z] ---> Running in c95ff6dc2024 [2023-11-21T22:23:41.606Z] Removing intermediate container c95ff6dc2024 [2023-11-21T22:23:41.606Z] ---> eae70ad70904 [2023-11-21T22:23:41.606Z] Step 10/12 : COPY . . [2023-11-21T22:23:41.606Z] ---> 12fba1107ab4 [2023-11-21T22:23:41.606Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:23:41.606Z] ---> Running in 604420a535a7 [2023-11-21T22:23:41.606Z] Removing intermediate container 604420a535a7 [2023-11-21T22:23:41.606Z] ---> b1ede5cd27ce [2023-11-21T22:23:41.606Z] Step 12/12 : RUN $MAKE [2023-11-21T22:23:41.606Z] ---> Running in a4dcb7223027 [2023-11-21T22:23:41.606Z] noop [2023-11-21T22:23:41.606Z] Removing intermediate container a4dcb7223027 [2023-11-21T22:23:41.606Z] ---> 1a98f4696343 [2023-11-21T22:23:41.606Z] Successfully built 1a98f4696343 [2023-11-21T22:23:41.606Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:23:42.124Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:23:42.124Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:23:42.356Z] prd-ubuntu20.04-docker-8c-8g-357 does not seem to be running inside a container [2023-11-21T22:23:42.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-451 -v /w/workspace/foundry_device-virtual-go_PR-451:/w/workspace/foundry_device-virtual-go_PR-451:rw,z -v /w/workspace/foundry_device-virtual-go_PR-451@tmp:/w/workspace/foundry_device-virtual-go_PR-451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-21T22:23:42.726Z] $ docker top 7be21c274cc490eb2ecc1c5ac7d16b43a482ba849ed743bae49e4130a409fd41 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:23:43.178Z] + go version [2023-11-21T22:23:43.178Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-21T22:23:43.213Z] $ docker stop --time=1 7be21c274cc490eb2ecc1c5ac7d16b43a482ba849ed743bae49e4130a409fd41 [2023-11-21T22:23:44.500Z] $ docker rm -f --volumes 7be21c274cc490eb2ecc1c5ac7d16b43a482ba849ed743bae49e4130a409fd41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:23:45.501Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:23:45.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:23:45.692Z] prd-ubuntu20.04-docker-8c-8g-357 does not seem to be running inside a container [2023-11-21T22:23:45.729Z] $ 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-451 -v /w/workspace/foundry_device-virtual-go_PR-451:/w/workspace/foundry_device-virtual-go_PR-451:rw,z -v /w/workspace/foundry_device-virtual-go_PR-451@tmp:/w/workspace/foundry_device-virtual-go_PR-451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-21T22:23:46.070Z] $ docker top 54253f914ad00e3a91468ea0c19b86df1b9646f40fe82b24892e1d3a315a3758 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:23:46.549Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-451 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:23:46.955Z] + make test [2023-11-21T22:23:46.955Z] go test ./... -coverprofile=coverage.out [2023-11-21T22:23:48.889Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-11-21T22:23:58.849Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-11-21T22:23:58.849Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.014s coverage: 58.6% of statements [2023-11-21T22:24:06.958Z] go vet ./... [2023-11-21T22:24:09.489Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:24:09.489Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:24:09.747Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:24:09.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:24:09.845Z] $ docker stop --time=1 54253f914ad00e3a91468ea0c19b86df1b9646f40fe82b24892e1d3a315a3758 [2023-11-21T22:24:16.290Z] $ docker rm -f --volumes 54253f914ad00e3a91468ea0c19b86df1b9646f40fe82b24892e1d3a315a3758 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:24:16.985Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:24:17.052Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-21T22:24:17.838Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:24:18.155Z] + ls -al . [2023-11-21T22:24:18.155Z] total 200 [2023-11-21T22:24:18.155Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:23 . [2023-11-21T22:24:18.155Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:21 .. [2023-11-21T22:24:18.155Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:23 .git [2023-11-21T22:24:18.155Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 .github [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 21 22:21 .gitignore [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:21 .golangci.yml [2023-11-21T22:24:18.155Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:22 .semver [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 9708 Nov 21 22:21 Attribution.txt [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 21 22:21 CHANGELOG.md [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 1755 Nov 21 22:21 Dockerfile [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:21 GOVERNANCE.md [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 21 22:21 Jenkinsfile [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:21 LICENSE [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 1947 Nov 21 22:21 Makefile [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 21 22:21 OWNERS.md [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 21 22:21 README.md [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:22 VERSION [2023-11-21T22:24:18.155Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:21 bin [2023-11-21T22:24:18.155Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 cmd [2023-11-21T22:24:18.155Z] -rw-r--r-- 1 jenkins jenkins 43063 Nov 21 22:23 coverage.out [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 3591 Nov 21 22:21 go.mod [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 34396 Nov 21 22:21 go.sum [2023-11-21T22:24:18.155Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 internal [2023-11-21T22:24:18.155Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 21 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:24:18.618Z] + 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=b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 --label arch=amd64 --label version=0.0.0 . [2023-11-21T22:24:18.618Z] Sending build context to Docker daemon 34.12MB [2023-11-21T22:24:18.618Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:24:18.618Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-21T22:24:18.618Z] ---> 1a98f4696343 [2023-11-21T22:24:18.618Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:24:19.592Z] ---> Running in bdfe6427d84d [2023-11-21T22:24:19.592Z] Removing intermediate container bdfe6427d84d [2023-11-21T22:24:19.592Z] ---> 9c35411bc90f [2023-11-21T22:24:19.592Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:24:19.592Z] ---> Running in ac59382545fc [2023-11-21T22:24:19.852Z] Removing intermediate container ac59382545fc [2023-11-21T22:24:19.852Z] ---> e2ff5ee95f11 [2023-11-21T22:24:19.852Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:24:19.852Z] ---> Running in 84b10e7a517c [2023-11-21T22:24:19.852Z] Removing intermediate container 84b10e7a517c [2023-11-21T22:24:19.852Z] ---> d35b7ed895fa [2023-11-21T22:24:19.852Z] Step 6/26 : WORKDIR /device-virtual-go [2023-11-21T22:24:19.852Z] ---> Running in 940c02805fba [2023-11-21T22:24:19.852Z] Removing intermediate container 940c02805fba [2023-11-21T22:24:19.852Z] ---> cc6ce19be18f [2023-11-21T22:24:19.852Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:24:19.852Z] ---> Running in 0507d4786758 [2023-11-21T22:24:20.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:24:20.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:24:20.636Z] OK: 268 MiB in 56 packages [2023-11-21T22:24:20.894Z] Removing intermediate container 0507d4786758 [2023-11-21T22:24:20.894Z] ---> 39babe80dabf [2023-11-21T22:24:20.894Z] Step 8/26 : COPY go.mod vendor* ./ [2023-11-21T22:24:20.894Z] ---> 45875ece34f0 [2023-11-21T22:24:20.894Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:24:20.894Z] ---> Running in b3b373f4c211 [2023-11-21T22:24:22.319Z] Removing intermediate container b3b373f4c211 [2023-11-21T22:24:22.319Z] ---> d7c30aff186a [2023-11-21T22:24:22.319Z] Step 10/26 : COPY . . [2023-11-21T22:24:22.892Z] ---> 7eab24fe5bee [2023-11-21T22:24:22.892Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:24:22.892Z] ---> Running in be585fa30324 [2023-11-21T22:24:23.161Z] Removing intermediate container be585fa30324 [2023-11-21T22:24:23.161Z] ---> a802399e4bf4 [2023-11-21T22:24:23.161Z] Step 12/26 : RUN $MAKE [2023-11-21T22:24:23.161Z] ---> Running in 5141772b8e71 [2023-11-21T22:24:23.418Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-11-21T22:24:45.385Z] Removing intermediate container 5141772b8e71 [2023-11-21T22:24:45.385Z] ---> d1171c2ff360 [2023-11-21T22:24:45.385Z] Step 13/26 : FROM alpine:3.18 [2023-11-21T22:24:45.385Z] 3.18: Pulling from library/alpine [2023-11-21T22:24:45.385Z] 96526aa774ef: Pulling fs layer [2023-11-21T22:24:45.726Z] 96526aa774ef: Verifying Checksum [2023-11-21T22:24:45.726Z] 96526aa774ef: Download complete [2023-11-21T22:24:45.726Z] 96526aa774ef: Pull complete [2023-11-21T22:24:45.726Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:24:45.726Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:24:45.726Z] ---> 8ca4688f4f35 [2023-11-21T22:24:45.726Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-11-21T22:24:45.984Z] ---> Running in 148564bb8f36 [2023-11-21T22:24:45.984Z] Removing intermediate container 148564bb8f36 [2023-11-21T22:24:45.984Z] ---> 69851eb0997f [2023-11-21T22:24:45.984Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-21T22:24:45.984Z] ---> Running in 144aa2a7d535 [2023-11-21T22:24:46.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:24:46.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:24:46.504Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-21T22:24:46.504Z] Executing busybox-1.36.1-r2.trigger [2023-11-21T22:24:46.504Z] OK: 7 MiB in 16 packages [2023-11-21T22:24:46.762Z] Removing intermediate container 144aa2a7d535 [2023-11-21T22:24:46.762Z] ---> 6f60999b8ed1 [2023-11-21T22:24:46.762Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-21T22:24:47.021Z] ---> Running in 02fe522538a4 [2023-11-21T22:24:47.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:24:47.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:24:47.539Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:24:47.539Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:24:47.539Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-21T22:24:47.539Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:24:47.539Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:24:47.539Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:24:47.539Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:24:47.539Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:24:47.539Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:24:47.539Z] OK: 7 MiB in 16 packages [2023-11-21T22:24:48.494Z] Removing intermediate container 02fe522538a4 [2023-11-21T22:24:48.494Z] ---> 6f624a119105 [2023-11-21T22:24:48.494Z] Step 17/26 : WORKDIR / [2023-11-21T22:24:48.494Z] ---> Running in fca0bf57a161 [2023-11-21T22:24:48.494Z] Removing intermediate container fca0bf57a161 [2023-11-21T22:24:48.494Z] ---> 4c0c5e72e082 [2023-11-21T22:24:48.494Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-11-21T22:24:48.494Z] ---> dc7ab1f308b0 [2023-11-21T22:24:48.494Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2023-11-21T22:24:48.751Z] ---> 29d17281fc8b [2023-11-21T22:24:48.751Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2023-11-21T22:24:49.687Z] ---> 0994a17cff38 [2023-11-21T22:24:49.687Z] Step 21/26 : EXPOSE 59900 [2023-11-21T22:24:49.687Z] ---> Running in 2d008cfbdedb [2023-11-21T22:24:49.687Z] Removing intermediate container 2d008cfbdedb [2023-11-21T22:24:49.687Z] ---> b0d7642a510c [2023-11-21T22:24:49.687Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2023-11-21T22:24:49.687Z] ---> Running in 4cfa0d004e1e [2023-11-21T22:24:49.687Z] Removing intermediate container 4cfa0d004e1e [2023-11-21T22:24:49.687Z] ---> 89ca4e78b01b [2023-11-21T22:24:49.687Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-21T22:24:49.945Z] ---> Running in a323366f589e [2023-11-21T22:24:49.945Z] Removing intermediate container a323366f589e [2023-11-21T22:24:49.945Z] ---> 992f5905b4d4 [2023-11-21T22:24:49.945Z] Step 24/26 : LABEL arch=amd64 [2023-11-21T22:24:49.945Z] ---> Running in 87f77cb5d290 [2023-11-21T22:24:49.945Z] Removing intermediate container 87f77cb5d290 [2023-11-21T22:24:49.945Z] ---> 7a1637160d0f [2023-11-21T22:24:49.945Z] Step 25/26 : LABEL git_sha=b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 [2023-11-21T22:24:49.945Z] ---> Running in 38b537743797 [2023-11-21T22:24:49.945Z] Removing intermediate container 38b537743797 [2023-11-21T22:24:49.945Z] ---> 8ba50bf3182b [2023-11-21T22:24:49.945Z] Step 26/26 : LABEL version=0.0.0 [2023-11-21T22:24:50.205Z] ---> Running in 6b14619ca892 [2023-11-21T22:24:50.205Z] Removing intermediate container 6b14619ca892 [2023-11-21T22:24:50.205Z] ---> 6220b7737483 [2023-11-21T22:24:50.205Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:24:50.205Z] Successfully built 6220b7737483 [2023-11-21T22:24:50.205Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:24:51.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:24:51.512Z] [2023-11-21T22:24:51.512Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:24:52.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:24:52.014Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-21T22:24:52.014Z] 5eb5b503b376: Pulling fs layer [2023-11-21T22:24:52.014Z] 5c69ac0246d0: Pulling fs layer [2023-11-21T22:24:52.014Z] ec43610c2a17: Pulling fs layer [2023-11-21T22:24:52.014Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-21T22:24:52.014Z] 33b1e0a273af: Pulling fs layer [2023-11-21T22:24:52.014Z] 5d3b04190fa2: Pulling fs layer [2023-11-21T22:24:52.014Z] 2f39f015ded8: Pulling fs layer [2023-11-21T22:24:52.014Z] 2f39f015ded8: Waiting [2023-11-21T22:24:52.014Z] 33b1e0a273af: Waiting [2023-11-21T22:24:52.014Z] 5d3b04190fa2: Waiting [2023-11-21T22:24:52.014Z] 3a2ae6a8a46f: Waiting [2023-11-21T22:24:52.014Z] 5c69ac0246d0: Verifying Checksum [2023-11-21T22:24:52.014Z] 5c69ac0246d0: Download complete [2023-11-21T22:24:52.014Z] 3a2ae6a8a46f: Download complete [2023-11-21T22:24:52.014Z] 33b1e0a273af: Verifying Checksum [2023-11-21T22:24:52.014Z] 33b1e0a273af: Download complete [2023-11-21T22:24:52.014Z] 5d3b04190fa2: Verifying Checksum [2023-11-21T22:24:52.014Z] 5d3b04190fa2: Download complete [2023-11-21T22:24:52.014Z] ec43610c2a17: Download complete [2023-11-21T22:24:52.299Z] 5eb5b503b376: Verifying Checksum [2023-11-21T22:24:52.299Z] 5eb5b503b376: Download complete [2023-11-21T22:24:52.879Z] 2f39f015ded8: Download complete [2023-11-21T22:24:54.323Z] 5eb5b503b376: Pull complete [2023-11-21T22:24:54.932Z] 5c69ac0246d0: Pull complete [2023-11-21T22:24:55.865Z] ec43610c2a17: Pull complete [2023-11-21T22:24:55.865Z] 3a2ae6a8a46f: Pull complete [2023-11-21T22:24:56.123Z] 33b1e0a273af: Pull complete [2023-11-21T22:24:56.123Z] 5d3b04190fa2: Pull complete [2023-11-21T22:25:00.377Z] 2f39f015ded8: Pull complete [2023-11-21T22:25:00.377Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-21T22:25:00.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:25:00.377Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:25:00.816Z] prd-ubuntu20.04-docker-8c-8g-357 does not seem to be running inside a container [2023-11-21T22:25:00.857Z] $ 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-451 -v /w/workspace/foundry_device-virtual-go_PR-451:/w/workspace/foundry_device-virtual-go_PR-451:rw,z -v /w/workspace/foundry_device-virtual-go_PR-451@tmp:/w/workspace/foundry_device-virtual-go_PR-451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-21T22:25:08.329Z] $ docker top 2fe481384296d68f9c41102ebfbaabcc5be6adf286e52780aaddee71d1afe8e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:25:08.834Z] ---> job-cost.sh [2023-11-21T22:25:08.834Z] lf-activate-venv: SKIPPING [2023-11-21T22:25:08.834Z] INFO: No Stack... [2023-11-21T22:25:09.767Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:25:10.026Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:25:10.345Z] + cut -d, -f6 [2023-11-21T22:25:10.345Z] + cat /w/workspace/foundry_device-virtual-go_PR-451/archives/cost.csv [Pipeline] lock [2023-11-21T22:25:10.397Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-451-1-stack-cost] [2023-11-21T22:25:10.402Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-451-1-stack-cost] did not exist. Created. [2023-11-21T22:25:10.403Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-451-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:25:10.878Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-21T22:25:10.936Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:25:11.013Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-451-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:25:11.171Z] $ docker stop --time=1 2fe481384296d68f9c41102ebfbaabcc5be6adf286e52780aaddee71d1afe8e7 [2023-11-21T22:25:12.324Z] $ docker rm -f --volumes 2fe481384296d68f9c41102ebfbaabcc5be6adf286e52780aaddee71d1afe8e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-21T22:37:11.552Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-751 in /w/workspace/foundry_device-virtual-go_PR-451 [Pipeline] { [Pipeline] ws [2023-11-21T22:37:11.644Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-11-21T22:37:14.776Z] The recommended git tool is: git [2023-11-21T22:37:22.348Z] using credential edgex-jenkins-ssh [2023-11-21T22:37:22.373Z] Cloning the remote Git repository [2023-11-21T22:37:22.448Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-11-21T22:37:22.604Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-11-21T22:37:22.811Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-11-21T22:37:22.812Z] > git --version # timeout=10 [2023-11-21T22:37:22.841Z] > git --version # 'git version 2.25.1' [2023-11-21T22:37:22.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:23.069Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:37:26.358Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-11-21T22:37:26.395Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:37:27.511Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-11-21T22:37:27.556Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-11-21T22:37:27.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:27.576Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/451/head:refs/remotes/origin/PR-451 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-21T22:37:28.128Z] Merging remotes/origin/main commit 281ea38f110fc5f37e585dd894f432f319c759dc into PR head commit b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 [2023-11-21T22:37:28.509Z] Merge succeeded, producing b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 [2023-11-21T22:37:28.510Z] Checking out Revision b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 (PR-451) [2023-11-21T22:37:29.077Z] Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" [2023-11-21T22:37:29.201Z] > git --version # timeout=10 [2023-11-21T22:37:29.223Z] > git --version # 'git version 2.25.1' [2023-11-21T22:37:29.269Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:37:28.151Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:37:28.279Z] > git checkout -f b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 # timeout=10 [2023-11-21T22:37:28.382Z] > git remote # timeout=10 [2023-11-21T22:37:28.407Z] > git config --get remote.origin.url # timeout=10 [2023-11-21T22:37:28.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:28.456Z] > git merge 281ea38f110fc5f37e585dd894f432f319c759dc # timeout=10 [2023-11-21T22:37:28.490Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-21T22:37:28.520Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:37:28.537Z] > git checkout -f b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:37:30.819Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-21T22:37:30.819Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:37:30.819Z] Dload Upload Total Spent Left Speed [2023-11-21T22:37:30.819Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 193k 0 --:--:-- --:--:-- --:--:-- 193k [Pipeline] sh [2023-11-21T22:37:31.188Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-21T22:37:31.557Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-21T22:37:31.557Z] + sudo tee /etc/docker/daemon.new [2023-11-21T22:37:31.557Z] { [2023-11-21T22:37:31.557Z] "registry-mirrors": [ [2023-11-21T22:37:31.557Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-21T22:37:31.557Z] ], [2023-11-21T22:37:31.557Z] "bip": "10.250.0.254/24", [2023-11-21T22:37:31.557Z] "hosts": [ [2023-11-21T22:37:31.557Z] "tcp://0.0.0.0:5555", [2023-11-21T22:37:31.557Z] "unix:///var/run/docker.sock" [2023-11-21T22:37:31.557Z] ], [2023-11-21T22:37:31.557Z] "mtu": 1458, [2023-11-21T22:37:31.557Z] "selinux-enabled": true, [2023-11-21T22:37:31.557Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-21T22:37:31.557Z] } [Pipeline] sh [2023-11-21T22:37:31.928Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-21T22:37:32.304Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:37:49.631Z] provisioning config files... [2023-11-21T22:37:49.674Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7604445224309685692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:37:50.201Z] ---> ****-login.sh [2023-11-21T22:37:50.201Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:37:50.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:50.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:50.793Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:50.793Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:50.793Z] [2023-11-21T22:37:50.794Z] Login Succeeded [2023-11-21T22:37:50.794Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:37:51.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:51.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:51.334Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:51.334Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:51.334Z] [2023-11-21T22:37:51.334Z] Login Succeeded [2023-11-21T22:37:51.334Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:37:51.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:51.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:51.606Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:51.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:51.606Z] [2023-11-21T22:37:51.606Z] Login Succeeded [2023-11-21T22:37:51.606Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:37:51.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:52.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:52.147Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:52.147Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:52.147Z] [2023-11-21T22:37:52.147Z] Login Succeeded [2023-11-21T22:37:52.147Z] ****.io [2023-11-21T22:37:52.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:52.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:52.698Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:52.698Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:52.698Z] [2023-11-21T22:37:52.698Z] Login Succeeded [2023-11-21T22:37:52.698Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:37:52.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:37:53.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:37:53.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:37:53.462Z] ========================================================= [2023-11-21T22:37:53.462Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-21T22:37:53.462Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:37:54.128Z] + 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 . [2023-11-21T22:37:54.718Z] Sending build context to Docker daemon 17.17MB [2023-11-21T22:37:54.718Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:37:54.718Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-21T22:37:54.997Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-21T22:37:54.997Z] 9fda8d8052c6: Pulling fs layer [2023-11-21T22:37:54.997Z] 5d54e960e981: Pulling fs layer [2023-11-21T22:37:54.997Z] c4a7e357bf2a: Pulling fs layer [2023-11-21T22:37:54.997Z] f0e02332f6b5: Pulling fs layer [2023-11-21T22:37:54.997Z] 872ee5b61b7b: Pulling fs layer [2023-11-21T22:37:54.997Z] 0c6a40ed1a82: Pulling fs layer [2023-11-21T22:37:54.997Z] 872ee5b61b7b: Waiting [2023-11-21T22:37:54.997Z] 94ae7d8d031c: Pulling fs layer [2023-11-21T22:37:54.997Z] 94ae7d8d031c: Waiting [2023-11-21T22:37:54.997Z] 0c6a40ed1a82: Waiting [2023-11-21T22:37:54.997Z] f0e02332f6b5: Waiting [2023-11-21T22:37:54.997Z] 5d54e960e981: Verifying Checksum [2023-11-21T22:37:54.997Z] 5d54e960e981: Download complete [2023-11-21T22:37:54.997Z] f0e02332f6b5: Verifying Checksum [2023-11-21T22:37:54.997Z] f0e02332f6b5: Download complete [2023-11-21T22:37:54.997Z] 872ee5b61b7b: Verifying Checksum [2023-11-21T22:37:54.997Z] 872ee5b61b7b: Download complete [2023-11-21T22:37:54.997Z] 9fda8d8052c6: Verifying Checksum [2023-11-21T22:37:54.997Z] 9fda8d8052c6: Download complete [2023-11-21T22:37:55.598Z] 94ae7d8d031c: Verifying Checksum [2023-11-21T22:37:55.598Z] 94ae7d8d031c: Download complete [2023-11-21T22:37:56.196Z] 9fda8d8052c6: Pull complete [2023-11-21T22:37:57.174Z] 5d54e960e981: Pull complete [2023-11-21T22:37:57.174Z] c4a7e357bf2a: Verifying Checksum [2023-11-21T22:37:57.174Z] c4a7e357bf2a: Download complete [2023-11-21T22:37:58.597Z] 0c6a40ed1a82: Verifying Checksum [2023-11-21T22:37:58.597Z] 0c6a40ed1a82: Download complete [2023-11-21T22:38:10.932Z] c4a7e357bf2a: Pull complete [2023-11-21T22:38:10.932Z] f0e02332f6b5: Pull complete [2023-11-21T22:38:10.932Z] 872ee5b61b7b: Pull complete [2023-11-21T22:38:21.091Z] 0c6a40ed1a82: Pull complete [2023-11-21T22:38:22.505Z] 94ae7d8d031c: Pull complete [2023-11-21T22:38:22.505Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-21T22:38:22.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-21T22:38:22.505Z] ---> 86de565de09d [2023-11-21T22:38:22.505Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:38:25.124Z] ---> Running in c5b2ccb7b04a [2023-11-21T22:38:25.124Z] Removing intermediate container c5b2ccb7b04a [2023-11-21T22:38:25.124Z] ---> 0b7bedb11f0e [2023-11-21T22:38:25.124Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:38:25.124Z] ---> Running in 044ae5a8d664 [2023-11-21T22:38:25.401Z] Removing intermediate container 044ae5a8d664 [2023-11-21T22:38:25.401Z] ---> 6283836df148 [2023-11-21T22:38:25.401Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:38:25.669Z] ---> Running in e56583bd9eea [2023-11-21T22:38:25.939Z] Removing intermediate container e56583bd9eea [2023-11-21T22:38:25.939Z] ---> 5b8dc68f938f [2023-11-21T22:38:25.939Z] Step 6/12 : WORKDIR /device-virtual-go [2023-11-21T22:38:25.939Z] ---> Running in 792dd8e2c13b [2023-11-21T22:38:26.551Z] Removing intermediate container 792dd8e2c13b [2023-11-21T22:38:26.551Z] ---> 3c44fc221ed6 [2023-11-21T22:38:26.551Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:38:26.551Z] ---> Running in 0b1e4b46c8e3 [2023-11-21T22:38:27.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:38:28.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:38:29.219Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-21T22:38:29.491Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-21T22:38:29.491Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-21T22:38:29.491Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-21T22:38:29.491Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:38:29.492Z] OK: 271 MiB in 56 packages [2023-11-21T22:38:30.917Z] Removing intermediate container 0b1e4b46c8e3 [2023-11-21T22:38:30.917Z] ---> 6dc835d0cd11 [2023-11-21T22:38:30.917Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-21T22:38:31.512Z] ---> d7c72f78a5fc [2023-11-21T22:38:31.512Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:38:31.512Z] ---> Running in ab4b29ce7283 [2023-11-21T22:39:53.317Z] Removing intermediate container ab4b29ce7283 [2023-11-21T22:39:53.317Z] ---> 315d1fd2381b [2023-11-21T22:39:53.317Z] Step 10/12 : COPY . . [2023-11-21T22:39:53.598Z] ---> 999c1146f81c [2023-11-21T22:39:53.598Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:39:53.598Z] ---> Running in f16ecd1ac22c [2023-11-21T22:39:54.183Z] Removing intermediate container f16ecd1ac22c [2023-11-21T22:39:54.183Z] ---> ec45c00c9a53 [2023-11-21T22:39:54.183Z] Step 12/12 : RUN $MAKE [2023-11-21T22:39:54.183Z] ---> Running in 82fdea659882 [2023-11-21T22:39:55.146Z] noop [2023-11-21T22:39:56.120Z] Removing intermediate container 82fdea659882 [2023-11-21T22:39:56.120Z] ---> cd711a4e94fb [2023-11-21T22:39:56.120Z] Successfully built cd711a4e94fb [2023-11-21T22:39:56.120Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:39:56.729Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:39:56.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:39:57.120Z] prd-ubuntu20.04-docker-arm64-4c-16g-751 does not seem to be running inside a container [2023-11-21T22:39:57.201Z] $ 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 [2023-11-21T22:39:58.455Z] $ docker top bdb2a10a0111103d5165a70cc91ff987fb216f974f6a956f1c11c4c65d5fa7a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:39:59.406Z] + go version [2023-11-21T22:39:59.407Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-21T22:39:59.448Z] $ docker stop --time=1 bdb2a10a0111103d5165a70cc91ff987fb216f974f6a956f1c11c4c65d5fa7a0 [2023-11-21T22:40:01.111Z] $ docker rm -f --volumes bdb2a10a0111103d5165a70cc91ff987fb216f974f6a956f1c11c4c65d5fa7a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:40:02.349Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:40:02.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:40:02.714Z] prd-ubuntu20.04-docker-arm64-4c-16g-751 does not seem to be running inside a container [2023-11-21T22:40:02.788Z] $ 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 [2023-11-21T22:40:04.533Z] $ docker top 84d73689e0a6df4c1042ba3a4e1fae82bc29f9c88f66cce7ee9bec8d98e280f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:40:05.542Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:40:06.318Z] + make test [2023-11-21T22:40:06.318Z] go test ./... -coverprofile=coverage.out [2023-11-21T22:40:10.605Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-11-21T22:42:17.385Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-11-21T22:42:17.385Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.116s coverage: 58.4% of statements [2023-11-21T22:42:17.385Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-21T22:42:17.385Z] go vet ./... [2023-11-21T22:42:56.446Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:42:56.446Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:42:56.446Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:42:56.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:42:56.560Z] $ docker stop --time=1 84d73689e0a6df4c1042ba3a4e1fae82bc29f9c88f66cce7ee9bec8d98e280f7 [2023-11-21T22:42:58.651Z] $ docker rm -f --volumes 84d73689e0a6df4c1042ba3a4e1fae82bc29f9c88f66cce7ee9bec8d98e280f7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:43:00.131Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:43:00.168Z] Warning: overwriting stash ‘coverage-report’ [2023-11-21T22:43:00.813Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:43:01.683Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:43:02.038Z] + ls -al . [2023-11-21T22:43:02.038Z] total 196 [2023-11-21T22:43:02.038Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 21 22:40 . [2023-11-21T22:43:02.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:37 .. [2023-11-21T22:43:02.038Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:37 .git [2023-11-21T22:43:02.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 .github [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 21 22:37 .gitignore [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:37 .golangci.yml [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 9708 Nov 21 22:37 Attribution.txt [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 21 22:37 CHANGELOG.md [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 1755 Nov 21 22:37 Dockerfile [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:37 GOVERNANCE.md [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 21 22:37 Jenkinsfile [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:37 LICENSE [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 1947 Nov 21 22:37 Makefile [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 21 22:37 OWNERS.md [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 21 22:37 README.md [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:22 VERSION [2023-11-21T22:43:02.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:37 bin [2023-11-21T22:43:02.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 cmd [2023-11-21T22:43:02.038Z] -rw-r--r-- 1 jenkins jenkins 43063 Nov 21 22:42 coverage.out [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 3591 Nov 21 22:37 go.mod [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 34396 Nov 21 22:37 go.sum [2023-11-21T22:43:02.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 internal [2023-11-21T22:43:02.038Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 21 22:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:43:02.582Z] + 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=b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 --label arch=arm64 --label version=0.0.0 . [2023-11-21T22:43:03.177Z] Sending build context to Docker daemon 17.21MB [2023-11-21T22:43:03.177Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:43:03.177Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-21T22:43:03.177Z] ---> cd711a4e94fb [2023-11-21T22:43:03.177Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:43:03.452Z] ---> Running in 449b3e55941c [2023-11-21T22:43:03.721Z] Removing intermediate container 449b3e55941c [2023-11-21T22:43:03.721Z] ---> f3a781912dcf [2023-11-21T22:43:03.721Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:43:03.721Z] ---> Running in 9056d32a510e [2023-11-21T22:43:04.311Z] Removing intermediate container 9056d32a510e [2023-11-21T22:43:04.311Z] ---> 6156f8f7afd7 [2023-11-21T22:43:04.311Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:43:04.311Z] ---> Running in 7023ce0a9f89 [2023-11-21T22:43:04.581Z] Removing intermediate container 7023ce0a9f89 [2023-11-21T22:43:04.581Z] ---> e701b91b5c25 [2023-11-21T22:43:04.581Z] Step 6/26 : WORKDIR /device-virtual-go [2023-11-21T22:43:04.581Z] ---> Running in bd0c344a46ad [2023-11-21T22:43:05.178Z] Removing intermediate container bd0c344a46ad [2023-11-21T22:43:05.178Z] ---> 4aa955c4c5ce [2023-11-21T22:43:05.178Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:43:05.178Z] ---> Running in 53c5438b66af [2023-11-21T22:43:06.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:43:06.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:43:08.165Z] OK: 271 MiB in 56 packages [2023-11-21T22:43:08.754Z] Removing intermediate container 53c5438b66af [2023-11-21T22:43:08.754Z] ---> d6c8064f15cc [2023-11-21T22:43:08.754Z] Step 8/26 : COPY go.mod vendor* ./ [2023-11-21T22:43:09.338Z] ---> f870448eb427 [2023-11-21T22:43:09.338Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:43:09.338Z] ---> Running in 271881ed932e [2023-11-21T22:43:12.695Z] Removing intermediate container 271881ed932e [2023-11-21T22:43:12.695Z] ---> 1e875f953d2a [2023-11-21T22:43:12.695Z] Step 10/26 : COPY . . [2023-11-21T22:43:13.658Z] ---> d690640c0896 [2023-11-21T22:43:13.658Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:43:13.925Z] ---> Running in 7bb6f78c7152 [2023-11-21T22:43:14.193Z] Removing intermediate container 7bb6f78c7152 [2023-11-21T22:43:14.193Z] ---> 386e6db9ad9e [2023-11-21T22:43:14.193Z] Step 12/26 : RUN $MAKE [2023-11-21T22:43:14.193Z] ---> Running in b7a8714cdcf6 [2023-11-21T22:43:15.157Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-11-21T22:45:36.880Z] Removing intermediate container b7a8714cdcf6 [2023-11-21T22:45:36.880Z] ---> 86fcf392b2c5 [2023-11-21T22:45:36.880Z] Step 13/26 : FROM alpine:3.18 [2023-11-21T22:45:36.880Z] 3.18: Pulling from library/alpine [2023-11-21T22:45:36.880Z] 579b34f0a95b: Pulling fs layer [2023-11-21T22:45:36.880Z] 579b34f0a95b: Verifying Checksum [2023-11-21T22:45:36.880Z] 579b34f0a95b: Download complete [2023-11-21T22:45:36.880Z] 579b34f0a95b: Pull complete [2023-11-21T22:45:36.880Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:45:36.880Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:45:36.880Z] ---> 3cc203321400 [2023-11-21T22:45:36.880Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-11-21T22:45:36.880Z] ---> Running in 4157b8948242 [2023-11-21T22:45:36.880Z] Removing intermediate container 4157b8948242 [2023-11-21T22:45:36.880Z] ---> f8e15670dfda [2023-11-21T22:45:36.880Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-21T22:45:36.880Z] ---> Running in 462923fc56d8 [2023-11-21T22:45:36.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:36.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:36.880Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-21T22:45:36.880Z] Executing busybox-1.36.1-r2.trigger [2023-11-21T22:45:36.880Z] OK: 8 MiB in 16 packages [2023-11-21T22:45:36.880Z] Removing intermediate container 462923fc56d8 [2023-11-21T22:45:36.880Z] ---> 62d9f83cb172 [2023-11-21T22:45:36.880Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-21T22:45:36.880Z] ---> Running in 30cef0922804 [2023-11-21T22:45:36.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:36.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:36.880Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:45:36.880Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:45:36.880Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-21T22:45:36.880Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:45:36.880Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:45:36.880Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:45:36.880Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:45:36.880Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:45:36.880Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:45:36.880Z] OK: 8 MiB in 16 packages [2023-11-21T22:45:36.880Z] Removing intermediate container 30cef0922804 [2023-11-21T22:45:36.880Z] ---> 16f968df0a84 [2023-11-21T22:45:36.880Z] Step 17/26 : WORKDIR / [2023-11-21T22:45:36.880Z] ---> Running in 9ff9ff2fa138 [2023-11-21T22:45:36.880Z] Removing intermediate container 9ff9ff2fa138 [2023-11-21T22:45:36.880Z] ---> 1bf2380ceac7 [2023-11-21T22:45:36.880Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-11-21T22:45:36.880Z] ---> 2a51760d56e6 [2023-11-21T22:45:36.880Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2023-11-21T22:45:36.880Z] ---> 61501f450e2b [2023-11-21T22:45:36.880Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2023-11-21T22:45:37.467Z] ---> 6959c8245125 [2023-11-21T22:45:37.467Z] Step 21/26 : EXPOSE 59900 [2023-11-21T22:45:37.742Z] ---> Running in dfdec96a067d [2023-11-21T22:45:38.014Z] Removing intermediate container dfdec96a067d [2023-11-21T22:45:38.014Z] ---> f465c4f14d18 [2023-11-21T22:45:38.014Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2023-11-21T22:45:38.014Z] ---> Running in 5980598b1995 [2023-11-21T22:45:38.610Z] Removing intermediate container 5980598b1995 [2023-11-21T22:45:38.610Z] ---> 3106706363b4 [2023-11-21T22:45:38.610Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-21T22:45:38.610Z] ---> Running in 182fc33d713d [2023-11-21T22:45:38.884Z] Removing intermediate container 182fc33d713d [2023-11-21T22:45:38.884Z] ---> bc6c96af4d51 [2023-11-21T22:45:38.884Z] Step 24/26 : LABEL arch=arm64 [2023-11-21T22:45:39.156Z] ---> Running in 8977cf574753 [2023-11-21T22:45:39.426Z] Removing intermediate container 8977cf574753 [2023-11-21T22:45:39.426Z] ---> 8adec65a2839 [2023-11-21T22:45:39.426Z] Step 25/26 : LABEL git_sha=b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 [2023-11-21T22:45:39.426Z] ---> Running in 4d409f4107bb [2023-11-21T22:45:40.015Z] Removing intermediate container 4d409f4107bb [2023-11-21T22:45:40.015Z] ---> 1935fc014cd9 [2023-11-21T22:45:40.015Z] Step 26/26 : LABEL version=0.0.0 [2023-11-21T22:45:40.015Z] ---> Running in 902095e18ca5 [2023-11-21T22:45:40.285Z] Removing intermediate container 902095e18ca5 [2023-11-21T22:45:40.285Z] ---> f78f9634f28a [2023-11-21T22:45:40.285Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:45:40.285Z] Successfully built f78f9634f28a [2023-11-21T22:45:40.285Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:45:41.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:45:41.577Z] [2023-11-21T22:45:41.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:45:42.042Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:45:42.314Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-21T22:45:42.315Z] 8998bd30e6a1: Pulling fs layer [2023-11-21T22:45:42.315Z] 04944245beec: Pulling fs layer [2023-11-21T22:45:42.315Z] 699f458cf7ca: Pulling fs layer [2023-11-21T22:45:42.315Z] 765212b225bb: Pulling fs layer [2023-11-21T22:45:42.315Z] f23df028b6ca: Pulling fs layer [2023-11-21T22:45:42.315Z] d65c8cfc05b1: Pulling fs layer [2023-11-21T22:45:42.315Z] 2437ff75d9bd: Pulling fs layer [2023-11-21T22:45:42.315Z] f23df028b6ca: Waiting [2023-11-21T22:45:42.315Z] d65c8cfc05b1: Waiting [2023-11-21T22:45:42.315Z] 2437ff75d9bd: Waiting [2023-11-21T22:45:42.315Z] 765212b225bb: Waiting [2023-11-21T22:45:42.315Z] 04944245beec: Verifying Checksum [2023-11-21T22:45:42.315Z] 04944245beec: Download complete [2023-11-21T22:45:42.315Z] 765212b225bb: Verifying Checksum [2023-11-21T22:45:42.315Z] 765212b225bb: Download complete [2023-11-21T22:45:42.315Z] f23df028b6ca: Verifying Checksum [2023-11-21T22:45:42.315Z] f23df028b6ca: Download complete [2023-11-21T22:45:42.315Z] d65c8cfc05b1: Verifying Checksum [2023-11-21T22:45:42.315Z] d65c8cfc05b1: Download complete [2023-11-21T22:45:42.590Z] 699f458cf7ca: Verifying Checksum [2023-11-21T22:45:42.590Z] 699f458cf7ca: Download complete [2023-11-21T22:45:42.867Z] 8998bd30e6a1: Verifying Checksum [2023-11-21T22:45:42.867Z] 8998bd30e6a1: Download complete [2023-11-21T22:45:45.478Z] 2437ff75d9bd: Download complete [2023-11-21T22:45:50.852Z] 8998bd30e6a1: Pull complete [2023-11-21T22:45:51.437Z] 04944245beec: Pull complete [2023-11-21T22:45:53.382Z] 699f458cf7ca: Pull complete [2023-11-21T22:45:53.382Z] 765212b225bb: Pull complete [2023-11-21T22:45:54.364Z] f23df028b6ca: Pull complete [2023-11-21T22:45:54.364Z] d65c8cfc05b1: Pull complete [2023-11-21T22:46:12.604Z] 2437ff75d9bd: Pull complete [2023-11-21T22:46:12.604Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-21T22:46:12.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:46:12.604Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:46:13.110Z] prd-ubuntu20.04-docker-arm64-4c-16g-751 does not seem to be running inside a container [2023-11-21T22:46:13.194Z] $ 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 [2023-11-21T22:46:19.980Z] $ docker top 1a323ddb9e843534cef7d055ac9a92d76cfb3825d91166c29c991c6875582d06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:21.028Z] ---> job-cost.sh [2023-11-21T22:46:21.028Z] lf-activate-venv: SKIPPING [2023-11-21T22:46:21.028Z] INFO: No Stack... [2023-11-21T22:46:21.613Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-21T22:46:22.198Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:46:22.881Z] + cut -d, -f6 [2023-11-21T22:46:22.882Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2023-11-21T22:46:22.971Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-451-1-stack-cost] [2023-11-21T22:46:22.975Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-451-1-stack-cost] did not exist. Created. [2023-11-21T22:46:22.975Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-451-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:46:23.836Z] /w/workspace/device-virtual-go/1@tmp/durable-a9294074/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-21T22:46:24.520Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-21T22:46:24.564Z] Warning: overwriting stash ‘stack-cost’ [2023-11-21T22:46:24.619Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:46:24.666Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-451-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:46:24.845Z] $ docker stop --time=1 1a323ddb9e843534cef7d055ac9a92d76cfb3825d91166c29c991c6875582d06 [2023-11-21T22:46:26.412Z] $ docker rm -f --volumes 1a323ddb9e843534cef7d055ac9a92d76cfb3825d91166c29c991c6875582d06 [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 [2023-11-21T22:46:28.541Z] provisioning config files... [2023-11-21T22:46:28.554Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-451@tmp/config15942255444324044396tmp [Pipeline] { [Pipeline] sh [2023-11-21T22:46:28.989Z] + set +x [2023-11-21T22:46:28.989Z] + curl -s https://codecov.io/bash [2023-11-21T22:46:28.989Z] + bash -s -- [2023-11-21T22:46:28.989Z] [2023-11-21T22:46:28.989Z] _____ _ [2023-11-21T22:46:28.989Z] / ____| | | [2023-11-21T22:46:28.989Z] | | ___ __| | ___ ___ _____ __ [2023-11-21T22:46:28.989Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-21T22:46:28.989Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-21T22:46:28.989Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-21T22:46:28.989Z] Bash-1.0.6 [2023-11-21T22:46:28.989Z] [2023-11-21T22:46:28.989Z] [2023-11-21T22:46:28.989Z] ==> git version 2.25.1 found [2023-11-21T22:46:28.989Z] ==> 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 [2023-11-21T22:46:28.989Z] Release-Date: 2020-01-08 [2023-11-21T22:46:28.989Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-21T22:46:28.989Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-21T22:46:28.989Z] ==> Jenkins CI detected. [2023-11-21T22:46:28.989Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-451 [2023-11-21T22:46:28.989Z] project root: . [2023-11-21T22:46:28.989Z] --> token set from env [2023-11-21T22:46:28.989Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-21T22:46:28.989Z] ==> Running gcov in . (disable via -X gcov) [2023-11-21T22:46:28.989Z] ==> Python coveragepy not found [2023-11-21T22:46:28.989Z] ==> Searching for coverage reports in: [2023-11-21T22:46:28.989Z] + . [2023-11-21T22:46:28.989Z] -> Found 1 reports [2023-11-21T22:46:28.989Z] ==> Detecting git/mercurial file structure [2023-11-21T22:46:28.989Z] ==> Reading reports [2023-11-21T22:46:28.989Z] + ./coverage.out bytes=43063 [2023-11-21T22:46:28.989Z] ==> Appending adjustments [2023-11-21T22:46:28.989Z] https://docs.codecov.io/docs/fixing-reports [2023-11-21T22:46:29.250Z] + Found adjustments [2023-11-21T22:46:29.250Z] ==> Gzipping contents [2023-11-21T22:46:29.250Z] 8.0K /tmp/codecov.nSIPom.gz [2023-11-21T22:46:29.250Z] ==> Uploading reports [2023-11-21T22:46:29.250Z] url: https://codecov.io [2023-11-21T22:46:29.250Z] query: branch=PR-451&commit=b728d9fe8c1f7a03007f76ebacc7f3d8184edd97&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-451%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=451&job=&cmd_args= [2023-11-21T22:46:29.250Z] -> Pinging Codecov [2023-11-21T22:46:29.250Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-451&commit=b728d9fe8c1f7a03007f76ebacc7f3d8184edd97&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-451%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=451&job=&cmd_args= [2023-11-21T22:46:29.250Z] -> Uploading to [2023-11-21T22:46:29.250Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-21/5E52B4B073DB2E39498172D8E973AA87/b728d9fe8c1f7a03007f76ebacc7f3d8184edd97/7e6b9279-3368-477f-8877-53bfe88b2bb0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231121T224629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b4450e704ebfd5d22c028918c53b37ba3ba04e997a92af5f8ed46af9b3e8430c [2023-11-21T22:46:29.250Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:46:29.250Z] Dload Upload Total Spent Left Speed [2023-11-21T22:46:29.509Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 21730 --:--:-- --:--:-- --:--:-- 21730 [2023-11-21T22:46:29.509Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b728d9fe8c1f7a03007f76ebacc7f3d8184edd97 [Pipeline] } [2023-11-21T22:46:29.538Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-21T22:46:32.707Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-451/archives ] [2023-11-21T22:46:32.707Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-451/archives [2023-11-21T22:46:32.707Z] total 16 [2023-11-21T22:46:32.707Z] drwxr-xr-x 3 root root 4096 Nov 21 22:25 . [2023-11-21T22:46:32.707Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 21 22:25 .. [2023-11-21T22:46:32.707Z] drwxr-xr-x 2 root root 4096 Nov 21 22:25 cost [2023-11-21T22:46:32.707Z] -rw-r--r-- 1 root root 89 Nov 21 22:25 cost.csv [2023-11-21T22:46:32.707Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-451/archives [2023-11-21T22:46:32.707Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-451/archives [2023-11-21T22:46:32.707Z] total 16 [2023-11-21T22:46:32.707Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:25 . [2023-11-21T22:46:32.707Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 21 22:25 .. [2023-11-21T22:46:32.707Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 21 22:25 cost [2023-11-21T22:46:32.707Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 21 22:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:33.041Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:33.928Z] ---> package-listing.sh [2023-11-21T22:46:33.928Z] ++ facter osfamily [2023-11-21T22:46:33.928Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-21T22:46:34.187Z] + OS_FAMILY=debian [2023-11-21T22:46:34.187Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-451 [2023-11-21T22:46:34.187Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-21T22:46:34.187Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-21T22:46:34.187Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-21T22:46:34.187Z] + PACKAGES=/tmp/packages_start.txt [2023-11-21T22:46:34.187Z] + '[' /w/workspace/foundry_device-virtual-go_PR-451 ']' [2023-11-21T22:46:34.187Z] + PACKAGES=/tmp/packages_end.txt [2023-11-21T22:46:34.187Z] + case "${OS_FAMILY}" in [2023-11-21T22:46:34.187Z] + dpkg -l [2023-11-21T22:46:34.187Z] + grep '^ii' [2023-11-21T22:46:34.187Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-21T22:46:34.187Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-21T22:46:34.187Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-21T22:46:34.187Z] + '[' /w/workspace/foundry_device-virtual-go_PR-451 ']' [2023-11-21T22:46:34.187Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-451/archives/ [2023-11-21T22:46:34.187Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-451/archives/ [Pipeline] echo [2023-11-21T22:46:34.222Z] 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-451/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-21T22:46:34.518Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:46:35.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:46:35.203Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:46:35.446Z] prd-ubuntu20.04-docker-8c-8g-357 does not seem to be running inside a container [2023-11-21T22:46:35.485Z] $ 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-451/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-451 -v /w/workspace/foundry_device-virtual-go_PR-451:/w/workspace/foundry_device-virtual-go_PR-451:rw,z -v /w/workspace/foundry_device-virtual-go_PR-451@tmp:/w/workspace/foundry_device-virtual-go_PR-451@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 [2023-11-21T22:46:35.681Z] $ docker top ded93a7464c894353d63ad0eaa9020d2640f0465ee7f0023843f57a73f522c06 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:46:36.155Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-21T22:46:36.464Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-21T22:46:36.783Z] + ls /var/log/sa-host [2023-11-21T22:46:36.783Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:46:36.978Z] provisioning config files... [2023-11-21T22:46:36.987Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-451@tmp/config17059401106463022818tmp [Pipeline] { [Pipeline] echo [2023-11-21T22:46:37.143Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:37.467Z] ---> create-netrc.sh [Pipeline] } [2023-11-21T22:46:37.505Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:38.043Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-21T22:46:38.079Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:38.390Z] ---> sudo-logs.sh [2023-11-21T22:46:38.390Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-21T22:46:38.548Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:38.863Z] ---> job-cost.sh [2023-11-21T22:46:38.863Z] lf-activate-venv: SKIPPING [2023-11-21T22:46:38.863Z] DEBUG: total: 0.2199999988079071 [2023-11-21T22:46:38.863Z] INFO: Retrieving Stack Cost... [2023-11-21T22:46:39.430Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:46:39.689Z] INFO: Archiving Costs [Pipeline] echo [2023-11-21T22:46:39.736Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:40.066Z] ---> logs-deploy.sh [2023-11-21T22:46:40.066Z] lf-activate-venv: SKIPPING [2023-11-21T22:46:40.066Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-451/1 [2023-11-21T22:46:40.066Z] INFO: archiving workspace using pattern(s): [2023-11-21T22:46:41.002Z] Archives upload complete. [2023-11-21T22:46:41.002Z] INFO: archiving logs to Nexus