Pull request #1541 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of zyqhpz for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 7730e9b2488ebe82cf8f1ec58f41fa934430b51b rather than 6f7ac53e21a07f5410e0313d1020217b42fefd27 Obtained Jenkinsfile from 7730e9b2488ebe82cf8f1ec58f41fa934430b51b Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13439835579829620094.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-ssh8927334733308745287.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1541/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1541/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16276613360946956985.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 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-ssh11013199519065882468.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1541/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1541/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7466915829413953533.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-ubuntu20.04-docker-8c-8g-176’ is offline Running on prd-ubuntu20.04-docker-8c-8g-178 in /w/workspace/gexfoundry_device-sdk-go_PR-1541 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1541 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1541/head:refs/remotes/origin/PR-1541 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit 6f7ac53e21a07f5410e0313d1020217b42fefd27 Merge succeeded, producing 6f7ac53e21a07f5410e0313d1020217b42fefd27 Checking out Revision 6f7ac53e21a07f5410e0313d1020217b42fefd27 (PR-1541) > git config core.sparsecheckout # timeout=10 > git checkout -f 6f7ac53e21a07f5410e0313d1020217b42fefd27 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f7ac53e21a07f5410e0313d1020217b42fefd27 # timeout=10 Commit message: "refactor: change v2 to v3 in InitRestRoutes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-18T11:37:57.411Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-18T11:37:57.478Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-18T11:37:57.502Z] ========================================================= [2023-11-18T11:37:57.502Z] EdgeX Global Pipelines Version Info [2023-11-18T11:37:57.502Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:37:58.222Z] ------------------- [2023-11-18T11:37:58.222Z] stable info: [2023-11-18T11:37:58.222Z] ------------------- [2023-11-18T11:37:58.222Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-18T11:37:58.222Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-18T11:37:58.222Z] Message: update stable to v1.0.258 > git rev-list --no-walk 0e0d33e34e7a4c5fb557577c538ad2fca5c4e2f4 # timeout=10 [2023-11-18T11:37:58.794Z] ------------------- [2023-11-18T11:37:58.794Z] experimental info: [2023-11-18T11:37:58.794Z] ------------------- [2023-11-18T11:37:58.794Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-18T11:37:58.794Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-18T11:37:58.794Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-18T11:37:58.881Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-18T11:37:58.910Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-18T11:37:58.940Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-18T11:37:58.971Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-18T11:37:58.999Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-18T11:37:59.027Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-18T11:37:59.051Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-18T11:37:59.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-18T11:37:59.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-18T11:37:59.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-18T11:37:59.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-18T11:37:59.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-18T11:37:59.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-18T11:37:59.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-18T11:37:59.287Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-18T11:37:59.325Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-18T11:37:59.356Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-18T11:37:59.390Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-18T11:37:59.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-18T11:37:59.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-18T11:37:59.499Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-18T11:37:59.530Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-18T11:37:59.564Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-18T11:37:59.601Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-18T11:37:59.635Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-18T11:37:59.669Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-18T11:37:59.707Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-18T11:37:59.743Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1541 [Pipeline] echo [2023-11-18T11:37:59.780Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1541 [Pipeline] echo [2023-11-18T11:37:59.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1541 [Pipeline] echo [2023-11-18T11:37:59.859Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f7ac53e21a07f5410e0313d1020217b42fefd27 [Pipeline] echo [2023-11-18T11:37:59.900Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f7ac53 [Pipeline] echo [2023-11-18T11:37:59.940Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-18T11:38:00.029Z] provisioning config files... [2023-11-18T11:38:00.042Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config7837825523223323333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:38:00.386Z] ---> ****-login.sh [2023-11-18T11:38:00.386Z] nexus3.edgexfoundry.org:10001 [2023-11-18T11:38:00.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:38:00.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:38:00.646Z] Configure a credential helper to remove this warning. See [2023-11-18T11:38:00.646Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:38:00.646Z] [2023-11-18T11:38:00.646Z] Login Succeeded [2023-11-18T11:38:00.646Z] nexus3.edgexfoundry.org:10002 [2023-11-18T11:38:00.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:38:00.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:38:00.908Z] Configure a credential helper to remove this warning. See [2023-11-18T11:38:00.908Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:38:00.908Z] [2023-11-18T11:38:00.908Z] Login Succeeded [2023-11-18T11:38:00.908Z] nexus3.edgexfoundry.org:10003 [2023-11-18T11:38:00.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:38:00.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:38:00.908Z] Configure a credential helper to remove this warning. See [2023-11-18T11:38:00.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:38:00.909Z] [2023-11-18T11:38:00.909Z] Login Succeeded [2023-11-18T11:38:00.909Z] nexus3.edgexfoundry.org:10004 [2023-11-18T11:38:00.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:38:01.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:38:01.171Z] Configure a credential helper to remove this warning. See [2023-11-18T11:38:01.171Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:38:01.171Z] [2023-11-18T11:38:01.171Z] Login Succeeded [2023-11-18T11:38:01.171Z] ****.io [2023-11-18T11:38:01.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:38:01.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:38:01.431Z] Configure a credential helper to remove this warning. See [2023-11-18T11:38:01.432Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:38:01.432Z] [2023-11-18T11:38:01.432Z] Login Succeeded [2023-11-18T11:38:01.432Z] ---> ****-login.sh ends [Pipeline] } [2023-11-18T11:38:01.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-18T11:38:01.941Z] + git rev-list -1 --merges 6f7ac53e21a07f5410e0313d1020217b42fefd27~1..6f7ac53e21a07f5410e0313d1020217b42fefd27 [Pipeline] echo [2023-11-18T11:38:01.969Z] -----------> git rev-list -1 --merges 6f7ac53e21a07f5410e0313d1020217b42fefd27~1..6f7ac53e21a07f5410e0313d1020217b42fefd27 6f7ac53e21a07f5410e0313d1020217b42fefd27 [false] [Pipeline] sh [2023-11-18T11:38:02.273Z] + git log --format=format:%s -1 6f7ac53e21a07f5410e0313d1020217b42fefd27 [Pipeline] echo [2023-11-18T11:38:02.289Z] ========================================================= [2023-11-18T11:38:02.289Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-18T11:38:02.289Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-18T11:38:02.661Z] + git log --format=format:%s -1 6f7ac53e21a07f5410e0313d1020217b42fefd27 [Pipeline] echo [2023-11-18T11:38:02.673Z] [semverPrep] GIT_COMMIT: 6f7ac53e21a07f5410e0313d1020217b42fefd27, Commit Message: refactor: change v2 to v3 in InitRestRoutes [Pipeline] echo [2023-11-18T11:38:02.699Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-18T11:38:03.071Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-18T11:38:03.071Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-18T11:38:03.071Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-18T11:38:03.071Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-18T11:38:03.071Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-18T11:38:03.071Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-18T11:38:03.071Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:38:03.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-18T11:38:03.484Z] [2023-11-18T11:38:03.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:38:03.805Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-18T11:38:03.805Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-18T11:38:03.805Z] b85a868b505f: Pulling fs layer [2023-11-18T11:38:03.805Z] e2be974225ed: Pulling fs layer [2023-11-18T11:38:03.805Z] 339a4e72a1f5: Pulling fs layer [2023-11-18T11:38:03.805Z] 988bab9f4d93: Pulling fs layer [2023-11-18T11:38:03.805Z] 1469e6f7b9e6: Pulling fs layer [2023-11-18T11:38:03.805Z] eaf3925da568: Pulling fs layer [2023-11-18T11:38:03.805Z] bab4dde63d76: Pulling fs layer [2023-11-18T11:38:03.805Z] bde34c3a00c8: Pulling fs layer [2023-11-18T11:38:03.805Z] b352a97aabf1: Pulling fs layer [2023-11-18T11:38:03.805Z] eaf3925da568: Waiting [2023-11-18T11:38:03.805Z] 4872d77fe225: Pulling fs layer [2023-11-18T11:38:03.805Z] 1469e6f7b9e6: Waiting [2023-11-18T11:38:03.805Z] 5851b861e8e6: Pulling fs layer [2023-11-18T11:38:03.805Z] bde34c3a00c8: Waiting [2023-11-18T11:38:03.805Z] 988bab9f4d93: Waiting [2023-11-18T11:38:03.805Z] 4872d77fe225: Waiting [2023-11-18T11:38:03.805Z] b352a97aabf1: Waiting [2023-11-18T11:38:03.805Z] e2be974225ed: Download complete [2023-11-18T11:38:03.805Z] 988bab9f4d93: Verifying Checksum [2023-11-18T11:38:03.805Z] 988bab9f4d93: Download complete [2023-11-18T11:38:03.805Z] 1469e6f7b9e6: Verifying Checksum [2023-11-18T11:38:03.805Z] 1469e6f7b9e6: Download complete [2023-11-18T11:38:03.805Z] eaf3925da568: Verifying Checksum [2023-11-18T11:38:03.805Z] eaf3925da568: Download complete [2023-11-18T11:38:04.067Z] 339a4e72a1f5: Verifying Checksum [2023-11-18T11:38:04.067Z] 339a4e72a1f5: Download complete [2023-11-18T11:38:04.067Z] bde34c3a00c8: Verifying Checksum [2023-11-18T11:38:04.067Z] bde34c3a00c8: Download complete [2023-11-18T11:38:04.067Z] b352a97aabf1: Verifying Checksum [2023-11-18T11:38:04.067Z] b352a97aabf1: Download complete [2023-11-18T11:38:04.067Z] 4872d77fe225: Download complete [2023-11-18T11:38:04.067Z] 5851b861e8e6: Download complete [2023-11-18T11:38:04.067Z] b85a868b505f: Verifying Checksum [2023-11-18T11:38:04.067Z] b85a868b505f: Download complete [2023-11-18T11:38:04.326Z] bab4dde63d76: Verifying Checksum [2023-11-18T11:38:04.326Z] bab4dde63d76: Download complete [2023-11-18T11:38:05.264Z] b85a868b505f: Pull complete [2023-11-18T11:38:05.264Z] e2be974225ed: Pull complete [2023-11-18T11:38:05.831Z] 339a4e72a1f5: Pull complete [2023-11-18T11:38:05.831Z] 988bab9f4d93: Pull complete [2023-11-18T11:38:06.091Z] 1469e6f7b9e6: Pull complete [2023-11-18T11:38:06.091Z] eaf3925da568: Pull complete [2023-11-18T11:38:07.993Z] bab4dde63d76: Pull complete [2023-11-18T11:38:07.993Z] bde34c3a00c8: Pull complete [2023-11-18T11:38:07.993Z] b352a97aabf1: Pull complete [2023-11-18T11:38:07.993Z] 4872d77fe225: Pull complete [2023-11-18T11:38:07.993Z] 5851b861e8e6: Pull complete [2023-11-18T11:38:07.993Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-18T11:38:07.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-18T11:38:07.993Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T11:38:08.185Z] prd-ubuntu20.04-docker-8c-8g-178 does not seem to be running inside a container [2023-11-18T11:38:08.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-18T11:38:11.673Z] $ docker top 1d976e463a88be5bb24b857da2bea765cdf85e171d7c2b7118eb6b84183c728a -eo pid,comm [2023-11-18T11:38:11.721Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-18T11:38:11.721Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-18T11:38:11.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-18T11:38:11.810Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-18T11:38:11.925Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-18T11:38:11.934Z] $ docker exec 1d976e463a88be5bb24b857da2bea765cdf85e171d7c2b7118eb6b84183c728a ssh-agent [2023-11-18T11:38:12.031Z] SSH_AUTH_SOCK=/tmp/ssh-0kl1LORbJXFO/agent.34 [2023-11-18T11:38:12.031Z] SSH_AGENT_PID=40 [2023-11-18T11:38:12.037Z] Running ssh-add (command line suppressed) [2023-11-18T11:38:12.147Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_13250677919607086901.key (/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_13250677919607086901.key) [2023-11-18T11:38:12.156Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-18T11:38:12.466Z] + git tag --points-at HEAD [Pipeline] } [2023-11-18T11:38:12.484Z] $ docker exec --env ******** --env ******** 1d976e463a88be5bb24b857da2bea765cdf85e171d7c2b7118eb6b84183c728a ssh-agent -k [2023-11-18T11:38:12.587Z] unset SSH_AUTH_SOCK; [2023-11-18T11:38:12.588Z] unset SSH_AGENT_PID; [2023-11-18T11:38:12.588Z] echo Agent pid 40 killed; [2023-11-18T11:38:12.593Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-18T11:38:12.656Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-18T11:38:12.656Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-18T11:38:12.776Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-18T11:38:12.786Z] $ docker exec 1d976e463a88be5bb24b857da2bea765cdf85e171d7c2b7118eb6b84183c728a ssh-agent [2023-11-18T11:38:12.885Z] SSH_AUTH_SOCK=/tmp/ssh-w1AvcvMtZb7C/agent.72 [2023-11-18T11:38:12.885Z] SSH_AGENT_PID=78 [2023-11-18T11:38:12.891Z] Running ssh-add (command line suppressed) [2023-11-18T11:38:13.000Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_6532674527951263158.key (/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_6532674527951263158.key) [2023-11-18T11:38:13.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-18T11:38:13.318Z] + git semver init [2023-11-18T11:38:13.578Z] 2023-11-18 11:38:13,488 [run_init] DEBUG init version:0.0.0 force:False [2023-11-18T11:38:13.578Z] 2023-11-18 11:38:13,489 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver [2023-11-18T11:38:13.578Z] 2023-11-18 11:38:13,489 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver [2023-11-18T11:38:13.578Z] 2023-11-18 11:38:13,490 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541, universal_newlines=False, shell=None, istream=None) [2023-11-18T11:38:14.958Z] 2023-11-18 11:38:14,728 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.git/info/exclude [2023-11-18T11:38:14.958Z] 2023-11-18 11:38:14,729 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 with force:False [2023-11-18T11:38:14.958Z] 2023-11-18 11:38:14,729 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 [2023-11-18T11:38:14.958Z] 2023-11-18 11:38:14,733 [execute] INFO git cat-file --batch-check [2023-11-18T11:38:14.958Z] 2023-11-18 11:38:14,734 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver, universal_newlines=False, shell=None, istream=) [2023-11-18T11:38:14.958Z] 2023-11-18 11:38:14,739 [execute] INFO git cat-file --batch [2023-11-18T11:38:14.958Z] 2023-11-18 11:38:14,740 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver, universal_newlines=False, shell=None, istream=) [2023-11-18T11:38:14.958Z] 2023-11-18 11:38:14,745 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 [2023-11-18T11:38:14.958Z] 0.0.0 [Pipeline] } [2023-11-18T11:38:14.975Z] $ docker exec --env ******** --env ******** 1d976e463a88be5bb24b857da2bea765cdf85e171d7c2b7118eb6b84183c728a ssh-agent -k [2023-11-18T11:38:15.082Z] unset SSH_AUTH_SOCK; [2023-11-18T11:38:15.082Z] unset SSH_AGENT_PID; [2023-11-18T11:38:15.082Z] echo Agent pid 78 killed; [2023-11-18T11:38:15.086Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-18T11:38:15.465Z] + git semver [Pipeline] } [2023-11-18T11:38:15.742Z] $ docker stop --time=1 1d976e463a88be5bb24b857da2bea765cdf85e171d7c2b7118eb6b84183c728a [2023-11-18T11:38:17.010Z] $ docker rm -f --volumes 1d976e463a88be5bb24b857da2bea765cdf85e171d7c2b7118eb6b84183c728a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-18T11:38:17.376Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-18T11:38:17.609Z] Stashed 1 file(s) [Pipeline] echo [2023-11-18T11:38:17.612Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-18T11:38:17.988Z] provisioning config files... [2023-11-18T11:38:17.998Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config3156802525891466270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:38:18.321Z] ---> ****-login.sh [2023-11-18T11:38:18.321Z] nexus3.edgexfoundry.org:10001 [2023-11-18T11:38:18.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:38:18.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:38:18.321Z] Configure a credential helper to remove this warning. See [2023-11-18T11:38:18.321Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:38:18.321Z] [2023-11-18T11:38:18.321Z] Login Succeeded [2023-11-18T11:38:18.321Z] nexus3.edgexfoundry.org:10002 [2023-11-18T11:38:18.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:38:18.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:38:18.322Z] Configure a credential helper to remove this warning. See [2023-11-18T11:38:18.322Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:38:18.322Z] [2023-11-18T11:38:18.322Z] Login Succeeded [2023-11-18T11:38:18.322Z] nexus3.edgexfoundry.org:10003 [2023-11-18T11:38:18.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:38:18.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:38:18.581Z] Configure a credential helper to remove this warning. See [2023-11-18T11:38:18.581Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:38:18.581Z] [2023-11-18T11:38:18.581Z] Login Succeeded [2023-11-18T11:38:18.581Z] nexus3.edgexfoundry.org:10004 [2023-11-18T11:38:18.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:38:18.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:38:18.581Z] Configure a credential helper to remove this warning. See [2023-11-18T11:38:18.582Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:38:18.582Z] [2023-11-18T11:38:18.582Z] Login Succeeded [2023-11-18T11:38:18.582Z] ****.io [2023-11-18T11:38:18.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:38:18.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:38:18.842Z] Configure a credential helper to remove this warning. See [2023-11-18T11:38:18.842Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:38:18.842Z] [2023-11-18T11:38:18.842Z] Login Succeeded [2023-11-18T11:38:18.842Z] ---> ****-login.sh ends [Pipeline] } [2023-11-18T11:38:18.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-18T11:38:19.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-18T11:38:19.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-18T11:38:19.076Z] ========================================================= [2023-11-18T11:38:19.076Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-18T11:38:19.076Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:38:19.467Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-18T11:38:19.467Z] Sending build context to Docker daemon 21.94MB [2023-11-18T11:38:19.467Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-18T11:38:19.467Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-18T11:38:19.467Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-18T11:38:19.467Z] 7264a8db6415: Pulling fs layer [2023-11-18T11:38:19.467Z] c4d48a809fc2: Pulling fs layer [2023-11-18T11:38:19.467Z] 4f1c88b9dad5: Pulling fs layer [2023-11-18T11:38:19.467Z] ad3a456e5733: Pulling fs layer [2023-11-18T11:38:19.467Z] 69c7f0334f64: Pulling fs layer [2023-11-18T11:38:19.467Z] 1f1c1a5573a3: Pulling fs layer [2023-11-18T11:38:19.467Z] ce7588e14bc9: Pulling fs layer [2023-11-18T11:38:19.467Z] b5e4710f87ac: Pulling fs layer [2023-11-18T11:38:19.467Z] 69c7f0334f64: Waiting [2023-11-18T11:38:19.467Z] 1f1c1a5573a3: Waiting [2023-11-18T11:38:19.467Z] ce7588e14bc9: Waiting [2023-11-18T11:38:19.467Z] b5e4710f87ac: Waiting [2023-11-18T11:38:19.467Z] ad3a456e5733: Waiting [2023-11-18T11:38:19.725Z] c4d48a809fc2: Verifying Checksum [2023-11-18T11:38:19.726Z] c4d48a809fc2: Download complete [2023-11-18T11:38:19.726Z] ad3a456e5733: Verifying Checksum [2023-11-18T11:38:19.726Z] ad3a456e5733: Download complete [2023-11-18T11:38:19.726Z] 69c7f0334f64: Verifying Checksum [2023-11-18T11:38:19.726Z] 69c7f0334f64: Download complete [2023-11-18T11:38:19.726Z] 7264a8db6415: Verifying Checksum [2023-11-18T11:38:19.726Z] 7264a8db6415: Download complete [2023-11-18T11:38:19.726Z] 1f1c1a5573a3: Verifying Checksum [2023-11-18T11:38:19.726Z] 1f1c1a5573a3: Download complete [2023-11-18T11:38:19.984Z] 7264a8db6415: Pull complete [2023-11-18T11:38:19.984Z] b5e4710f87ac: Verifying Checksum [2023-11-18T11:38:19.984Z] b5e4710f87ac: Download complete [2023-11-18T11:38:19.984Z] c4d48a809fc2: Pull complete [2023-11-18T11:38:19.984Z] 4f1c88b9dad5: Download complete [2023-11-18T11:38:20.551Z] ce7588e14bc9: Verifying Checksum [2023-11-18T11:38:20.551Z] ce7588e14bc9: Download complete [2023-11-18T11:38:23.085Z] 4f1c88b9dad5: Pull complete [2023-11-18T11:38:23.085Z] ad3a456e5733: Pull complete [2023-11-18T11:38:23.085Z] 69c7f0334f64: Pull complete [2023-11-18T11:38:23.343Z] 1f1c1a5573a3: Pull complete [2023-11-18T11:38:25.876Z] ce7588e14bc9: Pull complete [2023-11-18T11:38:25.876Z] b5e4710f87ac: Pull complete [2023-11-18T11:38:25.876Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-18T11:38:25.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-18T11:38:25.876Z] ---> 88b5674ff536 [2023-11-18T11:38:25.876Z] Step 3/10 : ARG MAKE=make build [2023-11-18T11:38:31.151Z] ---> Running in 2d94bbbb20e6 [2023-11-18T11:38:31.151Z] Removing intermediate container 2d94bbbb20e6 [2023-11-18T11:38:31.151Z] ---> 5e16e99a1159 [2023-11-18T11:38:31.151Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-18T11:38:31.151Z] ---> Running in d9dd5f757687 [2023-11-18T11:38:31.410Z] Removing intermediate container d9dd5f757687 [2023-11-18T11:38:31.410Z] ---> 59eb8e11dd66 [2023-11-18T11:38:31.410Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-18T11:38:31.410Z] ---> Running in ada4a57ba116 [2023-11-18T11:38:31.410Z] Removing intermediate container ada4a57ba116 [2023-11-18T11:38:31.410Z] ---> 101e4686055e [2023-11-18T11:38:31.410Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-18T11:38:31.410Z] ---> Running in 9b57b9eca860 [2023-11-18T11:38:31.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-18T11:38:31.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-18T11:38:31.927Z] OK: 264 MiB in 52 packages [2023-11-18T11:38:32.185Z] Removing intermediate container 9b57b9eca860 [2023-11-18T11:38:32.185Z] ---> ef686548b226 [2023-11-18T11:38:32.185Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-18T11:38:32.444Z] ---> 376753714ef8 [2023-11-18T11:38:32.444Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-18T11:38:32.444Z] ---> Running in e699343124e2 [2023-11-18T11:38:32.900Z] Still waiting to schedule task [2023-11-18T11:38:32.900Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-177’ is offline [2023-11-18T11:39:19.123Z] Removing intermediate container e699343124e2 [2023-11-18T11:39:19.123Z] ---> 98fb64f18b2c [2023-11-18T11:39:19.123Z] Step 9/10 : COPY . . [2023-11-18T11:39:20.059Z] ---> 070276d7ea92 [2023-11-18T11:39:20.059Z] Step 10/10 : RUN ${MAKE} [2023-11-18T11:39:20.059Z] ---> Running in 6295118fea4c [2023-11-18T11:39:20.317Z] noop [2023-11-18T11:39:20.576Z] Removing intermediate container 6295118fea4c [2023-11-18T11:39:20.577Z] ---> 1abe73ab7be4 [2023-11-18T11:39:20.577Z] Successfully built 1abe73ab7be4 [2023-11-18T11:39:20.577Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:39:20.955Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-18T11:39:20.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T11:39:21.072Z] prd-ubuntu20.04-docker-8c-8g-178 does not seem to be running inside a container [2023-11-18T11:39:21.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-18T11:39:21.429Z] $ docker top 58e86ea77220a1cf31a0efe1461ccec5d58c9436775e988868cc8bcec539d015 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-18T11:39:21.805Z] + go version [2023-11-18T11:39:21.805Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-18T11:39:21.822Z] $ docker stop --time=1 58e86ea77220a1cf31a0efe1461ccec5d58c9436775e988868cc8bcec539d015 [2023-11-18T11:39:23.078Z] $ docker rm -f --volumes 58e86ea77220a1cf31a0efe1461ccec5d58c9436775e988868cc8bcec539d015 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:39:23.666Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-18T11:39:23.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T11:39:23.789Z] prd-ubuntu20.04-docker-8c-8g-178 does not seem to be running inside a container [2023-11-18T11:39:23.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-18T11:39:24.129Z] $ docker top d65a01d880a7e71d17c8daf1f3a105c3b90ce6501558d16f3c867b6539d5e09e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-18T11:39:24.504Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1541 [Pipeline] fileExists [Pipeline] sh [2023-11-18T11:39:24.821Z] + make test [2023-11-18T11:39:24.821Z] go test -race -coverprofile=coverage.out ./... [2023-11-18T11:39:31.386Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-18T11:39:46.256Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-18T11:39:46.256Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-18T11:39:46.256Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-18T11:39:46.256Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-18T11:39:46.256Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-18T11:39:46.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-18T11:39:46.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-18T11:39:47.391Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements [2023-11-18T11:39:47.650Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-18T11:39:47.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.046s coverage: 81.5% of statements [2023-11-18T11:39:47.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.063s coverage: 86.0% of statements [2023-11-18T11:39:49.026Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.079s coverage: 71.8% of statements [2023-11-18T11:39:49.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-18T11:39:49.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-18T11:39:49.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-18T11:39:52.315Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.048s coverage: 14.4% of statements [2023-11-18T11:39:52.315Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.872s coverage: 45.9% of statements [2023-11-18T11:39:52.315Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.097s coverage: 68.5% of statements [2023-11-18T11:39:52.315Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.100s coverage: 89.2% of statements [2023-11-18T11:39:52.315Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements [2023-11-18T11:40:08.061Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-179 in /w/workspace/gexfoundry_device-sdk-go_PR-1541 [Pipeline] { [Pipeline] ws [2023-11-18T11:40:08.093Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-11-18T11:40:10.392Z] GO111MODULE=on go vet ./... [2023-11-18T11:40:11.166Z] The recommended git tool is: git [2023-11-18T11:40:12.292Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-18T11:40:12.292Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-18T11:40:12.292Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-18T11:40:12.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-18T11:40:12.349Z] $ docker stop --time=1 d65a01d880a7e71d17c8daf1f3a105c3b90ce6501558d16f3c867b6539d5e09e [2023-11-18T11:40:15.911Z] using credential edgex-jenkins-ssh [2023-11-18T11:40:15.932Z] Cloning the remote Git repository [2023-11-18T11:40:15.974Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-18T11:40:16.925Z] $ docker rm -f --volumes d65a01d880a7e71d17c8daf1f3a105c3b90ce6501558d16f3c867b6539d5e09e [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-18T11:40:16.083Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-11-18T11:40:16.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-18T11:40:16.215Z] > git --version # timeout=10 [2023-11-18T11:40:16.235Z] > git --version # 'git version 2.25.1' [2023-11-18T11:40:16.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-18T11:40:16.378Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-18T11:40:17.480Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-18T11:40:17.571Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-18T11:40:18.208Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-18T11:40:18.491Z] + ls -al . [2023-11-18T11:40:18.491Z] total 308 [2023-11-18T11:40:18.491Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 18 11:39 . [2023-11-18T11:40:18.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 11:37 .. [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 18 11:37 .dockerignore [2023-11-18T11:40:18.491Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 11:39 .git [2023-11-18T11:40:18.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 11:37 .github [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 18 11:37 .gitignore [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 18 11:37 .golangci.yml [2023-11-18T11:40:18.491Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 18 11:38 .semver [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 18 11:37 CHANGELOG.md [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 18 11:37 GOVERNANCE.md [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 18 11:37 Jenkinsfile [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 18 11:37 LICENSE [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 18 11:37 Makefile [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 18 11:37 OWNERS.md [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 18 11:37 README.md [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 11:38 VERSION [2023-11-18T11:40:18.491Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 11:37 bin [2023-11-18T11:40:18.491Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 18 11:39 coverage.out [2023-11-18T11:40:18.491Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 18 11:37 example [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 18 11:37 go.mod [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 18 11:37 go.sum [2023-11-18T11:40:18.491Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 18 11:37 internal [2023-11-18T11:40:18.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 11:37 openapi [2023-11-18T11:40:18.491Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 18 11:37 pkg [2023-11-18T11:40:18.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 11:37 snap [2023-11-18T11:40:18.491Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 18 11:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:40:18.845Z] + 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=6f7ac53e21a07f5410e0313d1020217b42fefd27 --label arch=amd64 --label version=0.0.0 . [2023-11-18T11:40:18.845Z] Sending build context to Docker daemon 22.07MB [2023-11-18T11:40:18.845Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-18T11:40:18.845Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-18T11:40:18.845Z] ---> 1abe73ab7be4 [2023-11-18T11:40:18.845Z] Step 3/23 : ARG MAKE=make build [2023-11-18T11:40:19.412Z] ---> Running in afb0b6f3d0a6 [2023-11-18T11:40:19.412Z] Removing intermediate container afb0b6f3d0a6 [2023-11-18T11:40:19.412Z] ---> 649c8232accd [2023-11-18T11:40:19.412Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-18T11:40:19.412Z] ---> Running in aaa753080c43 [2023-11-18T11:40:19.412Z] Removing intermediate container aaa753080c43 [2023-11-18T11:40:19.412Z] ---> 0e5d1fce201a [2023-11-18T11:40:19.412Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-18T11:40:19.412Z] ---> Running in 2bbd5d239086 [2023-11-18T11:40:19.671Z] Removing intermediate container 2bbd5d239086 [2023-11-18T11:40:19.671Z] ---> 9d64450eaa11 [2023-11-18T11:40:19.671Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-18T11:40:19.671Z] ---> Running in e56ae773e399 [2023-11-18T11:40:19.742Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-18T11:40:19.775Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-18T11:40:19.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-18T11:40:19.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-18T11:40:20.198Z] OK: 264 MiB in 52 packages [2023-11-18T11:40:20.764Z] Removing intermediate container e56ae773e399 [2023-11-18T11:40:20.764Z] ---> fb987cabe3b8 [2023-11-18T11:40:20.764Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-18T11:40:20.764Z] ---> 2a7986f72dc7 [2023-11-18T11:40:20.764Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-18T11:40:20.764Z] ---> Running in 3a5cedc8aeac [2023-11-18T11:40:20.583Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-18T11:40:20.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-18T11:40:20.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-18T11:40:20.640Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1541/head:refs/remotes/origin/PR-1541 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-18T11:40:21.291Z] Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit 6f7ac53e21a07f5410e0313d1020217b42fefd27 [2023-11-18T11:40:21.330Z] Removing intermediate container 3a5cedc8aeac [2023-11-18T11:40:21.330Z] ---> 8690b68739ff [2023-11-18T11:40:21.330Z] Step 9/23 : COPY . . [2023-11-18T11:40:21.599Z] Merge succeeded, producing 6f7ac53e21a07f5410e0313d1020217b42fefd27 [2023-11-18T11:40:21.599Z] Checking out Revision 6f7ac53e21a07f5410e0313d1020217b42fefd27 (PR-1541) [2023-11-18T11:40:22.705Z] ---> d51d06a4f10d [2023-11-18T11:40:22.705Z] Step 10/23 : RUN ${MAKE} [2023-11-18T11:40:22.705Z] ---> Running in 1636b16038d4 [2023-11-18T11:40:21.307Z] > git config core.sparsecheckout # timeout=10 [2023-11-18T11:40:21.391Z] > git checkout -f 6f7ac53e21a07f5410e0313d1020217b42fefd27 # timeout=10 [2023-11-18T11:40:21.502Z] > git remote # timeout=10 [2023-11-18T11:40:21.530Z] > git config --get remote.origin.url # timeout=10 [2023-11-18T11:40:21.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-18T11:40:21.560Z] > git merge 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 [2023-11-18T11:40:21.584Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-18T11:40:21.607Z] > git config core.sparsecheckout # timeout=10 [2023-11-18T11:40:21.619Z] > git checkout -f 6f7ac53e21a07f5410e0313d1020217b42fefd27 # timeout=10 [2023-11-18T11:40:22.963Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-18T11:40:25.158Z] Commit message: "refactor: change v2 to v3 in InitRestRoutes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-18T11:40:26.342Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-18T11:40:26.342Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-18T11:40:26.342Z] Dload Upload Total Spent Left Speed [2023-11-18T11:40:26.342Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh [2023-11-18T11:40:26.672Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-18T11:40:26.996Z] + sudo tee /etc/docker/daemon.new [2023-11-18T11:40:26.996Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-18T11:40:26.996Z] { [2023-11-18T11:40:26.996Z] "registry-mirrors": [ [2023-11-18T11:40:26.996Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-18T11:40:26.996Z] ], [2023-11-18T11:40:26.996Z] "bip": "10.250.0.254/24", [2023-11-18T11:40:26.996Z] "hosts": [ [2023-11-18T11:40:26.996Z] "tcp://0.0.0.0:5555", [2023-11-18T11:40:26.996Z] "unix:///var/run/docker.sock" [2023-11-18T11:40:26.996Z] ], [2023-11-18T11:40:26.996Z] "mtu": 1458, [2023-11-18T11:40:26.996Z] "selinux-enabled": true, [2023-11-18T11:40:26.996Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-18T11:40:26.996Z] } [Pipeline] sh [2023-11-18T11:40:27.323Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-18T11:40:27.650Z] + sudo service docker restart [2023-11-18T11:40:45.079Z] Removing intermediate container 1636b16038d4 [2023-11-18T11:40:45.080Z] ---> 3804efdcbae3 [2023-11-18T11:40:45.080Z] Step 11/23 : FROM alpine:3.18 [2023-11-18T11:40:45.080Z] 3.18: Pulling from library/alpine [2023-11-18T11:40:45.080Z] 96526aa774ef: Pulling fs layer [2023-11-18T11:40:45.080Z] 96526aa774ef: Verifying Checksum [2023-11-18T11:40:45.080Z] 96526aa774ef: Download complete [2023-11-18T11:40:45.080Z] 96526aa774ef: Pull complete [2023-11-18T11:40:45.080Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-18T11:40:45.080Z] Status: Downloaded newer image for alpine:3.18 [2023-11-18T11:40:45.080Z] ---> 8ca4688f4f35 [2023-11-18T11:40:45.080Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-18T11:40:45.080Z] ---> Running in f11fb46f96b7 [2023-11-18T11:40:45.080Z] Removing intermediate container f11fb46f96b7 [2023-11-18T11:40:45.080Z] ---> 3c174e349fcf [2023-11-18T11:40:45.080Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-18T11:40:45.080Z] ---> Running in d00c27c3e9da [2023-11-18T11:40:45.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-18T11:40:45.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-18T11:40:45.858Z] OK: 7 MiB in 15 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-18T11:40:45.928Z] provisioning config files... [2023-11-18T11:40:45.956Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3437020233383500287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:40:46.122Z] Removing intermediate container d00c27c3e9da [2023-11-18T11:40:46.122Z] ---> d59ae20c81e0 [2023-11-18T11:40:46.122Z] Step 14/23 : WORKDIR / [2023-11-18T11:40:46.122Z] ---> Running in 3004ac053f28 [2023-11-18T11:40:46.122Z] Removing intermediate container 3004ac053f28 [2023-11-18T11:40:46.122Z] ---> 3d1e528e0bbe [2023-11-18T11:40:46.122Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-18T11:40:46.382Z] ---> 24a6dbb83af5 [2023-11-18T11:40:46.382Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-18T11:40:46.400Z] ---> ****-login.sh [2023-11-18T11:40:46.400Z] nexus3.edgexfoundry.org:10001 [2023-11-18T11:40:46.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:40:46.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:40:46.956Z] Configure a credential helper to remove this warning. See [2023-11-18T11:40:46.957Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:40:46.957Z] [2023-11-18T11:40:46.957Z] Login Succeeded [2023-11-18T11:40:46.957Z] nexus3.edgexfoundry.org:10002 [2023-11-18T11:40:47.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:40:47.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:40:47.232Z] Configure a credential helper to remove this warning. See [2023-11-18T11:40:47.232Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:40:47.232Z] [2023-11-18T11:40:47.232Z] Login Succeeded [2023-11-18T11:40:47.232Z] nexus3.edgexfoundry.org:10003 [2023-11-18T11:40:47.319Z] ---> 810b6bee94d7 [2023-11-18T11:40:47.319Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-18T11:40:47.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:40:47.577Z] ---> b098a8dcb13c [2023-11-18T11:40:47.577Z] Step 18/23 : EXPOSE 59999 [2023-11-18T11:40:47.577Z] ---> Running in c640c8542dad [2023-11-18T11:40:47.577Z] Removing intermediate container c640c8542dad [2023-11-18T11:40:47.577Z] ---> 4461a2bdf2f7 [2023-11-18T11:40:47.577Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-18T11:40:47.577Z] ---> Running in 61618d11efbf [2023-11-18T11:40:47.577Z] Removing intermediate container 61618d11efbf [2023-11-18T11:40:47.577Z] ---> 829c1cf98a6d [2023-11-18T11:40:47.577Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-18T11:40:47.577Z] ---> Running in 9d5380132511 [2023-11-18T11:40:47.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:40:47.769Z] Configure a credential helper to remove this warning. See [2023-11-18T11:40:47.769Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:40:47.769Z] [2023-11-18T11:40:47.769Z] Login Succeeded [2023-11-18T11:40:47.769Z] nexus3.edgexfoundry.org:10004 [2023-11-18T11:40:47.837Z] Removing intermediate container 9d5380132511 [2023-11-18T11:40:47.837Z] ---> 295f6096f43a [2023-11-18T11:40:47.837Z] Step 21/23 : LABEL arch=amd64 [2023-11-18T11:40:47.837Z] ---> Running in 7dce9503cfac [2023-11-18T11:40:47.837Z] Removing intermediate container 7dce9503cfac [2023-11-18T11:40:47.837Z] ---> 88ac37332169 [2023-11-18T11:40:47.837Z] Step 22/23 : LABEL git_sha=6f7ac53e21a07f5410e0313d1020217b42fefd27 [2023-11-18T11:40:47.837Z] ---> Running in c70cc8c572be [2023-11-18T11:40:47.837Z] Removing intermediate container c70cc8c572be [2023-11-18T11:40:47.837Z] ---> 297a8ac79311 [2023-11-18T11:40:47.837Z] Step 23/23 : LABEL version=0.0.0 [2023-11-18T11:40:47.837Z] ---> Running in a6bd365e27ef [2023-11-18T11:40:48.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-18T11:40:48.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:40:48.036Z] Configure a credential helper to remove this warning. See [2023-11-18T11:40:48.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:40:48.036Z] [2023-11-18T11:40:48.036Z] Login Succeeded [2023-11-18T11:40:48.036Z] ****.io [2023-11-18T11:40:48.096Z] Removing intermediate container a6bd365e27ef [2023-11-18T11:40:48.097Z] ---> 8a8e16cc3117 [2023-11-18T11:40:48.097Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-18T11:40:48.097Z] Successfully built 8a8e16cc3117 [2023-11-18T11:40:48.097Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2023-11-18T11:40:48.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:40:48.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-18T11:40:48.856Z] [2023-11-18T11:40:48.856Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-11-18T11:40:48.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-18T11:40:48.897Z] Configure a credential helper to remove this warning. See [2023-11-18T11:40:48.897Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-18T11:40:48.897Z] [2023-11-18T11:40:48.897Z] Login Succeeded [2023-11-18T11:40:48.897Z] ---> ****-login.sh ends [Pipeline] } [2023-11-18T11:40:48.915Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-11-18T11:40:49.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-18T11:40:49.229Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-18T11:40:49.229Z] 5eb5b503b376: Pulling fs layer [2023-11-18T11:40:49.229Z] 5c69ac0246d0: Pulling fs layer [2023-11-18T11:40:49.229Z] ec43610c2a17: Pulling fs layer [2023-11-18T11:40:49.229Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-18T11:40:49.229Z] 33b1e0a273af: Pulling fs layer [2023-11-18T11:40:49.229Z] 5d3b04190fa2: Pulling fs layer [2023-11-18T11:40:49.229Z] 2f39f015ded8: Pulling fs layer [2023-11-18T11:40:49.229Z] 33b1e0a273af: Waiting [2023-11-18T11:40:49.229Z] 2f39f015ded8: Waiting [2023-11-18T11:40:49.229Z] 5d3b04190fa2: Waiting [2023-11-18T11:40:49.229Z] 3a2ae6a8a46f: Waiting [2023-11-18T11:40:49.229Z] 5c69ac0246d0: Download complete [2023-11-18T11:40:49.229Z] 3a2ae6a8a46f: Download complete [2023-11-18T11:40:49.229Z] 33b1e0a273af: Verifying Checksum [2023-11-18T11:40:49.229Z] 33b1e0a273af: Download complete [2023-11-18T11:40:49.229Z] 5d3b04190fa2: Download complete [2023-11-18T11:40:49.229Z] ec43610c2a17: Verifying Checksum [2023-11-18T11:40:49.229Z] ec43610c2a17: Download complete [Pipeline] echo [2023-11-18T11:40:49.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-18T11:40:49.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-18T11:40:49.408Z] ========================================================= [2023-11-18T11:40:49.408Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-18T11:40:49.408Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2023-11-18T11:40:49.489Z] 5eb5b503b376: Download complete [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:40:49.872Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-18T11:40:50.055Z] 2f39f015ded8: Verifying Checksum [2023-11-18T11:40:50.055Z] 2f39f015ded8: Download complete [2023-11-18T11:40:50.139Z] Sending build context to Docker daemon 11.38MB [2023-11-18T11:40:50.409Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-18T11:40:50.409Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-18T11:40:50.409Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-18T11:40:50.409Z] 9fda8d8052c6: Pulling fs layer [2023-11-18T11:40:50.409Z] 5d54e960e981: Pulling fs layer [2023-11-18T11:40:50.409Z] c4a7e357bf2a: Pulling fs layer [2023-11-18T11:40:50.409Z] f0e02332f6b5: Pulling fs layer [2023-11-18T11:40:50.409Z] 872ee5b61b7b: Pulling fs layer [2023-11-18T11:40:50.409Z] 0c6a40ed1a82: Pulling fs layer [2023-11-18T11:40:50.409Z] 94ae7d8d031c: Pulling fs layer [2023-11-18T11:40:50.409Z] f0e02332f6b5: Waiting [2023-11-18T11:40:50.409Z] 0c6a40ed1a82: Waiting [2023-11-18T11:40:50.409Z] 872ee5b61b7b: Waiting [2023-11-18T11:40:50.409Z] 94ae7d8d031c: Waiting [2023-11-18T11:40:50.409Z] 5d54e960e981: Verifying Checksum [2023-11-18T11:40:50.409Z] 5d54e960e981: Download complete [2023-11-18T11:40:50.409Z] f0e02332f6b5: Verifying Checksum [2023-11-18T11:40:50.409Z] f0e02332f6b5: Download complete [2023-11-18T11:40:50.623Z] 5eb5b503b376: Pull complete [2023-11-18T11:40:50.623Z] 5c69ac0246d0: Pull complete [2023-11-18T11:40:50.678Z] 872ee5b61b7b: Download complete [2023-11-18T11:40:50.678Z] 9fda8d8052c6: Verifying Checksum [2023-11-18T11:40:50.678Z] 9fda8d8052c6: Download complete [2023-11-18T11:40:50.953Z] 94ae7d8d031c: Verifying Checksum [2023-11-18T11:40:50.953Z] 94ae7d8d031c: Download complete [2023-11-18T11:40:51.188Z] ec43610c2a17: Pull complete [2023-11-18T11:40:51.188Z] 3a2ae6a8a46f: Pull complete [2023-11-18T11:40:51.446Z] 33b1e0a273af: Pull complete [2023-11-18T11:40:51.446Z] 5d3b04190fa2: Pull complete [2023-11-18T11:40:51.546Z] 9fda8d8052c6: Pull complete [2023-11-18T11:40:51.815Z] 5d54e960e981: Pull complete [2023-11-18T11:40:52.086Z] c4a7e357bf2a: Download complete [2023-11-18T11:40:53.497Z] 0c6a40ed1a82: Verifying Checksum [2023-11-18T11:40:53.497Z] 0c6a40ed1a82: Download complete [2023-11-18T11:40:55.794Z] 2f39f015ded8: Pull complete [2023-11-18T11:40:55.794Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-18T11:40:55.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-18T11:40:55.794Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T11:40:55.986Z] prd-ubuntu20.04-docker-8c-8g-178 does not seem to be running inside a container [2023-11-18T11:40:56.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-18T11:41:02.072Z] $ docker top 6292e170029f06e85c555e122d5946304c51fa3011e90a3c97cb053804ecc518 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:41:02.506Z] ---> job-cost.sh [2023-11-18T11:41:02.506Z] lf-activate-venv: SKIPPING [2023-11-18T11:41:02.506Z] INFO: No Stack... [2023-11-18T11:41:02.764Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-18T11:41:03.024Z] INFO: Archiving Costs [Pipeline] sh [2023-11-18T11:41:03.317Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/cost.csv [2023-11-18T11:41:03.317Z] + cut -d, -f6 [Pipeline] lock [2023-11-18T11:41:03.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1541-4-stack-cost] [2023-11-18T11:41:03.337Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-4-stack-cost] did not exist. Created. [2023-11-18T11:41:03.337Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1541-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-18T11:41:03.698Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-18T11:41:03.767Z] Stashed 1 file(s) [Pipeline] } [2023-11-18T11:41:03.773Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-18T11:41:03.861Z] $ docker stop --time=1 6292e170029f06e85c555e122d5946304c51fa3011e90a3c97cb053804ecc518 [2023-11-18T11:41:05.271Z] $ docker rm -f --volumes 6292e170029f06e85c555e122d5946304c51fa3011e90a3c97cb053804ecc518 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-18T11:41:05.825Z] c4a7e357bf2a: Pull complete [2023-11-18T11:41:05.826Z] f0e02332f6b5: Pull complete [2023-11-18T11:41:05.826Z] 872ee5b61b7b: Pull complete [2023-11-18T11:41:14.029Z] 0c6a40ed1a82: Pull complete [2023-11-18T11:41:15.981Z] 94ae7d8d031c: Pull complete [2023-11-18T11:41:15.981Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-18T11:41:15.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-18T11:41:15.981Z] ---> 86de565de09d [2023-11-18T11:41:15.981Z] Step 3/10 : ARG MAKE=make build [2023-11-18T11:41:17.930Z] ---> Running in cce37fbbfd63 [2023-11-18T11:41:17.930Z] Removing intermediate container cce37fbbfd63 [2023-11-18T11:41:17.930Z] ---> 34796460c60d [2023-11-18T11:41:17.930Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-18T11:41:17.931Z] ---> Running in b19f366dbfa1 [2023-11-18T11:41:18.199Z] Removing intermediate container b19f366dbfa1 [2023-11-18T11:41:18.199Z] ---> 6c90946517b6 [2023-11-18T11:41:18.199Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-18T11:41:18.199Z] ---> Running in 11b2daa6c3fd [2023-11-18T11:41:18.784Z] Removing intermediate container 11b2daa6c3fd [2023-11-18T11:41:18.784Z] ---> 227690a8a8a4 [2023-11-18T11:41:18.784Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-18T11:41:18.784Z] ---> Running in 85de092e5f51 [2023-11-18T11:41:19.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-18T11:41:20.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-18T11:41:21.299Z] OK: 266 MiB in 52 packages [2023-11-18T11:41:21.886Z] Removing intermediate container 85de092e5f51 [2023-11-18T11:41:21.886Z] ---> cb092e75a465 [2023-11-18T11:41:21.886Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-18T11:41:22.474Z] ---> beac0e90aa63 [2023-11-18T11:41:22.474Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-18T11:41:22.474Z] ---> Running in 4728007b2e35 [2023-11-18T11:42:44.105Z] Removing intermediate container 4728007b2e35 [2023-11-18T11:42:44.105Z] ---> a4088c1d35b0 [2023-11-18T11:42:44.105Z] Step 9/10 : COPY . . [2023-11-18T11:42:44.105Z] ---> c861d57d41f9 [2023-11-18T11:42:44.105Z] Step 10/10 : RUN ${MAKE} [2023-11-18T11:42:44.373Z] ---> Running in 9631024c9a71 [2023-11-18T11:42:45.344Z] noop [2023-11-18T11:42:45.930Z] Removing intermediate container 9631024c9a71 [2023-11-18T11:42:45.930Z] ---> ea4d033d29a9 [2023-11-18T11:42:45.930Z] Successfully built ea4d033d29a9 [2023-11-18T11:42:45.930Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:42:46.378Z] + docker inspect -f . ci-base-image-arm64 [2023-11-18T11:42:46.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T11:42:46.652Z] prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container [2023-11-18T11:42:46.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-18T11:42:47.920Z] $ docker top e0a7edaeadcc521b75c9c039ba73f3ce3ffb37fb1f60a291b0878638866163c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-18T11:42:48.797Z] + go version [2023-11-18T11:42:48.797Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-18T11:42:48.830Z] $ docker stop --time=1 e0a7edaeadcc521b75c9c039ba73f3ce3ffb37fb1f60a291b0878638866163c7 [2023-11-18T11:42:50.465Z] $ docker rm -f --volumes e0a7edaeadcc521b75c9c039ba73f3ce3ffb37fb1f60a291b0878638866163c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:42:51.282Z] + docker inspect -f . ci-base-image-arm64 [2023-11-18T11:42:51.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T11:42:51.540Z] prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container [2023-11-18T11:42:51.621Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-18T11:42:56.571Z] $ docker top c983ee8e3c83a90f62461f3f413268006c8781ccd0c81a4bdd0b09f8649d8727 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-18T11:42:57.143Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-11-18T11:42:57.827Z] + make test [2023-11-18T11:42:57.827Z] go test -race -coverprofile=coverage.out ./... [2023-11-18T11:43:30.058Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-18T11:45:06.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-18T11:45:06.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-18T11:45:06.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-18T11:45:06.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-18T11:45:06.687Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-18T11:45:13.336Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.247s coverage: 27.6% of statements [2023-11-18T11:45:23.419Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.246s coverage: 81.5% of statements [2023-11-18T11:45:31.613Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-18T11:45:31.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-18T11:45:32.195Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.308s coverage: 86.0% of statements [2023-11-18T11:45:36.460Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-18T11:45:37.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.451s coverage: 71.8% of statements [2023-11-18T11:45:41.348Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.256s coverage: 14.4% of statements [2023-11-18T11:45:41.348Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.667s coverage: 45.9% of statements [2023-11-18T11:45:41.348Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-18T11:45:41.348Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-18T11:45:42.797Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.400s coverage: 68.5% of statements [2023-11-18T11:45:45.387Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.412s coverage: 89.2% of statements [2023-11-18T11:45:45.971Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-18T11:45:47.373Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.220s coverage: 5.5% of statements [2023-11-18T11:45:47.954Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-18T11:45:47.954Z] GO111MODULE=on go vet ./... [2023-11-18T11:47:24.582Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-18T11:47:24.582Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-18T11:47:24.582Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-18T11:47:24.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-18T11:47:24.664Z] $ docker stop --time=1 c983ee8e3c83a90f62461f3f413268006c8781ccd0c81a4bdd0b09f8649d8727 [2023-11-18T11:47:26.516Z] $ docker rm -f --volumes c983ee8e3c83a90f62461f3f413268006c8781ccd0c81a4bdd0b09f8649d8727 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-18T11:47:28.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-18T11:47:28.177Z] Warning: overwriting stash ‘coverage-report’ [2023-11-18T11:47:28.716Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-18T11:47:29.312Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-18T11:47:29.620Z] + ls -al . [2023-11-18T11:47:29.620Z] total 304 [2023-11-18T11:47:29.620Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 18 11:43 . [2023-11-18T11:47:29.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 11:40 .. [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 18 11:40 .dockerignore [2023-11-18T11:47:29.620Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 11:40 .git [2023-11-18T11:47:29.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 11:40 .github [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 18 11:40 .gitignore [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 18 11:40 .golangci.yml [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 18 11:40 CHANGELOG.md [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 18 11:40 GOVERNANCE.md [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 18 11:40 Jenkinsfile [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 18 11:40 LICENSE [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 18 11:40 Makefile [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 18 11:40 OWNERS.md [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 18 11:40 README.md [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 11:38 VERSION [2023-11-18T11:47:29.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 11:40 bin [2023-11-18T11:47:29.620Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 18 11:45 coverage.out [2023-11-18T11:47:29.620Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 18 11:40 example [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 18 11:40 go.mod [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 18 11:40 go.sum [2023-11-18T11:47:29.620Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 18 11:40 internal [2023-11-18T11:47:29.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 11:40 openapi [2023-11-18T11:47:29.620Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 18 11:40 pkg [2023-11-18T11:47:29.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 11:40 snap [2023-11-18T11:47:29.620Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 18 11:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:47:30.014Z] + 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=6f7ac53e21a07f5410e0313d1020217b42fefd27 --label arch=arm64 --label version=0.0.0 . [2023-11-18T11:47:30.610Z] Sending build context to Docker daemon 11.5MB [2023-11-18T11:47:30.610Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-18T11:47:30.610Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-18T11:47:30.610Z] ---> ea4d033d29a9 [2023-11-18T11:47:30.610Z] Step 3/23 : ARG MAKE=make build [2023-11-18T11:47:30.610Z] ---> Running in 02b36f028734 [2023-11-18T11:47:31.189Z] Removing intermediate container 02b36f028734 [2023-11-18T11:47:31.189Z] ---> a2c01c057aef [2023-11-18T11:47:31.189Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-18T11:47:31.189Z] ---> Running in 2f040f9e7d12 [2023-11-18T11:47:31.456Z] Removing intermediate container 2f040f9e7d12 [2023-11-18T11:47:31.456Z] ---> ac86e1ad06e9 [2023-11-18T11:47:31.456Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-18T11:47:31.457Z] ---> Running in 2107b4cad4bd [2023-11-18T11:47:31.735Z] Removing intermediate container 2107b4cad4bd [2023-11-18T11:47:31.735Z] ---> 2fbb97adf061 [2023-11-18T11:47:31.735Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-18T11:47:31.735Z] ---> Running in 95bd440ff2ac [2023-11-18T11:47:33.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-18T11:47:33.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-18T11:47:34.557Z] OK: 266 MiB in 52 packages [2023-11-18T11:47:35.149Z] Removing intermediate container 95bd440ff2ac [2023-11-18T11:47:35.149Z] ---> be76d3dc9647 [2023-11-18T11:47:35.149Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-18T11:47:37.088Z] ---> 348ab29ab7bb [2023-11-18T11:47:37.088Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-18T11:47:37.088Z] ---> Running in db01063f83aa [2023-11-18T11:47:39.036Z] Removing intermediate container db01063f83aa [2023-11-18T11:47:39.036Z] ---> 3419f22e8b4b [2023-11-18T11:47:39.036Z] Step 9/23 : COPY . . [2023-11-18T11:47:40.445Z] ---> 6efff6ba2216 [2023-11-18T11:47:40.445Z] Step 10/23 : RUN ${MAKE} [2023-11-18T11:47:40.445Z] ---> Running in c4fc9262d81c [2023-11-18T11:47:41.400Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-18T11:49:33.022Z] Removing intermediate container c4fc9262d81c [2023-11-18T11:49:33.022Z] ---> bbe35543ca2b [2023-11-18T11:49:33.022Z] Step 11/23 : FROM alpine:3.18 [2023-11-18T11:49:33.022Z] 3.18: Pulling from library/alpine [2023-11-18T11:49:33.022Z] 579b34f0a95b: Pulling fs layer [2023-11-18T11:49:33.022Z] 579b34f0a95b: Pull complete [2023-11-18T11:49:33.022Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-18T11:49:33.022Z] Status: Downloaded newer image for alpine:3.18 [2023-11-18T11:49:33.022Z] ---> 3cc203321400 [2023-11-18T11:49:33.022Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-18T11:49:33.022Z] ---> Running in dcfcabe69e9f [2023-11-18T11:49:33.022Z] Removing intermediate container dcfcabe69e9f [2023-11-18T11:49:33.022Z] ---> 4599921dbb74 [2023-11-18T11:49:33.022Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-18T11:49:33.022Z] ---> Running in 9c2c0d544b31 [2023-11-18T11:49:33.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-18T11:49:33.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-18T11:49:33.022Z] OK: 8 MiB in 15 packages [2023-11-18T11:49:33.022Z] Removing intermediate container 9c2c0d544b31 [2023-11-18T11:49:33.022Z] ---> 1a19ab6fb41f [2023-11-18T11:49:33.022Z] Step 14/23 : WORKDIR / [2023-11-18T11:49:33.022Z] ---> Running in 1ff7db0cbf4a [2023-11-18T11:49:33.022Z] Removing intermediate container 1ff7db0cbf4a [2023-11-18T11:49:33.022Z] ---> 079a48de40d2 [2023-11-18T11:49:33.022Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-18T11:49:33.022Z] ---> 1c1a7746ac87 [2023-11-18T11:49:33.022Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-18T11:49:33.022Z] ---> 67e2b3048370 [2023-11-18T11:49:33.022Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-18T11:49:33.022Z] ---> 09e4ccbb0ba5 [2023-11-18T11:49:33.022Z] Step 18/23 : EXPOSE 59999 [2023-11-18T11:49:33.022Z] ---> Running in 3cf0f300bb6a [2023-11-18T11:49:33.022Z] Removing intermediate container 3cf0f300bb6a [2023-11-18T11:49:33.022Z] ---> 49bebe32cc42 [2023-11-18T11:49:33.022Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-18T11:49:33.022Z] ---> Running in 02e1a5bb4fc1 [2023-11-18T11:49:33.022Z] Removing intermediate container 02e1a5bb4fc1 [2023-11-18T11:49:33.022Z] ---> 3a8cc3d3a748 [2023-11-18T11:49:33.022Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-18T11:49:33.022Z] ---> Running in 063eb9b0d0b8 [2023-11-18T11:49:33.022Z] Removing intermediate container 063eb9b0d0b8 [2023-11-18T11:49:33.022Z] ---> 9f360de4c83a [2023-11-18T11:49:33.022Z] Step 21/23 : LABEL arch=arm64 [2023-11-18T11:49:33.022Z] ---> Running in 7219a3c14ae9 [2023-11-18T11:49:33.022Z] Removing intermediate container 7219a3c14ae9 [2023-11-18T11:49:33.022Z] ---> 30a4271e62e1 [2023-11-18T11:49:33.022Z] Step 22/23 : LABEL git_sha=6f7ac53e21a07f5410e0313d1020217b42fefd27 [2023-11-18T11:49:33.022Z] ---> Running in 1bddb33d0713 [2023-11-18T11:49:33.022Z] Removing intermediate container 1bddb33d0713 [2023-11-18T11:49:33.022Z] ---> a85d3c27b455 [2023-11-18T11:49:33.022Z] Step 23/23 : LABEL version=0.0.0 [2023-11-18T11:49:33.022Z] ---> Running in 7147315c4213 [2023-11-18T11:49:33.287Z] Removing intermediate container 7147315c4213 [2023-11-18T11:49:33.287Z] ---> 0dc3f185d2f6 [2023-11-18T11:49:33.287Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-18T11:49:33.287Z] Successfully built 0dc3f185d2f6 [2023-11-18T11:49:33.287Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:49:34.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-18T11:49:34.102Z] [2023-11-18T11:49:34.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:49:34.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-18T11:49:34.466Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-18T11:49:34.466Z] 8998bd30e6a1: Pulling fs layer [2023-11-18T11:49:34.466Z] 04944245beec: Pulling fs layer [2023-11-18T11:49:34.466Z] 699f458cf7ca: Pulling fs layer [2023-11-18T11:49:34.466Z] 765212b225bb: Pulling fs layer [2023-11-18T11:49:34.466Z] f23df028b6ca: Pulling fs layer [2023-11-18T11:49:34.466Z] d65c8cfc05b1: Pulling fs layer [2023-11-18T11:49:34.466Z] 2437ff75d9bd: Pulling fs layer [2023-11-18T11:49:34.466Z] f23df028b6ca: Waiting [2023-11-18T11:49:34.466Z] d65c8cfc05b1: Waiting [2023-11-18T11:49:34.466Z] 765212b225bb: Waiting [2023-11-18T11:49:34.466Z] 2437ff75d9bd: Waiting [2023-11-18T11:49:34.733Z] 04944245beec: Verifying Checksum [2023-11-18T11:49:34.733Z] 04944245beec: Download complete [2023-11-18T11:49:34.733Z] 765212b225bb: Verifying Checksum [2023-11-18T11:49:34.733Z] 765212b225bb: Download complete [2023-11-18T11:49:34.733Z] f23df028b6ca: Verifying Checksum [2023-11-18T11:49:34.733Z] f23df028b6ca: Download complete [2023-11-18T11:49:34.733Z] d65c8cfc05b1: Verifying Checksum [2023-11-18T11:49:34.733Z] d65c8cfc05b1: Download complete [2023-11-18T11:49:34.733Z] 699f458cf7ca: Download complete [2023-11-18T11:49:35.314Z] 8998bd30e6a1: Verifying Checksum [2023-11-18T11:49:35.314Z] 8998bd30e6a1: Download complete [2023-11-18T11:49:37.898Z] 2437ff75d9bd: Verifying Checksum [2023-11-18T11:49:37.898Z] 2437ff75d9bd: Download complete [2023-11-18T11:49:39.849Z] 8998bd30e6a1: Pull complete [2023-11-18T11:49:41.786Z] 04944245beec: Pull complete [2023-11-18T11:49:43.187Z] 699f458cf7ca: Pull complete [2023-11-18T11:49:43.187Z] 765212b225bb: Pull complete [2023-11-18T11:49:44.140Z] f23df028b6ca: Pull complete [2023-11-18T11:49:44.140Z] d65c8cfc05b1: Pull complete [2023-11-18T11:50:02.333Z] 2437ff75d9bd: Pull complete [2023-11-18T11:50:02.333Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-18T11:50:02.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-18T11:50:02.333Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T11:50:02.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container [2023-11-18T11:50:02.741Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-18T11:50:05.348Z] $ docker top a0be621f34cc1c53ef94f8f1d434d85241d9db5e4a7dbeef80b222841175dc9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:50:06.233Z] ---> job-cost.sh [2023-11-18T11:50:06.233Z] lf-activate-venv: SKIPPING [2023-11-18T11:50:06.233Z] INFO: No Stack... [2023-11-18T11:50:06.813Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-18T11:50:07.397Z] INFO: Archiving Costs [Pipeline] sh [2023-11-18T11:50:08.028Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-11-18T11:50:08.028Z] + cut -d, -f6 [Pipeline] lock [2023-11-18T11:50:08.088Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1541-4-stack-cost] [2023-11-18T11:50:08.102Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-4-stack-cost] did not exist. Created. [2023-11-18T11:50:08.102Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1541-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-18T11:50:08.840Z] /w/workspace/device-sdk-go/4@tmp/durable-6d4caf6f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-18T11:50:09.493Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-18T11:50:09.557Z] Warning: overwriting stash ‘stack-cost’ [2023-11-18T11:50:09.635Z] Stashed 1 file(s) [Pipeline] } [2023-11-18T11:50:09.640Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-18T11:50:09.749Z] $ docker stop --time=1 a0be621f34cc1c53ef94f8f1d434d85241d9db5e4a7dbeef80b222841175dc9d [2023-11-18T11:50:11.280Z] $ docker rm -f --volumes a0be621f34cc1c53ef94f8f1d434d85241d9db5e4a7dbeef80b222841175dc9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-18T11:50:12.469Z] provisioning config files... [2023-11-18T11:50:12.475Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config13012197155853872649tmp [Pipeline] { [Pipeline] sh [2023-11-18T11:50:12.833Z] + set +x [2023-11-18T11:50:12.833Z] + curl -s https://codecov.io/bash [2023-11-18T11:50:12.833Z] + bash -s -- [2023-11-18T11:50:12.833Z] [2023-11-18T11:50:12.833Z] _____ _ [2023-11-18T11:50:12.833Z] / ____| | | [2023-11-18T11:50:12.833Z] | | ___ __| | ___ ___ _____ __ [2023-11-18T11:50:12.833Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-18T11:50:12.833Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-18T11:50:12.833Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-18T11:50:12.833Z] Bash-1.0.6 [2023-11-18T11:50:12.833Z] [2023-11-18T11:50:12.833Z] [2023-11-18T11:50:12.833Z] ==> git version 2.25.1 found [2023-11-18T11:50:12.833Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-18T11:50:12.833Z] Release-Date: 2020-01-08 [2023-11-18T11:50:12.833Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-18T11:50:12.833Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-18T11:50:12.833Z] ==> Jenkins CI detected. [2023-11-18T11:50:12.833Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1541 [2023-11-18T11:50:12.833Z] project root: . [2023-11-18T11:50:12.833Z] --> token set from env [2023-11-18T11:50:12.833Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-18T11:50:13.092Z] ==> Running gcov in . (disable via -X gcov) [2023-11-18T11:50:13.092Z] ==> Python coveragepy not found [2023-11-18T11:50:13.092Z] ==> Searching for coverage reports in: [2023-11-18T11:50:13.092Z] + . [2023-11-18T11:50:13.092Z] -> Found 1 reports [2023-11-18T11:50:13.092Z] ==> Detecting git/mercurial file structure [2023-11-18T11:50:13.092Z] ==> Reading reports [2023-11-18T11:50:13.092Z] + ./coverage.out bytes=122153 [2023-11-18T11:50:13.092Z] ==> Appending adjustments [2023-11-18T11:50:13.092Z] https://docs.codecov.io/docs/fixing-reports [2023-11-18T11:50:13.351Z] + Found adjustments [2023-11-18T11:50:13.351Z] ==> Gzipping contents [2023-11-18T11:50:13.351Z] 20K /tmp/codecov.ICLSC8.gz [2023-11-18T11:50:13.351Z] ==> Uploading reports [2023-11-18T11:50:13.351Z] url: https://codecov.io [2023-11-18T11:50:13.351Z] query: branch=PR-1541&commit=6f7ac53e21a07f5410e0313d1020217b42fefd27&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1541%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1541&job=&cmd_args= [2023-11-18T11:50:13.351Z] -> Pinging Codecov [2023-11-18T11:50:13.351Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1541&commit=6f7ac53e21a07f5410e0313d1020217b42fefd27&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1541%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1541&job=&cmd_args= [2023-11-18T11:50:13.351Z] -> Uploading to [2023-11-18T11:50:13.351Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-18/7E55EF52A471D76F132DFD9A03CDDE97/6f7ac53e21a07f5410e0313d1020217b42fefd27/18ec76b9-38a4-4e25-ae44-15f327c7c651.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231118T115013Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=46c22fc1c3ee983d7670f93bb58db1bab13744f2e9b8d57284f66d56dcc3fdab [2023-11-18T11:50:13.610Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-18T11:50:13.610Z] Dload Upload Total Spent Left Speed [2023-11-18T11:50:13.869Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 45632 --:--:-- --:--:-- --:--:-- 45632 [2023-11-18T11:50:13.869Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6f7ac53e21a07f5410e0313d1020217b42fefd27 [Pipeline] } [2023-11-18T11:50:13.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-18T11:50:15.767Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives ] [2023-11-18T11:50:15.767Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives [2023-11-18T11:50:15.767Z] total 16 [2023-11-18T11:50:15.767Z] drwxr-xr-x 3 root root 4096 Nov 18 11:41 . [2023-11-18T11:50:15.767Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 18 11:41 .. [2023-11-18T11:50:15.767Z] drwxr-xr-x 2 root root 4096 Nov 18 11:41 cost [2023-11-18T11:50:15.767Z] -rw-r--r-- 1 root root 86 Nov 18 11:41 cost.csv [2023-11-18T11:50:15.767Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives [2023-11-18T11:50:15.767Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives [2023-11-18T11:50:15.767Z] total 16 [2023-11-18T11:50:15.767Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 18 11:41 . [2023-11-18T11:50:15.767Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 18 11:41 .. [2023-11-18T11:50:15.767Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 18 11:41 cost [2023-11-18T11:50:15.767Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 18 11:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:50:16.057Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:50:16.916Z] ---> package-listing.sh [2023-11-18T11:50:16.916Z] ++ facter osfamily [2023-11-18T11:50:16.916Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-18T11:50:17.176Z] + OS_FAMILY=debian [2023-11-18T11:50:17.176Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1541 [2023-11-18T11:50:17.176Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-18T11:50:17.176Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-18T11:50:17.176Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-18T11:50:17.176Z] + PACKAGES=/tmp/packages_start.txt [2023-11-18T11:50:17.176Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1541 ']' [2023-11-18T11:50:17.176Z] + PACKAGES=/tmp/packages_end.txt [2023-11-18T11:50:17.176Z] + case "${OS_FAMILY}" in [2023-11-18T11:50:17.176Z] + dpkg -l [2023-11-18T11:50:17.176Z] + grep '^ii' [2023-11-18T11:50:17.176Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-18T11:50:17.176Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-18T11:50:17.176Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-18T11:50:17.176Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1541 ']' [2023-11-18T11:50:17.176Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/ [2023-11-18T11:50:17.176Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/ [Pipeline] echo [2023-11-18T11:50:17.186Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1541/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-18T11:50:17.463Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-18T11:50:18.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-18T11:50:18.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-18T11:50:18.217Z] prd-ubuntu20.04-docker-8c-8g-178 does not seem to be running inside a container [2023-11-18T11:50:18.252Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1541/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-18T11:50:18.451Z] $ docker top 63d312555ec244b81f555482d6431ca69cc929269f0a273a6451fdfe7783adc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-18T11:50:18.876Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-18T11:50:19.161Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-18T11:50:19.446Z] + ls /var/log/sa-host [2023-11-18T11:50:19.447Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-18T11:50:19.633Z] provisioning config files... [2023-11-18T11:50:19.642Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config4441330911946811950tmp [Pipeline] { [Pipeline] echo [2023-11-18T11:50:19.729Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:50:20.012Z] ---> create-netrc.sh [Pipeline] } [2023-11-18T11:50:20.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:50:20.433Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-18T11:50:20.441Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:50:20.725Z] ---> sudo-logs.sh [2023-11-18T11:50:20.725Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-18T11:50:20.789Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:50:21.072Z] ---> job-cost.sh [2023-11-18T11:50:21.073Z] lf-activate-venv: SKIPPING [2023-11-18T11:50:21.073Z] DEBUG: total: 0.2199999988079071 [2023-11-18T11:50:21.073Z] INFO: Retrieving Stack Cost... [2023-11-18T11:50:21.642Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-18T11:50:21.902Z] INFO: Archiving Costs [Pipeline] echo [2023-11-18T11:50:21.912Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-18T11:50:22.193Z] ---> logs-deploy.sh [2023-11-18T11:50:22.193Z] lf-activate-venv: SKIPPING [2023-11-18T11:50:22.193Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1541/4 [2023-11-18T11:50:22.193Z] INFO: archiving workspace using pattern(s): [2023-11-18T11:50:23.129Z] Archives upload complete. [2023-11-18T11:50:23.129Z] INFO: archiving logs to Nexus