Pull request #1628 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c48630ffad7173b30f018eacc4191c3b5514c038+224db1e0e192554ed613955b9810071aef8a346e (e32f21d4926ebdc349a32059e3a19f4f80c72f07) 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-ssh936755781948258145.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh16959330813428864219.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-1628/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-1628/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8624919167746618341.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh17888758973969579907.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-1628/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-1628/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13610902506752200142.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-12164’ is offline Running on prd-ubuntu20.04-docker-8c-8g-12170 in /w/workspace/gexfoundry_device-sdk-go_PR-1628 [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-1628 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1628/head:refs/remotes/origin/PR-1628 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit c48630ffad7173b30f018eacc4191c3b5514c038 Merge succeeded, producing c48630ffad7173b30f018eacc4191c3b5514c038 Checking out Revision c48630ffad7173b30f018eacc4191c3b5514c038 (PR-1628) > git config core.sparsecheckout # timeout=10 > git checkout -f c48630ffad7173b30f018eacc4191c3b5514c038 # 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 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c48630ffad7173b30f018eacc4191c3b5514c038 # timeout=10 Commit message: "fix: Remove device profile from the cache properly" First time build. Skipping changelog. > git rev-list --no-walk 30cc33d0422f8edd5fdc92203c4d411a26486f52 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-01T01:20:42.996Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-01T01:20:43.093Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-01T01:20:43.117Z] ========================================================= [2024-10-01T01:20:43.117Z] EdgeX Global Pipelines Version Info [2024-10-01T01:20:43.117Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:20:43.845Z] ------------------- [2024-10-01T01:20:43.845Z] stable info: [2024-10-01T01:20:43.845Z] ------------------- [2024-10-01T01:20:43.845Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-01T01:20:43.845Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-01T01:20:43.845Z] Message: update stable to v1.0.264 [2024-10-01T01:20:44.417Z] ------------------- [2024-10-01T01:20:44.417Z] experimental info: [2024-10-01T01:20:44.417Z] ------------------- [2024-10-01T01:20:44.418Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-01T01:20:44.418Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-01T01:20:44.418Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-01T01:20:44.500Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-01T01:20:44.520Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-01T01:20:44.544Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-01T01:20:44.564Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-01T01:20:44.582Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-01T01:20:44.601Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-10-01T01:20:44.625Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-01T01:20:44.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-01T01:20:44.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-01T01:20:44.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-01T01:20:44.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-01T01:20:44.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-01T01:20:44.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-01T01:20:44.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-01T01:20:44.805Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-01T01:20:44.829Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T01:20:44.856Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T01:20:44.885Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T01:20:44.905Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-01T01:20:44.925Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-01T01:20:44.944Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-01T01:20:44.966Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-01T01:20:44.993Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-01T01:20:45.023Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-01T01:20:45.049Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-01T01:20:45.077Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-01T01:20:45.095Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-01T01:20:45.116Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1628 [Pipeline] echo [2024-10-01T01:20:45.139Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1628 [Pipeline] echo [2024-10-01T01:20:45.163Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1628 [Pipeline] echo [2024-10-01T01:20:45.187Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c48630ffad7173b30f018eacc4191c3b5514c038 [Pipeline] echo [2024-10-01T01:20:45.217Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c48630f [Pipeline] echo [2024-10-01T01:20:45.244Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T01:20:45.315Z] provisioning config files... [2024-10-01T01:20:45.330Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config1342136695033636786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:20:45.665Z] ---> ****-login.sh [2024-10-01T01:20:45.665Z] nexus3.edgexfoundry.org:10001 [2024-10-01T01:20:45.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:20:46.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:20:46.187Z] Configure a credential helper to remove this warning. See [2024-10-01T01:20:46.187Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:20:46.187Z] [2024-10-01T01:20:46.187Z] Login Succeeded [2024-10-01T01:20:46.187Z] nexus3.edgexfoundry.org:10002 [2024-10-01T01:20:46.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:20:46.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:20:46.187Z] Configure a credential helper to remove this warning. See [2024-10-01T01:20:46.187Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:20:46.187Z] [2024-10-01T01:20:46.187Z] Login Succeeded [2024-10-01T01:20:46.187Z] nexus3.edgexfoundry.org:10003 [2024-10-01T01:20:46.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:20:46.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:20:46.449Z] Configure a credential helper to remove this warning. See [2024-10-01T01:20:46.449Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:20:46.449Z] [2024-10-01T01:20:46.449Z] Login Succeeded [2024-10-01T01:20:46.449Z] nexus3.edgexfoundry.org:10004 [2024-10-01T01:20:46.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:20:46.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:20:46.449Z] Configure a credential helper to remove this warning. See [2024-10-01T01:20:46.449Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:20:46.449Z] [2024-10-01T01:20:46.449Z] Login Succeeded [2024-10-01T01:20:46.449Z] ****.io [2024-10-01T01:20:46.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:20:46.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:20:46.710Z] Configure a credential helper to remove this warning. See [2024-10-01T01:20:46.710Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:20:46.710Z] [2024-10-01T01:20:46.710Z] Login Succeeded [2024-10-01T01:20:46.710Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T01:20:46.718Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-01T01:20:47.138Z] + git rev-list -1 --merges c48630ffad7173b30f018eacc4191c3b5514c038~1..c48630ffad7173b30f018eacc4191c3b5514c038 [Pipeline] echo [2024-10-01T01:20:47.162Z] -----------> git rev-list -1 --merges c48630ffad7173b30f018eacc4191c3b5514c038~1..c48630ffad7173b30f018eacc4191c3b5514c038 c48630ffad7173b30f018eacc4191c3b5514c038 [false] [Pipeline] sh [2024-10-01T01:20:47.456Z] + git log --format=format:%s -1 c48630ffad7173b30f018eacc4191c3b5514c038 [Pipeline] echo [2024-10-01T01:20:47.476Z] ========================================================= [2024-10-01T01:20:47.476Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-01T01:20:47.476Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T01:20:47.824Z] + git log --format=format:%s -1 c48630ffad7173b30f018eacc4191c3b5514c038 [Pipeline] echo [2024-10-01T01:20:47.838Z] [semverPrep] GIT_COMMIT: c48630ffad7173b30f018eacc4191c3b5514c038, Commit Message: fix: Remove device profile from the cache properly [Pipeline] echo [2024-10-01T01:20:47.856Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-01T01:20:48.236Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-01T01:20:48.236Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-01T01:20:48.236Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-01T01:20:48.236Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-01T01:20:48.236Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-01T01:20:48.236Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-01T01:20:48.236Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:20:48.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T01:20:48.670Z] [2024-10-01T01:20:48.670Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:20:48.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T01:20:48.980Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-01T01:20:48.980Z] b85a868b505f: Pulling fs layer [2024-10-01T01:20:48.980Z] e2be974225ed: Pulling fs layer [2024-10-01T01:20:48.980Z] 339a4e72a1f5: Pulling fs layer [2024-10-01T01:20:48.980Z] 988bab9f4d93: Pulling fs layer [2024-10-01T01:20:48.980Z] 1469e6f7b9e6: Pulling fs layer [2024-10-01T01:20:48.980Z] eaf3925da568: Pulling fs layer [2024-10-01T01:20:48.980Z] bab4dde63d76: Pulling fs layer [2024-10-01T01:20:48.980Z] bde34c3a00c8: Pulling fs layer [2024-10-01T01:20:48.980Z] b352a97aabf1: Pulling fs layer [2024-10-01T01:20:48.980Z] 4872d77fe225: Pulling fs layer [2024-10-01T01:20:48.980Z] 5851b861e8e6: Pulling fs layer [2024-10-01T01:20:48.980Z] eaf3925da568: Waiting [2024-10-01T01:20:48.980Z] bde34c3a00c8: Waiting [2024-10-01T01:20:48.980Z] 988bab9f4d93: Waiting [2024-10-01T01:20:48.980Z] 1469e6f7b9e6: Waiting [2024-10-01T01:20:48.980Z] 4872d77fe225: Waiting [2024-10-01T01:20:48.980Z] bab4dde63d76: Waiting [2024-10-01T01:20:48.980Z] 5851b861e8e6: Waiting [2024-10-01T01:20:48.980Z] e2be974225ed: Download complete [2024-10-01T01:20:48.980Z] 988bab9f4d93: Verifying Checksum [2024-10-01T01:20:48.980Z] 988bab9f4d93: Download complete [2024-10-01T01:20:48.980Z] 1469e6f7b9e6: Verifying Checksum [2024-10-01T01:20:48.980Z] 1469e6f7b9e6: Download complete [2024-10-01T01:20:49.239Z] eaf3925da568: Verifying Checksum [2024-10-01T01:20:49.239Z] eaf3925da568: Download complete [2024-10-01T01:20:49.239Z] 339a4e72a1f5: Verifying Checksum [2024-10-01T01:20:49.239Z] 339a4e72a1f5: Download complete [2024-10-01T01:20:49.239Z] bde34c3a00c8: Verifying Checksum [2024-10-01T01:20:49.239Z] b352a97aabf1: Download complete [2024-10-01T01:20:49.239Z] 4872d77fe225: Download complete [2024-10-01T01:20:49.239Z] 5851b861e8e6: Verifying Checksum [2024-10-01T01:20:49.239Z] 5851b861e8e6: Download complete [2024-10-01T01:20:49.239Z] b85a868b505f: Verifying Checksum [2024-10-01T01:20:49.239Z] b85a868b505f: Download complete [2024-10-01T01:20:49.498Z] bab4dde63d76: Verifying Checksum [2024-10-01T01:20:49.498Z] bab4dde63d76: Download complete [2024-10-01T01:20:50.436Z] b85a868b505f: Pull complete [2024-10-01T01:20:50.436Z] e2be974225ed: Pull complete [2024-10-01T01:20:51.005Z] 339a4e72a1f5: Pull complete [2024-10-01T01:20:51.005Z] 988bab9f4d93: Pull complete [2024-10-01T01:20:51.266Z] 1469e6f7b9e6: Pull complete [2024-10-01T01:20:51.266Z] eaf3925da568: Pull complete [2024-10-01T01:20:53.169Z] bab4dde63d76: Pull complete [2024-10-01T01:20:53.169Z] bde34c3a00c8: Pull complete [2024-10-01T01:20:53.169Z] b352a97aabf1: Pull complete [2024-10-01T01:20:53.169Z] 4872d77fe225: Pull complete [2024-10-01T01:20:53.430Z] 5851b861e8e6: Pull complete [2024-10-01T01:20:53.430Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-01T01:20:53.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T01:20:53.430Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:20:53.581Z] prd-ubuntu20.04-docker-8c-8g-12170 does not seem to be running inside a container [2024-10-01T01:20:53.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@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-devops/py-git-semver:0.1.4 cat [2024-10-01T01:20:57.637Z] $ docker top 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 -eo pid,comm [2024-10-01T01:20:57.689Z] 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-10-01T01:20:57.689Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-01T01:20:57.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-01T01:20:57.752Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-01T01:20:57.864Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-01T01:20:57.865Z] $ docker exec 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 ssh-agent [2024-10-01T01:20:57.977Z] SSH_AUTH_SOCK=/tmp/ssh-FVOBrEkN15dw/agent.32 [2024-10-01T01:20:57.977Z] SSH_AGENT_PID=38 [2024-10-01T01:20:57.985Z] Running ssh-add (command line suppressed) [2024-10-01T01:20:58.081Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_6261814888939775771.key (/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_6261814888939775771.key) [2024-10-01T01:20:58.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-01T01:20:58.389Z] + git tag --points-at HEAD [Pipeline] } [2024-10-01T01:20:58.399Z] $ docker exec --env ******** --env ******** 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 ssh-agent -k [2024-10-01T01:20:58.486Z] unset SSH_AUTH_SOCK; [2024-10-01T01:20:58.487Z] unset SSH_AGENT_PID; [2024-10-01T01:20:58.487Z] echo Agent pid 38 killed; [2024-10-01T01:20:58.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-01T01:20:58.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-01T01:20:58.546Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-01T01:20:58.656Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-01T01:20:58.657Z] $ docker exec 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 ssh-agent [2024-10-01T01:20:58.767Z] SSH_AUTH_SOCK=/tmp/ssh-cPEsD2iHRjNQ/agent.71 [2024-10-01T01:20:58.767Z] SSH_AGENT_PID=77 [2024-10-01T01:20:58.772Z] Running ssh-add (command line suppressed) [2024-10-01T01:20:58.868Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_3278980345773384478.key (/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_3278980345773384478.key) [2024-10-01T01:20:58.884Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-01T01:20:59.183Z] + git semver init [2024-10-01T01:20:59.443Z] 2024-10-01 01:20:59,377 [run_init] DEBUG init version:0.0.0 force:False [2024-10-01T01:20:59.443Z] 2024-10-01 01:20:59,378 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver [2024-10-01T01:20:59.443Z] 2024-10-01 01:20:59,378 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver [2024-10-01T01:20:59.443Z] 2024-10-01 01:20:59,379 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628, universal_newlines=False, shell=None, istream=None) [2024-10-01T01:21:01.995Z] 2024-10-01 01:21:01,368 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.git/info/exclude [2024-10-01T01:21:01.995Z] 2024-10-01 01:21:01,369 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 with force:False [2024-10-01T01:21:01.995Z] 2024-10-01 01:21:01,369 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 [2024-10-01T01:21:01.995Z] 2024-10-01 01:21:01,373 [execute] INFO git cat-file --batch-check [2024-10-01T01:21:01.995Z] 2024-10-01 01:21:01,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver, universal_newlines=False, shell=None, istream=) [2024-10-01T01:21:01.995Z] 2024-10-01 01:21:01,379 [execute] INFO git cat-file --batch [2024-10-01T01:21:01.995Z] 2024-10-01 01:21:01,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver, universal_newlines=False, shell=None, istream=) [2024-10-01T01:21:01.995Z] 2024-10-01 01:21:01,384 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 [2024-10-01T01:21:01.995Z] 0.0.0 [Pipeline] } [2024-10-01T01:21:02.007Z] $ docker exec --env ******** --env ******** 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 ssh-agent -k [2024-10-01T01:21:02.102Z] unset SSH_AUTH_SOCK; [2024-10-01T01:21:02.103Z] unset SSH_AGENT_PID; [2024-10-01T01:21:02.103Z] echo Agent pid 77 killed; [2024-10-01T01:21:02.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-01T01:21:02.462Z] + git semver [Pipeline] } [2024-10-01T01:21:02.735Z] $ docker stop --time=1 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 [2024-10-01T01:21:04.028Z] $ docker rm -f --volumes 069f3684dd0ffb00d4e9dae26e57b853e984ed1a6012b0916e5e300fe71a4fd0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T01:21:04.384Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-01T01:21:04.630Z] Stashed 1 file(s) [Pipeline] echo [2024-10-01T01:21:04.635Z] [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-10-01T01:21:04.812Z] provisioning config files... [2024-10-01T01:21:04.822Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config15988891865732380815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:21:05.121Z] ---> ****-login.sh [2024-10-01T01:21:05.121Z] nexus3.edgexfoundry.org:10001 [2024-10-01T01:21:05.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:21:05.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:21:05.121Z] Configure a credential helper to remove this warning. See [2024-10-01T01:21:05.121Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:21:05.121Z] [2024-10-01T01:21:05.121Z] Login Succeeded [2024-10-01T01:21:05.122Z] nexus3.edgexfoundry.org:10002 [2024-10-01T01:21:05.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:21:05.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:21:05.122Z] Configure a credential helper to remove this warning. See [2024-10-01T01:21:05.122Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:21:05.122Z] [2024-10-01T01:21:05.122Z] Login Succeeded [2024-10-01T01:21:05.122Z] nexus3.edgexfoundry.org:10003 [2024-10-01T01:21:05.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:21:05.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:21:05.383Z] Configure a credential helper to remove this warning. See [2024-10-01T01:21:05.383Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:21:05.383Z] [2024-10-01T01:21:05.383Z] Login Succeeded [2024-10-01T01:21:05.383Z] nexus3.edgexfoundry.org:10004 [2024-10-01T01:21:05.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:21:05.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:21:05.383Z] Configure a credential helper to remove this warning. See [2024-10-01T01:21:05.383Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:21:05.383Z] [2024-10-01T01:21:05.383Z] Login Succeeded [2024-10-01T01:21:05.383Z] ****.io [2024-10-01T01:21:05.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:21:05.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:21:05.644Z] Configure a credential helper to remove this warning. See [2024-10-01T01:21:05.644Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:21:05.644Z] [2024-10-01T01:21:05.644Z] Login Succeeded [2024-10-01T01:21:05.644Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T01:21:05.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-01T01:21:05.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T01:21:05.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T01:21:05.811Z] ========================================================= [2024-10-01T01:21:05.811Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-10-01T01:21:05.811Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:21:06.179Z] + 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-10-01T01:21:06.179Z] Sending build context to Docker daemon 25.34MB [2024-10-01T01:21:06.179Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T01:21:06.180Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-01T01:21:06.464Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-01T01:21:06.464Z] 619be1103602: Pulling fs layer [2024-10-01T01:21:06.464Z] 7862e08f4a3e: Pulling fs layer [2024-10-01T01:21:06.464Z] 5df492c9dc93: Pulling fs layer [2024-10-01T01:21:06.464Z] 7629e6793208: Pulling fs layer [2024-10-01T01:21:06.464Z] 4f4fb700ef54: Pulling fs layer [2024-10-01T01:21:06.464Z] fb5054dd5b73: Pulling fs layer [2024-10-01T01:21:06.464Z] eeca6798cff9: Pulling fs layer [2024-10-01T01:21:06.464Z] aa269ceb94a6: Pulling fs layer [2024-10-01T01:21:06.464Z] ada007ff1a6a: Pulling fs layer [2024-10-01T01:21:06.464Z] 7629e6793208: Waiting [2024-10-01T01:21:06.464Z] 4f4fb700ef54: Waiting [2024-10-01T01:21:06.464Z] fb5054dd5b73: Waiting [2024-10-01T01:21:06.464Z] eeca6798cff9: Waiting [2024-10-01T01:21:06.464Z] aa269ceb94a6: Waiting [2024-10-01T01:21:06.464Z] ada007ff1a6a: Waiting [2024-10-01T01:21:06.464Z] 7862e08f4a3e: Verifying Checksum [2024-10-01T01:21:06.464Z] 7862e08f4a3e: Download complete [2024-10-01T01:21:06.464Z] 7629e6793208: Verifying Checksum [2024-10-01T01:21:06.464Z] 7629e6793208: Download complete [2024-10-01T01:21:06.464Z] 4f4fb700ef54: Verifying Checksum [2024-10-01T01:21:06.464Z] 4f4fb700ef54: Download complete [2024-10-01T01:21:06.464Z] fb5054dd5b73: Download complete [2024-10-01T01:21:06.464Z] 619be1103602: Verifying Checksum [2024-10-01T01:21:06.464Z] 619be1103602: Download complete [2024-10-01T01:21:06.464Z] eeca6798cff9: Verifying Checksum [2024-10-01T01:21:06.464Z] eeca6798cff9: Download complete [2024-10-01T01:21:06.725Z] 619be1103602: Pull complete [2024-10-01T01:21:06.725Z] ada007ff1a6a: Verifying Checksum [2024-10-01T01:21:06.725Z] ada007ff1a6a: Download complete [2024-10-01T01:21:06.725Z] 7862e08f4a3e: Pull complete [2024-10-01T01:21:06.985Z] 5df492c9dc93: Verifying Checksum [2024-10-01T01:21:06.985Z] 5df492c9dc93: Download complete [2024-10-01T01:21:07.243Z] aa269ceb94a6: Verifying Checksum [2024-10-01T01:21:07.243Z] aa269ceb94a6: Download complete [2024-10-01T01:21:10.530Z] 5df492c9dc93: Pull complete [2024-10-01T01:21:10.530Z] 7629e6793208: Pull complete [2024-10-01T01:21:10.530Z] 4f4fb700ef54: Pull complete [2024-10-01T01:21:10.530Z] fb5054dd5b73: Pull complete [2024-10-01T01:21:10.530Z] eeca6798cff9: Pull complete [2024-10-01T01:21:13.066Z] aa269ceb94a6: Pull complete [2024-10-01T01:21:13.066Z] ada007ff1a6a: Pull complete [2024-10-01T01:21:13.066Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-10-01T01:21:13.066Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-01T01:21:13.066Z] ---> f489d0715acc [2024-10-01T01:21:13.066Z] Step 3/10 : ARG MAKE=make build [2024-10-01T01:21:19.760Z] Still waiting to schedule task [2024-10-01T01:21:19.760Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-12168’ is offline [2024-10-01T01:21:21.197Z] ---> Running in 0561650ceebb [2024-10-01T01:21:21.458Z] Removing intermediate container 0561650ceebb [2024-10-01T01:21:21.458Z] ---> 77dfdc4aee06 [2024-10-01T01:21:21.458Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-01T01:21:21.718Z] ---> Running in 0b6f1dc3759c [2024-10-01T01:21:21.978Z] Removing intermediate container 0b6f1dc3759c [2024-10-01T01:21:21.978Z] ---> 493ff3808195 [2024-10-01T01:21:21.978Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T01:21:22.238Z] ---> Running in 2b5c6f34b717 [2024-10-01T01:21:22.498Z] Removing intermediate container 2b5c6f34b717 [2024-10-01T01:21:22.498Z] ---> 48a46211dc77 [2024-10-01T01:21:22.498Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-01T01:21:22.498Z] ---> Running in 3a5982d0db1d [2024-10-01T01:21:22.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T01:21:23.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T01:21:23.277Z] OK: 264 MiB in 52 packages [2024-10-01T01:21:23.849Z] Removing intermediate container 3a5982d0db1d [2024-10-01T01:21:23.849Z] ---> 6b65e3488bb6 [2024-10-01T01:21:23.849Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-01T01:21:24.109Z] ---> 775a83244ce4 [2024-10-01T01:21:24.109Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T01:21:24.109Z] ---> Running in 8dd56750eb8b [2024-10-01T01:22:31.811Z] Removing intermediate container 8dd56750eb8b [2024-10-01T01:22:31.811Z] ---> f3f953afe391 [2024-10-01T01:22:31.811Z] Step 9/10 : COPY . . [2024-10-01T01:22:31.811Z] ---> 648e4a702840 [2024-10-01T01:22:31.811Z] Step 10/10 : RUN ${MAKE} [2024-10-01T01:22:31.811Z] ---> Running in f928cb9d393b [2024-10-01T01:22:31.811Z] noop [2024-10-01T01:22:31.811Z] Removing intermediate container f928cb9d393b [2024-10-01T01:22:31.811Z] ---> 9824ea923490 [2024-10-01T01:22:31.811Z] Successfully built 9824ea923490 [2024-10-01T01:22:31.811Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:22:32.152Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-01T01:22:32.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:22:32.239Z] prd-ubuntu20.04-docker-8c-8g-12170 does not seem to be running inside a container [2024-10-01T01:22:32.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-01T01:22:32.622Z] $ docker top ce1902c9e3cd67813c17aa0861b71fa53e9dd42072226c6b677c9a4988d41e3d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T01:22:32.971Z] + go version [2024-10-01T01:22:32.971Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-10-01T01:22:32.983Z] $ docker stop --time=1 ce1902c9e3cd67813c17aa0861b71fa53e9dd42072226c6b677c9a4988d41e3d [2024-10-01T01:22:34.306Z] $ docker rm -f --volumes ce1902c9e3cd67813c17aa0861b71fa53e9dd42072226c6b677c9a4988d41e3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:22:34.778Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-01T01:22:34.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:22:34.861Z] prd-ubuntu20.04-docker-8c-8g-12170 does not seem to be running inside a container [2024-10-01T01:22:34.891Z] $ 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-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-01T01:22:35.213Z] $ docker top 441fc2f5d1498f14b68b697ce342c78c32d920456daab207830facbccd59a4d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T01:22:35.565Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1628 [Pipeline] fileExists [Pipeline] sh [2024-10-01T01:22:35.869Z] + make test [2024-10-01T01:22:35.869Z] go test -race -coverprofile=coverage.out ./... [2024-10-01T01:22:42.444Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-01T01:22:46.179Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12171 in /w/workspace/gexfoundry_device-sdk-go_PR-1628 [Pipeline] { [Pipeline] ws [2024-10-01T01:22:46.199Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-10-01T01:22:49.250Z] The recommended git tool is: git [2024-10-01T01:22:53.612Z] using credential edgex-jenkins-ssh [2024-10-01T01:22:53.634Z] Cloning the remote Git repository [2024-10-01T01:22:53.673Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-01T01:22:53.761Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-10-01T01:22:53.895Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-01T01:22:53.896Z] > git --version # timeout=10 [2024-10-01T01:22:53.914Z] > git --version # 'git version 2.25.1' [2024-10-01T01:22:53.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T01:22:54.049Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-01T01:22:57.381Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-01T01:22:57.410Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-01T01:22:58.882Z] Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit c48630ffad7173b30f018eacc4191c3b5514c038 [2024-10-01T01:22:59.200Z] Merge succeeded, producing c48630ffad7173b30f018eacc4191c3b5514c038 [2024-10-01T01:22:59.201Z] Checking out Revision c48630ffad7173b30f018eacc4191c3b5514c038 (PR-1628) [2024-10-01T01:22:58.211Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-01T01:22:58.247Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-01T01:22:58.248Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T01:22:58.270Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1628/head:refs/remotes/origin/PR-1628 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-01T01:22:58.895Z] > git config core.sparsecheckout # timeout=10 [2024-10-01T01:22:58.983Z] > git checkout -f c48630ffad7173b30f018eacc4191c3b5514c038 # timeout=10 [2024-10-01T01:22:59.081Z] > git remote # timeout=10 [2024-10-01T01:22:59.102Z] > git config --get remote.origin.url # timeout=10 [2024-10-01T01:22:59.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T01:22:59.144Z] > git merge 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 [2024-10-01T01:22:59.177Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-01T01:22:59.206Z] > git config core.sparsecheckout # timeout=10 [2024-10-01T01:22:59.220Z] > git checkout -f c48630ffad7173b30f018eacc4191c3b5514c038 # timeout=10 [2024-10-01T01:23:02.799Z] Commit message: "fix: Remove device profile from the cache properly" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T01:23:05.006Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-01T01:23:05.007Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-01T01:23:05.007Z] Dload Upload Total Spent Left Speed [2024-10-01T01:23:05.007Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 68234 0 --:--:-- --:--:-- --:--:-- 68234 [Pipeline] sh [2024-10-01T01:23:05.343Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-01T01:23:05.689Z] + + sudo tee /etc/docker/daemon.newsudo [2024-10-01T01:23:05.690Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-01T01:23:05.690Z] { [2024-10-01T01:23:05.690Z] "registry-mirrors": [ [2024-10-01T01:23:05.690Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-01T01:23:05.690Z] ], [2024-10-01T01:23:05.690Z] "bip": "10.250.0.254/24", [2024-10-01T01:23:05.690Z] "hosts": [ [2024-10-01T01:23:05.690Z] "tcp://0.0.0.0:5555", [2024-10-01T01:23:05.690Z] "unix:///var/run/docker.sock" [2024-10-01T01:23:05.690Z] ], [2024-10-01T01:23:05.690Z] "mtu": 1458, [2024-10-01T01:23:05.690Z] "selinux-enabled": true, [2024-10-01T01:23:05.690Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-01T01:23:05.690Z] } [Pipeline] sh [2024-10-01T01:23:06.016Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-01T01:23:06.360Z] + sudo service docker restart [2024-10-01T01:23:08.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-10-01T01:23:08.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-10-01T01:23:08.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-10-01T01:23:08.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-10-01T01:23:08.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-10-01T01:23:08.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-10-01T01:23:08.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-10-01T01:23:08.970Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.027s coverage: 26.0% of statements [2024-10-01T01:23:08.970Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.036s coverage: 79.4% of statements [2024-10-01T01:23:08.970Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements [2024-10-01T01:23:08.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-10-01T01:23:08.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-10-01T01:23:08.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-01T01:23:08.970Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-10-01T01:23:09.914Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.068s coverage: 45.2% of statements [2024-10-01T01:23:10.173Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-10-01T01:23:12.717Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.1% of statements [2024-10-01T01:23:12.717Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.325s coverage: 44.6% of statements [2024-10-01T01:23:12.717Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.047s coverage: 68.5% of statements [2024-10-01T01:23:12.717Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.099s coverage: 89.2% of statements [2024-10-01T01:23:12.717Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.3% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T01:23:24.628Z] provisioning config files... [2024-10-01T01:23:24.650Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5733209554516913581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:23:25.085Z] ---> ****-login.sh [2024-10-01T01:23:25.085Z] nexus3.edgexfoundry.org:10001 [2024-10-01T01:23:25.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:23:25.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:23:25.623Z] Configure a credential helper to remove this warning. See [2024-10-01T01:23:25.623Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:23:25.623Z] [2024-10-01T01:23:25.623Z] Login Succeeded [2024-10-01T01:23:25.623Z] nexus3.edgexfoundry.org:10002 [2024-10-01T01:23:25.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:23:25.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:23:25.894Z] Configure a credential helper to remove this warning. See [2024-10-01T01:23:25.894Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:23:25.894Z] [2024-10-01T01:23:25.894Z] Login Succeeded [2024-10-01T01:23:26.166Z] nexus3.edgexfoundry.org:10003 [2024-10-01T01:23:26.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:23:26.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:23:26.438Z] Configure a credential helper to remove this warning. See [2024-10-01T01:23:26.439Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:23:26.439Z] [2024-10-01T01:23:26.439Z] Login Succeeded [2024-10-01T01:23:26.439Z] nexus3.edgexfoundry.org:10004 [2024-10-01T01:23:26.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:23:26.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:23:26.707Z] Configure a credential helper to remove this warning. See [2024-10-01T01:23:26.707Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:23:26.707Z] [2024-10-01T01:23:26.707Z] Login Succeeded [2024-10-01T01:23:26.707Z] ****.io [2024-10-01T01:23:26.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T01:23:27.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T01:23:27.241Z] Configure a credential helper to remove this warning. See [2024-10-01T01:23:27.241Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T01:23:27.241Z] [2024-10-01T01:23:27.241Z] Login Succeeded [2024-10-01T01:23:27.241Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T01:23:27.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-01T01:23:27.565Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T01:23:27.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T01:23:27.607Z] ========================================================= [2024-10-01T01:23:27.607Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-10-01T01:23:27.607Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:23:27.973Z] + 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-10-01T01:23:28.561Z] Sending build context to Docker daemon 13.13MB [2024-10-01T01:23:28.561Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T01:23:28.561Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-01T01:23:28.561Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-01T01:23:28.561Z] c6b39de5b339: Pulling fs layer [2024-10-01T01:23:28.561Z] a69c41024577: Pulling fs layer [2024-10-01T01:23:28.561Z] d6de4b400683: Pulling fs layer [2024-10-01T01:23:28.561Z] 35cb2a7552d0: Pulling fs layer [2024-10-01T01:23:28.561Z] 4f4fb700ef54: Pulling fs layer [2024-10-01T01:23:28.561Z] 464afbd9ba4c: Pulling fs layer [2024-10-01T01:23:28.561Z] 00f215d4a9da: Pulling fs layer [2024-10-01T01:23:28.561Z] d496ad576159: Pulling fs layer [2024-10-01T01:23:28.561Z] 35cb2a7552d0: Waiting [2024-10-01T01:23:28.561Z] 4f4fb700ef54: Waiting [2024-10-01T01:23:28.561Z] 00f215d4a9da: Waiting [2024-10-01T01:23:28.561Z] d496ad576159: Waiting [2024-10-01T01:23:28.831Z] a69c41024577: Verifying Checksum [2024-10-01T01:23:28.831Z] a69c41024577: Download complete [2024-10-01T01:23:28.831Z] 35cb2a7552d0: Verifying Checksum [2024-10-01T01:23:28.831Z] 35cb2a7552d0: Download complete [2024-10-01T01:23:28.831Z] 4f4fb700ef54: Verifying Checksum [2024-10-01T01:23:28.831Z] 4f4fb700ef54: Download complete [2024-10-01T01:23:28.831Z] 464afbd9ba4c: Verifying Checksum [2024-10-01T01:23:28.831Z] 464afbd9ba4c: Download complete [2024-10-01T01:23:28.831Z] c6b39de5b339: Verifying Checksum [2024-10-01T01:23:28.831Z] c6b39de5b339: Download complete [2024-10-01T01:23:29.102Z] d496ad576159: Verifying Checksum [2024-10-01T01:23:29.102Z] d496ad576159: Download complete [2024-10-01T01:23:29.692Z] c6b39de5b339: Pull complete [2024-10-01T01:23:30.280Z] a69c41024577: Pull complete [2024-10-01T01:23:30.869Z] d6de4b400683: Verifying Checksum [2024-10-01T01:23:30.869Z] d6de4b400683: Download complete [2024-10-01T01:23:31.838Z] 00f215d4a9da: Verifying Checksum [2024-10-01T01:23:31.838Z] 00f215d4a9da: Download complete [2024-10-01T01:23:44.166Z] d6de4b400683: Pull complete [2024-10-01T01:23:44.166Z] 35cb2a7552d0: Pull complete [2024-10-01T01:23:44.166Z] 4f4fb700ef54: Pull complete [2024-10-01T01:23:44.166Z] 464afbd9ba4c: Pull complete [2024-10-01T01:23:44.794Z] GO111MODULE=on go vet ./... [2024-10-01T01:23:47.324Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-01T01:23:47.324Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-01T01:23:47.324Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-01T01:23:47.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-01T01:23:47.356Z] $ docker stop --time=1 441fc2f5d1498f14b68b697ce342c78c32d920456daab207830facbccd59a4d8 [2024-10-01T01:23:52.368Z] 00f215d4a9da: Pull complete [2024-10-01T01:23:53.775Z] d496ad576159: Pull complete [2024-10-01T01:23:53.775Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-10-01T01:23:53.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-01T01:23:53.775Z] ---> f246e2811388 [2024-10-01T01:23:53.775Z] Step 3/10 : ARG MAKE=make build [2024-10-01T01:23:54.448Z] $ docker rm -f --volumes 441fc2f5d1498f14b68b697ce342c78c32d920456daab207830facbccd59a4d8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T01:23:55.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-01T01:23:55.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-01T01:23:55.717Z] ---> Running in d0d118757d23 [2024-10-01T01:23:55.717Z] Removing intermediate container d0d118757d23 [2024-10-01T01:23:55.717Z] ---> f193d8ea2ec4 [2024-10-01T01:23:55.717Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-01T01:23:55.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-01T01:23:55.990Z] ---> Running in 81266922051e [2024-10-01T01:23:56.043Z] + ls -al . [2024-10-01T01:23:56.043Z] total 384 [2024-10-01T01:23:56.043Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 1 01:22 . [2024-10-01T01:23:56.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:20 .. [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 01:20 .dockerignore [2024-10-01T01:23:56.043Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 01:23 .git [2024-10-01T01:23:56.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:20 .github [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 1 01:20 .gitignore [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 1 01:20 .golangci.yml [2024-10-01T01:23:56.043Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 01:21 .semver [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 1 01:20 CHANGELOG.md [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 01:20 GOVERNANCE.md [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 1 01:20 Jenkinsfile [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 1 01:20 LICENSE [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 1 01:20 Makefile [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 1 01:20 OWNERS.md [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 1 01:20 README.md [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 01:21 VERSION [2024-10-01T01:23:56.043Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 01:20 bin [2024-10-01T01:23:56.043Z] -rw-r--r-- 1 jenkins jenkins 128347 Oct 1 01:23 coverage.out [2024-10-01T01:23:56.043Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 1 01:20 example [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 6985 Oct 1 01:20 go.mod [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 101462 Oct 1 01:20 go.sum [2024-10-01T01:23:56.043Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 1 01:20 internal [2024-10-01T01:23:56.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:20 openapi [2024-10-01T01:23:56.043Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 1 01:20 pkg [2024-10-01T01:23:56.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:20 snap [2024-10-01T01:23:56.043Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 1 01:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:23:56.262Z] Removing intermediate container 81266922051e [2024-10-01T01:23:56.262Z] ---> fa33886a5ed6 [2024-10-01T01:23:56.262Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T01:23:56.262Z] ---> Running in fd986493269c [2024-10-01T01:23:56.364Z] + 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=c48630ffad7173b30f018eacc4191c3b5514c038 --label arch=amd64 --label version=0.0.0 . [2024-10-01T01:23:56.364Z] Sending build context to Docker daemon 25.47MB [2024-10-01T01:23:56.364Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T01:23:56.364Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-01T01:23:56.364Z] ---> 9824ea923490 [2024-10-01T01:23:56.364Z] Step 3/24 : ARG MAKE=make build [2024-10-01T01:23:56.529Z] Removing intermediate container fd986493269c [2024-10-01T01:23:56.529Z] ---> ced30eaf3599 [2024-10-01T01:23:56.529Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-01T01:23:56.795Z] ---> Running in 416bbb090387 [2024-10-01T01:23:56.931Z] ---> Running in 567fbf15f90f [2024-10-01T01:23:57.193Z] Removing intermediate container 567fbf15f90f [2024-10-01T01:23:57.193Z] ---> 28c6cbe730f4 [2024-10-01T01:23:57.193Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-01T01:23:57.193Z] ---> Running in 34e82a6071ab [2024-10-01T01:23:57.193Z] Removing intermediate container 34e82a6071ab [2024-10-01T01:23:57.193Z] ---> 3756e8c29292 [2024-10-01T01:23:57.193Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T01:23:57.193Z] ---> Running in 74fb77964743 [2024-10-01T01:23:57.193Z] Removing intermediate container 74fb77964743 [2024-10-01T01:23:57.193Z] ---> d30813c9d9c9 [2024-10-01T01:23:57.193Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-01T01:23:57.193Z] ---> Running in ebffc5565d50 [2024-10-01T01:23:57.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T01:23:57.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T01:23:57.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T01:23:57.974Z] OK: 264 MiB in 52 packages [2024-10-01T01:23:58.232Z] Removing intermediate container ebffc5565d50 [2024-10-01T01:23:58.232Z] ---> 7dbb324afdeb [2024-10-01T01:23:58.232Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-01T01:23:58.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T01:23:58.491Z] ---> a7c797f819eb [2024-10-01T01:23:58.491Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T01:23:58.491Z] ---> Running in 9e803749aa7f [2024-10-01T01:23:59.062Z] Removing intermediate container 9e803749aa7f [2024-10-01T01:23:59.062Z] ---> 0de256bd8d16 [2024-10-01T01:23:59.062Z] Step 9/24 : COPY . . [2024-10-01T01:23:59.289Z] OK: 266 MiB in 52 packages [2024-10-01T01:23:59.873Z] Removing intermediate container 416bbb090387 [2024-10-01T01:23:59.873Z] ---> 3241aca07300 [2024-10-01T01:23:59.873Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-01T01:24:00.479Z] ---> e593138f2ee6 [2024-10-01T01:24:00.479Z] Step 10/24 : RUN ${MAKE} [2024-10-01T01:24:00.479Z] ---> Running in c6468c02a41e [2024-10-01T01:24:00.479Z] 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-10-01T01:24:00.479Z] ---> 4e83072bcdc9 [2024-10-01T01:24:00.479Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T01:24:00.479Z] ---> Running in bfe5082c5a1a [2024-10-01T01:24:32.606Z] Removing intermediate container c6468c02a41e [2024-10-01T01:24:32.606Z] ---> e64d2ce12960 [2024-10-01T01:24:32.606Z] Step 11/24 : FROM alpine:3.18 [2024-10-01T01:24:32.606Z] 3.18: Pulling from library/alpine [2024-10-01T01:24:32.606Z] 1cc3d825d8b2: Pulling fs layer [2024-10-01T01:24:32.606Z] 1cc3d825d8b2: Verifying Checksum [2024-10-01T01:24:32.606Z] 1cc3d825d8b2: Download complete [2024-10-01T01:24:32.606Z] 1cc3d825d8b2: Pull complete [2024-10-01T01:24:32.606Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-01T01:24:32.606Z] Status: Downloaded newer image for alpine:3.18 [2024-10-01T01:24:32.606Z] ---> 2c64cf60f6f0 [2024-10-01T01:24:32.606Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-01T01:24:32.864Z] ---> Running in 530dd17edafb [2024-10-01T01:24:32.864Z] Removing intermediate container 530dd17edafb [2024-10-01T01:24:32.864Z] ---> 5e0eae80d2ad [2024-10-01T01:24:32.864Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-01T01:24:32.864Z] ---> Running in 056862b97519 [2024-10-01T01:24:33.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T01:24:33.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T01:24:33.383Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-01T01:24:33.383Z] Executing busybox-1.36.1-r7.trigger [2024-10-01T01:24:33.383Z] OK: 7 MiB in 16 packages [2024-10-01T01:24:33.949Z] Removing intermediate container 056862b97519 [2024-10-01T01:24:33.949Z] ---> 40f36458c4a0 [2024-10-01T01:24:33.949Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-01T01:24:33.949Z] ---> Running in ace7ff48134b [2024-10-01T01:24:34.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T01:24:34.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T01:24:34.467Z] OK: 7 MiB in 16 packages [2024-10-01T01:24:34.727Z] Removing intermediate container ace7ff48134b [2024-10-01T01:24:34.727Z] ---> 09f7b29721ae [2024-10-01T01:24:34.727Z] Step 15/24 : WORKDIR / [2024-10-01T01:24:34.727Z] ---> Running in d74c65605ac2 [2024-10-01T01:24:34.727Z] Removing intermediate container d74c65605ac2 [2024-10-01T01:24:34.727Z] ---> 89984e500396 [2024-10-01T01:24:34.727Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-01T01:24:34.986Z] ---> 9a0528fa04df [2024-10-01T01:24:34.986Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-01T01:24:36.891Z] ---> 172af6dbdab3 [2024-10-01T01:24:36.891Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-01T01:24:36.891Z] ---> 12f07750dd36 [2024-10-01T01:24:36.891Z] Step 19/24 : EXPOSE 59999 [2024-10-01T01:24:36.891Z] ---> Running in 6078c758027c [2024-10-01T01:24:36.891Z] Removing intermediate container 6078c758027c [2024-10-01T01:24:36.891Z] ---> 48afe52c836b [2024-10-01T01:24:36.891Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-01T01:24:36.891Z] ---> Running in e6c110f628dc [2024-10-01T01:24:37.150Z] Removing intermediate container e6c110f628dc [2024-10-01T01:24:37.150Z] ---> 0728d9858eb9 [2024-10-01T01:24:37.150Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-01T01:24:37.150Z] ---> Running in befe7e5e2974 [2024-10-01T01:24:37.150Z] Removing intermediate container befe7e5e2974 [2024-10-01T01:24:37.150Z] ---> dcdfc5562e54 [2024-10-01T01:24:37.150Z] Step 22/24 : LABEL arch=amd64 [2024-10-01T01:24:37.150Z] ---> Running in 898189ca1734 [2024-10-01T01:24:37.150Z] Removing intermediate container 898189ca1734 [2024-10-01T01:24:37.150Z] ---> ff5e8694cf52 [2024-10-01T01:24:37.150Z] Step 23/24 : LABEL git_sha=c48630ffad7173b30f018eacc4191c3b5514c038 [2024-10-01T01:24:37.150Z] ---> Running in 792b6adc7402 [2024-10-01T01:24:37.417Z] Removing intermediate container 792b6adc7402 [2024-10-01T01:24:37.417Z] ---> fd8af78ed8be [2024-10-01T01:24:37.417Z] Step 24/24 : LABEL version=0.0.0 [2024-10-01T01:24:37.417Z] ---> Running in f63d26d630c3 [2024-10-01T01:24:37.417Z] Removing intermediate container f63d26d630c3 [2024-10-01T01:24:37.417Z] ---> 3ac079b88b49 [2024-10-01T01:24:37.417Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-01T01:24:37.417Z] Successfully built 3ac079b88b49 [2024-10-01T01:24:37.417Z] 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-10-01T01:24:37.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T01:24:37.925Z] [2024-10-01T01:24:37.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:24:38.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T01:24:38.227Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-01T01:24:38.227Z] 5eb5b503b376: Pulling fs layer [2024-10-01T01:24:38.227Z] 5c69ac0246d0: Pulling fs layer [2024-10-01T01:24:38.227Z] ec43610c2a17: Pulling fs layer [2024-10-01T01:24:38.227Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-01T01:24:38.227Z] 33b1e0a273af: Pulling fs layer [2024-10-01T01:24:38.227Z] 5d3b04190fa2: Pulling fs layer [2024-10-01T01:24:38.227Z] 3a2ae6a8a46f: Waiting [2024-10-01T01:24:38.227Z] 33b1e0a273af: Waiting [2024-10-01T01:24:38.227Z] 2f39f015ded8: Pulling fs layer [2024-10-01T01:24:38.227Z] 5d3b04190fa2: Waiting [2024-10-01T01:24:38.227Z] 2f39f015ded8: Waiting [2024-10-01T01:24:38.227Z] 5c69ac0246d0: Download complete [2024-10-01T01:24:38.227Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-01T01:24:38.227Z] 3a2ae6a8a46f: Download complete [2024-10-01T01:24:38.227Z] 33b1e0a273af: Verifying Checksum [2024-10-01T01:24:38.227Z] 33b1e0a273af: Download complete [2024-10-01T01:24:38.227Z] 5d3b04190fa2: Verifying Checksum [2024-10-01T01:24:38.227Z] 5d3b04190fa2: Download complete [2024-10-01T01:24:38.486Z] ec43610c2a17: Verifying Checksum [2024-10-01T01:24:38.486Z] ec43610c2a17: Download complete [2024-10-01T01:24:38.486Z] 5eb5b503b376: Verifying Checksum [2024-10-01T01:24:38.486Z] 5eb5b503b376: Download complete [2024-10-01T01:24:39.059Z] 2f39f015ded8: Download complete [2024-10-01T01:24:39.627Z] 5eb5b503b376: Pull complete [2024-10-01T01:24:39.885Z] 5c69ac0246d0: Pull complete [2024-10-01T01:24:40.144Z] ec43610c2a17: Pull complete [2024-10-01T01:24:40.145Z] 3a2ae6a8a46f: Pull complete [2024-10-01T01:24:40.403Z] 33b1e0a273af: Pull complete [2024-10-01T01:24:40.662Z] 5d3b04190fa2: Pull complete [2024-10-01T01:24:44.854Z] 2f39f015ded8: Pull complete [2024-10-01T01:24:44.854Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-01T01:24:44.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T01:24:44.854Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:24:44.955Z] prd-ubuntu20.04-docker-8c-8g-12170 does not seem to be running inside a container [2024-10-01T01:24:44.988Z] $ 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-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-01T01:24:50.130Z] $ docker top 6ab5e86f96b40d2b3e86bd0382ce0e8315240baafc5dec0a2ce6efbfae5827c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:24:50.540Z] ---> job-cost.sh [2024-10-01T01:24:50.540Z] lf-activate-venv: SKIPPING [2024-10-01T01:24:50.540Z] INFO: No Stack... [2024-10-01T01:24:50.798Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-01T01:24:51.057Z] INFO: Archiving Costs [Pipeline] sh [2024-10-01T01:24:51.349Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/cost.csv [2024-10-01T01:24:51.349Z] + cut -d, -f6 [Pipeline] lock [2024-10-01T01:24:51.364Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] [2024-10-01T01:24:51.375Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] did not exist. Created. [2024-10-01T01:24:51.384Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-01T01:24:51.707Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-01T01:24:51.748Z] Stashed 1 file(s) [Pipeline] } [2024-10-01T01:24:51.757Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-01T01:24:51.789Z] $ docker stop --time=1 6ab5e86f96b40d2b3e86bd0382ce0e8315240baafc5dec0a2ce6efbfae5827c9 [2024-10-01T01:24:52.922Z] $ docker rm -f --volumes 6ab5e86f96b40d2b3e86bd0382ce0e8315240baafc5dec0a2ce6efbfae5827c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-01T01:25:52.158Z] Removing intermediate container bfe5082c5a1a [2024-10-01T01:25:52.158Z] ---> f77331da24e8 [2024-10-01T01:25:52.158Z] Step 9/10 : COPY . . [2024-10-01T01:25:52.158Z] ---> 3be45da665e1 [2024-10-01T01:25:52.158Z] Step 10/10 : RUN ${MAKE} [2024-10-01T01:25:52.158Z] ---> Running in 4838693ffa2d [2024-10-01T01:25:52.158Z] noop [2024-10-01T01:25:52.158Z] Removing intermediate container 4838693ffa2d [2024-10-01T01:25:52.158Z] ---> b0d7df9d4080 [2024-10-01T01:25:52.426Z] Successfully built b0d7df9d4080 [2024-10-01T01:25:52.426Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:25:52.793Z] + docker inspect -f . ci-base-image-arm64 [2024-10-01T01:25:52.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:25:52.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-12171 does not seem to be running inside a container [2024-10-01T01:25:53.055Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-01T01:25:54.235Z] $ docker top 8fe53c1ec1121f892057f40e6f9e4f7aaedca784542c11ece4efd3ed32e2ebf6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T01:25:55.067Z] + go version [2024-10-01T01:25:55.067Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-10-01T01:25:55.081Z] $ docker stop --time=1 8fe53c1ec1121f892057f40e6f9e4f7aaedca784542c11ece4efd3ed32e2ebf6 [2024-10-01T01:25:56.716Z] $ docker rm -f --volumes 8fe53c1ec1121f892057f40e6f9e4f7aaedca784542c11ece4efd3ed32e2ebf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:25:57.299Z] + docker inspect -f . ci-base-image-arm64 [2024-10-01T01:25:57.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:25:57.469Z] prd-ubuntu20.04-docker-arm64-4c-16g-12171 does not seem to be running inside a container [2024-10-01T01:25:57.533Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-01T01:25:58.744Z] $ docker top 41eb1b7415d1d6873f927c4e6e0386c3ab698d45677b4b8f88ddeb0f2aed9e5d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T01:25:59.259Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-10-01T01:26:00.181Z] + make test [2024-10-01T01:26:00.181Z] go test -race -coverprofile=coverage.out ./... [2024-10-01T01:26:39.062Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-01T01:30:30.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-10-01T01:30:30.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-10-01T01:30:30.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-10-01T01:30:30.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-10-01T01:30:30.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-10-01T01:30:30.920Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.109s coverage: 26.0% of statements [2024-10-01T01:30:34.258Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.160s coverage: 79.4% of statements [2024-10-01T01:30:41.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-10-01T01:30:41.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-10-01T01:30:42.179Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.253s coverage: 86.0% of statements [2024-10-01T01:30:48.820Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-10-01T01:30:50.223Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.429s coverage: 45.2% of statements [2024-10-01T01:30:52.799Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.172s coverage: 14.1% of statements [2024-10-01T01:30:54.208Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.923s coverage: 44.6% of statements [2024-10-01T01:30:55.616Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-10-01T01:30:55.616Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-01T01:30:55.616Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-10-01T01:30:57.022Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.336s coverage: 68.5% of statements [2024-10-01T01:31:02.366Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.380s coverage: 89.2% of statements [2024-10-01T01:31:05.361Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-10-01T01:31:06.773Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.262s coverage: 5.3% of statements [2024-10-01T01:31:08.182Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-01T01:31:08.182Z] GO111MODULE=on go vet ./... [2024-10-01T01:35:14.987Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-01T01:35:14.987Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-01T01:35:14.987Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-01T01:35:15.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-01T01:35:15.024Z] $ docker stop --time=1 41eb1b7415d1d6873f927c4e6e0386c3ab698d45677b4b8f88ddeb0f2aed9e5d [2024-10-01T01:35:16.901Z] $ docker rm -f --volumes 41eb1b7415d1d6873f927c4e6e0386c3ab698d45677b4b8f88ddeb0f2aed9e5d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T01:35:19.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-01T01:35:19.101Z] Warning: overwriting stash ‘coverage-report’ [2024-10-01T01:35:19.729Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T01:35:20.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-01T01:35:20.466Z] + ls -al . [2024-10-01T01:35:20.466Z] total 380 [2024-10-01T01:35:20.466Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 1 01:26 . [2024-10-01T01:35:20.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:22 .. [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 01:22 .dockerignore [2024-10-01T01:35:20.466Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 01:22 .git [2024-10-01T01:35:20.466Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:22 .github [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 1 01:22 .gitignore [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 1 01:22 .golangci.yml [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 1 01:22 CHANGELOG.md [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 01:22 GOVERNANCE.md [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 1 01:22 Jenkinsfile [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 1 01:22 LICENSE [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 1 01:22 Makefile [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 1 01:22 OWNERS.md [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 1 01:22 README.md [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 01:21 VERSION [2024-10-01T01:35:20.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 01:22 bin [2024-10-01T01:35:20.466Z] -rw-r--r-- 1 jenkins jenkins 128347 Oct 1 01:31 coverage.out [2024-10-01T01:35:20.466Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 1 01:22 example [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 6985 Oct 1 01:22 go.mod [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 101462 Oct 1 01:22 go.sum [2024-10-01T01:35:20.466Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 1 01:22 internal [2024-10-01T01:35:20.466Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 01:22 openapi [2024-10-01T01:35:20.466Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 1 01:22 pkg [2024-10-01T01:35:20.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 01:22 snap [2024-10-01T01:35:20.466Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 1 01:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:35:20.824Z] + 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=c48630ffad7173b30f018eacc4191c3b5514c038 --label arch=arm64 --label version=0.0.0 . [2024-10-01T01:35:21.409Z] Sending build context to Docker daemon 13.26MB [2024-10-01T01:35:21.409Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T01:35:21.409Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-01T01:35:21.409Z] ---> b0d7df9d4080 [2024-10-01T01:35:21.409Z] Step 3/24 : ARG MAKE=make build [2024-10-01T01:35:21.675Z] ---> Running in 4b54a135d6af [2024-10-01T01:35:21.943Z] Removing intermediate container 4b54a135d6af [2024-10-01T01:35:21.943Z] ---> a5297a761a79 [2024-10-01T01:35:21.943Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-01T01:35:21.943Z] ---> Running in 92250f160cdb [2024-10-01T01:35:22.210Z] Removing intermediate container 92250f160cdb [2024-10-01T01:35:22.210Z] ---> 8b8398a23241 [2024-10-01T01:35:22.210Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T01:35:22.481Z] ---> Running in 27370a54d228 [2024-10-01T01:35:22.746Z] Removing intermediate container 27370a54d228 [2024-10-01T01:35:22.746Z] ---> c78cbd2c95fe [2024-10-01T01:35:22.746Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-01T01:35:22.746Z] ---> Running in 9f31a8ee03b9 [2024-10-01T01:35:23.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T01:35:24.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T01:35:25.255Z] OK: 266 MiB in 52 packages [2024-10-01T01:35:26.215Z] Removing intermediate container 9f31a8ee03b9 [2024-10-01T01:35:26.215Z] ---> e66477227e03 [2024-10-01T01:35:26.215Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-01T01:35:26.484Z] ---> c63c8cf0a2a8 [2024-10-01T01:35:26.484Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T01:35:26.484Z] ---> Running in 74ef31f1857f [2024-10-01T01:35:29.066Z] Removing intermediate container 74ef31f1857f [2024-10-01T01:35:29.067Z] ---> 3ac81e4b01e1 [2024-10-01T01:35:29.067Z] Step 9/24 : COPY . . [2024-10-01T01:35:31.003Z] ---> 6325433947e8 [2024-10-01T01:35:31.003Z] Step 10/24 : RUN ${MAKE} [2024-10-01T01:35:31.003Z] ---> Running in 53242094c152 [2024-10-01T01:35:31.584Z] 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-10-01T01:39:08.353Z] Removing intermediate container 53242094c152 [2024-10-01T01:39:08.353Z] ---> 3f555a7ac54c [2024-10-01T01:39:08.353Z] Step 11/24 : FROM alpine:3.18 [2024-10-01T01:39:08.353Z] 3.18: Pulling from library/alpine [2024-10-01T01:39:08.353Z] 720f3032cd11: Pulling fs layer [2024-10-01T01:39:08.353Z] 720f3032cd11: Verifying Checksum [2024-10-01T01:39:08.353Z] 720f3032cd11: Download complete [2024-10-01T01:39:08.353Z] 720f3032cd11: Pull complete [2024-10-01T01:39:08.353Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-01T01:39:08.353Z] Status: Downloaded newer image for alpine:3.18 [2024-10-01T01:39:08.353Z] ---> 3e834921e367 [2024-10-01T01:39:08.353Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-01T01:39:08.353Z] ---> Running in 282614f7f548 [2024-10-01T01:39:08.353Z] Removing intermediate container 282614f7f548 [2024-10-01T01:39:08.353Z] ---> 567de5bcc841 [2024-10-01T01:39:08.353Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-01T01:39:08.353Z] ---> Running in 74cd532a824a [2024-10-01T01:39:08.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T01:39:08.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T01:39:08.353Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-01T01:39:08.353Z] Executing busybox-1.36.1-r7.trigger [2024-10-01T01:39:08.353Z] OK: 8 MiB in 16 packages [2024-10-01T01:39:08.353Z] Removing intermediate container 74cd532a824a [2024-10-01T01:39:08.353Z] ---> cce1218c60a0 [2024-10-01T01:39:08.353Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-01T01:39:08.353Z] ---> Running in e55ebb2b2997 [2024-10-01T01:39:08.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T01:39:08.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T01:39:08.353Z] OK: 8 MiB in 16 packages [2024-10-01T01:39:08.353Z] Removing intermediate container e55ebb2b2997 [2024-10-01T01:39:08.353Z] ---> f70dce75dfe5 [2024-10-01T01:39:08.353Z] Step 15/24 : WORKDIR / [2024-10-01T01:39:08.353Z] ---> Running in 1a140c5b2fd6 [2024-10-01T01:39:08.353Z] Removing intermediate container 1a140c5b2fd6 [2024-10-01T01:39:08.353Z] ---> fda02f9cec4d [2024-10-01T01:39:08.353Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-01T01:39:08.353Z] ---> da82eaecd31e [2024-10-01T01:39:08.353Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-01T01:39:09.792Z] ---> a46d1a5c19a9 [2024-10-01T01:39:09.792Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-01T01:39:10.746Z] ---> 35cfbd97749f [2024-10-01T01:39:10.746Z] Step 19/24 : EXPOSE 59999 [2024-10-01T01:39:10.746Z] ---> Running in e793b0cc2acd [2024-10-01T01:39:11.016Z] Removing intermediate container e793b0cc2acd [2024-10-01T01:39:11.016Z] ---> 253da0ceb654 [2024-10-01T01:39:11.016Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-01T01:39:11.283Z] ---> Running in 391003a2f276 [2024-10-01T01:39:11.551Z] Removing intermediate container 391003a2f276 [2024-10-01T01:39:11.551Z] ---> 4140e2fda2e5 [2024-10-01T01:39:11.551Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-01T01:39:11.551Z] ---> Running in f77104790212 [2024-10-01T01:39:11.818Z] Removing intermediate container f77104790212 [2024-10-01T01:39:11.818Z] ---> 2a096108131f [2024-10-01T01:39:11.818Z] Step 22/24 : LABEL arch=arm64 [2024-10-01T01:39:11.818Z] ---> Running in 57c2cb884ae0 [2024-10-01T01:39:12.087Z] Removing intermediate container 57c2cb884ae0 [2024-10-01T01:39:12.087Z] ---> 443eaa6c8981 [2024-10-01T01:39:12.087Z] Step 23/24 : LABEL git_sha=c48630ffad7173b30f018eacc4191c3b5514c038 [2024-10-01T01:39:12.356Z] ---> Running in e678602b65a0 [2024-10-01T01:39:12.623Z] Removing intermediate container e678602b65a0 [2024-10-01T01:39:12.623Z] ---> 470cf72afedb [2024-10-01T01:39:12.623Z] Step 24/24 : LABEL version=0.0.0 [2024-10-01T01:39:12.623Z] ---> Running in 17a382012ace [2024-10-01T01:39:12.890Z] Removing intermediate container 17a382012ace [2024-10-01T01:39:12.890Z] ---> 5b46c130e702 [2024-10-01T01:39:12.890Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-01T01:39:12.890Z] Successfully built 5b46c130e702 [2024-10-01T01:39:12.890Z] 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-10-01T01:39:13.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T01:39:13.647Z] [2024-10-01T01:39:13.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:39:13.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T01:39:13.983Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-01T01:39:13.983Z] 8998bd30e6a1: Pulling fs layer [2024-10-01T01:39:13.983Z] 04944245beec: Pulling fs layer [2024-10-01T01:39:13.983Z] 699f458cf7ca: Pulling fs layer [2024-10-01T01:39:13.983Z] 765212b225bb: Pulling fs layer [2024-10-01T01:39:13.983Z] f23df028b6ca: Pulling fs layer [2024-10-01T01:39:13.983Z] d65c8cfc05b1: Pulling fs layer [2024-10-01T01:39:13.983Z] 2437ff75d9bd: Pulling fs layer [2024-10-01T01:39:13.983Z] 765212b225bb: Waiting [2024-10-01T01:39:13.983Z] f23df028b6ca: Waiting [2024-10-01T01:39:13.983Z] d65c8cfc05b1: Waiting [2024-10-01T01:39:14.248Z] 04944245beec: Verifying Checksum [2024-10-01T01:39:14.248Z] 04944245beec: Download complete [2024-10-01T01:39:14.248Z] 765212b225bb: Verifying Checksum [2024-10-01T01:39:14.248Z] 765212b225bb: Download complete [2024-10-01T01:39:14.248Z] f23df028b6ca: Verifying Checksum [2024-10-01T01:39:14.248Z] f23df028b6ca: Download complete [2024-10-01T01:39:14.248Z] d65c8cfc05b1: Verifying Checksum [2024-10-01T01:39:14.248Z] d65c8cfc05b1: Download complete [2024-10-01T01:39:14.515Z] 699f458cf7ca: Verifying Checksum [2024-10-01T01:39:14.515Z] 699f458cf7ca: Download complete [2024-10-01T01:39:14.782Z] 8998bd30e6a1: Verifying Checksum [2024-10-01T01:39:14.782Z] 8998bd30e6a1: Download complete [2024-10-01T01:39:17.365Z] 2437ff75d9bd: Verifying Checksum [2024-10-01T01:39:17.365Z] 2437ff75d9bd: Download complete [2024-10-01T01:39:19.320Z] 8998bd30e6a1: Pull complete [2024-10-01T01:39:19.904Z] 04944245beec: Pull complete [2024-10-01T01:39:21.852Z] 699f458cf7ca: Pull complete [2024-10-01T01:39:21.852Z] 765212b225bb: Pull complete [2024-10-01T01:39:22.813Z] f23df028b6ca: Pull complete [2024-10-01T01:39:22.813Z] d65c8cfc05b1: Pull complete [2024-10-01T01:39:41.010Z] 2437ff75d9bd: Pull complete [2024-10-01T01:39:41.011Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-01T01:39:41.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T01:39:41.011Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:39:41.203Z] prd-ubuntu20.04-docker-arm64-4c-16g-12171 does not seem to be running inside a container [2024-10-01T01:39:41.253Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-01T01:39:44.052Z] $ docker top 92e8f03c5480651f6947cd37b9c6046bb4f9bae7c43ce41fd2d4e9420dd71edc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:39:44.913Z] ---> job-cost.sh [2024-10-01T01:39:44.913Z] lf-activate-venv: SKIPPING [2024-10-01T01:39:44.913Z] INFO: No Stack... [2024-10-01T01:39:45.178Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-01T01:39:46.136Z] INFO: Archiving Costs [Pipeline] sh [2024-10-01T01:39:46.780Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-10-01T01:39:46.780Z] + cut -d, -f6 [Pipeline] lock [2024-10-01T01:39:46.834Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] [2024-10-01T01:39:46.846Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] did not exist. Created. [2024-10-01T01:39:46.852Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-01T01:39:47.616Z] /w/workspace/device-sdk-go/2@tmp/durable-d0bc2950/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-01T01:39:48.280Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-01T01:39:48.296Z] Warning: overwriting stash ‘stack-cost’ [2024-10-01T01:39:48.405Z] Stashed 1 file(s) [Pipeline] } [2024-10-01T01:39:48.414Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-01T01:39:48.441Z] $ docker stop --time=1 92e8f03c5480651f6947cd37b9c6046bb4f9bae7c43ce41fd2d4e9420dd71edc [2024-10-01T01:39:50.028Z] $ docker rm -f --volumes 92e8f03c5480651f6947cd37b9c6046bb4f9bae7c43ce41fd2d4e9420dd71edc [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-10-01T01:39:50.670Z] provisioning config files... [2024-10-01T01:39:50.677Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config16501419486557074455tmp [Pipeline] { [Pipeline] sh [2024-10-01T01:39:50.975Z] + set +x [2024-10-01T01:39:50.975Z] + curl -s https://codecov.io/bash [2024-10-01T01:39:50.975Z] + bash -s -- [2024-10-01T01:39:51.233Z] [2024-10-01T01:39:51.233Z] _____ _ [2024-10-01T01:39:51.233Z] / ____| | | [2024-10-01T01:39:51.233Z] | | ___ __| | ___ ___ _____ __ [2024-10-01T01:39:51.233Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-01T01:39:51.233Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-01T01:39:51.233Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-01T01:39:51.233Z] Bash-1.0.6 [2024-10-01T01:39:51.233Z] [2024-10-01T01:39:51.233Z] [2024-10-01T01:39:51.233Z] ==> git version 2.25.1 found [2024-10-01T01:39:51.233Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-01T01:39:51.233Z] Release-Date: 2020-01-08 [2024-10-01T01:39:51.233Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-01T01:39:51.233Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-01T01:39:51.233Z] ==> Jenkins CI detected. [2024-10-01T01:39:51.233Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1628 [2024-10-01T01:39:51.233Z] project root: . [2024-10-01T01:39:51.233Z] --> token set from env [2024-10-01T01:39:51.233Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-01T01:39:51.233Z] ==> Running gcov in . (disable via -X gcov) [2024-10-01T01:39:51.233Z] ==> Python coveragepy not found [2024-10-01T01:39:51.233Z] ==> Searching for coverage reports in: [2024-10-01T01:39:51.233Z] + . [2024-10-01T01:39:51.233Z] -> Found 1 reports [2024-10-01T01:39:51.233Z] ==> Detecting git/mercurial file structure [2024-10-01T01:39:51.233Z] ==> Reading reports [2024-10-01T01:39:51.233Z] + ./coverage.out bytes=128347 [2024-10-01T01:39:51.233Z] ==> Appending adjustments [2024-10-01T01:39:51.233Z] https://docs.codecov.io/docs/fixing-reports [2024-10-01T01:39:51.493Z] + Found adjustments [2024-10-01T01:39:51.493Z] ==> Gzipping contents [2024-10-01T01:39:51.753Z] 20K /tmp/codecov.VzJxVj.gz [2024-10-01T01:39:51.753Z] ==> Uploading reports [2024-10-01T01:39:51.753Z] url: https://codecov.io [2024-10-01T01:39:51.753Z] query: branch=PR-1628&commit=c48630ffad7173b30f018eacc4191c3b5514c038&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1628%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1628&job=&cmd_args= [2024-10-01T01:39:51.753Z] -> Pinging Codecov [2024-10-01T01:39:51.753Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1628&commit=c48630ffad7173b30f018eacc4191c3b5514c038&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1628%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1628&job=&cmd_args= [2024-10-01T01:39:51.753Z] -> Uploading to [2024-10-01T01:39:51.753Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/c48630ffad7173b30f018eacc4191c3b5514c038/fb0d8cbb-c2a8-4995-b7e8-168aa3abde04.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241001%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241001T013951Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2731879b0c2f62066621a95afd48a373b7f59d725728e6f35261a8faa7b5ac45 [2024-10-01T01:39:51.753Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-01T01:39:51.753Z] Dload Upload Total Spent Left Speed [2024-10-01T01:39:52.013Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17713 0 0 100 17713 0 70569 --:--:-- --:--:-- --:--:-- 70569 [2024-10-01T01:39:52.013Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c48630ffad7173b30f018eacc4191c3b5514c038 [Pipeline] } [2024-10-01T01:39:52.021Z] 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-10-01T01:39:52.891Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives ] [2024-10-01T01:39:52.891Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives [2024-10-01T01:39:52.891Z] total 16 [2024-10-01T01:39:52.891Z] drwxr-xr-x 3 root root 4096 Oct 1 01:24 . [2024-10-01T01:39:52.891Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 1 01:24 .. [2024-10-01T01:39:52.891Z] drwxr-xr-x 2 root root 4096 Oct 1 01:24 cost [2024-10-01T01:39:52.891Z] -rw-r--r-- 1 root root 86 Oct 1 01:24 cost.csv [2024-10-01T01:39:52.891Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives [2024-10-01T01:39:52.891Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives [2024-10-01T01:39:52.891Z] total 16 [2024-10-01T01:39:52.891Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 01:24 . [2024-10-01T01:39:52.891Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 1 01:24 .. [2024-10-01T01:39:52.891Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 01:24 cost [2024-10-01T01:39:52.891Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 1 01:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:39:53.187Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:39:54.045Z] ---> package-listing.sh [2024-10-01T01:39:54.045Z] ++ facter osfamily [2024-10-01T01:39:54.045Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-01T01:39:54.304Z] + OS_FAMILY=debian [2024-10-01T01:39:54.304Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1628 [2024-10-01T01:39:54.304Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-01T01:39:54.304Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-01T01:39:54.304Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-01T01:39:54.304Z] + PACKAGES=/tmp/packages_start.txt [2024-10-01T01:39:54.304Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1628 ']' [2024-10-01T01:39:54.304Z] + PACKAGES=/tmp/packages_end.txt [2024-10-01T01:39:54.304Z] + case "${OS_FAMILY}" in [2024-10-01T01:39:54.304Z] + dpkg -l [2024-10-01T01:39:54.304Z] + grep '^ii' [2024-10-01T01:39:54.304Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-01T01:39:54.304Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-01T01:39:54.304Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-01T01:39:54.304Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1628 ']' [2024-10-01T01:39:54.304Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/ [2024-10-01T01:39:54.304Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/ [Pipeline] echo [2024-10-01T01:39:54.317Z] 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-1628/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-01T01:39:54.595Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T01:39:55.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T01:39:55.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T01:39:55.239Z] prd-ubuntu20.04-docker-8c-8g-12170 does not seem to be running inside a container [2024-10-01T01:39:55.276Z] $ 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-1628/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-1628 -v /w/workspace/gexfoundry_device-sdk-go_PR-1628:/w/workspace/gexfoundry_device-sdk-go_PR-1628:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-01T01:39:55.508Z] $ docker top e3b44ebaeac4fde53a53047d3e37986070554600f757aac921725a2f763fb0a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T01:39:55.868Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-01T01:39:56.155Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-01T01:39:56.440Z] + ls /var/log/sa-host [2024-10-01T01:39:56.440Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T01:39:56.611Z] provisioning config files... [2024-10-01T01:39:56.622Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config11299952304599253905tmp [Pipeline] { [Pipeline] echo [2024-10-01T01:39:56.642Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:39:56.988Z] ---> create-netrc.sh [Pipeline] } [2024-10-01T01:39:56.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:39:57.591Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-01T01:39:57.616Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:39:57.952Z] ---> sudo-logs.sh [2024-10-01T01:39:57.952Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-01T01:39:57.976Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:39:58.271Z] ---> job-cost.sh [2024-10-01T01:39:58.271Z] lf-activate-venv: SKIPPING [2024-10-01T01:39:58.271Z] DEBUG: total: 0.2199999988079071 [2024-10-01T01:39:58.271Z] INFO: Retrieving Stack Cost... [2024-10-01T01:39:58.529Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-01T01:39:58.787Z] INFO: Archiving Costs [Pipeline] echo [2024-10-01T01:39:58.799Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T01:39:59.086Z] ---> logs-deploy.sh [2024-10-01T01:39:59.086Z] lf-activate-venv: SKIPPING [2024-10-01T01:39:59.086Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1628/2 [2024-10-01T01:39:59.086Z] INFO: archiving workspace using pattern(s): [2024-10-01T01:40:00.029Z] Archives upload complete. [2024-10-01T01:40:00.029Z] INFO: archiving logs to Nexus