Pull request #1614 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f35974ce7fdb486d71758995b1726d45ec7c2ad0+53be42878d98bd81d8f19abe7357388c82439207 (46707b5be7b97c3356f92423c0e834f5fa80e13b) 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-ssh271212516753373412.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-ssh11076831341142069627.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-1614/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-1614/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8949817433899493107.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-1614/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8368804293724566133.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-ssh599824611045745400.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-1614/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-1614/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11861859300498242287.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-7684’ Running on prd-ubuntu20.04-docker-8c-8g-7687 in /w/workspace/gexfoundry_device-sdk-go_PR-1614 [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-1614 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 53be42878d98bd81d8f19abe7357388c82439207 into PR head commit f35974ce7fdb486d71758995b1726d45ec7c2ad0 Merge succeeded, producing f35974ce7fdb486d71758995b1726d45ec7c2ad0 Checking out Revision f35974ce7fdb486d71758995b1726d45ec7c2ad0 (PR-1614) > 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/1614/head:refs/remotes/origin/PR-1614 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f35974ce7fdb486d71758995b1726d45ec7c2ad0 # 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 53be42878d98bd81d8f19abe7357388c82439207 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f35974ce7fdb486d71758995b1726d45ec7c2ad0 # timeout=10 Commit message: "fix: Don't run auto events for empty profile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-14T08:24:06.812Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-14T08:24:07.047Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-14T08:24:07.184Z] ========================================================= [2024-08-14T08:24:07.184Z] EdgeX Global Pipelines Version Info [2024-08-14T08:24:07.184Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:24:08.322Z] ------------------- [2024-08-14T08:24:08.322Z] stable info: [2024-08-14T08:24:08.322Z] ------------------- [2024-08-14T08:24:08.322Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-14T08:24:08.322Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-14T08:24:08.322Z] Message: update stable to v1.0.260 [2024-08-14T08:24:08.582Z] ------------------- [2024-08-14T08:24:08.582Z] experimental info: [2024-08-14T08:24:08.582Z] ------------------- [2024-08-14T08:24:08.582Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-14T08:24:08.582Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-14T08:24:08.582Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-14T08:24:08.823Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-08-14T08:24:08.894Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-08-14T08:24:08.957Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-14T08:24:09.018Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-14T08:24:09.081Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-14T08:24:09.146Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-14T08:24:09.210Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-14T08:24:09.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-08-14T08:24:09.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-14T08:24:09.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-14T08:24:09.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-14T08:24:09.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-08-14T08:24:09.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-14T08:24:09.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-14T08:24:09.727Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-14T08:24:09.789Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-14T08:24:09.851Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-14T08:24:09.913Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-14T08:24:09.982Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-14T08:24:10.046Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-14T08:24:10.108Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-14T08:24:10.169Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-14T08:24:10.238Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-14T08:24:10.300Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-14T08:24:10.367Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-14T08:24:10.431Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-14T08:24:10.493Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-14T08:24:10.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1614 [Pipeline] echo [2024-08-14T08:24:10.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1614 [Pipeline] echo [2024-08-14T08:24:10.681Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1614 [Pipeline] echo [2024-08-14T08:24:10.760Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f35974ce7fdb486d71758995b1726d45ec7c2ad0 [Pipeline] echo [2024-08-14T08:24:10.827Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f35974c [Pipeline] echo [2024-08-14T08:24:10.895Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-14T08:24:11.056Z] provisioning config files... [2024-08-14T08:24:11.072Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/config7206656033378622429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:24:11.487Z] ---> ****-login.sh [2024-08-14T08:24:11.487Z] nexus3.edgexfoundry.org:10001 [2024-08-14T08:24:11.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:24:12.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:24:12.010Z] Configure a credential helper to remove this warning. See [2024-08-14T08:24:12.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:24:12.010Z] [2024-08-14T08:24:12.010Z] Login Succeeded [2024-08-14T08:24:12.010Z] nexus3.edgexfoundry.org:10002 [2024-08-14T08:24:12.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:24:12.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:24:12.010Z] Configure a credential helper to remove this warning. See [2024-08-14T08:24:12.010Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:24:12.010Z] [2024-08-14T08:24:12.010Z] Login Succeeded [2024-08-14T08:24:12.011Z] nexus3.edgexfoundry.org:10003 [2024-08-14T08:24:12.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:24:12.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:24:12.011Z] Configure a credential helper to remove this warning. See [2024-08-14T08:24:12.011Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:24:12.011Z] [2024-08-14T08:24:12.271Z] Login Succeeded [2024-08-14T08:24:12.272Z] nexus3.edgexfoundry.org:10004 [2024-08-14T08:24:12.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:24:12.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:24:12.272Z] Configure a credential helper to remove this warning. See [2024-08-14T08:24:12.272Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:24:12.272Z] [2024-08-14T08:24:12.272Z] Login Succeeded [2024-08-14T08:24:12.272Z] ****.io [2024-08-14T08:24:12.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:24:12.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:24:12.555Z] Configure a credential helper to remove this warning. See [2024-08-14T08:24:12.555Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:24:12.555Z] [2024-08-14T08:24:12.555Z] Login Succeeded [2024-08-14T08:24:12.555Z] ---> ****-login.sh ends [Pipeline] } [2024-08-14T08:24:12.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-14T08:24:13.323Z] + git rev-list -1 --merges f35974ce7fdb486d71758995b1726d45ec7c2ad0~1..f35974ce7fdb486d71758995b1726d45ec7c2ad0 [Pipeline] echo [2024-08-14T08:24:13.379Z] -----------> git rev-list -1 --merges f35974ce7fdb486d71758995b1726d45ec7c2ad0~1..f35974ce7fdb486d71758995b1726d45ec7c2ad0 f35974ce7fdb486d71758995b1726d45ec7c2ad0 [false] [Pipeline] sh [2024-08-14T08:24:13.705Z] + git log --format=format:%s -1 f35974ce7fdb486d71758995b1726d45ec7c2ad0 [Pipeline] echo [2024-08-14T08:24:13.754Z] ========================================================= [2024-08-14T08:24:13.755Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-14T08:24:13.755Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-14T08:24:14.222Z] + git log --format=format:%s -1 f35974ce7fdb486d71758995b1726d45ec7c2ad0 [Pipeline] echo [2024-08-14T08:24:14.295Z] [semverPrep] GIT_COMMIT: f35974ce7fdb486d71758995b1726d45ec7c2ad0, Commit Message: fix: Don't run auto events for empty profile [Pipeline] echo [2024-08-14T08:24:14.338Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-14T08:24:14.764Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-14T08:24:14.764Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-14T08:24:14.764Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-14T08:24:14.764Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-14T08:24:14.764Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-14T08:24:14.764Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-14T08:24:14.764Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:24:15.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-14T08:24:15.310Z] [2024-08-14T08:24:15.310Z] 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-14T08:24:15.714Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-14T08:24:15.980Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-14T08:24:15.980Z] b85a868b505f: Pulling fs layer [2024-08-14T08:24:15.980Z] e2be974225ed: Pulling fs layer [2024-08-14T08:24:15.980Z] 339a4e72a1f5: Pulling fs layer [2024-08-14T08:24:15.980Z] 988bab9f4d93: Pulling fs layer [2024-08-14T08:24:15.980Z] 1469e6f7b9e6: Pulling fs layer [2024-08-14T08:24:15.980Z] eaf3925da568: Pulling fs layer [2024-08-14T08:24:15.980Z] bab4dde63d76: Pulling fs layer [2024-08-14T08:24:15.980Z] bde34c3a00c8: Pulling fs layer [2024-08-14T08:24:15.980Z] b352a97aabf1: Pulling fs layer [2024-08-14T08:24:15.980Z] 4872d77fe225: Pulling fs layer [2024-08-14T08:24:15.980Z] 5851b861e8e6: Pulling fs layer [2024-08-14T08:24:15.980Z] 988bab9f4d93: Waiting [2024-08-14T08:24:15.980Z] 1469e6f7b9e6: Waiting [2024-08-14T08:24:15.980Z] eaf3925da568: Waiting [2024-08-14T08:24:15.980Z] 5851b861e8e6: Waiting [2024-08-14T08:24:15.980Z] bab4dde63d76: Waiting [2024-08-14T08:24:15.980Z] bde34c3a00c8: Waiting [2024-08-14T08:24:15.980Z] b352a97aabf1: Waiting [2024-08-14T08:24:15.980Z] e2be974225ed: Verifying Checksum [2024-08-14T08:24:15.980Z] e2be974225ed: Download complete [2024-08-14T08:24:15.980Z] 988bab9f4d93: Verifying Checksum [2024-08-14T08:24:15.980Z] 988bab9f4d93: Download complete [2024-08-14T08:24:15.980Z] 1469e6f7b9e6: Verifying Checksum [2024-08-14T08:24:15.980Z] 1469e6f7b9e6: Download complete [2024-08-14T08:24:15.980Z] 339a4e72a1f5: Verifying Checksum [2024-08-14T08:24:15.980Z] 339a4e72a1f5: Download complete [2024-08-14T08:24:15.980Z] eaf3925da568: Verifying Checksum [2024-08-14T08:24:15.980Z] bde34c3a00c8: Verifying Checksum [2024-08-14T08:24:15.980Z] bde34c3a00c8: Download complete [2024-08-14T08:24:16.238Z] b352a97aabf1: Download complete [2024-08-14T08:24:16.238Z] 4872d77fe225: Download complete [2024-08-14T08:24:16.238Z] 5851b861e8e6: Verifying Checksum [2024-08-14T08:24:16.238Z] 5851b861e8e6: Download complete [2024-08-14T08:24:16.238Z] b85a868b505f: Verifying Checksum [2024-08-14T08:24:16.238Z] b85a868b505f: Download complete [2024-08-14T08:24:16.499Z] bab4dde63d76: Verifying Checksum [2024-08-14T08:24:16.499Z] bab4dde63d76: Download complete [2024-08-14T08:24:17.437Z] b85a868b505f: Pull complete [2024-08-14T08:24:17.698Z] e2be974225ed: Pull complete [2024-08-14T08:24:18.269Z] 339a4e72a1f5: Pull complete [2024-08-14T08:24:18.269Z] 988bab9f4d93: Pull complete [2024-08-14T08:24:18.840Z] 1469e6f7b9e6: Pull complete [2024-08-14T08:24:18.840Z] eaf3925da568: Pull complete [2024-08-14T08:24:20.748Z] bab4dde63d76: Pull complete [2024-08-14T08:24:20.748Z] bde34c3a00c8: Pull complete [2024-08-14T08:24:21.008Z] b352a97aabf1: Pull complete [2024-08-14T08:24:21.008Z] 4872d77fe225: Pull complete [2024-08-14T08:24:21.269Z] 5851b861e8e6: Pull complete [2024-08-14T08:24:21.269Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-14T08:24:21.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-14T08:24:21.269Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-14T08:24:21.577Z] prd-ubuntu20.04-docker-8c-8g-7687 does not seem to be running inside a container [2024-08-14T08:24:21.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1614 -v /w/workspace/gexfoundry_device-sdk-go_PR-1614:/w/workspace/gexfoundry_device-sdk-go_PR-1614:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-14T08:24:26.017Z] $ docker top 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 -eo pid,comm [2024-08-14T08:24:26.081Z] 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-14T08:24:26.081Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-14T08:24:26.254Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-14T08:24:26.255Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-14T08:24:26.393Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-14T08:24:26.395Z] $ docker exec 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 ssh-agent [2024-08-14T08:24:26.509Z] SSH_AUTH_SOCK=/tmp/ssh-fYWVu27WUNdn/agent.32 [2024-08-14T08:24:26.509Z] SSH_AGENT_PID=38 [2024-08-14T08:24:26.516Z] Running ssh-add (command line suppressed) [2024-08-14T08:24:26.619Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/private_key_12583070517028423621.key (/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/private_key_12583070517028423621.key) [2024-08-14T08:24:26.635Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-14T08:24:26.985Z] + git tag --points-at HEAD [Pipeline] } [2024-08-14T08:24:27.017Z] $ docker exec --env ******** --env ******** 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 ssh-agent -k [2024-08-14T08:24:27.122Z] unset SSH_AUTH_SOCK; [2024-08-14T08:24:27.122Z] unset SSH_AGENT_PID; [2024-08-14T08:24:27.123Z] echo Agent pid 38 killed; [2024-08-14T08:24:27.131Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-14T08:24:27.253Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-14T08:24:27.253Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-14T08:24:27.370Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-14T08:24:27.371Z] $ docker exec 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 ssh-agent [2024-08-14T08:24:27.484Z] SSH_AUTH_SOCK=/tmp/ssh-w7XLq78TS3Eh/agent.70 [2024-08-14T08:24:27.484Z] SSH_AGENT_PID=77 [2024-08-14T08:24:27.488Z] Running ssh-add (command line suppressed) [2024-08-14T08:24:27.587Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/private_key_11360776953604723685.key (/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/private_key_11360776953604723685.key) [2024-08-14T08:24:27.603Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-14T08:24:27.966Z] + git semver init [2024-08-14T08:24:28.227Z] 2024-08-14 08:24:28,136 [run_init] DEBUG init version:0.0.0 force:False [2024-08-14T08:24:28.227Z] 2024-08-14 08:24:28,137 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver [2024-08-14T08:24:28.227Z] 2024-08-14 08:24:28,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver [2024-08-14T08:24:28.227Z] 2024-08-14 08:24:28,138 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1614, universal_newlines=False, shell=None, istream=None) [2024-08-14T08:24:30.763Z] 2024-08-14 08:24:30,244 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614/.git/info/exclude [2024-08-14T08:24:30.763Z] 2024-08-14 08:24:30,244 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver/PR-1614 with force:False [2024-08-14T08:24:30.763Z] 2024-08-14 08:24:30,244 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver/PR-1614 [2024-08-14T08:24:30.763Z] 2024-08-14 08:24:30,249 [execute] INFO git cat-file --batch-check [2024-08-14T08:24:30.763Z] 2024-08-14 08:24:30,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver, universal_newlines=False, shell=None, istream=) [2024-08-14T08:24:30.763Z] 2024-08-14 08:24:30,255 [execute] INFO git cat-file --batch [2024-08-14T08:24:30.763Z] 2024-08-14 08:24:30,256 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver, universal_newlines=False, shell=None, istream=) [2024-08-14T08:24:30.763Z] 2024-08-14 08:24:30,261 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1614/.semver/PR-1614 [2024-08-14T08:24:30.763Z] 0.0.0 [Pipeline] } [2024-08-14T08:24:30.795Z] $ docker exec --env ******** --env ******** 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 ssh-agent -k [2024-08-14T08:24:30.901Z] unset SSH_AUTH_SOCK; [2024-08-14T08:24:30.902Z] unset SSH_AGENT_PID; [2024-08-14T08:24:30.902Z] echo Agent pid 77 killed; [2024-08-14T08:24:30.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-14T08:24:31.380Z] + git semver [Pipeline] } [2024-08-14T08:24:31.669Z] $ docker stop --time=1 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 [2024-08-14T08:24:33.390Z] $ docker rm -f --volumes 2d6363dfd922951bf5c952bf4cc5b6a20df59126c91d4523de58dae873761a25 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-14T08:24:33.857Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-14T08:24:34.197Z] Stashed 1 file(s) [Pipeline] echo [2024-08-14T08:24:34.251Z] [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-14T08:24:34.994Z] provisioning config files... [2024-08-14T08:24:35.004Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/config8275286690557083202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:24:35.379Z] ---> ****-login.sh [2024-08-14T08:24:35.379Z] nexus3.edgexfoundry.org:10001 [2024-08-14T08:24:35.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:24:35.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:24:35.379Z] Configure a credential helper to remove this warning. See [2024-08-14T08:24:35.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:24:35.379Z] [2024-08-14T08:24:35.379Z] Login Succeeded [2024-08-14T08:24:35.379Z] nexus3.edgexfoundry.org:10002 [2024-08-14T08:24:35.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:24:35.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:24:35.379Z] Configure a credential helper to remove this warning. See [2024-08-14T08:24:35.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:24:35.379Z] [2024-08-14T08:24:35.379Z] Login Succeeded [2024-08-14T08:24:35.379Z] nexus3.edgexfoundry.org:10003 [2024-08-14T08:24:35.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:24:35.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:24:35.641Z] Configure a credential helper to remove this warning. See [2024-08-14T08:24:35.641Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:24:35.641Z] [2024-08-14T08:24:35.641Z] Login Succeeded [2024-08-14T08:24:35.641Z] nexus3.edgexfoundry.org:10004 [2024-08-14T08:24:35.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:24:35.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:24:35.641Z] Configure a credential helper to remove this warning. See [2024-08-14T08:24:35.641Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:24:35.641Z] [2024-08-14T08:24:35.641Z] Login Succeeded [2024-08-14T08:24:35.641Z] ****.io [2024-08-14T08:24:35.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:24:35.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:24:35.903Z] Configure a credential helper to remove this warning. See [2024-08-14T08:24:35.903Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:24:35.903Z] [2024-08-14T08:24:35.903Z] Login Succeeded [2024-08-14T08:24:35.903Z] ---> ****-login.sh ends [Pipeline] } [2024-08-14T08:24:35.941Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-14T08:24:36.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-14T08:24:36.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-14T08:24:36.362Z] ========================================================= [2024-08-14T08:24:36.362Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-14T08:24:36.362Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:24:36.933Z] + 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-14T08:24:36.933Z] Sending build context to Docker daemon 25.18MB [2024-08-14T08:24:36.933Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-14T08:24:36.933Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-14T08:24:37.194Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-14T08:24:37.194Z] 619be1103602: Pulling fs layer [2024-08-14T08:24:37.194Z] 7862e08f4a3e: Pulling fs layer [2024-08-14T08:24:37.194Z] 5df492c9dc93: Pulling fs layer [2024-08-14T08:24:37.194Z] 7629e6793208: Pulling fs layer [2024-08-14T08:24:37.194Z] 4f4fb700ef54: Pulling fs layer [2024-08-14T08:24:37.194Z] 7629e6793208: Waiting [2024-08-14T08:24:37.194Z] fb5054dd5b73: Pulling fs layer [2024-08-14T08:24:37.194Z] eeca6798cff9: Pulling fs layer [2024-08-14T08:24:37.194Z] aa269ceb94a6: Pulling fs layer [2024-08-14T08:24:37.194Z] 4f4fb700ef54: Waiting [2024-08-14T08:24:37.194Z] fb5054dd5b73: Waiting [2024-08-14T08:24:37.194Z] eeca6798cff9: Waiting [2024-08-14T08:24:37.194Z] ada007ff1a6a: Pulling fs layer [2024-08-14T08:24:37.194Z] aa269ceb94a6: Waiting [2024-08-14T08:24:37.194Z] ada007ff1a6a: Waiting [2024-08-14T08:24:37.194Z] 7862e08f4a3e: Verifying Checksum [2024-08-14T08:24:37.194Z] 7862e08f4a3e: Download complete [2024-08-14T08:24:37.194Z] 7629e6793208: Download complete [2024-08-14T08:24:37.194Z] 4f4fb700ef54: Download complete [2024-08-14T08:24:37.194Z] fb5054dd5b73: Download complete [2024-08-14T08:24:37.194Z] 619be1103602: Download complete [2024-08-14T08:24:37.194Z] eeca6798cff9: Verifying Checksum [2024-08-14T08:24:37.194Z] eeca6798cff9: Download complete [2024-08-14T08:24:37.194Z] 619be1103602: Pull complete [2024-08-14T08:24:37.461Z] 7862e08f4a3e: Pull complete [2024-08-14T08:24:37.461Z] ada007ff1a6a: Verifying Checksum [2024-08-14T08:24:37.461Z] ada007ff1a6a: Download complete [2024-08-14T08:24:37.719Z] 5df492c9dc93: Verifying Checksum [2024-08-14T08:24:37.719Z] 5df492c9dc93: Download complete [2024-08-14T08:24:38.286Z] aa269ceb94a6: Verifying Checksum [2024-08-14T08:24:38.286Z] aa269ceb94a6: Download complete [2024-08-14T08:24:41.574Z] 5df492c9dc93: Pull complete [2024-08-14T08:24:41.574Z] 7629e6793208: Pull complete [2024-08-14T08:24:41.574Z] 4f4fb700ef54: Pull complete [2024-08-14T08:24:41.574Z] fb5054dd5b73: Pull complete [2024-08-14T08:24:41.574Z] eeca6798cff9: Pull complete [2024-08-14T08:24:44.868Z] aa269ceb94a6: Pull complete [2024-08-14T08:24:45.129Z] ada007ff1a6a: Pull complete [2024-08-14T08:24:45.392Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-14T08:24:45.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-14T08:24:45.392Z] ---> f489d0715acc [2024-08-14T08:24:45.392Z] Step 3/10 : ARG MAKE=make build [2024-08-14T08:24:49.772Z] Still waiting to schedule task [2024-08-14T08:24:49.772Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7685’ [2024-08-14T08:24:55.415Z] ---> Running in 0f6264e6de70 [2024-08-14T08:24:55.415Z] Removing intermediate container 0f6264e6de70 [2024-08-14T08:24:55.415Z] ---> bf85a02d9fa7 [2024-08-14T08:24:55.415Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-14T08:24:55.415Z] ---> Running in 4350e7e72a28 [2024-08-14T08:24:55.415Z] Removing intermediate container 4350e7e72a28 [2024-08-14T08:24:55.415Z] ---> 0e1f100465b5 [2024-08-14T08:24:55.415Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-14T08:24:55.415Z] ---> Running in 81715e4e0179 [2024-08-14T08:24:55.415Z] Removing intermediate container 81715e4e0179 [2024-08-14T08:24:55.415Z] ---> a187ba241876 [2024-08-14T08:24:55.415Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-14T08:24:55.415Z] ---> Running in c6db2ffc762f [2024-08-14T08:24:55.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-14T08:24:55.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-14T08:24:55.415Z] OK: 264 MiB in 52 packages [2024-08-14T08:24:55.983Z] Removing intermediate container c6db2ffc762f [2024-08-14T08:24:55.983Z] ---> fa286bbe6c74 [2024-08-14T08:24:55.983Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-14T08:24:55.983Z] ---> b84c886541c8 [2024-08-14T08:24:55.983Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-14T08:24:55.983Z] ---> Running in 0229d4cde8f7 [2024-08-14T08:25:52.360Z] Removing intermediate container 0229d4cde8f7 [2024-08-14T08:25:52.360Z] ---> 1d96b736f5b5 [2024-08-14T08:25:52.360Z] Step 9/10 : COPY . . [2024-08-14T08:25:52.360Z] ---> 4825b82755f7 [2024-08-14T08:25:52.360Z] Step 10/10 : RUN ${MAKE} [2024-08-14T08:25:52.360Z] ---> Running in 36412b54a475 [2024-08-14T08:25:52.360Z] noop [2024-08-14T08:25:52.360Z] Removing intermediate container 36412b54a475 [2024-08-14T08:25:52.360Z] ---> 02ffd90b187c [2024-08-14T08:25:52.360Z] Successfully built 02ffd90b187c [2024-08-14T08:25:52.360Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:25:52.859Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-14T08:25:52.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-14T08:25:53.035Z] prd-ubuntu20.04-docker-8c-8g-7687 does not seem to be running inside a container [2024-08-14T08:25:53.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1614 -v /w/workspace/gexfoundry_device-sdk-go_PR-1614:/w/workspace/gexfoundry_device-sdk-go_PR-1614:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-14T08:25:53.405Z] $ docker top c559b8c0ce258ebb376c0cf59a2b0c7af7474f5b8d8fa4a25032c2f4d578d94d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-14T08:25:53.844Z] + go version [2024-08-14T08:25:53.844Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-14T08:25:53.880Z] $ docker stop --time=1 c559b8c0ce258ebb376c0cf59a2b0c7af7474f5b8d8fa4a25032c2f4d578d94d [2024-08-14T08:25:55.270Z] $ docker rm -f --volumes c559b8c0ce258ebb376c0cf59a2b0c7af7474f5b8d8fa4a25032c2f4d578d94d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:25:56.155Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-14T08:25:56.155Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-14T08:25:56.333Z] prd-ubuntu20.04-docker-8c-8g-7687 does not seem to be running inside a container [2024-08-14T08:25:56.365Z] $ 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-1614 -v /w/workspace/gexfoundry_device-sdk-go_PR-1614:/w/workspace/gexfoundry_device-sdk-go_PR-1614:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-14T08:25:56.929Z] $ docker top 6524e5678c93a109660a0dcfc714682cd684454ad53d62c1f0ebc5f2db4a5bd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-14T08:25:57.342Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1614 [Pipeline] fileExists [Pipeline] sh [2024-08-14T08:25:57.733Z] + make test [2024-08-14T08:25:57.733Z] go test -race -coverprofile=coverage.out ./... [2024-08-14T08:26:05.850Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-14T08:26:32.390Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-14T08:26:32.390Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-14T08:26:32.390Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-14T08:26:32.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-14T08:26:32.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-14T08:26:32.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-14T08:26:32.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-14T08:26:32.391Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.020s coverage: 26.0% of statements [2024-08-14T08:26:32.391Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.028s coverage: 79.4% of statements [2024-08-14T08:26:32.391Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.051s coverage: 86.0% of statements [2024-08-14T08:26:32.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-14T08:26:32.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-14T08:26:32.391Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-14T08:26:32.391Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 52.2% of statements [2024-08-14T08:26:32.649Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-14T08:26:35.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.031s coverage: 14.4% of statements [2024-08-14T08:26:35.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.284s coverage: 44.6% of statements [2024-08-14T08:26:35.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.037s coverage: 68.5% of statements [2024-08-14T08:26:35.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.084s coverage: 89.2% of statements [2024-08-14T08:26:35.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.4% of statements [2024-08-14T08:27:07.287Z] GO111MODULE=on go vet ./... [2024-08-14T08:27:07.856Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-14T08:27:07.856Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-14T08:27:07.856Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-14T08:27:08.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-14T08:27:08.194Z] $ docker stop --time=1 6524e5678c93a109660a0dcfc714682cd684454ad53d62c1f0ebc5f2db4a5bd7 [2024-08-14T08:27:10.389Z] $ docker rm -f --volumes 6524e5678c93a109660a0dcfc714682cd684454ad53d62c1f0ebc5f2db4a5bd7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-14T08:27:11.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-14T08:27:11.235Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-14T08:27:11.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-14T08:27:12.293Z] + ls -al . [2024-08-14T08:27:12.293Z] total 380 [2024-08-14T08:27:12.293Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 14 08:25 . [2024-08-14T08:27:12.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 08:23 .. [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 14 08:24 .dockerignore [2024-08-14T08:27:12.293Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 14 08:26 .git [2024-08-14T08:27:12.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 14 08:24 .github [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 14 08:24 .gitignore [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 14 08:24 .golangci.yml [2024-08-14T08:27:12.293Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 14 08:24 .semver [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 14 08:24 CHANGELOG.md [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 14 08:24 GOVERNANCE.md [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 14 08:24 Jenkinsfile [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 14 08:24 LICENSE [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 14 08:24 Makefile [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 14 08:24 OWNERS.md [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 14 08:24 README.md [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 14 08:24 VERSION [2024-08-14T08:27:12.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 14 08:24 bin [2024-08-14T08:27:12.293Z] -rw-r--r-- 1 jenkins jenkins 126055 Aug 14 08:26 coverage.out [2024-08-14T08:27:12.293Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 14 08:24 example [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 14 08:24 go.mod [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 14 08:24 go.sum [2024-08-14T08:27:12.293Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 14 08:24 internal [2024-08-14T08:27:12.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 14 08:24 openapi [2024-08-14T08:27:12.293Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 14 08:24 pkg [2024-08-14T08:27:12.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 08:24 snap [2024-08-14T08:27:12.293Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 14 08:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:27:12.726Z] + 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=f35974ce7fdb486d71758995b1726d45ec7c2ad0 --label arch=amd64 --label version=0.0.0 . [2024-08-14T08:27:12.726Z] Sending build context to Docker daemon 25.31MB [2024-08-14T08:27:12.726Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-14T08:27:12.726Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-14T08:27:12.726Z] ---> 02ffd90b187c [2024-08-14T08:27:12.726Z] Step 3/24 : ARG MAKE=make build [2024-08-14T08:27:12.989Z] ---> Running in 471602630a9b [2024-08-14T08:27:12.989Z] Removing intermediate container 471602630a9b [2024-08-14T08:27:12.989Z] ---> f69a8e39e452 [2024-08-14T08:27:12.989Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-14T08:27:12.989Z] ---> Running in 47782d39c546 [2024-08-14T08:27:12.989Z] Removing intermediate container 47782d39c546 [2024-08-14T08:27:12.989Z] ---> bd6d633c233e [2024-08-14T08:27:12.989Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-14T08:27:12.989Z] ---> Running in a7196099a564 [2024-08-14T08:27:13.248Z] Removing intermediate container a7196099a564 [2024-08-14T08:27:13.248Z] ---> 5ec54aabb8c9 [2024-08-14T08:27:13.248Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-14T08:27:13.248Z] ---> Running in 5d1047fd7ed2 [2024-08-14T08:27:13.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-14T08:27:13.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-14T08:27:13.765Z] OK: 264 MiB in 52 packages [2024-08-14T08:27:14.334Z] Removing intermediate container 5d1047fd7ed2 [2024-08-14T08:27:14.334Z] ---> 3cc5f57ee5f5 [2024-08-14T08:27:14.334Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-14T08:27:14.334Z] ---> 121d3ee92e72 [2024-08-14T08:27:14.334Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-14T08:27:14.334Z] ---> Running in aed8f7887274 [2024-08-14T08:27:14.901Z] Removing intermediate container aed8f7887274 [2024-08-14T08:27:14.901Z] ---> 85cc2af2edf4 [2024-08-14T08:27:14.901Z] Step 9/24 : COPY . . [2024-08-14T08:27:15.470Z] ---> c96431d792f2 [2024-08-14T08:27:15.471Z] Step 10/24 : RUN ${MAKE} [2024-08-14T08:27:15.471Z] ---> Running in 98a63a6e6287 [2024-08-14T08:27:15.729Z] 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-14T08:27:42.277Z] Removing intermediate container 98a63a6e6287 [2024-08-14T08:27:42.277Z] ---> f0cd8b7edbe2 [2024-08-14T08:27:42.277Z] Step 11/24 : FROM alpine:3.18 [2024-08-14T08:27:42.277Z] 3.18: Pulling from library/alpine [2024-08-14T08:27:42.277Z] 930bdd4d222e: Pulling fs layer [2024-08-14T08:27:42.277Z] 930bdd4d222e: Verifying Checksum [2024-08-14T08:27:42.277Z] 930bdd4d222e: Download complete [2024-08-14T08:27:42.277Z] 930bdd4d222e: Pull complete [2024-08-14T08:27:42.277Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-14T08:27:42.277Z] Status: Downloaded newer image for alpine:3.18 [2024-08-14T08:27:42.277Z] ---> 18f865063206 [2024-08-14T08:27:42.277Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-14T08:27:42.277Z] ---> Running in 97640d2c1f62 [2024-08-14T08:27:42.277Z] Removing intermediate container 97640d2c1f62 [2024-08-14T08:27:42.277Z] ---> 3c70eaf7db07 [2024-08-14T08:27:42.277Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-14T08:27:42.277Z] ---> Running in f6f28b5ad1d3 [2024-08-14T08:27:42.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-14T08:27:42.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-14T08:27:42.277Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-14T08:27:42.277Z] Executing busybox-1.36.1-r7.trigger [2024-08-14T08:27:42.277Z] OK: 7 MiB in 16 packages [2024-08-14T08:27:42.277Z] Removing intermediate container f6f28b5ad1d3 [2024-08-14T08:27:42.277Z] ---> a768ca8db30c [2024-08-14T08:27:42.277Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-14T08:27:42.277Z] ---> Running in 8c3427f6575c [2024-08-14T08:27:42.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-14T08:27:42.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-14T08:27:42.797Z] OK: 7 MiB in 16 packages [2024-08-14T08:27:43.368Z] Removing intermediate container 8c3427f6575c [2024-08-14T08:27:43.368Z] ---> 6a47a17bf5e6 [2024-08-14T08:27:43.368Z] Step 15/24 : WORKDIR / [2024-08-14T08:27:43.368Z] ---> Running in 33333385637b [2024-08-14T08:27:43.368Z] Removing intermediate container 33333385637b [2024-08-14T08:27:43.368Z] ---> e4c897c5dde5 [2024-08-14T08:27:43.368Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-14T08:27:43.368Z] ---> 4ef40598e027 [2024-08-14T08:27:43.368Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-14T08:27:44.750Z] ---> 32def28cd175 [2024-08-14T08:27:44.750Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-14T08:27:44.750Z] ---> 68829f1a4cae [2024-08-14T08:27:44.750Z] Step 19/24 : EXPOSE 59999 [2024-08-14T08:27:44.750Z] ---> Running in a6f6d59a5b5a [2024-08-14T08:27:45.010Z] Removing intermediate container a6f6d59a5b5a [2024-08-14T08:27:45.010Z] ---> 0020784d5a54 [2024-08-14T08:27:45.010Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-14T08:27:45.010Z] ---> Running in 0a1d0151225d [2024-08-14T08:27:45.010Z] Removing intermediate container 0a1d0151225d [2024-08-14T08:27:45.010Z] ---> ac2b3f2fc2fb [2024-08-14T08:27:45.010Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-14T08:27:45.010Z] ---> Running in 0f32e67ddd2c [2024-08-14T08:27:45.010Z] Removing intermediate container 0f32e67ddd2c [2024-08-14T08:27:45.010Z] ---> 49d1eb749d1a [2024-08-14T08:27:45.010Z] Step 22/24 : LABEL arch=amd64 [2024-08-14T08:27:45.010Z] ---> Running in 2618960a5fb2 [2024-08-14T08:27:45.269Z] Removing intermediate container 2618960a5fb2 [2024-08-14T08:27:45.269Z] ---> 6a20a9b8619e [2024-08-14T08:27:45.269Z] Step 23/24 : LABEL git_sha=f35974ce7fdb486d71758995b1726d45ec7c2ad0 [2024-08-14T08:27:45.269Z] ---> Running in e417ad458986 [2024-08-14T08:27:45.269Z] Removing intermediate container e417ad458986 [2024-08-14T08:27:45.269Z] ---> 93427403a50e [2024-08-14T08:27:45.269Z] Step 24/24 : LABEL version=0.0.0 [2024-08-14T08:27:45.269Z] ---> Running in 29da65092b77 [2024-08-14T08:27:45.269Z] Removing intermediate container 29da65092b77 [2024-08-14T08:27:45.269Z] ---> 6de10e2fd7fe [2024-08-14T08:27:45.269Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-14T08:27:45.269Z] Successfully built 6de10e2fd7fe [2024-08-14T08:27:45.269Z] 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-14T08:27:46.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-14T08:27:46.330Z] [2024-08-14T08:27:46.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:27:46.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-14T08:27:46.729Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-14T08:27:46.729Z] 5eb5b503b376: Pulling fs layer [2024-08-14T08:27:46.729Z] 5c69ac0246d0: Pulling fs layer [2024-08-14T08:27:46.729Z] ec43610c2a17: Pulling fs layer [2024-08-14T08:27:46.729Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-14T08:27:46.729Z] 33b1e0a273af: Pulling fs layer [2024-08-14T08:27:46.729Z] 5d3b04190fa2: Pulling fs layer [2024-08-14T08:27:46.729Z] 2f39f015ded8: Pulling fs layer [2024-08-14T08:27:46.729Z] 3a2ae6a8a46f: Waiting [2024-08-14T08:27:46.729Z] 33b1e0a273af: Waiting [2024-08-14T08:27:46.729Z] 5d3b04190fa2: Waiting [2024-08-14T08:27:46.729Z] 2f39f015ded8: Waiting [2024-08-14T08:27:46.729Z] 5c69ac0246d0: Verifying Checksum [2024-08-14T08:27:46.729Z] 5c69ac0246d0: Download complete [2024-08-14T08:27:46.729Z] 3a2ae6a8a46f: Download complete [2024-08-14T08:27:46.729Z] 33b1e0a273af: Verifying Checksum [2024-08-14T08:27:46.729Z] 33b1e0a273af: Download complete [2024-08-14T08:27:46.729Z] 5d3b04190fa2: Verifying Checksum [2024-08-14T08:27:46.729Z] 5d3b04190fa2: Download complete [2024-08-14T08:27:46.729Z] ec43610c2a17: Verifying Checksum [2024-08-14T08:27:46.729Z] ec43610c2a17: Download complete [2024-08-14T08:27:46.987Z] 5eb5b503b376: Verifying Checksum [2024-08-14T08:27:46.988Z] 5eb5b503b376: Download complete [2024-08-14T08:27:47.553Z] 2f39f015ded8: Verifying Checksum [2024-08-14T08:27:47.554Z] 2f39f015ded8: Download complete [2024-08-14T08:27:48.121Z] 5eb5b503b376: Pull complete [2024-08-14T08:27:48.406Z] 5c69ac0246d0: Pull complete [2024-08-14T08:27:48.675Z] ec43610c2a17: Pull complete [2024-08-14T08:27:48.935Z] 3a2ae6a8a46f: Pull complete [2024-08-14T08:27:49.195Z] 33b1e0a273af: Pull complete [2024-08-14T08:27:49.453Z] 5d3b04190fa2: Pull complete [2024-08-14T08:27:53.638Z] 2f39f015ded8: Pull complete [2024-08-14T08:27:53.638Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-14T08:27:53.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-14T08:27:53.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-14T08:27:53.933Z] prd-ubuntu20.04-docker-8c-8g-7687 does not seem to be running inside a container [2024-08-14T08:27:53.965Z] $ 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-1614 -v /w/workspace/gexfoundry_device-sdk-go_PR-1614:/w/workspace/gexfoundry_device-sdk-go_PR-1614:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-14T08:28:05.722Z] $ docker top eb8bbec97e49439384e386109bc3097d9b06226bef2fc7f3c93fb1d647264123 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:28:06.210Z] ---> job-cost.sh [2024-08-14T08:28:06.210Z] lf-activate-venv: SKIPPING [2024-08-14T08:28:06.210Z] INFO: No Stack... [2024-08-14T08:28:06.783Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-14T08:28:07.044Z] INFO: Archiving Costs [Pipeline] sh [2024-08-14T08:28:07.371Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives/cost.csv [2024-08-14T08:28:07.371Z] + cut -d, -f6 [Pipeline] lock [2024-08-14T08:28:07.410Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] [2024-08-14T08:28:07.417Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] did not exist. Created. [2024-08-14T08:28:07.427Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-14T08:28:07.839Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-14T08:28:07.908Z] Stashed 1 file(s) [Pipeline] } [2024-08-14T08:28:07.943Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-14T08:28:08.042Z] $ docker stop --time=1 eb8bbec97e49439384e386109bc3097d9b06226bef2fc7f3c93fb1d647264123 [2024-08-14T08:28:09.186Z] $ docker rm -f --volumes eb8bbec97e49439384e386109bc3097d9b06226bef2fc7f3c93fb1d647264123 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-14T08:28:25.254Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7688 in /w/workspace/gexfoundry_device-sdk-go_PR-1614 [Pipeline] { [Pipeline] ws [2024-08-14T08:28:25.339Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-08-14T08:28:28.465Z] The recommended git tool is: git [2024-08-14T08:28:36.386Z] using credential edgex-jenkins-ssh [2024-08-14T08:28:36.413Z] Cloning the remote Git repository [2024-08-14T08:28:36.462Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-08-14T08:28:36.557Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-08-14T08:28:36.721Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-14T08:28:36.722Z] > git --version # timeout=10 [2024-08-14T08:28:36.755Z] > git --version # 'git version 2.25.1' [2024-08-14T08:28:36.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-14T08:28:37.012Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-14T08:28:40.833Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-14T08:28:40.870Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-14T08:28:42.030Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-14T08:28:42.074Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-14T08:28:42.075Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-14T08:28:42.100Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1614/head:refs/remotes/origin/PR-1614 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-14T08:28:42.742Z] Merging remotes/origin/main commit 53be42878d98bd81d8f19abe7357388c82439207 into PR head commit f35974ce7fdb486d71758995b1726d45ec7c2ad0 [2024-08-14T08:28:43.054Z] Merge succeeded, producing f35974ce7fdb486d71758995b1726d45ec7c2ad0 [2024-08-14T08:28:43.055Z] Checking out Revision f35974ce7fdb486d71758995b1726d45ec7c2ad0 (PR-1614) [2024-08-14T08:28:42.756Z] > git config core.sparsecheckout # timeout=10 [2024-08-14T08:28:42.821Z] > git checkout -f f35974ce7fdb486d71758995b1726d45ec7c2ad0 # timeout=10 [2024-08-14T08:28:42.935Z] > git remote # timeout=10 [2024-08-14T08:28:42.954Z] > git config --get remote.origin.url # timeout=10 [2024-08-14T08:28:42.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-14T08:28:43.005Z] > git merge 53be42878d98bd81d8f19abe7357388c82439207 # timeout=10 [2024-08-14T08:28:43.033Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-14T08:28:43.058Z] > git config core.sparsecheckout # timeout=10 [2024-08-14T08:28:43.072Z] > git checkout -f f35974ce7fdb486d71758995b1726d45ec7c2ad0 # timeout=10 [2024-08-14T08:28:46.774Z] Commit message: "fix: Don't run auto events for empty profile" [2024-08-14T08:28:46.827Z] > git --version # timeout=10 [2024-08-14T08:28:46.840Z] > git --version # 'git version 2.25.1' [2024-08-14T08:28:46.920Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-14T08:28:48.966Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-14T08:28:48.966Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-14T08:28:48.966Z] Dload Upload Total Spent Left Speed [2024-08-14T08:28:48.966Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh [2024-08-14T08:28:49.327Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-14T08:28:49.695Z] + + sudo teesudo /etc/docker/daemon.new jq [2024-08-14T08:28:49.695Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-14T08:28:49.695Z] { [2024-08-14T08:28:49.695Z] "registry-mirrors": [ [2024-08-14T08:28:49.695Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-14T08:28:49.695Z] ], [2024-08-14T08:28:49.695Z] "bip": "10.250.0.254/24", [2024-08-14T08:28:49.695Z] "hosts": [ [2024-08-14T08:28:49.695Z] "tcp://0.0.0.0:5555", [2024-08-14T08:28:49.695Z] "unix:///var/run/docker.sock" [2024-08-14T08:28:49.695Z] ], [2024-08-14T08:28:49.695Z] "mtu": 1458, [2024-08-14T08:28:49.695Z] "selinux-enabled": true, [2024-08-14T08:28:49.695Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-14T08:28:49.695Z] } [Pipeline] sh [2024-08-14T08:28:50.061Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-14T08:28:50.433Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-14T08:29:08.837Z] provisioning config files... [2024-08-14T08:29:08.875Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11157711789847512607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:29:09.433Z] ---> ****-login.sh [2024-08-14T08:29:09.433Z] nexus3.edgexfoundry.org:10001 [2024-08-14T08:29:09.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:29:09.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:29:09.980Z] Configure a credential helper to remove this warning. See [2024-08-14T08:29:09.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:29:09.980Z] [2024-08-14T08:29:09.980Z] Login Succeeded [2024-08-14T08:29:09.980Z] nexus3.edgexfoundry.org:10002 [2024-08-14T08:29:10.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:29:10.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:29:10.525Z] Configure a credential helper to remove this warning. See [2024-08-14T08:29:10.525Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:29:10.525Z] [2024-08-14T08:29:10.525Z] Login Succeeded [2024-08-14T08:29:10.525Z] nexus3.edgexfoundry.org:10003 [2024-08-14T08:29:10.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:29:10.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:29:10.800Z] Configure a credential helper to remove this warning. See [2024-08-14T08:29:10.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:29:10.800Z] [2024-08-14T08:29:10.800Z] Login Succeeded [2024-08-14T08:29:10.800Z] nexus3.edgexfoundry.org:10004 [2024-08-14T08:29:11.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:29:11.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:29:11.077Z] Configure a credential helper to remove this warning. See [2024-08-14T08:29:11.077Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:29:11.077Z] [2024-08-14T08:29:11.077Z] Login Succeeded [2024-08-14T08:29:11.077Z] ****.io [2024-08-14T08:29:11.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-14T08:29:11.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-14T08:29:11.620Z] Configure a credential helper to remove this warning. See [2024-08-14T08:29:11.620Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-14T08:29:11.620Z] [2024-08-14T08:29:11.620Z] Login Succeeded [2024-08-14T08:29:11.898Z] ---> ****-login.sh ends [Pipeline] } [2024-08-14T08:29:11.933Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-14T08:29:12.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-14T08:29:12.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-14T08:29:12.549Z] ========================================================= [2024-08-14T08:29:12.549Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-14T08:29:12.549Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:29:13.129Z] + 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-14T08:29:13.733Z] Sending build context to Docker daemon 13.03MB [2024-08-14T08:29:13.733Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-14T08:29:13.733Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-14T08:29:14.006Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-14T08:29:14.006Z] c6b39de5b339: Pulling fs layer [2024-08-14T08:29:14.006Z] a69c41024577: Pulling fs layer [2024-08-14T08:29:14.006Z] d6de4b400683: Pulling fs layer [2024-08-14T08:29:14.006Z] 35cb2a7552d0: Pulling fs layer [2024-08-14T08:29:14.006Z] 4f4fb700ef54: Pulling fs layer [2024-08-14T08:29:14.006Z] 464afbd9ba4c: Pulling fs layer [2024-08-14T08:29:14.006Z] 00f215d4a9da: Pulling fs layer [2024-08-14T08:29:14.006Z] d496ad576159: Pulling fs layer [2024-08-14T08:29:14.006Z] 35cb2a7552d0: Waiting [2024-08-14T08:29:14.006Z] 4f4fb700ef54: Waiting [2024-08-14T08:29:14.006Z] 464afbd9ba4c: Waiting [2024-08-14T08:29:14.006Z] 00f215d4a9da: Waiting [2024-08-14T08:29:14.006Z] d496ad576159: Waiting [2024-08-14T08:29:14.006Z] a69c41024577: Verifying Checksum [2024-08-14T08:29:14.006Z] a69c41024577: Download complete [2024-08-14T08:29:14.006Z] 35cb2a7552d0: Verifying Checksum [2024-08-14T08:29:14.006Z] 35cb2a7552d0: Download complete [2024-08-14T08:29:14.006Z] 4f4fb700ef54: Verifying Checksum [2024-08-14T08:29:14.006Z] 4f4fb700ef54: Download complete [2024-08-14T08:29:14.006Z] 464afbd9ba4c: Verifying Checksum [2024-08-14T08:29:14.006Z] 464afbd9ba4c: Download complete [2024-08-14T08:29:14.006Z] c6b39de5b339: Verifying Checksum [2024-08-14T08:29:14.006Z] c6b39de5b339: Download complete [2024-08-14T08:29:14.282Z] d496ad576159: Verifying Checksum [2024-08-14T08:29:14.282Z] d496ad576159: Download complete [2024-08-14T08:29:14.876Z] c6b39de5b339: Pull complete [2024-08-14T08:29:15.481Z] a69c41024577: Pull complete [2024-08-14T08:29:15.764Z] d6de4b400683: Verifying Checksum [2024-08-14T08:29:15.764Z] d6de4b400683: Download complete [2024-08-14T08:29:16.738Z] 00f215d4a9da: Verifying Checksum [2024-08-14T08:29:16.738Z] 00f215d4a9da: Download complete [2024-08-14T08:29:29.076Z] d6de4b400683: Pull complete [2024-08-14T08:29:29.076Z] 35cb2a7552d0: Pull complete [2024-08-14T08:29:29.076Z] 4f4fb700ef54: Pull complete [2024-08-14T08:29:29.076Z] 464afbd9ba4c: Pull complete [2024-08-14T08:29:39.182Z] 00f215d4a9da: Pull complete [2024-08-14T08:29:39.452Z] d496ad576159: Pull complete [2024-08-14T08:29:39.452Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-14T08:29:39.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-14T08:29:39.452Z] ---> f246e2811388 [2024-08-14T08:29:39.452Z] Step 3/10 : ARG MAKE=make build [2024-08-14T08:29:41.404Z] ---> Running in 41ccb4a112b7 [2024-08-14T08:29:41.673Z] Removing intermediate container 41ccb4a112b7 [2024-08-14T08:29:41.673Z] ---> b35755d0ad83 [2024-08-14T08:29:41.673Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-14T08:29:41.950Z] ---> Running in 6e600f4d13d4 [2024-08-14T08:29:42.539Z] Removing intermediate container 6e600f4d13d4 [2024-08-14T08:29:42.539Z] ---> de7fb03aa042 [2024-08-14T08:29:42.539Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-14T08:29:42.539Z] ---> Running in 066ff6516408 [2024-08-14T08:29:43.962Z] Removing intermediate container 066ff6516408 [2024-08-14T08:29:43.962Z] ---> 93c6986bc6c6 [2024-08-14T08:29:43.962Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-14T08:29:43.962Z] ---> Running in 24df6677f80f [2024-08-14T08:29:44.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-14T08:29:45.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-14T08:29:46.491Z] OK: 266 MiB in 52 packages [2024-08-14T08:29:47.452Z] Removing intermediate container 24df6677f80f [2024-08-14T08:29:47.452Z] ---> 4aec4deb1d93 [2024-08-14T08:29:47.452Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-14T08:29:48.035Z] ---> b424760d3fe0 [2024-08-14T08:29:48.035Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-14T08:29:48.035Z] ---> Running in 7834453a771f [2024-08-14T08:31:39.706Z] Removing intermediate container 7834453a771f [2024-08-14T08:31:39.706Z] ---> 9c98a890025a [2024-08-14T08:31:39.706Z] Step 9/10 : COPY . . [2024-08-14T08:31:39.706Z] ---> 5ec79a8ed5e9 [2024-08-14T08:31:39.706Z] Step 10/10 : RUN ${MAKE} [2024-08-14T08:31:39.706Z] ---> Running in 4445ae480c58 [2024-08-14T08:31:39.706Z] noop [2024-08-14T08:31:39.706Z] Removing intermediate container 4445ae480c58 [2024-08-14T08:31:39.706Z] ---> 34ee389b290f [2024-08-14T08:31:39.706Z] Successfully built 34ee389b290f [2024-08-14T08:31:39.706Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:31:40.252Z] + docker inspect -f . ci-base-image-arm64 [2024-08-14T08:31:40.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-14T08:31:40.572Z] prd-ubuntu20.04-docker-arm64-4c-16g-7688 does not seem to be running inside a container [2024-08-14T08:31:40.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-14T08:31:41.826Z] $ docker top 3c016608c047f8b2443039e847c61daa8e8e658b563c0f54e82e0be46b314155 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-14T08:31:42.749Z] + go version [2024-08-14T08:31:42.749Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-14T08:31:42.786Z] $ docker stop --time=1 3c016608c047f8b2443039e847c61daa8e8e658b563c0f54e82e0be46b314155 [2024-08-14T08:31:44.433Z] $ docker rm -f --volumes 3c016608c047f8b2443039e847c61daa8e8e658b563c0f54e82e0be46b314155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:31:45.451Z] + docker inspect -f . ci-base-image-arm64 [2024-08-14T08:31:45.451Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-14T08:31:45.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-7688 does not seem to be running inside a container [2024-08-14T08:31:45.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-14T08:31:46.999Z] $ docker top 43423e87e32e201d14b42d01fb97b12b59b5eaedeb29c5b2bcca0bd90408fec5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-14T08:31:47.900Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-14T08:31:48.625Z] + make test [2024-08-14T08:31:48.625Z] go test -race -coverprofile=coverage.out ./... [2024-08-14T08:32:35.485Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-14T08:36:12.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-14T08:36:12.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-14T08:36:12.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-14T08:36:12.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-14T08:36:12.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-14T08:36:15.656Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.125s coverage: 26.0% of statements [2024-08-14T08:36:19.917Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.196s coverage: 79.4% of statements [2024-08-14T08:36:28.372Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-14T08:36:28.372Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-14T08:36:29.000Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.274s coverage: 86.0% of statements [2024-08-14T08:36:33.248Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-14T08:36:34.655Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.550s coverage: 52.2% of statements [2024-08-14T08:36:38.904Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.142s coverage: 14.4% of statements [2024-08-14T08:36:39.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.038s coverage: 44.6% of statements [2024-08-14T08:36:40.072Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-14T08:36:40.072Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-14T08:36:41.474Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.337s coverage: 68.5% of statements [2024-08-14T08:36:45.122Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.380s coverage: 89.2% of statements [2024-08-14T08:36:48.464Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-14T08:36:49.430Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.273s coverage: 5.4% of statements [2024-08-14T08:36:50.846Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-14T08:36:50.846Z] GO111MODULE=on go vet ./... [2024-08-14T08:40:57.760Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-14T08:40:57.760Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-14T08:40:57.760Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-14T08:40:58.070Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-14T08:40:58.106Z] $ docker stop --time=1 43423e87e32e201d14b42d01fb97b12b59b5eaedeb29c5b2bcca0bd90408fec5 [2024-08-14T08:41:00.119Z] $ docker rm -f --volumes 43423e87e32e201d14b42d01fb97b12b59b5eaedeb29c5b2bcca0bd90408fec5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-14T08:41:02.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-14T08:41:02.934Z] Warning: overwriting stash ‘coverage-report’ [2024-08-14T08:41:03.621Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-14T08:41:04.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-14T08:41:04.655Z] + ls -al . [2024-08-14T08:41:04.655Z] total 376 [2024-08-14T08:41:04.655Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 14 08:31 . [2024-08-14T08:41:04.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 08:28 .. [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 14 08:28 .dockerignore [2024-08-14T08:41:04.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 14 08:28 .git [2024-08-14T08:41:04.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 14 08:28 .github [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 14 08:28 .gitignore [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 14 08:28 .golangci.yml [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 14 08:28 CHANGELOG.md [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 14 08:28 GOVERNANCE.md [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 14 08:28 Jenkinsfile [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 14 08:28 LICENSE [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 14 08:28 Makefile [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 14 08:28 OWNERS.md [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 14 08:28 README.md [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 14 08:24 VERSION [2024-08-14T08:41:04.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 14 08:28 bin [2024-08-14T08:41:04.655Z] -rw-r--r-- 1 jenkins jenkins 126053 Aug 14 08:36 coverage.out [2024-08-14T08:41:04.655Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 14 08:28 example [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 14 08:28 go.mod [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 14 08:28 go.sum [2024-08-14T08:41:04.655Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 14 08:28 internal [2024-08-14T08:41:04.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 14 08:28 openapi [2024-08-14T08:41:04.655Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 14 08:28 pkg [2024-08-14T08:41:04.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 14 08:28 snap [2024-08-14T08:41:04.655Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 14 08:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:41:05.112Z] + 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=f35974ce7fdb486d71758995b1726d45ec7c2ad0 --label arch=arm64 --label version=0.0.0 . [2024-08-14T08:41:05.698Z] Sending build context to Docker daemon 13.16MB [2024-08-14T08:41:05.698Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-14T08:41:05.698Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-14T08:41:05.698Z] ---> 34ee389b290f [2024-08-14T08:41:05.698Z] Step 3/24 : ARG MAKE=make build [2024-08-14T08:41:05.966Z] ---> Running in 2150d90cf961 [2024-08-14T08:41:06.234Z] Removing intermediate container 2150d90cf961 [2024-08-14T08:41:06.234Z] ---> bb4e0bd1c2b0 [2024-08-14T08:41:06.234Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-14T08:41:06.234Z] ---> Running in 82bfeb733022 [2024-08-14T08:41:06.816Z] Removing intermediate container 82bfeb733022 [2024-08-14T08:41:06.816Z] ---> d2119572bdf9 [2024-08-14T08:41:06.816Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-14T08:41:06.816Z] ---> Running in 7864eeb69864 [2024-08-14T08:41:07.083Z] Removing intermediate container 7864eeb69864 [2024-08-14T08:41:07.083Z] ---> a73a2f1d178d [2024-08-14T08:41:07.083Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-14T08:41:07.083Z] ---> Running in f8c9133c182c [2024-08-14T08:41:08.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-14T08:41:08.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-14T08:41:09.600Z] OK: 266 MiB in 52 packages [2024-08-14T08:41:10.562Z] Removing intermediate container f8c9133c182c [2024-08-14T08:41:10.562Z] ---> 3f1bd84bbc7e [2024-08-14T08:41:10.562Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-14T08:41:10.830Z] ---> 815cfe9a6770 [2024-08-14T08:41:10.830Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-14T08:41:11.103Z] ---> Running in 277c894fe2b6 [2024-08-14T08:41:13.054Z] Removing intermediate container 277c894fe2b6 [2024-08-14T08:41:13.054Z] ---> cfcdc830036f [2024-08-14T08:41:13.054Z] Step 9/24 : COPY . . [2024-08-14T08:41:15.003Z] ---> ccbbd445189c [2024-08-14T08:41:15.003Z] Step 10/24 : RUN ${MAKE} [2024-08-14T08:41:15.003Z] ---> Running in 043f7cdeb825 [2024-08-14T08:41:15.963Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-08-14T08:45:07.761Z] Removing intermediate container 043f7cdeb825 [2024-08-14T08:45:07.761Z] ---> f00d6f055f4f [2024-08-14T08:45:07.761Z] Step 11/24 : FROM alpine:3.18 [2024-08-14T08:45:07.761Z] 3.18: Pulling from library/alpine [2024-08-14T08:45:07.761Z] 4983c3fe2029: Pulling fs layer [2024-08-14T08:45:07.761Z] 4983c3fe2029: Verifying Checksum [2024-08-14T08:45:07.761Z] 4983c3fe2029: Download complete [2024-08-14T08:45:07.761Z] 4983c3fe2029: Pull complete [2024-08-14T08:45:07.761Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-14T08:45:07.761Z] Status: Downloaded newer image for alpine:3.18 [2024-08-14T08:45:07.761Z] ---> a0237000ae83 [2024-08-14T08:45:07.761Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-14T08:45:07.761Z] ---> Running in cc7ddc3421cf [2024-08-14T08:45:07.761Z] Removing intermediate container cc7ddc3421cf [2024-08-14T08:45:07.761Z] ---> 7b7e1b96f9bf [2024-08-14T08:45:07.761Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-14T08:45:07.761Z] ---> Running in 527458600e5f [2024-08-14T08:45:07.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-14T08:45:07.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-14T08:45:07.761Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-14T08:45:07.761Z] Executing busybox-1.36.1-r7.trigger [2024-08-14T08:45:07.761Z] OK: 8 MiB in 16 packages [2024-08-14T08:45:07.761Z] Removing intermediate container 527458600e5f [2024-08-14T08:45:07.761Z] ---> b6d477b721d5 [2024-08-14T08:45:07.761Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-14T08:45:07.761Z] ---> Running in 5ef92faf0188 [2024-08-14T08:45:07.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-14T08:45:07.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-14T08:45:08.345Z] OK: 8 MiB in 16 packages [2024-08-14T08:45:09.313Z] Removing intermediate container 5ef92faf0188 [2024-08-14T08:45:09.313Z] ---> 2220a2920dd0 [2024-08-14T08:45:09.313Z] Step 15/24 : WORKDIR / [2024-08-14T08:45:09.313Z] ---> Running in 8a47ea141591 [2024-08-14T08:45:09.581Z] Removing intermediate container 8a47ea141591 [2024-08-14T08:45:09.581Z] ---> 9ba3a4a2390a [2024-08-14T08:45:09.581Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-14T08:45:10.167Z] ---> df036971f680 [2024-08-14T08:45:10.168Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-14T08:45:12.751Z] ---> db0df793d4fd [2024-08-14T08:45:12.751Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-14T08:45:13.335Z] ---> d5f8a2acf81b [2024-08-14T08:45:13.335Z] Step 19/24 : EXPOSE 59999 [2024-08-14T08:45:13.335Z] ---> Running in 55a625936563 [2024-08-14T08:45:13.604Z] Removing intermediate container 55a625936563 [2024-08-14T08:45:13.604Z] ---> 9b33c7a5a975 [2024-08-14T08:45:13.604Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-14T08:45:13.872Z] ---> Running in 3449ef29e0bc [2024-08-14T08:45:14.140Z] Removing intermediate container 3449ef29e0bc [2024-08-14T08:45:14.140Z] ---> 1a5aa15a91f3 [2024-08-14T08:45:14.140Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-14T08:45:14.140Z] ---> Running in b81a00c7c040 [2024-08-14T08:45:14.411Z] Removing intermediate container b81a00c7c040 [2024-08-14T08:45:14.411Z] ---> d248781685b2 [2024-08-14T08:45:14.411Z] Step 22/24 : LABEL arch=arm64 [2024-08-14T08:45:14.679Z] ---> Running in c52bbb400dac [2024-08-14T08:45:14.946Z] Removing intermediate container c52bbb400dac [2024-08-14T08:45:14.946Z] ---> 964338cb2412 [2024-08-14T08:45:14.946Z] Step 23/24 : LABEL git_sha=f35974ce7fdb486d71758995b1726d45ec7c2ad0 [2024-08-14T08:45:14.946Z] ---> Running in 8a377992742c [2024-08-14T08:45:15.218Z] Removing intermediate container 8a377992742c [2024-08-14T08:45:15.218Z] ---> 0e1f2c46492c [2024-08-14T08:45:15.218Z] Step 24/24 : LABEL version=0.0.0 [2024-08-14T08:45:15.218Z] ---> Running in a6df8e705697 [2024-08-14T08:45:15.485Z] Removing intermediate container a6df8e705697 [2024-08-14T08:45:15.485Z] ---> 57182f8ef6bc [2024-08-14T08:45:15.485Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-14T08:45:15.752Z] Successfully built 57182f8ef6bc [2024-08-14T08:45:15.753Z] 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-14T08:45:16.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-14T08:45:16.739Z] [2024-08-14T08:45:16.739Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:45:17.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-14T08:45:17.462Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-14T08:45:17.462Z] 8998bd30e6a1: Pulling fs layer [2024-08-14T08:45:17.462Z] 04944245beec: Pulling fs layer [2024-08-14T08:45:17.462Z] 699f458cf7ca: Pulling fs layer [2024-08-14T08:45:17.462Z] 765212b225bb: Pulling fs layer [2024-08-14T08:45:17.462Z] f23df028b6ca: Pulling fs layer [2024-08-14T08:45:17.462Z] d65c8cfc05b1: Pulling fs layer [2024-08-14T08:45:17.462Z] 2437ff75d9bd: Pulling fs layer [2024-08-14T08:45:17.462Z] f23df028b6ca: Waiting [2024-08-14T08:45:17.462Z] d65c8cfc05b1: Waiting [2024-08-14T08:45:17.462Z] 2437ff75d9bd: Waiting [2024-08-14T08:45:17.462Z] 765212b225bb: Waiting [2024-08-14T08:45:17.462Z] 04944245beec: Verifying Checksum [2024-08-14T08:45:17.462Z] 04944245beec: Download complete [2024-08-14T08:45:17.462Z] 765212b225bb: Verifying Checksum [2024-08-14T08:45:17.462Z] 765212b225bb: Download complete [2024-08-14T08:45:17.462Z] f23df028b6ca: Verifying Checksum [2024-08-14T08:45:17.462Z] f23df028b6ca: Download complete [2024-08-14T08:45:17.462Z] d65c8cfc05b1: Verifying Checksum [2024-08-14T08:45:17.462Z] d65c8cfc05b1: Download complete [2024-08-14T08:45:17.733Z] 699f458cf7ca: Verifying Checksum [2024-08-14T08:45:17.733Z] 699f458cf7ca: Download complete [2024-08-14T08:45:18.001Z] 8998bd30e6a1: Verifying Checksum [2024-08-14T08:45:18.001Z] 8998bd30e6a1: Download complete [2024-08-14T08:45:20.587Z] 2437ff75d9bd: Verifying Checksum [2024-08-14T08:45:20.587Z] 2437ff75d9bd: Download complete [2024-08-14T08:45:22.533Z] 8998bd30e6a1: Pull complete [2024-08-14T08:45:23.117Z] 04944245beec: Pull complete [2024-08-14T08:45:24.528Z] 699f458cf7ca: Pull complete [2024-08-14T08:45:24.795Z] 765212b225bb: Pull complete [2024-08-14T08:45:25.755Z] f23df028b6ca: Pull complete [2024-08-14T08:45:26.022Z] d65c8cfc05b1: Pull complete [2024-08-14T08:45:44.254Z] 2437ff75d9bd: Pull complete [2024-08-14T08:45:44.254Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-14T08:45:44.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-14T08:45:44.254Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-14T08:45:44.620Z] prd-ubuntu20.04-docker-arm64-4c-16g-7688 does not seem to be running inside a container [2024-08-14T08:45:44.677Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-14T08:45:47.733Z] $ docker top 1b31d04ca91538fbb0e3796fdb7d4bc51fcdc062592b4f87242e9477239abac9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:45:48.706Z] ---> job-cost.sh [2024-08-14T08:45:48.706Z] lf-activate-venv: SKIPPING [2024-08-14T08:45:48.706Z] INFO: No Stack... [2024-08-14T08:45:48.975Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-14T08:45:49.934Z] INFO: Archiving Costs [Pipeline] sh [2024-08-14T08:45:50.607Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-08-14T08:45:50.607Z] + cut -d, -f6 [Pipeline] lock [2024-08-14T08:45:50.710Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] [2024-08-14T08:45:50.717Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] did not exist. Created. [2024-08-14T08:45:50.725Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-14T08:45:51.492Z] /w/workspace/device-sdk-go/1@tmp/durable-2b8c07e0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-14T08:45:52.167Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-14T08:45:52.213Z] Warning: overwriting stash ‘stack-cost’ [2024-08-14T08:45:52.296Z] Stashed 1 file(s) [Pipeline] } [2024-08-14T08:45:52.318Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1614-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-14T08:45:52.404Z] $ docker stop --time=1 1b31d04ca91538fbb0e3796fdb7d4bc51fcdc062592b4f87242e9477239abac9 [2024-08-14T08:45:53.968Z] $ docker rm -f --volumes 1b31d04ca91538fbb0e3796fdb7d4bc51fcdc062592b4f87242e9477239abac9 [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-14T08:45:55.170Z] provisioning config files... [2024-08-14T08:45:55.178Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/config10048680308006304553tmp [Pipeline] { [Pipeline] sh [2024-08-14T08:45:55.544Z] + set +x [2024-08-14T08:45:55.544Z] + bash -s -- [2024-08-14T08:45:55.544Z] + curl -s https://codecov.io/bash [2024-08-14T08:45:55.544Z] [2024-08-14T08:45:55.544Z] _____ _ [2024-08-14T08:45:55.544Z] / ____| | | [2024-08-14T08:45:55.544Z] | | ___ __| | ___ ___ _____ __ [2024-08-14T08:45:55.544Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-14T08:45:55.544Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-14T08:45:55.544Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-14T08:45:55.544Z] Bash-1.0.6 [2024-08-14T08:45:55.545Z] [2024-08-14T08:45:55.545Z] [2024-08-14T08:45:55.545Z] ==> git version 2.25.1 found [2024-08-14T08:45:55.545Z] ==> 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-14T08:45:55.545Z] Release-Date: 2020-01-08 [2024-08-14T08:45:55.545Z] 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-14T08:45:55.545Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-14T08:45:55.545Z] ==> Jenkins CI detected. [2024-08-14T08:45:55.545Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1614 [2024-08-14T08:45:55.545Z] project root: . [2024-08-14T08:45:55.545Z] --> token set from env [2024-08-14T08:45:55.545Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-14T08:45:55.545Z] ==> Running gcov in . (disable via -X gcov) [2024-08-14T08:45:55.545Z] ==> Python coveragepy not found [2024-08-14T08:45:55.545Z] ==> Searching for coverage reports in: [2024-08-14T08:45:55.545Z] + . [2024-08-14T08:45:55.545Z] -> Found 1 reports [2024-08-14T08:45:55.545Z] ==> Detecting git/mercurial file structure [2024-08-14T08:45:55.805Z] ==> Reading reports [2024-08-14T08:45:55.805Z] + ./coverage.out bytes=126053 [2024-08-14T08:45:55.805Z] ==> Appending adjustments [2024-08-14T08:45:55.805Z] https://docs.codecov.io/docs/fixing-reports [2024-08-14T08:45:56.066Z] + Found adjustments [2024-08-14T08:45:56.066Z] ==> Gzipping contents [2024-08-14T08:45:56.066Z] 20K /tmp/codecov.EJNPu4.gz [2024-08-14T08:45:56.066Z] ==> Uploading reports [2024-08-14T08:45:56.066Z] url: https://codecov.io [2024-08-14T08:45:56.066Z] query: branch=PR-1614&commit=f35974ce7fdb486d71758995b1726d45ec7c2ad0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1614%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1614&job=&cmd_args= [2024-08-14T08:45:56.066Z] -> Pinging Codecov [2024-08-14T08:45:56.066Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1614&commit=f35974ce7fdb486d71758995b1726d45ec7c2ad0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1614%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1614&job=&cmd_args= [2024-08-14T08:45:56.327Z] -> Uploading to [2024-08-14T08:45:56.327Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/f35974ce7fdb486d71758995b1726d45ec7c2ad0/6b81cce0-dc7f-49b0-9159-458a266216db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20240814%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20240814T084556Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a04ac582a481c25c0a9395ac11c344bd8fb08a56860fd594546165e203980546 [2024-08-14T08:45:56.585Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-14T08:45:56.586Z] Dload Upload Total Spent Left Speed [2024-08-14T08:45:56.586Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17140 0 0 100 17140 0 83609 --:--:-- --:--:-- --:--:-- 83203 100 17140 0 0 100 17140 0 69959 --:--:-- --:--:-- --:--:-- 69674 [2024-08-14T08:45:56.586Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f35974ce7fdb486d71758995b1726d45ec7c2ad0 [Pipeline] } [2024-08-14T08:45:56.626Z] 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-14T08:45:58.912Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives ] [2024-08-14T08:45:58.912Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives [2024-08-14T08:45:58.912Z] total 16 [2024-08-14T08:45:58.912Z] drwxr-xr-x 3 root root 4096 Aug 14 08:28 . [2024-08-14T08:45:58.912Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 14 08:28 .. [2024-08-14T08:45:58.912Z] drwxr-xr-x 2 root root 4096 Aug 14 08:28 cost [2024-08-14T08:45:58.912Z] -rw-r--r-- 1 root root 86 Aug 14 08:28 cost.csv [2024-08-14T08:45:58.912Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives [2024-08-14T08:45:58.912Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives [2024-08-14T08:45:58.912Z] total 16 [2024-08-14T08:45:58.912Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 14 08:28 . [2024-08-14T08:45:58.912Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 14 08:28 .. [2024-08-14T08:45:58.912Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 14 08:28 cost [2024-08-14T08:45:58.912Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 14 08:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:45:59.263Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:46:00.174Z] ---> package-listing.sh [2024-08-14T08:46:00.174Z] ++ facter osfamily [2024-08-14T08:46:00.174Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-14T08:46:00.437Z] + OS_FAMILY=debian [2024-08-14T08:46:00.437Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1614 [2024-08-14T08:46:00.437Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-14T08:46:00.437Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-14T08:46:00.437Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-14T08:46:00.437Z] + PACKAGES=/tmp/packages_start.txt [2024-08-14T08:46:00.437Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1614 ']' [2024-08-14T08:46:00.437Z] + PACKAGES=/tmp/packages_end.txt [2024-08-14T08:46:00.437Z] + case "${OS_FAMILY}" in [2024-08-14T08:46:00.437Z] + dpkg -l [2024-08-14T08:46:00.437Z] + grep '^ii' [2024-08-14T08:46:00.437Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-14T08:46:00.437Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-14T08:46:00.437Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-14T08:46:00.437Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1614 ']' [2024-08-14T08:46:00.437Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives/ [2024-08-14T08:46:00.437Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1614/archives/ [Pipeline] echo [2024-08-14T08:46:00.488Z] 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-1614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-14T08:46:00.789Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-14T08:46:01.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-14T08:46:01.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-14T08:46:01.620Z] prd-ubuntu20.04-docker-8c-8g-7687 does not seem to be running inside a container [2024-08-14T08:46:01.651Z] $ 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-1614/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-1614 -v /w/workspace/gexfoundry_device-sdk-go_PR-1614:/w/workspace/gexfoundry_device-sdk-go_PR-1614:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-14T08:46:01.865Z] $ docker top c511e281e6f9e9a93b958639eba0ffde63f97ea9197e282b8b14b4003b887d3d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-14T08:46:02.294Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-14T08:46:02.616Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-14T08:46:02.939Z] + ls /var/log/sa-host [2024-08-14T08:46:02.939Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-14T08:46:03.218Z] provisioning config files... [2024-08-14T08:46:03.228Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1614@tmp/config5950496469725411081tmp [Pipeline] { [Pipeline] echo [2024-08-14T08:46:03.313Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:46:03.652Z] ---> create-netrc.sh [Pipeline] } [2024-08-14T08:46:03.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:46:04.127Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-14T08:46:04.172Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:46:04.503Z] ---> sudo-logs.sh [2024-08-14T08:46:04.503Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-14T08:46:04.601Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:46:04.936Z] ---> job-cost.sh [2024-08-14T08:46:04.937Z] lf-activate-venv: SKIPPING [2024-08-14T08:46:04.937Z] DEBUG: total: 0.2199999988079071 [2024-08-14T08:46:04.937Z] INFO: Retrieving Stack Cost... [2024-08-14T08:46:05.197Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-14T08:46:05.765Z] INFO: Archiving Costs [Pipeline] echo [2024-08-14T08:46:05.818Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-14T08:46:06.142Z] ---> logs-deploy.sh [2024-08-14T08:46:06.142Z] lf-activate-venv: SKIPPING [2024-08-14T08:46:06.142Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1614/1 [2024-08-14T08:46:06.142Z] INFO: archiving workspace using pattern(s): [2024-08-14T08:46:07.080Z] Archives upload complete. [2024-08-14T08:46:07.080Z] INFO: archiving logs to Nexus