Pull request #1564 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ddfb2aa8129f9ae18007f27c354704ae94291ff2+4f47f79f53f1840767b32d78ce83479da4d392c8 (91ee7587af499ddc63e35ef2bd895bba98f9b4d7) 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-ssh9617942432799824763.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-ssh12320372897330004218.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-1564/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-1564/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8997365593818111195.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-1564/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6576774303438715875.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-ssh15110061914853873915.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-1564/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-1564/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4057073309956625634.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-5206 in /w/workspace/gexfoundry_device-sdk-go_PR-1564 [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-1564 # 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 Merging remotes/origin/main commit 4f47f79f53f1840767b32d78ce83479da4d392c8 into PR head commit ddfb2aa8129f9ae18007f27c354704ae94291ff2 Merge succeeded, producing ddfb2aa8129f9ae18007f27c354704ae94291ff2 Checking out Revision ddfb2aa8129f9ae18007f27c354704ae94291ff2 (PR-1564) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1564/head:refs/remotes/origin/PR-1564 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ddfb2aa8129f9ae18007f27c354704ae94291ff2 # 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 4f47f79f53f1840767b32d78ce83479da4d392c8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ddfb2aa8129f9ae18007f27c354704ae94291ff2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-08T04:52:23.279Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-08T04:52:23.491Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-08T04:52:23.607Z] ========================================================= [2024-03-08T04:52:23.607Z] EdgeX Global Pipelines Version Info [2024-03-08T04:52:23.607Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-08T04:52:24.356Z] ------------------- [2024-03-08T04:52:24.356Z] stable info: [2024-03-08T04:52:24.356Z] ------------------- [2024-03-08T04:52:24.356Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-08T04:52:24.356Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-08T04:52:24.356Z] Message: update stable to v1.0.258 [2024-03-08T04:52:24.932Z] ------------------- [2024-03-08T04:52:24.932Z] experimental info: [2024-03-08T04:52:24.932Z] ------------------- [2024-03-08T04:52:24.932Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-08T04:52:24.932Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-08T04:52:24.932Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-08T04:52:25.133Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-03-08T04:52:25.186Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-03-08T04:52:25.237Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-08T04:52:25.292Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-08T04:52:25.350Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-08T04:52:25.410Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-08T04:52:25.469Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-08T04:52:25.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-03-08T04:52:25.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-08T04:52:25.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-08T04:52:25.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-08T04:52:25.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-03-08T04:52:25.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-08T04:52:25.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-08T04:52:25.949Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-08T04:52:26.011Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-03-08T04:52:26.077Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-08T04:52:26.143Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-08T04:52:26.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-08T04:52:26.276Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-08T04:52:26.343Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-03-08T04:52:26.408Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-03-08T04:52:26.477Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-08T04:52:26.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-08T04:52:26.614Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-08T04:52:26.688Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-08T04:52:26.751Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-08T04:52:26.815Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1564 [Pipeline] echo [2024-03-08T04:52:26.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1564 [Pipeline] echo [2024-03-08T04:52:26.952Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1564 [Pipeline] echo [2024-03-08T04:52:27.024Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ddfb2aa8129f9ae18007f27c354704ae94291ff2 [Pipeline] echo [2024-03-08T04:52:27.095Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ddfb2aa [Pipeline] echo [2024-03-08T04:52:27.168Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-08T04:52:27.329Z] provisioning config files... [2024-03-08T04:52:27.360Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp/config11375757995718525907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T04:52:27.743Z] ---> ****-login.sh [2024-03-08T04:52:27.743Z] nexus3.edgexfoundry.org:10001 [2024-03-08T04:52:28.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:52:28.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:52:28.004Z] Configure a credential helper to remove this warning. See [2024-03-08T04:52:28.004Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:52:28.004Z] [2024-03-08T04:52:28.004Z] Login Succeeded [2024-03-08T04:52:28.004Z] nexus3.edgexfoundry.org:10002 [2024-03-08T04:52:28.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:52:28.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:52:28.264Z] Configure a credential helper to remove this warning. See [2024-03-08T04:52:28.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:52:28.264Z] [2024-03-08T04:52:28.264Z] Login Succeeded [2024-03-08T04:52:28.264Z] nexus3.edgexfoundry.org:10003 [2024-03-08T04:52:28.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:52:28.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:52:28.264Z] Configure a credential helper to remove this warning. See [2024-03-08T04:52:28.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:52:28.264Z] [2024-03-08T04:52:28.264Z] Login Succeeded [2024-03-08T04:52:28.264Z] nexus3.edgexfoundry.org:10004 [2024-03-08T04:52:28.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:52:28.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:52:28.523Z] Configure a credential helper to remove this warning. See [2024-03-08T04:52:28.523Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:52:28.523Z] [2024-03-08T04:52:28.523Z] Login Succeeded [2024-03-08T04:52:28.523Z] ****.io [2024-03-08T04:52:28.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:52:28.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:52:28.784Z] Configure a credential helper to remove this warning. See [2024-03-08T04:52:28.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:52:28.784Z] [2024-03-08T04:52:28.784Z] Login Succeeded [2024-03-08T04:52:28.784Z] ---> ****-login.sh ends [Pipeline] } [2024-03-08T04:52:28.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-08T04:52:29.674Z] + git rev-list -1 --merges ddfb2aa8129f9ae18007f27c354704ae94291ff2~1..ddfb2aa8129f9ae18007f27c354704ae94291ff2 [Pipeline] echo [2024-03-08T04:52:29.715Z] -----------> git rev-list -1 --merges ddfb2aa8129f9ae18007f27c354704ae94291ff2~1..ddfb2aa8129f9ae18007f27c354704ae94291ff2 ddfb2aa8129f9ae18007f27c354704ae94291ff2 [false] [Pipeline] sh [2024-03-08T04:52:30.046Z] + git log --format=format:%s -1 ddfb2aa8129f9ae18007f27c354704ae94291ff2 [Pipeline] echo [2024-03-08T04:52:30.090Z] ========================================================= [2024-03-08T04:52:30.090Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-08T04:52:30.090Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-08T04:52:30.590Z] + git log --format=format:%s -1 ddfb2aa8129f9ae18007f27c354704ae94291ff2 [Pipeline] echo [2024-03-08T04:52:30.618Z] [semverPrep] GIT_COMMIT: ddfb2aa8129f9ae18007f27c354704ae94291ff2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-03-08T04:52:30.667Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-08T04:52:31.118Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-08T04:52:31.118Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-08T04:52:31.118Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-08T04:52:31.118Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-08T04:52:31.118Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-08T04:52:31.118Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-08T04:52:31.118Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T04:52:31.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-08T04:52:31.652Z] [2024-03-08T04:52:31.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T04:52:32.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-08T04:52:32.161Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-08T04:52:32.161Z] b85a868b505f: Pulling fs layer [2024-03-08T04:52:32.161Z] e2be974225ed: Pulling fs layer [2024-03-08T04:52:32.161Z] 339a4e72a1f5: Pulling fs layer [2024-03-08T04:52:32.161Z] 988bab9f4d93: Pulling fs layer [2024-03-08T04:52:32.161Z] 1469e6f7b9e6: Pulling fs layer [2024-03-08T04:52:32.161Z] eaf3925da568: Pulling fs layer [2024-03-08T04:52:32.161Z] bab4dde63d76: Pulling fs layer [2024-03-08T04:52:32.161Z] bde34c3a00c8: Pulling fs layer [2024-03-08T04:52:32.161Z] b352a97aabf1: Pulling fs layer [2024-03-08T04:52:32.161Z] 4872d77fe225: Pulling fs layer [2024-03-08T04:52:32.161Z] 5851b861e8e6: Pulling fs layer [2024-03-08T04:52:32.161Z] eaf3925da568: Waiting [2024-03-08T04:52:32.161Z] bab4dde63d76: Waiting [2024-03-08T04:52:32.161Z] 1469e6f7b9e6: Waiting [2024-03-08T04:52:32.161Z] 988bab9f4d93: Waiting [2024-03-08T04:52:32.161Z] bde34c3a00c8: Waiting [2024-03-08T04:52:32.161Z] b352a97aabf1: Waiting [2024-03-08T04:52:32.161Z] 5851b861e8e6: Waiting [2024-03-08T04:52:32.161Z] 4872d77fe225: Waiting [2024-03-08T04:52:32.161Z] e2be974225ed: Download complete [2024-03-08T04:52:32.161Z] 988bab9f4d93: Verifying Checksum [2024-03-08T04:52:32.161Z] 988bab9f4d93: Download complete [2024-03-08T04:52:32.161Z] 1469e6f7b9e6: Verifying Checksum [2024-03-08T04:52:32.161Z] 1469e6f7b9e6: Download complete [2024-03-08T04:52:32.422Z] eaf3925da568: Verifying Checksum [2024-03-08T04:52:32.422Z] eaf3925da568: Download complete [2024-03-08T04:52:32.422Z] 339a4e72a1f5: Verifying Checksum [2024-03-08T04:52:32.422Z] 339a4e72a1f5: Download complete [2024-03-08T04:52:32.422Z] bde34c3a00c8: Verifying Checksum [2024-03-08T04:52:32.422Z] bde34c3a00c8: Download complete [2024-03-08T04:52:32.422Z] b352a97aabf1: Download complete [2024-03-08T04:52:32.422Z] 4872d77fe225: Verifying Checksum [2024-03-08T04:52:32.422Z] 4872d77fe225: Download complete [2024-03-08T04:52:32.422Z] 5851b861e8e6: Verifying Checksum [2024-03-08T04:52:32.422Z] 5851b861e8e6: Download complete [2024-03-08T04:52:32.422Z] b85a868b505f: Verifying Checksum [2024-03-08T04:52:32.422Z] b85a868b505f: Download complete [2024-03-08T04:52:32.681Z] bab4dde63d76: Verifying Checksum [2024-03-08T04:52:32.681Z] bab4dde63d76: Download complete [2024-03-08T04:52:33.617Z] b85a868b505f: Pull complete [2024-03-08T04:52:33.877Z] e2be974225ed: Pull complete [2024-03-08T04:52:34.137Z] 339a4e72a1f5: Pull complete [2024-03-08T04:52:34.394Z] 988bab9f4d93: Pull complete [2024-03-08T04:52:34.653Z] 1469e6f7b9e6: Pull complete [2024-03-08T04:52:34.653Z] eaf3925da568: Pull complete [2024-03-08T04:52:36.554Z] bab4dde63d76: Pull complete [2024-03-08T04:52:36.554Z] bde34c3a00c8: Pull complete [2024-03-08T04:52:36.554Z] b352a97aabf1: Pull complete [2024-03-08T04:52:36.554Z] 4872d77fe225: Pull complete [2024-03-08T04:52:36.554Z] 5851b861e8e6: Pull complete [2024-03-08T04:52:36.813Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-08T04:52:36.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-08T04:52:36.813Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T04:52:37.162Z] prd-ubuntu20.04-docker-8c-8g-5206 does not seem to be running inside a container [2024-03-08T04:52:37.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1564 -v /w/workspace/gexfoundry_device-sdk-go_PR-1564:/w/workspace/gexfoundry_device-sdk-go_PR-1564:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-08T04:52:41.220Z] $ docker top d3cd11ffece749296440c5777bdfdc1111c6b3ac4e6eeed002c1eaf365444b60 -eo pid,comm [2024-03-08T04:52:41.274Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-03-08T04:52:41.274Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-08T04:52:41.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-08T04:52:41.475Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-08T04:52:41.591Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-08T04:52:41.597Z] $ docker exec d3cd11ffece749296440c5777bdfdc1111c6b3ac4e6eeed002c1eaf365444b60 ssh-agent [2024-03-08T04:52:41.704Z] SSH_AUTH_SOCK=/tmp/ssh-QLfN6pWrccHz/agent.32 [2024-03-08T04:52:41.704Z] SSH_AGENT_PID=38 [2024-03-08T04:52:41.710Z] Running ssh-add (command line suppressed) [2024-03-08T04:52:41.810Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp/private_key_14197910029118464616.key (/w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp/private_key_14197910029118464616.key) [2024-03-08T04:52:41.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-08T04:52:42.178Z] + git tag --points-at HEAD [Pipeline] } [2024-03-08T04:52:42.209Z] $ docker exec --env ******** --env ******** d3cd11ffece749296440c5777bdfdc1111c6b3ac4e6eeed002c1eaf365444b60 ssh-agent -k [2024-03-08T04:52:42.310Z] unset SSH_AUTH_SOCK; [2024-03-08T04:52:42.310Z] unset SSH_AGENT_PID; [2024-03-08T04:52:42.310Z] echo Agent pid 38 killed; [2024-03-08T04:52:42.316Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-08T04:52:42.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-08T04:52:42.458Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-08T04:52:42.573Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-08T04:52:42.579Z] $ docker exec d3cd11ffece749296440c5777bdfdc1111c6b3ac4e6eeed002c1eaf365444b60 ssh-agent [2024-03-08T04:52:42.704Z] SSH_AUTH_SOCK=/tmp/ssh-ykUAysdrEIZ0/agent.70 [2024-03-08T04:52:42.704Z] SSH_AGENT_PID=76 [2024-03-08T04:52:42.708Z] Running ssh-add (command line suppressed) [2024-03-08T04:52:42.811Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp/private_key_4797015033799138205.key (/w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp/private_key_4797015033799138205.key) [2024-03-08T04:52:42.820Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-08T04:52:43.180Z] + git semver init [2024-03-08T04:52:43.440Z] 2024-03-08 04:52:43,348 [run_init] DEBUG init version:0.0.0 force:False [2024-03-08T04:52:43.440Z] 2024-03-08 04:52:43,348 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1564/.semver [2024-03-08T04:52:43.440Z] 2024-03-08 04:52:43,349 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1564/.semver [2024-03-08T04:52:43.440Z] 2024-03-08 04:52:43,349 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1564/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1564, universal_newlines=False, shell=None, istream=None) [2024-03-08T04:52:44.822Z] 2024-03-08 04:52:44,585 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1564/.git/info/exclude [2024-03-08T04:52:44.822Z] 2024-03-08 04:52:44,586 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1564/.semver/PR-1564 with force:False [2024-03-08T04:52:44.822Z] 2024-03-08 04:52:44,586 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1564/.semver/PR-1564 [2024-03-08T04:52:44.822Z] 2024-03-08 04:52:44,588 [execute] INFO git cat-file --batch-check [2024-03-08T04:52:44.822Z] 2024-03-08 04:52:44,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1564/.semver, universal_newlines=False, shell=None, istream=) [2024-03-08T04:52:44.822Z] 2024-03-08 04:52:44,594 [execute] INFO git cat-file --batch [2024-03-08T04:52:44.822Z] 2024-03-08 04:52:44,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1564/.semver, universal_newlines=False, shell=None, istream=) [2024-03-08T04:52:44.822Z] 2024-03-08 04:52:44,598 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1564/.semver/PR-1564 [2024-03-08T04:52:44.822Z] 0.0.0 [Pipeline] } [2024-03-08T04:52:44.852Z] $ docker exec --env ******** --env ******** d3cd11ffece749296440c5777bdfdc1111c6b3ac4e6eeed002c1eaf365444b60 ssh-agent -k [2024-03-08T04:52:44.984Z] unset SSH_AUTH_SOCK; [2024-03-08T04:52:44.984Z] unset SSH_AGENT_PID; [2024-03-08T04:52:44.984Z] echo Agent pid 76 killed; [2024-03-08T04:52:44.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-08T04:52:45.487Z] + git semver [Pipeline] } [2024-03-08T04:52:45.774Z] $ docker stop --time=1 d3cd11ffece749296440c5777bdfdc1111c6b3ac4e6eeed002c1eaf365444b60 [2024-03-08T04:52:47.067Z] $ docker rm -f --volumes d3cd11ffece749296440c5777bdfdc1111c6b3ac4e6eeed002c1eaf365444b60 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-08T04:52:47.503Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-08T04:52:47.806Z] Stashed 1 file(s) [Pipeline] echo [2024-03-08T04:52:47.823Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-08T04:52:48.756Z] provisioning config files... [2024-03-08T04:52:48.768Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp/config5273443928080770802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T04:52:49.161Z] ---> ****-login.sh [2024-03-08T04:52:49.161Z] nexus3.edgexfoundry.org:10001 [2024-03-08T04:52:49.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:52:49.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:52:49.161Z] Configure a credential helper to remove this warning. See [2024-03-08T04:52:49.161Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:52:49.161Z] [2024-03-08T04:52:49.161Z] Login Succeeded [2024-03-08T04:52:49.161Z] nexus3.edgexfoundry.org:10002 [2024-03-08T04:52:49.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:52:49.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:52:49.161Z] Configure a credential helper to remove this warning. See [2024-03-08T04:52:49.161Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:52:49.161Z] [2024-03-08T04:52:49.161Z] Login Succeeded [2024-03-08T04:52:49.161Z] nexus3.edgexfoundry.org:10003 [2024-03-08T04:52:49.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:52:49.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:52:49.429Z] Configure a credential helper to remove this warning. See [2024-03-08T04:52:49.429Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:52:49.429Z] [2024-03-08T04:52:49.429Z] Login Succeeded [2024-03-08T04:52:49.429Z] nexus3.edgexfoundry.org:10004 [2024-03-08T04:52:49.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:52:49.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:52:49.429Z] Configure a credential helper to remove this warning. See [2024-03-08T04:52:49.429Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:52:49.429Z] [2024-03-08T04:52:49.429Z] Login Succeeded [2024-03-08T04:52:49.429Z] ****.io [2024-03-08T04:52:49.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:52:49.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:52:49.689Z] Configure a credential helper to remove this warning. See [2024-03-08T04:52:49.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:52:49.689Z] [2024-03-08T04:52:49.689Z] Login Succeeded [2024-03-08T04:52:49.689Z] ---> ****-login.sh ends [Pipeline] } [2024-03-08T04:52:49.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-08T04:52:50.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T04:52:50.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T04:52:50.256Z] ========================================================= [2024-03-08T04:52:50.256Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-08T04:52:50.256Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T04:52:50.830Z] + 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 . [2024-03-08T04:52:51.094Z] Sending build context to Docker daemon 21.97MB [2024-03-08T04:52:51.094Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T04:52:51.094Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-08T04:52:51.094Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-08T04:52:51.094Z] 7264a8db6415: Pulling fs layer [2024-03-08T04:52:51.094Z] c4d48a809fc2: Pulling fs layer [2024-03-08T04:52:51.094Z] 4f1c88b9dad5: Pulling fs layer [2024-03-08T04:52:51.094Z] ad3a456e5733: Pulling fs layer [2024-03-08T04:52:51.094Z] 69c7f0334f64: Pulling fs layer [2024-03-08T04:52:51.094Z] 1f1c1a5573a3: Pulling fs layer [2024-03-08T04:52:51.094Z] ce7588e14bc9: Pulling fs layer [2024-03-08T04:52:51.094Z] b5e4710f87ac: Pulling fs layer [2024-03-08T04:52:51.094Z] ce7588e14bc9: Waiting [2024-03-08T04:52:51.094Z] 69c7f0334f64: Waiting [2024-03-08T04:52:51.094Z] 1f1c1a5573a3: Waiting [2024-03-08T04:52:51.094Z] ad3a456e5733: Waiting [2024-03-08T04:52:51.094Z] b5e4710f87ac: Waiting [2024-03-08T04:52:51.094Z] c4d48a809fc2: Download complete [2024-03-08T04:52:51.094Z] ad3a456e5733: Verifying Checksum [2024-03-08T04:52:51.094Z] ad3a456e5733: Download complete [2024-03-08T04:52:51.094Z] 69c7f0334f64: Download complete [2024-03-08T04:52:51.094Z] 7264a8db6415: Verifying Checksum [2024-03-08T04:52:51.094Z] 7264a8db6415: Download complete [2024-03-08T04:52:51.094Z] 1f1c1a5573a3: Verifying Checksum [2024-03-08T04:52:51.094Z] 1f1c1a5573a3: Download complete [2024-03-08T04:52:51.356Z] 7264a8db6415: Pull complete [2024-03-08T04:52:51.356Z] b5e4710f87ac: Verifying Checksum [2024-03-08T04:52:51.356Z] b5e4710f87ac: Download complete [2024-03-08T04:52:51.616Z] c4d48a809fc2: Pull complete [2024-03-08T04:52:51.616Z] 4f1c88b9dad5: Download complete [2024-03-08T04:52:51.881Z] ce7588e14bc9: Verifying Checksum [2024-03-08T04:52:51.881Z] ce7588e14bc9: Download complete [2024-03-08T04:52:55.162Z] 4f1c88b9dad5: Pull complete [2024-03-08T04:52:55.162Z] ad3a456e5733: Pull complete [2024-03-08T04:52:55.162Z] 69c7f0334f64: Pull complete [2024-03-08T04:52:55.162Z] 1f1c1a5573a3: Pull complete [2024-03-08T04:52:57.061Z] ce7588e14bc9: Pull complete [2024-03-08T04:52:57.627Z] b5e4710f87ac: Pull complete [2024-03-08T04:52:57.627Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-08T04:52:57.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-08T04:52:57.627Z] ---> 88b5674ff536 [2024-03-08T04:52:57.627Z] Step 3/10 : ARG MAKE=make build [2024-03-08T04:53:03.499Z] Still waiting to schedule task [2024-03-08T04:53:03.499Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-08T04:53:04.256Z] ---> Running in 3719caf318a4 [2024-03-08T04:53:04.256Z] Removing intermediate container 3719caf318a4 [2024-03-08T04:53:04.256Z] ---> d1e1b646976e [2024-03-08T04:53:04.256Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-08T04:53:04.256Z] ---> Running in 87c746a21ede [2024-03-08T04:53:04.256Z] Removing intermediate container 87c746a21ede [2024-03-08T04:53:04.256Z] ---> 82c4b2e93a94 [2024-03-08T04:53:04.256Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-08T04:53:04.256Z] ---> Running in 2e3aa959df7b [2024-03-08T04:53:04.256Z] Removing intermediate container 2e3aa959df7b [2024-03-08T04:53:04.256Z] ---> 091b4c47e7f7 [2024-03-08T04:53:04.256Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-08T04:53:04.256Z] ---> Running in 46a26112f557 [2024-03-08T04:53:04.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-08T04:53:04.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-08T04:53:04.516Z] OK: 264 MiB in 52 packages [2024-03-08T04:53:04.775Z] Removing intermediate container 46a26112f557 [2024-03-08T04:53:04.775Z] ---> 7699986a7e7c [2024-03-08T04:53:04.775Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-08T04:53:05.037Z] ---> 69ff300a6047 [2024-03-08T04:53:05.037Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T04:53:05.037Z] ---> Running in b13d8c935f3e [2024-03-08T04:53:43.766Z] Removing intermediate container b13d8c935f3e [2024-03-08T04:53:43.766Z] ---> 0b8f2d1c7886 [2024-03-08T04:53:43.766Z] Step 9/10 : COPY . . [2024-03-08T04:53:43.766Z] ---> 26ca19652e36 [2024-03-08T04:53:43.766Z] Step 10/10 : RUN ${MAKE} [2024-03-08T04:53:43.766Z] ---> Running in 25ca79b0bd64 [2024-03-08T04:53:43.766Z] noop [2024-03-08T04:53:43.766Z] Removing intermediate container 25ca79b0bd64 [2024-03-08T04:53:43.766Z] ---> 11703dadcac9 [2024-03-08T04:53:43.766Z] Successfully built 11703dadcac9 [2024-03-08T04:53:43.766Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T04:53:44.297Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-08T04:53:44.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T04:53:44.499Z] prd-ubuntu20.04-docker-8c-8g-5206 does not seem to be running inside a container [2024-03-08T04:53:44.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1564 -v /w/workspace/gexfoundry_device-sdk-go_PR-1564:/w/workspace/gexfoundry_device-sdk-go_PR-1564:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-08T04:53:44.876Z] $ docker top a5277c4bb484eb78199cb15cc8fa699413aa146212cc50c2c86d12bc057f16b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T04:53:45.324Z] + go version [2024-03-08T04:53:45.324Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-08T04:53:45.363Z] $ docker stop --time=1 a5277c4bb484eb78199cb15cc8fa699413aa146212cc50c2c86d12bc057f16b4 [2024-03-08T04:53:46.633Z] $ docker rm -f --volumes a5277c4bb484eb78199cb15cc8fa699413aa146212cc50c2c86d12bc057f16b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T04:53:47.593Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-08T04:53:47.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T04:53:47.808Z] prd-ubuntu20.04-docker-8c-8g-5206 does not seem to be running inside a container [2024-03-08T04:53:47.844Z] $ 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-1564 -v /w/workspace/gexfoundry_device-sdk-go_PR-1564:/w/workspace/gexfoundry_device-sdk-go_PR-1564:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-08T04:53:48.153Z] $ docker top 3ae23b2970cc45b596127da42946bf1a661256e820e01dad703ef41a82e29406 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T04:53:48.594Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1564 [Pipeline] fileExists [Pipeline] sh [2024-03-08T04:53:48.982Z] + make test [2024-03-08T04:53:48.982Z] go test -race -coverprofile=coverage.out ./... [2024-03-08T04:53:55.543Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-08T04:54:07.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-08T04:54:07.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-08T04:54:07.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-08T04:54:07.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-08T04:54:07.832Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-08T04:54:08.400Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-08T04:54:08.401Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-08T04:54:09.352Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.051s coverage: 27.6% of statements [2024-03-08T04:54:09.611Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-08T04:54:09.611Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.048s coverage: 81.5% of statements [2024-03-08T04:54:09.611Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements [2024-03-08T04:54:10.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-08T04:54:10.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-08T04:54:10.545Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.091s coverage: 71.8% of statements [2024-03-08T04:54:10.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-08T04:54:14.105Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.048s coverage: 14.4% of statements [2024-03-08T04:54:14.105Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.742s coverage: 45.9% of statements [2024-03-08T04:54:14.105Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.056s coverage: 68.5% of statements [2024-03-08T04:54:14.105Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.112s coverage: 89.2% of statements [2024-03-08T04:54:14.105Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements [2024-03-08T04:54:36.057Z] GO111MODULE=on go vet ./... [2024-03-08T04:54:36.650Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-08T04:54:36.909Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-08T04:54:36.909Z] ./bin/test-attribution-txt.sh [2024-03-08T04:54:36.909Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-08T04:54:36.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-08T04:54:37.019Z] $ docker stop --time=1 3ae23b2970cc45b596127da42946bf1a661256e820e01dad703ef41a82e29406 [2024-03-08T04:54:39.375Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5208 in /w/workspace/gexfoundry_device-sdk-go_PR-1564 [2024-03-08T04:54:42.611Z] $ docker rm -f --volumes 3ae23b2970cc45b596127da42946bf1a661256e820e01dad703ef41a82e29406 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2024-03-08T04:54:43.104Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-03-08T04:54:43.209Z] The recommended git tool is: git [2024-03-08T04:54:43.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-08T04:54:43.400Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-08T04:54:44.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-08T04:54:44.698Z] + ls -al . [2024-03-08T04:54:44.698Z] total 308 [2024-03-08T04:54:44.698Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 04:53 . [2024-03-08T04:54:44.698Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 04:52 .. [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 04:52 .dockerignore [2024-03-08T04:54:44.698Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 04:54 .git [2024-03-08T04:54:44.698Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 04:52 .github [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 8 04:52 .gitignore [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 04:52 .golangci.yml [2024-03-08T04:54:44.698Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 04:52 .semver [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 8 04:52 CHANGELOG.md [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 04:52 GOVERNANCE.md [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 04:52 Jenkinsfile [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 04:52 LICENSE [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 8 04:52 Makefile [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 04:52 OWNERS.md [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 8 04:52 README.md [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 04:52 VERSION [2024-03-08T04:54:44.698Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 04:52 bin [2024-03-08T04:54:44.698Z] -rw-r--r-- 1 jenkins jenkins 122153 Mar 8 04:54 coverage.out [2024-03-08T04:54:44.698Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 04:52 example [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 8 04:52 go.mod [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 35399 Mar 8 04:52 go.sum [2024-03-08T04:54:44.698Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 04:52 internal [2024-03-08T04:54:44.698Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 04:52 openapi [2024-03-08T04:54:44.698Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 04:52 pkg [2024-03-08T04:54:44.698Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 04:52 snap [2024-03-08T04:54:44.698Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 04:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T04:54:45.172Z] + 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=ddfb2aa8129f9ae18007f27c354704ae94291ff2 --label arch=amd64 --label version=0.0.0 . [2024-03-08T04:54:45.172Z] Sending build context to Docker daemon 22.09MB [2024-03-08T04:54:45.172Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T04:54:45.172Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-08T04:54:45.172Z] ---> 11703dadcac9 [2024-03-08T04:54:45.172Z] Step 3/23 : ARG MAKE=make build [2024-03-08T04:54:46.109Z] ---> Running in 71f08f5401fa [2024-03-08T04:54:46.109Z] Removing intermediate container 71f08f5401fa [2024-03-08T04:54:46.109Z] ---> dad4c3ad018b [2024-03-08T04:54:46.109Z] Step 4/23 : WORKDIR /device-sdk-go [2024-03-08T04:54:46.109Z] ---> Running in 97a44d4ad3e2 [2024-03-08T04:54:46.109Z] Removing intermediate container 97a44d4ad3e2 [2024-03-08T04:54:46.109Z] ---> 658a11071e1c [2024-03-08T04:54:46.109Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-08T04:54:46.109Z] ---> Running in 4f33b9667280 [2024-03-08T04:54:46.109Z] Removing intermediate container 4f33b9667280 [2024-03-08T04:54:46.109Z] ---> f23c11e08bc5 [2024-03-08T04:54:46.109Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-03-08T04:54:46.109Z] ---> Running in 4452f3403870 [2024-03-08T04:54:46.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-08T04:54:46.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-08T04:54:46.891Z] OK: 264 MiB in 52 packages [2024-03-08T04:54:47.150Z] Removing intermediate container 4452f3403870 [2024-03-08T04:54:47.150Z] ---> 670824fde372 [2024-03-08T04:54:47.150Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-08T04:54:47.150Z] ---> ef47dae415e8 [2024-03-08T04:54:47.150Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T04:54:47.150Z] ---> Running in 7148c2e17ab2 [2024-03-08T04:54:47.718Z] Removing intermediate container 7148c2e17ab2 [2024-03-08T04:54:47.718Z] ---> 0db12a93d19a [2024-03-08T04:54:47.718Z] Step 9/23 : COPY . . [2024-03-08T04:54:48.600Z] using credential edgex-jenkins-ssh [2024-03-08T04:54:48.622Z] Cloning the remote Git repository [2024-03-08T04:54:48.652Z] ---> c62aabad1b74 [2024-03-08T04:54:48.652Z] Step 10/23 : RUN ${MAKE} [2024-03-08T04:54:48.652Z] ---> Running in 1561af554161 [2024-03-08T04:54:48.910Z] 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 [2024-03-08T04:54:48.677Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-03-08T04:54:48.794Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-03-08T04:54:48.967Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-08T04:54:48.968Z] > git --version # timeout=10 [2024-03-08T04:54:48.993Z] > git --version # 'git version 2.25.1' [2024-03-08T04:54:48.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-08T04:54:49.206Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-08T04:54:52.215Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-08T04:54:52.258Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-08T04:54:54.129Z] Merging remotes/origin/main commit 4f47f79f53f1840767b32d78ce83479da4d392c8 into PR head commit ddfb2aa8129f9ae18007f27c354704ae94291ff2 [2024-03-08T04:54:54.506Z] Merge succeeded, producing ddfb2aa8129f9ae18007f27c354704ae94291ff2 [2024-03-08T04:54:54.507Z] Checking out Revision ddfb2aa8129f9ae18007f27c354704ae94291ff2 (PR-1564) [2024-03-08T04:54:53.406Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-08T04:54:53.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-08T04:54:53.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-08T04:54:53.479Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1564/head:refs/remotes/origin/PR-1564 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-08T04:54:54.150Z] > git config core.sparsecheckout # timeout=10 [2024-03-08T04:54:54.247Z] > git checkout -f ddfb2aa8129f9ae18007f27c354704ae94291ff2 # timeout=10 [2024-03-08T04:54:54.375Z] > git remote # timeout=10 [2024-03-08T04:54:54.401Z] > git config --get remote.origin.url # timeout=10 [2024-03-08T04:54:54.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-08T04:54:54.446Z] > git merge 4f47f79f53f1840767b32d78ce83479da4d392c8 # timeout=10 [2024-03-08T04:54:54.484Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-08T04:54:54.514Z] > git config core.sparsecheckout # timeout=10 [2024-03-08T04:54:54.536Z] > git checkout -f ddfb2aa8129f9ae18007f27c354704ae94291ff2 # timeout=10 [2024-03-08T04:54:55.203Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-03-08T04:54:55.264Z] > git --version # timeout=10 [2024-03-08T04:54:55.281Z] > git --version # 'git version 2.25.1' [2024-03-08T04:54:55.295Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-08T04:54:56.709Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-08T04:54:56.709Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-08T04:54:56.709Z] Dload Upload Total Spent Left Speed [2024-03-08T04:54:56.709Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 94323 [Pipeline] sh [2024-03-08T04:54:57.084Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-08T04:54:57.442Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-08T04:54:57.442Z] + sudo tee /etc/docker/daemon.new [2024-03-08T04:54:57.442Z] { [2024-03-08T04:54:57.442Z] "registry-mirrors": [ [2024-03-08T04:54:57.442Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-08T04:54:57.442Z] ], [2024-03-08T04:54:57.442Z] "bip": "10.250.0.254/24", [2024-03-08T04:54:57.442Z] "hosts": [ [2024-03-08T04:54:57.442Z] "tcp://0.0.0.0:5555", [2024-03-08T04:54:57.442Z] "unix:///var/run/docker.sock" [2024-03-08T04:54:57.442Z] ], [2024-03-08T04:54:57.442Z] "mtu": 1458, [2024-03-08T04:54:57.442Z] "selinux-enabled": true, [2024-03-08T04:54:57.442Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-08T04:54:57.442Z] } [Pipeline] sh [2024-03-08T04:54:57.803Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-08T04:54:58.161Z] + sudo service docker restart [2024-03-08T04:55:10.841Z] Removing intermediate container 1561af554161 [2024-03-08T04:55:10.841Z] ---> c92bf209e53a [2024-03-08T04:55:10.841Z] Step 11/23 : FROM alpine:3.18 [2024-03-08T04:55:10.841Z] 3.18: Pulling from library/alpine [2024-03-08T04:55:10.841Z] 619be1103602: Pulling fs layer [2024-03-08T04:55:10.841Z] 619be1103602: Verifying Checksum [2024-03-08T04:55:10.841Z] 619be1103602: Download complete [2024-03-08T04:55:10.841Z] 619be1103602: Pull complete [2024-03-08T04:55:10.841Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-08T04:55:10.841Z] Status: Downloaded newer image for alpine:3.18 [2024-03-08T04:55:10.841Z] ---> d3782b16ccc9 [2024-03-08T04:55:10.841Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-08T04:55:10.841Z] ---> Running in 04c3153500aa [2024-03-08T04:55:10.841Z] Removing intermediate container 04c3153500aa [2024-03-08T04:55:10.841Z] ---> c7c887a84acb [2024-03-08T04:55:10.841Z] Step 13/23 : RUN apk add --update --no-cache [2024-03-08T04:55:10.841Z] ---> Running in d44eb43ffa53 [2024-03-08T04:55:10.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-08T04:55:10.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-08T04:55:11.100Z] OK: 7 MiB in 15 packages [2024-03-08T04:55:11.359Z] Removing intermediate container d44eb43ffa53 [2024-03-08T04:55:11.359Z] ---> 00a598ae0cd1 [2024-03-08T04:55:11.359Z] Step 14/23 : WORKDIR / [2024-03-08T04:55:11.359Z] ---> Running in 25b5ca9a6751 [2024-03-08T04:55:11.359Z] Removing intermediate container 25b5ca9a6751 [2024-03-08T04:55:11.359Z] ---> 8aaa6c3f4dd6 [2024-03-08T04:55:11.359Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-08T04:55:11.619Z] ---> 27c2aea08991 [2024-03-08T04:55:11.619Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-08T04:55:12.993Z] ---> b8d5eb1a8f42 [2024-03-08T04:55:12.993Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-08T04:55:12.993Z] ---> 5348a454721b [2024-03-08T04:55:12.993Z] Step 18/23 : EXPOSE 59999 [2024-03-08T04:55:12.993Z] ---> Running in 240e3253bc1f [2024-03-08T04:55:12.993Z] Removing intermediate container 240e3253bc1f [2024-03-08T04:55:12.993Z] ---> e5d78780e3d1 [2024-03-08T04:55:12.993Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-03-08T04:55:12.993Z] ---> Running in e4495e2f69dc [2024-03-08T04:55:12.993Z] Removing intermediate container e4495e2f69dc [2024-03-08T04:55:12.993Z] ---> bfa26adb816f [2024-03-08T04:55:12.993Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-08T04:55:12.993Z] ---> Running in 8c4e6c41760b [2024-03-08T04:55:12.993Z] Removing intermediate container 8c4e6c41760b [2024-03-08T04:55:12.993Z] ---> fae3457691a2 [2024-03-08T04:55:12.993Z] Step 21/23 : LABEL arch=amd64 [2024-03-08T04:55:13.251Z] ---> Running in 884f84a9aee7 [2024-03-08T04:55:13.251Z] Removing intermediate container 884f84a9aee7 [2024-03-08T04:55:13.251Z] ---> fa3e3a3643e9 [2024-03-08T04:55:13.251Z] Step 22/23 : LABEL git_sha=ddfb2aa8129f9ae18007f27c354704ae94291ff2 [2024-03-08T04:55:13.251Z] ---> Running in 36cd6e164aa0 [2024-03-08T04:55:13.251Z] Removing intermediate container 36cd6e164aa0 [2024-03-08T04:55:13.251Z] ---> 43fdfd2e2b30 [2024-03-08T04:55:13.251Z] Step 23/23 : LABEL version=0.0.0 [2024-03-08T04:55:13.251Z] ---> Running in f2055bf99483 [2024-03-08T04:55:13.510Z] Removing intermediate container f2055bf99483 [2024-03-08T04:55:13.510Z] ---> 613832bab57c [2024-03-08T04:55:13.510Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-08T04:55:13.510Z] Successfully built 613832bab57c [2024-03-08T04:55:13.510Z] 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 [2024-03-08T04:55:14.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T04:55:14.798Z] [2024-03-08T04:55:14.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T04:55:15.216Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T04:55:15.216Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-08T04:55:15.216Z] 5eb5b503b376: Pulling fs layer [2024-03-08T04:55:15.216Z] 5c69ac0246d0: Pulling fs layer [2024-03-08T04:55:15.216Z] ec43610c2a17: Pulling fs layer [2024-03-08T04:55:15.216Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-08T04:55:15.216Z] 33b1e0a273af: Pulling fs layer [2024-03-08T04:55:15.216Z] 5d3b04190fa2: Pulling fs layer [2024-03-08T04:55:15.216Z] 2f39f015ded8: Pulling fs layer [2024-03-08T04:55:15.216Z] 3a2ae6a8a46f: Waiting [2024-03-08T04:55:15.216Z] 33b1e0a273af: Waiting [2024-03-08T04:55:15.216Z] 5d3b04190fa2: Waiting [2024-03-08T04:55:15.216Z] 2f39f015ded8: Waiting [2024-03-08T04:55:15.216Z] 5c69ac0246d0: Verifying Checksum [2024-03-08T04:55:15.216Z] 5c69ac0246d0: Download complete [2024-03-08T04:55:15.216Z] 3a2ae6a8a46f: Download complete [2024-03-08T04:55:15.216Z] 33b1e0a273af: Verifying Checksum [2024-03-08T04:55:15.216Z] 33b1e0a273af: Download complete [2024-03-08T04:55:15.216Z] 5d3b04190fa2: Download complete [2024-03-08T04:55:15.216Z] ec43610c2a17: Verifying Checksum [2024-03-08T04:55:15.216Z] ec43610c2a17: Download complete [2024-03-08T04:55:15.474Z] 5eb5b503b376: Verifying Checksum [2024-03-08T04:55:15.474Z] 5eb5b503b376: Download complete [2024-03-08T04:55:16.042Z] 2f39f015ded8: Verifying Checksum [2024-03-08T04:55:16.042Z] 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [2024-03-08T04:55:16.608Z] 5eb5b503b376: Pull complete [Pipeline] configFileProvider [2024-03-08T04:55:16.631Z] provisioning config files... [2024-03-08T04:55:16.670Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6849863704242879106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T04:55:16.866Z] 5c69ac0246d0: Pull complete [2024-03-08T04:55:17.124Z] ec43610c2a17: Pull complete [2024-03-08T04:55:17.124Z] 3a2ae6a8a46f: Pull complete [2024-03-08T04:55:17.200Z] ---> ****-login.sh [2024-03-08T04:55:17.200Z] nexus3.edgexfoundry.org:10001 [2024-03-08T04:55:17.382Z] 33b1e0a273af: Pull complete [2024-03-08T04:55:17.642Z] 5d3b04190fa2: Pull complete [2024-03-08T04:55:17.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:55:17.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:55:17.795Z] Configure a credential helper to remove this warning. See [2024-03-08T04:55:17.795Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:55:17.795Z] [2024-03-08T04:55:17.795Z] Login Succeeded [2024-03-08T04:55:17.795Z] nexus3.edgexfoundry.org:10002 [2024-03-08T04:55:18.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:55:18.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:55:18.335Z] Configure a credential helper to remove this warning. See [2024-03-08T04:55:18.336Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:55:18.336Z] [2024-03-08T04:55:18.336Z] Login Succeeded [2024-03-08T04:55:18.336Z] nexus3.edgexfoundry.org:10003 [2024-03-08T04:55:18.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:55:18.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:55:18.611Z] Configure a credential helper to remove this warning. See [2024-03-08T04:55:18.612Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:55:18.612Z] [2024-03-08T04:55:18.612Z] Login Succeeded [2024-03-08T04:55:18.887Z] nexus3.edgexfoundry.org:10004 [2024-03-08T04:55:19.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:55:19.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:55:19.156Z] Configure a credential helper to remove this warning. See [2024-03-08T04:55:19.156Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:55:19.156Z] [2024-03-08T04:55:19.156Z] Login Succeeded [2024-03-08T04:55:19.156Z] ****.io [2024-03-08T04:55:19.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-08T04:55:19.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-08T04:55:19.707Z] Configure a credential helper to remove this warning. See [2024-03-08T04:55:19.707Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-08T04:55:19.707Z] [2024-03-08T04:55:19.707Z] Login Succeeded [2024-03-08T04:55:19.707Z] ---> ****-login.sh ends [Pipeline] } [2024-03-08T04:55:19.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-08T04:55:20.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T04:55:20.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-08T04:55:20.486Z] ========================================================= [2024-03-08T04:55:20.486Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-08T04:55:20.486Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T04:55:21.155Z] + 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 . [2024-03-08T04:55:21.756Z] Sending build context to Docker daemon 11.39MB [2024-03-08T04:55:21.756Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T04:55:21.756Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-08T04:55:21.823Z] 2f39f015ded8: Pull complete [2024-03-08T04:55:21.823Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-08T04:55:21.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T04:55:21.823Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-03-08T04:55:22.029Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-08T04:55:22.029Z] 9fda8d8052c6: Pulling fs layer [2024-03-08T04:55:22.029Z] 5d54e960e981: Pulling fs layer [2024-03-08T04:55:22.029Z] c4a7e357bf2a: Pulling fs layer [2024-03-08T04:55:22.029Z] f0e02332f6b5: Pulling fs layer [2024-03-08T04:55:22.029Z] 872ee5b61b7b: Pulling fs layer [2024-03-08T04:55:22.029Z] 0c6a40ed1a82: Pulling fs layer [2024-03-08T04:55:22.029Z] 94ae7d8d031c: Pulling fs layer [2024-03-08T04:55:22.029Z] 872ee5b61b7b: Waiting [2024-03-08T04:55:22.029Z] f0e02332f6b5: Waiting [2024-03-08T04:55:22.029Z] 0c6a40ed1a82: Waiting [2024-03-08T04:55:22.029Z] 94ae7d8d031c: Waiting [2024-03-08T04:55:22.029Z] 5d54e960e981: Verifying Checksum [2024-03-08T04:55:22.029Z] 5d54e960e981: Download complete [2024-03-08T04:55:22.029Z] f0e02332f6b5: Verifying Checksum [2024-03-08T04:55:22.029Z] f0e02332f6b5: Download complete [2024-03-08T04:55:22.029Z] 872ee5b61b7b: Verifying Checksum [2024-03-08T04:55:22.029Z] 872ee5b61b7b: Download complete [2024-03-08T04:55:22.029Z] 9fda8d8052c6: Verifying Checksum [2024-03-08T04:55:22.029Z] 9fda8d8052c6: Download complete [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T04:55:22.251Z] prd-ubuntu20.04-docker-8c-8g-5206 does not seem to be running inside a container [2024-03-08T04:55:22.298Z] $ 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-1564 -v /w/workspace/gexfoundry_device-sdk-go_PR-1564:/w/workspace/gexfoundry_device-sdk-go_PR-1564:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-08T04:55:22.620Z] 94ae7d8d031c: Verifying Checksum [2024-03-08T04:55:22.620Z] 94ae7d8d031c: Download complete [2024-03-08T04:55:23.209Z] 9fda8d8052c6: Pull complete [2024-03-08T04:55:23.798Z] 5d54e960e981: Pull complete [2024-03-08T04:55:24.069Z] c4a7e357bf2a: Download complete [2024-03-08T04:55:25.487Z] 0c6a40ed1a82: Verifying Checksum [2024-03-08T04:55:25.487Z] 0c6a40ed1a82: Download complete [2024-03-08T04:55:29.197Z] $ docker top 55e9a30858eb47a2202833689bbba49e0df2b77e6e9c6bb4d1b6692ca25ba3cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T04:55:29.803Z] ---> job-cost.sh [2024-03-08T04:55:29.803Z] lf-activate-venv: SKIPPING [2024-03-08T04:55:29.803Z] INFO: No Stack... [2024-03-08T04:55:30.063Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-08T04:55:30.322Z] INFO: Archiving Costs [Pipeline] sh [2024-03-08T04:55:30.640Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1564/archives/cost.csv [2024-03-08T04:55:30.640Z] + cut -d, -f6 [Pipeline] lock [2024-03-08T04:55:30.682Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1564-1-stack-cost] [2024-03-08T04:55:30.688Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1564-1-stack-cost] did not exist. Created. [2024-03-08T04:55:30.693Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1564-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-08T04:55:31.172Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-08T04:55:31.229Z] Stashed 1 file(s) [Pipeline] } [2024-03-08T04:55:31.290Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1564-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-08T04:55:31.460Z] $ docker stop --time=1 55e9a30858eb47a2202833689bbba49e0df2b77e6e9c6bb4d1b6692ca25ba3cf [2024-03-08T04:55:32.624Z] $ docker rm -f --volumes 55e9a30858eb47a2202833689bbba49e0df2b77e6e9c6bb4d1b6692ca25ba3cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-08T04:55:37.842Z] c4a7e357bf2a: Pull complete [2024-03-08T04:55:37.842Z] f0e02332f6b5: Pull complete [2024-03-08T04:55:38.113Z] 872ee5b61b7b: Pull complete [2024-03-08T04:55:48.215Z] 0c6a40ed1a82: Pull complete [2024-03-08T04:55:49.173Z] 94ae7d8d031c: Pull complete [2024-03-08T04:55:49.173Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-08T04:55:49.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-08T04:55:49.173Z] ---> 86de565de09d [2024-03-08T04:55:49.173Z] Step 3/10 : ARG MAKE=make build [2024-03-08T04:55:50.135Z] ---> Running in 57a9cb80295b [2024-03-08T04:55:50.497Z] Removing intermediate container 57a9cb80295b [2024-03-08T04:55:50.497Z] ---> 434672826b3b [2024-03-08T04:55:50.497Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-08T04:55:50.497Z] ---> Running in d9f7b522b075 [2024-03-08T04:55:51.127Z] Removing intermediate container d9f7b522b075 [2024-03-08T04:55:51.127Z] ---> b1ea4898adf2 [2024-03-08T04:55:51.127Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-08T04:55:51.127Z] ---> Running in fed00b21d046 [2024-03-08T04:55:51.409Z] Removing intermediate container fed00b21d046 [2024-03-08T04:55:51.409Z] ---> 2aab1dceee53 [2024-03-08T04:55:51.409Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-08T04:55:51.409Z] ---> Running in 8ea82dcef266 [2024-03-08T04:55:53.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-08T04:55:53.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-08T04:55:54.354Z] OK: 266 MiB in 52 packages [2024-03-08T04:55:55.325Z] Removing intermediate container 8ea82dcef266 [2024-03-08T04:55:55.325Z] ---> 6c1db308ec09 [2024-03-08T04:55:55.325Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-08T04:55:55.914Z] ---> 1735e05805e4 [2024-03-08T04:55:55.914Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T04:55:55.914Z] ---> Running in 62ee679da0d7 [2024-03-08T04:57:03.956Z] Removing intermediate container 62ee679da0d7 [2024-03-08T04:57:03.956Z] ---> a799f12a9693 [2024-03-08T04:57:03.956Z] Step 9/10 : COPY . . [2024-03-08T04:57:03.956Z] ---> 2b7ec201776c [2024-03-08T04:57:03.956Z] Step 10/10 : RUN ${MAKE} [2024-03-08T04:57:03.956Z] ---> Running in 4a62e68e9dac [2024-03-08T04:57:03.956Z] noop [2024-03-08T04:57:03.956Z] Removing intermediate container 4a62e68e9dac [2024-03-08T04:57:03.956Z] ---> 0d2942aaa545 [2024-03-08T04:57:03.956Z] Successfully built 0d2942aaa545 [2024-03-08T04:57:03.956Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T04:57:04.570Z] + docker inspect -f . ci-base-image-arm64 [2024-03-08T04:57:04.570Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T04:57:04.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-5208 does not seem to be running inside a container [2024-03-08T04:57:05.030Z] $ 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 ******** ci-base-image-arm64 cat [2024-03-08T04:57:06.356Z] $ docker top bda90a3ef60a59d428652c018628add3ca0ef4661ca73d801d13e75104241fc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T04:57:07.460Z] + go version [2024-03-08T04:57:07.460Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-08T04:57:07.503Z] $ docker stop --time=1 bda90a3ef60a59d428652c018628add3ca0ef4661ca73d801d13e75104241fc2 [2024-03-08T04:57:09.171Z] $ docker rm -f --volumes bda90a3ef60a59d428652c018628add3ca0ef4661ca73d801d13e75104241fc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T04:57:10.420Z] + docker inspect -f . ci-base-image-arm64 [2024-03-08T04:57:10.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T04:57:10.790Z] prd-ubuntu20.04-docker-arm64-4c-16g-5208 does not seem to be running inside a container [2024-03-08T04:57:10.867Z] $ 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 ******** ci-base-image-arm64 cat [2024-03-08T04:57:12.241Z] $ docker top b7f59203aa4b38b3fc452b2d2d8be262d611f6a0c236b421546bff53543d1cc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T04:57:13.267Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-08T04:57:14.045Z] + make test [2024-03-08T04:57:14.045Z] go test -race -coverprofile=coverage.out ./... [2024-03-08T04:58:00.934Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-08T04:59:52.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-08T04:59:52.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-08T04:59:52.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-08T04:59:52.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-08T04:59:52.587Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-08T04:59:53.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.216s coverage: 27.6% of statements [2024-03-08T05:00:01.740Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.266s coverage: 81.5% of statements [2024-03-08T05:00:09.954Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-08T05:00:09.954Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-08T05:00:11.367Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.381s coverage: 86.0% of statements [2024-03-08T05:00:16.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-08T05:00:17.699Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.565s coverage: 71.8% of statements [2024-03-08T05:00:21.058Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.299s coverage: 14.4% of statements [2024-03-08T05:00:21.058Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.662s coverage: 45.9% of statements [2024-03-08T05:00:21.644Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-08T05:00:21.644Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-08T05:00:23.054Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.392s coverage: 68.5% of statements [2024-03-08T05:00:25.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.419s coverage: 89.2% of statements [2024-03-08T05:00:26.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-08T05:00:27.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.230s coverage: 5.5% of statements [2024-03-08T05:00:28.599Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-08T05:00:28.599Z] GO111MODULE=on go vet ./... [2024-03-08T05:02:50.332Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-08T05:02:50.332Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-08T05:02:50.332Z] ./bin/test-attribution-txt.sh [2024-03-08T05:02:50.332Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-08T05:02:50.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-08T05:02:50.447Z] $ docker stop --time=1 b7f59203aa4b38b3fc452b2d2d8be262d611f6a0c236b421546bff53543d1cc5 [2024-03-08T05:02:52.502Z] $ docker rm -f --volumes b7f59203aa4b38b3fc452b2d2d8be262d611f6a0c236b421546bff53543d1cc5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-08T05:02:54.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-08T05:02:54.616Z] Warning: overwriting stash ‘coverage-report’ [2024-03-08T05:02:55.301Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-08T05:02:56.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-08T05:02:56.499Z] + ls -al . [2024-03-08T05:02:56.499Z] total 304 [2024-03-08T05:02:56.499Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 04:57 . [2024-03-08T05:02:56.499Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 04:54 .. [2024-03-08T05:02:56.499Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 04:54 .dockerignore [2024-03-08T05:02:56.499Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 04:54 .git [2024-03-08T05:02:56.499Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 04:54 .github [2024-03-08T05:02:56.499Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 8 04:54 .gitignore [2024-03-08T05:02:56.499Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 04:54 .golangci.yml [2024-03-08T05:02:56.499Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 8 04:54 CHANGELOG.md [2024-03-08T05:02:56.499Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 04:54 GOVERNANCE.md [2024-03-08T05:02:56.499Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 04:54 Jenkinsfile [2024-03-08T05:02:56.499Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 04:54 LICENSE [2024-03-08T05:02:56.499Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 8 04:54 Makefile [2024-03-08T05:02:56.499Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 04:54 OWNERS.md [2024-03-08T05:02:56.499Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 8 04:54 README.md [2024-03-08T05:02:56.499Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 04:52 VERSION [2024-03-08T05:02:56.499Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 04:54 bin [2024-03-08T05:02:56.499Z] -rw-r--r-- 1 jenkins jenkins 122153 Mar 8 05:00 coverage.out [2024-03-08T05:02:56.500Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 04:54 example [2024-03-08T05:02:56.500Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 8 04:54 go.mod [2024-03-08T05:02:56.500Z] -rw-rw-r-- 1 jenkins jenkins 35399 Mar 8 04:54 go.sum [2024-03-08T05:02:56.500Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 04:54 internal [2024-03-08T05:02:56.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 04:54 openapi [2024-03-08T05:02:56.500Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 04:54 pkg [2024-03-08T05:02:56.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 04:54 snap [2024-03-08T05:02:56.500Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 04:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T05:02:57.010Z] + 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=ddfb2aa8129f9ae18007f27c354704ae94291ff2 --label arch=arm64 --label version=0.0.0 . [2024-03-08T05:02:57.596Z] Sending build context to Docker daemon 11.52MB [2024-03-08T05:02:57.596Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-08T05:02:57.596Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-08T05:02:57.596Z] ---> 0d2942aaa545 [2024-03-08T05:02:57.596Z] Step 3/23 : ARG MAKE=make build [2024-03-08T05:02:57.863Z] ---> Running in 351aa2d79d9f [2024-03-08T05:02:58.132Z] Removing intermediate container 351aa2d79d9f [2024-03-08T05:02:58.132Z] ---> 5438c78e2e89 [2024-03-08T05:02:58.132Z] Step 4/23 : WORKDIR /device-sdk-go [2024-03-08T05:02:58.132Z] ---> Running in 5d69f6393851 [2024-03-08T05:02:58.658Z] Removing intermediate container 5d69f6393851 [2024-03-08T05:02:58.658Z] ---> 6756d907441e [2024-03-08T05:02:58.658Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-08T05:02:58.658Z] ---> Running in e13d68ba5d9d [2024-03-08T05:02:58.927Z] Removing intermediate container e13d68ba5d9d [2024-03-08T05:02:58.928Z] ---> d275c5fde0a8 [2024-03-08T05:02:58.928Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-03-08T05:02:58.928Z] ---> Running in 368e83e541d4 [2024-03-08T05:03:00.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-08T05:03:00.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-08T05:03:01.571Z] OK: 266 MiB in 52 packages [2024-03-08T05:03:02.530Z] Removing intermediate container 368e83e541d4 [2024-03-08T05:03:02.530Z] ---> 6a7c4c1c964d [2024-03-08T05:03:02.530Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-08T05:03:03.115Z] ---> 8d06ae71dad1 [2024-03-08T05:03:03.115Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-08T05:03:03.383Z] ---> Running in 8e85092f560c [2024-03-08T05:03:05.339Z] Removing intermediate container 8e85092f560c [2024-03-08T05:03:05.339Z] ---> 4e8480f5b542 [2024-03-08T05:03:05.339Z] Step 9/23 : COPY . . [2024-03-08T05:03:06.759Z] ---> b91cf2838b43 [2024-03-08T05:03:06.759Z] Step 10/23 : RUN ${MAKE} [2024-03-08T05:03:06.759Z] ---> Running in 7275046108a4 [2024-03-08T05:03:07.721Z] 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 [2024-03-08T05:05:15.011Z] Removing intermediate container 7275046108a4 [2024-03-08T05:05:15.011Z] ---> ef8550faf4e7 [2024-03-08T05:05:15.011Z] Step 11/23 : FROM alpine:3.18 [2024-03-08T05:05:15.011Z] 3.18: Pulling from library/alpine [2024-03-08T05:05:15.011Z] c6b39de5b339: Pulling fs layer [2024-03-08T05:05:15.011Z] c6b39de5b339: Verifying Checksum [2024-03-08T05:05:15.011Z] c6b39de5b339: Download complete [2024-03-08T05:05:15.011Z] c6b39de5b339: Pull complete [2024-03-08T05:05:15.011Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-08T05:05:15.011Z] Status: Downloaded newer image for alpine:3.18 [2024-03-08T05:05:15.011Z] ---> 33abbf032149 [2024-03-08T05:05:15.011Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-08T05:05:15.011Z] ---> Running in 4c9f13666bf7 [2024-03-08T05:05:15.011Z] Removing intermediate container 4c9f13666bf7 [2024-03-08T05:05:15.011Z] ---> ef69ea55e641 [2024-03-08T05:05:15.011Z] Step 13/23 : RUN apk add --update --no-cache [2024-03-08T05:05:15.011Z] ---> Running in 4a9441e216f2 [2024-03-08T05:05:15.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-08T05:05:15.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-08T05:05:15.011Z] OK: 8 MiB in 15 packages [2024-03-08T05:05:15.011Z] Removing intermediate container 4a9441e216f2 [2024-03-08T05:05:15.011Z] ---> 291f146cfe17 [2024-03-08T05:05:15.011Z] Step 14/23 : WORKDIR / [2024-03-08T05:05:15.011Z] ---> Running in 16e45b01c2bc [2024-03-08T05:05:15.011Z] Removing intermediate container 16e45b01c2bc [2024-03-08T05:05:15.011Z] ---> 27e567e5a0dd [2024-03-08T05:05:15.011Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-08T05:05:15.011Z] ---> 78be9e92be0c [2024-03-08T05:05:15.011Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-08T05:05:15.011Z] ---> 5fe481c96989 [2024-03-08T05:05:15.011Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-08T05:05:15.011Z] ---> e98e1068c61b [2024-03-08T05:05:15.011Z] Step 18/23 : EXPOSE 59999 [2024-03-08T05:05:15.011Z] ---> Running in edfb1b8c95f6 [2024-03-08T05:05:15.011Z] Removing intermediate container edfb1b8c95f6 [2024-03-08T05:05:15.011Z] ---> dc3dcff23cf5 [2024-03-08T05:05:15.011Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-03-08T05:05:15.011Z] ---> Running in 8c08fffeee95 [2024-03-08T05:05:15.011Z] Removing intermediate container 8c08fffeee95 [2024-03-08T05:05:15.011Z] ---> 9caddf8963ad [2024-03-08T05:05:15.011Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-08T05:05:15.011Z] ---> Running in 91df603099a1 [2024-03-08T05:05:15.011Z] Removing intermediate container 91df603099a1 [2024-03-08T05:05:15.011Z] ---> ee179fc8107f [2024-03-08T05:05:15.011Z] Step 21/23 : LABEL arch=arm64 [2024-03-08T05:05:15.011Z] ---> Running in ea10ad8a36ac [2024-03-08T05:05:15.011Z] Removing intermediate container ea10ad8a36ac [2024-03-08T05:05:15.011Z] ---> 779c0365ba39 [2024-03-08T05:05:15.011Z] Step 22/23 : LABEL git_sha=ddfb2aa8129f9ae18007f27c354704ae94291ff2 [2024-03-08T05:05:15.011Z] ---> Running in ea6605532170 [2024-03-08T05:05:15.011Z] Removing intermediate container ea6605532170 [2024-03-08T05:05:15.011Z] ---> 67c984064bd8 [2024-03-08T05:05:15.011Z] Step 23/23 : LABEL version=0.0.0 [2024-03-08T05:05:15.011Z] ---> Running in 964747aaeaa3 [2024-03-08T05:05:15.011Z] Removing intermediate container 964747aaeaa3 [2024-03-08T05:05:15.011Z] ---> 29b1ee072a8f [2024-03-08T05:05:15.011Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-08T05:05:15.011Z] Successfully built 29b1ee072a8f [2024-03-08T05:05:15.011Z] 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 [2024-03-08T05:05:16.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-08T05:05:16.348Z] [2024-03-08T05:05:16.348Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T05:05:16.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-08T05:05:17.176Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-08T05:05:17.176Z] 8998bd30e6a1: Pulling fs layer [2024-03-08T05:05:17.176Z] 04944245beec: Pulling fs layer [2024-03-08T05:05:17.176Z] 699f458cf7ca: Pulling fs layer [2024-03-08T05:05:17.176Z] 765212b225bb: Pulling fs layer [2024-03-08T05:05:17.176Z] f23df028b6ca: Pulling fs layer [2024-03-08T05:05:17.176Z] d65c8cfc05b1: Pulling fs layer [2024-03-08T05:05:17.176Z] 2437ff75d9bd: Pulling fs layer [2024-03-08T05:05:17.176Z] f23df028b6ca: Waiting [2024-03-08T05:05:17.176Z] 765212b225bb: Waiting [2024-03-08T05:05:17.176Z] d65c8cfc05b1: Waiting [2024-03-08T05:05:17.176Z] 2437ff75d9bd: Waiting [2024-03-08T05:05:17.176Z] 04944245beec: Verifying Checksum [2024-03-08T05:05:17.176Z] 04944245beec: Download complete [2024-03-08T05:05:17.176Z] 765212b225bb: Verifying Checksum [2024-03-08T05:05:17.176Z] 765212b225bb: Download complete [2024-03-08T05:05:17.176Z] f23df028b6ca: Verifying Checksum [2024-03-08T05:05:17.176Z] f23df028b6ca: Download complete [2024-03-08T05:05:17.444Z] d65c8cfc05b1: Verifying Checksum [2024-03-08T05:05:17.444Z] d65c8cfc05b1: Download complete [2024-03-08T05:05:17.445Z] 699f458cf7ca: Verifying Checksum [2024-03-08T05:05:17.445Z] 699f458cf7ca: Download complete [2024-03-08T05:05:18.031Z] 8998bd30e6a1: Verifying Checksum [2024-03-08T05:05:18.031Z] 8998bd30e6a1: Download complete [2024-03-08T05:05:20.620Z] 2437ff75d9bd: Verifying Checksum [2024-03-08T05:05:20.620Z] 2437ff75d9bd: Download complete [2024-03-08T05:05:22.584Z] 8998bd30e6a1: Pull complete [2024-03-08T05:05:23.172Z] 04944245beec: Pull complete [2024-03-08T05:05:25.128Z] 699f458cf7ca: Pull complete [2024-03-08T05:05:25.128Z] 765212b225bb: Pull complete [2024-03-08T05:05:25.714Z] f23df028b6ca: Pull complete [2024-03-08T05:05:25.982Z] d65c8cfc05b1: Pull complete [2024-03-08T05:05:42.760Z] 2437ff75d9bd: Pull complete [2024-03-08T05:05:43.033Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-08T05:05:43.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-08T05:05:43.033Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T05:05:43.569Z] prd-ubuntu20.04-docker-arm64-4c-16g-5208 does not seem to be running inside a container [2024-03-08T05:05:43.648Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-08T05:05:46.908Z] $ docker top 84ea3abae3f254c7e3ff549d7f21ae728dda90f622d75102a3da231884ab832b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-08T05:05:47.934Z] ---> job-cost.sh [2024-03-08T05:05:47.934Z] lf-activate-venv: SKIPPING [2024-03-08T05:05:47.934Z] INFO: No Stack... [2024-03-08T05:05:48.519Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-08T05:05:49.480Z] INFO: Archiving Costs [Pipeline] sh [2024-03-08T05:05:50.153Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-03-08T05:05:50.153Z] + cut -d, -f6 [Pipeline] lock [2024-03-08T05:05:50.212Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1564-1-stack-cost] [2024-03-08T05:05:50.219Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1564-1-stack-cost] did not exist. Created. [2024-03-08T05:05:50.224Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1564-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-08T05:05:51.063Z] /w/workspace/device-sdk-go/1@tmp/durable-b5d43309/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-08T05:05:51.750Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-08T05:05:51.785Z] Warning: overwriting stash ‘stack-cost’ [2024-03-08T05:05:51.891Z] Stashed 1 file(s) [Pipeline] } [2024-03-08T05:05:51.907Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1564-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-08T05:05:52.097Z] $ docker stop --time=1 84ea3abae3f254c7e3ff549d7f21ae728dda90f622d75102a3da231884ab832b [2024-03-08T05:05:53.774Z] $ docker rm -f --volumes 84ea3abae3f254c7e3ff549d7f21ae728dda90f622d75102a3da231884ab832b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-03-08T05:05:55.905Z] provisioning config files... [2024-03-08T05:05:55.914Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp/config2038280624381258672tmp [Pipeline] { [Pipeline] sh [2024-03-08T05:05:56.343Z] + set +x [2024-03-08T05:05:56.343Z] + curl -s https://codecov.io/bash [2024-03-08T05:05:56.343Z] + bash -s -- [2024-03-08T05:05:56.343Z] [2024-03-08T05:05:56.343Z] _____ _ [2024-03-08T05:05:56.343Z] / ____| | | [2024-03-08T05:05:56.343Z] | | ___ __| | ___ ___ _____ __ [2024-03-08T05:05:56.343Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-08T05:05:56.343Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-08T05:05:56.343Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-08T05:05:56.343Z] Bash-1.0.6 [2024-03-08T05:05:56.343Z] [2024-03-08T05:05:56.343Z] [2024-03-08T05:05:56.343Z] ==> git version 2.25.1 found [2024-03-08T05:05:56.343Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-03-08T05:05:56.343Z] Release-Date: 2020-01-08 [2024-03-08T05:05:56.343Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-08T05:05:56.343Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-08T05:05:56.343Z] ==> Jenkins CI detected. [2024-03-08T05:05:56.343Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1564 [2024-03-08T05:05:56.343Z] project root: . [2024-03-08T05:05:56.343Z] --> token set from env [2024-03-08T05:05:56.343Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-08T05:05:56.601Z] ==> Running gcov in . (disable via -X gcov) [2024-03-08T05:05:56.601Z] ==> Python coveragepy not found [2024-03-08T05:05:56.601Z] ==> Searching for coverage reports in: [2024-03-08T05:05:56.601Z] + . [2024-03-08T05:05:56.601Z] -> Found 1 reports [2024-03-08T05:05:56.601Z] ==> Detecting git/mercurial file structure [2024-03-08T05:05:56.601Z] ==> Reading reports [2024-03-08T05:05:56.601Z] + ./coverage.out bytes=122153 [2024-03-08T05:05:56.601Z] ==> Appending adjustments [2024-03-08T05:05:56.601Z] https://docs.codecov.io/docs/fixing-reports [2024-03-08T05:05:56.861Z] + Found adjustments [2024-03-08T05:05:56.861Z] ==> Gzipping contents [2024-03-08T05:05:56.861Z] 20K /tmp/codecov.EMgJLC.gz [2024-03-08T05:05:56.861Z] ==> Uploading reports [2024-03-08T05:05:56.861Z] url: https://codecov.io [2024-03-08T05:05:56.861Z] query: branch=PR-1564&commit=ddfb2aa8129f9ae18007f27c354704ae94291ff2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1564%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1564&job=&cmd_args= [2024-03-08T05:05:56.861Z] -> Pinging Codecov [2024-03-08T05:05:56.861Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1564&commit=ddfb2aa8129f9ae18007f27c354704ae94291ff2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1564%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1564&job=&cmd_args= [2024-03-08T05:05:57.120Z] -> Uploading to [2024-03-08T05:05:57.120Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-08/7E55EF52A471D76F132DFD9A03CDDE97/ddfb2aa8129f9ae18007f27c354704ae94291ff2/624b012b-fb75-4ae6-96e2-46093dfe4292.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240308T050556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b9806346ec7de8965c467a88804cd2e784d1156dc44509dbed2df052508c7a9 [2024-03-08T05:05:57.120Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-08T05:05:57.120Z] Dload Upload Total Spent Left Speed [2024-03-08T05:05:57.381Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16746 0 0 100 16746 0 56006 --:--:-- --:--:-- --:--:-- 56006 [2024-03-08T05:05:57.381Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ddfb2aa8129f9ae18007f27c354704ae94291ff2 [Pipeline] } [2024-03-08T05:05:57.410Z] 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 [2024-03-08T05:06:00.884Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1564/archives ] [2024-03-08T05:06:00.884Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1564/archives [2024-03-08T05:06:00.884Z] total 16 [2024-03-08T05:06:00.884Z] drwxr-xr-x 3 root root 4096 Mar 8 04:55 . [2024-03-08T05:06:00.884Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 04:55 .. [2024-03-08T05:06:00.884Z] drwxr-xr-x 2 root root 4096 Mar 8 04:55 cost [2024-03-08T05:06:00.884Z] -rw-r--r-- 1 root root 86 Mar 8 04:55 cost.csv [2024-03-08T05:06:00.884Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1564/archives [2024-03-08T05:06:00.884Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1564/archives [2024-03-08T05:06:00.884Z] total 16 [2024-03-08T05:06:00.884Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 04:55 . [2024-03-08T05:06:00.884Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 04:55 .. [2024-03-08T05:06:00.884Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 04:55 cost [2024-03-08T05:06:00.884Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 8 04:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-08T05:06:01.208Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T05:06:02.096Z] ---> package-listing.sh [2024-03-08T05:06:02.096Z] ++ facter osfamily [2024-03-08T05:06:02.096Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-08T05:06:02.355Z] + OS_FAMILY=debian [2024-03-08T05:06:02.355Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1564 [2024-03-08T05:06:02.355Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-08T05:06:02.355Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-08T05:06:02.355Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-08T05:06:02.355Z] + PACKAGES=/tmp/packages_start.txt [2024-03-08T05:06:02.355Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1564 ']' [2024-03-08T05:06:02.355Z] + PACKAGES=/tmp/packages_end.txt [2024-03-08T05:06:02.355Z] + case "${OS_FAMILY}" in [2024-03-08T05:06:02.355Z] + dpkg -l [2024-03-08T05:06:02.355Z] + grep '^ii' [2024-03-08T05:06:02.355Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-08T05:06:02.355Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-08T05:06:02.355Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-08T05:06:02.355Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1564 ']' [2024-03-08T05:06:02.355Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1564/archives/ [2024-03-08T05:06:02.355Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1564/archives/ [Pipeline] echo [2024-03-08T05:06:02.382Z] 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-1564/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-08T05:06:02.688Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-08T05:06:03.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-08T05:06:03.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-08T05:06:03.623Z] prd-ubuntu20.04-docker-8c-8g-5206 does not seem to be running inside a container [2024-03-08T05:06:03.675Z] $ 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-1564/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-1564 -v /w/workspace/gexfoundry_device-sdk-go_PR-1564:/w/workspace/gexfoundry_device-sdk-go_PR-1564:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-08T05:06:03.842Z] $ docker top 1275b73084d36ed2e4d95d35fdd462e14a8c67dded3e207df318eca5d73dc16d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-08T05:06:04.302Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-08T05:06:04.607Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-08T05:06:04.918Z] + ls /var/log/sa-host [2024-03-08T05:06:04.918Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-08T05:06:05.223Z] provisioning config files... [2024-03-08T05:06:05.233Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1564@tmp/config2998429078787888654tmp [Pipeline] { [Pipeline] echo [2024-03-08T05:06:05.388Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T05:06:05.697Z] ---> create-netrc.sh [Pipeline] } [2024-03-08T05:06:05.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-08T05:06:06.232Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-08T05:06:06.265Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T05:06:06.573Z] ---> sudo-logs.sh [2024-03-08T05:06:06.573Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-08T05:06:06.718Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T05:06:07.027Z] ---> job-cost.sh [2024-03-08T05:06:07.027Z] lf-activate-venv: SKIPPING [2024-03-08T05:06:07.027Z] DEBUG: total: 0.2199999988079071 [2024-03-08T05:06:07.027Z] INFO: Retrieving Stack Cost... [2024-03-08T05:06:07.595Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-08T05:06:07.854Z] INFO: Archiving Costs [Pipeline] echo [2024-03-08T05:06:07.891Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-08T05:06:08.200Z] ---> logs-deploy.sh [2024-03-08T05:06:08.200Z] lf-activate-venv: SKIPPING [2024-03-08T05:06:08.200Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1564/1 [2024-03-08T05:06:08.200Z] INFO: archiving workspace using pattern(s): [2024-03-08T05:06:09.139Z] Archives upload complete. [2024-03-08T05:06:09.139Z] INFO: archiving logs to Nexus