Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e29fde07f71cd63801829b35788a0c73dd6f5eb6+487ca8dbaf5a7983b4dd4e8681142a99360f28bf (fda59bbaadbe7c254900d3e8aeac40b7dd8c74a7) 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-ssh8989808499353820530.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh7066316711317140835.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1531/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1531/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3204689966865070520.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17897042078823089806.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1531/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1531/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12367312002664763714.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16265 in /w/workspace/gexfoundry_device-sdk-go_PR-1531 [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-1531 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1531/head:refs/remotes/origin/PR-1531 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 487ca8dbaf5a7983b4dd4e8681142a99360f28bf into PR head commit e29fde07f71cd63801829b35788a0c73dd6f5eb6 Merge succeeded, producing 21a4d738caab015ff01cf08b2b0ce696fbf79d7d Checking out Revision 21a4d738caab015ff01cf08b2b0ce696fbf79d7d (PR-1531) > git config core.sparsecheckout # timeout=10 > git checkout -f e29fde07f71cd63801829b35788a0c73dd6f5eb6 # 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 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21a4d738caab015ff01cf08b2b0ce696fbf79d7d # timeout=10 Commit message: "Merge commit '487ca8dbaf5a7983b4dd4e8681142a99360f28bf' into HEAD" > git rev-list --no-walk e29fde07f71cd63801829b35788a0c73dd6f5eb6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-01T18:44:10.079Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-01T18:44:10.147Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-01T18:44:10.161Z] ========================================================= [2023-11-01T18:44:10.161Z] EdgeX Global Pipelines Version Info [2023-11-01T18:44:10.161Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-01T18:44:10.866Z] ------------------- [2023-11-01T18:44:10.867Z] stable info: [2023-11-01T18:44:10.867Z] ------------------- [2023-11-01T18:44:10.867Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-01T18:44:10.867Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T18:44:10.867Z] Message: update stable to v1.0.255 [2023-11-01T18:44:11.436Z] ------------------- [2023-11-01T18:44:11.437Z] experimental info: [2023-11-01T18:44:11.437Z] ------------------- [2023-11-01T18:44:11.437Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-01T18:44:11.437Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T18:44:11.437Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-01T18:44:11.602Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-01T18:44:11.618Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-01T18:44:11.634Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-01T18:44:11.650Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-01T18:44:11.663Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-01T18:44:11.676Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-01T18:44:11.692Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-01T18:44:11.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-01T18:44:11.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-01T18:44:11.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-01T18:44:11.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-01T18:44:11.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-01T18:44:11.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-01T18:44:11.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-01T18:44:11.817Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T18:44:11.836Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T18:44:11.854Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T18:44:11.872Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T18:44:11.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-01T18:44:11.908Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-01T18:44:11.924Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-01T18:44:11.937Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-01T18:44:11.949Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-01T18:44:11.960Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-01T18:44:11.977Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-01T18:44:11.996Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-01T18:44:12.016Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-01T18:44:12.032Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1531 [Pipeline] echo [2023-11-01T18:44:12.044Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1531 [Pipeline] echo [2023-11-01T18:44:12.056Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1531 [Pipeline] echo [2023-11-01T18:44:12.073Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21a4d738caab015ff01cf08b2b0ce696fbf79d7d [Pipeline] echo [2023-11-01T18:44:12.090Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21a4d73 [Pipeline] echo [2023-11-01T18:44:12.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T18:44:12.159Z] provisioning config files... [2023-11-01T18:44:12.170Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config6185362042548428928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T18:44:12.471Z] ---> docker-login.sh [2023-11-01T18:44:12.472Z] nexus3.edgexfoundry.org:10001 [2023-11-01T18:44:12.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:44:12.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:44:12.739Z] Configure a credential helper to remove this warning. See [2023-11-01T18:44:12.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:44:12.739Z] [2023-11-01T18:44:12.739Z] Login Succeeded [2023-11-01T18:44:12.739Z] nexus3.edgexfoundry.org:10002 [2023-11-01T18:44:13.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:44:13.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:44:13.000Z] Configure a credential helper to remove this warning. See [2023-11-01T18:44:13.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:44:13.000Z] [2023-11-01T18:44:13.000Z] Login Succeeded [2023-11-01T18:44:13.000Z] nexus3.edgexfoundry.org:10003 [2023-11-01T18:44:13.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:44:13.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:44:13.000Z] Configure a credential helper to remove this warning. See [2023-11-01T18:44:13.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:44:13.000Z] [2023-11-01T18:44:13.000Z] Login Succeeded [2023-11-01T18:44:13.000Z] nexus3.edgexfoundry.org:10004 [2023-11-01T18:44:13.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:44:13.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:44:13.260Z] Configure a credential helper to remove this warning. See [2023-11-01T18:44:13.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:44:13.260Z] [2023-11-01T18:44:13.260Z] Login Succeeded [2023-11-01T18:44:13.260Z] docker.io [2023-11-01T18:44:13.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:44:13.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:44:13.521Z] Configure a credential helper to remove this warning. See [2023-11-01T18:44:13.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:44:13.521Z] [2023-11-01T18:44:13.521Z] Login Succeeded [2023-11-01T18:44:13.521Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T18:44:13.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-01T18:44:13.923Z] + git rev-list -1 --merges 21a4d738caab015ff01cf08b2b0ce696fbf79d7d~1..21a4d738caab015ff01cf08b2b0ce696fbf79d7d [Pipeline] echo [2023-11-01T18:44:13.963Z] -----------> git rev-list -1 --merges 21a4d738caab015ff01cf08b2b0ce696fbf79d7d~1..21a4d738caab015ff01cf08b2b0ce696fbf79d7d 21a4d738caab015ff01cf08b2b0ce696fbf79d7d [2023-11-01T18:44:13.963Z] 21a4d738caab015ff01cf08b2b0ce696fbf79d7d [false] [Pipeline] sh [2023-11-01T18:44:14.249Z] + git log --format=format:%s -1 21a4d738caab015ff01cf08b2b0ce696fbf79d7d [Pipeline] echo [2023-11-01T18:44:14.265Z] ========================================================= [2023-11-01T18:44:14.265Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-01T18:44:14.265Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T18:44:14.619Z] + git log --format=format:%s -1 21a4d738caab015ff01cf08b2b0ce696fbf79d7d [Pipeline] echo [2023-11-01T18:44:14.632Z] [semverPrep] GIT_COMMIT: 21a4d738caab015ff01cf08b2b0ce696fbf79d7d, Commit Message: Merge commit '487ca8dbaf5a7983b4dd4e8681142a99360f28bf' into HEAD [Pipeline] echo [2023-11-01T18:44:14.644Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-01T18:44:15.157Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T18:44:15.157Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-01T18:44:15.157Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-01T18:44:15.157Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-01T18:44:15.157Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-01T18:44:15.157Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-01T18:44:15.158Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:44:15.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T18:44:15.510Z] [2023-11-01T18:44:15.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:44:15.815Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T18:44:15.815Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-01T18:44:15.815Z] b85a868b505f: Pulling fs layer [2023-11-01T18:44:15.815Z] e2be974225ed: Pulling fs layer [2023-11-01T18:44:15.815Z] 339a4e72a1f5: Pulling fs layer [2023-11-01T18:44:15.815Z] 988bab9f4d93: Pulling fs layer [2023-11-01T18:44:15.815Z] 1469e6f7b9e6: Pulling fs layer [2023-11-01T18:44:15.815Z] eaf3925da568: Pulling fs layer [2023-11-01T18:44:15.815Z] bab4dde63d76: Pulling fs layer [2023-11-01T18:44:15.815Z] bde34c3a00c8: Pulling fs layer [2023-11-01T18:44:15.815Z] b352a97aabf1: Pulling fs layer [2023-11-01T18:44:15.815Z] 4872d77fe225: Pulling fs layer [2023-11-01T18:44:15.815Z] 5851b861e8e6: Pulling fs layer [2023-11-01T18:44:15.815Z] bde34c3a00c8: Waiting [2023-11-01T18:44:15.815Z] b352a97aabf1: Waiting [2023-11-01T18:44:15.815Z] eaf3925da568: Waiting [2023-11-01T18:44:15.815Z] 4872d77fe225: Waiting [2023-11-01T18:44:15.815Z] 988bab9f4d93: Waiting [2023-11-01T18:44:15.815Z] 5851b861e8e6: Waiting [2023-11-01T18:44:15.815Z] e2be974225ed: Verifying Checksum [2023-11-01T18:44:15.815Z] e2be974225ed: Download complete [2023-11-01T18:44:15.815Z] 988bab9f4d93: Verifying Checksum [2023-11-01T18:44:15.815Z] 988bab9f4d93: Download complete [2023-11-01T18:44:16.076Z] 1469e6f7b9e6: Verifying Checksum [2023-11-01T18:44:16.076Z] 1469e6f7b9e6: Download complete [2023-11-01T18:44:16.076Z] 339a4e72a1f5: Verifying Checksum [2023-11-01T18:44:16.076Z] 339a4e72a1f5: Download complete [2023-11-01T18:44:16.076Z] eaf3925da568: Verifying Checksum [2023-11-01T18:44:16.076Z] eaf3925da568: Download complete [2023-11-01T18:44:16.076Z] bde34c3a00c8: Verifying Checksum [2023-11-01T18:44:16.076Z] bde34c3a00c8: Download complete [2023-11-01T18:44:16.076Z] b352a97aabf1: Download complete [2023-11-01T18:44:16.076Z] 4872d77fe225: Verifying Checksum [2023-11-01T18:44:16.076Z] 4872d77fe225: Download complete [2023-11-01T18:44:16.076Z] 5851b861e8e6: Verifying Checksum [2023-11-01T18:44:16.076Z] 5851b861e8e6: Download complete [2023-11-01T18:44:16.076Z] b85a868b505f: Download complete [2023-11-01T18:44:16.336Z] bab4dde63d76: Verifying Checksum [2023-11-01T18:44:16.336Z] bab4dde63d76: Download complete [2023-11-01T18:44:17.716Z] b85a868b505f: Pull complete [2023-11-01T18:44:17.716Z] e2be974225ed: Pull complete [2023-11-01T18:44:18.294Z] 339a4e72a1f5: Pull complete [2023-11-01T18:44:18.294Z] 988bab9f4d93: Pull complete [2023-11-01T18:44:18.555Z] 1469e6f7b9e6: Pull complete [2023-11-01T18:44:18.555Z] eaf3925da568: Pull complete [2023-11-01T18:44:20.460Z] bab4dde63d76: Pull complete [2023-11-01T18:44:20.460Z] bde34c3a00c8: Pull complete [2023-11-01T18:44:20.460Z] b352a97aabf1: Pull complete [2023-11-01T18:44:20.460Z] 4872d77fe225: Pull complete [2023-11-01T18:44:20.719Z] 5851b861e8e6: Pull complete [2023-11-01T18:44:20.719Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-01T18:44:20.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T18:44:20.719Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T18:44:20.897Z] prd-ubuntu20.04-docker-8c-8g-16265 does not seem to be running inside a container [2023-11-01T18:44:20.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T18:44:26.694Z] $ docker top 3159804dcd7b8b73ea6817f143b0230fced0ee3c032e33725742c0d41fd80158 -eo pid,comm [2023-11-01T18:44:26.755Z] 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). [2023-11-01T18:44:26.756Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T18:44:26.800Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T18:44:26.800Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T18:44:26.899Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T18:44:26.904Z] $ docker exec 3159804dcd7b8b73ea6817f143b0230fced0ee3c032e33725742c0d41fd80158 ssh-agent [2023-11-01T18:44:27.007Z] SSH_AUTH_SOCK=/tmp/ssh-ssY1b7VJURIZ/agent.32 [2023-11-01T18:44:27.007Z] SSH_AGENT_PID=38 [2023-11-01T18:44:27.013Z] Running ssh-add (command line suppressed) [2023-11-01T18:44:27.106Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_12319598713196919771.key (/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_12319598713196919771.key) [2023-11-01T18:44:27.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T18:44:27.410Z] + git tag --points-at HEAD [Pipeline] } [2023-11-01T18:44:27.429Z] $ docker exec --env ******** --env ******** 3159804dcd7b8b73ea6817f143b0230fced0ee3c032e33725742c0d41fd80158 ssh-agent -k [2023-11-01T18:44:27.530Z] unset SSH_AUTH_SOCK; [2023-11-01T18:44:27.531Z] unset SSH_AGENT_PID; [2023-11-01T18:44:27.531Z] echo Agent pid 38 killed; [2023-11-01T18:44:27.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-01T18:44:27.563Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T18:44:27.563Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T18:44:27.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T18:44:27.674Z] $ docker exec 3159804dcd7b8b73ea6817f143b0230fced0ee3c032e33725742c0d41fd80158 ssh-agent [2023-11-01T18:44:27.779Z] SSH_AUTH_SOCK=/tmp/ssh-Z9KwoDIzy2Db/agent.70 [2023-11-01T18:44:27.779Z] SSH_AGENT_PID=76 [2023-11-01T18:44:27.783Z] Running ssh-add (command line suppressed) [2023-11-01T18:44:27.877Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_16587986150467004279.key (/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_16587986150467004279.key) [2023-11-01T18:44:27.888Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T18:44:28.173Z] + git semver init [2023-11-01T18:44:28.433Z] 2023-11-01 18:44:28,337 [run_init] DEBUG init version:0.0.0 force:False [2023-11-01T18:44:28.433Z] 2023-11-01 18:44:28,337 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver [2023-11-01T18:44:28.433Z] 2023-11-01 18:44:28,338 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver [2023-11-01T18:44:28.433Z] 2023-11-01 18:44:28,338 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1531, universal_newlines=False, shell=None, istream=None) [2023-11-01T18:44:29.376Z] 2023-11-01 18:44:29,364 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.git/info/exclude [2023-11-01T18:44:29.376Z] 2023-11-01 18:44:29,364 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver/PR-1531 with force:False [2023-11-01T18:44:29.376Z] 2023-11-01 18:44:29,364 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver/PR-1531 [2023-11-01T18:44:29.376Z] 2023-11-01 18:44:29,368 [execute] INFO git cat-file --batch-check [2023-11-01T18:44:29.376Z] 2023-11-01 18:44:29,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T18:44:29.376Z] 2023-11-01 18:44:29,374 [execute] INFO git cat-file --batch [2023-11-01T18:44:29.376Z] 2023-11-01 18:44:29,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T18:44:29.635Z] 2023-11-01 18:44:29,378 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver/PR-1531 [2023-11-01T18:44:29.635Z] 0.0.0 [Pipeline] } [2023-11-01T18:44:29.646Z] $ docker exec --env ******** --env ******** 3159804dcd7b8b73ea6817f143b0230fced0ee3c032e33725742c0d41fd80158 ssh-agent -k [2023-11-01T18:44:29.735Z] unset SSH_AUTH_SOCK; [2023-11-01T18:44:29.736Z] unset SSH_AGENT_PID; [2023-11-01T18:44:29.736Z] echo Agent pid 76 killed; [2023-11-01T18:44:29.743Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T18:44:30.045Z] + git semver [Pipeline] } [2023-11-01T18:44:30.320Z] $ docker stop --time=1 3159804dcd7b8b73ea6817f143b0230fced0ee3c032e33725742c0d41fd80158 [2023-11-01T18:44:31.689Z] $ docker rm -f --volumes 3159804dcd7b8b73ea6817f143b0230fced0ee3c032e33725742c0d41fd80158 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T18:44:32.026Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-01T18:44:32.241Z] Stashed 1 file(s) [Pipeline] echo [2023-11-01T18:44:32.244Z] [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 [2023-11-01T18:44:32.410Z] provisioning config files... [2023-11-01T18:44:32.418Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config1572909368118211380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T18:44:32.713Z] ---> docker-login.sh [2023-11-01T18:44:32.714Z] nexus3.edgexfoundry.org:10001 [2023-11-01T18:44:32.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:44:32.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:44:32.714Z] Configure a credential helper to remove this warning. See [2023-11-01T18:44:32.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:44:32.714Z] [2023-11-01T18:44:32.714Z] Login Succeeded [2023-11-01T18:44:32.714Z] nexus3.edgexfoundry.org:10002 [2023-11-01T18:44:32.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:44:32.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:44:32.714Z] Configure a credential helper to remove this warning. See [2023-11-01T18:44:32.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:44:32.714Z] [2023-11-01T18:44:32.714Z] Login Succeeded [2023-11-01T18:44:32.714Z] nexus3.edgexfoundry.org:10003 [2023-11-01T18:44:33.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:44:33.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:44:33.063Z] Configure a credential helper to remove this warning. See [2023-11-01T18:44:33.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:44:33.063Z] [2023-11-01T18:44:33.063Z] Login Succeeded [2023-11-01T18:44:33.063Z] nexus3.edgexfoundry.org:10004 [2023-11-01T18:44:33.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:44:33.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:44:33.063Z] Configure a credential helper to remove this warning. See [2023-11-01T18:44:33.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:44:33.063Z] [2023-11-01T18:44:33.063Z] Login Succeeded [2023-11-01T18:44:33.063Z] docker.io [2023-11-01T18:44:33.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:44:33.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:44:33.327Z] Configure a credential helper to remove this warning. See [2023-11-01T18:44:33.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:44:33.327Z] [2023-11-01T18:44:33.327Z] Login Succeeded [2023-11-01T18:44:33.327Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T18:44:33.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T18:44:33.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T18:44:33.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T18:44:33.433Z] ========================================================= [2023-11-01T18:44:33.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-01T18:44:33.433Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:44:33.764Z] + 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 . [2023-11-01T18:44:33.765Z] Sending build context to Docker daemon 11.27MB [2023-11-01T18:44:33.765Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T18:44:33.765Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-01T18:44:34.028Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-01T18:44:34.028Z] 7264a8db6415: Pulling fs layer [2023-11-01T18:44:34.028Z] c4d48a809fc2: Pulling fs layer [2023-11-01T18:44:34.028Z] 4f1c88b9dad5: Pulling fs layer [2023-11-01T18:44:34.028Z] ad3a456e5733: Pulling fs layer [2023-11-01T18:44:34.028Z] 33e27b845d1e: Pulling fs layer [2023-11-01T18:44:34.028Z] c68163c4e522: Pulling fs layer [2023-11-01T18:44:34.028Z] 50da416c3ac9: Pulling fs layer [2023-11-01T18:44:34.028Z] 23d2d4c4bb30: Pulling fs layer [2023-11-01T18:44:34.028Z] 33e27b845d1e: Waiting [2023-11-01T18:44:34.028Z] 23d2d4c4bb30: Waiting [2023-11-01T18:44:34.028Z] ad3a456e5733: Waiting [2023-11-01T18:44:34.028Z] c4d48a809fc2: Verifying Checksum [2023-11-01T18:44:34.028Z] c4d48a809fc2: Download complete [2023-11-01T18:44:34.028Z] ad3a456e5733: Download complete [2023-11-01T18:44:34.028Z] 33e27b845d1e: Verifying Checksum [2023-11-01T18:44:34.028Z] 33e27b845d1e: Download complete [2023-11-01T18:44:34.028Z] 7264a8db6415: Verifying Checksum [2023-11-01T18:44:34.028Z] 7264a8db6415: Download complete [2023-11-01T18:44:34.028Z] c68163c4e522: Verifying Checksum [2023-11-01T18:44:34.028Z] c68163c4e522: Download complete [2023-11-01T18:44:34.310Z] 7264a8db6415: Pull complete [2023-11-01T18:44:34.310Z] c4d48a809fc2: Pull complete [2023-11-01T18:44:34.575Z] 23d2d4c4bb30: Verifying Checksum [2023-11-01T18:44:34.575Z] 23d2d4c4bb30: Download complete [2023-11-01T18:44:34.575Z] 4f1c88b9dad5: Verifying Checksum [2023-11-01T18:44:34.575Z] 4f1c88b9dad5: Download complete [2023-11-01T18:44:35.140Z] 50da416c3ac9: Verifying Checksum [2023-11-01T18:44:35.140Z] 50da416c3ac9: Download complete [2023-11-01T18:44:37.669Z] 4f1c88b9dad5: Pull complete [2023-11-01T18:44:37.669Z] ad3a456e5733: Pull complete [2023-11-01T18:44:37.669Z] 33e27b845d1e: Pull complete [2023-11-01T18:44:37.927Z] c68163c4e522: Pull complete [2023-11-01T18:44:40.458Z] 50da416c3ac9: Pull complete [2023-11-01T18:44:41.028Z] 23d2d4c4bb30: Pull complete [2023-11-01T18:44:41.287Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-01T18:44:41.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-01T18:44:41.287Z] ---> 0786185ac409 [2023-11-01T18:44:41.287Z] Step 3/10 : ARG MAKE=make build [2023-11-01T18:44:47.369Z] Still waiting to schedule task [2023-11-01T18:44:47.369Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-01T18:44:49.437Z] ---> Running in 61d4bce4fe3c [2023-11-01T18:44:49.437Z] Removing intermediate container 61d4bce4fe3c [2023-11-01T18:44:49.437Z] ---> 7f5b4a5efd65 [2023-11-01T18:44:49.437Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-01T18:44:49.437Z] ---> Running in ffe00c636e69 [2023-11-01T18:44:49.437Z] Removing intermediate container ffe00c636e69 [2023-11-01T18:44:49.437Z] ---> b84a65913cac [2023-11-01T18:44:49.437Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T18:44:49.437Z] ---> Running in 2ad17630b67d [2023-11-01T18:44:49.437Z] Removing intermediate container 2ad17630b67d [2023-11-01T18:44:49.437Z] ---> f684993413b7 [2023-11-01T18:44:49.437Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-01T18:44:49.437Z] ---> Running in 1a5fd0fe998a [2023-11-01T18:44:49.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T18:44:49.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T18:44:49.696Z] OK: 264 MiB in 52 packages [2023-11-01T18:44:49.956Z] Removing intermediate container 1a5fd0fe998a [2023-11-01T18:44:49.956Z] ---> 1f9dae8a7a45 [2023-11-01T18:44:49.956Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-01T18:44:50.214Z] ---> 84e018199c02 [2023-11-01T18:44:50.214Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T18:44:50.214Z] ---> Running in ed7c3c1049d9 [2023-11-01T18:45:36.931Z] Removing intermediate container ed7c3c1049d9 [2023-11-01T18:45:36.931Z] ---> 23ac4323511c [2023-11-01T18:45:36.931Z] Step 9/10 : COPY . . [2023-11-01T18:45:36.931Z] ---> 0d586e6a2c4e [2023-11-01T18:45:36.931Z] Step 10/10 : RUN ${MAKE} [2023-11-01T18:45:36.931Z] ---> Running in ea5e89c3e3b0 [2023-11-01T18:45:36.931Z] noop [2023-11-01T18:45:36.931Z] Removing intermediate container ea5e89c3e3b0 [2023-11-01T18:45:36.931Z] ---> 31ee27b01aa5 [2023-11-01T18:45:36.931Z] Successfully built 31ee27b01aa5 [2023-11-01T18:45:36.931Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:45:37.255Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T18:45:37.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T18:45:37.323Z] prd-ubuntu20.04-docker-8c-8g-16265 does not seem to be running inside a container [2023-11-01T18:45:37.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-01T18:45:37.766Z] $ docker top 5932f4a68815358780a69ba9647771fc61373844bbe744d7ecd320e0099744d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T18:45:38.108Z] + go version [2023-11-01T18:45:38.109Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-01T18:45:38.119Z] $ docker stop --time=1 5932f4a68815358780a69ba9647771fc61373844bbe744d7ecd320e0099744d3 [2023-11-01T18:45:39.422Z] $ docker rm -f --volumes 5932f4a68815358780a69ba9647771fc61373844bbe744d7ecd320e0099744d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:45:39.907Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T18:45:39.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T18:45:40.008Z] prd-ubuntu20.04-docker-8c-8g-16265 does not seem to be running inside a container [2023-11-01T18:45:40.045Z] $ 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-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-01T18:45:40.564Z] $ docker top c29341bbe99ce2fc46eadf0ba8db4d708eb6a72620e282bd50f6d0fcdc34bdf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T18:45:40.911Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1531 [Pipeline] fileExists [Pipeline] sh [2023-11-01T18:45:41.208Z] + make test [2023-11-01T18:45:41.208Z] go test -race -coverprofile=coverage.out ./... [2023-11-01T18:45:47.792Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-01T18:46:00.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-01T18:46:00.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-01T18:46:00.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-01T18:46:00.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-01T18:46:00.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-01T18:46:00.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-01T18:46:00.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-01T18:46:00.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-01T18:46:00.627Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.049s coverage: 27.6% of statements [2023-11-01T18:46:00.627Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements [2023-11-01T18:46:00.627Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.074s coverage: 86.0% of statements [2023-11-01T18:46:00.627Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-01T18:46:00.627Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-01T18:46:00.627Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 71.8% of statements [2023-11-01T18:46:01.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-01T18:46:04.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.042s coverage: 14.4% of statements [2023-11-01T18:46:04.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.064s coverage: 45.9% of statements [2023-11-01T18:46:04.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.073s coverage: 68.5% of statements [2023-11-01T18:46:04.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.101s coverage: 89.2% of statements [2023-11-01T18:46:04.141Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements [2023-11-01T18:46:22.248Z] GO111MODULE=on go vet ./... [2023-11-01T18:46:24.794Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T18:46:24.794Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T18:46:24.794Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T18:46:24.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T18:46:24.824Z] $ docker stop --time=1 c29341bbe99ce2fc46eadf0ba8db4d708eb6a72620e282bd50f6d0fcdc34bdf4 [2023-11-01T18:46:28.493Z] $ docker rm -f --volumes c29341bbe99ce2fc46eadf0ba8db4d708eb6a72620e282bd50f6d0fcdc34bdf4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T18:46:29.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T18:46:29.079Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-01T18:46:29.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T18:46:29.896Z] + ls -al . [2023-11-01T18:46:29.896Z] total 308 [2023-11-01T18:46:29.896Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 18:45 . [2023-11-01T18:46:29.896Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 18:44 .. [2023-11-01T18:46:29.896Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 18:44 .dockerignore [2023-11-01T18:46:29.896Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 18:46 .git [2023-11-01T18:46:29.896Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 18:44 .github [2023-11-01T18:46:29.896Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 18:44 .gitignore [2023-11-01T18:46:29.896Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 18:44 .golangci.yml [2023-11-01T18:46:29.896Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 18:44 .semver [2023-11-01T18:46:29.896Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 1 18:44 CHANGELOG.md [2023-11-01T18:46:29.897Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 18:44 GOVERNANCE.md [2023-11-01T18:46:29.897Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 18:44 Jenkinsfile [2023-11-01T18:46:29.897Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 18:44 LICENSE [2023-11-01T18:46:29.897Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 18:44 Makefile [2023-11-01T18:46:29.897Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 18:44 OWNERS.md [2023-11-01T18:46:29.897Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 18:44 README.md [2023-11-01T18:46:29.897Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 18:44 VERSION [2023-11-01T18:46:29.897Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 18:44 bin [2023-11-01T18:46:29.897Z] -rw-r--r-- 1 jenkins jenkins 122156 Nov 1 18:46 coverage.out [2023-11-01T18:46:29.897Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 18:44 example [2023-11-01T18:46:29.897Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 18:44 go.mod [2023-11-01T18:46:29.897Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 18:44 go.sum [2023-11-01T18:46:29.897Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 18:44 internal [2023-11-01T18:46:29.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 18:44 openapi [2023-11-01T18:46:29.897Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 18:44 pkg [2023-11-01T18:46:29.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 18:44 snap [2023-11-01T18:46:29.897Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:46:30.273Z] + 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=21a4d738caab015ff01cf08b2b0ce696fbf79d7d --label arch=amd64 --label version=0.0.0 . [2023-11-01T18:46:30.273Z] Sending build context to Docker daemon 11.39MB [2023-11-01T18:46:30.273Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T18:46:30.273Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-01T18:46:30.273Z] ---> 31ee27b01aa5 [2023-11-01T18:46:30.273Z] Step 3/23 : ARG MAKE=make build [2023-11-01T18:46:30.532Z] ---> Running in 7503dcae6297 [2023-11-01T18:46:30.532Z] Removing intermediate container 7503dcae6297 [2023-11-01T18:46:30.532Z] ---> dd60ba6aafb9 [2023-11-01T18:46:30.532Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-01T18:46:30.532Z] ---> Running in dc628b09cd3e [2023-11-01T18:46:30.532Z] Removing intermediate container dc628b09cd3e [2023-11-01T18:46:30.532Z] ---> 529410c9fdf9 [2023-11-01T18:46:30.532Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T18:46:30.532Z] ---> Running in 5a501b72d105 [2023-11-01T18:46:30.791Z] Removing intermediate container 5a501b72d105 [2023-11-01T18:46:30.791Z] ---> 8f938707c16a [2023-11-01T18:46:30.791Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-01T18:46:30.791Z] ---> Running in 875a16879f5b [2023-11-01T18:46:31.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T18:46:31.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T18:46:31.618Z] OK: 264 MiB in 52 packages [2023-11-01T18:46:31.878Z] Removing intermediate container 875a16879f5b [2023-11-01T18:46:31.878Z] ---> 85e536200594 [2023-11-01T18:46:31.878Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-01T18:46:31.878Z] ---> 03e397da3f05 [2023-11-01T18:46:31.878Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T18:46:31.878Z] ---> Running in 8104fa1d6ae8 [2023-11-01T18:46:32.814Z] Removing intermediate container 8104fa1d6ae8 [2023-11-01T18:46:32.814Z] ---> 106e9e516ea2 [2023-11-01T18:46:32.814Z] Step 9/23 : COPY . . [2023-11-01T18:46:33.382Z] ---> da13cca5f022 [2023-11-01T18:46:33.382Z] Step 10/23 : RUN ${MAKE} [2023-11-01T18:46:33.382Z] ---> Running in 6bcbd5244dbe [2023-11-01T18:46:33.642Z] 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 [2023-11-01T18:46:51.830Z] Removing intermediate container 6bcbd5244dbe [2023-11-01T18:46:51.830Z] ---> dba78128f4bc [2023-11-01T18:46:51.830Z] Step 11/23 : FROM alpine:3.18 [2023-11-01T18:46:51.830Z] 3.18: Pulling from library/alpine [2023-11-01T18:46:51.830Z] 96526aa774ef: Pulling fs layer [2023-11-01T18:46:52.396Z] 96526aa774ef: Verifying Checksum [2023-11-01T18:46:52.397Z] 96526aa774ef: Download complete [2023-11-01T18:46:52.397Z] 96526aa774ef: Pull complete [2023-11-01T18:46:52.397Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T18:46:52.397Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T18:46:52.397Z] ---> 8ca4688f4f35 [2023-11-01T18:46:52.397Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-01T18:46:52.656Z] ---> Running in b8088d454857 [2023-11-01T18:46:52.656Z] Removing intermediate container b8088d454857 [2023-11-01T18:46:52.656Z] ---> 06c211ad3e26 [2023-11-01T18:46:52.656Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-01T18:46:52.656Z] ---> Running in a45aac2d80d0 [2023-11-01T18:46:52.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T18:46:52.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T18:46:53.174Z] OK: 7 MiB in 15 packages [2023-11-01T18:46:53.432Z] Removing intermediate container a45aac2d80d0 [2023-11-01T18:46:53.432Z] ---> 362862ca1af0 [2023-11-01T18:46:53.432Z] Step 14/23 : WORKDIR / [2023-11-01T18:46:53.432Z] ---> Running in 25db41e242b6 [2023-11-01T18:46:53.690Z] Removing intermediate container 25db41e242b6 [2023-11-01T18:46:53.690Z] ---> 7bc17b188bbc [2023-11-01T18:46:53.690Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-01T18:46:53.690Z] ---> a19b8eecfacf [2023-11-01T18:46:53.690Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-01T18:46:54.627Z] ---> 2ff3bc1d4110 [2023-11-01T18:46:54.627Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-01T18:46:54.627Z] ---> 95f4aa3ded44 [2023-11-01T18:46:54.627Z] Step 18/23 : EXPOSE 59999 [2023-11-01T18:46:54.627Z] ---> Running in a59d7242b06b [2023-11-01T18:46:54.886Z] Removing intermediate container a59d7242b06b [2023-11-01T18:46:54.886Z] ---> 1e06c8ef8766 [2023-11-01T18:46:54.886Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-01T18:46:54.886Z] ---> Running in 617f82245194 [2023-11-01T18:46:54.886Z] Removing intermediate container 617f82245194 [2023-11-01T18:46:54.886Z] ---> 22f837edb4b0 [2023-11-01T18:46:54.886Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T18:46:54.886Z] ---> Running in 7ab490277570 [2023-11-01T18:46:54.886Z] Removing intermediate container 7ab490277570 [2023-11-01T18:46:54.886Z] ---> bb0399bbad3d [2023-11-01T18:46:54.886Z] Step 21/23 : LABEL arch=amd64 [2023-11-01T18:46:54.886Z] ---> Running in 2cfe101d38a8 [2023-11-01T18:46:55.145Z] Removing intermediate container 2cfe101d38a8 [2023-11-01T18:46:55.145Z] ---> a85678f9f7a2 [2023-11-01T18:46:55.145Z] Step 22/23 : LABEL git_sha=21a4d738caab015ff01cf08b2b0ce696fbf79d7d [2023-11-01T18:46:55.145Z] ---> Running in 188daa2fadf1 [2023-11-01T18:46:55.145Z] Removing intermediate container 188daa2fadf1 [2023-11-01T18:46:55.145Z] ---> 3662df807c6b [2023-11-01T18:46:55.145Z] Step 23/23 : LABEL version=0.0.0 [2023-11-01T18:46:55.145Z] ---> Running in 7bcd6b76236e [2023-11-01T18:46:55.410Z] Removing intermediate container 7bcd6b76236e [2023-11-01T18:46:55.410Z] ---> b5323fabb38c [2023-11-01T18:46:55.410Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T18:46:55.410Z] Successfully built b5323fabb38c [2023-11-01T18:46:55.410Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:46:55.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T18:46:55.832Z] [2023-11-01T18:46:55.832Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:46:56.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T18:46:56.130Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-01T18:46:56.130Z] 5eb5b503b376: Pulling fs layer [2023-11-01T18:46:56.130Z] 5c69ac0246d0: Pulling fs layer [2023-11-01T18:46:56.130Z] ec43610c2a17: Pulling fs layer [2023-11-01T18:46:56.130Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-01T18:46:56.130Z] 33b1e0a273af: Pulling fs layer [2023-11-01T18:46:56.130Z] 5d3b04190fa2: Pulling fs layer [2023-11-01T18:46:56.130Z] 2f39f015ded8: Pulling fs layer [2023-11-01T18:46:56.130Z] 33b1e0a273af: Waiting [2023-11-01T18:46:56.130Z] 5d3b04190fa2: Waiting [2023-11-01T18:46:56.130Z] 2f39f015ded8: Waiting [2023-11-01T18:46:56.130Z] 3a2ae6a8a46f: Waiting [2023-11-01T18:46:56.130Z] 5c69ac0246d0: Download complete [2023-11-01T18:46:56.130Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-01T18:46:56.130Z] 3a2ae6a8a46f: Download complete [2023-11-01T18:46:56.388Z] 33b1e0a273af: Verifying Checksum [2023-11-01T18:46:56.388Z] 33b1e0a273af: Download complete [2023-11-01T18:46:56.388Z] 5d3b04190fa2: Verifying Checksum [2023-11-01T18:46:56.388Z] 5d3b04190fa2: Download complete [2023-11-01T18:46:56.388Z] ec43610c2a17: Verifying Checksum [2023-11-01T18:46:56.388Z] ec43610c2a17: Download complete [2023-11-01T18:46:56.388Z] 5eb5b503b376: Download complete [2023-11-01T18:46:56.954Z] 2f39f015ded8: Download complete [2023-11-01T18:46:57.520Z] 5eb5b503b376: Pull complete [2023-11-01T18:46:57.778Z] 5c69ac0246d0: Pull complete [2023-11-01T18:46:58.036Z] ec43610c2a17: Pull complete [2023-11-01T18:46:58.036Z] 3a2ae6a8a46f: Pull complete [2023-11-01T18:46:58.294Z] 33b1e0a273af: Pull complete [2023-11-01T18:46:58.295Z] 5d3b04190fa2: Pull complete [2023-11-01T18:47:02.483Z] 2f39f015ded8: Pull complete [2023-11-01T18:47:02.483Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-01T18:47:02.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T18:47:02.483Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T18:47:02.566Z] prd-ubuntu20.04-docker-8c-8g-16265 does not seem to be running inside a container [2023-11-01T18:47:02.597Z] $ 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-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-01T18:47:07.416Z] $ docker top ca67522397eeedc234a4d78d7c00ce5c26305cd681ec9fd361e7464b0ca41ae9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T18:47:07.790Z] ---> job-cost.sh [2023-11-01T18:47:07.790Z] lf-activate-venv: SKIPPING [2023-11-01T18:47:07.790Z] INFO: No Stack... [2023-11-01T18:47:08.050Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T18:47:08.616Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T18:47:08.906Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives/cost.csv [2023-11-01T18:47:08.906Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T18:47:08.920Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1531-3-stack-cost] [2023-11-01T18:47:08.926Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-3-stack-cost] did not exist. Created. [2023-11-01T18:47:08.926Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1531-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T18:47:09.232Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-01T18:47:09.274Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T18:47:09.281Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T18:47:09.297Z] $ docker stop --time=1 ca67522397eeedc234a4d78d7c00ce5c26305cd681ec9fd361e7464b0ca41ae9 [2023-11-01T18:47:10.481Z] $ docker rm -f --volumes ca67522397eeedc234a4d78d7c00ce5c26305cd681ec9fd361e7464b0ca41ae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-01T18:49:05.016Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16266 in /w/workspace/gexfoundry_device-sdk-go_PR-1531 [Pipeline] { [Pipeline] ws [2023-11-01T18:49:05.031Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-11-01T18:49:05.097Z] The recommended git tool is: git [2023-11-01T18:49:10.059Z] using credential edgex-jenkins-ssh [2023-11-01T18:49:10.078Z] Cloning the remote Git repository [2023-11-01T18:49:10.134Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T18:49:10.238Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-11-01T18:49:10.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T18:49:10.390Z] > git --version # timeout=10 [2023-11-01T18:49:10.411Z] > git --version # 'git version 2.25.1' [2023-11-01T18:49:10.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T18:49:10.569Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T18:49:12.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-01T18:49:12.325Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T18:49:13.286Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-01T18:49:13.329Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T18:49:13.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T18:49:13.344Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1531/head:refs/remotes/origin/PR-1531 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-01T18:49:13.927Z] Merging remotes/origin/main commit 487ca8dbaf5a7983b4dd4e8681142a99360f28bf into PR head commit e29fde07f71cd63801829b35788a0c73dd6f5eb6 [2023-11-01T18:49:14.301Z] Merge succeeded, producing e6fcfbb1c5cf0e9505504e65c753802c921f2a90 [2023-11-01T18:49:14.302Z] Checking out Revision e6fcfbb1c5cf0e9505504e65c753802c921f2a90 (PR-1531) [2023-11-01T18:49:13.947Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T18:49:14.028Z] > git checkout -f e29fde07f71cd63801829b35788a0c73dd6f5eb6 # timeout=10 [2023-11-01T18:49:14.139Z] > git remote # timeout=10 [2023-11-01T18:49:14.158Z] > git config --get remote.origin.url # timeout=10 [2023-11-01T18:49:14.174Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T18:49:14.188Z] > git merge 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 [2023-11-01T18:49:14.282Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-01T18:49:14.310Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T18:49:14.334Z] > git checkout -f e6fcfbb1c5cf0e9505504e65c753802c921f2a90 # timeout=10 [2023-11-01T18:49:17.882Z] Commit message: "Merge commit '487ca8dbaf5a7983b4dd4e8681142a99360f28bf' into HEAD" [2023-11-01T18:49:17.893Z] > git rev-list --no-walk e29fde07f71cd63801829b35788a0c73dd6f5eb6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T18:49:19.062Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-01T18:49:19.062Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T18:49:19.062Z] Dload Upload Total Spent Left Speed [2023-11-01T18:49:19.062Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2023-11-01T18:49:19.785Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-01T18:49:20.121Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-01T18:49:20.121Z] + sudo tee /etc/docker/daemon.new [2023-11-01T18:49:20.121Z] { [2023-11-01T18:49:20.121Z] "registry-mirrors": [ [2023-11-01T18:49:20.121Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-01T18:49:20.121Z] ], [2023-11-01T18:49:20.121Z] "bip": "10.250.0.254/24", [2023-11-01T18:49:20.121Z] "hosts": [ [2023-11-01T18:49:20.121Z] "tcp://0.0.0.0:5555", [2023-11-01T18:49:20.121Z] "unix:///var/run/docker.sock" [2023-11-01T18:49:20.121Z] ], [2023-11-01T18:49:20.121Z] "mtu": 1458, [2023-11-01T18:49:20.121Z] "selinux-enabled": true, [2023-11-01T18:49:20.121Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-01T18:49:20.121Z] } [Pipeline] sh [2023-11-01T18:49:20.490Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-01T18:49:20.820Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T18:49:39.105Z] provisioning config files... [2023-11-01T18:49:39.130Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config16349421738674012799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T18:49:39.488Z] ---> docker-login.sh [2023-11-01T18:49:39.488Z] nexus3.edgexfoundry.org:10001 [2023-11-01T18:49:39.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:49:40.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:49:40.358Z] Configure a credential helper to remove this warning. See [2023-11-01T18:49:40.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:49:40.358Z] [2023-11-01T18:49:40.358Z] Login Succeeded [2023-11-01T18:49:40.358Z] nexus3.edgexfoundry.org:10002 [2023-11-01T18:49:40.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:49:40.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:49:40.631Z] Configure a credential helper to remove this warning. See [2023-11-01T18:49:40.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:49:40.631Z] [2023-11-01T18:49:40.631Z] Login Succeeded [2023-11-01T18:49:40.631Z] nexus3.edgexfoundry.org:10003 [2023-11-01T18:49:40.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:49:40.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:49:40.900Z] Configure a credential helper to remove this warning. See [2023-11-01T18:49:40.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:49:40.900Z] [2023-11-01T18:49:40.900Z] Login Succeeded [2023-11-01T18:49:40.900Z] nexus3.edgexfoundry.org:10004 [2023-11-01T18:49:41.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:49:41.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:49:41.447Z] Configure a credential helper to remove this warning. See [2023-11-01T18:49:41.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:49:41.447Z] [2023-11-01T18:49:41.447Z] Login Succeeded [2023-11-01T18:49:41.447Z] docker.io [2023-11-01T18:49:41.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T18:49:42.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T18:49:42.037Z] Configure a credential helper to remove this warning. See [2023-11-01T18:49:42.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T18:49:42.037Z] [2023-11-01T18:49:42.037Z] Login Succeeded [2023-11-01T18:49:42.037Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T18:49:42.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T18:49:42.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T18:49:42.356Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T18:49:42.372Z] ========================================================= [2023-11-01T18:49:42.372Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-01T18:49:42.372Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:49:42.724Z] + 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 . [2023-11-01T18:49:43.324Z] Sending build context to Docker daemon 6.036MB [2023-11-01T18:49:43.324Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T18:49:43.324Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-01T18:49:46.690Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-01T18:49:46.690Z] 9fda8d8052c6: Pulling fs layer [2023-11-01T18:49:46.690Z] 5d54e960e981: Pulling fs layer [2023-11-01T18:49:46.690Z] c4a7e357bf2a: Pulling fs layer [2023-11-01T18:49:46.690Z] f0e02332f6b5: Pulling fs layer [2023-11-01T18:49:46.690Z] cefa15bbcfad: Pulling fs layer [2023-11-01T18:49:46.690Z] 17808c966233: Pulling fs layer [2023-11-01T18:49:46.690Z] f4c1fc716caa: Pulling fs layer [2023-11-01T18:49:46.690Z] f0e02332f6b5: Waiting [2023-11-01T18:49:46.690Z] cefa15bbcfad: Waiting [2023-11-01T18:49:46.690Z] 17808c966233: Waiting [2023-11-01T18:49:46.690Z] f4c1fc716caa: Waiting [2023-11-01T18:49:46.690Z] 5d54e960e981: Download complete [2023-11-01T18:49:46.690Z] f0e02332f6b5: Verifying Checksum [2023-11-01T18:49:46.690Z] f0e02332f6b5: Download complete [2023-11-01T18:49:46.690Z] cefa15bbcfad: Verifying Checksum [2023-11-01T18:49:46.690Z] cefa15bbcfad: Download complete [2023-11-01T18:49:46.690Z] 9fda8d8052c6: Download complete [2023-11-01T18:49:46.956Z] f4c1fc716caa: Verifying Checksum [2023-11-01T18:49:46.956Z] f4c1fc716caa: Download complete [2023-11-01T18:49:47.226Z] 9fda8d8052c6: Pull complete [2023-11-01T18:49:47.816Z] 5d54e960e981: Pull complete [2023-11-01T18:49:48.404Z] c4a7e357bf2a: Download complete [2023-11-01T18:49:49.367Z] 17808c966233: Verifying Checksum [2023-11-01T18:49:49.367Z] 17808c966233: Download complete [2023-11-01T18:50:01.687Z] c4a7e357bf2a: Pull complete [2023-11-01T18:50:01.687Z] f0e02332f6b5: Pull complete [2023-11-01T18:50:01.687Z] cefa15bbcfad: Pull complete [2023-11-01T18:50:09.900Z] 17808c966233: Pull complete [2023-11-01T18:50:14.159Z] f4c1fc716caa: Pull complete [2023-11-01T18:50:14.159Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-01T18:50:14.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-01T18:50:14.159Z] ---> ea914061e18c [2023-11-01T18:50:14.159Z] Step 3/10 : ARG MAKE=make build [2023-11-01T18:50:14.761Z] ---> Running in 562749ce620a [2023-11-01T18:50:15.356Z] Removing intermediate container 562749ce620a [2023-11-01T18:50:15.356Z] ---> b6ae07991c45 [2023-11-01T18:50:15.356Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-01T18:50:15.356Z] ---> Running in e73e83411609 [2023-11-01T18:50:15.624Z] Removing intermediate container e73e83411609 [2023-11-01T18:50:15.624Z] ---> 0e9c7dd8e838 [2023-11-01T18:50:15.624Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T18:50:15.624Z] ---> Running in c25ed08e2e8b [2023-11-01T18:50:16.211Z] Removing intermediate container c25ed08e2e8b [2023-11-01T18:50:16.211Z] ---> 8db6cab7680a [2023-11-01T18:50:16.211Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-01T18:50:16.211Z] ---> Running in f7733f37eda6 [2023-11-01T18:50:17.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T18:50:17.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T18:50:18.729Z] OK: 266 MiB in 52 packages [2023-11-01T18:50:19.692Z] Removing intermediate container f7733f37eda6 [2023-11-01T18:50:19.692Z] ---> c07a6d3a23cd [2023-11-01T18:50:19.692Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-01T18:50:19.976Z] ---> 95c18074dd65 [2023-11-01T18:50:19.976Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T18:50:20.244Z] ---> Running in f0a8b1ea2fb9 [2023-11-01T18:51:41.871Z] Removing intermediate container f0a8b1ea2fb9 [2023-11-01T18:51:41.871Z] ---> 082fd6987bd8 [2023-11-01T18:51:41.871Z] Step 9/10 : COPY . . [2023-11-01T18:51:41.871Z] ---> de1582fe6a34 [2023-11-01T18:51:41.871Z] Step 10/10 : RUN ${MAKE} [2023-11-01T18:51:41.871Z] ---> Running in 027acb0e0750 [2023-11-01T18:51:41.871Z] noop [2023-11-01T18:51:41.871Z] Removing intermediate container 027acb0e0750 [2023-11-01T18:51:41.871Z] ---> 049bd19af44a [2023-11-01T18:51:41.871Z] Successfully built 049bd19af44a [2023-11-01T18:51:41.871Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:51:42.244Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T18:51:42.244Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T18:51:42.502Z] prd-ubuntu20.04-docker-arm64-4c-16g-16266 does not seem to be running inside a container [2023-11-01T18:51:42.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-01T18:51:44.059Z] $ docker top 51d15a4707667c5525380bddc1a1930a3f9e046a7451a19c01481e0db6ca1d66 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T18:51:44.976Z] + go version [2023-11-01T18:51:44.976Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-01T18:51:45.013Z] $ docker stop --time=1 51d15a4707667c5525380bddc1a1930a3f9e046a7451a19c01481e0db6ca1d66 [2023-11-01T18:51:49.720Z] $ docker rm -f --volumes 51d15a4707667c5525380bddc1a1930a3f9e046a7451a19c01481e0db6ca1d66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:51:50.267Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T18:51:50.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T18:51:50.451Z] prd-ubuntu20.04-docker-arm64-4c-16g-16266 does not seem to be running inside a container [2023-11-01T18:51:50.529Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-01T18:51:51.821Z] $ docker top aff4152a22ebadc0060cab7b143764663aca8936ec4ac12708722911db55067c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T18:51:52.662Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-11-01T18:51:53.311Z] + make test [2023-11-01T18:51:53.311Z] go test -race -coverprofile=coverage.out ./... [2023-11-01T18:52:32.220Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-01T18:54:38.948Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-01T18:54:38.948Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-01T18:54:38.948Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-01T18:54:38.948Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-01T18:54:38.948Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-01T18:54:38.948Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.209s coverage: 27.6% of statements [2023-11-01T18:54:47.165Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.262s coverage: 81.5% of statements [2023-11-01T18:54:57.316Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-01T18:54:57.316Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-01T18:54:57.316Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.350s coverage: 86.0% of statements [2023-11-01T18:55:02.674Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-01T18:55:03.771Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.523s coverage: 71.8% of statements [2023-11-01T18:55:07.203Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.255s coverage: 14.4% of statements [2023-11-01T18:55:07.203Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.231s coverage: 45.9% of statements [2023-11-01T18:55:07.802Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-01T18:55:07.802Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-01T18:55:09.219Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.443s coverage: 68.5% of statements [2023-11-01T18:55:12.575Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.443s coverage: 89.2% of statements [2023-11-01T18:55:12.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-01T18:55:14.260Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.244s coverage: 5.5% of statements [2023-11-01T18:55:14.845Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-01T18:55:14.845Z] GO111MODULE=on go vet ./... [2023-11-01T18:57:21.538Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T18:57:21.538Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T18:57:21.538Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T18:57:21.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T18:57:21.574Z] $ docker stop --time=1 aff4152a22ebadc0060cab7b143764663aca8936ec4ac12708722911db55067c [2023-11-01T18:57:26.470Z] $ docker rm -f --volumes aff4152a22ebadc0060cab7b143764663aca8936ec4ac12708722911db55067c [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T18:57:28.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T18:57:28.274Z] Warning: overwriting stash ‘coverage-report’ [2023-11-01T18:57:28.922Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T18:57:29.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T18:57:29.617Z] + ls -al . [2023-11-01T18:57:29.617Z] total 304 [2023-11-01T18:57:29.617Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 18:51 . [2023-11-01T18:57:29.617Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 18:49 .. [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 18:49 .dockerignore [2023-11-01T18:57:29.617Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 18:49 .git [2023-11-01T18:57:29.617Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 18:49 .github [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 18:49 .gitignore [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 18:49 .golangci.yml [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 1 18:49 CHANGELOG.md [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 18:49 GOVERNANCE.md [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 18:49 Jenkinsfile [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 18:49 LICENSE [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 18:49 Makefile [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 18:49 OWNERS.md [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 18:49 README.md [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 18:44 VERSION [2023-11-01T18:57:29.617Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 18:49 bin [2023-11-01T18:57:29.617Z] -rw-r--r-- 1 jenkins jenkins 122155 Nov 1 18:55 coverage.out [2023-11-01T18:57:29.617Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 18:49 example [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 18:49 go.mod [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 18:49 go.sum [2023-11-01T18:57:29.617Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 18:49 internal [2023-11-01T18:57:29.617Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 18:49 openapi [2023-11-01T18:57:29.617Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 18:49 pkg [2023-11-01T18:57:29.617Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 18:49 snap [2023-11-01T18:57:29.617Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 18:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:57:29.957Z] + 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=e6fcfbb1c5cf0e9505504e65c753802c921f2a90 --label arch=arm64 --label version=0.0.0 . [2023-11-01T18:57:30.544Z] Sending build context to Docker daemon 6.159MB [2023-11-01T18:57:30.545Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T18:57:30.545Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-01T18:57:30.545Z] ---> 049bd19af44a [2023-11-01T18:57:30.545Z] Step 3/23 : ARG MAKE=make build [2023-11-01T18:57:30.545Z] ---> Running in 9bb57c4ad886 [2023-11-01T18:57:30.817Z] Removing intermediate container 9bb57c4ad886 [2023-11-01T18:57:30.817Z] ---> 9e4e27fa2a03 [2023-11-01T18:57:30.817Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-01T18:57:31.084Z] ---> Running in 7c8b378a7c0f [2023-11-01T18:57:31.353Z] Removing intermediate container 7c8b378a7c0f [2023-11-01T18:57:31.353Z] ---> 1d7c063c7298 [2023-11-01T18:57:31.353Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T18:57:31.353Z] ---> Running in f0d7d67ff358 [2023-11-01T18:57:31.621Z] Removing intermediate container f0d7d67ff358 [2023-11-01T18:57:31.621Z] ---> 3331c16855b7 [2023-11-01T18:57:31.621Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-01T18:57:31.892Z] ---> Running in 2cba01023ca5 [2023-11-01T18:57:32.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T18:57:33.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T18:57:34.850Z] OK: 266 MiB in 52 packages [2023-11-01T18:57:35.438Z] Removing intermediate container 2cba01023ca5 [2023-11-01T18:57:35.438Z] ---> c3abe52464ce [2023-11-01T18:57:35.438Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-01T18:57:38.784Z] ---> 5ce7b181f335 [2023-11-01T18:57:38.784Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T18:57:38.784Z] ---> Running in 05187f015b80 [2023-11-01T18:57:40.728Z] Removing intermediate container 05187f015b80 [2023-11-01T18:57:40.728Z] ---> 67c7cd0a3d4e [2023-11-01T18:57:40.728Z] Step 9/23 : COPY . . [2023-11-01T18:57:42.135Z] ---> 1b7458c1058e [2023-11-01T18:57:42.135Z] Step 10/23 : RUN ${MAKE} [2023-11-01T18:57:42.135Z] ---> Running in cad68ede19c3 [2023-11-01T18:57:43.095Z] 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 [2023-11-01T18:59:49.752Z] Removing intermediate container cad68ede19c3 [2023-11-01T18:59:49.752Z] ---> 87dc573ee6a9 [2023-11-01T18:59:49.752Z] Step 11/23 : FROM alpine:3.18 [2023-11-01T18:59:49.752Z] 3.18: Pulling from library/alpine [2023-11-01T18:59:49.752Z] 579b34f0a95b: Pulling fs layer [2023-11-01T18:59:49.752Z] 579b34f0a95b: Verifying Checksum [2023-11-01T18:59:49.752Z] 579b34f0a95b: Download complete [2023-11-01T18:59:49.752Z] 579b34f0a95b: Pull complete [2023-11-01T18:59:49.752Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T18:59:49.752Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T18:59:49.752Z] ---> 3cc203321400 [2023-11-01T18:59:49.752Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-01T18:59:49.752Z] ---> Running in 592c30f000c1 [2023-11-01T18:59:49.752Z] Removing intermediate container 592c30f000c1 [2023-11-01T18:59:49.752Z] ---> 6cba11272683 [2023-11-01T18:59:49.752Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-01T18:59:49.752Z] ---> Running in a4a979e959bb [2023-11-01T18:59:49.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T18:59:49.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T18:59:49.753Z] OK: 8 MiB in 15 packages [2023-11-01T18:59:49.753Z] Removing intermediate container a4a979e959bb [2023-11-01T18:59:49.753Z] ---> 056d9f85b05f [2023-11-01T18:59:49.753Z] Step 14/23 : WORKDIR / [2023-11-01T18:59:49.753Z] ---> Running in 7025aa24e980 [2023-11-01T18:59:49.753Z] Removing intermediate container 7025aa24e980 [2023-11-01T18:59:49.753Z] ---> 425965cde613 [2023-11-01T18:59:49.753Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-01T18:59:49.753Z] ---> 0fba6a9786cb [2023-11-01T18:59:49.753Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-01T18:59:49.753Z] ---> 65f649e9816a [2023-11-01T18:59:49.753Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-01T18:59:49.753Z] ---> fbf52bb8a29b [2023-11-01T18:59:49.753Z] Step 18/23 : EXPOSE 59999 [2023-11-01T18:59:49.753Z] ---> Running in 4dd9c6859bf4 [2023-11-01T18:59:49.753Z] Removing intermediate container 4dd9c6859bf4 [2023-11-01T18:59:49.753Z] ---> 605ddfba30de [2023-11-01T18:59:49.753Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-01T18:59:49.753Z] ---> Running in fbb39dfa440b [2023-11-01T18:59:49.753Z] Removing intermediate container fbb39dfa440b [2023-11-01T18:59:49.753Z] ---> 97fabb2886e2 [2023-11-01T18:59:49.753Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T18:59:49.753Z] ---> Running in d91fe5d19c74 [2023-11-01T18:59:49.753Z] Removing intermediate container d91fe5d19c74 [2023-11-01T18:59:49.753Z] ---> 8b8731919a7a [2023-11-01T18:59:49.753Z] Step 21/23 : LABEL arch=arm64 [2023-11-01T18:59:49.753Z] ---> Running in b266d9161880 [2023-11-01T18:59:50.020Z] Removing intermediate container b266d9161880 [2023-11-01T18:59:50.020Z] ---> a3f9238968b5 [2023-11-01T18:59:50.020Z] Step 22/23 : LABEL git_sha=e6fcfbb1c5cf0e9505504e65c753802c921f2a90 [2023-11-01T18:59:50.295Z] ---> Running in 8b8db85b35ff [2023-11-01T18:59:50.563Z] Removing intermediate container 8b8db85b35ff [2023-11-01T18:59:50.563Z] ---> 47c0089cf8fa [2023-11-01T18:59:50.563Z] Step 23/23 : LABEL version=0.0.0 [2023-11-01T18:59:50.563Z] ---> Running in d215a66d04d5 [2023-11-01T18:59:50.986Z] Removing intermediate container d215a66d04d5 [2023-11-01T18:59:50.986Z] ---> ca82ad55c9a8 [2023-11-01T18:59:50.986Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T18:59:50.986Z] Successfully built ca82ad55c9a8 [2023-11-01T18:59:50.986Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:59:51.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T18:59:51.418Z] [2023-11-01T18:59:51.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T18:59:51.750Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T18:59:51.750Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-01T18:59:51.750Z] 8998bd30e6a1: Pulling fs layer [2023-11-01T18:59:51.750Z] 04944245beec: Pulling fs layer [2023-11-01T18:59:51.750Z] 699f458cf7ca: Pulling fs layer [2023-11-01T18:59:51.750Z] 765212b225bb: Pulling fs layer [2023-11-01T18:59:51.750Z] f23df028b6ca: Pulling fs layer [2023-11-01T18:59:51.750Z] d65c8cfc05b1: Pulling fs layer [2023-11-01T18:59:51.750Z] 2437ff75d9bd: Pulling fs layer [2023-11-01T18:59:51.750Z] f23df028b6ca: Waiting [2023-11-01T18:59:51.750Z] d65c8cfc05b1: Waiting [2023-11-01T18:59:51.750Z] 2437ff75d9bd: Waiting [2023-11-01T18:59:51.750Z] 765212b225bb: Waiting [2023-11-01T18:59:52.020Z] 04944245beec: Verifying Checksum [2023-11-01T18:59:52.020Z] 04944245beec: Download complete [2023-11-01T18:59:52.020Z] 765212b225bb: Verifying Checksum [2023-11-01T18:59:52.020Z] 765212b225bb: Download complete [2023-11-01T18:59:52.020Z] f23df028b6ca: Verifying Checksum [2023-11-01T18:59:52.020Z] f23df028b6ca: Download complete [2023-11-01T18:59:52.020Z] d65c8cfc05b1: Verifying Checksum [2023-11-01T18:59:52.020Z] d65c8cfc05b1: Download complete [2023-11-01T18:59:52.292Z] 699f458cf7ca: Verifying Checksum [2023-11-01T18:59:52.292Z] 699f458cf7ca: Download complete [2023-11-01T18:59:52.564Z] 8998bd30e6a1: Verifying Checksum [2023-11-01T18:59:52.564Z] 8998bd30e6a1: Download complete [2023-11-01T18:59:55.157Z] 2437ff75d9bd: Verifying Checksum [2023-11-01T18:59:55.157Z] 2437ff75d9bd: Download complete [2023-11-01T18:59:57.750Z] 8998bd30e6a1: Pull complete [2023-11-01T18:59:58.018Z] 04944245beec: Pull complete [2023-11-01T18:59:59.966Z] 699f458cf7ca: Pull complete [2023-11-01T18:59:59.966Z] 765212b225bb: Pull complete [2023-11-01T19:00:00.929Z] f23df028b6ca: Pull complete [2023-11-01T19:00:00.929Z] d65c8cfc05b1: Pull complete [2023-11-01T19:00:19.158Z] 2437ff75d9bd: Pull complete [2023-11-01T19:00:19.158Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-01T19:00:19.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T19:00:19.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T19:00:19.351Z] prd-ubuntu20.04-docker-arm64-4c-16g-16266 does not seem to be running inside a container [2023-11-01T19:00:19.421Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-01T19:00:22.491Z] $ docker top 07d3f28357d849f3ce114b1953a2737b783e759d4d192860d37785f07f9fb1d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T19:00:23.376Z] ---> job-cost.sh [2023-11-01T19:00:23.376Z] lf-activate-venv: SKIPPING [2023-11-01T19:00:23.376Z] INFO: No Stack... [2023-11-01T19:00:23.962Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-01T19:00:24.936Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T19:00:25.577Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-11-01T19:00:25.577Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T19:00:25.649Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1531-3-stack-cost] [2023-11-01T19:00:25.656Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-3-stack-cost] did not exist. Created. [2023-11-01T19:00:25.656Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1531-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T19:00:26.319Z] /w/workspace/device-sdk-go/3@tmp/durable-4f66403e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-01T19:00:26.973Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-01T19:00:26.995Z] Warning: overwriting stash ‘stack-cost’ [2023-11-01T19:00:27.094Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T19:00:27.102Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T19:00:27.123Z] $ docker stop --time=1 07d3f28357d849f3ce114b1953a2737b783e759d4d192860d37785f07f9fb1d8 [2023-11-01T19:00:28.682Z] $ docker rm -f --volumes 07d3f28357d849f3ce114b1953a2737b783e759d4d192860d37785f07f9fb1d8 [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 [2023-11-01T19:00:29.097Z] provisioning config files... [2023-11-01T19:00:29.104Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config12416368815462276042tmp [Pipeline] { [Pipeline] sh [2023-11-01T19:00:29.393Z] + set +x [2023-11-01T19:00:29.393Z] + + bashcurl -s -s -- https://codecov.io/bash [2023-11-01T19:00:29.393Z] [2023-11-01T19:00:29.393Z] [2023-11-01T19:00:29.393Z] _____ _ [2023-11-01T19:00:29.393Z] / ____| | | [2023-11-01T19:00:29.393Z] | | ___ __| | ___ ___ _____ __ [2023-11-01T19:00:29.393Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-01T19:00:29.393Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-01T19:00:29.393Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-01T19:00:29.393Z] Bash-1.0.6 [2023-11-01T19:00:29.393Z] [2023-11-01T19:00:29.393Z] [2023-11-01T19:00:29.393Z] ==> git version 2.25.1 found [2023-11-01T19:00:29.393Z] ==> 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 [2023-11-01T19:00:29.393Z] Release-Date: 2020-01-08 [2023-11-01T19:00:29.393Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-01T19:00:29.393Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-01T19:00:29.393Z] ==> Jenkins CI detected. [2023-11-01T19:00:29.393Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1531 [2023-11-01T19:00:29.393Z] project root: . [2023-11-01T19:00:29.393Z] --> token set from env [2023-11-01T19:00:29.652Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-01T19:00:29.652Z] ==> Running gcov in . (disable via -X gcov) [2023-11-01T19:00:29.652Z] ==> Python coveragepy not found [2023-11-01T19:00:29.652Z] ==> Searching for coverage reports in: [2023-11-01T19:00:29.652Z] + . [2023-11-01T19:00:29.652Z] -> Found 1 reports [2023-11-01T19:00:29.652Z] ==> Detecting git/mercurial file structure [2023-11-01T19:00:29.652Z] ==> Reading reports [2023-11-01T19:00:29.652Z] + ./coverage.out bytes=122155 [2023-11-01T19:00:29.652Z] ==> Appending adjustments [2023-11-01T19:00:29.652Z] https://docs.codecov.io/docs/fixing-reports [2023-11-01T19:00:29.912Z] + Found adjustments [2023-11-01T19:00:29.912Z] ==> Gzipping contents [2023-11-01T19:00:29.912Z] 20K /tmp/codecov.PFxQkb.gz [2023-11-01T19:00:29.912Z] ==> Uploading reports [2023-11-01T19:00:29.912Z] url: https://codecov.io [2023-11-01T19:00:29.912Z] query: branch=PR-1531&commit=21a4d738caab015ff01cf08b2b0ce696fbf79d7d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1531%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1531&job=&cmd_args= [2023-11-01T19:00:29.912Z] -> Pinging Codecov [2023-11-01T19:00:29.912Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1531&commit=21a4d738caab015ff01cf08b2b0ce696fbf79d7d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1531%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1531&job=&cmd_args= [2023-11-01T19:00:30.171Z] -> Uploading to [2023-11-01T19:00:30.171Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-01/7E55EF52A471D76F132DFD9A03CDDE97/21a4d738caab015ff01cf08b2b0ce696fbf79d7d/7c62b12c-5c12-4bf6-b430-88a2ad78b962.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T190029Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=afe11560b99659fd4a6bd66f495680c72a207c113730a96b09d6fbaabaf66743 [2023-11-01T19:00:30.171Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T19:00:30.171Z] Dload Upload Total Spent Left Speed [2023-11-01T19:00:30.431Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16753 0 0 100 16753 0 75805 --:--:-- --:--:-- --:--:-- 75805 100 16753 0 0 100 16753 0 63218 --:--:-- --:--:-- --:--:-- 62981 [2023-11-01T19:00:30.431Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/21a4d738caab015ff01cf08b2b0ce696fbf79d7d [Pipeline] } [2023-11-01T19:00:30.439Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-01T19:00:31.205Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives ] [2023-11-01T19:00:31.205Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives [2023-11-01T19:00:31.205Z] total 16 [2023-11-01T19:00:31.205Z] drwxr-xr-x 3 root root 4096 Nov 1 18:47 . [2023-11-01T19:00:31.205Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 18:47 .. [2023-11-01T19:00:31.205Z] drwxr-xr-x 2 root root 4096 Nov 1 18:47 cost [2023-11-01T19:00:31.205Z] -rw-r--r-- 1 root root 86 Nov 1 18:47 cost.csv [2023-11-01T19:00:31.205Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives [2023-11-01T19:00:31.205Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives [2023-11-01T19:00:31.205Z] total 16 [2023-11-01T19:00:31.205Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 18:47 . [2023-11-01T19:00:31.205Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 18:47 .. [2023-11-01T19:00:31.205Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 18:47 cost [2023-11-01T19:00:31.205Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 1 18:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-01T19:00:31.498Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T19:00:32.364Z] ---> package-listing.sh [2023-11-01T19:00:32.364Z] ++ facter osfamily [2023-11-01T19:00:32.364Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-01T19:00:32.364Z] + OS_FAMILY=debian [2023-11-01T19:00:32.364Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1531 [2023-11-01T19:00:32.364Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-01T19:00:32.364Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-01T19:00:32.364Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-01T19:00:32.364Z] + PACKAGES=/tmp/packages_start.txt [2023-11-01T19:00:32.364Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1531 ']' [2023-11-01T19:00:32.364Z] + PACKAGES=/tmp/packages_end.txt [2023-11-01T19:00:32.364Z] + case "${OS_FAMILY}" in [2023-11-01T19:00:32.364Z] + dpkg -l [2023-11-01T19:00:32.364Z] + grep '^ii' [2023-11-01T19:00:32.624Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-01T19:00:32.624Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-01T19:00:32.624Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-01T19:00:32.624Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1531 ']' [2023-11-01T19:00:32.624Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives/ [2023-11-01T19:00:32.624Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives/ [Pipeline] echo [2023-11-01T19:00:32.635Z] 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-1531/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-01T19:00:32.913Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T19:00:33.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T19:00:33.475Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T19:00:33.543Z] prd-ubuntu20.04-docker-8c-8g-16265 does not seem to be running inside a container [2023-11-01T19:00:33.573Z] $ 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-1531/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-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@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 [2023-11-01T19:00:33.776Z] $ docker top 755d5987aa12c0df5cd6105c305ea89f145ba456afa5d5a27b919cde76ce0644 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T19:00:34.119Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-01T19:00:34.406Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-01T19:00:34.693Z] + ls /var/log/sa-host [2023-11-01T19:00:34.693Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T19:00:34.868Z] provisioning config files... [2023-11-01T19:00:34.878Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config2128186470096426985tmp [Pipeline] { [Pipeline] echo [2023-11-01T19:00:34.891Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T19:00:35.174Z] ---> create-netrc.sh [Pipeline] } [2023-11-01T19:00:35.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-01T19:00:39.323Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-01T19:00:39.331Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T19:00:42.864Z] ---> sudo-logs.sh [2023-11-01T19:00:42.864Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-01T19:00:42.896Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T19:00:45.305Z] ---> job-cost.sh [2023-11-01T19:00:45.305Z] lf-activate-venv: SKIPPING [2023-11-01T19:00:45.305Z] DEBUG: total: 0.2199999988079071 [2023-11-01T19:00:45.305Z] INFO: Retrieving Stack Cost... [2023-11-01T19:00:45.305Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T19:00:46.716Z] INFO: Archiving Costs [Pipeline] echo [2023-11-01T19:00:46.726Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T19:00:47.016Z] ---> logs-deploy.sh [2023-11-01T19:00:47.016Z] lf-activate-venv: SKIPPING [2023-11-01T19:00:47.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1531/3 [2023-11-01T19:00:47.016Z] INFO: archiving workspace using pattern(s): [2023-11-01T19:00:47.954Z] Archives upload complete. [2023-11-01T19:00:47.954Z] INFO: archiving logs to Nexus