Pull request #1615 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222+55ceb93b68ddd1fabddb6a346a0921fb81c17045 (8cc2ef1201d335b230bef85a6714ff0e0f2e259d) 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-ssh1337008117739557830.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6911337073059298205.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 590556114a56c6d90cc8043840e039c2f74196dc 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-1615/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-1615/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18324863499280305856.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-1615/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17896984820049700140.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh8222408306281595517.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-1615/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-1615/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13807444001473131505.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 590556114a56c6d90cc8043840e039c2f74196dc 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 on ‘prd-ubuntu20.04-docker-8c-8g-8172’ Running on prd-ubuntu20.04-docker-8c-8g-8203 in /w/workspace/gexfoundry_device-sdk-go_PR-1615 [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-1615 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1615/head:refs/remotes/origin/PR-1615 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 55ceb93b68ddd1fabddb6a346a0921fb81c17045 into PR head commit 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 Merge succeeded, producing 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 Checking out Revision 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 (PR-1615) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 55ceb93b68ddd1fabddb6a346a0921fb81c17045 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-23T04:33:26.811Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-23T04:33:27.046Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-23T04:33:27.182Z] ========================================================= [2024-08-23T04:33:27.182Z] EdgeX Global Pipelines Version Info [2024-08-23T04:33:27.182Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:33:28.321Z] ------------------- [2024-08-23T04:33:28.321Z] stable info: [2024-08-23T04:33:28.321Z] ------------------- [2024-08-23T04:33:28.321Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-23T04:33:28.321Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-23T04:33:28.321Z] Message: update stable to v1.0.260 [2024-08-23T04:33:28.593Z] ------------------- [2024-08-23T04:33:28.593Z] experimental info: [2024-08-23T04:33:28.593Z] ------------------- [2024-08-23T04:33:28.593Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-23T04:33:28.593Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-23T04:33:28.593Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-23T04:33:28.837Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-08-23T04:33:28.900Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-08-23T04:33:28.957Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-23T04:33:29.018Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-23T04:33:29.077Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-23T04:33:29.139Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-23T04:33:29.204Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-23T04:33:29.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-08-23T04:33:29.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-23T04:33:29.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-23T04:33:29.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-23T04:33:29.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-08-23T04:33:29.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-23T04:33:29.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-23T04:33:29.691Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-23T04:33:29.745Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-23T04:33:29.800Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-23T04:33:29.861Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-23T04:33:29.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-23T04:33:29.985Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-23T04:33:30.050Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-23T04:33:30.112Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-23T04:33:30.168Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-23T04:33:30.221Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-23T04:33:30.277Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-23T04:33:30.338Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-23T04:33:30.399Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-23T04:33:30.462Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1615 [Pipeline] echo [2024-08-23T04:33:30.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1615 [Pipeline] echo [2024-08-23T04:33:30.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1615 [Pipeline] echo [2024-08-23T04:33:30.650Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [Pipeline] echo [2024-08-23T04:33:30.713Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 70224c8 [Pipeline] echo [2024-08-23T04:33:30.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-23T04:33:30.926Z] provisioning config files... [2024-08-23T04:33:30.938Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/config17027804025518808392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:33:31.335Z] ---> ****-login.sh [2024-08-23T04:33:31.335Z] nexus3.edgexfoundry.org:10001 [2024-08-23T04:33:31.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:33:31.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:33:31.594Z] Configure a credential helper to remove this warning. See [2024-08-23T04:33:31.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:33:31.594Z] [2024-08-23T04:33:31.594Z] Login Succeeded [2024-08-23T04:33:31.594Z] nexus3.edgexfoundry.org:10002 [2024-08-23T04:33:31.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:33:31.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:33:31.855Z] Configure a credential helper to remove this warning. See [2024-08-23T04:33:31.855Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:33:31.855Z] [2024-08-23T04:33:31.855Z] Login Succeeded [2024-08-23T04:33:31.855Z] nexus3.edgexfoundry.org:10003 [2024-08-23T04:33:31.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:33:31.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:33:31.855Z] Configure a credential helper to remove this warning. See [2024-08-23T04:33:31.855Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:33:31.855Z] [2024-08-23T04:33:31.855Z] Login Succeeded [2024-08-23T04:33:31.855Z] nexus3.edgexfoundry.org:10004 [2024-08-23T04:33:31.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:33:32.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:33:32.116Z] Configure a credential helper to remove this warning. See [2024-08-23T04:33:32.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:33:32.117Z] [2024-08-23T04:33:32.117Z] Login Succeeded [2024-08-23T04:33:32.117Z] ****.io [2024-08-23T04:33:32.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:33:32.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:33:32.377Z] Configure a credential helper to remove this warning. See [2024-08-23T04:33:32.377Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:33:32.377Z] [2024-08-23T04:33:32.377Z] Login Succeeded [2024-08-23T04:33:32.377Z] ---> ****-login.sh ends [Pipeline] } [2024-08-23T04:33:32.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-23T04:33:33.142Z] + git rev-list -1 --merges 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222~1..70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [Pipeline] echo [2024-08-23T04:33:33.189Z] -----------> git rev-list -1 --merges 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222~1..70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [false] [Pipeline] sh [2024-08-23T04:33:33.578Z] + git log --format=format:%s -1 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [Pipeline] echo [2024-08-23T04:33:33.626Z] ========================================================= [2024-08-23T04:33:33.626Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-23T04:33:33.626Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-23T04:33:34.096Z] + git log --format=format:%s -1 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [Pipeline] echo [2024-08-23T04:33:34.143Z] [semverPrep] GIT_COMMIT: 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-08-23T04:33:34.189Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-23T04:33:34.611Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-23T04:33:34.611Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-23T04:33:34.611Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-23T04:33:34.611Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-23T04:33:34.611Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-23T04:33:34.611Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-23T04:33:34.611Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:33:35.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-23T04:33:35.135Z] [2024-08-23T04:33:35.135Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:33:35.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-23T04:33:35.524Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-23T04:33:35.524Z] b85a868b505f: Pulling fs layer [2024-08-23T04:33:35.524Z] e2be974225ed: Pulling fs layer [2024-08-23T04:33:35.524Z] 339a4e72a1f5: Pulling fs layer [2024-08-23T04:33:35.524Z] 988bab9f4d93: Pulling fs layer [2024-08-23T04:33:35.524Z] 1469e6f7b9e6: Pulling fs layer [2024-08-23T04:33:35.524Z] eaf3925da568: Pulling fs layer [2024-08-23T04:33:35.524Z] bab4dde63d76: Pulling fs layer [2024-08-23T04:33:35.524Z] bde34c3a00c8: Pulling fs layer [2024-08-23T04:33:35.525Z] b352a97aabf1: Pulling fs layer [2024-08-23T04:33:35.525Z] 4872d77fe225: Pulling fs layer [2024-08-23T04:33:35.525Z] 5851b861e8e6: Pulling fs layer [2024-08-23T04:33:35.525Z] 988bab9f4d93: Waiting [2024-08-23T04:33:35.525Z] bde34c3a00c8: Waiting [2024-08-23T04:33:35.525Z] b352a97aabf1: Waiting [2024-08-23T04:33:35.525Z] 4872d77fe225: Waiting [2024-08-23T04:33:35.525Z] 1469e6f7b9e6: Waiting [2024-08-23T04:33:35.525Z] eaf3925da568: Waiting [2024-08-23T04:33:35.525Z] 5851b861e8e6: Waiting [2024-08-23T04:33:35.525Z] bab4dde63d76: Waiting [2024-08-23T04:33:35.525Z] e2be974225ed: Download complete [2024-08-23T04:33:35.525Z] 988bab9f4d93: Download complete [2024-08-23T04:33:35.525Z] 1469e6f7b9e6: Verifying Checksum [2024-08-23T04:33:35.525Z] 1469e6f7b9e6: Download complete [2024-08-23T04:33:35.525Z] eaf3925da568: Verifying Checksum [2024-08-23T04:33:35.525Z] eaf3925da568: Download complete [2024-08-23T04:33:35.525Z] 339a4e72a1f5: Verifying Checksum [2024-08-23T04:33:35.525Z] 339a4e72a1f5: Download complete [2024-08-23T04:33:35.525Z] bde34c3a00c8: Download complete [2024-08-23T04:33:35.783Z] b352a97aabf1: Verifying Checksum [2024-08-23T04:33:35.783Z] b352a97aabf1: Download complete [2024-08-23T04:33:35.783Z] 4872d77fe225: Verifying Checksum [2024-08-23T04:33:35.783Z] 4872d77fe225: Download complete [2024-08-23T04:33:35.783Z] 5851b861e8e6: Download complete [2024-08-23T04:33:35.783Z] b85a868b505f: Verifying Checksum [2024-08-23T04:33:35.783Z] b85a868b505f: Download complete [2024-08-23T04:33:36.043Z] bab4dde63d76: Verifying Checksum [2024-08-23T04:33:36.043Z] bab4dde63d76: Download complete [2024-08-23T04:33:36.979Z] b85a868b505f: Pull complete [2024-08-23T04:33:36.979Z] e2be974225ed: Pull complete [2024-08-23T04:33:37.547Z] 339a4e72a1f5: Pull complete [2024-08-23T04:33:37.547Z] 988bab9f4d93: Pull complete [2024-08-23T04:33:37.807Z] 1469e6f7b9e6: Pull complete [2024-08-23T04:33:37.807Z] eaf3925da568: Pull complete [2024-08-23T04:33:39.708Z] bab4dde63d76: Pull complete [2024-08-23T04:33:39.708Z] bde34c3a00c8: Pull complete [2024-08-23T04:33:39.708Z] b352a97aabf1: Pull complete [2024-08-23T04:33:39.708Z] 4872d77fe225: Pull complete [2024-08-23T04:33:39.708Z] 5851b861e8e6: Pull complete [2024-08-23T04:33:39.708Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-23T04:33:39.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-23T04:33:39.708Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T04:33:40.003Z] prd-ubuntu20.04-docker-8c-8g-8203 does not seem to be running inside a container [2024-08-23T04:33:40.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1615 -v /w/workspace/gexfoundry_device-sdk-go_PR-1615:/w/workspace/gexfoundry_device-sdk-go_PR-1615:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-23T04:33:45.353Z] $ docker top a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 -eo pid,comm [2024-08-23T04:33:45.400Z] 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-08-23T04:33:45.401Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-23T04:33:45.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-23T04:33:45.575Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-23T04:33:45.679Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-23T04:33:45.682Z] $ docker exec a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 ssh-agent [2024-08-23T04:33:45.773Z] SSH_AUTH_SOCK=/tmp/ssh-DPmsug3cq6Lj/agent.32 [2024-08-23T04:33:45.773Z] SSH_AGENT_PID=38 [2024-08-23T04:33:45.778Z] Running ssh-add (command line suppressed) [2024-08-23T04:33:45.868Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/private_key_1832753265078685728.key (/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/private_key_1832753265078685728.key) [2024-08-23T04:33:45.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-23T04:33:46.224Z] + git tag --points-at HEAD [Pipeline] } [2024-08-23T04:33:46.247Z] $ docker exec --env ******** --env ******** a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 ssh-agent -k [2024-08-23T04:33:46.331Z] unset SSH_AUTH_SOCK; [2024-08-23T04:33:46.332Z] unset SSH_AGENT_PID; [2024-08-23T04:33:46.332Z] echo Agent pid 38 killed; [2024-08-23T04:33:46.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-23T04:33:46.453Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-23T04:33:46.454Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-23T04:33:46.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-23T04:33:46.570Z] $ docker exec a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 ssh-agent [2024-08-23T04:33:46.665Z] SSH_AUTH_SOCK=/tmp/ssh-C5RPtgjhphlX/agent.71 [2024-08-23T04:33:46.665Z] SSH_AGENT_PID=77 [2024-08-23T04:33:46.670Z] Running ssh-add (command line suppressed) [2024-08-23T04:33:46.783Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/private_key_3707999677914631891.key (/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/private_key_3707999677914631891.key) [2024-08-23T04:33:46.796Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-23T04:33:47.230Z] + git semver init [2024-08-23T04:33:47.802Z] 2024-08-23 04:33:47,495 [run_init] DEBUG init version:0.0.0 force:False [2024-08-23T04:33:47.802Z] 2024-08-23 04:33:47,497 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver [2024-08-23T04:33:47.802Z] 2024-08-23 04:33:47,497 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver [2024-08-23T04:33:47.802Z] 2024-08-23 04:33:47,498 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1615, universal_newlines=False, shell=None, istream=None) [2024-08-23T04:33:50.339Z] 2024-08-23 04:33:50,079 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615/.git/info/exclude [2024-08-23T04:33:50.339Z] 2024-08-23 04:33:50,080 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver/PR-1615 with force:False [2024-08-23T04:33:50.339Z] 2024-08-23 04:33:50,080 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver/PR-1615 [2024-08-23T04:33:50.339Z] 2024-08-23 04:33:50,084 [execute] INFO git cat-file --batch-check [2024-08-23T04:33:50.339Z] 2024-08-23 04:33:50,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver, universal_newlines=False, shell=None, istream=) [2024-08-23T04:33:50.339Z] 2024-08-23 04:33:50,090 [execute] INFO git cat-file --batch [2024-08-23T04:33:50.339Z] 2024-08-23 04:33:50,090 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver, universal_newlines=False, shell=None, istream=) [2024-08-23T04:33:50.339Z] 2024-08-23 04:33:50,094 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver/PR-1615 [2024-08-23T04:33:50.340Z] 0.0.0 [Pipeline] } [2024-08-23T04:33:50.369Z] $ docker exec --env ******** --env ******** a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 ssh-agent -k [2024-08-23T04:33:50.463Z] unset SSH_AUTH_SOCK; [2024-08-23T04:33:50.464Z] unset SSH_AGENT_PID; [2024-08-23T04:33:50.464Z] echo Agent pid 77 killed; [2024-08-23T04:33:50.473Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-23T04:33:50.924Z] + git semver [Pipeline] } [2024-08-23T04:33:51.216Z] $ docker stop --time=1 a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 [2024-08-23T04:33:52.710Z] $ docker rm -f --volumes a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-23T04:33:53.131Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-23T04:33:53.433Z] Stashed 1 file(s) [Pipeline] echo [2024-08-23T04:33:53.461Z] [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-08-23T04:33:54.225Z] provisioning config files... [2024-08-23T04:33:54.234Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/config15398907547344739778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:33:54.690Z] ---> ****-login.sh [2024-08-23T04:33:54.691Z] nexus3.edgexfoundry.org:10001 [2024-08-23T04:33:54.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:33:54.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:33:54.691Z] Configure a credential helper to remove this warning. See [2024-08-23T04:33:54.691Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:33:54.691Z] [2024-08-23T04:33:54.691Z] Login Succeeded [2024-08-23T04:33:54.691Z] nexus3.edgexfoundry.org:10002 [2024-08-23T04:33:54.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:33:54.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:33:54.691Z] Configure a credential helper to remove this warning. See [2024-08-23T04:33:54.691Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:33:54.691Z] [2024-08-23T04:33:54.691Z] Login Succeeded [2024-08-23T04:33:54.691Z] nexus3.edgexfoundry.org:10003 [2024-08-23T04:33:54.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:33:54.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:33:54.954Z] Configure a credential helper to remove this warning. See [2024-08-23T04:33:54.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:33:54.954Z] [2024-08-23T04:33:54.954Z] Login Succeeded [2024-08-23T04:33:54.954Z] nexus3.edgexfoundry.org:10004 [2024-08-23T04:33:54.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:33:54.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:33:54.954Z] Configure a credential helper to remove this warning. See [2024-08-23T04:33:54.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:33:54.954Z] [2024-08-23T04:33:54.954Z] Login Succeeded [2024-08-23T04:33:54.954Z] ****.io [2024-08-23T04:33:55.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:33:55.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:33:55.214Z] Configure a credential helper to remove this warning. See [2024-08-23T04:33:55.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:33:55.214Z] [2024-08-23T04:33:55.214Z] Login Succeeded [2024-08-23T04:33:55.214Z] ---> ****-login.sh ends [Pipeline] } [2024-08-23T04:33:55.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-23T04:33:55.488Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-23T04:33:55.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-23T04:33:55.595Z] ========================================================= [2024-08-23T04:33:55.595Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-23T04:33:55.595Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:33:56.124Z] + 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-08-23T04:33:56.124Z] Sending build context to Docker daemon 25.12MB [2024-08-23T04:33:56.124Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-23T04:33:56.124Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-23T04:33:56.382Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-23T04:33:56.382Z] 619be1103602: Pulling fs layer [2024-08-23T04:33:56.382Z] 7862e08f4a3e: Pulling fs layer [2024-08-23T04:33:56.382Z] 5df492c9dc93: Pulling fs layer [2024-08-23T04:33:56.382Z] 7629e6793208: Pulling fs layer [2024-08-23T04:33:56.382Z] 4f4fb700ef54: Pulling fs layer [2024-08-23T04:33:56.382Z] fb5054dd5b73: Pulling fs layer [2024-08-23T04:33:56.382Z] eeca6798cff9: Pulling fs layer [2024-08-23T04:33:56.382Z] aa269ceb94a6: Pulling fs layer [2024-08-23T04:33:56.382Z] ada007ff1a6a: Pulling fs layer [2024-08-23T04:33:56.382Z] 4f4fb700ef54: Waiting [2024-08-23T04:33:56.382Z] 7629e6793208: Waiting [2024-08-23T04:33:56.382Z] fb5054dd5b73: Waiting [2024-08-23T04:33:56.382Z] eeca6798cff9: Waiting [2024-08-23T04:33:56.382Z] aa269ceb94a6: Waiting [2024-08-23T04:33:56.382Z] ada007ff1a6a: Waiting [2024-08-23T04:33:56.382Z] 7862e08f4a3e: Download complete [2024-08-23T04:33:56.382Z] 7629e6793208: Download complete [2024-08-23T04:33:56.382Z] 4f4fb700ef54: Verifying Checksum [2024-08-23T04:33:56.382Z] 4f4fb700ef54: Download complete [2024-08-23T04:33:56.382Z] 619be1103602: Verifying Checksum [2024-08-23T04:33:56.382Z] 619be1103602: Download complete [2024-08-23T04:33:56.382Z] fb5054dd5b73: Verifying Checksum [2024-08-23T04:33:56.382Z] fb5054dd5b73: Download complete [2024-08-23T04:33:56.382Z] eeca6798cff9: Verifying Checksum [2024-08-23T04:33:56.382Z] eeca6798cff9: Download complete [2024-08-23T04:33:56.382Z] 619be1103602: Pull complete [2024-08-23T04:33:56.639Z] ada007ff1a6a: Verifying Checksum [2024-08-23T04:33:56.639Z] ada007ff1a6a: Download complete [2024-08-23T04:33:56.639Z] 7862e08f4a3e: Pull complete [2024-08-23T04:33:56.898Z] 5df492c9dc93: Verifying Checksum [2024-08-23T04:33:56.898Z] 5df492c9dc93: Download complete [2024-08-23T04:33:57.155Z] aa269ceb94a6: Verifying Checksum [2024-08-23T04:33:57.155Z] aa269ceb94a6: Download complete [2024-08-23T04:34:00.438Z] 5df492c9dc93: Pull complete [2024-08-23T04:34:00.438Z] 7629e6793208: Pull complete [2024-08-23T04:34:00.438Z] 4f4fb700ef54: Pull complete [2024-08-23T04:34:00.438Z] fb5054dd5b73: Pull complete [2024-08-23T04:34:00.438Z] eeca6798cff9: Pull complete [2024-08-23T04:34:02.963Z] aa269ceb94a6: Pull complete [2024-08-23T04:34:02.963Z] ada007ff1a6a: Pull complete [2024-08-23T04:34:02.963Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-23T04:34:02.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-23T04:34:02.963Z] ---> f489d0715acc [2024-08-23T04:34:02.963Z] Step 3/10 : ARG MAKE=make build [2024-08-23T04:34:06.261Z] ---> Running in e4d68a540236 [2024-08-23T04:34:06.519Z] Removing intermediate container e4d68a540236 [2024-08-23T04:34:06.519Z] ---> 559761d09615 [2024-08-23T04:34:06.519Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-23T04:34:06.519Z] ---> Running in 67d61e2a2191 [2024-08-23T04:34:06.519Z] Removing intermediate container 67d61e2a2191 [2024-08-23T04:34:06.519Z] ---> 86745f4d9eda [2024-08-23T04:34:06.519Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-23T04:34:06.519Z] ---> Running in 3e6fa6efd322 [2024-08-23T04:34:06.778Z] Removing intermediate container 3e6fa6efd322 [2024-08-23T04:34:06.778Z] ---> d3459e66798b [2024-08-23T04:34:06.778Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-23T04:34:06.778Z] ---> Running in 600dc5bc0ed0 [2024-08-23T04:34:07.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-23T04:34:07.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-23T04:34:07.577Z] OK: 264 MiB in 52 packages [2024-08-23T04:34:07.838Z] Removing intermediate container 600dc5bc0ed0 [2024-08-23T04:34:07.838Z] ---> 892cc3905eb2 [2024-08-23T04:34:07.838Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-23T04:34:08.098Z] ---> 36c666c368cd [2024-08-23T04:34:08.098Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-23T04:34:08.098Z] ---> Running in 4e85c39f0d57 [2024-08-23T04:34:08.986Z] Still waiting to schedule task [2024-08-23T04:34:08.987Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-23T04:34:46.822Z] Removing intermediate container 4e85c39f0d57 [2024-08-23T04:34:46.822Z] ---> 74e2a8c6528d [2024-08-23T04:34:46.822Z] Step 9/10 : COPY . . [2024-08-23T04:34:46.822Z] ---> fd841d4c01a1 [2024-08-23T04:34:46.822Z] Step 10/10 : RUN ${MAKE} [2024-08-23T04:34:46.822Z] ---> Running in 927bd180ab22 [2024-08-23T04:34:47.081Z] noop [2024-08-23T04:34:47.341Z] Removing intermediate container 927bd180ab22 [2024-08-23T04:34:47.341Z] ---> c319377a89d5 [2024-08-23T04:34:47.341Z] Successfully built c319377a89d5 [2024-08-23T04:34:47.341Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:34:47.827Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-23T04:34:47.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T04:34:47.999Z] prd-ubuntu20.04-docker-8c-8g-8203 does not seem to be running inside a container [2024-08-23T04:34:48.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1615 -v /w/workspace/gexfoundry_device-sdk-go_PR-1615:/w/workspace/gexfoundry_device-sdk-go_PR-1615:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-23T04:34:48.349Z] $ docker top 08a6ba93c9671f45518971c90eee1a010213f2b4de0abc9a5480bc8865250483 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-23T04:34:48.770Z] + go version [2024-08-23T04:34:48.770Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-23T04:34:48.805Z] $ docker stop --time=1 08a6ba93c9671f45518971c90eee1a010213f2b4de0abc9a5480bc8865250483 [2024-08-23T04:34:50.088Z] $ docker rm -f --volumes 08a6ba93c9671f45518971c90eee1a010213f2b4de0abc9a5480bc8865250483 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:34:50.913Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-23T04:34:50.913Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T04:34:51.087Z] prd-ubuntu20.04-docker-8c-8g-8203 does not seem to be running inside a container [2024-08-23T04:34:51.116Z] $ 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-1615 -v /w/workspace/gexfoundry_device-sdk-go_PR-1615:/w/workspace/gexfoundry_device-sdk-go_PR-1615:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-23T04:34:51.422Z] $ docker top f268591a2e91208b4b231b22d4e3dd59fb58d5e9a3c03602fc23be3f49c78a95 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-23T04:34:51.837Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1615 [Pipeline] fileExists [Pipeline] sh [2024-08-23T04:34:52.214Z] + make test [2024-08-23T04:34:52.214Z] go test -race -coverprofile=coverage.out ./... [2024-08-23T04:34:58.789Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-23T04:35:37.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-23T04:35:37.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-23T04:35:37.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-23T04:35:37.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-23T04:35:37.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-23T04:35:37.516Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.028s coverage: 26.0% of statements [2024-08-23T04:35:37.516Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.039s coverage: 79.4% of statements [2024-08-23T04:35:37.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-23T04:35:37.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-23T04:35:37.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-23T04:35:37.516Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.048s coverage: 86.0% of statements [2024-08-23T04:35:37.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-23T04:35:37.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-23T04:35:37.516Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 52.2% of statements [2024-08-23T04:35:37.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-23T04:35:37.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.4% of statements [2024-08-23T04:35:37.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.274s coverage: 44.6% of statements [2024-08-23T04:35:37.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.053s coverage: 68.5% of statements [2024-08-23T04:35:37.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.086s coverage: 89.2% of statements [2024-08-23T04:35:37.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.4% of statements [2024-08-23T04:35:42.624Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8207 in /w/workspace/gexfoundry_device-sdk-go_PR-1615 [Pipeline] { [Pipeline] ws [2024-08-23T04:35:42.703Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-08-23T04:35:45.826Z] The recommended git tool is: git [2024-08-23T04:35:52.888Z] using credential edgex-jenkins-ssh [2024-08-23T04:35:52.917Z] Cloning the remote Git repository [2024-08-23T04:35:52.958Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-08-23T04:35:53.088Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-08-23T04:35:53.306Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-23T04:35:53.307Z] > git --version # timeout=10 [2024-08-23T04:35:53.381Z] > git --version # 'git version 2.25.1' [2024-08-23T04:35:53.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-23T04:35:53.635Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-23T04:35:57.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-23T04:35:57.362Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-23T04:35:59.151Z] Merging remotes/origin/main commit 55ceb93b68ddd1fabddb6a346a0921fb81c17045 into PR head commit 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [2024-08-23T04:35:58.430Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-23T04:35:58.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-23T04:35:58.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-23T04:35:58.506Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1615/head:refs/remotes/origin/PR-1615 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-23T04:35:59.167Z] > git config core.sparsecheckout # timeout=10 [2024-08-23T04:35:59.242Z] > git checkout -f 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 # timeout=10 [2024-08-23T04:35:59.353Z] > git remote # timeout=10 [2024-08-23T04:35:59.369Z] > git config --get remote.origin.url # timeout=10 [2024-08-23T04:35:59.388Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-23T04:35:59.450Z] Merge succeeded, producing 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [2024-08-23T04:35:59.451Z] Checking out Revision 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 (PR-1615) [2024-08-23T04:36:00.055Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-08-23T04:36:00.108Z] > git --version # timeout=10 [2024-08-23T04:36:00.119Z] > git --version # 'git version 2.25.1' [2024-08-23T04:36:00.133Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-23T04:35:59.407Z] > git merge 55ceb93b68ddd1fabddb6a346a0921fb81c17045 # timeout=10 [2024-08-23T04:35:59.433Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-23T04:35:59.454Z] > git config core.sparsecheckout # timeout=10 [2024-08-23T04:35:59.469Z] > git checkout -f 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-23T04:36:05.125Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-23T04:36:05.125Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-23T04:36:05.125Z] Dload Upload Total Spent Left Speed [2024-08-23T04:36:05.125Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2024-08-23T04:36:05.498Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-23T04:36:05.852Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-23T04:36:05.852Z] + sudo tee /etc/docker/daemon.new [2024-08-23T04:36:05.852Z] { [2024-08-23T04:36:05.852Z] "registry-mirrors": [ [2024-08-23T04:36:05.852Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-23T04:36:05.852Z] ], [2024-08-23T04:36:05.852Z] "bip": "10.250.0.254/24", [2024-08-23T04:36:05.852Z] "hosts": [ [2024-08-23T04:36:05.852Z] "tcp://0.0.0.0:5555", [2024-08-23T04:36:05.852Z] "unix:///var/run/docker.sock" [2024-08-23T04:36:05.852Z] ], [2024-08-23T04:36:05.852Z] "mtu": 1458, [2024-08-23T04:36:05.852Z] "selinux-enabled": true, [2024-08-23T04:36:05.852Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-23T04:36:05.852Z] } [Pipeline] sh [2024-08-23T04:36:06.215Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-23T04:36:06.568Z] + sudo service docker restart [2024-08-23T04:36:09.879Z] GO111MODULE=on go vet ./... [2024-08-23T04:36:16.446Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-23T04:36:16.446Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-23T04:36:16.446Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-23T04:36:16.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-23T04:36:16.540Z] $ docker stop --time=1 f268591a2e91208b4b231b22d4e3dd59fb58d5e9a3c03602fc23be3f49c78a95 [2024-08-23T04:36:18.639Z] $ docker rm -f --volumes f268591a2e91208b4b231b22d4e3dd59fb58d5e9a3c03602fc23be3f49c78a95 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-23T04:36:19.453Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-23T04:36:19.553Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-23T04:36:20.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-23T04:36:20.617Z] + ls -al . [2024-08-23T04:36:20.617Z] total 380 [2024-08-23T04:36:20.617Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 04:34 . [2024-08-23T04:36:20.617Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:33 .. [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 23 04:33 .dockerignore [2024-08-23T04:36:20.617Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 04:35 .git [2024-08-23T04:36:20.617Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:33 .github [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 23 04:33 .gitignore [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 04:33 .golangci.yml [2024-08-23T04:36:20.617Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 04:33 .semver [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 23 04:33 CHANGELOG.md [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 04:33 GOVERNANCE.md [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 23 04:33 Jenkinsfile [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 23 04:33 LICENSE [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 23 04:33 Makefile [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 23 04:33 OWNERS.md [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 23 04:33 README.md [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 04:33 VERSION [2024-08-23T04:36:20.617Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:33 bin [2024-08-23T04:36:20.617Z] -rw-r--r-- 1 jenkins jenkins 126053 Aug 23 04:35 coverage.out [2024-08-23T04:36:20.617Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 23 04:33 example [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 23 04:33 go.mod [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 23 04:33 go.sum [2024-08-23T04:36:20.617Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:33 internal [2024-08-23T04:36:20.617Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:33 openapi [2024-08-23T04:36:20.617Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 04:33 pkg [2024-08-23T04:36:20.617Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:33 snap [2024-08-23T04:36:20.617Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 23 04:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:36:21.040Z] + 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=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 --label arch=amd64 --label version=0.0.0 . [2024-08-23T04:36:21.040Z] Sending build context to Docker daemon 25.25MB [2024-08-23T04:36:21.040Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-23T04:36:21.040Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-23T04:36:21.040Z] ---> c319377a89d5 [2024-08-23T04:36:21.040Z] Step 3/24 : ARG MAKE=make build [2024-08-23T04:36:21.299Z] ---> Running in e9f812d8df24 [2024-08-23T04:36:21.299Z] Removing intermediate container e9f812d8df24 [2024-08-23T04:36:21.299Z] ---> 1ab38eeaf76a [2024-08-23T04:36:21.299Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-23T04:36:21.299Z] ---> Running in 1f7e10f0acf1 [2024-08-23T04:36:21.299Z] Removing intermediate container 1f7e10f0acf1 [2024-08-23T04:36:21.299Z] ---> f3916d816e60 [2024-08-23T04:36:21.299Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-23T04:36:21.560Z] ---> Running in a68f3f6b8102 [2024-08-23T04:36:21.560Z] Removing intermediate container a68f3f6b8102 [2024-08-23T04:36:21.560Z] ---> 7c4220681d31 [2024-08-23T04:36:21.560Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-23T04:36:21.560Z] ---> Running in 4c9bb7f9e7ef [2024-08-23T04:36:21.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-23T04:36:22.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-23T04:36:22.337Z] OK: 264 MiB in 52 packages [2024-08-23T04:36:22.596Z] Removing intermediate container 4c9bb7f9e7ef [2024-08-23T04:36:22.596Z] ---> 70b34ee7509b [2024-08-23T04:36:22.596Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-23T04:36:22.596Z] ---> 35bab2081142 [2024-08-23T04:36:22.596Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-23T04:36:22.596Z] ---> Running in 4f7beb80f642 [2024-08-23T04:36:23.535Z] Removing intermediate container 4f7beb80f642 [2024-08-23T04:36:23.535Z] ---> 91ee97b3bf77 [2024-08-23T04:36:23.535Z] Step 9/24 : COPY . . [2024-08-23T04:36:24.104Z] ---> 285fe4cade14 [2024-08-23T04:36:24.104Z] Step 10/24 : RUN ${MAKE} [2024-08-23T04:36:24.104Z] ---> Running in 42a6620ba7b4 [2024-08-23T04:36:24.364Z] 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-08-23T04:36:24.890Z] provisioning config files... [2024-08-23T04:36:24.916Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8541981457804564014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:36:25.403Z] ---> ****-login.sh [2024-08-23T04:36:25.403Z] nexus3.edgexfoundry.org:10001 [2024-08-23T04:36:25.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:36:25.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:36:25.944Z] Configure a credential helper to remove this warning. See [2024-08-23T04:36:25.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:36:25.944Z] [2024-08-23T04:36:25.944Z] Login Succeeded [2024-08-23T04:36:25.944Z] nexus3.edgexfoundry.org:10002 [2024-08-23T04:36:26.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:36:26.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:36:26.482Z] Configure a credential helper to remove this warning. See [2024-08-23T04:36:26.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:36:26.482Z] [2024-08-23T04:36:26.482Z] Login Succeeded [2024-08-23T04:36:26.482Z] nexus3.edgexfoundry.org:10003 [2024-08-23T04:36:26.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:36:26.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:36:26.754Z] Configure a credential helper to remove this warning. See [2024-08-23T04:36:26.754Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:36:26.754Z] [2024-08-23T04:36:26.754Z] Login Succeeded [2024-08-23T04:36:26.754Z] nexus3.edgexfoundry.org:10004 [2024-08-23T04:36:27.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:36:27.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:36:27.023Z] Configure a credential helper to remove this warning. See [2024-08-23T04:36:27.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:36:27.023Z] [2024-08-23T04:36:27.023Z] Login Succeeded [2024-08-23T04:36:27.023Z] ****.io [2024-08-23T04:36:27.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-23T04:36:27.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-23T04:36:27.559Z] Configure a credential helper to remove this warning. See [2024-08-23T04:36:27.559Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-23T04:36:27.559Z] [2024-08-23T04:36:27.559Z] Login Succeeded [2024-08-23T04:36:27.559Z] ---> ****-login.sh ends [Pipeline] } [2024-08-23T04:36:27.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-23T04:36:28.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-23T04:36:28.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-23T04:36:28.175Z] ========================================================= [2024-08-23T04:36:28.175Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-23T04:36:28.175Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:36:28.730Z] + 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-08-23T04:36:29.328Z] Sending build context to Docker daemon 13MB [2024-08-23T04:36:29.328Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-23T04:36:29.328Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-23T04:36:29.328Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-23T04:36:29.328Z] c6b39de5b339: Pulling fs layer [2024-08-23T04:36:29.328Z] a69c41024577: Pulling fs layer [2024-08-23T04:36:29.328Z] d6de4b400683: Pulling fs layer [2024-08-23T04:36:29.328Z] 35cb2a7552d0: Pulling fs layer [2024-08-23T04:36:29.328Z] 4f4fb700ef54: Pulling fs layer [2024-08-23T04:36:29.328Z] 464afbd9ba4c: Pulling fs layer [2024-08-23T04:36:29.328Z] 00f215d4a9da: Pulling fs layer [2024-08-23T04:36:29.328Z] d496ad576159: Pulling fs layer [2024-08-23T04:36:29.328Z] 4f4fb700ef54: Waiting [2024-08-23T04:36:29.328Z] 464afbd9ba4c: Waiting [2024-08-23T04:36:29.328Z] 00f215d4a9da: Waiting [2024-08-23T04:36:29.328Z] d496ad576159: Waiting [2024-08-23T04:36:29.328Z] 35cb2a7552d0: Waiting [2024-08-23T04:36:29.600Z] a69c41024577: Verifying Checksum [2024-08-23T04:36:29.600Z] a69c41024577: Download complete [2024-08-23T04:36:29.600Z] 35cb2a7552d0: Verifying Checksum [2024-08-23T04:36:29.600Z] 35cb2a7552d0: Download complete [2024-08-23T04:36:29.600Z] c6b39de5b339: Download complete [2024-08-23T04:36:29.600Z] 4f4fb700ef54: Verifying Checksum [2024-08-23T04:36:29.600Z] 4f4fb700ef54: Download complete [2024-08-23T04:36:29.600Z] 464afbd9ba4c: Verifying Checksum [2024-08-23T04:36:29.600Z] 464afbd9ba4c: Download complete [2024-08-23T04:36:29.869Z] d496ad576159: Verifying Checksum [2024-08-23T04:36:29.869Z] d496ad576159: Download complete [2024-08-23T04:36:30.455Z] c6b39de5b339: Pull complete [2024-08-23T04:36:31.039Z] a69c41024577: Pull complete [2024-08-23T04:36:31.308Z] d6de4b400683: Verifying Checksum [2024-08-23T04:36:31.308Z] d6de4b400683: Download complete [2024-08-23T04:36:32.274Z] 00f215d4a9da: Verifying Checksum [2024-08-23T04:36:32.275Z] 00f215d4a9da: Download complete [2024-08-23T04:36:44.579Z] d6de4b400683: Pull complete [2024-08-23T04:36:44.579Z] 35cb2a7552d0: Pull complete [2024-08-23T04:36:44.579Z] 4f4fb700ef54: Pull complete [2024-08-23T04:36:44.579Z] 464afbd9ba4c: Pull complete [2024-08-23T04:36:52.785Z] 00f215d4a9da: Pull complete [2024-08-23T04:36:54.210Z] d496ad576159: Pull complete [2024-08-23T04:36:54.210Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-23T04:36:54.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-23T04:36:54.210Z] ---> f246e2811388 [2024-08-23T04:36:54.210Z] Step 3/10 : ARG MAKE=make build [2024-08-23T04:36:56.154Z] ---> Running in cfbac1ae9bf4 [2024-08-23T04:36:56.154Z] Removing intermediate container cfbac1ae9bf4 [2024-08-23T04:36:56.154Z] ---> f10374e4f4c0 [2024-08-23T04:36:56.154Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-23T04:36:56.421Z] ---> Running in 64327e8a542a [2024-08-23T04:36:56.689Z] Removing intermediate container 64327e8a542a [2024-08-23T04:36:56.690Z] ---> 0d976b26f3b3 [2024-08-23T04:36:56.690Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-23T04:36:56.690Z] ---> Running in 8c0062f4086f [2024-08-23T04:36:56.958Z] Removing intermediate container 8c0062f4086f [2024-08-23T04:36:56.958Z] ---> 4cdf8dae9f1d [2024-08-23T04:36:56.958Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-23T04:36:56.958Z] ---> Running in 7fc5d542d6e3 [2024-08-23T04:36:58.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-23T04:36:58.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-23T04:36:59.636Z] OK: 266 MiB in 52 packages [2024-08-23T04:37:00.234Z] Removing intermediate container 7fc5d542d6e3 [2024-08-23T04:37:00.234Z] ---> fbb6f14b963e [2024-08-23T04:37:00.234Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-23T04:37:00.820Z] ---> 6ccffdf82ba2 [2024-08-23T04:37:00.820Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-23T04:37:00.820Z] ---> Running in 8ca9ad1fdb46 [2024-08-23T04:37:03.214Z] Removing intermediate container 42a6620ba7b4 [2024-08-23T04:37:03.214Z] ---> 19407a6ce239 [2024-08-23T04:37:03.214Z] Step 11/24 : FROM alpine:3.18 [2024-08-23T04:37:03.214Z] 3.18: Pulling from library/alpine [2024-08-23T04:37:03.214Z] 930bdd4d222e: Pulling fs layer [2024-08-23T04:37:03.214Z] 930bdd4d222e: Verifying Checksum [2024-08-23T04:37:03.214Z] 930bdd4d222e: Download complete [2024-08-23T04:37:03.214Z] 930bdd4d222e: Pull complete [2024-08-23T04:37:03.214Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-23T04:37:03.214Z] Status: Downloaded newer image for alpine:3.18 [2024-08-23T04:37:03.214Z] ---> 18f865063206 [2024-08-23T04:37:03.214Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-23T04:37:03.214Z] ---> Running in bb6030c90dca [2024-08-23T04:37:03.214Z] Removing intermediate container bb6030c90dca [2024-08-23T04:37:03.214Z] ---> cb686b7790b9 [2024-08-23T04:37:03.214Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-23T04:37:03.214Z] ---> Running in ac181276de10 [2024-08-23T04:37:03.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-23T04:37:03.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-23T04:37:03.214Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-23T04:37:03.214Z] Executing busybox-1.36.1-r7.trigger [2024-08-23T04:37:03.214Z] OK: 7 MiB in 16 packages [2024-08-23T04:37:03.214Z] Removing intermediate container ac181276de10 [2024-08-23T04:37:03.214Z] ---> 236bae10a9d0 [2024-08-23T04:37:03.214Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-23T04:37:03.214Z] ---> Running in d3ee528ce8de [2024-08-23T04:37:03.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-23T04:37:03.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-23T04:37:03.472Z] OK: 7 MiB in 16 packages [2024-08-23T04:37:03.730Z] Removing intermediate container d3ee528ce8de [2024-08-23T04:37:03.730Z] ---> 561d06ec589c [2024-08-23T04:37:03.730Z] Step 15/24 : WORKDIR / [2024-08-23T04:37:03.730Z] ---> Running in 1f9f31c33192 [2024-08-23T04:37:03.730Z] Removing intermediate container 1f9f31c33192 [2024-08-23T04:37:03.730Z] ---> be7e1780f97b [2024-08-23T04:37:03.730Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-23T04:37:03.989Z] ---> 0c231d1be57e [2024-08-23T04:37:03.989Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-23T04:37:05.369Z] ---> 318715fab939 [2024-08-23T04:37:05.369Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-23T04:37:05.628Z] ---> 86668465e58f [2024-08-23T04:37:05.628Z] Step 19/24 : EXPOSE 59999 [2024-08-23T04:37:05.628Z] ---> Running in 2ffc79f12685 [2024-08-23T04:37:05.628Z] Removing intermediate container 2ffc79f12685 [2024-08-23T04:37:05.628Z] ---> 7faca4ef16db [2024-08-23T04:37:05.628Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-23T04:37:05.628Z] ---> Running in b0c13392f0f1 [2024-08-23T04:37:05.628Z] Removing intermediate container b0c13392f0f1 [2024-08-23T04:37:05.628Z] ---> 08e8926cedd4 [2024-08-23T04:37:05.629Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-23T04:37:05.887Z] ---> Running in 11e258fb473d [2024-08-23T04:37:05.887Z] Removing intermediate container 11e258fb473d [2024-08-23T04:37:05.887Z] ---> 568842819e7a [2024-08-23T04:37:05.887Z] Step 22/24 : LABEL arch=amd64 [2024-08-23T04:37:05.887Z] ---> Running in 116ca7315c21 [2024-08-23T04:37:05.887Z] Removing intermediate container 116ca7315c21 [2024-08-23T04:37:05.887Z] ---> 2425e4b7346b [2024-08-23T04:37:05.887Z] Step 23/24 : LABEL git_sha=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [2024-08-23T04:37:05.887Z] ---> Running in 514f20fdb65b [2024-08-23T04:37:06.146Z] Removing intermediate container 514f20fdb65b [2024-08-23T04:37:06.146Z] ---> 65ad5aab3eab [2024-08-23T04:37:06.146Z] Step 24/24 : LABEL version=0.0.0 [2024-08-23T04:37:06.146Z] ---> Running in ff056549ad26 [2024-08-23T04:37:06.146Z] Removing intermediate container ff056549ad26 [2024-08-23T04:37:06.146Z] ---> 101fed6bcb3c [2024-08-23T04:37:06.146Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-23T04:37:06.146Z] Successfully built 101fed6bcb3c [2024-08-23T04:37:06.146Z] 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-08-23T04:37:07.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-23T04:37:07.185Z] [2024-08-23T04:37:07.185Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:37:07.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-23T04:37:07.597Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-23T04:37:07.597Z] 5eb5b503b376: Pulling fs layer [2024-08-23T04:37:07.597Z] 5c69ac0246d0: Pulling fs layer [2024-08-23T04:37:07.597Z] ec43610c2a17: Pulling fs layer [2024-08-23T04:37:07.597Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-23T04:37:07.597Z] 33b1e0a273af: Pulling fs layer [2024-08-23T04:37:07.597Z] 5d3b04190fa2: Pulling fs layer [2024-08-23T04:37:07.597Z] 2f39f015ded8: Pulling fs layer [2024-08-23T04:37:07.597Z] 33b1e0a273af: Waiting [2024-08-23T04:37:07.597Z] 5d3b04190fa2: Waiting [2024-08-23T04:37:07.597Z] 2f39f015ded8: Waiting [2024-08-23T04:37:07.597Z] 3a2ae6a8a46f: Waiting [2024-08-23T04:37:07.597Z] 5c69ac0246d0: Download complete [2024-08-23T04:37:07.597Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-23T04:37:07.597Z] 3a2ae6a8a46f: Download complete [2024-08-23T04:37:07.597Z] 33b1e0a273af: Verifying Checksum [2024-08-23T04:37:07.597Z] 33b1e0a273af: Download complete [2024-08-23T04:37:07.597Z] 5d3b04190fa2: Verifying Checksum [2024-08-23T04:37:07.597Z] 5d3b04190fa2: Download complete [2024-08-23T04:37:07.597Z] ec43610c2a17: Verifying Checksum [2024-08-23T04:37:07.597Z] ec43610c2a17: Download complete [2024-08-23T04:37:07.857Z] 5eb5b503b376: Verifying Checksum [2024-08-23T04:37:07.857Z] 5eb5b503b376: Download complete [2024-08-23T04:37:08.424Z] 2f39f015ded8: Download complete [2024-08-23T04:37:08.990Z] 5eb5b503b376: Pull complete [2024-08-23T04:37:08.990Z] 5c69ac0246d0: Pull complete [2024-08-23T04:37:09.559Z] ec43610c2a17: Pull complete [2024-08-23T04:37:09.559Z] 3a2ae6a8a46f: Pull complete [2024-08-23T04:37:09.817Z] 33b1e0a273af: Pull complete [2024-08-23T04:37:09.817Z] 5d3b04190fa2: Pull complete [2024-08-23T04:37:14.003Z] 2f39f015ded8: Pull complete [2024-08-23T04:37:14.003Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-23T04:37:14.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-23T04:37:14.003Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T04:37:14.292Z] prd-ubuntu20.04-docker-8c-8g-8203 does not seem to be running inside a container [2024-08-23T04:37:14.320Z] $ 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-1615 -v /w/workspace/gexfoundry_device-sdk-go_PR-1615:/w/workspace/gexfoundry_device-sdk-go_PR-1615:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-23T04:37:19.432Z] $ docker top 20174ff65645ba52946d47b14ad1a392904dcd9799d460161736584ed44155f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:37:19.909Z] ---> job-cost.sh [2024-08-23T04:37:19.909Z] lf-activate-venv: SKIPPING [2024-08-23T04:37:19.909Z] INFO: No Stack... [2024-08-23T04:37:20.167Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-23T04:37:20.477Z] INFO: Archiving Costs [Pipeline] sh [2024-08-23T04:37:20.819Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives/cost.csv [2024-08-23T04:37:20.819Z] + cut -d, -f6 [Pipeline] lock [2024-08-23T04:37:20.871Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] [2024-08-23T04:37:20.877Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] did not exist. Created. [2024-08-23T04:37:20.887Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-23T04:37:21.307Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-23T04:37:21.374Z] Stashed 1 file(s) [Pipeline] } [2024-08-23T04:37:21.442Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-23T04:37:21.569Z] $ docker stop --time=1 20174ff65645ba52946d47b14ad1a392904dcd9799d460161736584ed44155f9 [2024-08-23T04:37:22.725Z] $ docker rm -f --volumes 20174ff65645ba52946d47b14ad1a392904dcd9799d460161736584ed44155f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-23T04:38:52.504Z] Removing intermediate container 8ca9ad1fdb46 [2024-08-23T04:38:52.504Z] ---> 5c55a009d471 [2024-08-23T04:38:52.504Z] Step 9/10 : COPY . . [2024-08-23T04:38:52.504Z] ---> f72151375a56 [2024-08-23T04:38:52.504Z] Step 10/10 : RUN ${MAKE} [2024-08-23T04:38:52.504Z] ---> Running in 8833ec8a839f [2024-08-23T04:38:52.504Z] noop [2024-08-23T04:38:52.504Z] Removing intermediate container 8833ec8a839f [2024-08-23T04:38:52.504Z] ---> a1ff43a3a84e [2024-08-23T04:38:52.504Z] Successfully built a1ff43a3a84e [2024-08-23T04:38:52.504Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:38:52.991Z] + docker inspect -f . ci-base-image-arm64 [2024-08-23T04:38:52.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T04:38:53.282Z] prd-ubuntu20.04-docker-arm64-4c-16g-8207 does not seem to be running inside a container [2024-08-23T04:38:53.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-23T04:38:54.532Z] $ docker top 9acff907da276cbb43fae1aefe0053c975ad63c020219e0c9f8bd81fe755df8c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-23T04:38:55.429Z] + go version [2024-08-23T04:38:55.429Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-23T04:38:55.471Z] $ docker stop --time=1 9acff907da276cbb43fae1aefe0053c975ad63c020219e0c9f8bd81fe755df8c [2024-08-23T04:38:57.088Z] $ docker rm -f --volumes 9acff907da276cbb43fae1aefe0053c975ad63c020219e0c9f8bd81fe755df8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:38:58.003Z] + docker inspect -f . ci-base-image-arm64 [2024-08-23T04:38:58.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T04:38:58.290Z] prd-ubuntu20.04-docker-arm64-4c-16g-8207 does not seem to be running inside a container [2024-08-23T04:38:58.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-23T04:38:59.547Z] $ docker top 42f97af6d899b7842e3d31505dc7020a3264937194430ca6708d871be5d44ef3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-23T04:39:00.484Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-23T04:39:01.069Z] + make test [2024-08-23T04:39:01.070Z] go test -race -coverprofile=coverage.out ./... [2024-08-23T04:39:47.933Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-23T04:43:09.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-23T04:43:09.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-23T04:43:09.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-23T04:43:09.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-23T04:43:09.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-23T04:43:09.691Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.114s coverage: 26.0% of statements [2024-08-23T04:43:11.096Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.161s coverage: 79.4% of statements [2024-08-23T04:43:19.302Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-23T04:43:19.302Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-23T04:43:19.887Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.258s coverage: 86.0% of statements [2024-08-23T04:43:26.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-23T04:43:27.975Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.502s coverage: 52.2% of statements [2024-08-23T04:43:31.319Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.191s coverage: 14.4% of statements [2024-08-23T04:43:31.319Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.950s coverage: 44.6% of statements [2024-08-23T04:43:32.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-23T04:43:32.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-23T04:43:33.702Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.304s coverage: 68.5% of statements [2024-08-23T04:43:37.045Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.405s coverage: 89.2% of statements [2024-08-23T04:43:42.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-23T04:43:42.959Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.238s coverage: 5.4% of statements [2024-08-23T04:43:44.369Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-23T04:43:44.369Z] GO111MODULE=on go vet ./... [2024-08-23T04:47:51.157Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-23T04:47:51.157Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-23T04:47:51.157Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-23T04:47:51.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-23T04:47:51.238Z] $ docker stop --time=1 42f97af6d899b7842e3d31505dc7020a3264937194430ca6708d871be5d44ef3 [2024-08-23T04:47:53.121Z] $ docker rm -f --volumes 42f97af6d899b7842e3d31505dc7020a3264937194430ca6708d871be5d44ef3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-23T04:47:55.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-23T04:47:55.451Z] Warning: overwriting stash ‘coverage-report’ [2024-08-23T04:47:56.015Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-23T04:47:56.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-23T04:47:56.977Z] + ls -al . [2024-08-23T04:47:56.977Z] total 376 [2024-08-23T04:47:56.977Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 04:39 . [2024-08-23T04:47:56.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:35 .. [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 23 04:35 .dockerignore [2024-08-23T04:47:56.977Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 04:36 .git [2024-08-23T04:47:56.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:35 .github [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 23 04:35 .gitignore [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 04:35 .golangci.yml [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 23 04:35 CHANGELOG.md [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 04:35 GOVERNANCE.md [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 23 04:35 Jenkinsfile [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 23 04:35 LICENSE [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 23 04:35 Makefile [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 23 04:35 OWNERS.md [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 23 04:35 README.md [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 04:33 VERSION [2024-08-23T04:47:56.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:35 bin [2024-08-23T04:47:56.977Z] -rw-r--r-- 1 jenkins jenkins 126054 Aug 23 04:43 coverage.out [2024-08-23T04:47:56.977Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 23 04:35 example [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 23 04:35 go.mod [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 23 04:35 go.sum [2024-08-23T04:47:56.977Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:35 internal [2024-08-23T04:47:56.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:35 openapi [2024-08-23T04:47:56.977Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 04:35 pkg [2024-08-23T04:47:56.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:35 snap [2024-08-23T04:47:56.977Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 23 04:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:47:57.414Z] + 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=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 --label arch=arm64 --label version=0.0.0 . [2024-08-23T04:47:57.999Z] Sending build context to Docker daemon 13.12MB [2024-08-23T04:47:57.999Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-23T04:47:57.999Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-23T04:47:57.999Z] ---> a1ff43a3a84e [2024-08-23T04:47:57.999Z] Step 3/24 : ARG MAKE=make build [2024-08-23T04:47:57.999Z] ---> Running in 905313ed7649 [2024-08-23T04:47:58.584Z] Removing intermediate container 905313ed7649 [2024-08-23T04:47:58.584Z] ---> 2ed20a4f9afb [2024-08-23T04:47:58.584Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-23T04:47:58.584Z] ---> Running in 4068bea08671 [2024-08-23T04:47:58.849Z] Removing intermediate container 4068bea08671 [2024-08-23T04:47:58.849Z] ---> e4cf5f378477 [2024-08-23T04:47:58.849Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-23T04:47:58.849Z] ---> Running in 8308cf615101 [2024-08-23T04:47:59.114Z] Removing intermediate container 8308cf615101 [2024-08-23T04:47:59.114Z] ---> 3536a37ef355 [2024-08-23T04:47:59.114Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-23T04:47:59.381Z] ---> Running in 23920a5aba0d [2024-08-23T04:48:00.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-23T04:48:00.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-23T04:48:01.584Z] OK: 266 MiB in 52 packages [2024-08-23T04:48:02.541Z] Removing intermediate container 23920a5aba0d [2024-08-23T04:48:02.542Z] ---> 571c38871169 [2024-08-23T04:48:02.542Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-23T04:48:02.807Z] ---> 9d1f1cca0dcc [2024-08-23T04:48:02.807Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-23T04:48:03.073Z] ---> Running in 8580ba53629f [2024-08-23T04:48:05.643Z] Removing intermediate container 8580ba53629f [2024-08-23T04:48:05.643Z] ---> 29a71d962043 [2024-08-23T04:48:05.643Z] Step 9/24 : COPY . . [2024-08-23T04:48:07.047Z] ---> eaae75c189a5 [2024-08-23T04:48:07.047Z] Step 10/24 : RUN ${MAKE} [2024-08-23T04:48:07.047Z] ---> Running in ccf135963296 [2024-08-23T04:48:08.006Z] 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-08-23T04:52:01.255Z] Removing intermediate container ccf135963296 [2024-08-23T04:52:01.255Z] ---> 4dd609b5ed51 [2024-08-23T04:52:01.255Z] Step 11/24 : FROM alpine:3.18 [2024-08-23T04:52:01.255Z] 3.18: Pulling from library/alpine [2024-08-23T04:52:01.255Z] 4983c3fe2029: Pulling fs layer [2024-08-23T04:52:01.255Z] 4983c3fe2029: Verifying Checksum [2024-08-23T04:52:01.255Z] 4983c3fe2029: Download complete [2024-08-23T04:52:01.255Z] 4983c3fe2029: Pull complete [2024-08-23T04:52:01.255Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-23T04:52:01.255Z] Status: Downloaded newer image for alpine:3.18 [2024-08-23T04:52:01.255Z] ---> a0237000ae83 [2024-08-23T04:52:01.255Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-23T04:52:01.255Z] ---> Running in 4bd12eb74ffa [2024-08-23T04:52:01.255Z] Removing intermediate container 4bd12eb74ffa [2024-08-23T04:52:01.255Z] ---> 0e7da734571a [2024-08-23T04:52:01.255Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-23T04:52:01.255Z] ---> Running in 0f10a8ecae61 [2024-08-23T04:52:01.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-23T04:52:01.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-23T04:52:01.255Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-23T04:52:01.255Z] Executing busybox-1.36.1-r7.trigger [2024-08-23T04:52:01.255Z] OK: 8 MiB in 16 packages [2024-08-23T04:52:01.255Z] Removing intermediate container 0f10a8ecae61 [2024-08-23T04:52:01.255Z] ---> 5b93086ad01f [2024-08-23T04:52:01.255Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-23T04:52:01.255Z] ---> Running in 434e1a09517f [2024-08-23T04:52:01.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-23T04:52:02.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-23T04:52:03.063Z] OK: 8 MiB in 16 packages [2024-08-23T04:52:04.025Z] Removing intermediate container 434e1a09517f [2024-08-23T04:52:04.026Z] ---> 06006212368d [2024-08-23T04:52:04.026Z] Step 15/24 : WORKDIR / [2024-08-23T04:52:04.026Z] ---> Running in 7d08bf94dad5 [2024-08-23T04:52:04.306Z] Removing intermediate container 7d08bf94dad5 [2024-08-23T04:52:04.306Z] ---> ceb749ab869b [2024-08-23T04:52:04.306Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-23T04:52:04.891Z] ---> 2d3ee8be7af7 [2024-08-23T04:52:04.891Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-23T04:52:07.484Z] ---> 720070e91bb4 [2024-08-23T04:52:07.484Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-23T04:52:07.750Z] ---> 927c8373e0c6 [2024-08-23T04:52:07.750Z] Step 19/24 : EXPOSE 59999 [2024-08-23T04:52:07.750Z] ---> Running in e63ed71e2cfd [2024-08-23T04:52:08.331Z] Removing intermediate container e63ed71e2cfd [2024-08-23T04:52:08.331Z] ---> 89d58a5fb8fd [2024-08-23T04:52:08.331Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-23T04:52:08.331Z] ---> Running in 9d21c2933a40 [2024-08-23T04:52:08.598Z] Removing intermediate container 9d21c2933a40 [2024-08-23T04:52:08.598Z] ---> 302b33f426cd [2024-08-23T04:52:08.598Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-23T04:52:08.598Z] ---> Running in 32fbfcc130dd [2024-08-23T04:52:08.865Z] Removing intermediate container 32fbfcc130dd [2024-08-23T04:52:08.865Z] ---> 682b7c06d355 [2024-08-23T04:52:08.865Z] Step 22/24 : LABEL arch=arm64 [2024-08-23T04:52:09.130Z] ---> Running in 716c41e19661 [2024-08-23T04:52:09.396Z] Removing intermediate container 716c41e19661 [2024-08-23T04:52:09.396Z] ---> 6b22ae9a0861 [2024-08-23T04:52:09.396Z] Step 23/24 : LABEL git_sha=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [2024-08-23T04:52:09.396Z] ---> Running in 6dfdf3e67628 [2024-08-23T04:52:09.662Z] Removing intermediate container 6dfdf3e67628 [2024-08-23T04:52:09.662Z] ---> 71a7a1f4e521 [2024-08-23T04:52:09.662Z] Step 24/24 : LABEL version=0.0.0 [2024-08-23T04:52:09.662Z] ---> Running in 745421b3ee6d [2024-08-23T04:52:10.256Z] Removing intermediate container 745421b3ee6d [2024-08-23T04:52:10.256Z] ---> 70c6ac8d5eaf [2024-08-23T04:52:10.256Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-23T04:52:10.256Z] Successfully built 70c6ac8d5eaf [2024-08-23T04:52:10.256Z] 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-08-23T04:52:11.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-23T04:52:11.199Z] [2024-08-23T04:52:11.199Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:52:11.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-23T04:52:11.894Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-23T04:52:11.894Z] 8998bd30e6a1: Pulling fs layer [2024-08-23T04:52:11.894Z] 04944245beec: Pulling fs layer [2024-08-23T04:52:11.894Z] 699f458cf7ca: Pulling fs layer [2024-08-23T04:52:11.894Z] 765212b225bb: Pulling fs layer [2024-08-23T04:52:11.894Z] f23df028b6ca: Pulling fs layer [2024-08-23T04:52:11.894Z] d65c8cfc05b1: Pulling fs layer [2024-08-23T04:52:11.894Z] 2437ff75d9bd: Pulling fs layer [2024-08-23T04:52:11.894Z] f23df028b6ca: Waiting [2024-08-23T04:52:11.894Z] d65c8cfc05b1: Waiting [2024-08-23T04:52:11.894Z] 2437ff75d9bd: Waiting [2024-08-23T04:52:11.894Z] 765212b225bb: Waiting [2024-08-23T04:52:11.894Z] 04944245beec: Verifying Checksum [2024-08-23T04:52:11.894Z] 04944245beec: Download complete [2024-08-23T04:52:11.894Z] 765212b225bb: Verifying Checksum [2024-08-23T04:52:11.894Z] 765212b225bb: Download complete [2024-08-23T04:52:11.894Z] f23df028b6ca: Verifying Checksum [2024-08-23T04:52:11.894Z] f23df028b6ca: Download complete [2024-08-23T04:52:11.894Z] d65c8cfc05b1: Verifying Checksum [2024-08-23T04:52:11.894Z] d65c8cfc05b1: Download complete [2024-08-23T04:52:12.163Z] 699f458cf7ca: Verifying Checksum [2024-08-23T04:52:12.163Z] 699f458cf7ca: Download complete [2024-08-23T04:52:12.746Z] 8998bd30e6a1: Verifying Checksum [2024-08-23T04:52:12.746Z] 8998bd30e6a1: Download complete [2024-08-23T04:52:15.319Z] 2437ff75d9bd: Verifying Checksum [2024-08-23T04:52:15.319Z] 2437ff75d9bd: Download complete [2024-08-23T04:52:17.896Z] 8998bd30e6a1: Pull complete [2024-08-23T04:52:18.164Z] 04944245beec: Pull complete [2024-08-23T04:52:20.158Z] 699f458cf7ca: Pull complete [2024-08-23T04:52:20.158Z] 765212b225bb: Pull complete [2024-08-23T04:52:21.144Z] f23df028b6ca: Pull complete [2024-08-23T04:52:21.437Z] d65c8cfc05b1: Pull complete [2024-08-23T04:52:39.669Z] 2437ff75d9bd: Pull complete [2024-08-23T04:52:39.669Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-23T04:52:39.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-23T04:52:39.669Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T04:52:40.069Z] prd-ubuntu20.04-docker-arm64-4c-16g-8207 does not seem to be running inside a container [2024-08-23T04:52:40.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-23T04:52:43.091Z] $ docker top 47066b2d5d0f6f1b8cfb3e545091aa26c3bba4d59f52ffcd515a8cf5e07a7878 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:52:44.014Z] ---> job-cost.sh [2024-08-23T04:52:44.014Z] lf-activate-venv: SKIPPING [2024-08-23T04:52:44.014Z] INFO: No Stack... [2024-08-23T04:52:45.949Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-23T04:52:46.902Z] INFO: Archiving Costs [Pipeline] sh [2024-08-23T04:52:47.576Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-08-23T04:52:47.576Z] + cut -d, -f6 [Pipeline] lock [2024-08-23T04:52:47.669Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] [2024-08-23T04:52:47.679Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] did not exist. Created. [2024-08-23T04:52:47.689Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-23T04:52:48.464Z] /w/workspace/device-sdk-go/1@tmp/durable-c27fd361/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-23T04:52:49.155Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-23T04:52:49.204Z] Warning: overwriting stash ‘stack-cost’ [2024-08-23T04:52:49.295Z] Stashed 1 file(s) [Pipeline] } [2024-08-23T04:52:49.315Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-23T04:52:49.414Z] $ docker stop --time=1 47066b2d5d0f6f1b8cfb3e545091aa26c3bba4d59f52ffcd515a8cf5e07a7878 [2024-08-23T04:52:50.964Z] $ docker rm -f --volumes 47066b2d5d0f6f1b8cfb3e545091aa26c3bba4d59f52ffcd515a8cf5e07a7878 [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-08-23T04:52:52.114Z] provisioning config files... [2024-08-23T04:52:52.120Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/config14017700668440125180tmp [Pipeline] { [Pipeline] sh [2024-08-23T04:52:52.478Z] + set +x [2024-08-23T04:52:52.478Z] + curl -s https://codecov.io/bash [2024-08-23T04:52:52.478Z] + bash -s -- [2024-08-23T04:52:52.743Z] [2024-08-23T04:52:52.743Z] _____ _ [2024-08-23T04:52:52.743Z] / ____| | | [2024-08-23T04:52:52.743Z] | | ___ __| | ___ ___ _____ __ [2024-08-23T04:52:52.743Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-23T04:52:52.743Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-23T04:52:52.743Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-23T04:52:52.743Z] Bash-1.0.6 [2024-08-23T04:52:52.743Z] [2024-08-23T04:52:52.743Z] [2024-08-23T04:52:52.743Z] ==> git version 2.25.1 found [2024-08-23T04:52:52.743Z] ==> 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-08-23T04:52:52.743Z] Release-Date: 2020-01-08 [2024-08-23T04:52:52.743Z] 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-08-23T04:52:52.743Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-23T04:52:52.743Z] ==> Jenkins CI detected. [2024-08-23T04:52:52.743Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1615 [2024-08-23T04:52:52.743Z] project root: . [2024-08-23T04:52:52.743Z] --> token set from env [2024-08-23T04:52:52.743Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-23T04:52:52.743Z] ==> Running gcov in . (disable via -X gcov) [2024-08-23T04:52:52.743Z] ==> Python coveragepy not found [2024-08-23T04:52:52.743Z] ==> Searching for coverage reports in: [2024-08-23T04:52:52.743Z] + . [2024-08-23T04:52:52.743Z] -> Found 1 reports [2024-08-23T04:52:52.743Z] ==> Detecting git/mercurial file structure [2024-08-23T04:52:52.743Z] ==> Reading reports [2024-08-23T04:52:52.743Z] + ./coverage.out bytes=126054 [2024-08-23T04:52:52.743Z] ==> Appending adjustments [2024-08-23T04:52:52.743Z] https://docs.codecov.io/docs/fixing-reports [2024-08-23T04:52:53.004Z] + Found adjustments [2024-08-23T04:52:53.004Z] ==> Gzipping contents [2024-08-23T04:52:53.004Z] 20K /tmp/codecov.f9Tpre.gz [2024-08-23T04:52:53.004Z] ==> Uploading reports [2024-08-23T04:52:53.004Z] url: https://codecov.io [2024-08-23T04:52:53.004Z] query: branch=PR-1615&commit=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1615%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1615&job=&cmd_args= [2024-08-23T04:52:53.004Z] -> Pinging Codecov [2024-08-23T04:52:53.004Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1615&commit=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1615%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1615&job=&cmd_args= [2024-08-23T04:52:53.263Z] -> Uploading to [2024-08-23T04:52:53.264Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-23/7E55EF52A471D76F132DFD9A03CDDE97/70224c8b3e45ed3d1f12f6a5ca7dd292bc477222/d3c5746a-d85e-43e3-80eb-3180f94c2131.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240823%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240823T045253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=402469f3a12f5f04100400abad1de91f3b44a8c745ef2087422f94e29e7eefa3 [2024-08-23T04:52:53.264Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-23T04:52:53.264Z] Dload Upload Total Spent Left Speed [2024-08-23T04:52:53.523Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17144 0 0 100 17144 0 71433 --:--:-- --:--:-- --:--:-- 71433 [2024-08-23T04:52:53.523Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [Pipeline] } [2024-08-23T04:52:53.559Z] 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-08-23T04:52:55.896Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives ] [2024-08-23T04:52:55.896Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives [2024-08-23T04:52:55.896Z] total 16 [2024-08-23T04:52:55.896Z] drwxr-xr-x 3 root root 4096 Aug 23 04:37 . [2024-08-23T04:52:55.896Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:37 .. [2024-08-23T04:52:55.896Z] drwxr-xr-x 2 root root 4096 Aug 23 04:37 cost [2024-08-23T04:52:55.896Z] -rw-r--r-- 1 root root 86 Aug 23 04:37 cost.csv [2024-08-23T04:52:55.896Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives [2024-08-23T04:52:55.896Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives [2024-08-23T04:52:55.896Z] total 16 [2024-08-23T04:52:55.896Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 04:37 . [2024-08-23T04:52:55.896Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:37 .. [2024-08-23T04:52:55.896Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 04:37 cost [2024-08-23T04:52:55.896Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 23 04:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:52:56.240Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:52:57.134Z] ---> package-listing.sh [2024-08-23T04:52:57.134Z] ++ facter osfamily [2024-08-23T04:52:57.134Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-23T04:52:57.393Z] + OS_FAMILY=debian [2024-08-23T04:52:57.393Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1615 [2024-08-23T04:52:57.393Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-23T04:52:57.393Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-23T04:52:57.393Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-23T04:52:57.393Z] + PACKAGES=/tmp/packages_start.txt [2024-08-23T04:52:57.393Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1615 ']' [2024-08-23T04:52:57.393Z] + PACKAGES=/tmp/packages_end.txt [2024-08-23T04:52:57.393Z] + case "${OS_FAMILY}" in [2024-08-23T04:52:57.393Z] + dpkg -l [2024-08-23T04:52:57.393Z] + grep '^ii' [2024-08-23T04:52:57.393Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-23T04:52:57.393Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-23T04:52:57.393Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-23T04:52:57.393Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1615 ']' [2024-08-23T04:52:57.393Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives/ [2024-08-23T04:52:57.393Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives/ [Pipeline] echo [2024-08-23T04:52:57.434Z] 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-1615/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-23T04:52:57.730Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-23T04:52:58.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-23T04:52:58.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-23T04:52:58.557Z] prd-ubuntu20.04-docker-8c-8g-8203 does not seem to be running inside a container [2024-08-23T04:52:58.581Z] $ 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-1615/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-1615 -v /w/workspace/gexfoundry_device-sdk-go_PR-1615:/w/workspace/gexfoundry_device-sdk-go_PR-1615:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-23T04:52:58.764Z] $ docker top 19b4dfefb70d853674af05b04a3e4aa7587c0c5ca51a2e4c82bb67f14281b9f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-23T04:52:59.170Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-23T04:52:59.490Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-23T04:52:59.805Z] + ls /var/log/sa-host [2024-08-23T04:52:59.805Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-23T04:53:00.069Z] provisioning config files... [2024-08-23T04:53:00.078Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/config8912837231370190973tmp [Pipeline] { [Pipeline] echo [2024-08-23T04:53:00.154Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:53:00.479Z] ---> create-netrc.sh [Pipeline] } [2024-08-23T04:53:00.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:53:00.939Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-23T04:53:00.979Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:53:01.303Z] ---> sudo-logs.sh [2024-08-23T04:53:01.303Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-23T04:53:01.416Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:53:01.739Z] ---> job-cost.sh [2024-08-23T04:53:01.739Z] lf-activate-venv: SKIPPING [2024-08-23T04:53:01.739Z] DEBUG: total: 0.2199999988079071 [2024-08-23T04:53:01.739Z] INFO: Retrieving Stack Cost... [2024-08-23T04:53:01.999Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-23T04:53:02.567Z] INFO: Archiving Costs [Pipeline] echo [2024-08-23T04:53:02.613Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-23T04:53:02.937Z] ---> logs-deploy.sh [2024-08-23T04:53:02.937Z] lf-activate-venv: SKIPPING [2024-08-23T04:53:02.937Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1615/1 [2024-08-23T04:53:02.937Z] INFO: archiving workspace using pattern(s): [2024-08-23T04:53:03.875Z] Archives upload complete. [2024-08-23T04:53:03.875Z] INFO: archiving logs to Nexus