Pull request #1628 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 30cc33d0422f8edd5fdc92203c4d411a26486f52+224db1e0e192554ed613955b9810071aef8a346e (3d39c498fbab0fccd7a7cc9900354b593f836839) 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-ssh17291791378475522148.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-ssh8591503497900307536.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1628/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1628/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10697615960062722010.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1628/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13055986528600913066.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3399700147528648737.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1628/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1628/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3944983519902094845.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-12103 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 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 30cc33d0422f8edd5fdc92203c4d411a26486f52 > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 30cc33d0422f8edd5fdc92203c4d411a26486f52 # timeout=10 Merge succeeded, producing 30cc33d0422f8edd5fdc92203c4d411a26486f52 Checking out Revision 30cc33d0422f8edd5fdc92203c4d411a26486f52 (PR-1628) > 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 30cc33d0422f8edd5fdc92203c4d411a26486f52 # timeout=10 Commit message: "fix: Remove device profile from the cache properly" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-30T10:20:29.673Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-30T10:20:29.932Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-30T10:20:30.069Z] ========================================================= [2024-09-30T10:20:30.069Z] EdgeX Global Pipelines Version Info [2024-09-30T10:20:30.069Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:20:31.334Z] ------------------- [2024-09-30T10:20:31.334Z] stable info: [2024-09-30T10:20:31.334Z] ------------------- [2024-09-30T10:20:31.334Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-30T10:20:31.334Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-09-30T10:20:31.334Z] Message: update stable to v1.0.264 [2024-09-30T10:20:31.594Z] ------------------- [2024-09-30T10:20:31.594Z] experimental info: [2024-09-30T10:20:31.594Z] ------------------- [2024-09-30T10:20:31.595Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-30T10:20:31.595Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-09-30T10:20:31.595Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-30T10:20:31.813Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-09-30T10:20:31.876Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-09-30T10:20:31.931Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-30T10:20:31.985Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-30T10:20:32.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-30T10:20:32.108Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-30T10:20:32.171Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-30T10:20:32.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-09-30T10:20:32.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-30T10:20:32.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-30T10:20:32.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-30T10:20:32.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-09-30T10:20:32.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-30T10:20:32.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-30T10:20:32.647Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-30T10:20:32.707Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-30T10:20:32.769Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-30T10:20:32.838Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-30T10:20:32.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-30T10:20:32.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-30T10:20:33.027Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-09-30T10:20:33.095Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-09-30T10:20:33.155Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-30T10:20:33.232Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-30T10:20:33.298Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-30T10:20:33.355Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-30T10:20:33.418Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-30T10:20:33.489Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1628 [Pipeline] echo [2024-09-30T10:20:33.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1628 [Pipeline] echo [2024-09-30T10:20:33.616Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1628 [Pipeline] echo [2024-09-30T10:20:33.681Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30cc33d0422f8edd5fdc92203c4d411a26486f52 [Pipeline] echo [2024-09-30T10:20:33.739Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30cc33d [Pipeline] echo [2024-09-30T10:20:33.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-30T10:20:33.958Z] provisioning config files... [2024-09-30T10:20:33.975Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config5957069856637346287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:20:34.383Z] ---> ****-login.sh [2024-09-30T10:20:34.383Z] nexus3.edgexfoundry.org:10001 [2024-09-30T10:20:34.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:20:34.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:20:34.904Z] Configure a credential helper to remove this warning. See [2024-09-30T10:20:34.904Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:20:34.904Z] [2024-09-30T10:20:34.904Z] Login Succeeded [2024-09-30T10:20:34.904Z] nexus3.edgexfoundry.org:10002 [2024-09-30T10:20:34.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:20:34.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:20:34.904Z] Configure a credential helper to remove this warning. See [2024-09-30T10:20:34.904Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:20:34.904Z] [2024-09-30T10:20:34.904Z] Login Succeeded [2024-09-30T10:20:34.904Z] nexus3.edgexfoundry.org:10003 [2024-09-30T10:20:35.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:20:35.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:20:35.164Z] Configure a credential helper to remove this warning. See [2024-09-30T10:20:35.164Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:20:35.164Z] [2024-09-30T10:20:35.164Z] Login Succeeded [2024-09-30T10:20:35.164Z] nexus3.edgexfoundry.org:10004 [2024-09-30T10:20:35.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:20:35.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:20:35.165Z] Configure a credential helper to remove this warning. See [2024-09-30T10:20:35.165Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:20:35.165Z] [2024-09-30T10:20:35.165Z] Login Succeeded [2024-09-30T10:20:35.165Z] ****.io [2024-09-30T10:20:35.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:20:35.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:20:35.425Z] Configure a credential helper to remove this warning. See [2024-09-30T10:20:35.425Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:20:35.425Z] [2024-09-30T10:20:35.425Z] Login Succeeded [2024-09-30T10:20:35.425Z] ---> ****-login.sh ends [Pipeline] } [2024-09-30T10:20:35.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-30T10:20:36.209Z] + git rev-list -1 --merges 30cc33d0422f8edd5fdc92203c4d411a26486f52~1..30cc33d0422f8edd5fdc92203c4d411a26486f52 [Pipeline] echo [2024-09-30T10:20:36.263Z] -----------> git rev-list -1 --merges 30cc33d0422f8edd5fdc92203c4d411a26486f52~1..30cc33d0422f8edd5fdc92203c4d411a26486f52 30cc33d0422f8edd5fdc92203c4d411a26486f52 [false] [Pipeline] sh [2024-09-30T10:20:36.596Z] + git log --format=format:%s -1 30cc33d0422f8edd5fdc92203c4d411a26486f52 [Pipeline] echo [2024-09-30T10:20:36.641Z] ========================================================= [2024-09-30T10:20:36.641Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-30T10:20:36.641Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-30T10:20:37.183Z] + git log --format=format:%s -1 30cc33d0422f8edd5fdc92203c4d411a26486f52 [Pipeline] echo [2024-09-30T10:20:37.226Z] [semverPrep] GIT_COMMIT: 30cc33d0422f8edd5fdc92203c4d411a26486f52, Commit Message: fix: Remove device profile from the cache properly [Pipeline] echo [2024-09-30T10:20:37.267Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-30T10:20:37.701Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-30T10:20:37.701Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-30T10:20:37.701Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-30T10:20:37.701Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-30T10:20:37.701Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-09-30T10:20:37.701Z] -a /etc/ssh/ssh_known_hosts [2024-09-30T10:20:37.701Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:20:38.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-30T10:20:38.243Z] [2024-09-30T10:20:38.243Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:20:38.690Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-30T10:20:38.690Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-30T10:20:38.690Z] b85a868b505f: Pulling fs layer [2024-09-30T10:20:38.690Z] e2be974225ed: Pulling fs layer [2024-09-30T10:20:38.690Z] 339a4e72a1f5: Pulling fs layer [2024-09-30T10:20:38.690Z] 988bab9f4d93: Pulling fs layer [2024-09-30T10:20:38.690Z] 1469e6f7b9e6: Pulling fs layer [2024-09-30T10:20:38.690Z] eaf3925da568: Pulling fs layer [2024-09-30T10:20:38.690Z] bab4dde63d76: Pulling fs layer [2024-09-30T10:20:38.690Z] bde34c3a00c8: Pulling fs layer [2024-09-30T10:20:38.690Z] b352a97aabf1: Pulling fs layer [2024-09-30T10:20:38.690Z] 4872d77fe225: Pulling fs layer [2024-09-30T10:20:38.690Z] 5851b861e8e6: Pulling fs layer [2024-09-30T10:20:38.690Z] 988bab9f4d93: Waiting [2024-09-30T10:20:38.690Z] 1469e6f7b9e6: Waiting [2024-09-30T10:20:38.690Z] eaf3925da568: Waiting [2024-09-30T10:20:38.690Z] b352a97aabf1: Waiting [2024-09-30T10:20:38.690Z] bab4dde63d76: Waiting [2024-09-30T10:20:38.690Z] bde34c3a00c8: Waiting [2024-09-30T10:20:38.690Z] 5851b861e8e6: Waiting [2024-09-30T10:20:38.690Z] 4872d77fe225: Waiting [2024-09-30T10:20:38.690Z] e2be974225ed: Verifying Checksum [2024-09-30T10:20:38.690Z] e2be974225ed: Download complete [2024-09-30T10:20:38.690Z] 988bab9f4d93: Verifying Checksum [2024-09-30T10:20:38.690Z] 988bab9f4d93: Download complete [2024-09-30T10:20:38.950Z] 1469e6f7b9e6: Verifying Checksum [2024-09-30T10:20:38.950Z] 1469e6f7b9e6: Download complete [2024-09-30T10:20:38.950Z] 339a4e72a1f5: Verifying Checksum [2024-09-30T10:20:38.950Z] 339a4e72a1f5: Download complete [2024-09-30T10:20:38.950Z] eaf3925da568: Verifying Checksum [2024-09-30T10:20:38.950Z] eaf3925da568: Download complete [2024-09-30T10:20:38.950Z] bde34c3a00c8: Download complete [2024-09-30T10:20:38.950Z] b352a97aabf1: Download complete [2024-09-30T10:20:38.950Z] 4872d77fe225: Download complete [2024-09-30T10:20:38.950Z] 5851b861e8e6: Verifying Checksum [2024-09-30T10:20:38.950Z] 5851b861e8e6: Download complete [2024-09-30T10:20:38.950Z] b85a868b505f: Verifying Checksum [2024-09-30T10:20:38.950Z] b85a868b505f: Download complete [2024-09-30T10:20:39.542Z] bab4dde63d76: Verifying Checksum [2024-09-30T10:20:39.542Z] bab4dde63d76: Download complete [2024-09-30T10:20:40.484Z] b85a868b505f: Pull complete [2024-09-30T10:20:40.484Z] e2be974225ed: Pull complete [2024-09-30T10:20:41.053Z] 339a4e72a1f5: Pull complete [2024-09-30T10:20:41.053Z] 988bab9f4d93: Pull complete [2024-09-30T10:20:41.313Z] 1469e6f7b9e6: Pull complete [2024-09-30T10:20:41.313Z] eaf3925da568: Pull complete [2024-09-30T10:20:43.222Z] bab4dde63d76: Pull complete [2024-09-30T10:20:43.222Z] bde34c3a00c8: Pull complete [2024-09-30T10:20:43.222Z] b352a97aabf1: Pull complete [2024-09-30T10:20:43.483Z] 4872d77fe225: Pull complete [2024-09-30T10:20:43.483Z] 5851b861e8e6: Pull complete [2024-09-30T10:20:43.483Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-30T10:20:43.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-30T10:20:43.483Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-30T10:20:43.792Z] prd-ubuntu20.04-docker-8c-8g-12103 does not seem to be running inside a container [2024-09-30T10:20:43.877Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-30T10:20:47.785Z] $ docker top e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 -eo pid,comm [2024-09-30T10:20:47.841Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-09-30T10:20:47.841Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-30T10:20:48.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-30T10:20:48.027Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-30T10:20:48.137Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-30T10:20:48.141Z] $ docker exec e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 ssh-agent [2024-09-30T10:20:48.249Z] SSH_AUTH_SOCK=/tmp/ssh-VbZdXR55p1bC/agent.32 [2024-09-30T10:20:48.249Z] SSH_AGENT_PID=38 [2024-09-30T10:20:48.256Z] Running ssh-add (command line suppressed) [2024-09-30T10:20:48.379Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_6949434132882107868.key (/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_6949434132882107868.key) [2024-09-30T10:20:48.392Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-30T10:20:48.744Z] + git tag --points-at HEAD [Pipeline] } [2024-09-30T10:20:48.776Z] $ docker exec --env ******** --env ******** e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 ssh-agent -k [2024-09-30T10:20:48.883Z] unset SSH_AUTH_SOCK; [2024-09-30T10:20:48.884Z] unset SSH_AGENT_PID; [2024-09-30T10:20:48.884Z] echo Agent pid 38 killed; [2024-09-30T10:20:48.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-30T10:20:49.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-30T10:20:49.018Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-30T10:20:49.131Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-30T10:20:49.135Z] $ docker exec e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 ssh-agent [2024-09-30T10:20:49.248Z] SSH_AUTH_SOCK=/tmp/ssh-f1AE3fjtHMRt/agent.71 [2024-09-30T10:20:49.248Z] SSH_AGENT_PID=77 [2024-09-30T10:20:49.252Z] Running ssh-add (command line suppressed) [2024-09-30T10:20:49.352Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_11492443935454426747.key (/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/private_key_11492443935454426747.key) [2024-09-30T10:20:49.374Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-30T10:20:49.726Z] + git semver init [2024-09-30T10:20:49.985Z] 2024-09-30 10:20:49,932 [run_init] DEBUG init version:0.0.0 force:False [2024-09-30T10:20:49.985Z] 2024-09-30 10:20:49,933 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver [2024-09-30T10:20:49.985Z] 2024-09-30 10:20:49,934 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver [2024-09-30T10:20:49.985Z] 2024-09-30 10:20:49,934 [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-09-30T10:20:52.530Z] 2024-09-30 10:20:51,919 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.git/info/exclude [2024-09-30T10:20:52.530Z] 2024-09-30 10:20:51,920 [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-09-30T10:20:52.530Z] 2024-09-30 10:20:51,920 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 [2024-09-30T10:20:52.530Z] 2024-09-30 10:20:51,925 [execute] INFO git cat-file --batch-check [2024-09-30T10:20:52.530Z] 2024-09-30 10:20:51,925 [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-09-30T10:20:52.530Z] 2024-09-30 10:20:51,931 [execute] INFO git cat-file --batch [2024-09-30T10:20:52.530Z] 2024-09-30 10:20:51,931 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver, universal_newlines=False, shell=None, istream=) [2024-09-30T10:20:52.530Z] 2024-09-30 10:20:51,936 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1628/.semver/PR-1628 [2024-09-30T10:20:52.530Z] 0.0.0 [Pipeline] } [2024-09-30T10:20:52.569Z] $ docker exec --env ******** --env ******** e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 ssh-agent -k [2024-09-30T10:20:52.674Z] unset SSH_AUTH_SOCK; [2024-09-30T10:20:52.675Z] unset SSH_AGENT_PID; [2024-09-30T10:20:52.675Z] echo Agent pid 77 killed; [2024-09-30T10:20:52.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-30T10:20:53.166Z] + git semver [Pipeline] } [2024-09-30T10:20:53.457Z] $ docker stop --time=1 e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 [2024-09-30T10:20:54.776Z] $ docker rm -f --volumes e8fec5f9ccc947c8dcfed554d04c857e7a57d8a111118e34080d98549b2e2339 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-30T10:20:55.209Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-30T10:20:55.536Z] Stashed 1 file(s) [Pipeline] echo [2024-09-30T10:20:55.563Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-30T10:20:56.435Z] provisioning config files... [2024-09-30T10:20:56.445Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config4610397653632527875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:20:56.839Z] ---> ****-login.sh [2024-09-30T10:20:56.840Z] nexus3.edgexfoundry.org:10001 [2024-09-30T10:20:56.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:20:56.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:20:56.840Z] Configure a credential helper to remove this warning. See [2024-09-30T10:20:56.840Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:20:56.840Z] [2024-09-30T10:20:56.840Z] Login Succeeded [2024-09-30T10:20:56.840Z] nexus3.edgexfoundry.org:10002 [2024-09-30T10:20:56.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:20:56.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:20:56.840Z] Configure a credential helper to remove this warning. See [2024-09-30T10:20:56.840Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:20:56.840Z] [2024-09-30T10:20:56.840Z] Login Succeeded [2024-09-30T10:20:56.840Z] nexus3.edgexfoundry.org:10003 [2024-09-30T10:20:57.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:20:57.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:20:57.101Z] Configure a credential helper to remove this warning. See [2024-09-30T10:20:57.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:20:57.101Z] [2024-09-30T10:20:57.101Z] Login Succeeded [2024-09-30T10:20:57.101Z] nexus3.edgexfoundry.org:10004 [2024-09-30T10:20:57.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:20:57.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:20:57.101Z] Configure a credential helper to remove this warning. See [2024-09-30T10:20:57.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:20:57.101Z] [2024-09-30T10:20:57.101Z] Login Succeeded [2024-09-30T10:20:57.101Z] ****.io [2024-09-30T10:20:57.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:20:57.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:20:57.372Z] Configure a credential helper to remove this warning. See [2024-09-30T10:20:57.372Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:20:57.372Z] [2024-09-30T10:20:57.372Z] Login Succeeded [2024-09-30T10:20:57.372Z] ---> ****-login.sh ends [Pipeline] } [2024-09-30T10:20:57.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-30T10:20:57.641Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-30T10:20:57.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-30T10:20:57.750Z] ========================================================= [2024-09-30T10:20:57.750Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-30T10:20:57.750Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:20:58.291Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-30T10:20:58.291Z] Sending build context to Docker daemon 25.34MB [2024-09-30T10:20:58.291Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-30T10:20:58.291Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-30T10:20:58.551Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-30T10:20:58.551Z] 619be1103602: Pulling fs layer [2024-09-30T10:20:58.551Z] 7862e08f4a3e: Pulling fs layer [2024-09-30T10:20:58.551Z] 5df492c9dc93: Pulling fs layer [2024-09-30T10:20:58.551Z] 7629e6793208: Pulling fs layer [2024-09-30T10:20:58.551Z] 4f4fb700ef54: Pulling fs layer [2024-09-30T10:20:58.551Z] fb5054dd5b73: Pulling fs layer [2024-09-30T10:20:58.551Z] eeca6798cff9: Pulling fs layer [2024-09-30T10:20:58.551Z] aa269ceb94a6: Pulling fs layer [2024-09-30T10:20:58.551Z] ada007ff1a6a: Pulling fs layer [2024-09-30T10:20:58.551Z] 4f4fb700ef54: Waiting [2024-09-30T10:20:58.551Z] fb5054dd5b73: Waiting [2024-09-30T10:20:58.551Z] ada007ff1a6a: Waiting [2024-09-30T10:20:58.551Z] eeca6798cff9: Waiting [2024-09-30T10:20:58.551Z] aa269ceb94a6: Waiting [2024-09-30T10:20:58.551Z] 7629e6793208: Waiting [2024-09-30T10:20:58.551Z] 7862e08f4a3e: Verifying Checksum [2024-09-30T10:20:58.551Z] 7862e08f4a3e: Download complete [2024-09-30T10:20:58.551Z] 7629e6793208: Verifying Checksum [2024-09-30T10:20:58.551Z] 7629e6793208: Download complete [2024-09-30T10:20:58.551Z] 4f4fb700ef54: Verifying Checksum [2024-09-30T10:20:58.551Z] 4f4fb700ef54: Download complete [2024-09-30T10:20:58.551Z] 619be1103602: Verifying Checksum [2024-09-30T10:20:58.551Z] 619be1103602: Download complete [2024-09-30T10:20:58.551Z] fb5054dd5b73: Verifying Checksum [2024-09-30T10:20:58.551Z] fb5054dd5b73: Download complete [2024-09-30T10:20:58.551Z] eeca6798cff9: Verifying Checksum [2024-09-30T10:20:58.551Z] eeca6798cff9: Download complete [2024-09-30T10:20:58.810Z] ada007ff1a6a: Verifying Checksum [2024-09-30T10:20:58.810Z] ada007ff1a6a: Download complete [2024-09-30T10:20:58.810Z] 619be1103602: Pull complete [2024-09-30T10:20:58.810Z] 7862e08f4a3e: Pull complete [2024-09-30T10:20:59.070Z] 5df492c9dc93: Download complete [2024-09-30T10:20:59.328Z] aa269ceb94a6: Verifying Checksum [2024-09-30T10:20:59.328Z] aa269ceb94a6: Download complete [2024-09-30T10:21:02.609Z] 5df492c9dc93: Pull complete [2024-09-30T10:21:02.609Z] 7629e6793208: Pull complete [2024-09-30T10:21:02.609Z] 4f4fb700ef54: Pull complete [2024-09-30T10:21:02.609Z] fb5054dd5b73: Pull complete [2024-09-30T10:21:02.609Z] eeca6798cff9: Pull complete [2024-09-30T10:21:05.139Z] aa269ceb94a6: Pull complete [2024-09-30T10:21:05.708Z] ada007ff1a6a: Pull complete [2024-09-30T10:21:05.708Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-30T10:21:05.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-30T10:21:05.708Z] ---> f489d0715acc [2024-09-30T10:21:05.708Z] Step 3/10 : ARG MAKE=make build [2024-09-30T10:21:11.067Z] ---> Running in d432ff0a539e [2024-09-30T10:21:11.067Z] Removing intermediate container d432ff0a539e [2024-09-30T10:21:11.068Z] ---> 6d5fbe05a8a8 [2024-09-30T10:21:11.068Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-30T10:21:11.068Z] ---> Running in 25ba07605156 [2024-09-30T10:21:11.145Z] Still waiting to schedule task [2024-09-30T10:21:11.146Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-30T10:21:11.327Z] Removing intermediate container 25ba07605156 [2024-09-30T10:21:11.327Z] ---> 963798c53365 [2024-09-30T10:21:11.327Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-30T10:21:11.327Z] ---> Running in 993350ad185f [2024-09-30T10:21:11.327Z] Removing intermediate container 993350ad185f [2024-09-30T10:21:11.327Z] ---> 342dd0b16edb [2024-09-30T10:21:11.327Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-30T10:21:11.327Z] ---> Running in 1c122021d09c [2024-09-30T10:21:11.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-30T10:21:11.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-30T10:21:12.107Z] OK: 264 MiB in 52 packages [2024-09-30T10:21:12.367Z] Removing intermediate container 1c122021d09c [2024-09-30T10:21:12.367Z] ---> e51d4de772ad [2024-09-30T10:21:12.367Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-30T10:21:12.626Z] ---> 423a92acfbb9 [2024-09-30T10:21:12.626Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-30T10:21:12.626Z] ---> Running in 4684f65ee5f0 [2024-09-30T10:22:09.044Z] Removing intermediate container 4684f65ee5f0 [2024-09-30T10:22:09.044Z] ---> d973a5eb5871 [2024-09-30T10:22:09.044Z] Step 9/10 : COPY . . [2024-09-30T10:22:09.044Z] ---> cf4a553c0ead [2024-09-30T10:22:09.044Z] Step 10/10 : RUN ${MAKE} [2024-09-30T10:22:09.044Z] ---> Running in adcd9c75c194 [2024-09-30T10:22:09.044Z] noop [2024-09-30T10:22:09.044Z] Removing intermediate container adcd9c75c194 [2024-09-30T10:22:09.044Z] ---> d00c40e54332 [2024-09-30T10:22:09.044Z] Successfully built d00c40e54332 [2024-09-30T10:22:09.044Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:22:09.586Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-30T10:22:09.587Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-30T10:22:09.790Z] prd-ubuntu20.04-docker-8c-8g-12103 does not seem to be running inside a container [2024-09-30T10:22:09.830Z] $ 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 ******** ci-base-image-x86_64 cat [2024-09-30T10:22:10.172Z] $ docker top ed46abe72c9ff5b60ec2041a5774d8c76a88649decbb8f5c28c5d8115990b61a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-30T10:22:10.587Z] + go version [2024-09-30T10:22:10.587Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-30T10:22:10.628Z] $ docker stop --time=1 ed46abe72c9ff5b60ec2041a5774d8c76a88649decbb8f5c28c5d8115990b61a [2024-09-30T10:22:12.014Z] $ docker rm -f --volumes ed46abe72c9ff5b60ec2041a5774d8c76a88649decbb8f5c28c5d8115990b61a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:22:12.891Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-30T10:22:12.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-30T10:22:13.140Z] prd-ubuntu20.04-docker-8c-8g-12103 does not seem to be running inside a container [2024-09-30T10:22:13.174Z] $ 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 ******** ci-base-image-x86_64 cat [2024-09-30T10:22:13.504Z] $ docker top 2fd8af0a3cf4cff383afdf9c7416d9dfe04720340f7f2f20315e5d65960e0b3b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-30T10:22:13.922Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1628 [Pipeline] fileExists [Pipeline] sh [2024-09-30T10:22:14.320Z] + make test [2024-09-30T10:22:14.320Z] go test -race -coverprofile=coverage.out ./... [2024-09-30T10:22:20.927Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-30T10:22:47.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-30T10:22:47.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-30T10:22:47.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-30T10:22:47.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-30T10:22:47.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-30T10:22:47.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-30T10:22:47.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-30T10:22:48.400Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.022s coverage: 26.0% of statements [2024-09-30T10:22:48.400Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.029s coverage: 79.4% of statements [2024-09-30T10:22:48.400Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.046s coverage: 86.0% of statements [2024-09-30T10:22:48.966Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-30T10:22:49.533Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-30T10:22:49.533Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-30T10:22:49.533Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-30T10:22:50.103Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.082s coverage: 45.2% of statements [2024-09-30T10:22:51.483Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-30T10:22:53.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.1% of statements [2024-09-30T10:22:53.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.257s coverage: 44.6% of statements [2024-09-30T10:22:53.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.044s coverage: 68.5% of statements [2024-09-30T10:22:53.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 89.2% of statements [2024-09-30T10:22:53.405Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.3% of statements [2024-09-30T10:23:07.073Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12104 in /w/workspace/gexfoundry_device-sdk-go_PR-1628 [Pipeline] { [Pipeline] ws [2024-09-30T10:23:07.166Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-09-30T10:23:10.296Z] The recommended git tool is: git [2024-09-30T10:23:14.629Z] using credential edgex-jenkins-ssh [2024-09-30T10:23:14.715Z] Cloning the remote Git repository [2024-09-30T10:23:14.760Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-09-30T10:23:14.859Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-09-30T10:23:15.000Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-30T10:23:15.001Z] > git --version # timeout=10 [2024-09-30T10:23:15.023Z] > git --version # 'git version 2.25.1' [2024-09-30T10:23:15.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-30T10:23:15.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-30T10:23:18.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-30T10:23:18.506Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-30T10:23:20.060Z] Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 30cc33d0422f8edd5fdc92203c4d411a26486f52 [2024-09-30T10:23:20.363Z] Merge succeeded, producing 30cc33d0422f8edd5fdc92203c4d411a26486f52 [2024-09-30T10:23:20.364Z] Checking out Revision 30cc33d0422f8edd5fdc92203c4d411a26486f52 (PR-1628) [2024-09-30T10:23:19.366Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-30T10:23:19.410Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-30T10:23:19.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-30T10:23:19.443Z] > 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-09-30T10:23:20.081Z] > git config core.sparsecheckout # timeout=10 [2024-09-30T10:23:20.141Z] > git checkout -f 30cc33d0422f8edd5fdc92203c4d411a26486f52 # timeout=10 [2024-09-30T10:23:20.251Z] > git remote # timeout=10 [2024-09-30T10:23:20.270Z] > git config --get remote.origin.url # timeout=10 [2024-09-30T10:23:20.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-30T10:23:20.324Z] > git merge 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 [2024-09-30T10:23:20.350Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-30T10:23:20.372Z] > git config core.sparsecheckout # timeout=10 [2024-09-30T10:23:20.389Z] > git checkout -f 30cc33d0422f8edd5fdc92203c4d411a26486f52 # timeout=10 [2024-09-30T10:23:23.999Z] Commit message: "fix: Remove device profile from the cache properly" [2024-09-30T10:23:24.065Z] > git --version # timeout=10 [2024-09-30T10:23:24.080Z] > git --version # 'git version 2.25.1' [2024-09-30T10:23:24.091Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2024-09-30T10:23:25.474Z] GO111MODULE=on go vet ./... [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-30T10:23:26.078Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-30T10:23:26.078Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-30T10:23:26.078Z] Dload Upload Total Spent Left Speed [2024-09-30T10:23:26.078Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 97923 [Pipeline] sh [2024-09-30T10:23:26.442Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-30T10:23:26.806Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-30T10:23:26.807Z] + sudo tee /etc/docker/daemon.new [2024-09-30T10:23:26.807Z] { [2024-09-30T10:23:26.807Z] "registry-mirrors": [ [2024-09-30T10:23:26.807Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-30T10:23:26.807Z] ], [2024-09-30T10:23:26.807Z] "bip": "10.250.0.254/24", [2024-09-30T10:23:26.807Z] "hosts": [ [2024-09-30T10:23:26.807Z] "tcp://0.0.0.0:5555", [2024-09-30T10:23:26.807Z] "unix:///var/run/docker.sock" [2024-09-30T10:23:26.807Z] ], [2024-09-30T10:23:26.807Z] "mtu": 1458, [2024-09-30T10:23:26.807Z] "selinux-enabled": true, [2024-09-30T10:23:26.807Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-30T10:23:26.807Z] } [Pipeline] sh [2024-09-30T10:23:27.185Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-30T10:23:27.550Z] + sudo service docker restart [2024-09-30T10:23:28.759Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-30T10:23:28.760Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-30T10:23:28.760Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-30T10:23:29.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-30T10:23:29.112Z] $ docker stop --time=1 2fd8af0a3cf4cff383afdf9c7416d9dfe04720340f7f2f20315e5d65960e0b3b [2024-09-30T10:23:35.069Z] $ docker rm -f --volumes 2fd8af0a3cf4cff383afdf9c7416d9dfe04720340f7f2f20315e5d65960e0b3b [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-30T10:23:35.771Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-30T10:23:35.895Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-30T10:23:36.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-30T10:23:37.078Z] + ls -al . [2024-09-30T10:23:37.078Z] total 384 [2024-09-30T10:23:37.078Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 10:22 . [2024-09-30T10:23:37.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 10:20 .. [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 10:20 .dockerignore [2024-09-30T10:23:37.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 10:22 .git [2024-09-30T10:23:37.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 10:20 .github [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 30 10:20 .gitignore [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 10:20 .golangci.yml [2024-09-30T10:23:37.078Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 10:20 .semver [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 30 10:20 CHANGELOG.md [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 10:20 GOVERNANCE.md [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 30 10:20 Jenkinsfile [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 10:20 LICENSE [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 30 10:20 Makefile [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 10:20 OWNERS.md [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 30 10:20 README.md [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 10:20 VERSION [2024-09-30T10:23:37.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 10:20 bin [2024-09-30T10:23:37.078Z] -rw-r--r-- 1 jenkins jenkins 128347 Sep 30 10:22 coverage.out [2024-09-30T10:23:37.078Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 10:20 example [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 6985 Sep 30 10:20 go.mod [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 101462 Sep 30 10:20 go.sum [2024-09-30T10:23:37.078Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 30 10:20 internal [2024-09-30T10:23:37.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 10:20 openapi [2024-09-30T10:23:37.078Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 10:20 pkg [2024-09-30T10:23:37.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 10:20 snap [2024-09-30T10:23:37.078Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 10:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:23:37.513Z] + 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=30cc33d0422f8edd5fdc92203c4d411a26486f52 --label arch=amd64 --label version=0.0.0 . [2024-09-30T10:23:37.513Z] Sending build context to Docker daemon 25.47MB [2024-09-30T10:23:37.513Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-30T10:23:37.513Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-30T10:23:37.513Z] ---> d00c40e54332 [2024-09-30T10:23:37.513Z] Step 3/24 : ARG MAKE=make build [2024-09-30T10:23:38.178Z] ---> Running in abd539b839e5 [2024-09-30T10:23:38.438Z] Removing intermediate container abd539b839e5 [2024-09-30T10:23:38.438Z] ---> b0371e4b5e3e [2024-09-30T10:23:38.438Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-30T10:23:38.438Z] ---> Running in b305612ac890 [2024-09-30T10:23:38.438Z] Removing intermediate container b305612ac890 [2024-09-30T10:23:38.438Z] ---> 347a7b93a2f4 [2024-09-30T10:23:38.438Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-30T10:23:38.438Z] ---> Running in e2aed24c2257 [2024-09-30T10:23:38.698Z] Removing intermediate container e2aed24c2257 [2024-09-30T10:23:38.698Z] ---> f7b37f663bbe [2024-09-30T10:23:38.698Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-30T10:23:38.698Z] ---> Running in 06d4302ae16a [2024-09-30T10:23:38.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-30T10:23:38.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-30T10:23:38.959Z] OK: 264 MiB in 52 packages [2024-09-30T10:23:39.526Z] Removing intermediate container 06d4302ae16a [2024-09-30T10:23:39.526Z] ---> 683cfb50234f [2024-09-30T10:23:39.526Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-30T10:23:39.526Z] ---> b6408b77e75c [2024-09-30T10:23:39.526Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-30T10:23:39.526Z] ---> Running in d8fbedcddbb7 [2024-09-30T10:23:40.093Z] Removing intermediate container d8fbedcddbb7 [2024-09-30T10:23:40.094Z] ---> 79bb8ae4eb37 [2024-09-30T10:23:40.094Z] Step 9/24 : COPY . . [2024-09-30T10:23:41.030Z] ---> e469692cb238 [2024-09-30T10:23:41.030Z] Step 10/24 : RUN ${MAKE} [2024-09-30T10:23:41.030Z] ---> Running in 4cb929fdd578 [2024-09-30T10:23:41.291Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-30T10:23:45.908Z] provisioning config files... [2024-09-30T10:23:45.937Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14927292236435245736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:23:46.467Z] ---> ****-login.sh [2024-09-30T10:23:46.468Z] nexus3.edgexfoundry.org:10001 [2024-09-30T10:23:46.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:23:47.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:23:47.008Z] Configure a credential helper to remove this warning. See [2024-09-30T10:23:47.008Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:23:47.008Z] [2024-09-30T10:23:47.008Z] Login Succeeded [2024-09-30T10:23:47.008Z] nexus3.edgexfoundry.org:10002 [2024-09-30T10:23:47.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:23:47.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:23:47.551Z] Configure a credential helper to remove this warning. See [2024-09-30T10:23:47.552Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:23:47.552Z] [2024-09-30T10:23:47.552Z] Login Succeeded [2024-09-30T10:23:47.552Z] nexus3.edgexfoundry.org:10003 [2024-09-30T10:23:47.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:23:47.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:23:47.830Z] Configure a credential helper to remove this warning. See [2024-09-30T10:23:47.830Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:23:47.830Z] [2024-09-30T10:23:47.830Z] Login Succeeded [2024-09-30T10:23:47.830Z] nexus3.edgexfoundry.org:10004 [2024-09-30T10:23:48.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:23:48.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:23:48.101Z] Configure a credential helper to remove this warning. See [2024-09-30T10:23:48.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:23:48.101Z] [2024-09-30T10:23:48.101Z] Login Succeeded [2024-09-30T10:23:48.101Z] ****.io [2024-09-30T10:23:48.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-30T10:23:48.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-30T10:23:48.639Z] Configure a credential helper to remove this warning. See [2024-09-30T10:23:48.639Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-30T10:23:48.639Z] [2024-09-30T10:23:48.639Z] Login Succeeded [2024-09-30T10:23:48.639Z] ---> ****-login.sh ends [Pipeline] } [2024-09-30T10:23:48.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-30T10:23:49.176Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-30T10:23:49.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-30T10:23:49.290Z] ========================================================= [2024-09-30T10:23:49.290Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-30T10:23:49.290Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:23:49.861Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-30T10:23:50.454Z] Sending build context to Docker daemon 13.13MB [2024-09-30T10:23:50.454Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-30T10:23:50.454Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-30T10:23:50.454Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-30T10:23:50.454Z] c6b39de5b339: Pulling fs layer [2024-09-30T10:23:50.454Z] a69c41024577: Pulling fs layer [2024-09-30T10:23:50.454Z] d6de4b400683: Pulling fs layer [2024-09-30T10:23:50.454Z] 35cb2a7552d0: Pulling fs layer [2024-09-30T10:23:50.454Z] 4f4fb700ef54: Pulling fs layer [2024-09-30T10:23:50.454Z] 464afbd9ba4c: Pulling fs layer [2024-09-30T10:23:50.454Z] 00f215d4a9da: Pulling fs layer [2024-09-30T10:23:50.454Z] 35cb2a7552d0: Waiting [2024-09-30T10:23:50.454Z] d496ad576159: Pulling fs layer [2024-09-30T10:23:50.454Z] 4f4fb700ef54: Waiting [2024-09-30T10:23:50.454Z] 464afbd9ba4c: Waiting [2024-09-30T10:23:50.454Z] 00f215d4a9da: Waiting [2024-09-30T10:23:50.454Z] d496ad576159: Waiting [2024-09-30T10:23:50.725Z] a69c41024577: Verifying Checksum [2024-09-30T10:23:50.725Z] a69c41024577: Download complete [2024-09-30T10:23:50.725Z] 35cb2a7552d0: Verifying Checksum [2024-09-30T10:23:50.725Z] 35cb2a7552d0: Download complete [2024-09-30T10:23:50.725Z] 4f4fb700ef54: Download complete [2024-09-30T10:23:50.725Z] 464afbd9ba4c: Verifying Checksum [2024-09-30T10:23:50.725Z] 464afbd9ba4c: Download complete [2024-09-30T10:23:50.725Z] c6b39de5b339: Verifying Checksum [2024-09-30T10:23:50.725Z] c6b39de5b339: Download complete [2024-09-30T10:23:51.321Z] d496ad576159: Verifying Checksum [2024-09-30T10:23:51.321Z] d496ad576159: Download complete [2024-09-30T10:23:51.590Z] c6b39de5b339: Pull complete [2024-09-30T10:23:52.555Z] a69c41024577: Pull complete [2024-09-30T10:23:52.555Z] d6de4b400683: Verifying Checksum [2024-09-30T10:23:52.555Z] d6de4b400683: Download complete [2024-09-30T10:23:53.519Z] 00f215d4a9da: Verifying Checksum [2024-09-30T10:23:53.519Z] 00f215d4a9da: Download complete [2024-09-30T10:24:05.844Z] d6de4b400683: Pull complete [2024-09-30T10:24:05.844Z] 35cb2a7552d0: Pull complete [2024-09-30T10:24:05.844Z] 4f4fb700ef54: Pull complete [2024-09-30T10:24:06.113Z] 464afbd9ba4c: Pull complete [2024-09-30T10:24:16.247Z] 00f215d4a9da: Pull complete [2024-09-30T10:24:16.515Z] d496ad576159: Pull complete [2024-09-30T10:24:16.515Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-30T10:24:16.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-30T10:24:16.515Z] ---> f246e2811388 [2024-09-30T10:24:16.515Z] Step 3/10 : ARG MAKE=make build [2024-09-30T10:24:17.476Z] ---> Running in 8583b7a6d1ff [2024-09-30T10:24:17.744Z] Removing intermediate container 8583b7a6d1ff [2024-09-30T10:24:17.744Z] ---> 6660832945ac [2024-09-30T10:24:17.744Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-30T10:24:17.744Z] ---> Running in ddf510e0a012 [2024-09-30T10:24:18.011Z] Removing intermediate container ddf510e0a012 [2024-09-30T10:24:18.011Z] ---> 3577985c79e4 [2024-09-30T10:24:18.011Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-30T10:24:18.011Z] ---> Running in 8471b9c835d9 [2024-09-30T10:24:18.278Z] Removing intermediate container 8471b9c835d9 [2024-09-30T10:24:18.278Z] ---> 4cad61cb4d5b [2024-09-30T10:24:18.278Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-30T10:24:18.546Z] ---> Running in 83cccea6554f [2024-09-30T10:24:19.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-30T10:24:20.016Z] Removing intermediate container 4cb929fdd578 [2024-09-30T10:24:20.016Z] ---> b2c4886f0d69 [2024-09-30T10:24:20.016Z] Step 11/24 : FROM alpine:3.18 [2024-09-30T10:24:20.016Z] 3.18: Pulling from library/alpine [2024-09-30T10:24:20.016Z] 1cc3d825d8b2: Pulling fs layer [2024-09-30T10:24:20.016Z] 1cc3d825d8b2: Verifying Checksum [2024-09-30T10:24:20.016Z] 1cc3d825d8b2: Download complete [2024-09-30T10:24:20.016Z] 1cc3d825d8b2: Pull complete [2024-09-30T10:24:20.016Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-30T10:24:20.016Z] Status: Downloaded newer image for alpine:3.18 [2024-09-30T10:24:20.016Z] ---> 2c64cf60f6f0 [2024-09-30T10:24:20.016Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-30T10:24:20.016Z] ---> Running in 675ad2efd1bb [2024-09-30T10:24:20.016Z] Removing intermediate container 675ad2efd1bb [2024-09-30T10:24:20.016Z] ---> 5872c2845f87 [2024-09-30T10:24:20.016Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-30T10:24:20.016Z] ---> Running in 8ee19e93a1a1 [2024-09-30T10:24:20.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-30T10:24:20.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-30T10:24:20.016Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-30T10:24:20.016Z] Executing busybox-1.36.1-r7.trigger [2024-09-30T10:24:20.016Z] OK: 7 MiB in 16 packages [2024-09-30T10:24:20.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-30T10:24:20.274Z] Removing intermediate container 8ee19e93a1a1 [2024-09-30T10:24:20.275Z] ---> 93c1546cc607 [2024-09-30T10:24:20.275Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-30T10:24:20.534Z] ---> Running in 5971c0da117d [2024-09-30T10:24:21.068Z] OK: 266 MiB in 52 packages [2024-09-30T10:24:21.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-30T10:24:21.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-30T10:24:21.363Z] OK: 7 MiB in 16 packages [2024-09-30T10:24:21.623Z] Removing intermediate container 5971c0da117d [2024-09-30T10:24:21.623Z] ---> 3dadea457d2f [2024-09-30T10:24:21.623Z] Step 15/24 : WORKDIR / [2024-09-30T10:24:21.623Z] ---> Running in 3bcd7e556391 [2024-09-30T10:24:21.623Z] Removing intermediate container 3bcd7e556391 [2024-09-30T10:24:21.623Z] ---> 91ce45a3c9a5 [2024-09-30T10:24:21.623Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-30T10:24:21.884Z] ---> fa40ec9cad95 [2024-09-30T10:24:21.884Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-30T10:24:22.040Z] Removing intermediate container 83cccea6554f [2024-09-30T10:24:22.040Z] ---> 84de1a8cbfa0 [2024-09-30T10:24:22.040Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-30T10:24:22.308Z] ---> 2686aee34e89 [2024-09-30T10:24:22.308Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-30T10:24:22.579Z] ---> Running in 11595a434f27 [2024-09-30T10:24:23.260Z] ---> 6e6a4604d6b2 [2024-09-30T10:24:23.260Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-30T10:24:23.260Z] ---> a16d36aa1621 [2024-09-30T10:24:23.260Z] Step 19/24 : EXPOSE 59999 [2024-09-30T10:24:23.260Z] ---> Running in 0ce5d8984db7 [2024-09-30T10:24:23.260Z] Removing intermediate container 0ce5d8984db7 [2024-09-30T10:24:23.260Z] ---> b55c87cda675 [2024-09-30T10:24:23.260Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-30T10:24:23.260Z] ---> Running in 0cf0e1c7bf3c [2024-09-30T10:24:23.522Z] Removing intermediate container 0cf0e1c7bf3c [2024-09-30T10:24:23.522Z] ---> 5ffe91b9addf [2024-09-30T10:24:23.522Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-30T10:24:23.522Z] ---> Running in 5b07e7d73f53 [2024-09-30T10:24:23.522Z] Removing intermediate container 5b07e7d73f53 [2024-09-30T10:24:23.522Z] ---> c4af8bb7f8fe [2024-09-30T10:24:23.522Z] Step 22/24 : LABEL arch=amd64 [2024-09-30T10:24:23.522Z] ---> Running in d9757fd53af3 [2024-09-30T10:24:23.522Z] Removing intermediate container d9757fd53af3 [2024-09-30T10:24:23.522Z] ---> 09af0af26821 [2024-09-30T10:24:23.522Z] Step 23/24 : LABEL git_sha=30cc33d0422f8edd5fdc92203c4d411a26486f52 [2024-09-30T10:24:23.522Z] ---> Running in 20ab5dd95aa0 [2024-09-30T10:24:23.783Z] Removing intermediate container 20ab5dd95aa0 [2024-09-30T10:24:23.783Z] ---> 8431e3411478 [2024-09-30T10:24:23.783Z] Step 24/24 : LABEL version=0.0.0 [2024-09-30T10:24:23.783Z] ---> Running in 1a3fc5d3caa8 [2024-09-30T10:24:23.783Z] Removing intermediate container 1a3fc5d3caa8 [2024-09-30T10:24:23.783Z] ---> 8aac23f7b0d2 [2024-09-30T10:24:23.783Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-30T10:24:23.783Z] Successfully built 8aac23f7b0d2 [2024-09-30T10:24:23.783Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:24:24.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-30T10:24:24.892Z] [2024-09-30T10:24:24.892Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:24:25.300Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-30T10:24:25.300Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-30T10:24:25.300Z] 5eb5b503b376: Pulling fs layer [2024-09-30T10:24:25.300Z] 5c69ac0246d0: Pulling fs layer [2024-09-30T10:24:25.300Z] ec43610c2a17: Pulling fs layer [2024-09-30T10:24:25.300Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-30T10:24:25.300Z] 33b1e0a273af: Pulling fs layer [2024-09-30T10:24:25.300Z] 5d3b04190fa2: Pulling fs layer [2024-09-30T10:24:25.300Z] 2f39f015ded8: Pulling fs layer [2024-09-30T10:24:25.300Z] 3a2ae6a8a46f: Waiting [2024-09-30T10:24:25.300Z] 33b1e0a273af: Waiting [2024-09-30T10:24:25.300Z] 5d3b04190fa2: Waiting [2024-09-30T10:24:25.300Z] 2f39f015ded8: Waiting [2024-09-30T10:24:25.300Z] 5c69ac0246d0: Verifying Checksum [2024-09-30T10:24:25.300Z] 5c69ac0246d0: Download complete [2024-09-30T10:24:25.300Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-30T10:24:25.300Z] 3a2ae6a8a46f: Download complete [2024-09-30T10:24:25.300Z] 33b1e0a273af: Verifying Checksum [2024-09-30T10:24:25.300Z] 33b1e0a273af: Download complete [2024-09-30T10:24:25.300Z] ec43610c2a17: Verifying Checksum [2024-09-30T10:24:25.300Z] ec43610c2a17: Download complete [2024-09-30T10:24:25.300Z] 5d3b04190fa2: Verifying Checksum [2024-09-30T10:24:25.300Z] 5d3b04190fa2: Download complete [2024-09-30T10:24:25.557Z] 5eb5b503b376: Download complete [2024-09-30T10:24:26.124Z] 2f39f015ded8: Download complete [2024-09-30T10:24:26.689Z] 5eb5b503b376: Pull complete [2024-09-30T10:24:26.947Z] 5c69ac0246d0: Pull complete [2024-09-30T10:24:27.205Z] ec43610c2a17: Pull complete [2024-09-30T10:24:27.205Z] 3a2ae6a8a46f: Pull complete [2024-09-30T10:24:27.465Z] 33b1e0a273af: Pull complete [2024-09-30T10:24:27.465Z] 5d3b04190fa2: Pull complete [2024-09-30T10:24:31.646Z] 2f39f015ded8: Pull complete [2024-09-30T10:24:31.647Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-30T10:24:31.647Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-30T10:24:31.647Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-30T10:24:31.933Z] prd-ubuntu20.04-docker-8c-8g-12103 does not seem to be running inside a container [2024-09-30T10:24:31.967Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-30T10:24:36.746Z] $ docker top 936cab58ffce6190c06fa6c653e8f750d23c480b5d1ac959a26fd4c6997338cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:24:37.254Z] ---> job-cost.sh [2024-09-30T10:24:37.254Z] lf-activate-venv: SKIPPING [2024-09-30T10:24:37.254Z] INFO: No Stack... [2024-09-30T10:24:37.515Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-30T10:24:38.082Z] INFO: Archiving Costs [Pipeline] sh [2024-09-30T10:24:38.413Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/cost.csv [2024-09-30T10:24:38.413Z] + cut -d, -f6 [Pipeline] lock [2024-09-30T10:24:38.470Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] [2024-09-30T10:24:38.477Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] did not exist. Created. [2024-09-30T10:24:38.485Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-30T10:24:38.920Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-30T10:24:38.990Z] Stashed 1 file(s) [Pipeline] } [2024-09-30T10:24:39.029Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-30T10:24:39.130Z] $ docker stop --time=1 936cab58ffce6190c06fa6c653e8f750d23c480b5d1ac959a26fd4c6997338cc [2024-09-30T10:24:40.277Z] $ docker rm -f --volumes 936cab58ffce6190c06fa6c653e8f750d23c480b5d1ac959a26fd4c6997338cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-30T10:26:14.263Z] Removing intermediate container 11595a434f27 [2024-09-30T10:26:14.263Z] ---> 0e27ed902d63 [2024-09-30T10:26:14.263Z] Step 9/10 : COPY . . [2024-09-30T10:26:14.263Z] ---> 067b9b592c41 [2024-09-30T10:26:14.263Z] Step 10/10 : RUN ${MAKE} [2024-09-30T10:26:14.263Z] ---> Running in d7f8eabd9d4d [2024-09-30T10:26:14.263Z] noop [2024-09-30T10:26:14.263Z] Removing intermediate container d7f8eabd9d4d [2024-09-30T10:26:14.263Z] ---> e9fb4ea72f30 [2024-09-30T10:26:14.263Z] Successfully built e9fb4ea72f30 [2024-09-30T10:26:14.263Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:26:14.822Z] + docker inspect -f . ci-base-image-arm64 [2024-09-30T10:26:14.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-30T10:26:15.119Z] prd-ubuntu20.04-docker-arm64-4c-16g-12104 does not seem to be running inside a container [2024-09-30T10:26:15.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-30T10:26:16.364Z] $ docker top 1a814a7b4f3979daf31dc0afc211526724b7d19e89645af948c93a500d351fc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-30T10:26:17.268Z] + go version [2024-09-30T10:26:17.268Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-30T10:26:17.309Z] $ docker stop --time=1 1a814a7b4f3979daf31dc0afc211526724b7d19e89645af948c93a500d351fc1 [2024-09-30T10:26:18.923Z] $ docker rm -f --volumes 1a814a7b4f3979daf31dc0afc211526724b7d19e89645af948c93a500d351fc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:26:19.950Z] + docker inspect -f . ci-base-image-arm64 [2024-09-30T10:26:19.950Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-30T10:26:20.231Z] prd-ubuntu20.04-docker-arm64-4c-16g-12104 does not seem to be running inside a container [2024-09-30T10:26:20.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-30T10:26:21.466Z] $ docker top fb5a7a5abd337c7f98a4e0b757156e11befa96abffa205330acc7942e24ef144 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-30T10:26:22.043Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-30T10:26:22.458Z] + make test [2024-09-30T10:26:22.458Z] go test -race -coverprofile=coverage.out ./... [2024-09-30T10:27:09.357Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-30T10:30:16.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-30T10:30:16.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-30T10:30:16.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-30T10:30:16.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-30T10:30:16.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-30T10:30:28.615Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.118s coverage: 26.0% of statements [2024-09-30T10:30:30.574Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.190s coverage: 79.4% of statements [2024-09-30T10:30:38.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-30T10:30:38.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-30T10:30:39.394Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.260s coverage: 86.0% of statements [2024-09-30T10:30:47.646Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-30T10:30:47.646Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.452s coverage: 45.2% of statements [2024-09-30T10:30:50.991Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.146s coverage: 14.1% of statements [2024-09-30T10:30:50.991Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.113s coverage: 44.6% of statements [2024-09-30T10:30:51.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-30T10:30:51.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-30T10:30:51.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-30T10:30:52.981Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.295s coverage: 68.5% of statements [2024-09-30T10:30:56.322Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.359s coverage: 89.2% of statements [2024-09-30T10:30:58.899Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-30T10:31:00.306Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.233s coverage: 5.3% of statements [2024-09-30T10:31:01.267Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-30T10:31:01.267Z] GO111MODULE=on go vet ./... [2024-09-30T10:34:38.112Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-30T10:34:38.112Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-30T10:34:38.112Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-30T10:34:39.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-30T10:34:39.188Z] $ docker stop --time=1 fb5a7a5abd337c7f98a4e0b757156e11befa96abffa205330acc7942e24ef144 [2024-09-30T10:34:41.152Z] $ docker rm -f --volumes fb5a7a5abd337c7f98a4e0b757156e11befa96abffa205330acc7942e24ef144 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-30T10:34:43.504Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-30T10:34:43.554Z] Warning: overwriting stash ‘coverage-report’ [2024-09-30T10:34:44.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-30T10:34:44.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-30T10:34:45.174Z] + ls -al . [2024-09-30T10:34:45.175Z] total 380 [2024-09-30T10:34:45.175Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 30 10:26 . [2024-09-30T10:34:45.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 10:23 .. [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 10:23 .dockerignore [2024-09-30T10:34:45.175Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 10:23 .git [2024-09-30T10:34:45.175Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 10:23 .github [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 30 10:23 .gitignore [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 10:23 .golangci.yml [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 30 10:23 CHANGELOG.md [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 10:23 GOVERNANCE.md [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 30 10:23 Jenkinsfile [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 10:23 LICENSE [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 30 10:23 Makefile [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 10:23 OWNERS.md [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 30 10:23 README.md [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 10:20 VERSION [2024-09-30T10:34:45.175Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 10:23 bin [2024-09-30T10:34:45.175Z] -rw-r--r-- 1 jenkins jenkins 128347 Sep 30 10:31 coverage.out [2024-09-30T10:34:45.175Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 10:23 example [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 6985 Sep 30 10:23 go.mod [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 101462 Sep 30 10:23 go.sum [2024-09-30T10:34:45.175Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 30 10:23 internal [2024-09-30T10:34:45.175Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 10:23 openapi [2024-09-30T10:34:45.175Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 10:23 pkg [2024-09-30T10:34:45.175Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 10:23 snap [2024-09-30T10:34:45.175Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 10:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:34:45.642Z] + 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=30cc33d0422f8edd5fdc92203c4d411a26486f52 --label arch=arm64 --label version=0.0.0 . [2024-09-30T10:34:46.236Z] Sending build context to Docker daemon 13.26MB [2024-09-30T10:34:46.236Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-30T10:34:46.236Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-30T10:34:46.236Z] ---> e9fb4ea72f30 [2024-09-30T10:34:46.236Z] Step 3/24 : ARG MAKE=make build [2024-09-30T10:34:46.506Z] ---> Running in 3a1e1bf04078 [2024-09-30T10:34:46.774Z] Removing intermediate container 3a1e1bf04078 [2024-09-30T10:34:46.774Z] ---> d945e9c173cf [2024-09-30T10:34:46.774Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-30T10:34:46.774Z] ---> Running in d2abd86eb026 [2024-09-30T10:34:47.041Z] Removing intermediate container d2abd86eb026 [2024-09-30T10:34:47.041Z] ---> c0506f557ce4 [2024-09-30T10:34:47.041Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-30T10:34:47.041Z] ---> Running in da50363b7849 [2024-09-30T10:34:47.308Z] Removing intermediate container da50363b7849 [2024-09-30T10:34:47.308Z] ---> 45e2aa19e543 [2024-09-30T10:34:47.308Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-30T10:34:47.308Z] ---> Running in fd3dd0e0e505 [2024-09-30T10:34:48.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-30T10:34:48.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-30T10:34:49.825Z] OK: 266 MiB in 52 packages [2024-09-30T10:34:50.779Z] Removing intermediate container fd3dd0e0e505 [2024-09-30T10:34:50.779Z] ---> fb56e366bbce [2024-09-30T10:34:50.779Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-30T10:34:51.044Z] ---> 9ebb0f803b4c [2024-09-30T10:34:51.044Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-30T10:34:51.310Z] ---> Running in b2f11a262049 [2024-09-30T10:34:53.245Z] Removing intermediate container b2f11a262049 [2024-09-30T10:34:53.245Z] ---> be5c023561ed [2024-09-30T10:34:53.245Z] Step 9/24 : COPY . . [2024-09-30T10:34:55.188Z] ---> a9f61e78d163 [2024-09-30T10:34:55.188Z] Step 10/24 : RUN ${MAKE} [2024-09-30T10:34:55.188Z] ---> Running in cc9d6fde4f06 [2024-09-30T10:34:55.774Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-09-30T10:38:17.553Z] Removing intermediate container cc9d6fde4f06 [2024-09-30T10:38:17.553Z] ---> ff7f9c760607 [2024-09-30T10:38:17.553Z] Step 11/24 : FROM alpine:3.18 [2024-09-30T10:38:17.553Z] 3.18: Pulling from library/alpine [2024-09-30T10:38:17.553Z] 720f3032cd11: Pulling fs layer [2024-09-30T10:38:17.553Z] 720f3032cd11: Download complete [2024-09-30T10:38:17.553Z] 720f3032cd11: Pull complete [2024-09-30T10:38:17.553Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-30T10:38:17.553Z] Status: Downloaded newer image for alpine:3.18 [2024-09-30T10:38:17.553Z] ---> 3e834921e367 [2024-09-30T10:38:17.553Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-30T10:38:17.553Z] ---> Running in ebb0c9900706 [2024-09-30T10:38:17.553Z] Removing intermediate container ebb0c9900706 [2024-09-30T10:38:17.553Z] ---> 6e6b199227ce [2024-09-30T10:38:17.553Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-30T10:38:17.553Z] ---> Running in bff98681f21c [2024-09-30T10:38:18.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-30T10:38:18.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-30T10:38:19.687Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-30T10:38:19.687Z] Executing busybox-1.36.1-r7.trigger [2024-09-30T10:38:19.687Z] OK: 8 MiB in 16 packages [2024-09-30T10:38:20.651Z] Removing intermediate container bff98681f21c [2024-09-30T10:38:20.651Z] ---> d46276295bf6 [2024-09-30T10:38:20.651Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-30T10:38:20.651Z] ---> Running in 3b90864fa849 [2024-09-30T10:38:21.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-30T10:38:21.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-30T10:38:22.846Z] OK: 8 MiB in 16 packages [2024-09-30T10:38:23.430Z] Removing intermediate container 3b90864fa849 [2024-09-30T10:38:23.430Z] ---> 903e17d844c3 [2024-09-30T10:38:23.430Z] Step 15/24 : WORKDIR / [2024-09-30T10:38:23.698Z] ---> Running in 38a906c3b342 [2024-09-30T10:38:23.964Z] Removing intermediate container 38a906c3b342 [2024-09-30T10:38:23.964Z] ---> 2cae7e66316f [2024-09-30T10:38:23.964Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-30T10:38:24.546Z] ---> e6e3a7d81079 [2024-09-30T10:38:24.546Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-30T10:38:26.487Z] ---> 24710e7ec6dd [2024-09-30T10:38:26.487Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-30T10:38:27.071Z] ---> 8b68c6db87a4 [2024-09-30T10:38:27.071Z] Step 19/24 : EXPOSE 59999 [2024-09-30T10:38:27.071Z] ---> Running in 63d047406107 [2024-09-30T10:38:27.337Z] Removing intermediate container 63d047406107 [2024-09-30T10:38:27.337Z] ---> 326a2029155a [2024-09-30T10:38:27.337Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-30T10:38:27.608Z] ---> Running in 24f8f7a00716 [2024-09-30T10:38:27.874Z] Removing intermediate container 24f8f7a00716 [2024-09-30T10:38:27.874Z] ---> 3a65eb0f049e [2024-09-30T10:38:27.874Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-30T10:38:27.874Z] ---> Running in b72078428a00 [2024-09-30T10:38:28.141Z] Removing intermediate container b72078428a00 [2024-09-30T10:38:28.141Z] ---> 9ac1813342ee [2024-09-30T10:38:28.141Z] Step 22/24 : LABEL arch=arm64 [2024-09-30T10:38:28.141Z] ---> Running in 762a15e0830e [2024-09-30T10:38:28.430Z] Removing intermediate container 762a15e0830e [2024-09-30T10:38:28.430Z] ---> 07fc5d9437ab [2024-09-30T10:38:28.430Z] Step 23/24 : LABEL git_sha=30cc33d0422f8edd5fdc92203c4d411a26486f52 [2024-09-30T10:38:28.430Z] ---> Running in f83b5e82bec2 [2024-09-30T10:38:28.699Z] Removing intermediate container f83b5e82bec2 [2024-09-30T10:38:28.699Z] ---> 1f9d413192b7 [2024-09-30T10:38:28.699Z] Step 24/24 : LABEL version=0.0.0 [2024-09-30T10:38:28.966Z] ---> Running in e2a6db5d7edd [2024-09-30T10:38:29.233Z] Removing intermediate container e2a6db5d7edd [2024-09-30T10:38:29.233Z] ---> eb4fa409f7b7 [2024-09-30T10:38:29.233Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-30T10:38:29.233Z] Successfully built eb4fa409f7b7 [2024-09-30T10:38:29.233Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:38:30.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-30T10:38:30.207Z] [2024-09-30T10:38:30.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:38:30.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-30T10:38:30.654Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-30T10:38:30.654Z] 8998bd30e6a1: Pulling fs layer [2024-09-30T10:38:30.654Z] 04944245beec: Pulling fs layer [2024-09-30T10:38:30.654Z] 699f458cf7ca: Pulling fs layer [2024-09-30T10:38:30.654Z] 765212b225bb: Pulling fs layer [2024-09-30T10:38:30.654Z] f23df028b6ca: Pulling fs layer [2024-09-30T10:38:30.654Z] 765212b225bb: Waiting [2024-09-30T10:38:30.654Z] d65c8cfc05b1: Pulling fs layer [2024-09-30T10:38:30.654Z] 2437ff75d9bd: Pulling fs layer [2024-09-30T10:38:30.654Z] f23df028b6ca: Waiting [2024-09-30T10:38:30.654Z] 2437ff75d9bd: Waiting [2024-09-30T10:38:30.923Z] 04944245beec: Verifying Checksum [2024-09-30T10:38:30.923Z] 04944245beec: Download complete [2024-09-30T10:38:30.923Z] 765212b225bb: Verifying Checksum [2024-09-30T10:38:30.923Z] 765212b225bb: Download complete [2024-09-30T10:38:30.923Z] f23df028b6ca: Verifying Checksum [2024-09-30T10:38:30.923Z] f23df028b6ca: Download complete [2024-09-30T10:38:30.923Z] d65c8cfc05b1: Verifying Checksum [2024-09-30T10:38:30.923Z] d65c8cfc05b1: Download complete [2024-09-30T10:38:31.191Z] 699f458cf7ca: Verifying Checksum [2024-09-30T10:38:31.191Z] 699f458cf7ca: Download complete [2024-09-30T10:38:31.458Z] 8998bd30e6a1: Download complete [2024-09-30T10:38:34.039Z] 2437ff75d9bd: Verifying Checksum [2024-09-30T10:38:34.039Z] 2437ff75d9bd: Download complete [2024-09-30T10:38:35.981Z] 8998bd30e6a1: Pull complete [2024-09-30T10:38:36.564Z] 04944245beec: Pull complete [2024-09-30T10:38:37.973Z] 699f458cf7ca: Pull complete [2024-09-30T10:38:38.239Z] 765212b225bb: Pull complete [2024-09-30T10:38:39.198Z] f23df028b6ca: Pull complete [2024-09-30T10:38:39.465Z] d65c8cfc05b1: Pull complete [2024-09-30T10:38:57.654Z] 2437ff75d9bd: Pull complete [2024-09-30T10:38:57.654Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-30T10:38:57.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-30T10:38:57.654Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-30T10:38:58.104Z] prd-ubuntu20.04-docker-arm64-4c-16g-12104 does not seem to be running inside a container [2024-09-30T10:38:58.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-30T10:39:00.751Z] $ docker top 76b365624dca8af3024b9d4d9a9096f749c48c88a15d235ed0a60a8d80817a44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:39:01.684Z] ---> job-cost.sh [2024-09-30T10:39:01.684Z] lf-activate-venv: SKIPPING [2024-09-30T10:39:01.684Z] INFO: No Stack... [2024-09-30T10:39:02.270Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-30T10:39:02.853Z] INFO: Archiving Costs [Pipeline] sh [2024-09-30T10:39:03.534Z] + cut -d, -f6 [2024-09-30T10:39:03.534Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2024-09-30T10:39:03.619Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] [2024-09-30T10:39:03.629Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] did not exist. Created. [2024-09-30T10:39:03.637Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-30T10:39:04.453Z] /w/workspace/device-sdk-go/1@tmp/durable-8493ce71/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-30T10:39:05.173Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-30T10:39:05.220Z] Warning: overwriting stash ‘stack-cost’ [2024-09-30T10:39:05.301Z] Stashed 1 file(s) [Pipeline] } [2024-09-30T10:39:05.322Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1628-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-30T10:39:05.432Z] $ docker stop --time=1 76b365624dca8af3024b9d4d9a9096f749c48c88a15d235ed0a60a8d80817a44 [2024-09-30T10:39:06.966Z] $ docker rm -f --volumes 76b365624dca8af3024b9d4d9a9096f749c48c88a15d235ed0a60a8d80817a44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-09-30T10:39:08.295Z] provisioning config files... [2024-09-30T10:39:08.305Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config10374489364881905649tmp [Pipeline] { [Pipeline] sh [2024-09-30T10:39:08.666Z] + set +x [2024-09-30T10:39:08.666Z] + + bash -s -- [2024-09-30T10:39:08.666Z] curl -s https://codecov.io/bash [2024-09-30T10:39:08.666Z] [2024-09-30T10:39:08.666Z] _____ _ [2024-09-30T10:39:08.666Z] / ____| | | [2024-09-30T10:39:08.666Z] | | ___ __| | ___ ___ _____ __ [2024-09-30T10:39:08.666Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-30T10:39:08.666Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-30T10:39:08.666Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-30T10:39:08.666Z] Bash-1.0.6 [2024-09-30T10:39:08.666Z] [2024-09-30T10:39:08.666Z] [2024-09-30T10:39:08.666Z] ==> git version 2.25.1 found [2024-09-30T10:39:08.666Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-09-30T10:39:08.666Z] Release-Date: 2020-01-08 [2024-09-30T10:39:08.666Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-09-30T10:39:08.666Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-30T10:39:08.666Z] ==> Jenkins CI detected. [2024-09-30T10:39:08.666Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1628 [2024-09-30T10:39:08.666Z] project root: . [2024-09-30T10:39:08.666Z] --> token set from env [2024-09-30T10:39:08.666Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-30T10:39:08.666Z] ==> Running gcov in . (disable via -X gcov) [2024-09-30T10:39:08.666Z] ==> Python coveragepy not found [2024-09-30T10:39:08.666Z] ==> Searching for coverage reports in: [2024-09-30T10:39:08.666Z] + . [2024-09-30T10:39:08.666Z] -> Found 1 reports [2024-09-30T10:39:08.666Z] ==> Detecting git/mercurial file structure [2024-09-30T10:39:08.925Z] ==> Reading reports [2024-09-30T10:39:08.925Z] + ./coverage.out bytes=128347 [2024-09-30T10:39:08.925Z] ==> Appending adjustments [2024-09-30T10:39:08.925Z] https://docs.codecov.io/docs/fixing-reports [2024-09-30T10:39:09.186Z] + Found adjustments [2024-09-30T10:39:09.186Z] ==> Gzipping contents [2024-09-30T10:39:09.186Z] 20K /tmp/codecov.k0ge8t.gz [2024-09-30T10:39:09.186Z] ==> Uploading reports [2024-09-30T10:39:09.186Z] url: https://codecov.io [2024-09-30T10:39:09.186Z] query: branch=PR-1628&commit=30cc33d0422f8edd5fdc92203c4d411a26486f52&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1628%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1628&job=&cmd_args= [2024-09-30T10:39:09.186Z] -> Pinging Codecov [2024-09-30T10:39:09.186Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1628&commit=30cc33d0422f8edd5fdc92203c4d411a26486f52&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1628%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1628&job=&cmd_args= [2024-09-30T10:39:09.186Z] -> Uploading to [2024-09-30T10:39:09.186Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/30cc33d0422f8edd5fdc92203c4d411a26486f52/e7e1c18c-f3dc-4570-9b98-5d2e91cfd59e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20240930%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20240930T103909Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=370ee907de44078f45c33e89c14668d9d7aa35c5f3c2ae00ba3f598951341979 [2024-09-30T10:39:09.186Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-30T10:39:09.186Z] Dload Upload Total Spent Left Speed [2024-09-30T10:39:09.446Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17704 0 0 100 17704 0 74700 --:--:-- --:--:-- --:--:-- 74700 [2024-09-30T10:39:09.446Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/30cc33d0422f8edd5fdc92203c4d411a26486f52 [Pipeline] } [2024-09-30T10:39:09.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-09-30T10:39:11.842Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives ] [2024-09-30T10:39:11.843Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives [2024-09-30T10:39:11.843Z] total 16 [2024-09-30T10:39:11.843Z] drwxr-xr-x 3 root root 4096 Sep 30 10:24 . [2024-09-30T10:39:11.843Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 10:24 .. [2024-09-30T10:39:11.843Z] drwxr-xr-x 2 root root 4096 Sep 30 10:24 cost [2024-09-30T10:39:11.843Z] -rw-r--r-- 1 root root 86 Sep 30 10:24 cost.csv [2024-09-30T10:39:11.843Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives [2024-09-30T10:39:11.843Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives [2024-09-30T10:39:11.843Z] total 16 [2024-09-30T10:39:11.843Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 10:24 . [2024-09-30T10:39:11.843Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 10:24 .. [2024-09-30T10:39:11.843Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 30 10:24 cost [2024-09-30T10:39:11.843Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 30 10:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:39:12.189Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:39:13.099Z] ---> package-listing.sh [2024-09-30T10:39:13.099Z] ++ facter osfamily [2024-09-30T10:39:13.099Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-30T10:39:13.358Z] + OS_FAMILY=debian [2024-09-30T10:39:13.358Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1628 [2024-09-30T10:39:13.358Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-30T10:39:13.358Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-30T10:39:13.358Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-30T10:39:13.358Z] + PACKAGES=/tmp/packages_start.txt [2024-09-30T10:39:13.358Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1628 ']' [2024-09-30T10:39:13.358Z] + PACKAGES=/tmp/packages_end.txt [2024-09-30T10:39:13.358Z] + case "${OS_FAMILY}" in [2024-09-30T10:39:13.358Z] + dpkg -l [2024-09-30T10:39:13.358Z] + grep '^ii' [2024-09-30T10:39:13.358Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-30T10:39:13.358Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-30T10:39:13.358Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-30T10:39:13.358Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1628 ']' [2024-09-30T10:39:13.358Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1628/archives/ [2024-09-30T10:39:13.358Z] + 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-09-30T10:39:13.401Z] 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-09-30T10:39:13.702Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-30T10:39:14.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-30T10:39:14.362Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-30T10:39:14.538Z] prd-ubuntu20.04-docker-8c-8g-12103 does not seem to be running inside a container [2024-09-30T10:39:14.570Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-30T10:39:14.759Z] $ docker top f84580d4eeab2ac907049252dc0f3fc7f5a4bda7d57467f0fb76322ebe8d3562 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-30T10:39:15.181Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-30T10:39:15.500Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-30T10:39:15.821Z] + ls /var/log/sa-host [2024-09-30T10:39:15.822Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-30T10:39:16.096Z] provisioning config files... [2024-09-30T10:39:16.106Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1628@tmp/config6501157369144285787tmp [Pipeline] { [Pipeline] echo [2024-09-30T10:39:16.172Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:39:16.493Z] ---> create-netrc.sh [Pipeline] } [2024-09-30T10:39:16.527Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:39:16.965Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-30T10:39:17.008Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:39:17.338Z] ---> sudo-logs.sh [2024-09-30T10:39:17.338Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-30T10:39:17.452Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:39:17.780Z] ---> job-cost.sh [2024-09-30T10:39:17.780Z] lf-activate-venv: SKIPPING [2024-09-30T10:39:17.780Z] DEBUG: total: 0.2199999988079071 [2024-09-30T10:39:17.780Z] INFO: Retrieving Stack Cost... [2024-09-30T10:39:18.348Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-30T10:39:18.608Z] INFO: Archiving Costs [Pipeline] echo [2024-09-30T10:39:18.660Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-30T10:39:18.997Z] ---> logs-deploy.sh [2024-09-30T10:39:18.997Z] lf-activate-venv: SKIPPING [2024-09-30T10:39:18.997Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1628/1 [2024-09-30T10:39:18.997Z] INFO: archiving workspace using pattern(s): [2024-09-30T10:39:19.937Z] Archives upload complete. [2024-09-30T10:39:19.937Z] INFO: archiving logs to Nexus