Pull request #1541 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of zyqhpz for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 7730e9b2488ebe82cf8f1ec58f41fa934430b51b rather than 798535ca16eb4d2fd67228116ffb97b709bf3eb6 Obtained Jenkinsfile from 7730e9b2488ebe82cf8f1ec58f41fa934430b51b 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-ssh7795615019837832119.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-ssh1736733440208586920.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-sdk-go/branches/PR-1541/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-sdk-go/branches/PR-1541/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5790517009034335094.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-sdk-go/branches/PR-1541/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12670058754669746320.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-ssh18050593019868011203.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-sdk-go/branches/PR-1541/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-sdk-go/branches/PR-1541/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11774767657296527259.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 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-171 in /w/workspace/gexfoundry_device-sdk-go_PR-1541 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1541 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1541/head:refs/remotes/origin/PR-1541 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit 798535ca16eb4d2fd67228116ffb97b709bf3eb6 Merge succeeded, producing 798535ca16eb4d2fd67228116ffb97b709bf3eb6 Checking out Revision 798535ca16eb4d2fd67228116ffb97b709bf3eb6 (PR-1541) > git config core.sparsecheckout # timeout=10 > git checkout -f 798535ca16eb4d2fd67228116ffb97b709bf3eb6 # 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 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 798535ca16eb4d2fd67228116ffb97b709bf3eb6 # timeout=10 Commit message: "change v2 to v3 on register routes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-18T10:07:02.106Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-18T10:07:02.313Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-18T10:07:02.423Z] ========================================================= [2023-11-18T10:07:02.423Z] EdgeX Global Pipelines Version Info [2023-11-18T10:07:02.423Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:07:03.584Z] ------------------- [2023-11-18T10:07:03.584Z] stable info: [2023-11-18T10:07:03.584Z] ------------------- [2023-11-18T10:07:03.584Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-18T10:07:03.584Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-18T10:07:03.584Z] Message: update stable to v1.0.258 [2023-11-18T10:07:03.847Z] ------------------- [2023-11-18T10:07:03.847Z] experimental info: [2023-11-18T10:07:03.847Z] ------------------- [2023-11-18T10:07:03.847Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-18T10:07:03.847Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-18T10:07:03.847Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-18T10:07:04.068Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-18T10:07:04.123Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-18T10:07:04.181Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-18T10:07:04.237Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-18T10:07:04.286Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-18T10:07:04.341Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-18T10:07:04.397Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-18T10:07:04.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-18T10:07:04.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-18T10:07:04.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-18T10:07:04.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-18T10:07:04.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-18T10:07:04.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-18T10:07:04.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-18T10:07:04.884Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-18T10:07:04.946Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-18T10:07:05.019Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-18T10:07:05.086Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-18T10:07:05.157Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-18T10:07:05.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-18T10:07:05.287Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-18T10:07:05.358Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-18T10:07:05.423Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-18T10:07:05.497Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-18T10:07:05.566Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-18T10:07:05.635Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-18T10:07:05.710Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-18T10:07:05.786Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1541 [Pipeline] echo [2023-11-18T10:07:05.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1541 [Pipeline] echo [2023-11-18T10:07:05.932Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1541 [Pipeline] echo [2023-11-18T10:07:06.002Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 798535ca16eb4d2fd67228116ffb97b709bf3eb6 [Pipeline] echo [2023-11-18T10:07:06.074Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 798535c [Pipeline] echo [2023-11-18T10:07:06.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-18T10:07:06.325Z] provisioning config files... [2023-11-18T10:07:06.340Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config11892695070694298109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:07:06.778Z] ---> ****-login.sh [2023-11-18T10:07:06.778Z] nexus3.edgexfoundry.org:10001 [2023-11-18T10:07:08.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:07:08.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:07:08.166Z] Configure a credential helper to remove this warning. See [2023-11-18T10:07:08.166Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:07:08.166Z] [2023-11-18T10:07:08.166Z] Login Succeeded [2023-11-18T10:07:08.166Z] nexus3.edgexfoundry.org:10002 [2023-11-18T10:07:08.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:07:08.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:07:08.427Z] Configure a credential helper to remove this warning. See [2023-11-18T10:07:08.427Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:07:08.427Z] [2023-11-18T10:07:08.427Z] Login Succeeded [2023-11-18T10:07:08.427Z] nexus3.edgexfoundry.org:10003 [2023-11-18T10:07:08.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:07:08.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:07:08.427Z] Configure a credential helper to remove this warning. See [2023-11-18T10:07:08.428Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:07:08.428Z] [2023-11-18T10:07:08.428Z] Login Succeeded [2023-11-18T10:07:08.428Z] nexus3.edgexfoundry.org:10004 [2023-11-18T10:07:08.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:07:08.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:07:08.689Z] Configure a credential helper to remove this warning. See [2023-11-18T10:07:08.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:07:08.689Z] [2023-11-18T10:07:08.689Z] Login Succeeded [2023-11-18T10:07:08.689Z] ****.io [2023-11-18T10:07:08.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:07:08.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:07:08.949Z] Configure a credential helper to remove this warning. See [2023-11-18T10:07:08.949Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:07:08.949Z] [2023-11-18T10:07:08.949Z] Login Succeeded [2023-11-18T10:07:08.949Z] ---> ****-login.sh ends [Pipeline] } [2023-11-18T10:07:08.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-18T10:07:09.783Z] + git rev-list -1 --merges 798535ca16eb4d2fd67228116ffb97b709bf3eb6~1..798535ca16eb4d2fd67228116ffb97b709bf3eb6 [Pipeline] echo [2023-11-18T10:07:09.821Z] -----------> git rev-list -1 --merges 798535ca16eb4d2fd67228116ffb97b709bf3eb6~1..798535ca16eb4d2fd67228116ffb97b709bf3eb6 798535ca16eb4d2fd67228116ffb97b709bf3eb6 [false] [Pipeline] sh [2023-11-18T10:07:10.149Z] + git log --format=format:%s -1 798535ca16eb4d2fd67228116ffb97b709bf3eb6 [Pipeline] echo [2023-11-18T10:07:10.182Z] ========================================================= [2023-11-18T10:07:10.182Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-18T10:07:10.182Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-18T10:07:10.667Z] + git log --format=format:%s -1 798535ca16eb4d2fd67228116ffb97b709bf3eb6 [Pipeline] echo [2023-11-18T10:07:10.705Z] [semverPrep] GIT_COMMIT: 798535ca16eb4d2fd67228116ffb97b709bf3eb6, Commit Message: change v2 to v3 on register routes [Pipeline] echo [2023-11-18T10:07:10.753Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-18T10:07:11.189Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-18T10:07:11.189Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-18T10:07:11.189Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-18T10:07:11.189Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-18T10:07:11.189Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-18T10:07:11.189Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-18T10:07:11.189Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:07:11.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-18T10:07:11.694Z] [2023-11-18T10:07:11.694Z] 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-18T10:07:12.148Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-18T10:07:12.148Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-18T10:07:12.148Z] b85a868b505f: Pulling fs layer [2023-11-18T10:07:12.148Z] e2be974225ed: Pulling fs layer [2023-11-18T10:07:12.148Z] 339a4e72a1f5: Pulling fs layer [2023-11-18T10:07:12.148Z] 988bab9f4d93: Pulling fs layer [2023-11-18T10:07:12.148Z] 1469e6f7b9e6: Pulling fs layer [2023-11-18T10:07:12.148Z] eaf3925da568: Pulling fs layer [2023-11-18T10:07:12.148Z] bab4dde63d76: Pulling fs layer [2023-11-18T10:07:12.148Z] bde34c3a00c8: Pulling fs layer [2023-11-18T10:07:12.148Z] b352a97aabf1: Pulling fs layer [2023-11-18T10:07:12.148Z] 4872d77fe225: Pulling fs layer [2023-11-18T10:07:12.148Z] 5851b861e8e6: Pulling fs layer [2023-11-18T10:07:12.148Z] 988bab9f4d93: Waiting [2023-11-18T10:07:12.148Z] 1469e6f7b9e6: Waiting [2023-11-18T10:07:12.148Z] eaf3925da568: Waiting [2023-11-18T10:07:12.148Z] bab4dde63d76: Waiting [2023-11-18T10:07:12.148Z] bde34c3a00c8: Waiting [2023-11-18T10:07:12.148Z] b352a97aabf1: Waiting [2023-11-18T10:07:12.148Z] 4872d77fe225: Waiting [2023-11-18T10:07:12.148Z] 5851b861e8e6: Waiting [2023-11-18T10:07:12.148Z] e2be974225ed: Verifying Checksum [2023-11-18T10:07:12.148Z] e2be974225ed: Download complete [2023-11-18T10:07:12.148Z] 988bab9f4d93: Verifying Checksum [2023-11-18T10:07:12.148Z] 988bab9f4d93: Download complete [2023-11-18T10:07:12.409Z] 1469e6f7b9e6: Verifying Checksum [2023-11-18T10:07:12.409Z] 1469e6f7b9e6: Download complete [2023-11-18T10:07:12.409Z] eaf3925da568: Verifying Checksum [2023-11-18T10:07:12.409Z] eaf3925da568: Download complete [2023-11-18T10:07:12.409Z] 339a4e72a1f5: Verifying Checksum [2023-11-18T10:07:12.409Z] 339a4e72a1f5: Download complete [2023-11-18T10:07:12.409Z] bde34c3a00c8: Download complete [2023-11-18T10:07:12.409Z] b352a97aabf1: Download complete [2023-11-18T10:07:12.409Z] 4872d77fe225: Verifying Checksum [2023-11-18T10:07:12.409Z] 4872d77fe225: Download complete [2023-11-18T10:07:12.409Z] 5851b861e8e6: Verifying Checksum [2023-11-18T10:07:12.409Z] 5851b861e8e6: Download complete [2023-11-18T10:07:12.409Z] b85a868b505f: Verifying Checksum [2023-11-18T10:07:12.409Z] b85a868b505f: Download complete [2023-11-18T10:07:12.669Z] bab4dde63d76: Verifying Checksum [2023-11-18T10:07:12.669Z] bab4dde63d76: Download complete [2023-11-18T10:07:13.608Z] b85a868b505f: Pull complete [2023-11-18T10:07:13.867Z] e2be974225ed: Pull complete [2023-11-18T10:07:14.434Z] 339a4e72a1f5: Pull complete [2023-11-18T10:07:14.434Z] 988bab9f4d93: Pull complete [2023-11-18T10:07:14.694Z] 1469e6f7b9e6: Pull complete [2023-11-18T10:07:14.694Z] eaf3925da568: Pull complete [2023-11-18T10:07:16.606Z] bab4dde63d76: Pull complete [2023-11-18T10:07:16.606Z] bde34c3a00c8: Pull complete [2023-11-18T10:07:16.867Z] b352a97aabf1: Pull complete [2023-11-18T10:07:16.867Z] 4872d77fe225: Pull complete [2023-11-18T10:07:17.127Z] 5851b861e8e6: Pull complete [2023-11-18T10:07:17.127Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-18T10:07:17.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-18T10:07:17.127Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T10:07:17.486Z] prd-ubuntu20.04-docker-8c-8g-171 does not seem to be running inside a container [2023-11-18T10:07:17.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@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-devops/py-git-semver:0.1.4 cat [2023-11-18T10:07:21.076Z] $ docker top 29d9385d730e3be76041ae581435cc4373a88500d164328e07d33f7f58d37a61 -eo pid,comm [2023-11-18T10:07:21.179Z] 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-18T10:07:21.179Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-18T10:07:21.385Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-18T10:07:21.385Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-18T10:07:21.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-18T10:07:21.510Z] $ docker exec 29d9385d730e3be76041ae581435cc4373a88500d164328e07d33f7f58d37a61 ssh-agent [2023-11-18T10:07:21.611Z] SSH_AUTH_SOCK=/tmp/ssh-UVvZxbJvPUeK/agent.32 [2023-11-18T10:07:21.611Z] SSH_AGENT_PID=38 [2023-11-18T10:07:21.620Z] Running ssh-add (command line suppressed) [2023-11-18T10:07:21.734Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_2153067417439649537.key (/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_2153067417439649537.key) [2023-11-18T10:07:21.742Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-18T10:07:22.094Z] + git tag --points-at HEAD [Pipeline] } [2023-11-18T10:07:22.140Z] $ docker exec --env ******** --env ******** 29d9385d730e3be76041ae581435cc4373a88500d164328e07d33f7f58d37a61 ssh-agent -k [2023-11-18T10:07:22.252Z] unset SSH_AUTH_SOCK; [2023-11-18T10:07:22.253Z] unset SSH_AGENT_PID; [2023-11-18T10:07:22.253Z] echo Agent pid 38 killed; [2023-11-18T10:07:22.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-18T10:07:22.409Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-18T10:07:22.409Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-18T10:07:22.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-18T10:07:22.529Z] $ docker exec 29d9385d730e3be76041ae581435cc4373a88500d164328e07d33f7f58d37a61 ssh-agent [2023-11-18T10:07:22.619Z] SSH_AUTH_SOCK=/tmp/ssh-nlHMT5USVczn/agent.70 [2023-11-18T10:07:22.619Z] SSH_AGENT_PID=76 [2023-11-18T10:07:22.624Z] Running ssh-add (command line suppressed) [2023-11-18T10:07:22.749Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_8463610612964702019.key (/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_8463610612964702019.key) [2023-11-18T10:07:22.757Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-18T10:07:23.124Z] + git semver init [2023-11-18T10:07:23.386Z] 2023-11-18 10:07:23,353 [run_init] DEBUG init version:0.0.0 force:False [2023-11-18T10:07:23.386Z] 2023-11-18 10:07:23,354 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver [2023-11-18T10:07:23.386Z] 2023-11-18 10:07:23,354 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver [2023-11-18T10:07:23.386Z] 2023-11-18 10:07:23,355 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541, universal_newlines=False, shell=None, istream=None) [2023-11-18T10:07:24.763Z] 2023-11-18 10:07:24,677 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.git/info/exclude [2023-11-18T10:07:24.763Z] 2023-11-18 10:07:24,677 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 with force:False [2023-11-18T10:07:24.763Z] 2023-11-18 10:07:24,678 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 [2023-11-18T10:07:24.763Z] 2023-11-18 10:07:24,683 [execute] INFO git cat-file --batch-check [2023-11-18T10:07:24.763Z] 2023-11-18 10:07:24,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver, universal_newlines=False, shell=None, istream=) [2023-11-18T10:07:24.763Z] 2023-11-18 10:07:24,690 [execute] INFO git cat-file --batch [2023-11-18T10:07:24.763Z] 2023-11-18 10:07:24,691 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver, universal_newlines=False, shell=None, istream=) [2023-11-18T10:07:24.763Z] 2023-11-18 10:07:24,696 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 [2023-11-18T10:07:24.763Z] 0.0.0 [Pipeline] } [2023-11-18T10:07:24.800Z] $ docker exec --env ******** --env ******** 29d9385d730e3be76041ae581435cc4373a88500d164328e07d33f7f58d37a61 ssh-agent -k [2023-11-18T10:07:24.901Z] unset SSH_AUTH_SOCK; [2023-11-18T10:07:24.902Z] unset SSH_AGENT_PID; [2023-11-18T10:07:24.902Z] echo Agent pid 76 killed; [2023-11-18T10:07:24.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-18T10:07:25.436Z] + git semver [Pipeline] } [2023-11-18T10:07:25.726Z] $ docker stop --time=1 29d9385d730e3be76041ae581435cc4373a88500d164328e07d33f7f58d37a61 [2023-11-18T10:07:27.065Z] $ docker rm -f --volumes 29d9385d730e3be76041ae581435cc4373a88500d164328e07d33f7f58d37a61 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-18T10:07:27.518Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-18T10:07:27.853Z] Stashed 1 file(s) [Pipeline] echo [2023-11-18T10:07:27.870Z] [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-18T10:07:28.797Z] provisioning config files... [2023-11-18T10:07:28.809Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config6379267142667821404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:07:29.206Z] ---> ****-login.sh [2023-11-18T10:07:29.206Z] nexus3.edgexfoundry.org:10001 [2023-11-18T10:07:29.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:07:29.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:07:29.207Z] Configure a credential helper to remove this warning. See [2023-11-18T10:07:29.207Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:07:29.207Z] [2023-11-18T10:07:29.207Z] Login Succeeded [2023-11-18T10:07:29.207Z] nexus3.edgexfoundry.org:10002 [2023-11-18T10:07:29.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:07:29.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:07:29.207Z] Configure a credential helper to remove this warning. See [2023-11-18T10:07:29.207Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:07:29.207Z] [2023-11-18T10:07:29.207Z] Login Succeeded [2023-11-18T10:07:29.207Z] nexus3.edgexfoundry.org:10003 [2023-11-18T10:07:29.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:07:29.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:07:29.466Z] Configure a credential helper to remove this warning. See [2023-11-18T10:07:29.466Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:07:29.466Z] [2023-11-18T10:07:29.466Z] Login Succeeded [2023-11-18T10:07:29.467Z] nexus3.edgexfoundry.org:10004 [2023-11-18T10:07:29.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:07:29.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:07:29.467Z] Configure a credential helper to remove this warning. See [2023-11-18T10:07:29.467Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:07:29.467Z] [2023-11-18T10:07:29.467Z] Login Succeeded [2023-11-18T10:07:29.467Z] ****.io [2023-11-18T10:07:29.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:07:29.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:07:29.726Z] Configure a credential helper to remove this warning. See [2023-11-18T10:07:29.727Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:07:29.727Z] [2023-11-18T10:07:29.727Z] Login Succeeded [2023-11-18T10:07:29.727Z] ---> ****-login.sh ends [Pipeline] } [2023-11-18T10:07:29.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-18T10:07:30.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-18T10:07:30.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-18T10:07:30.209Z] ========================================================= [2023-11-18T10:07:30.209Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-18T10:07:30.209Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:07:30.801Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/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-18T10:07:30.801Z] Sending build context to Docker daemon 21.94MB [2023-11-18T10:07:30.801Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-18T10:07:30.801Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-18T10:07:31.068Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-18T10:07:31.068Z] 7264a8db6415: Pulling fs layer [2023-11-18T10:07:31.068Z] c4d48a809fc2: Pulling fs layer [2023-11-18T10:07:31.068Z] 4f1c88b9dad5: Pulling fs layer [2023-11-18T10:07:31.068Z] ad3a456e5733: Pulling fs layer [2023-11-18T10:07:31.068Z] 69c7f0334f64: Pulling fs layer [2023-11-18T10:07:31.068Z] 1f1c1a5573a3: Pulling fs layer [2023-11-18T10:07:31.068Z] ce7588e14bc9: Pulling fs layer [2023-11-18T10:07:31.068Z] b5e4710f87ac: Pulling fs layer [2023-11-18T10:07:31.068Z] 69c7f0334f64: Waiting [2023-11-18T10:07:31.068Z] ce7588e14bc9: Waiting [2023-11-18T10:07:31.068Z] b5e4710f87ac: Waiting [2023-11-18T10:07:31.068Z] 1f1c1a5573a3: Waiting [2023-11-18T10:07:31.068Z] ad3a456e5733: Waiting [2023-11-18T10:07:31.068Z] c4d48a809fc2: Download complete [2023-11-18T10:07:31.068Z] ad3a456e5733: Verifying Checksum [2023-11-18T10:07:31.068Z] ad3a456e5733: Download complete [2023-11-18T10:07:31.068Z] 7264a8db6415: Verifying Checksum [2023-11-18T10:07:31.068Z] 7264a8db6415: Download complete [2023-11-18T10:07:31.068Z] 69c7f0334f64: Verifying Checksum [2023-11-18T10:07:31.068Z] 69c7f0334f64: Download complete [2023-11-18T10:07:31.068Z] 1f1c1a5573a3: Verifying Checksum [2023-11-18T10:07:31.068Z] 1f1c1a5573a3: Download complete [2023-11-18T10:07:31.328Z] 7264a8db6415: Pull complete [2023-11-18T10:07:31.328Z] c4d48a809fc2: Pull complete [2023-11-18T10:07:31.328Z] b5e4710f87ac: Verifying Checksum [2023-11-18T10:07:31.328Z] b5e4710f87ac: Download complete [2023-11-18T10:07:31.586Z] 4f1c88b9dad5: Verifying Checksum [2023-11-18T10:07:31.586Z] 4f1c88b9dad5: Download complete [2023-11-18T10:07:31.852Z] ce7588e14bc9: Verifying Checksum [2023-11-18T10:07:31.852Z] ce7588e14bc9: Download complete [2023-11-18T10:07:35.137Z] 4f1c88b9dad5: Pull complete [2023-11-18T10:07:35.394Z] ad3a456e5733: Pull complete [2023-11-18T10:07:35.394Z] 69c7f0334f64: Pull complete [2023-11-18T10:07:35.652Z] 1f1c1a5573a3: Pull complete [2023-11-18T10:07:38.181Z] ce7588e14bc9: Pull complete [2023-11-18T10:07:38.440Z] b5e4710f87ac: Pull complete [2023-11-18T10:07:38.440Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-18T10:07:38.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-18T10:07:38.440Z] ---> 88b5674ff536 [2023-11-18T10:07:38.440Z] Step 3/10 : ARG MAKE=make build [2023-11-18T10:07:43.539Z] Still waiting to schedule task [2023-11-18T10:07:43.539Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-18T10:07:46.569Z] ---> Running in 5886d880bd27 [2023-11-18T10:07:46.569Z] Removing intermediate container 5886d880bd27 [2023-11-18T10:07:46.569Z] ---> 7136fdd7e92e [2023-11-18T10:07:46.569Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-18T10:07:46.831Z] ---> Running in 1c130c0ee7f4 [2023-11-18T10:07:47.091Z] Removing intermediate container 1c130c0ee7f4 [2023-11-18T10:07:47.091Z] ---> 38f1871aabc6 [2023-11-18T10:07:47.091Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-18T10:07:47.091Z] ---> Running in 30df85d455a4 [2023-11-18T10:07:47.091Z] Removing intermediate container 30df85d455a4 [2023-11-18T10:07:47.091Z] ---> 540b49bbe2b3 [2023-11-18T10:07:47.091Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-18T10:07:47.351Z] ---> Running in 16f64496bef8 [2023-11-18T10:07:47.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-18T10:07:47.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-18T10:07:47.870Z] OK: 264 MiB in 52 packages [2023-11-18T10:07:48.438Z] Removing intermediate container 16f64496bef8 [2023-11-18T10:07:48.438Z] ---> 020929af22c7 [2023-11-18T10:07:48.438Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-18T10:07:48.438Z] ---> 23f51e207eb3 [2023-11-18T10:07:48.438Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-18T10:07:48.438Z] ---> Running in 05b838818fd2 [2023-11-18T10:09:09.911Z] Removing intermediate container 05b838818fd2 [2023-11-18T10:09:09.911Z] ---> d2ba552f2ea7 [2023-11-18T10:09:09.911Z] Step 9/10 : COPY . . [2023-11-18T10:09:09.911Z] ---> 79ec5367a6d5 [2023-11-18T10:09:09.911Z] Step 10/10 : RUN ${MAKE} [2023-11-18T10:09:09.911Z] ---> Running in c2f3db62958d [2023-11-18T10:09:09.911Z] noop [2023-11-18T10:09:09.911Z] Removing intermediate container c2f3db62958d [2023-11-18T10:09:09.911Z] ---> ba645e3054d4 [2023-11-18T10:09:09.911Z] Successfully built ba645e3054d4 [2023-11-18T10:09:09.911Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:09:10.459Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-18T10:09:10.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T10:09:10.661Z] prd-ubuntu20.04-docker-8c-8g-171 does not seem to be running inside a container [2023-11-18T10:09:10.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-18T10:09:11.077Z] $ docker top ab70051c6cc0d9db4b0ca9047d85f6f85a14af4827b8337ae5465ae6b893a6fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-18T10:09:11.516Z] + go version [2023-11-18T10:09:11.516Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-18T10:09:11.563Z] $ docker stop --time=1 ab70051c6cc0d9db4b0ca9047d85f6f85a14af4827b8337ae5465ae6b893a6fa [2023-11-18T10:09:12.858Z] $ docker rm -f --volumes ab70051c6cc0d9db4b0ca9047d85f6f85a14af4827b8337ae5465ae6b893a6fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:09:13.813Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-18T10:09:13.813Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T10:09:14.019Z] prd-ubuntu20.04-docker-8c-8g-171 does not seem to be running inside a container [2023-11-18T10:09:14.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-18T10:09:14.414Z] $ docker top 8fcf2076754ff48f1e7293ce4c7467d4a84ff8ee57ef6ca2daec27eb6d175e96 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-18T10:09:14.855Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1541 [Pipeline] fileExists [Pipeline] sh [2023-11-18T10:09:15.260Z] + make test [2023-11-18T10:09:15.260Z] go test -race -coverprofile=coverage.out ./... [2023-11-18T10:09:21.831Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-18T10:09:36.239Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-172 in /w/workspace/gexfoundry_device-sdk-go_PR-1541 [Pipeline] { [Pipeline] ws [2023-11-18T10:09:36.342Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-11-18T10:09:36.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-18T10:09:36.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-18T10:09:36.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-18T10:09:36.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-18T10:09:36.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-18T10:09:36.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-18T10:09:36.702Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-18T10:09:36.702Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.037s coverage: 27.6% of statements [2023-11-18T10:09:36.702Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-18T10:09:36.702Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.043s coverage: 81.5% of statements [2023-11-18T10:09:36.702Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements [2023-11-18T10:09:37.268Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.074s coverage: 71.8% of statements [2023-11-18T10:09:37.268Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-18T10:09:37.268Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-18T10:09:37.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-18T10:09:39.466Z] The recommended git tool is: git [2023-11-18T10:09:40.810Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.4% of statements [2023-11-18T10:09:40.810Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.945s coverage: 45.9% of statements [2023-11-18T10:09:40.810Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.059s coverage: 68.5% of statements [2023-11-18T10:09:40.810Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.090s coverage: 89.2% of statements [2023-11-18T10:09:40.810Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements [2023-11-18T10:09:50.404Z] using credential edgex-jenkins-ssh [2023-11-18T10:09:50.431Z] Cloning the remote Git repository [2023-11-18T10:09:50.599Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-18T10:09:50.717Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-11-18T10:09:50.938Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-18T10:09:50.939Z] > git --version # timeout=10 [2023-11-18T10:09:50.979Z] > git --version # 'git version 2.25.1' [2023-11-18T10:09:50.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-18T10:09:51.161Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-18T10:09:53.696Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-18T10:09:53.732Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-18T10:09:55.491Z] Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit 798535ca16eb4d2fd67228116ffb97b709bf3eb6 [2023-11-18T10:09:54.786Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-18T10:09:54.825Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-18T10:09:54.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-18T10:09:54.841Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1541/head:refs/remotes/origin/PR-1541 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-18T10:09:55.517Z] > git config core.sparsecheckout # timeout=10 [2023-11-18T10:09:55.579Z] > git checkout -f 798535ca16eb4d2fd67228116ffb97b709bf3eb6 # timeout=10 [2023-11-18T10:09:55.792Z] Merge succeeded, producing 798535ca16eb4d2fd67228116ffb97b709bf3eb6 [2023-11-18T10:09:55.792Z] Checking out Revision 798535ca16eb4d2fd67228116ffb97b709bf3eb6 (PR-1541) [2023-11-18T10:09:55.688Z] > git remote # timeout=10 [2023-11-18T10:09:55.714Z] > git config --get remote.origin.url # timeout=10 [2023-11-18T10:09:55.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-18T10:09:55.748Z] > git merge 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 [2023-11-18T10:09:55.781Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-18T10:09:55.804Z] > git config core.sparsecheckout # timeout=10 [2023-11-18T10:09:55.820Z] > git checkout -f 798535ca16eb4d2fd67228116ffb97b709bf3eb6 # timeout=10 [2023-11-18T10:09:59.446Z] Commit message: "change v2 to v3 on register routes" [2023-11-18T10:09:59.507Z] > git --version # timeout=10 [2023-11-18T10:09:59.524Z] > git --version # 'git version 2.25.1' [2023-11-18T10:09:59.545Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-18T10:10:00.770Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-18T10:10:00.770Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-18T10:10:00.770Z] Dload Upload Total Spent Left Speed [2023-11-18T10:10:00.770Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 99k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-11-18T10:10:01.111Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-18T10:10:01.454Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-11-18T10:10:01.454Z] sudo tee /etc/docker/daemon.new [2023-11-18T10:10:01.454Z] { [2023-11-18T10:10:01.454Z] "registry-mirrors": [ [2023-11-18T10:10:01.454Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-18T10:10:01.454Z] ], [2023-11-18T10:10:01.454Z] "bip": "10.250.0.254/24", [2023-11-18T10:10:01.454Z] "hosts": [ [2023-11-18T10:10:01.454Z] "tcp://0.0.0.0:5555", [2023-11-18T10:10:01.454Z] "unix:///var/run/docker.sock" [2023-11-18T10:10:01.454Z] ], [2023-11-18T10:10:01.454Z] "mtu": 1458, [2023-11-18T10:10:01.454Z] "selinux-enabled": true, [2023-11-18T10:10:01.454Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-18T10:10:01.454Z] } [Pipeline] sh [2023-11-18T10:10:01.804Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-18T10:10:02.152Z] + sudo service docker restart [2023-11-18T10:10:02.902Z] GO111MODULE=on go vet ./... [2023-11-18T10:10:03.469Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-18T10:10:03.469Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-18T10:10:03.469Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-18T10:10:03.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-18T10:10:03.826Z] $ docker stop --time=1 8fcf2076754ff48f1e7293ce4c7467d4a84ff8ee57ef6ca2daec27eb6d175e96 [2023-11-18T10:10:07.665Z] $ docker rm -f --volumes 8fcf2076754ff48f1e7293ce4c7467d4a84ff8ee57ef6ca2daec27eb6d175e96 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-18T10:10:08.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-18T10:10:08.413Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-18T10:10:09.279Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-18T10:10:09.596Z] + ls -al . [2023-11-18T10:10:09.596Z] total 308 [2023-11-18T10:10:09.596Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 18 10:09 . [2023-11-18T10:10:09.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 10:06 .. [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 18 10:06 .dockerignore [2023-11-18T10:10:09.596Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 10:09 .git [2023-11-18T10:10:09.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 10:06 .github [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 18 10:06 .gitignore [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 18 10:06 .golangci.yml [2023-11-18T10:10:09.596Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 18 10:07 .semver [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 18 10:06 CHANGELOG.md [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 18 10:06 GOVERNANCE.md [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 18 10:06 Jenkinsfile [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 18 10:06 LICENSE [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 18 10:06 Makefile [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 18 10:06 OWNERS.md [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 18 10:06 README.md [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 10:07 VERSION [2023-11-18T10:10:09.596Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 10:06 bin [2023-11-18T10:10:09.596Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 18 10:09 coverage.out [2023-11-18T10:10:09.596Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 18 10:06 example [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 18 10:06 go.mod [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 18 10:06 go.sum [2023-11-18T10:10:09.596Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 18 10:06 internal [2023-11-18T10:10:09.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 10:06 openapi [2023-11-18T10:10:09.596Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 18 10:06 pkg [2023-11-18T10:10:09.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 10:06 snap [2023-11-18T10:10:09.596Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 18 10:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:10:10.067Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=798535ca16eb4d2fd67228116ffb97b709bf3eb6 --label arch=amd64 --label version=0.0.0 . [2023-11-18T10:10:10.067Z] Sending build context to Docker daemon 22.07MB [2023-11-18T10:10:10.067Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-18T10:10:10.067Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-18T10:10:10.067Z] ---> ba645e3054d4 [2023-11-18T10:10:10.067Z] Step 3/23 : ARG MAKE=make build [2023-11-18T10:10:10.647Z] ---> Running in cb7f4c55c4e5 [2023-11-18T10:10:10.647Z] Removing intermediate container cb7f4c55c4e5 [2023-11-18T10:10:10.647Z] ---> b126fae68830 [2023-11-18T10:10:10.647Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-18T10:10:10.647Z] ---> Running in 541960c8c550 [2023-11-18T10:10:10.647Z] Removing intermediate container 541960c8c550 [2023-11-18T10:10:10.647Z] ---> 2bfce1384cb4 [2023-11-18T10:10:10.647Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-18T10:10:10.647Z] ---> Running in 453570d31d64 [2023-11-18T10:10:10.906Z] Removing intermediate container 453570d31d64 [2023-11-18T10:10:10.906Z] ---> ca96cc6d4b0f [2023-11-18T10:10:10.906Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-18T10:10:10.906Z] ---> Running in 55c60f37aa44 [2023-11-18T10:10:11.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-18T10:10:11.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-18T10:10:11.423Z] OK: 264 MiB in 52 packages [2023-11-18T10:10:11.681Z] Removing intermediate container 55c60f37aa44 [2023-11-18T10:10:11.681Z] ---> 9a23e36f9897 [2023-11-18T10:10:11.681Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-18T10:10:11.940Z] ---> d37c315daff6 [2023-11-18T10:10:11.940Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-18T10:10:11.940Z] ---> Running in db135284877d [2023-11-18T10:10:12.509Z] Removing intermediate container db135284877d [2023-11-18T10:10:12.509Z] ---> dbcc5630364e [2023-11-18T10:10:12.509Z] Step 9/23 : COPY . . [2023-11-18T10:10:13.443Z] ---> c9da7300fab8 [2023-11-18T10:10:13.443Z] Step 10/23 : RUN ${MAKE} [2023-11-18T10:10:13.443Z] ---> Running in c677c4002411 [2023-11-18T10:10:13.702Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-18T10:10:20.499Z] provisioning config files... [2023-11-18T10:10:20.532Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1740108679132921879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:10:21.066Z] ---> ****-login.sh [2023-11-18T10:10:21.066Z] nexus3.edgexfoundry.org:10001 [2023-11-18T10:10:21.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:10:21.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:10:21.615Z] Configure a credential helper to remove this warning. See [2023-11-18T10:10:21.615Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:10:21.615Z] [2023-11-18T10:10:21.615Z] Login Succeeded [2023-11-18T10:10:21.615Z] nexus3.edgexfoundry.org:10002 [2023-11-18T10:10:21.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:10:22.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:10:22.160Z] Configure a credential helper to remove this warning. See [2023-11-18T10:10:22.160Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:10:22.160Z] [2023-11-18T10:10:22.160Z] Login Succeeded [2023-11-18T10:10:22.160Z] nexus3.edgexfoundry.org:10003 [2023-11-18T10:10:22.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:10:22.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:10:22.434Z] Configure a credential helper to remove this warning. See [2023-11-18T10:10:22.434Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:10:22.434Z] [2023-11-18T10:10:22.434Z] Login Succeeded [2023-11-18T10:10:22.434Z] nexus3.edgexfoundry.org:10004 [2023-11-18T10:10:22.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:10:22.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:10:22.706Z] Configure a credential helper to remove this warning. See [2023-11-18T10:10:22.706Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:10:22.706Z] [2023-11-18T10:10:22.706Z] Login Succeeded [2023-11-18T10:10:22.706Z] ****.io [2023-11-18T10:10:22.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T10:10:23.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T10:10:23.245Z] Configure a credential helper to remove this warning. See [2023-11-18T10:10:23.245Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T10:10:23.245Z] [2023-11-18T10:10:23.245Z] Login Succeeded [2023-11-18T10:10:23.245Z] ---> ****-login.sh ends [Pipeline] } [2023-11-18T10:10:23.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-18T10:10:23.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-18T10:10:23.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-18T10:10:23.944Z] ========================================================= [2023-11-18T10:10:23.944Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-18T10:10:23.944Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:10:24.586Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/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-18T10:10:28.868Z] Sending build context to Docker daemon 11.38MB [2023-11-18T10:10:28.868Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-18T10:10:28.868Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-18T10:10:28.868Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-18T10:10:28.868Z] 9fda8d8052c6: Pulling fs layer [2023-11-18T10:10:28.868Z] 5d54e960e981: Pulling fs layer [2023-11-18T10:10:28.868Z] c4a7e357bf2a: Pulling fs layer [2023-11-18T10:10:28.868Z] f0e02332f6b5: Pulling fs layer [2023-11-18T10:10:28.868Z] 872ee5b61b7b: Pulling fs layer [2023-11-18T10:10:28.868Z] 0c6a40ed1a82: Pulling fs layer [2023-11-18T10:10:28.868Z] 94ae7d8d031c: Pulling fs layer [2023-11-18T10:10:28.868Z] 872ee5b61b7b: Waiting [2023-11-18T10:10:28.868Z] 0c6a40ed1a82: Waiting [2023-11-18T10:10:28.868Z] 94ae7d8d031c: Waiting [2023-11-18T10:10:28.868Z] f0e02332f6b5: Waiting [2023-11-18T10:10:28.868Z] 5d54e960e981: Verifying Checksum [2023-11-18T10:10:28.868Z] 5d54e960e981: Download complete [2023-11-18T10:10:28.868Z] f0e02332f6b5: Verifying Checksum [2023-11-18T10:10:28.868Z] f0e02332f6b5: Download complete [2023-11-18T10:10:28.868Z] 872ee5b61b7b: Verifying Checksum [2023-11-18T10:10:28.868Z] 872ee5b61b7b: Download complete [2023-11-18T10:10:28.868Z] 9fda8d8052c6: Download complete [2023-11-18T10:10:29.135Z] 94ae7d8d031c: Verifying Checksum [2023-11-18T10:10:29.135Z] 94ae7d8d031c: Download complete [2023-11-18T10:10:29.719Z] 9fda8d8052c6: Pull complete [2023-11-18T10:10:30.303Z] 5d54e960e981: Pull complete [2023-11-18T10:10:30.570Z] c4a7e357bf2a: Verifying Checksum [2023-11-18T10:10:30.570Z] c4a7e357bf2a: Download complete [2023-11-18T10:10:31.976Z] 0c6a40ed1a82: Verifying Checksum [2023-11-18T10:10:31.976Z] 0c6a40ed1a82: Download complete [2023-11-18T10:10:35.700Z] Removing intermediate container c677c4002411 [2023-11-18T10:10:35.700Z] ---> 6374da285d22 [2023-11-18T10:10:35.700Z] Step 11/23 : FROM alpine:3.18 [2023-11-18T10:10:35.700Z] 3.18: Pulling from library/alpine [2023-11-18T10:10:35.700Z] 96526aa774ef: Pulling fs layer [2023-11-18T10:10:35.700Z] 96526aa774ef: Verifying Checksum [2023-11-18T10:10:35.700Z] 96526aa774ef: Download complete [2023-11-18T10:10:35.700Z] 96526aa774ef: Pull complete [2023-11-18T10:10:35.700Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-18T10:10:35.700Z] Status: Downloaded newer image for alpine:3.18 [2023-11-18T10:10:35.700Z] ---> 8ca4688f4f35 [2023-11-18T10:10:35.700Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-18T10:10:35.700Z] ---> Running in d3e12918ae2f [2023-11-18T10:10:35.700Z] Removing intermediate container d3e12918ae2f [2023-11-18T10:10:35.700Z] ---> 55f597ba0a1b [2023-11-18T10:10:35.700Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-18T10:10:35.700Z] ---> Running in 1fe519d891bd [2023-11-18T10:10:35.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-18T10:10:35.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-18T10:10:35.959Z] OK: 7 MiB in 15 packages [2023-11-18T10:10:36.218Z] Removing intermediate container 1fe519d891bd [2023-11-18T10:10:36.218Z] ---> 97f8a317e31e [2023-11-18T10:10:36.218Z] Step 14/23 : WORKDIR / [2023-11-18T10:10:36.218Z] ---> Running in f6bfc9d12276 [2023-11-18T10:10:36.478Z] Removing intermediate container f6bfc9d12276 [2023-11-18T10:10:36.478Z] ---> 17cfe9fa16ec [2023-11-18T10:10:36.478Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-18T10:10:36.478Z] ---> b22209e00bae [2023-11-18T10:10:36.478Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-18T10:10:37.855Z] ---> e1f33baa4023 [2023-11-18T10:10:37.855Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-18T10:10:37.855Z] ---> 742b9d3a73d8 [2023-11-18T10:10:37.855Z] Step 18/23 : EXPOSE 59999 [2023-11-18T10:10:37.855Z] ---> Running in 9f79cd32c194 [2023-11-18T10:10:38.113Z] Removing intermediate container 9f79cd32c194 [2023-11-18T10:10:38.113Z] ---> 0e0a5f6e0935 [2023-11-18T10:10:38.113Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-18T10:10:38.113Z] ---> Running in 1c3ea99a347b [2023-11-18T10:10:38.113Z] Removing intermediate container 1c3ea99a347b [2023-11-18T10:10:38.113Z] ---> e6ca7bc57ecb [2023-11-18T10:10:38.113Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-18T10:10:38.113Z] ---> Running in 9a5f7df41196 [2023-11-18T10:10:38.113Z] Removing intermediate container 9a5f7df41196 [2023-11-18T10:10:38.113Z] ---> b0ccd9cb55a3 [2023-11-18T10:10:38.113Z] Step 21/23 : LABEL arch=amd64 [2023-11-18T10:10:38.372Z] ---> Running in 03a40626e81d [2023-11-18T10:10:38.372Z] Removing intermediate container 03a40626e81d [2023-11-18T10:10:38.372Z] ---> 5868cf43e3a7 [2023-11-18T10:10:38.372Z] Step 22/23 : LABEL git_sha=798535ca16eb4d2fd67228116ffb97b709bf3eb6 [2023-11-18T10:10:38.372Z] ---> Running in 7419c2e3930e [2023-11-18T10:10:38.372Z] Removing intermediate container 7419c2e3930e [2023-11-18T10:10:38.372Z] ---> 071cc95930c5 [2023-11-18T10:10:38.372Z] Step 23/23 : LABEL version=0.0.0 [2023-11-18T10:10:38.372Z] ---> Running in 19e04fe092b0 [2023-11-18T10:10:38.631Z] Removing intermediate container 19e04fe092b0 [2023-11-18T10:10:38.631Z] ---> 34c03ac0f3b4 [2023-11-18T10:10:38.631Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-18T10:10:38.631Z] Successfully built 34c03ac0f3b4 [2023-11-18T10:10:38.631Z] Successfully tagged device-sdk-simple: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-18T10:10:39.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-18T10:10:39.990Z] [2023-11-18T10:10:39.990Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:10:40.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-18T10:10:40.665Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-18T10:10:40.665Z] 5eb5b503b376: Pulling fs layer [2023-11-18T10:10:40.665Z] 5c69ac0246d0: Pulling fs layer [2023-11-18T10:10:40.665Z] ec43610c2a17: Pulling fs layer [2023-11-18T10:10:40.665Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-18T10:10:40.665Z] 33b1e0a273af: Pulling fs layer [2023-11-18T10:10:40.665Z] 5d3b04190fa2: Pulling fs layer [2023-11-18T10:10:40.665Z] 2f39f015ded8: Pulling fs layer [2023-11-18T10:10:40.665Z] 33b1e0a273af: Waiting [2023-11-18T10:10:40.665Z] 5d3b04190fa2: Waiting [2023-11-18T10:10:40.665Z] 3a2ae6a8a46f: Waiting [2023-11-18T10:10:40.665Z] 2f39f015ded8: Waiting [2023-11-18T10:10:40.924Z] 5c69ac0246d0: Download complete [2023-11-18T10:10:40.924Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-18T10:10:40.924Z] 3a2ae6a8a46f: Download complete [2023-11-18T10:10:40.924Z] ec43610c2a17: Verifying Checksum [2023-11-18T10:10:40.924Z] ec43610c2a17: Download complete [2023-11-18T10:10:40.924Z] 33b1e0a273af: Verifying Checksum [2023-11-18T10:10:40.924Z] 33b1e0a273af: Download complete [2023-11-18T10:10:40.924Z] 5d3b04190fa2: Verifying Checksum [2023-11-18T10:10:40.924Z] 5d3b04190fa2: Download complete [2023-11-18T10:10:40.924Z] 5eb5b503b376: Verifying Checksum [2023-11-18T10:10:40.924Z] 5eb5b503b376: Download complete [2023-11-18T10:10:42.300Z] 5eb5b503b376: Pull complete [2023-11-18T10:10:42.300Z] 5c69ac0246d0: Pull complete [2023-11-18T10:10:42.869Z] ec43610c2a17: Pull complete [2023-11-18T10:10:42.869Z] 3a2ae6a8a46f: Pull complete [2023-11-18T10:10:43.128Z] 33b1e0a273af: Pull complete [2023-11-18T10:10:43.128Z] 5d3b04190fa2: Pull complete [2023-11-18T10:10:44.295Z] c4a7e357bf2a: Pull complete [2023-11-18T10:10:44.295Z] f0e02332f6b5: Pull complete [2023-11-18T10:10:44.295Z] 872ee5b61b7b: Pull complete [2023-11-18T10:10:48.400Z] 2f39f015ded8: Pull complete [2023-11-18T10:10:48.400Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-18T10:10:48.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-18T10:10:48.401Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T10:10:48.789Z] prd-ubuntu20.04-docker-8c-8g-171 does not seem to be running inside a container [2023-11-18T10:10:48.828Z] $ 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/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-18T10:10:52.526Z] 0c6a40ed1a82: Pull complete [2023-11-18T10:10:56.810Z] 94ae7d8d031c: Pull complete [2023-11-18T10:10:56.810Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-18T10:10:56.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-18T10:10:56.810Z] ---> 86de565de09d [2023-11-18T10:10:56.810Z] Step 3/10 : ARG MAKE=make build [2023-11-18T10:10:57.008Z] $ docker top 06dbb95dc70abe5954f7659da5f38c2e654ec60d407dc4de860abc8b00d9eb4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:10:57.582Z] ---> job-cost.sh [2023-11-18T10:10:57.582Z] lf-activate-venv: SKIPPING [2023-11-18T10:10:57.582Z] INFO: No Stack... [2023-11-18T10:10:57.843Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-18T10:10:58.229Z] ---> Running in f63eaf56d9eb [2023-11-18T10:10:58.412Z] INFO: Archiving Costs [Pipeline] sh [2023-11-18T10:10:58.499Z] Removing intermediate container f63eaf56d9eb [2023-11-18T10:10:58.499Z] ---> 8b630f6ac4be [2023-11-18T10:10:58.499Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-18T10:10:58.736Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/cost.csv [2023-11-18T10:10:58.737Z] + cut -d, -f6 [2023-11-18T10:10:58.765Z] ---> Running in 7bb4a82b0cac [Pipeline] lock [2023-11-18T10:10:58.772Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1541-1-stack-cost] [2023-11-18T10:10:58.778Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-1-stack-cost] did not exist. Created. [2023-11-18T10:10:58.778Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1541-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-18T10:10:59.036Z] Removing intermediate container 7bb4a82b0cac [2023-11-18T10:10:59.036Z] ---> 0a8b4fb24137 [2023-11-18T10:10:59.036Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-18T10:10:59.036Z] ---> Running in 9a2660b25457 [2023-11-18T10:10:59.279Z] + echo total: 0.2199999988079071 [2023-11-18T10:10:59.304Z] Removing intermediate container 9a2660b25457 [2023-11-18T10:10:59.304Z] ---> b3d26c1e44ee [2023-11-18T10:10:59.304Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-18T10:10:59.304Z] ---> Running in 88ef8e12a7f9 [Pipeline] stash [2023-11-18T10:10:59.334Z] Stashed 1 file(s) [Pipeline] } [2023-11-18T10:10:59.414Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-18T10:10:59.585Z] $ docker stop --time=1 06dbb95dc70abe5954f7659da5f38c2e654ec60d407dc4de860abc8b00d9eb4f [2023-11-18T10:11:00.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-18T10:11:00.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-18T10:11:01.139Z] $ docker rm -f --volumes 06dbb95dc70abe5954f7659da5f38c2e654ec60d407dc4de860abc8b00d9eb4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-18T10:11:01.924Z] OK: 266 MiB in 52 packages [2023-11-18T10:11:02.898Z] Removing intermediate container 88ef8e12a7f9 [2023-11-18T10:11:02.898Z] ---> 69160cfd70f3 [2023-11-18T10:11:02.898Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-18T10:11:03.164Z] ---> 43c2db8688aa [2023-11-18T10:11:03.165Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-18T10:11:03.165Z] ---> Running in 031d803c1c9a [2023-11-18T10:12:54.787Z] Removing intermediate container 031d803c1c9a [2023-11-18T10:12:54.787Z] ---> 8397aadc8b99 [2023-11-18T10:12:54.787Z] Step 9/10 : COPY . . [2023-11-18T10:12:54.787Z] ---> 47cddef72a4b [2023-11-18T10:12:54.787Z] Step 10/10 : RUN ${MAKE} [2023-11-18T10:12:54.787Z] ---> Running in dc8e9223fde9 [2023-11-18T10:12:54.787Z] noop [2023-11-18T10:12:54.787Z] Removing intermediate container dc8e9223fde9 [2023-11-18T10:12:54.787Z] ---> 51d84f1b3288 [2023-11-18T10:12:54.787Z] Successfully built 51d84f1b3288 [2023-11-18T10:12:54.787Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:12:55.387Z] + docker inspect -f . ci-base-image-arm64 [2023-11-18T10:12:55.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T10:12:55.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-172 does not seem to be running inside a container [2023-11-18T10:12:55.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-18T10:12:57.013Z] $ docker top ef71047f6d41062c18bf216750e02390b855080dac088e741924cdc7b0c6ad5a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-18T10:12:57.954Z] + go version [2023-11-18T10:12:57.954Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-18T10:12:57.993Z] $ docker stop --time=1 ef71047f6d41062c18bf216750e02390b855080dac088e741924cdc7b0c6ad5a [2023-11-18T10:12:59.602Z] $ docker rm -f --volumes ef71047f6d41062c18bf216750e02390b855080dac088e741924cdc7b0c6ad5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:13:00.852Z] + docker inspect -f . ci-base-image-arm64 [2023-11-18T10:13:00.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T10:13:01.192Z] prd-ubuntu20.04-docker-arm64-4c-16g-172 does not seem to be running inside a container [2023-11-18T10:13:01.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-18T10:13:05.375Z] $ docker top 64a63676d91b4df603377a54a886a8234834c23163b5ddb4515eca7810f27860 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-18T10:13:06.327Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-18T10:13:06.764Z] + make test [2023-11-18T10:13:07.037Z] go test -race -coverprofile=coverage.out ./... [2023-11-18T10:13:39.239Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-18T10:15:15.881Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-18T10:15:15.881Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-18T10:15:15.881Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-18T10:15:15.881Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-18T10:15:15.881Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-18T10:15:15.881Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.199s coverage: 27.6% of statements [2023-11-18T10:15:21.217Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.242s coverage: 81.5% of statements [2023-11-18T10:15:29.420Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-18T10:15:29.420Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-18T10:15:29.420Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.296s coverage: 86.0% of statements [2023-11-18T10:15:33.680Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-18T10:15:35.085Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.417s coverage: 71.8% of statements [2023-11-18T10:15:38.443Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.271s coverage: 14.4% of statements [2023-11-18T10:15:38.443Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.719s coverage: 45.9% of statements [2023-11-18T10:15:38.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-18T10:15:38.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-18T10:15:39.856Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.362s coverage: 68.5% of statements [2023-11-18T10:15:42.435Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.417s coverage: 89.2% of statements [2023-11-18T10:15:43.020Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-18T10:15:44.421Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.213s coverage: 5.5% of statements [2023-11-18T10:15:45.003Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-18T10:15:45.003Z] GO111MODULE=on go vet ./... [2023-11-18T10:17:21.899Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-18T10:17:21.899Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-18T10:17:21.899Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-18T10:17:21.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-18T10:17:22.029Z] $ docker stop --time=1 64a63676d91b4df603377a54a886a8234834c23163b5ddb4515eca7810f27860 [2023-11-18T10:17:23.935Z] $ docker rm -f --volumes 64a63676d91b4df603377a54a886a8234834c23163b5ddb4515eca7810f27860 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-18T10:17:25.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-18T10:17:25.745Z] Warning: overwriting stash ‘coverage-report’ [2023-11-18T10:17:26.290Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-18T10:17:27.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-18T10:17:27.443Z] + ls -al . [2023-11-18T10:17:27.444Z] total 304 [2023-11-18T10:17:27.444Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 18 10:13 . [2023-11-18T10:17:27.444Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 10:09 .. [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 18 10:09 .dockerignore [2023-11-18T10:17:27.444Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 10:09 .git [2023-11-18T10:17:27.444Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 10:09 .github [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 18 10:09 .gitignore [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 18 10:09 .golangci.yml [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 18 10:09 CHANGELOG.md [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 18 10:09 GOVERNANCE.md [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 18 10:09 Jenkinsfile [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 18 10:09 LICENSE [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 18 10:09 Makefile [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 18 10:09 OWNERS.md [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 18 10:09 README.md [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 10:07 VERSION [2023-11-18T10:17:27.444Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 10:09 bin [2023-11-18T10:17:27.444Z] -rw-r--r-- 1 jenkins jenkins 122154 Nov 18 10:15 coverage.out [2023-11-18T10:17:27.444Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 18 10:09 example [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 18 10:09 go.mod [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 18 10:09 go.sum [2023-11-18T10:17:27.444Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 18 10:09 internal [2023-11-18T10:17:27.444Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 10:09 openapi [2023-11-18T10:17:27.444Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 18 10:09 pkg [2023-11-18T10:17:27.444Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 10:09 snap [2023-11-18T10:17:27.444Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 18 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:17:27.938Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=798535ca16eb4d2fd67228116ffb97b709bf3eb6 --label arch=arm64 --label version=0.0.0 . [2023-11-18T10:17:28.526Z] Sending build context to Docker daemon 11.5MB [2023-11-18T10:17:28.526Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-18T10:17:28.526Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-18T10:17:28.526Z] ---> 51d84f1b3288 [2023-11-18T10:17:28.526Z] Step 3/23 : ARG MAKE=make build [2023-11-18T10:17:28.526Z] ---> Running in 160218fc1e06 [2023-11-18T10:17:29.113Z] Removing intermediate container 160218fc1e06 [2023-11-18T10:17:29.113Z] ---> 629b93a5629d [2023-11-18T10:17:29.113Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-18T10:17:29.113Z] ---> Running in d52af2b28c8e [2023-11-18T10:17:29.383Z] Removing intermediate container d52af2b28c8e [2023-11-18T10:17:29.383Z] ---> dcf929dc0b32 [2023-11-18T10:17:29.383Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-18T10:17:29.383Z] ---> Running in 747eea770986 [2023-11-18T10:17:29.649Z] Removing intermediate container 747eea770986 [2023-11-18T10:17:29.649Z] ---> 0ba5f91df58d [2023-11-18T10:17:29.649Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-18T10:17:29.649Z] ---> Running in 8a2145f8a958 [2023-11-18T10:17:30.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-18T10:17:31.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-18T10:17:32.173Z] OK: 266 MiB in 52 packages [2023-11-18T10:17:33.137Z] Removing intermediate container 8a2145f8a958 [2023-11-18T10:17:33.137Z] ---> 67a0f123067b [2023-11-18T10:17:33.137Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-18T10:17:36.474Z] ---> 8f20ad9f0cf1 [2023-11-18T10:17:36.474Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-18T10:17:36.474Z] ---> Running in 4459f84a3f8e [2023-11-18T10:17:37.881Z] Removing intermediate container 4459f84a3f8e [2023-11-18T10:17:37.881Z] ---> 29b9e5ae8f7d [2023-11-18T10:17:37.881Z] Step 9/23 : COPY . . [2023-11-18T10:17:39.299Z] ---> c9def055820a [2023-11-18T10:17:39.299Z] Step 10/23 : RUN ${MAKE} [2023-11-18T10:17:39.299Z] ---> Running in 380890f984a9 [2023-11-18T10:17:40.265Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-18T10:19:31.910Z] Removing intermediate container 380890f984a9 [2023-11-18T10:19:31.910Z] ---> dbbea753e0c7 [2023-11-18T10:19:31.910Z] Step 11/23 : FROM alpine:3.18 [2023-11-18T10:19:31.910Z] 3.18: Pulling from library/alpine [2023-11-18T10:19:31.910Z] 579b34f0a95b: Pulling fs layer [2023-11-18T10:19:31.910Z] 579b34f0a95b: Download complete [2023-11-18T10:19:31.910Z] 579b34f0a95b: Pull complete [2023-11-18T10:19:31.910Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-18T10:19:31.910Z] Status: Downloaded newer image for alpine:3.18 [2023-11-18T10:19:31.910Z] ---> 3cc203321400 [2023-11-18T10:19:31.910Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-18T10:19:31.910Z] ---> Running in 098ac9a52a07 [2023-11-18T10:19:31.910Z] Removing intermediate container 098ac9a52a07 [2023-11-18T10:19:31.910Z] ---> e1ac3991451e [2023-11-18T10:19:31.910Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-18T10:19:31.910Z] ---> Running in 7b8d5a31025e [2023-11-18T10:19:31.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-18T10:19:31.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-18T10:19:31.910Z] OK: 8 MiB in 15 packages [2023-11-18T10:19:31.910Z] Removing intermediate container 7b8d5a31025e [2023-11-18T10:19:31.910Z] ---> 5698628c3388 [2023-11-18T10:19:31.910Z] Step 14/23 : WORKDIR / [2023-11-18T10:19:31.910Z] ---> Running in 9ee20149b590 [2023-11-18T10:19:31.910Z] Removing intermediate container 9ee20149b590 [2023-11-18T10:19:31.910Z] ---> e263427650a3 [2023-11-18T10:19:31.910Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-18T10:19:31.910Z] ---> 1b7a17623eda [2023-11-18T10:19:31.910Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-18T10:19:31.910Z] ---> f4ab885d9702 [2023-11-18T10:19:31.910Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-18T10:19:32.178Z] ---> 80f191a076ed [2023-11-18T10:19:32.178Z] Step 18/23 : EXPOSE 59999 [2023-11-18T10:19:32.178Z] ---> Running in ebc6482f7c85 [2023-11-18T10:19:32.445Z] Removing intermediate container ebc6482f7c85 [2023-11-18T10:19:32.445Z] ---> 4f2c1c7819df [2023-11-18T10:19:32.445Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-18T10:19:32.445Z] ---> Running in 00cbb5d8cab2 [2023-11-18T10:19:32.714Z] Removing intermediate container 00cbb5d8cab2 [2023-11-18T10:19:32.714Z] ---> d2c0b95e19d7 [2023-11-18T10:19:32.714Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-18T10:19:32.985Z] ---> Running in a5a03f73a00e [2023-11-18T10:19:33.254Z] Removing intermediate container a5a03f73a00e [2023-11-18T10:19:33.254Z] ---> a98be9024c53 [2023-11-18T10:19:33.254Z] Step 21/23 : LABEL arch=arm64 [2023-11-18T10:19:33.254Z] ---> Running in 791d89677c79 [2023-11-18T10:19:33.521Z] Removing intermediate container 791d89677c79 [2023-11-18T10:19:33.521Z] ---> d2565634b7ac [2023-11-18T10:19:33.521Z] Step 22/23 : LABEL git_sha=798535ca16eb4d2fd67228116ffb97b709bf3eb6 [2023-11-18T10:19:33.521Z] ---> Running in e02b4346a05b [2023-11-18T10:19:33.788Z] Removing intermediate container e02b4346a05b [2023-11-18T10:19:33.788Z] ---> d057404fca46 [2023-11-18T10:19:33.788Z] Step 23/23 : LABEL version=0.0.0 [2023-11-18T10:19:34.055Z] ---> Running in fc09acf4b301 [2023-11-18T10:19:34.321Z] Removing intermediate container fc09acf4b301 [2023-11-18T10:19:34.321Z] ---> 4884aa08157a [2023-11-18T10:19:34.321Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-18T10:19:34.321Z] Successfully built 4884aa08157a [2023-11-18T10:19:34.321Z] Successfully tagged device-sdk-simple-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-18T10:19:35.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-18T10:19:35.555Z] [2023-11-18T10:19:35.555Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:19:36.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-18T10:19:36.000Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-18T10:19:36.000Z] 8998bd30e6a1: Pulling fs layer [2023-11-18T10:19:36.000Z] 04944245beec: Pulling fs layer [2023-11-18T10:19:36.000Z] 699f458cf7ca: Pulling fs layer [2023-11-18T10:19:36.000Z] 765212b225bb: Pulling fs layer [2023-11-18T10:19:36.000Z] f23df028b6ca: Pulling fs layer [2023-11-18T10:19:36.000Z] d65c8cfc05b1: Pulling fs layer [2023-11-18T10:19:36.000Z] 2437ff75d9bd: Pulling fs layer [2023-11-18T10:19:36.000Z] 765212b225bb: Waiting [2023-11-18T10:19:36.000Z] f23df028b6ca: Waiting [2023-11-18T10:19:36.001Z] d65c8cfc05b1: Waiting [2023-11-18T10:19:36.001Z] 2437ff75d9bd: Waiting [2023-11-18T10:19:36.268Z] 04944245beec: Verifying Checksum [2023-11-18T10:19:36.268Z] 04944245beec: Download complete [2023-11-18T10:19:36.268Z] 765212b225bb: Verifying Checksum [2023-11-18T10:19:36.268Z] 765212b225bb: Download complete [2023-11-18T10:19:36.268Z] f23df028b6ca: Verifying Checksum [2023-11-18T10:19:36.268Z] f23df028b6ca: Download complete [2023-11-18T10:19:36.268Z] d65c8cfc05b1: Verifying Checksum [2023-11-18T10:19:36.268Z] d65c8cfc05b1: Download complete [2023-11-18T10:19:36.533Z] 699f458cf7ca: Verifying Checksum [2023-11-18T10:19:36.533Z] 699f458cf7ca: Download complete [2023-11-18T10:19:36.798Z] 8998bd30e6a1: Verifying Checksum [2023-11-18T10:19:36.798Z] 8998bd30e6a1: Download complete [2023-11-18T10:19:39.385Z] 2437ff75d9bd: Verifying Checksum [2023-11-18T10:19:39.385Z] 2437ff75d9bd: Download complete [2023-11-18T10:19:41.336Z] 8998bd30e6a1: Pull complete [2023-11-18T10:19:42.309Z] 04944245beec: Pull complete [2023-11-18T10:19:44.250Z] 699f458cf7ca: Pull complete [2023-11-18T10:19:44.250Z] 765212b225bb: Pull complete [2023-11-18T10:19:44.830Z] f23df028b6ca: Pull complete [2023-11-18T10:19:45.097Z] d65c8cfc05b1: Pull complete [2023-11-18T10:20:03.285Z] 2437ff75d9bd: Pull complete [2023-11-18T10:20:03.285Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-18T10:20:03.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-18T10:20:03.285Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T10:20:03.777Z] prd-ubuntu20.04-docker-arm64-4c-16g-172 does not seem to be running inside a container [2023-11-18T10:20:03.839Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-18T10:20:06.432Z] $ docker top 3dc34466f2c81e7337a7a830ecb3fa407d4474313b3316799f47a96851902933 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:20:07.390Z] ---> job-cost.sh [2023-11-18T10:20:07.390Z] lf-activate-venv: SKIPPING [2023-11-18T10:20:07.390Z] INFO: No Stack... [2023-11-18T10:20:07.973Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-18T10:20:08.553Z] INFO: Archiving Costs [Pipeline] sh [2023-11-18T10:20:08.956Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-11-18T10:20:08.956Z] + cut -d, -f6 [Pipeline] lock [2023-11-18T10:20:09.345Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1541-1-stack-cost] [2023-11-18T10:20:09.350Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-1-stack-cost] did not exist. Created. [2023-11-18T10:20:09.351Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1541-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-18T10:20:10.161Z] /w/workspace/device-sdk-go/1@tmp/durable-738bb191/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-18T10:20:10.503Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-18T10:20:10.540Z] Warning: overwriting stash ‘stack-cost’ [2023-11-18T10:20:10.617Z] Stashed 1 file(s) [Pipeline] } [2023-11-18T10:20:10.636Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-18T10:20:10.895Z] $ docker stop --time=1 3dc34466f2c81e7337a7a830ecb3fa407d4474313b3316799f47a96851902933 [2023-11-18T10:20:12.453Z] $ docker rm -f --volumes 3dc34466f2c81e7337a7a830ecb3fa407d4474313b3316799f47a96851902933 [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-18T10:20:14.547Z] provisioning config files... [2023-11-18T10:20:14.555Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config11473851618054872961tmp [Pipeline] { [Pipeline] sh [2023-11-18T10:20:14.973Z] + set +x [2023-11-18T10:20:14.973Z] + + curl -sbash https://codecov.io/bash -s [2023-11-18T10:20:14.973Z] -- [2023-11-18T10:20:15.233Z] [2023-11-18T10:20:15.233Z] _____ _ [2023-11-18T10:20:15.233Z] / ____| | | [2023-11-18T10:20:15.233Z] | | ___ __| | ___ ___ _____ __ [2023-11-18T10:20:15.233Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-18T10:20:15.233Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-18T10:20:15.233Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-18T10:20:15.233Z] Bash-1.0.6 [2023-11-18T10:20:15.233Z] [2023-11-18T10:20:15.233Z] [2023-11-18T10:20:15.233Z] ==> git version 2.25.1 found [2023-11-18T10:20:15.233Z] ==> 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-18T10:20:15.233Z] Release-Date: 2020-01-08 [2023-11-18T10:20:15.233Z] 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-18T10:20:15.233Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-18T10:20:15.233Z] ==> Jenkins CI detected. [2023-11-18T10:20:15.233Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1541 [2023-11-18T10:20:15.233Z] project root: . [2023-11-18T10:20:15.233Z] --> token set from env [2023-11-18T10:20:15.233Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-18T10:20:15.233Z] ==> Running gcov in . (disable via -X gcov) [2023-11-18T10:20:15.233Z] ==> Python coveragepy not found [2023-11-18T10:20:15.233Z] ==> Searching for coverage reports in: [2023-11-18T10:20:15.233Z] + . [2023-11-18T10:20:15.233Z] -> Found 1 reports [2023-11-18T10:20:15.233Z] ==> Detecting git/mercurial file structure [2023-11-18T10:20:15.233Z] ==> Reading reports [2023-11-18T10:20:15.233Z] + ./coverage.out bytes=122154 [2023-11-18T10:20:15.233Z] ==> Appending adjustments [2023-11-18T10:20:15.233Z] https://docs.codecov.io/docs/fixing-reports [2023-11-18T10:20:15.495Z] + Found adjustments [2023-11-18T10:20:15.495Z] ==> Gzipping contents [2023-11-18T10:20:15.754Z] 20K /tmp/codecov.EHHcE5.gz [2023-11-18T10:20:15.754Z] ==> Uploading reports [2023-11-18T10:20:15.754Z] url: https://codecov.io [2023-11-18T10:20:15.754Z] query: branch=PR-1541&commit=798535ca16eb4d2fd67228116ffb97b709bf3eb6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1541%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1541&job=&cmd_args= [2023-11-18T10:20:15.754Z] -> Pinging Codecov [2023-11-18T10:20:15.754Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1541&commit=798535ca16eb4d2fd67228116ffb97b709bf3eb6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1541%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1541&job=&cmd_args= [2023-11-18T10:20:15.754Z] -> Uploading to [2023-11-18T10:20:15.754Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-18/7E55EF52A471D76F132DFD9A03CDDE97/798535ca16eb4d2fd67228116ffb97b709bf3eb6/3a661350-fa55-4a03-a46e-bdefe2a906a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231118T102015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c181ed0d382414d8f3bad5ba4b7ff6d7ec5bfaf637054332d579c9757819846f [2023-11-18T10:20:15.754Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-18T10:20:15.754Z] Dload Upload Total Spent Left Speed [2023-11-18T10:20:16.324Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16755 0 0 100 16755 0 48848 --:--:-- --:--:-- --:--:-- 48848 [2023-11-18T10:20:16.324Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/798535ca16eb4d2fd67228116ffb97b709bf3eb6 [Pipeline] } [2023-11-18T10:20:16.351Z] 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-18T10:20:19.544Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives ] [2023-11-18T10:20:19.545Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives [2023-11-18T10:20:19.545Z] total 16 [2023-11-18T10:20:19.545Z] drwxr-xr-x 3 root root 4096 Nov 18 10:10 . [2023-11-18T10:20:19.545Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 18 10:10 .. [2023-11-18T10:20:19.545Z] drwxr-xr-x 2 root root 4096 Nov 18 10:10 cost [2023-11-18T10:20:19.545Z] -rw-r--r-- 1 root root 86 Nov 18 10:10 cost.csv [2023-11-18T10:20:19.545Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives [2023-11-18T10:20:19.545Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives [2023-11-18T10:20:19.545Z] total 16 [2023-11-18T10:20:19.545Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 18 10:10 . [2023-11-18T10:20:19.545Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 18 10:10 .. [2023-11-18T10:20:19.545Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 18 10:10 cost [2023-11-18T10:20:19.545Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 18 10:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:20:19.869Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:20:20.752Z] ---> package-listing.sh [2023-11-18T10:20:20.752Z] ++ facter osfamily [2023-11-18T10:20:20.752Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-18T10:20:21.013Z] + OS_FAMILY=debian [2023-11-18T10:20:21.013Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1541 [2023-11-18T10:20:21.013Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-18T10:20:21.013Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-18T10:20:21.013Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-18T10:20:21.013Z] + PACKAGES=/tmp/packages_start.txt [2023-11-18T10:20:21.013Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1541 ']' [2023-11-18T10:20:21.013Z] + PACKAGES=/tmp/packages_end.txt [2023-11-18T10:20:21.013Z] + case "${OS_FAMILY}" in [2023-11-18T10:20:21.013Z] + dpkg -l [2023-11-18T10:20:21.013Z] + grep '^ii' [2023-11-18T10:20:21.013Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-18T10:20:21.013Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-18T10:20:21.013Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-18T10:20:21.013Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1541 ']' [2023-11-18T10:20:21.013Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/ [2023-11-18T10:20:21.013Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/ [Pipeline] echo [2023-11-18T10:20:21.048Z] 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/gexfoundry_device-sdk-go_PR-1541/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-18T10:20:21.339Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T10:20:22.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-18T10:20:22.009Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T10:20:22.272Z] prd-ubuntu20.04-docker-8c-8g-171 does not seem to be running inside a container [2023-11-18T10:20:22.311Z] $ 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/gexfoundry_device-sdk-go_PR-1541/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-18T10:20:22.509Z] $ docker top aa0805865f3c7d948443839970ff6a9404e41df6ef813032e996232cede38dbd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-18T10:20:22.988Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-18T10:20:23.299Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-18T10:20:23.618Z] + ls /var/log/sa-host [2023-11-18T10:20:23.618Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-18T10:20:23.893Z] provisioning config files... [2023-11-18T10:20:23.907Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config4920414081363336314tmp [Pipeline] { [Pipeline] echo [2023-11-18T10:20:24.053Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:20:24.367Z] ---> create-netrc.sh [Pipeline] } [2023-11-18T10:20:24.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:20:24.899Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-18T10:20:24.934Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:20:25.245Z] ---> sudo-logs.sh [2023-11-18T10:20:25.245Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-18T10:20:25.380Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:20:25.692Z] ---> job-cost.sh [2023-11-18T10:20:25.692Z] lf-activate-venv: SKIPPING [2023-11-18T10:20:25.692Z] DEBUG: total: 0.2199999988079071 [2023-11-18T10:20:25.692Z] INFO: Retrieving Stack Cost... [2023-11-18T10:20:26.260Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-18T10:20:26.519Z] INFO: Archiving Costs [Pipeline] echo [2023-11-18T10:20:26.554Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-18T10:20:26.864Z] ---> logs-deploy.sh [2023-11-18T10:20:26.864Z] lf-activate-venv: SKIPPING [2023-11-18T10:20:26.864Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1541/1 [2023-11-18T10:20:26.864Z] INFO: archiving workspace using pattern(s): [2023-11-18T10:20:27.801Z] Archives upload complete. [2023-11-18T10:20:27.801Z] INFO: archiving logs to Nexus