Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb251068f9fa6c1dd9087c1fad3447c821049b0a+083c381ac4cc923d13d653dabf1097f47e3433f3 (915cd12f0a173e5eb27a1fd00f70b0c93607926b) 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-ssh16991800791346048687.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh6090243199114514769.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 f3350a1713306dce7682ed7e37d5774890d03277 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-1619/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-1619/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8181386043405754496.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh15686569965791727763.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-1619/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-1619/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4999934440102813400.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9307 in /w/workspace/gexfoundry_device-sdk-go_PR-1619 [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-1619 # 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 Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit fb251068f9fa6c1dd9087c1fad3447c821049b0a Merge succeeded, producing 22428966f402b749a425abcc784f88dab434ed73 Checking out Revision 22428966f402b749a425abcc784f88dab434ed73 (PR-1619) > 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/1619/head:refs/remotes/origin/PR-1619 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb251068f9fa6c1dd9087c1fad3447c821049b0a # 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 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22428966f402b749a425abcc784f88dab434ed73 # timeout=10 Commit message: "Merge commit '083c381ac4cc923d13d653dabf1097f47e3433f3' into HEAD" > git rev-list --no-walk fb251068f9fa6c1dd9087c1fad3447c821049b0a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-03T18:41:48.095Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-03T18:41:48.189Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-03T18:41:48.214Z] ========================================================= [2024-09-03T18:41:48.214Z] EdgeX Global Pipelines Version Info [2024-09-03T18:41:48.214Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-03T18:41:48.970Z] ------------------- [2024-09-03T18:41:48.971Z] stable info: [2024-09-03T18:41:48.971Z] ------------------- [2024-09-03T18:41:48.971Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-03T18:41:48.971Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-03T18:41:48.971Z] Message: update stable to v1.0.263 [2024-09-03T18:41:49.542Z] ------------------- [2024-09-03T18:41:49.542Z] experimental info: [2024-09-03T18:41:49.542Z] ------------------- [2024-09-03T18:41:49.542Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-03T18:41:49.542Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-03T18:41:49.542Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-03T18:41:49.636Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-09-03T18:41:49.660Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-09-03T18:41:49.681Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-03T18:41:49.701Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-03T18:41:49.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-03T18:41:49.736Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-03T18:41:49.752Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-03T18:41:49.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-09-03T18:41:49.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-03T18:41:49.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-03T18:41:49.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-03T18:41:49.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-09-03T18:41:49.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-03T18:41:49.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-03T18:41:49.951Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-03T18:41:49.974Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-03T18:41:49.997Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-03T18:41:50.019Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-03T18:41:50.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-03T18:41:50.071Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-03T18:41:50.097Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-09-03T18:41:50.124Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-09-03T18:41:50.148Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-03T18:41:50.171Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-03T18:41:50.195Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-03T18:41:50.218Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-03T18:41:50.242Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-03T18:41:50.267Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1619 [Pipeline] echo [2024-09-03T18:41:50.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1619 [Pipeline] echo [2024-09-03T18:41:50.314Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1619 [Pipeline] echo [2024-09-03T18:41:50.343Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22428966f402b749a425abcc784f88dab434ed73 [Pipeline] echo [2024-09-03T18:41:50.369Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2242896 [Pipeline] echo [2024-09-03T18:41:50.391Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T18:41:50.465Z] provisioning config files... [2024-09-03T18:41:50.480Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/config18063179673292759852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T18:41:50.824Z] ---> ****-login.sh [2024-09-03T18:41:50.824Z] nexus3.edgexfoundry.org:10001 [2024-09-03T18:41:50.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:41:51.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:41:51.086Z] Configure a credential helper to remove this warning. See [2024-09-03T18:41:51.086Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:41:51.086Z] [2024-09-03T18:41:51.086Z] Login Succeeded [2024-09-03T18:41:51.086Z] nexus3.edgexfoundry.org:10002 [2024-09-03T18:41:51.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:41:51.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:41:51.349Z] Configure a credential helper to remove this warning. See [2024-09-03T18:41:51.349Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:41:51.349Z] [2024-09-03T18:41:51.349Z] Login Succeeded [2024-09-03T18:41:51.349Z] nexus3.edgexfoundry.org:10003 [2024-09-03T18:41:51.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:41:51.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:41:51.349Z] Configure a credential helper to remove this warning. See [2024-09-03T18:41:51.349Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:41:51.349Z] [2024-09-03T18:41:51.349Z] Login Succeeded [2024-09-03T18:41:51.349Z] nexus3.edgexfoundry.org:10004 [2024-09-03T18:41:51.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:41:51.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:41:51.611Z] Configure a credential helper to remove this warning. See [2024-09-03T18:41:51.611Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:41:51.611Z] [2024-09-03T18:41:51.611Z] Login Succeeded [2024-09-03T18:41:51.611Z] ****.io [2024-09-03T18:41:51.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:41:51.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:41:51.872Z] Configure a credential helper to remove this warning. See [2024-09-03T18:41:51.872Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:41:51.872Z] [2024-09-03T18:41:51.872Z] Login Succeeded [2024-09-03T18:41:51.872Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T18:41:51.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-03T18:41:52.274Z] + git rev-list -1 --merges 22428966f402b749a425abcc784f88dab434ed73~1..22428966f402b749a425abcc784f88dab434ed73 [Pipeline] echo [2024-09-03T18:41:52.300Z] -----------> git rev-list -1 --merges 22428966f402b749a425abcc784f88dab434ed73~1..22428966f402b749a425abcc784f88dab434ed73 22428966f402b749a425abcc784f88dab434ed73 [2024-09-03T18:41:52.300Z] 22428966f402b749a425abcc784f88dab434ed73 [false] [Pipeline] sh [2024-09-03T18:41:52.596Z] + git log --format=format:%s -1 22428966f402b749a425abcc784f88dab434ed73 [Pipeline] echo [2024-09-03T18:41:52.616Z] ========================================================= [2024-09-03T18:41:52.616Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-03T18:41:52.616Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T18:41:52.957Z] + git log --format=format:%s -1 22428966f402b749a425abcc784f88dab434ed73 [Pipeline] echo [2024-09-03T18:41:52.972Z] [semverPrep] GIT_COMMIT: 22428966f402b749a425abcc784f88dab434ed73, Commit Message: Merge commit '083c381ac4cc923d13d653dabf1097f47e3433f3' into HEAD [Pipeline] echo [2024-09-03T18:41:52.987Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-03T18:41:53.380Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-03T18:41:53.380Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-03T18:41:53.380Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-03T18:41:53.380Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-03T18:41:53.380Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-03T18:41:53.380Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-03T18:41:53.380Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:41:53.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T18:41:53.798Z] [2024-09-03T18:41:53.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:41:54.110Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T18:41:54.110Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-03T18:41:54.110Z] b85a868b505f: Pulling fs layer [2024-09-03T18:41:54.110Z] e2be974225ed: Pulling fs layer [2024-09-03T18:41:54.110Z] 339a4e72a1f5: Pulling fs layer [2024-09-03T18:41:54.110Z] 988bab9f4d93: Pulling fs layer [2024-09-03T18:41:54.110Z] 1469e6f7b9e6: Pulling fs layer [2024-09-03T18:41:54.110Z] eaf3925da568: Pulling fs layer [2024-09-03T18:41:54.110Z] bab4dde63d76: Pulling fs layer [2024-09-03T18:41:54.110Z] bde34c3a00c8: Pulling fs layer [2024-09-03T18:41:54.110Z] b352a97aabf1: Pulling fs layer [2024-09-03T18:41:54.111Z] 4872d77fe225: Pulling fs layer [2024-09-03T18:41:54.111Z] 5851b861e8e6: Pulling fs layer [2024-09-03T18:41:54.111Z] 988bab9f4d93: Waiting [2024-09-03T18:41:54.111Z] eaf3925da568: Waiting [2024-09-03T18:41:54.111Z] bab4dde63d76: Waiting [2024-09-03T18:41:54.111Z] 1469e6f7b9e6: Waiting [2024-09-03T18:41:54.111Z] 4872d77fe225: Waiting [2024-09-03T18:41:54.111Z] b352a97aabf1: Waiting [2024-09-03T18:41:54.111Z] 5851b861e8e6: Waiting [2024-09-03T18:41:54.111Z] bde34c3a00c8: Waiting [2024-09-03T18:41:54.111Z] e2be974225ed: Download complete [2024-09-03T18:41:54.111Z] 988bab9f4d93: Verifying Checksum [2024-09-03T18:41:54.111Z] 988bab9f4d93: Download complete [2024-09-03T18:41:54.111Z] 1469e6f7b9e6: Verifying Checksum [2024-09-03T18:41:54.111Z] 1469e6f7b9e6: Download complete [2024-09-03T18:41:54.370Z] 339a4e72a1f5: Verifying Checksum [2024-09-03T18:41:54.370Z] eaf3925da568: Verifying Checksum [2024-09-03T18:41:54.370Z] 339a4e72a1f5: Download complete [2024-09-03T18:41:54.370Z] eaf3925da568: Download complete [2024-09-03T18:41:54.370Z] bde34c3a00c8: Verifying Checksum [2024-09-03T18:41:54.370Z] bde34c3a00c8: Download complete [2024-09-03T18:41:54.370Z] b352a97aabf1: Download complete [2024-09-03T18:41:54.370Z] 4872d77fe225: Verifying Checksum [2024-09-03T18:41:54.370Z] 4872d77fe225: Download complete [2024-09-03T18:41:54.370Z] 5851b861e8e6: Download complete [2024-09-03T18:41:54.370Z] b85a868b505f: Verifying Checksum [2024-09-03T18:41:54.370Z] b85a868b505f: Download complete [2024-09-03T18:41:54.629Z] bab4dde63d76: Verifying Checksum [2024-09-03T18:41:54.629Z] bab4dde63d76: Download complete [2024-09-03T18:41:55.565Z] b85a868b505f: Pull complete [2024-09-03T18:41:55.824Z] e2be974225ed: Pull complete [2024-09-03T18:41:56.395Z] 339a4e72a1f5: Pull complete [2024-09-03T18:41:56.395Z] 988bab9f4d93: Pull complete [2024-09-03T18:41:56.654Z] 1469e6f7b9e6: Pull complete [2024-09-03T18:41:56.913Z] eaf3925da568: Pull complete [2024-09-03T18:41:58.819Z] bab4dde63d76: Pull complete [2024-09-03T18:41:58.819Z] bde34c3a00c8: Pull complete [2024-09-03T18:41:58.819Z] b352a97aabf1: Pull complete [2024-09-03T18:41:58.819Z] 4872d77fe225: Pull complete [2024-09-03T18:41:58.819Z] 5851b861e8e6: Pull complete [2024-09-03T18:41:59.079Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-03T18:41:59.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T18:41:59.079Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T18:41:59.229Z] prd-ubuntu20.04-docker-8c-8g-9307 does not seem to be running inside a container [2024-09-03T18:41:59.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1619 -v /w/workspace/gexfoundry_device-sdk-go_PR-1619:/w/workspace/gexfoundry_device-sdk-go_PR-1619:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-03T18:42:02.116Z] $ docker top d15f4c07ab9ac32189f12c1d2fb1ff71e099498934c9cca094d5cc72368e0d8f -eo pid,comm [2024-09-03T18:42:02.182Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-09-03T18:42:02.182Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-03T18:42:02.247Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-03T18:42:02.248Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-03T18:42:02.379Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-03T18:42:02.379Z] $ docker exec d15f4c07ab9ac32189f12c1d2fb1ff71e099498934c9cca094d5cc72368e0d8f ssh-agent [2024-09-03T18:42:02.501Z] SSH_AUTH_SOCK=/tmp/ssh-jS1u9mUNKkqE/agent.33 [2024-09-03T18:42:02.501Z] SSH_AGENT_PID=39 [2024-09-03T18:42:02.510Z] Running ssh-add (command line suppressed) [2024-09-03T18:42:02.614Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/private_key_15674348167072949817.key (/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/private_key_15674348167072949817.key) [2024-09-03T18:42:02.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-03T18:42:02.934Z] + git tag --points-at HEAD [Pipeline] } [2024-09-03T18:42:02.944Z] $ docker exec --env ******** --env ******** d15f4c07ab9ac32189f12c1d2fb1ff71e099498934c9cca094d5cc72368e0d8f ssh-agent -k [2024-09-03T18:42:03.042Z] unset SSH_AUTH_SOCK; [2024-09-03T18:42:03.042Z] unset SSH_AGENT_PID; [2024-09-03T18:42:03.042Z] echo Agent pid 39 killed; [2024-09-03T18:42:03.056Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-03T18:42:03.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-03T18:42:03.103Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-03T18:42:03.216Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-03T18:42:03.215Z] $ docker exec d15f4c07ab9ac32189f12c1d2fb1ff71e099498934c9cca094d5cc72368e0d8f ssh-agent [2024-09-03T18:42:03.313Z] SSH_AUTH_SOCK=/tmp/ssh-Jzs8TG6xHGGi/agent.73 [2024-09-03T18:42:03.313Z] SSH_AGENT_PID=79 [2024-09-03T18:42:03.318Z] Running ssh-add (command line suppressed) [2024-09-03T18:42:03.421Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/private_key_14295348125211960129.key (/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/private_key_14295348125211960129.key) [2024-09-03T18:42:03.447Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-03T18:42:03.751Z] + git semver init [2024-09-03T18:42:04.011Z] 2024-09-03 18:42:03,954 [run_init] DEBUG init version:0.0.0 force:False [2024-09-03T18:42:04.011Z] 2024-09-03 18:42:03,956 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver [2024-09-03T18:42:04.011Z] 2024-09-03 18:42:03,956 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver [2024-09-03T18:42:04.011Z] 2024-09-03 18:42:03,957 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1619, universal_newlines=False, shell=None, istream=None) [2024-09-03T18:42:06.582Z] 2024-09-03 18:42:06,025 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619/.git/info/exclude [2024-09-03T18:42:06.582Z] 2024-09-03 18:42:06,025 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver/PR-1619 with force:False [2024-09-03T18:42:06.582Z] 2024-09-03 18:42:06,025 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver/PR-1619 [2024-09-03T18:42:06.582Z] 2024-09-03 18:42:06,028 [execute] INFO git cat-file --batch-check [2024-09-03T18:42:06.582Z] 2024-09-03 18:42:06,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver, universal_newlines=False, shell=None, istream=) [2024-09-03T18:42:06.582Z] 2024-09-03 18:42:06,035 [execute] INFO git cat-file --batch [2024-09-03T18:42:06.582Z] 2024-09-03 18:42:06,035 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver, universal_newlines=False, shell=None, istream=) [2024-09-03T18:42:06.582Z] 2024-09-03 18:42:06,039 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver/PR-1619 [2024-09-03T18:42:06.582Z] 0.0.0 [Pipeline] } [2024-09-03T18:42:06.591Z] $ docker exec --env ******** --env ******** d15f4c07ab9ac32189f12c1d2fb1ff71e099498934c9cca094d5cc72368e0d8f ssh-agent -k [2024-09-03T18:42:06.692Z] unset SSH_AUTH_SOCK; [2024-09-03T18:42:06.692Z] unset SSH_AGENT_PID; [2024-09-03T18:42:06.692Z] echo Agent pid 79 killed; [2024-09-03T18:42:06.709Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-03T18:42:07.045Z] + git semver [Pipeline] } [2024-09-03T18:42:07.316Z] $ docker stop --time=1 d15f4c07ab9ac32189f12c1d2fb1ff71e099498934c9cca094d5cc72368e0d8f [2024-09-03T18:42:08.667Z] $ docker rm -f --volumes d15f4c07ab9ac32189f12c1d2fb1ff71e099498934c9cca094d5cc72368e0d8f [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T18:42:09.016Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-03T18:42:09.266Z] Stashed 1 file(s) [Pipeline] echo [2024-09-03T18:42:09.271Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T18:42:09.494Z] provisioning config files... [2024-09-03T18:42:09.504Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/config16672242224763811167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T18:42:09.810Z] ---> ****-login.sh [2024-09-03T18:42:09.810Z] nexus3.edgexfoundry.org:10001 [2024-09-03T18:42:09.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:42:09.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:42:09.810Z] Configure a credential helper to remove this warning. See [2024-09-03T18:42:09.810Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:42:09.810Z] [2024-09-03T18:42:09.810Z] Login Succeeded [2024-09-03T18:42:09.810Z] nexus3.edgexfoundry.org:10002 [2024-09-03T18:42:09.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:42:09.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:42:09.810Z] Configure a credential helper to remove this warning. See [2024-09-03T18:42:09.810Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:42:09.810Z] [2024-09-03T18:42:09.810Z] Login Succeeded [2024-09-03T18:42:09.810Z] nexus3.edgexfoundry.org:10003 [2024-09-03T18:42:10.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:42:10.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:42:10.071Z] Configure a credential helper to remove this warning. See [2024-09-03T18:42:10.071Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:42:10.071Z] [2024-09-03T18:42:10.071Z] Login Succeeded [2024-09-03T18:42:10.071Z] nexus3.edgexfoundry.org:10004 [2024-09-03T18:42:10.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:42:10.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:42:10.071Z] Configure a credential helper to remove this warning. See [2024-09-03T18:42:10.071Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:42:10.071Z] [2024-09-03T18:42:10.071Z] Login Succeeded [2024-09-03T18:42:10.071Z] ****.io [2024-09-03T18:42:10.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:42:10.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:42:10.332Z] Configure a credential helper to remove this warning. See [2024-09-03T18:42:10.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:42:10.332Z] [2024-09-03T18:42:10.332Z] Login Succeeded [2024-09-03T18:42:10.332Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T18:42:10.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-03T18:42:10.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T18:42:10.464Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T18:42:10.485Z] ========================================================= [2024-09-03T18:42:10.485Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-03T18:42:10.485Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:42:10.850Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-03T18:42:10.850Z] Sending build context to Docker daemon 25.35MB [2024-09-03T18:42:10.850Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T18:42:10.850Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-03T18:42:10.850Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-03T18:42:10.850Z] 619be1103602: Pulling fs layer [2024-09-03T18:42:10.850Z] 7862e08f4a3e: Pulling fs layer [2024-09-03T18:42:10.850Z] 5df492c9dc93: Pulling fs layer [2024-09-03T18:42:10.850Z] 7629e6793208: Pulling fs layer [2024-09-03T18:42:10.850Z] 4f4fb700ef54: Pulling fs layer [2024-09-03T18:42:10.850Z] fb5054dd5b73: Pulling fs layer [2024-09-03T18:42:10.850Z] eeca6798cff9: Pulling fs layer [2024-09-03T18:42:10.850Z] aa269ceb94a6: Pulling fs layer [2024-09-03T18:42:10.850Z] ada007ff1a6a: Pulling fs layer [2024-09-03T18:42:10.850Z] 7629e6793208: Waiting [2024-09-03T18:42:10.850Z] 4f4fb700ef54: Waiting [2024-09-03T18:42:10.850Z] fb5054dd5b73: Waiting [2024-09-03T18:42:10.850Z] eeca6798cff9: Waiting [2024-09-03T18:42:10.850Z] aa269ceb94a6: Waiting [2024-09-03T18:42:10.850Z] ada007ff1a6a: Waiting [2024-09-03T18:42:11.110Z] 7862e08f4a3e: Download complete [2024-09-03T18:42:11.110Z] 7629e6793208: Verifying Checksum [2024-09-03T18:42:11.110Z] 7629e6793208: Download complete [2024-09-03T18:42:11.110Z] 4f4fb700ef54: Verifying Checksum [2024-09-03T18:42:11.110Z] 4f4fb700ef54: Download complete [2024-09-03T18:42:11.110Z] 619be1103602: Verifying Checksum [2024-09-03T18:42:11.110Z] 619be1103602: Download complete [2024-09-03T18:42:11.110Z] fb5054dd5b73: Verifying Checksum [2024-09-03T18:42:11.110Z] fb5054dd5b73: Download complete [2024-09-03T18:42:11.110Z] eeca6798cff9: Verifying Checksum [2024-09-03T18:42:11.110Z] eeca6798cff9: Download complete [2024-09-03T18:42:11.110Z] 619be1103602: Pull complete [2024-09-03T18:42:11.370Z] ada007ff1a6a: Verifying Checksum [2024-09-03T18:42:11.370Z] ada007ff1a6a: Download complete [2024-09-03T18:42:11.370Z] 7862e08f4a3e: Pull complete [2024-09-03T18:42:11.370Z] 5df492c9dc93: Verifying Checksum [2024-09-03T18:42:11.370Z] 5df492c9dc93: Download complete [2024-09-03T18:42:11.937Z] aa269ceb94a6: Verifying Checksum [2024-09-03T18:42:11.937Z] aa269ceb94a6: Download complete [2024-09-03T18:42:15.221Z] 5df492c9dc93: Pull complete [2024-09-03T18:42:15.221Z] 7629e6793208: Pull complete [2024-09-03T18:42:15.221Z] 4f4fb700ef54: Pull complete [2024-09-03T18:42:15.221Z] fb5054dd5b73: Pull complete [2024-09-03T18:42:15.221Z] eeca6798cff9: Pull complete [2024-09-03T18:42:17.768Z] aa269ceb94a6: Pull complete [2024-09-03T18:42:18.028Z] ada007ff1a6a: Pull complete [2024-09-03T18:42:18.028Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-03T18:42:18.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-03T18:42:18.028Z] ---> f489d0715acc [2024-09-03T18:42:18.028Z] Step 3/10 : ARG MAKE=make build [2024-09-03T18:42:23.377Z] ---> Running in 7675873c1132 [2024-09-03T18:42:23.377Z] Removing intermediate container 7675873c1132 [2024-09-03T18:42:23.377Z] ---> 441d1bd5b778 [2024-09-03T18:42:23.377Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-03T18:42:23.377Z] ---> Running in 3fb3ae077534 [2024-09-03T18:42:23.377Z] Removing intermediate container 3fb3ae077534 [2024-09-03T18:42:23.377Z] ---> 0d6e3bd16e60 [2024-09-03T18:42:23.377Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T18:42:23.377Z] ---> Running in 68b2b5e1de3d [2024-09-03T18:42:23.377Z] Removing intermediate container 68b2b5e1de3d [2024-09-03T18:42:23.377Z] ---> 2e58250e8b3b [2024-09-03T18:42:23.377Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-03T18:42:23.377Z] ---> Running in c28161c41219 [2024-09-03T18:42:23.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T18:42:23.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T18:42:23.644Z] OK: 264 MiB in 52 packages [2024-09-03T18:42:23.904Z] Removing intermediate container c28161c41219 [2024-09-03T18:42:23.905Z] ---> 30d315ed1f97 [2024-09-03T18:42:23.905Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-03T18:42:23.905Z] ---> 7a0ced8d1a84 [2024-09-03T18:42:23.905Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T18:42:23.905Z] ---> Running in 0c39b0c0c1c2 [2024-09-03T18:42:24.422Z] Still waiting to schedule task [2024-09-03T18:42:24.423Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-03T18:43:20.325Z] Removing intermediate container 0c39b0c0c1c2 [2024-09-03T18:43:20.326Z] ---> f4e37eec564c [2024-09-03T18:43:20.326Z] Step 9/10 : COPY . . [2024-09-03T18:43:20.326Z] ---> 566aa1fc55fc [2024-09-03T18:43:20.326Z] Step 10/10 : RUN ${MAKE} [2024-09-03T18:43:20.326Z] ---> Running in aeabb4cee951 [2024-09-03T18:43:20.326Z] noop [2024-09-03T18:43:20.326Z] Removing intermediate container aeabb4cee951 [2024-09-03T18:43:20.326Z] ---> a6921a995982 [2024-09-03T18:43:20.326Z] Successfully built a6921a995982 [2024-09-03T18:43:20.326Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:43:20.671Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-03T18:43:20.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T18:43:20.760Z] prd-ubuntu20.04-docker-8c-8g-9307 does not seem to be running inside a container [2024-09-03T18:43:20.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1619 -v /w/workspace/gexfoundry_device-sdk-go_PR-1619:/w/workspace/gexfoundry_device-sdk-go_PR-1619:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1619@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 ******** ci-base-image-x86_64 cat [2024-09-03T18:43:21.167Z] $ docker top d11ccb2a43bb50015c4b2ce43d370163c533833299c449441f691d748ccb971a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T18:43:21.528Z] + go version [2024-09-03T18:43:21.528Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-03T18:43:21.535Z] $ docker stop --time=1 d11ccb2a43bb50015c4b2ce43d370163c533833299c449441f691d748ccb971a [2024-09-03T18:43:22.803Z] $ docker rm -f --volumes d11ccb2a43bb50015c4b2ce43d370163c533833299c449441f691d748ccb971a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:43:23.252Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-03T18:43:23.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T18:43:23.352Z] prd-ubuntu20.04-docker-8c-8g-9307 does not seem to be running inside a container [2024-09-03T18:43:23.374Z] $ 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-1619 -v /w/workspace/gexfoundry_device-sdk-go_PR-1619:/w/workspace/gexfoundry_device-sdk-go_PR-1619:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1619@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 ******** ci-base-image-x86_64 cat [2024-09-03T18:43:23.733Z] $ docker top 910fcea8ac0f4c3cddd0a6806f72237474bcae357788868f3a88213c993663d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T18:43:24.096Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1619 [Pipeline] fileExists [Pipeline] sh [2024-09-03T18:43:24.400Z] + make test [2024-09-03T18:43:24.400Z] go test -race -coverprofile=coverage.out ./... [2024-09-03T18:43:32.519Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-03T18:44:05.420Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9308 in /w/workspace/gexfoundry_device-sdk-go_PR-1619 [Pipeline] { [Pipeline] ws [2024-09-03T18:44:05.437Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-09-03T18:44:05.485Z] The recommended git tool is: git [2024-09-03T18:44:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-03T18:44:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-03T18:44:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-03T18:44:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-03T18:44:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-03T18:44:11.253Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.041s coverage: 26.0% of statements [2024-09-03T18:44:11.253Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.168s coverage: 79.4% of statements [2024-09-03T18:44:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-03T18:44:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-03T18:44:11.253Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.051s coverage: 86.0% of statements [2024-09-03T18:44:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-03T18:44:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-03T18:44:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-03T18:44:11.253Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-03T18:44:11.253Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.083s coverage: 45.2% of statements [2024-09-03T18:44:12.666Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-03T18:44:13.943Z] using credential edgex-jenkins-ssh [2024-09-03T18:44:13.989Z] Cloning the remote Git repository [2024-09-03T18:44:14.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.044s coverage: 14.4% of statements [2024-09-03T18:44:14.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.394s coverage: 44.6% of statements [2024-09-03T18:44:14.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.045s coverage: 68.5% of statements [2024-09-03T18:44:14.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.083s coverage: 89.2% of statements [2024-09-03T18:44:14.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.053s coverage: 5.3% of statements [2024-09-03T18:44:14.057Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-09-03T18:44:14.155Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-09-03T18:44:14.388Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-03T18:44:14.388Z] > git --version # timeout=10 [2024-09-03T18:44:14.438Z] > git --version # 'git version 2.25.1' [2024-09-03T18:44:14.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T18:44:14.680Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-03T18:44:18.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-03T18:44:18.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-03T18:44:20.310Z] Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit fb251068f9fa6c1dd9087c1fad3447c821049b0a [2024-09-03T18:44:19.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-03T18:44:19.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-03T18:44:19.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T18:44:19.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1619/head:refs/remotes/origin/PR-1619 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-03T18:44:20.324Z] > git config core.sparsecheckout # timeout=10 [2024-09-03T18:44:20.393Z] > git checkout -f fb251068f9fa6c1dd9087c1fad3447c821049b0a # timeout=10 [2024-09-03T18:44:20.512Z] > git remote # timeout=10 [2024-09-03T18:44:20.534Z] > git config --get remote.origin.url # timeout=10 [2024-09-03T18:44:20.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T18:44:20.575Z] > git merge 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 [2024-09-03T18:44:20.730Z] Merge succeeded, producing eaadf0a4660b3962f3b8105e9e2d2a6613d6b8e0 [2024-09-03T18:44:20.731Z] Checking out Revision eaadf0a4660b3962f3b8105e9e2d2a6613d6b8e0 (PR-1619) [2024-09-03T18:44:20.701Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-03T18:44:20.732Z] > git config core.sparsecheckout # timeout=10 [2024-09-03T18:44:20.766Z] > git checkout -f eaadf0a4660b3962f3b8105e9e2d2a6613d6b8e0 # timeout=10 [2024-09-03T18:44:24.375Z] Commit message: "Merge commit '083c381ac4cc923d13d653dabf1097f47e3433f3' into HEAD" [2024-09-03T18:44:24.378Z] > git rev-list --no-walk fb251068f9fa6c1dd9087c1fad3447c821049b0a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T18:44:26.009Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-03T18:44:26.010Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-03T18:44:26.010Z] Dload Upload Total Spent Left Speed [2024-09-03T18:44:26.010Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 72067 0 --:--:-- --:--:-- --:--:-- 72067 [Pipeline] sh [2024-09-03T18:44:26.336Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-03T18:44:26.659Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-03T18:44:26.659Z] + sudo tee /etc/docker/daemon.new [2024-09-03T18:44:26.659Z] { [2024-09-03T18:44:26.659Z] "registry-mirrors": [ [2024-09-03T18:44:26.659Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-03T18:44:26.659Z] ], [2024-09-03T18:44:26.659Z] "bip": "10.250.0.254/24", [2024-09-03T18:44:26.659Z] "hosts": [ [2024-09-03T18:44:26.659Z] "tcp://0.0.0.0:5555", [2024-09-03T18:44:26.659Z] "unix:///var/run/docker.sock" [2024-09-03T18:44:26.659Z] ], [2024-09-03T18:44:26.659Z] "mtu": 1458, [2024-09-03T18:44:26.659Z] "selinux-enabled": true, [2024-09-03T18:44:26.659Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-03T18:44:26.659Z] } [Pipeline] sh [2024-09-03T18:44:26.984Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-03T18:44:27.355Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T18:44:45.608Z] provisioning config files... [2024-09-03T18:44:45.630Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4378627229094530212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T18:44:46.055Z] ---> ****-login.sh [2024-09-03T18:44:46.055Z] nexus3.edgexfoundry.org:10001 [2024-09-03T18:44:46.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:44:46.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:44:46.591Z] Configure a credential helper to remove this warning. See [2024-09-03T18:44:46.591Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:44:46.591Z] [2024-09-03T18:44:46.591Z] Login Succeeded [2024-09-03T18:44:46.591Z] nexus3.edgexfoundry.org:10002 [2024-09-03T18:44:46.685Z] GO111MODULE=on go vet ./... [2024-09-03T18:44:46.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:44:47.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:44:47.132Z] Configure a credential helper to remove this warning. See [2024-09-03T18:44:47.132Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:44:47.132Z] [2024-09-03T18:44:47.132Z] Login Succeeded [2024-09-03T18:44:47.132Z] nexus3.edgexfoundry.org:10003 [2024-09-03T18:44:47.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:44:47.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:44:47.404Z] Configure a credential helper to remove this warning. See [2024-09-03T18:44:47.404Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:44:47.404Z] [2024-09-03T18:44:47.404Z] Login Succeeded [2024-09-03T18:44:47.404Z] nexus3.edgexfoundry.org:10004 [2024-09-03T18:44:47.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:44:47.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:44:47.674Z] Configure a credential helper to remove this warning. See [2024-09-03T18:44:47.674Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:44:47.674Z] [2024-09-03T18:44:47.674Z] Login Succeeded [2024-09-03T18:44:47.674Z] ****.io [2024-09-03T18:44:47.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T18:44:48.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T18:44:48.210Z] Configure a credential helper to remove this warning. See [2024-09-03T18:44:48.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T18:44:48.211Z] [2024-09-03T18:44:48.211Z] Login Succeeded [2024-09-03T18:44:48.211Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T18:44:48.232Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-03T18:44:48.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T18:44:48.618Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T18:44:48.633Z] ========================================================= [2024-09-03T18:44:48.633Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-03T18:44:48.633Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:44:49.092Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-03T18:44:49.680Z] Sending build context to Docker daemon 13.15MB [2024-09-03T18:44:49.680Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T18:44:49.680Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-03T18:44:49.680Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-03T18:44:49.680Z] c6b39de5b339: Pulling fs layer [2024-09-03T18:44:49.680Z] a69c41024577: Pulling fs layer [2024-09-03T18:44:49.680Z] d6de4b400683: Pulling fs layer [2024-09-03T18:44:49.680Z] 35cb2a7552d0: Pulling fs layer [2024-09-03T18:44:49.680Z] 4f4fb700ef54: Pulling fs layer [2024-09-03T18:44:49.680Z] 464afbd9ba4c: Pulling fs layer [2024-09-03T18:44:49.680Z] 00f215d4a9da: Pulling fs layer [2024-09-03T18:44:49.680Z] d496ad576159: Pulling fs layer [2024-09-03T18:44:49.680Z] 4f4fb700ef54: Waiting [2024-09-03T18:44:49.680Z] 464afbd9ba4c: Waiting [2024-09-03T18:44:49.680Z] d496ad576159: Waiting [2024-09-03T18:44:49.680Z] 00f215d4a9da: Waiting [2024-09-03T18:44:49.680Z] 35cb2a7552d0: Waiting [2024-09-03T18:44:49.680Z] a69c41024577: Verifying Checksum [2024-09-03T18:44:49.680Z] a69c41024577: Download complete [2024-09-03T18:44:49.680Z] 35cb2a7552d0: Verifying Checksum [2024-09-03T18:44:49.680Z] 35cb2a7552d0: Download complete [2024-09-03T18:44:49.960Z] 4f4fb700ef54: Verifying Checksum [2024-09-03T18:44:49.960Z] 4f4fb700ef54: Download complete [2024-09-03T18:44:49.960Z] 464afbd9ba4c: Verifying Checksum [2024-09-03T18:44:49.960Z] 464afbd9ba4c: Download complete [2024-09-03T18:44:49.960Z] c6b39de5b339: Download complete [2024-09-03T18:44:49.989Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-03T18:44:49.989Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-03T18:44:49.989Z] ./bin/test-attribution-txt.sh [2024-09-03T18:44:50.238Z] d496ad576159: Verifying Checksum [2024-09-03T18:44:50.239Z] d496ad576159: Download complete [Pipeline] echo [2024-09-03T18:44:50.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-03T18:44:50.283Z] $ docker stop --time=1 910fcea8ac0f4c3cddd0a6806f72237474bcae357788868f3a88213c993663d6 [2024-09-03T18:44:50.825Z] c6b39de5b339: Pull complete [2024-09-03T18:44:51.413Z] a69c41024577: Pull complete [2024-09-03T18:44:51.684Z] d6de4b400683: Verifying Checksum [2024-09-03T18:44:51.684Z] d6de4b400683: Download complete [2024-09-03T18:44:53.098Z] 00f215d4a9da: Verifying Checksum [2024-09-03T18:44:53.098Z] 00f215d4a9da: Download complete [2024-09-03T18:44:55.139Z] $ docker rm -f --volumes 910fcea8ac0f4c3cddd0a6806f72237474bcae357788868f3a88213c993663d6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T18:44:55.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-03T18:44:55.882Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-03T18:44:56.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-03T18:44:56.753Z] + ls -al . [2024-09-03T18:44:56.754Z] total 384 [2024-09-03T18:44:56.754Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 3 18:43 . [2024-09-03T18:44:56.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 18:41 .. [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 3 18:41 .dockerignore [2024-09-03T18:44:56.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 18:44 .git [2024-09-03T18:44:56.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 18:41 .github [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 3 18:41 .gitignore [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 3 18:41 .golangci.yml [2024-09-03T18:44:56.754Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 18:42 .semver [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 3 18:41 CHANGELOG.md [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 18:41 GOVERNANCE.md [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 3 18:41 Jenkinsfile [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 3 18:41 LICENSE [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 3 18:41 Makefile [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 3 18:41 OWNERS.md [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 3 18:41 README.md [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 3 18:42 VERSION [2024-09-03T18:44:56.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 18:41 bin [2024-09-03T18:44:56.754Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 3 18:44 coverage.out [2024-09-03T18:44:56.754Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 3 18:41 example [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 3 18:41 go.mod [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 101460 Sep 3 18:41 go.sum [2024-09-03T18:44:56.754Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 3 18:41 internal [2024-09-03T18:44:56.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 18:41 openapi [2024-09-03T18:44:56.754Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 3 18:41 pkg [2024-09-03T18:44:56.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 18:41 snap [2024-09-03T18:44:56.754Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 3 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:44:57.078Z] + 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=22428966f402b749a425abcc784f88dab434ed73 --label arch=amd64 --label version=0.0.0 . [2024-09-03T18:44:57.078Z] Sending build context to Docker daemon 25.48MB [2024-09-03T18:44:57.078Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T18:44:57.078Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-03T18:44:57.078Z] ---> a6921a995982 [2024-09-03T18:44:57.078Z] Step 3/24 : ARG MAKE=make build [2024-09-03T18:44:57.660Z] ---> Running in 3a45d0fe2b49 [2024-09-03T18:44:57.660Z] Removing intermediate container 3a45d0fe2b49 [2024-09-03T18:44:57.660Z] ---> 36f2a567aacc [2024-09-03T18:44:57.660Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-03T18:44:57.660Z] ---> Running in e429a0f5e712 [2024-09-03T18:44:57.660Z] Removing intermediate container e429a0f5e712 [2024-09-03T18:44:57.660Z] ---> cfe5d78edd06 [2024-09-03T18:44:57.660Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T18:44:57.660Z] ---> Running in 74cc5c44d214 [2024-09-03T18:44:57.918Z] Removing intermediate container 74cc5c44d214 [2024-09-03T18:44:57.918Z] ---> dbbbfa69a59a [2024-09-03T18:44:57.918Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-03T18:44:57.918Z] ---> Running in 3ba3df0acd6d [2024-09-03T18:44:58.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T18:44:58.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T18:44:58.436Z] OK: 264 MiB in 52 packages [2024-09-03T18:44:58.696Z] Removing intermediate container 3ba3df0acd6d [2024-09-03T18:44:58.696Z] ---> e515d446ad62 [2024-09-03T18:44:58.696Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-03T18:44:58.955Z] ---> e149a769eea6 [2024-09-03T18:44:58.955Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T18:44:58.955Z] ---> Running in 9e30dbfa947b [2024-09-03T18:44:59.521Z] Removing intermediate container 9e30dbfa947b [2024-09-03T18:44:59.521Z] ---> 129224a9ed79 [2024-09-03T18:44:59.521Z] Step 9/24 : COPY . . [2024-09-03T18:45:00.472Z] ---> 9a9cc297962d [2024-09-03T18:45:00.472Z] Step 10/24 : RUN ${MAKE} [2024-09-03T18:45:00.472Z] ---> Running in b0649bbc4467 [2024-09-03T18:45:00.730Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-09-03T18:45:05.432Z] d6de4b400683: Pull complete [2024-09-03T18:45:05.432Z] 35cb2a7552d0: Pull complete [2024-09-03T18:45:05.432Z] 4f4fb700ef54: Pull complete [2024-09-03T18:45:05.432Z] 464afbd9ba4c: Pull complete [2024-09-03T18:45:13.663Z] 00f215d4a9da: Pull complete [2024-09-03T18:45:15.073Z] d496ad576159: Pull complete [2024-09-03T18:45:15.338Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-03T18:45:15.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-03T18:45:15.338Z] ---> f246e2811388 [2024-09-03T18:45:15.338Z] Step 3/10 : ARG MAKE=make build [2024-09-03T18:45:17.287Z] ---> Running in 91ea2a1bae0e [2024-09-03T18:45:17.287Z] Removing intermediate container 91ea2a1bae0e [2024-09-03T18:45:17.287Z] ---> 9aae38b5e3e4 [2024-09-03T18:45:17.287Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-03T18:45:17.287Z] ---> Running in 3656a1e39174 [2024-09-03T18:45:17.559Z] Removing intermediate container 3656a1e39174 [2024-09-03T18:45:17.559Z] ---> 205fc20d8708 [2024-09-03T18:45:17.559Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T18:45:17.826Z] ---> Running in 12e47722665d [2024-09-03T18:45:18.093Z] Removing intermediate container 12e47722665d [2024-09-03T18:45:18.093Z] ---> efe5a0a0c61a [2024-09-03T18:45:18.093Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-03T18:45:18.093Z] ---> Running in 2cbfe7a752ba [2024-09-03T18:45:19.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T18:45:19.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T18:45:20.624Z] OK: 266 MiB in 52 packages [2024-09-03T18:45:22.578Z] Removing intermediate container 2cbfe7a752ba [2024-09-03T18:45:22.578Z] ---> b3ed361b9efe [2024-09-03T18:45:22.578Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-03T18:45:22.847Z] ---> 0e2736cc1e72 [2024-09-03T18:45:22.847Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T18:45:22.847Z] ---> Running in 8d3a61eb69cd [2024-09-03T18:45:39.479Z] Removing intermediate container b0649bbc4467 [2024-09-03T18:45:39.479Z] ---> 411858245cb6 [2024-09-03T18:45:39.479Z] Step 11/24 : FROM alpine:3.18 [2024-09-03T18:45:39.479Z] 3.18: Pulling from library/alpine [2024-09-03T18:45:39.479Z] 930bdd4d222e: Pulling fs layer [2024-09-03T18:45:39.479Z] 930bdd4d222e: Verifying Checksum [2024-09-03T18:45:39.479Z] 930bdd4d222e: Download complete [2024-09-03T18:45:39.479Z] 930bdd4d222e: Pull complete [2024-09-03T18:45:39.479Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-03T18:45:39.479Z] Status: Downloaded newer image for alpine:3.18 [2024-09-03T18:45:39.479Z] ---> 18f865063206 [2024-09-03T18:45:39.479Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-03T18:45:39.479Z] ---> Running in ffaf7c66b37f [2024-09-03T18:45:39.479Z] Removing intermediate container ffaf7c66b37f [2024-09-03T18:45:39.479Z] ---> b1a94545acc5 [2024-09-03T18:45:39.479Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-03T18:45:39.479Z] ---> Running in 7ee7339541f3 [2024-09-03T18:45:39.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T18:45:39.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T18:45:39.479Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-03T18:45:39.479Z] Executing busybox-1.36.1-r7.trigger [2024-09-03T18:45:39.479Z] OK: 7 MiB in 16 packages [2024-09-03T18:45:40.048Z] Removing intermediate container 7ee7339541f3 [2024-09-03T18:45:40.048Z] ---> fe2a003906b2 [2024-09-03T18:45:40.048Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-03T18:45:40.048Z] ---> Running in cd45074f1314 [2024-09-03T18:45:40.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T18:45:40.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T18:45:40.567Z] OK: 7 MiB in 16 packages [2024-09-03T18:45:40.825Z] Removing intermediate container cd45074f1314 [2024-09-03T18:45:40.825Z] ---> 46db6f77e84b [2024-09-03T18:45:40.825Z] Step 15/24 : WORKDIR / [2024-09-03T18:45:40.825Z] ---> Running in ef3f2bcdbb4a [2024-09-03T18:45:40.825Z] Removing intermediate container ef3f2bcdbb4a [2024-09-03T18:45:40.825Z] ---> 03ee7c8d9cde [2024-09-03T18:45:40.825Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-03T18:45:40.825Z] ---> 8ddad28e97a6 [2024-09-03T18:45:40.825Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-03T18:45:43.360Z] ---> 2ce48db69418 [2024-09-03T18:45:43.360Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-03T18:45:43.360Z] ---> 0a5914433ead [2024-09-03T18:45:43.360Z] Step 19/24 : EXPOSE 59999 [2024-09-03T18:45:43.360Z] ---> Running in 802a50929c19 [2024-09-03T18:45:43.360Z] Removing intermediate container 802a50929c19 [2024-09-03T18:45:43.360Z] ---> 4f5c47c4bf51 [2024-09-03T18:45:43.360Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-03T18:45:43.360Z] ---> Running in 241e83f7973f [2024-09-03T18:45:43.360Z] Removing intermediate container 241e83f7973f [2024-09-03T18:45:43.360Z] ---> d357ee97cb44 [2024-09-03T18:45:43.360Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-03T18:45:43.360Z] ---> Running in c0f4008d6163 [2024-09-03T18:45:43.360Z] Removing intermediate container c0f4008d6163 [2024-09-03T18:45:43.360Z] ---> 03966954253a [2024-09-03T18:45:43.360Z] Step 22/24 : LABEL arch=amd64 [2024-09-03T18:45:43.360Z] ---> Running in d72c76fbae33 [2024-09-03T18:45:43.360Z] Removing intermediate container d72c76fbae33 [2024-09-03T18:45:43.360Z] ---> 9e245e416515 [2024-09-03T18:45:43.360Z] Step 23/24 : LABEL git_sha=22428966f402b749a425abcc784f88dab434ed73 [2024-09-03T18:45:43.360Z] ---> Running in 201d8e8f45b3 [2024-09-03T18:45:43.360Z] Removing intermediate container 201d8e8f45b3 [2024-09-03T18:45:43.360Z] ---> c9f5394b9b9f [2024-09-03T18:45:43.360Z] Step 24/24 : LABEL version=0.0.0 [2024-09-03T18:45:43.360Z] ---> Running in f3856a08221e [2024-09-03T18:45:43.620Z] Removing intermediate container f3856a08221e [2024-09-03T18:45:43.620Z] ---> 39a8c8f0dfe1 [2024-09-03T18:45:43.620Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-03T18:45:43.620Z] Successfully built 39a8c8f0dfe1 [2024-09-03T18:45:43.620Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:45:44.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T18:45:44.144Z] [2024-09-03T18:45:44.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:45:44.462Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T18:45:44.462Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-03T18:45:44.462Z] 5eb5b503b376: Pulling fs layer [2024-09-03T18:45:44.462Z] 5c69ac0246d0: Pulling fs layer [2024-09-03T18:45:44.462Z] ec43610c2a17: Pulling fs layer [2024-09-03T18:45:44.462Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-03T18:45:44.462Z] 33b1e0a273af: Pulling fs layer [2024-09-03T18:45:44.462Z] 5d3b04190fa2: Pulling fs layer [2024-09-03T18:45:44.462Z] 2f39f015ded8: Pulling fs layer [2024-09-03T18:45:44.462Z] 33b1e0a273af: Waiting [2024-09-03T18:45:44.462Z] 2f39f015ded8: Waiting [2024-09-03T18:45:44.462Z] 5d3b04190fa2: Waiting [2024-09-03T18:45:44.462Z] 5c69ac0246d0: Download complete [2024-09-03T18:45:44.462Z] 3a2ae6a8a46f: Download complete [2024-09-03T18:45:44.462Z] 33b1e0a273af: Verifying Checksum [2024-09-03T18:45:44.462Z] 33b1e0a273af: Download complete [2024-09-03T18:45:44.462Z] ec43610c2a17: Verifying Checksum [2024-09-03T18:45:44.462Z] ec43610c2a17: Download complete [2024-09-03T18:45:44.462Z] 5d3b04190fa2: Download complete [2024-09-03T18:45:44.720Z] 5eb5b503b376: Verifying Checksum [2024-09-03T18:45:44.721Z] 5eb5b503b376: Download complete [2024-09-03T18:45:45.286Z] 2f39f015ded8: Verifying Checksum [2024-09-03T18:45:45.287Z] 2f39f015ded8: Download complete [2024-09-03T18:45:45.854Z] 5eb5b503b376: Pull complete [2024-09-03T18:45:45.854Z] 5c69ac0246d0: Pull complete [2024-09-03T18:45:46.419Z] ec43610c2a17: Pull complete [2024-09-03T18:45:46.419Z] 3a2ae6a8a46f: Pull complete [2024-09-03T18:45:46.679Z] 33b1e0a273af: Pull complete [2024-09-03T18:45:46.679Z] 5d3b04190fa2: Pull complete [2024-09-03T18:45:50.862Z] 2f39f015ded8: Pull complete [2024-09-03T18:45:50.862Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-03T18:45:50.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T18:45:50.862Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T18:45:50.961Z] prd-ubuntu20.04-docker-8c-8g-9307 does not seem to be running inside a container [2024-09-03T18:45:50.990Z] $ 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-1619 -v /w/workspace/gexfoundry_device-sdk-go_PR-1619:/w/workspace/gexfoundry_device-sdk-go_PR-1619:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-03T18:45:55.726Z] $ docker top 25ada1dbdc69868fac8349d729c37172389b0b321ee8570e19e4469c53cd78d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T18:45:56.132Z] ---> job-cost.sh [2024-09-03T18:45:56.132Z] lf-activate-venv: SKIPPING [2024-09-03T18:45:56.132Z] INFO: No Stack... [2024-09-03T18:45:56.391Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-03T18:45:56.649Z] INFO: Archiving Costs [Pipeline] sh [2024-09-03T18:45:56.942Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives/cost.csv [2024-09-03T18:45:56.942Z] + cut -d, -f6 [Pipeline] lock [2024-09-03T18:45:56.957Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-2-stack-cost] [2024-09-03T18:45:56.966Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1619-2-stack-cost] did not exist. Created. [2024-09-03T18:45:56.974Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-03T18:45:57.288Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-03T18:45:57.318Z] Stashed 1 file(s) [Pipeline] } [2024-09-03T18:45:57.326Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-03T18:45:57.348Z] $ docker stop --time=1 25ada1dbdc69868fac8349d729c37172389b0b321ee8570e19e4469c53cd78d4 [2024-09-03T18:45:58.499Z] $ docker rm -f --volumes 25ada1dbdc69868fac8349d729c37172389b0b321ee8570e19e4469c53cd78d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-03T18:47:14.514Z] Removing intermediate container 8d3a61eb69cd [2024-09-03T18:47:14.514Z] ---> d4aad31af1de [2024-09-03T18:47:14.514Z] Step 9/10 : COPY . . [2024-09-03T18:47:14.514Z] ---> 22491d818bd3 [2024-09-03T18:47:14.514Z] Step 10/10 : RUN ${MAKE} [2024-09-03T18:47:14.514Z] ---> Running in 490cc236d410 [2024-09-03T18:47:14.514Z] noop [2024-09-03T18:47:14.514Z] Removing intermediate container 490cc236d410 [2024-09-03T18:47:14.514Z] ---> 0f38547da8e6 [2024-09-03T18:47:14.514Z] Successfully built 0f38547da8e6 [2024-09-03T18:47:14.514Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:47:14.895Z] + docker inspect -f . ci-base-image-arm64 [2024-09-03T18:47:14.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T18:47:15.108Z] prd-ubuntu20.04-docker-arm64-4c-16g-9308 does not seem to be running inside a container [2024-09-03T18:47:15.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2024-09-03T18:47:16.411Z] $ docker top fa37829de8c0e034510517182a487a13d15caf551f326d338741ea2e351567bf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T18:47:17.267Z] + go version [2024-09-03T18:47:17.267Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-03T18:47:17.281Z] $ docker stop --time=1 fa37829de8c0e034510517182a487a13d15caf551f326d338741ea2e351567bf [2024-09-03T18:47:18.916Z] $ docker rm -f --volumes fa37829de8c0e034510517182a487a13d15caf551f326d338741ea2e351567bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:47:19.511Z] + docker inspect -f . ci-base-image-arm64 [2024-09-03T18:47:19.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T18:47:19.712Z] prd-ubuntu20.04-docker-arm64-4c-16g-9308 does not seem to be running inside a container [2024-09-03T18:47:19.787Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2024-09-03T18:47:20.990Z] $ docker top 226e7d40dc83bbe785cc676e0f1b17c7d203b35d839284b2dbf5cbdd824cce07 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T18:47:21.852Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-09-03T18:47:22.500Z] + make test [2024-09-03T18:47:22.500Z] go test -race -coverprofile=coverage.out ./... [2024-09-03T18:48:01.370Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-03T18:51:38.219Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-03T18:51:38.220Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-03T18:51:38.220Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-03T18:51:38.220Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-03T18:51:38.220Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-03T18:51:40.163Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.111s coverage: 26.0% of statements [2024-09-03T18:51:45.536Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.167s coverage: 79.4% of statements [2024-09-03T18:51:53.761Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-03T18:51:53.761Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-03T18:51:53.761Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.269s coverage: 86.0% of statements [2024-09-03T18:52:01.968Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-03T18:52:03.389Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.473s coverage: 45.2% of statements [2024-09-03T18:52:06.747Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.180s coverage: 14.4% of statements [2024-09-03T18:52:06.747Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.202s coverage: 44.6% of statements [2024-09-03T18:52:08.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-03T18:52:08.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-03T18:52:08.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-03T18:52:09.128Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.327s coverage: 68.5% of statements [2024-09-03T18:52:13.404Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.377s coverage: 89.2% of statements [2024-09-03T18:52:17.664Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-03T18:52:18.322Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.254s coverage: 5.3% of statements [2024-09-03T18:52:19.779Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-03T18:52:19.779Z] GO111MODULE=on go vet ./... [2024-09-03T18:56:11.745Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-03T18:56:11.745Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-03T18:56:11.745Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-03T18:56:11.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-03T18:56:11.780Z] $ docker stop --time=1 226e7d40dc83bbe785cc676e0f1b17c7d203b35d839284b2dbf5cbdd824cce07 [2024-09-03T18:56:13.688Z] $ docker rm -f --volumes 226e7d40dc83bbe785cc676e0f1b17c7d203b35d839284b2dbf5cbdd824cce07 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T18:56:16.008Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-03T18:56:16.035Z] Warning: overwriting stash ‘coverage-report’ [2024-09-03T18:56:16.630Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T18:56:17.045Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-03T18:56:17.366Z] + ls -al . [2024-09-03T18:56:17.366Z] total 380 [2024-09-03T18:56:17.366Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 3 18:47 . [2024-09-03T18:56:17.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 18:44 .. [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 3 18:44 .dockerignore [2024-09-03T18:56:17.366Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 18:44 .git [2024-09-03T18:56:17.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 18:44 .github [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 3 18:44 .gitignore [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 3 18:44 .golangci.yml [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 3 18:44 CHANGELOG.md [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 18:44 GOVERNANCE.md [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 3 18:44 Jenkinsfile [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 3 18:44 LICENSE [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 3 18:44 Makefile [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 3 18:44 OWNERS.md [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 3 18:44 README.md [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 3 18:42 VERSION [2024-09-03T18:56:17.366Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 18:44 bin [2024-09-03T18:56:17.366Z] -rw-r--r-- 1 jenkins jenkins 127942 Sep 3 18:52 coverage.out [2024-09-03T18:56:17.366Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 3 18:44 example [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 3 18:44 go.mod [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 101460 Sep 3 18:44 go.sum [2024-09-03T18:56:17.366Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 3 18:44 internal [2024-09-03T18:56:17.366Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 18:44 openapi [2024-09-03T18:56:17.366Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 3 18:44 pkg [2024-09-03T18:56:17.366Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 18:44 snap [2024-09-03T18:56:17.366Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 3 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T18:56:17.712Z] + 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=eaadf0a4660b3962f3b8105e9e2d2a6613d6b8e0 --label arch=arm64 --label version=0.0.0 . [2024-09-03T18:56:18.295Z] Sending build context to Docker daemon 13.28MB [2024-09-03T18:56:18.295Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T18:56:18.295Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-03T18:56:18.295Z] ---> 0f38547da8e6 [2024-09-03T18:56:18.295Z] Step 3/24 : ARG MAKE=make build [2024-09-03T18:56:18.560Z] ---> Running in 55c79997e7ed [2024-09-03T18:56:18.826Z] Removing intermediate container 55c79997e7ed [2024-09-03T18:56:18.826Z] ---> 14352ff3c6e2 [2024-09-03T18:56:18.826Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-03T18:56:18.826Z] ---> Running in 600e76bc29bb [2024-09-03T18:56:19.097Z] Removing intermediate container 600e76bc29bb [2024-09-03T18:56:19.097Z] ---> 2337e5dcb6be [2024-09-03T18:56:19.097Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T18:56:19.364Z] ---> Running in a0514c9b3897 [2024-09-03T18:56:19.630Z] Removing intermediate container a0514c9b3897 [2024-09-03T18:56:19.630Z] ---> ed9338d629e8 [2024-09-03T18:56:19.630Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-03T18:56:19.630Z] ---> Running in 45549ed1f900 [2024-09-03T18:56:20.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T18:56:21.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T18:56:22.123Z] OK: 266 MiB in 52 packages [2024-09-03T18:56:22.705Z] Removing intermediate container 45549ed1f900 [2024-09-03T18:56:22.706Z] ---> 666dc96aaaea [2024-09-03T18:56:22.706Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-03T18:56:23.289Z] ---> b730161d50e9 [2024-09-03T18:56:23.289Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T18:56:23.289Z] ---> Running in a694dd7a11fa [2024-09-03T18:56:25.873Z] Removing intermediate container a694dd7a11fa [2024-09-03T18:56:25.873Z] ---> 82f01a2a724e [2024-09-03T18:56:25.873Z] Step 9/24 : COPY . . [2024-09-03T18:56:27.291Z] ---> 082ad0b0fe60 [2024-09-03T18:56:27.291Z] Step 10/24 : RUN ${MAKE} [2024-09-03T18:56:27.291Z] ---> Running in 2d971c93bea8 [2024-09-03T18:56:28.258Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-09-03T19:00:20.084Z] Removing intermediate container 2d971c93bea8 [2024-09-03T19:00:20.084Z] ---> 7eb524e8898d [2024-09-03T19:00:20.084Z] Step 11/24 : FROM alpine:3.18 [2024-09-03T19:00:20.084Z] 3.18: Pulling from library/alpine [2024-09-03T19:00:20.084Z] 4983c3fe2029: Pulling fs layer [2024-09-03T19:00:20.084Z] 4983c3fe2029: Verifying Checksum [2024-09-03T19:00:20.084Z] 4983c3fe2029: Download complete [2024-09-03T19:00:20.084Z] 4983c3fe2029: Pull complete [2024-09-03T19:00:20.084Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-03T19:00:20.084Z] Status: Downloaded newer image for alpine:3.18 [2024-09-03T19:00:20.084Z] ---> a0237000ae83 [2024-09-03T19:00:20.084Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-03T19:00:20.084Z] ---> Running in 25be1504ac20 [2024-09-03T19:00:20.084Z] Removing intermediate container 25be1504ac20 [2024-09-03T19:00:20.084Z] ---> c2c71b25d3c3 [2024-09-03T19:00:20.084Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-03T19:00:20.084Z] ---> Running in 7d21175ab6b8 [2024-09-03T19:00:20.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T19:00:20.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T19:00:20.085Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-03T19:00:20.085Z] Executing busybox-1.36.1-r7.trigger [2024-09-03T19:00:20.085Z] OK: 8 MiB in 16 packages [2024-09-03T19:00:20.085Z] Removing intermediate container 7d21175ab6b8 [2024-09-03T19:00:20.085Z] ---> 2cf3c7690484 [2024-09-03T19:00:20.085Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-03T19:00:20.085Z] ---> Running in 9e604b3a0520 [2024-09-03T19:00:20.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T19:00:20.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T19:00:20.085Z] OK: 8 MiB in 16 packages [2024-09-03T19:00:20.085Z] Removing intermediate container 9e604b3a0520 [2024-09-03T19:00:20.085Z] ---> 7d4cdc2fa236 [2024-09-03T19:00:20.085Z] Step 15/24 : WORKDIR / [2024-09-03T19:00:20.085Z] ---> Running in 683a132fd1b5 [2024-09-03T19:00:20.085Z] Removing intermediate container 683a132fd1b5 [2024-09-03T19:00:20.085Z] ---> 087ed3bc77c5 [2024-09-03T19:00:20.085Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-03T19:00:20.085Z] ---> 6a2ca34b8c78 [2024-09-03T19:00:20.085Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-03T19:00:20.085Z] ---> 10a2b9979323 [2024-09-03T19:00:20.085Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-03T19:00:20.085Z] ---> 9efc75542409 [2024-09-03T19:00:20.085Z] Step 19/24 : EXPOSE 59999 [2024-09-03T19:00:20.085Z] ---> Running in ab8c433938ad [2024-09-03T19:00:20.085Z] Removing intermediate container ab8c433938ad [2024-09-03T19:00:20.085Z] ---> bbb7076aa474 [2024-09-03T19:00:20.085Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-03T19:00:20.085Z] ---> Running in 9c9ddf2155cd [2024-09-03T19:00:20.085Z] Removing intermediate container 9c9ddf2155cd [2024-09-03T19:00:20.085Z] ---> 9b9c235442a6 [2024-09-03T19:00:20.085Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-03T19:00:20.085Z] ---> Running in 070c2a6c24ef [2024-09-03T19:00:20.085Z] Removing intermediate container 070c2a6c24ef [2024-09-03T19:00:20.085Z] ---> 66aa00072924 [2024-09-03T19:00:20.085Z] Step 22/24 : LABEL arch=arm64 [2024-09-03T19:00:20.085Z] ---> Running in c57c0dd5e962 [2024-09-03T19:00:20.354Z] Removing intermediate container c57c0dd5e962 [2024-09-03T19:00:20.354Z] ---> 4dbc2faa290a [2024-09-03T19:00:20.354Z] Step 23/24 : LABEL git_sha=eaadf0a4660b3962f3b8105e9e2d2a6613d6b8e0 [2024-09-03T19:00:20.354Z] ---> Running in 2338847a7e03 [2024-09-03T19:00:21.234Z] Removing intermediate container 2338847a7e03 [2024-09-03T19:00:21.234Z] ---> a309d3f53499 [2024-09-03T19:00:21.234Z] Step 24/24 : LABEL version=0.0.0 [2024-09-03T19:00:21.234Z] ---> Running in 9d6a5b171a00 [2024-09-03T19:00:21.504Z] Removing intermediate container 9d6a5b171a00 [2024-09-03T19:00:21.504Z] ---> c3cb9bb61f7f [2024-09-03T19:00:21.504Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-03T19:00:21.504Z] Successfully built c3cb9bb61f7f [2024-09-03T19:00:21.504Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T19:00:22.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T19:00:22.553Z] [2024-09-03T19:00:22.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T19:00:22.897Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T19:00:23.166Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-03T19:00:23.166Z] 8998bd30e6a1: Pulling fs layer [2024-09-03T19:00:23.166Z] 04944245beec: Pulling fs layer [2024-09-03T19:00:23.166Z] 699f458cf7ca: Pulling fs layer [2024-09-03T19:00:23.166Z] 765212b225bb: Pulling fs layer [2024-09-03T19:00:23.166Z] f23df028b6ca: Pulling fs layer [2024-09-03T19:00:23.166Z] d65c8cfc05b1: Pulling fs layer [2024-09-03T19:00:23.166Z] 2437ff75d9bd: Pulling fs layer [2024-09-03T19:00:23.166Z] f23df028b6ca: Waiting [2024-09-03T19:00:23.166Z] d65c8cfc05b1: Waiting [2024-09-03T19:00:23.166Z] 2437ff75d9bd: Waiting [2024-09-03T19:00:23.166Z] 765212b225bb: Waiting [2024-09-03T19:00:23.166Z] 04944245beec: Download complete [2024-09-03T19:00:23.166Z] 765212b225bb: Verifying Checksum [2024-09-03T19:00:23.166Z] 765212b225bb: Download complete [2024-09-03T19:00:23.166Z] f23df028b6ca: Verifying Checksum [2024-09-03T19:00:23.166Z] f23df028b6ca: Download complete [2024-09-03T19:00:23.166Z] d65c8cfc05b1: Verifying Checksum [2024-09-03T19:00:23.166Z] d65c8cfc05b1: Download complete [2024-09-03T19:00:23.435Z] 699f458cf7ca: Verifying Checksum [2024-09-03T19:00:23.435Z] 699f458cf7ca: Download complete [2024-09-03T19:00:23.704Z] 8998bd30e6a1: Verifying Checksum [2024-09-03T19:00:23.704Z] 8998bd30e6a1: Download complete [2024-09-03T19:00:26.293Z] 2437ff75d9bd: Download complete [2024-09-03T19:00:28.878Z] 8998bd30e6a1: Pull complete [2024-09-03T19:00:29.146Z] 04944245beec: Pull complete [2024-09-03T19:00:30.557Z] 699f458cf7ca: Pull complete [2024-09-03T19:00:30.825Z] 765212b225bb: Pull complete [2024-09-03T19:00:31.789Z] f23df028b6ca: Pull complete [2024-09-03T19:00:31.789Z] d65c8cfc05b1: Pull complete [2024-09-03T19:00:47.827Z] 2437ff75d9bd: Pull complete [2024-09-03T19:00:47.827Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-03T19:00:47.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T19:00:47.827Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T19:00:51.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-9308 does not seem to be running inside a container [2024-09-03T19:00:51.834Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-03T19:00:56.179Z] $ docker top 6adf663520c496aaeb87c3ae67985a776a9bd988c37fdcb59796d20494cbb1d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T19:00:57.045Z] ---> job-cost.sh [2024-09-03T19:00:57.045Z] lf-activate-venv: SKIPPING [2024-09-03T19:00:57.045Z] INFO: No Stack... [2024-09-03T19:00:59.850Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-03T19:00:59.850Z] INFO: Archiving Costs [Pipeline] sh [2024-09-03T19:01:01.457Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-09-03T19:01:01.457Z] + cut -d, -f6 [Pipeline] lock [2024-09-03T19:01:01.518Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-2-stack-cost] [2024-09-03T19:01:01.529Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1619-2-stack-cost] did not exist. Created. [2024-09-03T19:01:01.536Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-03T19:01:03.050Z] /w/workspace/device-sdk-go/2@tmp/durable-fe70190c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-03T19:01:03.697Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-03T19:01:03.726Z] Warning: overwriting stash ‘stack-cost’ [2024-09-03T19:01:03.827Z] Stashed 1 file(s) [Pipeline] } [2024-09-03T19:01:03.841Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-03T19:01:03.858Z] $ docker stop --time=1 6adf663520c496aaeb87c3ae67985a776a9bd988c37fdcb59796d20494cbb1d4 [2024-09-03T19:01:05.657Z] $ docker rm -f --volumes 6adf663520c496aaeb87c3ae67985a776a9bd988c37fdcb59796d20494cbb1d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-09-03T19:01:06.192Z] provisioning config files... [2024-09-03T19:01:06.202Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/config5062398362832338592tmp [Pipeline] { [Pipeline] sh [2024-09-03T19:01:06.497Z] + set +x [2024-09-03T19:01:06.497Z] + curl -s https://codecov.io/bash [2024-09-03T19:01:06.497Z] + bash -s -- [2024-09-03T19:01:07.066Z] [2024-09-03T19:01:07.066Z] _____ _ [2024-09-03T19:01:07.066Z] / ____| | | [2024-09-03T19:01:07.066Z] | | ___ __| | ___ ___ _____ __ [2024-09-03T19:01:07.066Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-03T19:01:07.066Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-03T19:01:07.066Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-03T19:01:07.066Z] Bash-1.0.6 [2024-09-03T19:01:07.066Z] [2024-09-03T19:01:07.066Z] [2024-09-03T19:01:07.066Z] ==> git version 2.25.1 found [2024-09-03T19:01:07.066Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-09-03T19:01:07.066Z] Release-Date: 2020-01-08 [2024-09-03T19:01:07.066Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-09-03T19:01:07.066Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-03T19:01:07.066Z] ==> Jenkins CI detected. [2024-09-03T19:01:07.066Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1619 [2024-09-03T19:01:07.066Z] project root: . [2024-09-03T19:01:07.066Z] --> token set from env [2024-09-03T19:01:07.066Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-03T19:01:07.066Z] ==> Running gcov in . (disable via -X gcov) [2024-09-03T19:01:07.066Z] ==> Python coveragepy not found [2024-09-03T19:01:07.066Z] ==> Searching for coverage reports in: [2024-09-03T19:01:07.066Z] + . [2024-09-03T19:01:07.066Z] -> Found 1 reports [2024-09-03T19:01:07.066Z] ==> Detecting git/mercurial file structure [2024-09-03T19:01:07.325Z] ==> Reading reports [2024-09-03T19:01:07.325Z] + ./coverage.out bytes=127942 [2024-09-03T19:01:07.325Z] ==> Appending adjustments [2024-09-03T19:01:07.325Z] https://docs.codecov.io/docs/fixing-reports [2024-09-03T19:01:07.582Z] + Found adjustments [2024-09-03T19:01:07.582Z] ==> Gzipping contents [2024-09-03T19:01:07.582Z] 20K /tmp/codecov.nDShEE.gz [2024-09-03T19:01:07.582Z] ==> Uploading reports [2024-09-03T19:01:07.582Z] url: https://codecov.io [2024-09-03T19:01:07.582Z] query: branch=PR-1619&commit=22428966f402b749a425abcc784f88dab434ed73&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1619%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1619&job=&cmd_args= [2024-09-03T19:01:07.582Z] -> Pinging Codecov [2024-09-03T19:01:07.582Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1619&commit=22428966f402b749a425abcc784f88dab434ed73&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1619%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1619&job=&cmd_args= [2024-09-03T19:01:08.150Z] -> Uploading to [2024-09-03T19:01:08.150Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-03/7E55EF52A471D76F132DFD9A03CDDE97/22428966f402b749a425abcc784f88dab434ed73/0ddb91f5-5304-49aa-9fa4-158a81c6ff25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240903%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240903T190108Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07468bd2989b03b91cbf9496f804e8959a08aa5818913c1201672ccd4b081218 [2024-09-03T19:01:08.150Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-03T19:01:08.150Z] Dload Upload Total Spent Left Speed [2024-09-03T19:01:08.409Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17668 0 0 100 17668 0 69559 --:--:-- --:--:-- --:--:-- 69559 [2024-09-03T19:01:08.409Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/22428966f402b749a425abcc784f88dab434ed73 [Pipeline] } [2024-09-03T19:01:08.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-09-03T19:01:09.303Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives ] [2024-09-03T19:01:09.303Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives [2024-09-03T19:01:09.303Z] total 16 [2024-09-03T19:01:09.303Z] drwxr-xr-x 3 root root 4096 Sep 3 18:45 . [2024-09-03T19:01:09.303Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 3 18:45 .. [2024-09-03T19:01:09.303Z] drwxr-xr-x 2 root root 4096 Sep 3 18:45 cost [2024-09-03T19:01:09.303Z] -rw-r--r-- 1 root root 86 Sep 3 18:45 cost.csv [2024-09-03T19:01:09.303Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives [2024-09-03T19:01:09.303Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives [2024-09-03T19:01:09.303Z] total 16 [2024-09-03T19:01:09.303Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 18:45 . [2024-09-03T19:01:09.303Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 3 18:45 .. [2024-09-03T19:01:09.303Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 3 18:45 cost [2024-09-03T19:01:09.303Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 3 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-03T19:01:09.595Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T19:01:10.456Z] ---> package-listing.sh [2024-09-03T19:01:10.456Z] ++ facter osfamily [2024-09-03T19:01:10.457Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-03T19:01:10.715Z] + OS_FAMILY=debian [2024-09-03T19:01:10.715Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1619 [2024-09-03T19:01:10.715Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-03T19:01:10.715Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-03T19:01:10.715Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-03T19:01:10.715Z] + PACKAGES=/tmp/packages_start.txt [2024-09-03T19:01:10.715Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1619 ']' [2024-09-03T19:01:10.715Z] + PACKAGES=/tmp/packages_end.txt [2024-09-03T19:01:10.715Z] + case "${OS_FAMILY}" in [2024-09-03T19:01:10.715Z] + dpkg -l [2024-09-03T19:01:10.715Z] + grep '^ii' [2024-09-03T19:01:10.715Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-03T19:01:10.715Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-03T19:01:10.715Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-03T19:01:10.715Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1619 ']' [2024-09-03T19:01:10.715Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives/ [2024-09-03T19:01:10.715Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives/ [Pipeline] echo [2024-09-03T19:01:10.728Z] 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-1619/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-03T19:01:11.109Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T19:01:11.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T19:01:11.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T19:01:11.578Z] prd-ubuntu20.04-docker-8c-8g-9307 does not seem to be running inside a container [2024-09-03T19:01:11.600Z] $ 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-1619/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-1619 -v /w/workspace/gexfoundry_device-sdk-go_PR-1619:/w/workspace/gexfoundry_device-sdk-go_PR-1619:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1619@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-03T19:01:11.841Z] $ docker top 93d4f3f3ab1fc88d80a6d6b0cb0503efd61d6297bb2d9e3816d38d986d2e8373 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T19:01:12.200Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-03T19:01:12.487Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-03T19:01:12.774Z] + ls /var/log/sa-host [2024-09-03T19:01:12.774Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T19:01:12.930Z] provisioning config files... [2024-09-03T19:01:12.939Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/config15893365326730773364tmp [Pipeline] { [Pipeline] echo [2024-09-03T19:01:12.963Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T19:01:13.244Z] ---> create-netrc.sh [Pipeline] } [2024-09-03T19:01:13.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-03T19:01:13.601Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-03T19:01:13.610Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T19:01:13.891Z] ---> sudo-logs.sh [2024-09-03T19:01:13.891Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-03T19:01:13.927Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T19:01:14.210Z] ---> job-cost.sh [2024-09-03T19:01:14.211Z] lf-activate-venv: SKIPPING [2024-09-03T19:01:14.211Z] DEBUG: total: 0.2199999988079071 [2024-09-03T19:01:14.211Z] INFO: Retrieving Stack Cost... [2024-09-03T19:01:14.778Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-03T19:01:15.037Z] INFO: Archiving Costs [Pipeline] echo [2024-09-03T19:01:15.049Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T19:01:15.331Z] ---> logs-deploy.sh [2024-09-03T19:01:15.331Z] lf-activate-venv: SKIPPING [2024-09-03T19:01:15.331Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1619/2 [2024-09-03T19:01:15.331Z] INFO: archiving workspace using pattern(s): [2024-09-03T19:01:16.273Z] Archives upload complete. [2024-09-03T19:01:16.531Z] INFO: archiving logs to Nexus