Pull request #1481 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e71c56b45bee73109274550ba5eeab54439fb3c9+1f24b0a1909b23f42318563b740559601ceacb70 (228c5dbce4a05c6053b0f71b5b844ea9a09ee4c2) 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-ssh6241024797578950509.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh2341340255662714161.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1481/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1481/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6566794439206628117.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1481/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6583308738484255375.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11229978217612498940.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1481/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1481/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13882549976089063856.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1557 in /w/workspace/gexfoundry_device-sdk-go_PR-1481 [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-1481 # 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/1481/head:refs/remotes/origin/PR-1481 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1f24b0a1909b23f42318563b740559601ceacb70 into PR head commit e71c56b45bee73109274550ba5eeab54439fb3c9 Merge succeeded, producing d9b14ca86229f970d98c66e720754452139c6037 Checking out Revision d9b14ca86229f970d98c66e720754452139c6037 (PR-1481) > git config core.sparsecheckout # timeout=10 > git checkout -f e71c56b45bee73109274550ba5eeab54439fb3c9 # 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 1f24b0a1909b23f42318563b740559601ceacb70 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d9b14ca86229f970d98c66e720754452139c6037 # timeout=10 Commit message: "Merge commit '1f24b0a1909b23f42318563b740559601ceacb70' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-19T18:23:12.799Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-19T18:23:12.973Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-19T18:23:13.185Z] ========================================================= [2023-07-19T18:23:13.185Z] EdgeX Global Pipelines Version Info [2023-07-19T18:23:13.185Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:23:13.922Z] ------------------- [2023-07-19T18:23:13.922Z] stable info: [2023-07-19T18:23:13.922Z] ------------------- [2023-07-19T18:23:13.922Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-19T18:23:13.922Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T18:23:13.922Z] Message: update stable to v1.0.250 [2023-07-19T18:23:14.496Z] ------------------- [2023-07-19T18:23:14.496Z] experimental info: [2023-07-19T18:23:14.496Z] ------------------- [2023-07-19T18:23:14.496Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-19T18:23:14.496Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T18:23:14.496Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-19T18:23:14.785Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-19T18:23:14.824Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-19T18:23:14.865Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-19T18:23:14.908Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-19T18:23:14.948Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-19T18:23:14.988Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-19T18:23:15.028Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-19T18:23:15.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-19T18:23:15.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-19T18:23:15.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-19T18:23:15.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-19T18:23:15.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-19T18:23:15.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-19T18:23:15.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-19T18:23:15.587Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-19T18:23:15.624Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T18:23:15.666Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T18:23:15.712Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T18:23:15.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-19T18:23:15.793Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-19T18:23:15.836Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-19T18:23:15.881Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-19T18:23:15.925Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-19T18:23:15.969Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-19T18:23:16.011Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-19T18:23:16.055Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-19T18:23:16.094Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-19T18:23:16.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1481 [Pipeline] echo [2023-07-19T18:23:16.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1481 [Pipeline] echo [2023-07-19T18:23:16.227Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1481 [Pipeline] echo [2023-07-19T18:23:16.268Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d9b14ca86229f970d98c66e720754452139c6037 [Pipeline] echo [2023-07-19T18:23:16.311Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d9b14ca [Pipeline] echo [2023-07-19T18:23:16.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T18:23:16.478Z] provisioning config files... [2023-07-19T18:23:16.493Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp/config2040980220118197227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:23:16.830Z] ---> docker-login.sh [2023-07-19T18:23:16.831Z] nexus3.edgexfoundry.org:10001 [2023-07-19T18:23:17.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:23:17.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:23:17.121Z] Configure a credential helper to remove this warning. See [2023-07-19T18:23:17.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:23:17.121Z] [2023-07-19T18:23:17.121Z] Login Succeeded [2023-07-19T18:23:17.121Z] nexus3.edgexfoundry.org:10002 [2023-07-19T18:23:17.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:23:17.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:23:17.399Z] Configure a credential helper to remove this warning. See [2023-07-19T18:23:17.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:23:17.400Z] [2023-07-19T18:23:17.400Z] Login Succeeded [2023-07-19T18:23:17.400Z] nexus3.edgexfoundry.org:10003 [2023-07-19T18:23:17.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:23:17.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:23:17.400Z] Configure a credential helper to remove this warning. See [2023-07-19T18:23:17.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:23:17.400Z] [2023-07-19T18:23:17.400Z] Login Succeeded [2023-07-19T18:23:17.400Z] nexus3.edgexfoundry.org:10004 [2023-07-19T18:23:17.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:23:17.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:23:17.400Z] Configure a credential helper to remove this warning. See [2023-07-19T18:23:17.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:23:17.400Z] [2023-07-19T18:23:17.400Z] Login Succeeded [2023-07-19T18:23:17.684Z] docker.io [2023-07-19T18:23:17.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:23:17.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:23:17.947Z] Configure a credential helper to remove this warning. See [2023-07-19T18:23:17.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:23:17.947Z] [2023-07-19T18:23:17.947Z] Login Succeeded [2023-07-19T18:23:17.947Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T18:23:17.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-19T18:23:18.941Z] + git rev-list -1 --merges d9b14ca86229f970d98c66e720754452139c6037~1..d9b14ca86229f970d98c66e720754452139c6037 [Pipeline] echo [2023-07-19T18:23:19.000Z] -----------> git rev-list -1 --merges d9b14ca86229f970d98c66e720754452139c6037~1..d9b14ca86229f970d98c66e720754452139c6037 d9b14ca86229f970d98c66e720754452139c6037 [2023-07-19T18:23:19.000Z] d9b14ca86229f970d98c66e720754452139c6037 [false] [Pipeline] sh [2023-07-19T18:23:19.315Z] + git log --format=format:%s -1 d9b14ca86229f970d98c66e720754452139c6037 [Pipeline] echo [2023-07-19T18:23:19.353Z] ========================================================= [2023-07-19T18:23:19.353Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-19T18:23:19.353Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T18:23:19.805Z] + git log --format=format:%s -1 d9b14ca86229f970d98c66e720754452139c6037 [Pipeline] echo [2023-07-19T18:23:19.837Z] [semverPrep] GIT_COMMIT: d9b14ca86229f970d98c66e720754452139c6037, Commit Message: Merge commit '1f24b0a1909b23f42318563b740559601ceacb70' into HEAD [Pipeline] echo [2023-07-19T18:23:19.868Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-19T18:23:20.260Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T18:23:20.260Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-19T18:23:20.260Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-19T18:23:20.260Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-19T18:23:20.260Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-19T18:23:20.260Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-19T18:23:20.260Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:23:20.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:23:20.763Z] [2023-07-19T18:23:20.763Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:23:21.189Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:23:21.189Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-19T18:23:21.189Z] b85a868b505f: Pulling fs layer [2023-07-19T18:23:21.189Z] e2be974225ed: Pulling fs layer [2023-07-19T18:23:21.189Z] 339a4e72a1f5: Pulling fs layer [2023-07-19T18:23:21.189Z] 988bab9f4d93: Pulling fs layer [2023-07-19T18:23:21.189Z] 1469e6f7b9e6: Pulling fs layer [2023-07-19T18:23:21.189Z] eaf3925da568: Pulling fs layer [2023-07-19T18:23:21.189Z] bab4dde63d76: Pulling fs layer [2023-07-19T18:23:21.189Z] bde34c3a00c8: Pulling fs layer [2023-07-19T18:23:21.189Z] b352a97aabf1: Pulling fs layer [2023-07-19T18:23:21.189Z] 4872d77fe225: Pulling fs layer [2023-07-19T18:23:21.189Z] 5851b861e8e6: Pulling fs layer [2023-07-19T18:23:21.189Z] 988bab9f4d93: Waiting [2023-07-19T18:23:21.189Z] 1469e6f7b9e6: Waiting [2023-07-19T18:23:21.189Z] bde34c3a00c8: Waiting [2023-07-19T18:23:21.189Z] 5851b861e8e6: Waiting [2023-07-19T18:23:21.189Z] bab4dde63d76: Waiting [2023-07-19T18:23:21.189Z] b352a97aabf1: Waiting [2023-07-19T18:23:21.189Z] eaf3925da568: Waiting [2023-07-19T18:23:21.189Z] e2be974225ed: Verifying Checksum [2023-07-19T18:23:21.189Z] e2be974225ed: Download complete [2023-07-19T18:23:21.189Z] 988bab9f4d93: Download complete [2023-07-19T18:23:21.189Z] 1469e6f7b9e6: Verifying Checksum [2023-07-19T18:23:21.189Z] 1469e6f7b9e6: Download complete [2023-07-19T18:23:21.449Z] eaf3925da568: Verifying Checksum [2023-07-19T18:23:21.449Z] eaf3925da568: Download complete [2023-07-19T18:23:21.449Z] 339a4e72a1f5: Verifying Checksum [2023-07-19T18:23:21.449Z] 339a4e72a1f5: Download complete [2023-07-19T18:23:21.449Z] bde34c3a00c8: Download complete [2023-07-19T18:23:21.449Z] b352a97aabf1: Verifying Checksum [2023-07-19T18:23:21.449Z] b352a97aabf1: Download complete [2023-07-19T18:23:21.449Z] 4872d77fe225: Verifying Checksum [2023-07-19T18:23:21.449Z] 4872d77fe225: Download complete [2023-07-19T18:23:21.449Z] 5851b861e8e6: Verifying Checksum [2023-07-19T18:23:21.449Z] 5851b861e8e6: Download complete [2023-07-19T18:23:21.449Z] b85a868b505f: Verifying Checksum [2023-07-19T18:23:21.449Z] b85a868b505f: Download complete [2023-07-19T18:23:21.709Z] bab4dde63d76: Verifying Checksum [2023-07-19T18:23:21.709Z] bab4dde63d76: Download complete [2023-07-19T18:23:22.649Z] b85a868b505f: Pull complete [2023-07-19T18:23:22.649Z] e2be974225ed: Pull complete [2023-07-19T18:23:23.217Z] 339a4e72a1f5: Pull complete [2023-07-19T18:23:23.217Z] 988bab9f4d93: Pull complete [2023-07-19T18:23:23.475Z] 1469e6f7b9e6: Pull complete [2023-07-19T18:23:23.475Z] eaf3925da568: Pull complete [2023-07-19T18:23:25.378Z] bab4dde63d76: Pull complete [2023-07-19T18:23:25.378Z] bde34c3a00c8: Pull complete [2023-07-19T18:23:25.378Z] b352a97aabf1: Pull complete [2023-07-19T18:23:25.378Z] 4872d77fe225: Pull complete [2023-07-19T18:23:25.378Z] 5851b861e8e6: Pull complete [2023-07-19T18:23:25.378Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-19T18:23:25.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T18:23:25.378Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:23:25.621Z] prd-ubuntu20.04-docker-8c-8g-1557 does not seem to be running inside a container [2023-07-19T18:23:25.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1481 -v /w/workspace/gexfoundry_device-sdk-go_PR-1481:/w/workspace/gexfoundry_device-sdk-go_PR-1481:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-19T18:23:26.716Z] $ docker top 9bb5f2b7ba27594a52749b358fa604b67853f088c924d47d90cddc7acd7e2aed -eo pid,comm [2023-07-19T18:23:26.762Z] 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-07-19T18:23:26.762Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T18:23:26.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T18:23:26.885Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T18:23:26.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T18:23:26.991Z] $ docker exec 9bb5f2b7ba27594a52749b358fa604b67853f088c924d47d90cddc7acd7e2aed ssh-agent [2023-07-19T18:23:27.076Z] SSH_AUTH_SOCK=/tmp/ssh-6Dmi6wCJUUri/agent.32 [2023-07-19T18:23:27.076Z] SSH_AGENT_PID=38 [2023-07-19T18:23:27.082Z] Running ssh-add (command line suppressed) [2023-07-19T18:23:27.179Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp/private_key_1943456620667649560.key (/w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp/private_key_1943456620667649560.key) [2023-07-19T18:23:27.187Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T18:23:27.514Z] + git tag --points-at HEAD [Pipeline] } [2023-07-19T18:23:27.543Z] $ docker exec --env ******** --env ******** 9bb5f2b7ba27594a52749b358fa604b67853f088c924d47d90cddc7acd7e2aed ssh-agent -k [2023-07-19T18:23:27.630Z] unset SSH_AUTH_SOCK; [2023-07-19T18:23:27.631Z] unset SSH_AGENT_PID; [2023-07-19T18:23:27.631Z] echo Agent pid 38 killed; [2023-07-19T18:23:27.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-19T18:23:27.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T18:23:27.722Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T18:23:27.816Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T18:23:27.822Z] $ docker exec 9bb5f2b7ba27594a52749b358fa604b67853f088c924d47d90cddc7acd7e2aed ssh-agent [2023-07-19T18:23:27.919Z] SSH_AUTH_SOCK=/tmp/ssh-Z3ioJSJrx0yt/agent.70 [2023-07-19T18:23:27.919Z] SSH_AGENT_PID=76 [2023-07-19T18:23:27.924Z] Running ssh-add (command line suppressed) [2023-07-19T18:23:28.025Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp/private_key_6806437094309159364.key (/w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp/private_key_6806437094309159364.key) [2023-07-19T18:23:28.034Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T18:23:28.370Z] + git semver init [2023-07-19T18:23:28.630Z] 2023-07-19 18:23:28,525 [run_init] DEBUG init version:0.0.0 force:False [2023-07-19T18:23:28.630Z] 2023-07-19 18:23:28,526 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1481/.semver [2023-07-19T18:23:28.630Z] 2023-07-19 18:23:28,527 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1481/.semver [2023-07-19T18:23:28.630Z] 2023-07-19 18:23:28,527 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1481/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1481, universal_newlines=False, shell=None, istream=None) [2023-07-19T18:23:29.579Z] 2023-07-19 18:23:29,366 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1481/.git/info/exclude [2023-07-19T18:23:29.579Z] 2023-07-19 18:23:29,367 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1481/.semver/PR-1481 with force:False [2023-07-19T18:23:29.579Z] 2023-07-19 18:23:29,367 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1481/.semver/PR-1481 [2023-07-19T18:23:29.579Z] 2023-07-19 18:23:29,371 [execute] INFO git cat-file --batch-check [2023-07-19T18:23:29.579Z] 2023-07-19 18:23:29,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1481/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T18:23:29.579Z] 2023-07-19 18:23:29,376 [execute] INFO git cat-file --batch [2023-07-19T18:23:29.579Z] 2023-07-19 18:23:29,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1481/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T18:23:29.579Z] 2023-07-19 18:23:29,381 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1481/.semver/PR-1481 [2023-07-19T18:23:29.579Z] 0.0.0 [Pipeline] } [2023-07-19T18:23:29.672Z] $ docker exec --env ******** --env ******** 9bb5f2b7ba27594a52749b358fa604b67853f088c924d47d90cddc7acd7e2aed ssh-agent -k [2023-07-19T18:23:29.771Z] unset SSH_AUTH_SOCK; [2023-07-19T18:23:29.771Z] unset SSH_AGENT_PID; [2023-07-19T18:23:29.771Z] echo Agent pid 76 killed; [2023-07-19T18:23:29.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T18:23:30.210Z] + git semver [Pipeline] } [2023-07-19T18:23:30.497Z] $ docker stop --time=1 9bb5f2b7ba27594a52749b358fa604b67853f088c924d47d90cddc7acd7e2aed [2023-07-19T18:23:31.801Z] $ docker rm -f --volumes 9bb5f2b7ba27594a52749b358fa604b67853f088c924d47d90cddc7acd7e2aed [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T18:23:32.202Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-19T18:23:32.469Z] Stashed 1 file(s) [Pipeline] echo [2023-07-19T18:23:32.486Z] [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-07-19T18:23:33.057Z] provisioning config files... [2023-07-19T18:23:33.067Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp/config16889841055553110941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:23:33.413Z] ---> docker-login.sh [2023-07-19T18:23:33.413Z] nexus3.edgexfoundry.org:10001 [2023-07-19T18:23:33.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:23:33.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:23:33.413Z] Configure a credential helper to remove this warning. See [2023-07-19T18:23:33.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:23:33.413Z] [2023-07-19T18:23:33.413Z] Login Succeeded [2023-07-19T18:23:33.413Z] nexus3.edgexfoundry.org:10002 [2023-07-19T18:23:33.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:23:33.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:23:33.413Z] Configure a credential helper to remove this warning. See [2023-07-19T18:23:33.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:23:33.413Z] [2023-07-19T18:23:33.413Z] Login Succeeded [2023-07-19T18:23:33.413Z] nexus3.edgexfoundry.org:10003 [2023-07-19T18:23:33.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:23:33.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:23:33.673Z] Configure a credential helper to remove this warning. See [2023-07-19T18:23:33.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:23:33.673Z] [2023-07-19T18:23:33.673Z] Login Succeeded [2023-07-19T18:23:33.673Z] nexus3.edgexfoundry.org:10004 [2023-07-19T18:23:33.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:23:33.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:23:33.673Z] Configure a credential helper to remove this warning. See [2023-07-19T18:23:33.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:23:33.673Z] [2023-07-19T18:23:33.673Z] Login Succeeded [2023-07-19T18:23:33.673Z] docker.io [2023-07-19T18:23:33.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:23:33.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:23:33.933Z] Configure a credential helper to remove this warning. See [2023-07-19T18:23:33.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:23:33.933Z] [2023-07-19T18:23:33.933Z] Login Succeeded [2023-07-19T18:23:33.933Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T18:23:33.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T18:23:34.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:23:34.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:23:34.228Z] ========================================================= [2023-07-19T18:23:34.228Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-19T18:23:34.228Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:23:34.698Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-19T18:23:34.698Z] Sending build context to Docker daemon 10.94MB [2023-07-19T18:23:34.698Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:23:34.698Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-19T18:23:34.698Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-19T18:23:34.698Z] 4db1b89c0bd1: Pulling fs layer [2023-07-19T18:23:34.698Z] 6911f1a30b25: Pulling fs layer [2023-07-19T18:23:34.698Z] e194b8c5c2a9: Pulling fs layer [2023-07-19T18:23:34.698Z] 6863d3e3a2b1: Pulling fs layer [2023-07-19T18:23:34.698Z] ec0bb842ea78: Pulling fs layer [2023-07-19T18:23:34.698Z] 40a00589a448: Pulling fs layer [2023-07-19T18:23:34.698Z] 6c08303d61cc: Pulling fs layer [2023-07-19T18:23:34.698Z] 798269fcf238: Pulling fs layer [2023-07-19T18:23:34.698Z] 6863d3e3a2b1: Waiting [2023-07-19T18:23:34.698Z] ec0bb842ea78: Waiting [2023-07-19T18:23:34.698Z] 6c08303d61cc: Waiting [2023-07-19T18:23:34.698Z] 798269fcf238: Waiting [2023-07-19T18:23:34.698Z] 40a00589a448: Waiting [2023-07-19T18:23:34.698Z] 6911f1a30b25: Verifying Checksum [2023-07-19T18:23:34.698Z] 6911f1a30b25: Download complete [2023-07-19T18:23:34.698Z] 6863d3e3a2b1: Verifying Checksum [2023-07-19T18:23:34.698Z] 6863d3e3a2b1: Download complete [2023-07-19T18:23:34.959Z] ec0bb842ea78: Verifying Checksum [2023-07-19T18:23:34.959Z] ec0bb842ea78: Download complete [2023-07-19T18:23:34.959Z] 4db1b89c0bd1: Verifying Checksum [2023-07-19T18:23:34.959Z] 4db1b89c0bd1: Download complete [2023-07-19T18:23:34.959Z] 40a00589a448: Verifying Checksum [2023-07-19T18:23:34.959Z] 40a00589a448: Download complete [2023-07-19T18:23:34.959Z] 4db1b89c0bd1: Pull complete [2023-07-19T18:23:35.222Z] 6911f1a30b25: Pull complete [2023-07-19T18:23:35.483Z] 798269fcf238: Verifying Checksum [2023-07-19T18:23:35.483Z] 798269fcf238: Download complete [2023-07-19T18:23:35.483Z] e194b8c5c2a9: Verifying Checksum [2023-07-19T18:23:35.483Z] e194b8c5c2a9: Download complete [2023-07-19T18:23:35.740Z] 6c08303d61cc: Verifying Checksum [2023-07-19T18:23:35.740Z] 6c08303d61cc: Download complete [2023-07-19T18:23:39.028Z] e194b8c5c2a9: Pull complete [2023-07-19T18:23:39.028Z] 6863d3e3a2b1: Pull complete [2023-07-19T18:23:39.028Z] ec0bb842ea78: Pull complete [2023-07-19T18:23:39.028Z] 40a00589a448: Pull complete [2023-07-19T18:23:41.568Z] 6c08303d61cc: Pull complete [2023-07-19T18:23:42.504Z] 798269fcf238: Pull complete [2023-07-19T18:23:42.504Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-19T18:23:42.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-19T18:23:42.504Z] ---> ec979cd7f677 [2023-07-19T18:23:42.504Z] Step 3/10 : ARG MAKE=make build [2023-07-19T18:23:43.884Z] ---> Running in 87f704c6fbe8 [2023-07-19T18:23:43.884Z] Removing intermediate container 87f704c6fbe8 [2023-07-19T18:23:43.884Z] ---> a3faf6de508a [2023-07-19T18:23:43.884Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-19T18:23:43.884Z] ---> Running in e41930902798 [2023-07-19T18:23:43.884Z] Removing intermediate container e41930902798 [2023-07-19T18:23:43.884Z] ---> 97969db3440d [2023-07-19T18:23:43.884Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:23:43.884Z] ---> Running in 9d5e96928f4d [2023-07-19T18:23:43.884Z] Removing intermediate container 9d5e96928f4d [2023-07-19T18:23:43.884Z] ---> 326ede6fe6d0 [2023-07-19T18:23:43.884Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-19T18:23:44.144Z] ---> Running in 25a4fdc1dc7b [2023-07-19T18:23:44.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T18:23:44.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T18:23:44.977Z] OK: 265 MiB in 53 packages [2023-07-19T18:23:45.235Z] Removing intermediate container 25a4fdc1dc7b [2023-07-19T18:23:45.235Z] ---> 44453a55bde9 [2023-07-19T18:23:45.235Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-19T18:23:45.235Z] ---> 3219263a8ea5 [2023-07-19T18:23:45.235Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:23:45.235Z] ---> Running in 24934250f0d7 [2023-07-19T18:23:47.961Z] Still waiting to schedule task [2023-07-19T18:23:47.962Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-19T18:24:23.994Z] Removing intermediate container 24934250f0d7 [2023-07-19T18:24:23.994Z] ---> a2deb8eb5c41 [2023-07-19T18:24:23.994Z] Step 9/10 : COPY . . [2023-07-19T18:24:23.994Z] ---> 8732674769c4 [2023-07-19T18:24:23.994Z] Step 10/10 : RUN ${MAKE} [2023-07-19T18:24:23.994Z] ---> Running in 0198a8bc01c2 [2023-07-19T18:24:23.994Z] noop [2023-07-19T18:24:23.994Z] Removing intermediate container 0198a8bc01c2 [2023-07-19T18:24:23.994Z] ---> b602ad8204d0 [2023-07-19T18:24:23.994Z] Successfully built b602ad8204d0 [2023-07-19T18:24:23.994Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:24:24.444Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T18:24:24.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:24:24.602Z] prd-ubuntu20.04-docker-8c-8g-1557 does not seem to be running inside a container [2023-07-19T18:24:24.638Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1481 -v /w/workspace/gexfoundry_device-sdk-go_PR-1481:/w/workspace/gexfoundry_device-sdk-go_PR-1481:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-19T18:24:24.984Z] $ docker top 8257f1e16a4b3ecc9abd82dc855470876b7e92e6786195267b027f1e0a87c52e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:24:25.378Z] + go version [2023-07-19T18:24:25.378Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-19T18:24:25.415Z] $ docker stop --time=1 8257f1e16a4b3ecc9abd82dc855470876b7e92e6786195267b027f1e0a87c52e [2023-07-19T18:24:26.712Z] $ docker rm -f --volumes 8257f1e16a4b3ecc9abd82dc855470876b7e92e6786195267b027f1e0a87c52e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:24:27.454Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T18:24:27.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:24:27.635Z] prd-ubuntu20.04-docker-8c-8g-1557 does not seem to be running inside a container [2023-07-19T18:24:27.673Z] $ 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-1481 -v /w/workspace/gexfoundry_device-sdk-go_PR-1481:/w/workspace/gexfoundry_device-sdk-go_PR-1481:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-19T18:24:28.000Z] $ docker top 0667f6434a7a589885041d88fde3ef216e9e7d5198a47fabd33ff715700a681d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:24:28.401Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1481 [Pipeline] fileExists [Pipeline] sh [2023-07-19T18:24:28.764Z] + make test [2023-07-19T18:24:28.764Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T18:24:36.897Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-19T18:24:51.781Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-19T18:24:51.781Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-19T18:24:51.781Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-19T18:24:51.781Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-19T18:24:51.781Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-19T18:24:51.781Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements [2023-07-19T18:24:51.781Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.064s coverage: 80.2% of statements [2023-07-19T18:24:51.781Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-19T18:24:51.781Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-19T18:24:51.781Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.083s coverage: 86.0% of statements [2023-07-19T18:24:52.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-19T18:24:52.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-19T18:24:52.717Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.073s coverage: 70.6% of statements [2023-07-19T18:24:52.976Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-19T18:24:52.976Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-19T18:24:53.913Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-19T18:24:55.818Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.064s coverage: 14.3% of statements [2023-07-19T18:24:55.818Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-07-19T18:24:55.818Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.116s coverage: 89.2% of statements [2023-07-19T18:24:55.818Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.6% of statements [2023-07-19T18:25:07.750Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1558 in /w/workspace/gexfoundry_device-sdk-go_PR-1481 [Pipeline] { [Pipeline] ws [2023-07-19T18:25:07.821Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-07-19T18:25:07.900Z] The recommended git tool is: git [2023-07-19T18:25:13.396Z] using credential edgex-jenkins-ssh [2023-07-19T18:25:13.413Z] Cloning the remote Git repository [2023-07-19T18:25:13.453Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T18:25:13.543Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-07-19T18:25:13.672Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T18:25:13.673Z] > git --version # timeout=10 [2023-07-19T18:25:13.700Z] > git --version # 'git version 2.25.1' [2023-07-19T18:25:13.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T18:25:13.847Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T18:25:15.417Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-19T18:25:15.444Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T18:25:16.255Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-19T18:25:16.294Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-19T18:25:16.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T18:25:16.315Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1481/head:refs/remotes/origin/PR-1481 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-19T18:25:16.963Z] Merging remotes/origin/main commit 1f24b0a1909b23f42318563b740559601ceacb70 into PR head commit e71c56b45bee73109274550ba5eeab54439fb3c9 [2023-07-19T18:25:17.310Z] Merge succeeded, producing cbf04d5c51663c40b37ea5ecf574819ba3f24cd7 [2023-07-19T18:25:17.311Z] Checking out Revision cbf04d5c51663c40b37ea5ecf574819ba3f24cd7 (PR-1481) [2023-07-19T18:25:17.774Z] GO111MODULE=on go vet ./... [2023-07-19T18:25:16.976Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T18:25:17.039Z] > git checkout -f e71c56b45bee73109274550ba5eeab54439fb3c9 # timeout=10 [2023-07-19T18:25:17.144Z] > git remote # timeout=10 [2023-07-19T18:25:17.162Z] > git config --get remote.origin.url # timeout=10 [2023-07-19T18:25:17.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T18:25:17.191Z] > git merge 1f24b0a1909b23f42318563b740559601ceacb70 # timeout=10 [2023-07-19T18:25:17.286Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-19T18:25:17.313Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T18:25:17.330Z] > git checkout -f cbf04d5c51663c40b37ea5ecf574819ba3f24cd7 # timeout=10 [2023-07-19T18:25:20.811Z] Commit message: "Merge commit '1f24b0a1909b23f42318563b740559601ceacb70' into HEAD" [2023-07-19T18:25:20.812Z] First time build. Skipping changelog. [2023-07-19T18:25:20.855Z] > git --version # timeout=10 [2023-07-19T18:25:20.866Z] > git --version # 'git version 2.25.1' [2023-07-19T18:25:20.877Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T18:25:21.952Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T18:25:21.952Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T18:25:21.952Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T18:25:21.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T18:25:22.027Z] $ docker stop --time=1 0667f6434a7a589885041d88fde3ef216e9e7d5198a47fabd33ff715700a681d [2023-07-19T18:25:22.212Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-19T18:25:22.213Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T18:25:22.213Z] Dload Upload Total Spent Left Speed [2023-07-19T18:25:22.213Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10472 0 0 71726 0 --:--:-- --:--:-- --:--:-- 71238 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [2023-07-19T18:25:23.859Z] $ docker rm -f --volumes 0667f6434a7a589885041d88fde3ef216e9e7d5198a47fabd33ff715700a681d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2023-07-19T18:25:24.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T18:25:24.550Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-07-19T18:25:24.568Z] Stashed 1 file(s) [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-07-19T18:25:24.891Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-19T18:25:24.891Z] + sudo tee /etc/docker/daemon.new [2023-07-19T18:25:24.891Z] { [2023-07-19T18:25:24.891Z] "registry-mirrors": [ [2023-07-19T18:25:24.891Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-19T18:25:24.891Z] ], [2023-07-19T18:25:24.891Z] "bip": "10.250.0.254/24", [2023-07-19T18:25:24.891Z] "hosts": [ [2023-07-19T18:25:24.891Z] "tcp://0.0.0.0:5555", [2023-07-19T18:25:24.891Z] "unix:///var/run/docker.sock" [2023-07-19T18:25:24.891Z] ], [2023-07-19T18:25:24.891Z] "mtu": 1458, [2023-07-19T18:25:24.891Z] "selinux-enabled": true, [2023-07-19T18:25:24.891Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-19T18:25:24.891Z] } [Pipeline] sh [Pipeline] sh [2023-07-19T18:25:25.248Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-19T18:25:25.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T18:25:25.642Z] + sudo service docker restart [2023-07-19T18:25:25.843Z] + ls -al . [2023-07-19T18:25:25.843Z] total 284 [2023-07-19T18:25:25.843Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 18:24 . [2023-07-19T18:25:25.843Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:23 .. [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 18:23 .dockerignore [2023-07-19T18:25:25.843Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:23 .git [2023-07-19T18:25:25.843Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:23 .github [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 18:23 .gitignore [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 18:23 .golangci.yml [2023-07-19T18:25:25.843Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:23 .semver [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 18:23 CHANGELOG.md [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 18:23 GOVERNANCE.md [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 18:23 Jenkinsfile [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 18:23 LICENSE [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 18:23 Makefile [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 18:23 OWNERS.md [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 18:23 README.md [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 18:23 VERSION [2023-07-19T18:25:25.843Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:23 bin [2023-07-19T18:25:25.843Z] -rw-r--r-- 1 jenkins jenkins 104687 Jul 19 18:24 coverage.out [2023-07-19T18:25:25.843Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 18:23 example [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 18:23 go.mod [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 18:23 go.sum [2023-07-19T18:25:25.843Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:23 internal [2023-07-19T18:25:25.843Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:23 openapi [2023-07-19T18:25:25.843Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 18:23 pkg [2023-07-19T18:25:25.843Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:23 snap [2023-07-19T18:25:25.843Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:25:26.275Z] + 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=d9b14ca86229f970d98c66e720754452139c6037 --label arch=amd64 --label version=0.0.0 . [2023-07-19T18:25:26.275Z] Sending build context to Docker daemon 11.04MB [2023-07-19T18:25:26.275Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:25:26.275Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-19T18:25:26.275Z] ---> b602ad8204d0 [2023-07-19T18:25:26.275Z] Step 3/23 : ARG MAKE=make build [2023-07-19T18:25:26.275Z] ---> Running in 8539c06a4e1b [2023-07-19T18:25:26.535Z] Removing intermediate container 8539c06a4e1b [2023-07-19T18:25:26.535Z] ---> 30ef75928615 [2023-07-19T18:25:26.535Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-19T18:25:26.535Z] ---> Running in 2e0e310224e0 [2023-07-19T18:25:26.535Z] Removing intermediate container 2e0e310224e0 [2023-07-19T18:25:26.535Z] ---> 9954861b0d1d [2023-07-19T18:25:26.535Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:25:26.535Z] ---> Running in 229e49ae8f52 [2023-07-19T18:25:26.535Z] Removing intermediate container 229e49ae8f52 [2023-07-19T18:25:26.535Z] ---> 06316bfffab1 [2023-07-19T18:25:26.535Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-19T18:25:26.535Z] ---> Running in af1b961b8ee2 [2023-07-19T18:25:27.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T18:25:27.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T18:25:27.626Z] OK: 265 MiB in 53 packages [2023-07-19T18:25:27.886Z] Removing intermediate container af1b961b8ee2 [2023-07-19T18:25:27.886Z] ---> 4bf392d4ae1e [2023-07-19T18:25:27.886Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-19T18:25:28.147Z] ---> 57ce2724bed9 [2023-07-19T18:25:28.147Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:25:28.147Z] ---> Running in 244e13124e64 [2023-07-19T18:25:28.716Z] Removing intermediate container 244e13124e64 [2023-07-19T18:25:28.716Z] ---> 3944f161d3eb [2023-07-19T18:25:28.716Z] Step 9/23 : COPY . . [2023-07-19T18:25:28.976Z] ---> 21e9d83a3d24 [2023-07-19T18:25:28.976Z] Step 10/23 : RUN ${MAKE} [2023-07-19T18:25:28.976Z] ---> Running in ff37ec17ac31 [2023-07-19T18:25:29.235Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T18:25:43.951Z] provisioning config files... [2023-07-19T18:25:43.978Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8729099721678056414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:25:44.359Z] ---> docker-login.sh [2023-07-19T18:25:44.360Z] nexus3.edgexfoundry.org:10001 [2023-07-19T18:25:44.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:25:44.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:25:44.899Z] Configure a credential helper to remove this warning. See [2023-07-19T18:25:44.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:25:44.899Z] [2023-07-19T18:25:44.899Z] Login Succeeded [2023-07-19T18:25:44.899Z] nexus3.edgexfoundry.org:10002 [2023-07-19T18:25:45.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:25:45.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:25:45.169Z] Configure a credential helper to remove this warning. See [2023-07-19T18:25:45.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:25:45.169Z] [2023-07-19T18:25:45.169Z] Login Succeeded [2023-07-19T18:25:45.169Z] nexus3.edgexfoundry.org:10003 [2023-07-19T18:25:45.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:25:45.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:25:45.709Z] Configure a credential helper to remove this warning. See [2023-07-19T18:25:45.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:25:45.709Z] [2023-07-19T18:25:45.709Z] Login Succeeded [2023-07-19T18:25:45.709Z] nexus3.edgexfoundry.org:10004 [2023-07-19T18:25:45.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:25:45.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:25:45.982Z] Configure a credential helper to remove this warning. See [2023-07-19T18:25:45.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:25:45.982Z] [2023-07-19T18:25:45.982Z] Login Succeeded [2023-07-19T18:25:45.982Z] docker.io [2023-07-19T18:25:46.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T18:25:47.330Z] Removing intermediate container ff37ec17ac31 [2023-07-19T18:25:47.330Z] ---> 249d5551c677 [2023-07-19T18:25:47.330Z] Step 11/23 : FROM alpine:3.17 [2023-07-19T18:25:47.897Z] 3.17: Pulling from library/alpine [2023-07-19T18:25:48.154Z] 4db1b89c0bd1: Already exists [2023-07-19T18:25:48.154Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T18:25:48.154Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T18:25:48.154Z] ---> 1f73a9d63274 [2023-07-19T18:25:48.154Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-19T18:25:48.154Z] ---> Running in 68862bcd5998 [2023-07-19T18:25:48.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T18:25:48.195Z] Configure a credential helper to remove this warning. See [2023-07-19T18:25:48.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T18:25:48.195Z] [2023-07-19T18:25:48.195Z] Login Succeeded [2023-07-19T18:25:48.195Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T18:25:48.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-07-19T18:25:48.410Z] Removing intermediate container 68862bcd5998 [2023-07-19T18:25:48.410Z] ---> b88d6add8113 [2023-07-19T18:25:48.410Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-19T18:25:48.410Z] ---> Running in 340d61d613af [Pipeline] echo [2023-07-19T18:25:48.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:25:48.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T18:25:48.664Z] ========================================================= [2023-07-19T18:25:48.664Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-19T18:25:48.664Z] ========================================================= [2023-07-19T18:25:48.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:25:48.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T18:25:49.188Z] OK: 7 MiB in 15 packages [2023-07-19T18:25:49.235Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-19T18:25:49.448Z] Removing intermediate container 340d61d613af [2023-07-19T18:25:49.448Z] ---> d80334cd41ea [2023-07-19T18:25:49.448Z] Step 14/23 : WORKDIR / [2023-07-19T18:25:49.448Z] ---> Running in 074040bd6899 [2023-07-19T18:25:49.448Z] Removing intermediate container 074040bd6899 [2023-07-19T18:25:49.448Z] ---> f7508bf18c4d [2023-07-19T18:25:49.448Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-19T18:25:49.448Z] ---> 1db2190f7235 [2023-07-19T18:25:49.448Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-19T18:25:49.507Z] Sending build context to Docker daemon 5.833MB [2023-07-19T18:25:49.507Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:25:49.507Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-19T18:25:49.780Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-19T18:25:49.780Z] edb6bdbacee9: Pulling fs layer [2023-07-19T18:25:49.780Z] 5f9638ab2659: Pulling fs layer [2023-07-19T18:25:49.780Z] 8d51d6327a98: Pulling fs layer [2023-07-19T18:25:49.780Z] 8b374f2dd631: Pulling fs layer [2023-07-19T18:25:49.780Z] ec14aa9079de: Pulling fs layer [2023-07-19T18:25:49.780Z] 2f466654f4bb: Pulling fs layer [2023-07-19T18:25:49.780Z] 554e91adad29: Pulling fs layer [2023-07-19T18:25:49.780Z] 8b374f2dd631: Waiting [2023-07-19T18:25:49.780Z] ec14aa9079de: Waiting [2023-07-19T18:25:49.780Z] 2f466654f4bb: Waiting [2023-07-19T18:25:49.780Z] 554e91adad29: Waiting [2023-07-19T18:25:49.780Z] 5f9638ab2659: Download complete [2023-07-19T18:25:49.780Z] 8b374f2dd631: Verifying Checksum [2023-07-19T18:25:49.780Z] 8b374f2dd631: Download complete [2023-07-19T18:25:49.780Z] ec14aa9079de: Verifying Checksum [2023-07-19T18:25:49.780Z] ec14aa9079de: Download complete [2023-07-19T18:25:49.780Z] edb6bdbacee9: Download complete [2023-07-19T18:25:50.015Z] ---> c21e5466f15e [2023-07-19T18:25:50.015Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-19T18:25:50.015Z] ---> c288426b0f0d [2023-07-19T18:25:50.015Z] Step 18/23 : EXPOSE 59999 [2023-07-19T18:25:50.015Z] ---> Running in 71189a1da0bd [2023-07-19T18:25:50.275Z] Removing intermediate container 71189a1da0bd [2023-07-19T18:25:50.275Z] ---> 2d4a6ef0966d [2023-07-19T18:25:50.275Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-19T18:25:50.275Z] ---> Running in 341efdec201c [2023-07-19T18:25:50.275Z] Removing intermediate container 341efdec201c [2023-07-19T18:25:50.275Z] ---> 9cf77540816c [2023-07-19T18:25:50.275Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T18:25:50.275Z] ---> Running in ab1cfcfc9852 [2023-07-19T18:25:50.275Z] Removing intermediate container ab1cfcfc9852 [2023-07-19T18:25:50.275Z] ---> a1945992bf80 [2023-07-19T18:25:50.275Z] Step 21/23 : LABEL arch=amd64 [2023-07-19T18:25:50.535Z] ---> Running in f858ff01ed93 [2023-07-19T18:25:50.535Z] Removing intermediate container f858ff01ed93 [2023-07-19T18:25:50.535Z] ---> 8c296405527e [2023-07-19T18:25:50.535Z] Step 22/23 : LABEL git_sha=d9b14ca86229f970d98c66e720754452139c6037 [2023-07-19T18:25:50.535Z] ---> Running in b863099268f4 [2023-07-19T18:25:50.535Z] Removing intermediate container b863099268f4 [2023-07-19T18:25:50.535Z] ---> 14f53c4b9fc0 [2023-07-19T18:25:50.535Z] Step 23/23 : LABEL version=0.0.0 [2023-07-19T18:25:50.535Z] ---> Running in b6250267580a [2023-07-19T18:25:50.794Z] Removing intermediate container b6250267580a [2023-07-19T18:25:50.794Z] ---> ee2cccf66838 [2023-07-19T18:25:50.794Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T18:25:50.794Z] Successfully built ee2cccf66838 [2023-07-19T18:25:50.794Z] 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 [2023-07-19T18:25:51.193Z] edb6bdbacee9: Pull complete [2023-07-19T18:25:51.193Z] 554e91adad29: Verifying Checksum [2023-07-19T18:25:51.193Z] 554e91adad29: Download complete [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:25:51.463Z] 5f9638ab2659: Pull complete [2023-07-19T18:25:51.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:25:51.714Z] [2023-07-19T18:25:51.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:25:52.104Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:25:52.104Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-19T18:25:52.104Z] 5eb5b503b376: Pulling fs layer [2023-07-19T18:25:52.104Z] 5c69ac0246d0: Pulling fs layer [2023-07-19T18:25:52.104Z] ec43610c2a17: Pulling fs layer [2023-07-19T18:25:52.104Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-19T18:25:52.104Z] 33b1e0a273af: Pulling fs layer [2023-07-19T18:25:52.104Z] 5d3b04190fa2: Pulling fs layer [2023-07-19T18:25:52.104Z] 2f39f015ded8: Pulling fs layer [2023-07-19T18:25:52.104Z] 33b1e0a273af: Waiting [2023-07-19T18:25:52.104Z] 5d3b04190fa2: Waiting [2023-07-19T18:25:52.104Z] 2f39f015ded8: Waiting [2023-07-19T18:25:52.104Z] 3a2ae6a8a46f: Waiting [2023-07-19T18:25:52.104Z] 5c69ac0246d0: Download complete [2023-07-19T18:25:52.104Z] 3a2ae6a8a46f: Download complete [2023-07-19T18:25:52.104Z] 33b1e0a273af: Verifying Checksum [2023-07-19T18:25:52.104Z] 33b1e0a273af: Download complete [2023-07-19T18:25:52.363Z] ec43610c2a17: Verifying Checksum [2023-07-19T18:25:52.363Z] ec43610c2a17: Download complete [2023-07-19T18:25:52.363Z] 5d3b04190fa2: Verifying Checksum [2023-07-19T18:25:52.363Z] 5d3b04190fa2: Download complete [2023-07-19T18:25:52.363Z] 5eb5b503b376: Download complete [2023-07-19T18:25:52.446Z] 8d51d6327a98: Verifying Checksum [2023-07-19T18:25:52.446Z] 8d51d6327a98: Download complete [2023-07-19T18:25:52.446Z] 2f466654f4bb: Verifying Checksum [2023-07-19T18:25:52.446Z] 2f466654f4bb: Download complete [2023-07-19T18:25:52.930Z] 2f39f015ded8: Download complete [2023-07-19T18:25:53.497Z] 5eb5b503b376: Pull complete [2023-07-19T18:25:53.497Z] 5c69ac0246d0: Pull complete [2023-07-19T18:25:54.064Z] ec43610c2a17: Pull complete [2023-07-19T18:25:54.064Z] 3a2ae6a8a46f: Pull complete [2023-07-19T18:25:54.323Z] 33b1e0a273af: Pull complete [2023-07-19T18:25:54.323Z] 5d3b04190fa2: Pull complete [2023-07-19T18:25:58.512Z] 2f39f015ded8: Pull complete [2023-07-19T18:25:58.512Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-19T18:25:58.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:25:58.512Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:25:58.755Z] prd-ubuntu20.04-docker-8c-8g-1557 does not seem to be running inside a container [2023-07-19T18:25:58.787Z] $ 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-1481 -v /w/workspace/gexfoundry_device-sdk-go_PR-1481:/w/workspace/gexfoundry_device-sdk-go_PR-1481:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1481@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-07-19T18:25:59.755Z] $ docker top 97f44dd70f410e074cc8df04254a1d1e39f9f8fcf4ebd3cb977e5490a0c966d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:26:00.217Z] ---> job-cost.sh [2023-07-19T18:26:00.217Z] lf-activate-venv: SKIPPING [2023-07-19T18:26:00.217Z] INFO: No Stack... [2023-07-19T18:26:00.476Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T18:26:00.735Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T18:26:01.050Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1481/archives/cost.csv [2023-07-19T18:26:01.050Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T18:26:01.097Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1481-1-stack-cost] [2023-07-19T18:26:01.104Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1481-1-stack-cost] did not exist. Created. [2023-07-19T18:26:01.105Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1481-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T18:26:01.503Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-19T18:26:01.560Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T18:26:01.590Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1481-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T18:26:01.679Z] $ docker stop --time=1 97f44dd70f410e074cc8df04254a1d1e39f9f8fcf4ebd3cb977e5490a0c966d7 [2023-07-19T18:26:02.868Z] $ docker rm -f --volumes 97f44dd70f410e074cc8df04254a1d1e39f9f8fcf4ebd3cb977e5490a0c966d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-19T18:26:04.771Z] 8d51d6327a98: Pull complete [2023-07-19T18:26:04.771Z] 8b374f2dd631: Pull complete [2023-07-19T18:26:04.771Z] ec14aa9079de: Pull complete [2023-07-19T18:26:10.132Z] 2f466654f4bb: Pull complete [2023-07-19T18:26:12.732Z] 554e91adad29: Pull complete [2023-07-19T18:26:12.732Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-19T18:26:12.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-19T18:26:12.732Z] ---> 1e15ea492957 [2023-07-19T18:26:12.732Z] Step 3/10 : ARG MAKE=make build [2023-07-19T18:26:14.141Z] ---> Running in ce35325f093c [2023-07-19T18:26:14.409Z] Removing intermediate container ce35325f093c [2023-07-19T18:26:14.409Z] ---> b8c1702a87ce [2023-07-19T18:26:14.409Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-19T18:26:14.409Z] ---> Running in ef180500181c [2023-07-19T18:26:14.680Z] Removing intermediate container ef180500181c [2023-07-19T18:26:14.680Z] ---> 0a897f2d9a5b [2023-07-19T18:26:14.680Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:26:14.948Z] ---> Running in 12de213c7a97 [2023-07-19T18:26:15.219Z] Removing intermediate container 12de213c7a97 [2023-07-19T18:26:15.219Z] ---> 1b98f06e83a6 [2023-07-19T18:26:15.219Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-19T18:26:15.219Z] ---> Running in 1538e0ae09c5 [2023-07-19T18:26:16.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T18:26:16.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T18:26:17.720Z] OK: 263 MiB in 53 packages [2023-07-19T18:26:19.665Z] Removing intermediate container 1538e0ae09c5 [2023-07-19T18:26:19.665Z] ---> 4c436467888a [2023-07-19T18:26:19.665Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-19T18:26:20.250Z] ---> fcd46882a403 [2023-07-19T18:26:20.250Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:26:20.250Z] ---> Running in 7973fc29f227 [2023-07-19T18:27:28.148Z] Removing intermediate container 7973fc29f227 [2023-07-19T18:27:28.148Z] ---> 83b879530ea6 [2023-07-19T18:27:28.148Z] Step 9/10 : COPY . . [2023-07-19T18:27:28.148Z] ---> de7fec86e721 [2023-07-19T18:27:28.148Z] Step 10/10 : RUN ${MAKE} [2023-07-19T18:27:28.148Z] ---> Running in a49531491090 [2023-07-19T18:27:28.148Z] noop [2023-07-19T18:27:28.148Z] Removing intermediate container a49531491090 [2023-07-19T18:27:28.148Z] ---> 8c42d58acaa6 [2023-07-19T18:27:28.148Z] Successfully built 8c42d58acaa6 [2023-07-19T18:27:28.148Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:27:28.621Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T18:27:28.621Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:27:28.902Z] prd-ubuntu20.04-docker-arm64-4c-16g-1558 does not seem to be running inside a container [2023-07-19T18:27:28.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-19T18:27:30.115Z] $ docker top cddd552b6a439135fefa3ecaf31c8390e99ee5ffffad633674760271fb7949e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:27:30.982Z] + go version [2023-07-19T18:27:30.982Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-19T18:27:31.014Z] $ docker stop --time=1 cddd552b6a439135fefa3ecaf31c8390e99ee5ffffad633674760271fb7949e9 [2023-07-19T18:27:32.604Z] $ docker rm -f --volumes cddd552b6a439135fefa3ecaf31c8390e99ee5ffffad633674760271fb7949e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:27:33.460Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T18:27:33.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:27:33.699Z] prd-ubuntu20.04-docker-arm64-4c-16g-1558 does not seem to be running inside a container [2023-07-19T18:27:33.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-19T18:27:34.875Z] $ docker top 40afad2f95a37ab048116fef0bc83640fdf7b492e0d7ce4d5cf683872a796a84 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:27:35.424Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-07-19T18:27:36.135Z] + make test [2023-07-19T18:27:36.135Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T18:28:15.020Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-19T18:30:21.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-19T18:30:21.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-19T18:30:21.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-19T18:30:21.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-19T18:30:21.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-19T18:30:21.717Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.219s coverage: 27.6% of statements [2023-07-19T18:30:25.057Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.246s coverage: 80.2% of statements [2023-07-19T18:30:40.064Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-19T18:30:40.064Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-19T18:30:40.064Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.348s coverage: 86.0% of statements [2023-07-19T18:30:44.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-19T18:30:44.910Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.354s coverage: 70.6% of statements [2023-07-19T18:30:49.160Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-19T18:30:50.119Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-19T18:30:50.119Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-19T18:30:52.063Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.249s coverage: 14.3% of statements [2023-07-19T18:30:52.063Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.400s coverage: 68.5% of statements [2023-07-19T18:30:53.583Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.465s coverage: 89.2% of statements [2023-07-19T18:30:55.012Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-19T18:30:55.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.228s coverage: 5.6% of statements [2023-07-19T18:30:55.880Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-19T18:30:55.880Z] GO111MODULE=on go vet ./... [2023-07-19T18:33:17.625Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T18:33:17.625Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T18:33:17.625Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-19T18:33:17.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-19T18:33:17.689Z] $ docker stop --time=1 40afad2f95a37ab048116fef0bc83640fdf7b492e0d7ce4d5cf683872a796a84 [2023-07-19T18:33:19.545Z] $ docker rm -f --volumes 40afad2f95a37ab048116fef0bc83640fdf7b492e0d7ce4d5cf683872a796a84 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T18:33:21.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-19T18:33:21.178Z] Warning: overwriting stash ‘coverage-report’ [2023-07-19T18:33:21.691Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T18:33:22.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-19T18:33:22.579Z] + ls -al . [2023-07-19T18:33:22.579Z] total 280 [2023-07-19T18:33:22.579Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 18:27 . [2023-07-19T18:33:22.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:25 .. [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 18:25 .dockerignore [2023-07-19T18:33:22.579Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:25 .git [2023-07-19T18:33:22.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:25 .github [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 18:25 .gitignore [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 18:25 .golangci.yml [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 18:25 CHANGELOG.md [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 18:25 GOVERNANCE.md [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 18:25 Jenkinsfile [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 18:25 LICENSE [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 18:25 Makefile [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 18:25 OWNERS.md [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 18:25 README.md [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 18:23 VERSION [2023-07-19T18:33:22.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:25 bin [2023-07-19T18:33:22.579Z] -rw-r--r-- 1 jenkins jenkins 104687 Jul 19 18:30 coverage.out [2023-07-19T18:33:22.579Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 18:25 example [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 18:25 go.mod [2023-07-19T18:33:22.579Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 18:25 go.sum [2023-07-19T18:33:22.579Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:25 internal [2023-07-19T18:33:22.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:25 openapi [2023-07-19T18:33:22.580Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 18:25 pkg [2023-07-19T18:33:22.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:25 snap [2023-07-19T18:33:22.580Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 18:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:33:22.985Z] + 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=cbf04d5c51663c40b37ea5ecf574819ba3f24cd7 --label arch=arm64 --label version=0.0.0 . [2023-07-19T18:33:23.256Z] Sending build context to Docker daemon 5.938MB [2023-07-19T18:33:23.256Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T18:33:23.256Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-19T18:33:23.256Z] ---> 8c42d58acaa6 [2023-07-19T18:33:23.256Z] Step 3/23 : ARG MAKE=make build [2023-07-19T18:33:23.526Z] ---> Running in dc29f7e73f7e [2023-07-19T18:33:23.793Z] Removing intermediate container dc29f7e73f7e [2023-07-19T18:33:23.793Z] ---> 926622e6add4 [2023-07-19T18:33:23.793Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-19T18:33:23.793Z] ---> Running in c6cd213bf71f [2023-07-19T18:33:24.062Z] Removing intermediate container c6cd213bf71f [2023-07-19T18:33:24.062Z] ---> 2d9091515220 [2023-07-19T18:33:24.062Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-19T18:33:24.062Z] ---> Running in bc3ab7086bf7 [2023-07-19T18:33:24.336Z] Removing intermediate container bc3ab7086bf7 [2023-07-19T18:33:24.336Z] ---> e5d4d851f493 [2023-07-19T18:33:24.336Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-19T18:33:24.608Z] ---> Running in e45c7031dc35 [2023-07-19T18:33:25.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T18:33:26.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T18:33:27.105Z] OK: 263 MiB in 53 packages [2023-07-19T18:33:27.692Z] Removing intermediate container e45c7031dc35 [2023-07-19T18:33:27.692Z] ---> 7a23ec67dbb9 [2023-07-19T18:33:27.692Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-19T18:33:28.284Z] ---> 35aae3786c55 [2023-07-19T18:33:28.285Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T18:33:28.285Z] ---> Running in 5777d0d7d652 [2023-07-19T18:33:33.556Z] Removing intermediate container 5777d0d7d652 [2023-07-19T18:33:33.556Z] ---> dd674351215a [2023-07-19T18:33:33.556Z] Step 9/23 : COPY . . [2023-07-19T18:33:34.142Z] ---> ee6b4ae9640e [2023-07-19T18:33:34.142Z] Step 10/23 : RUN ${MAKE} [2023-07-19T18:33:34.142Z] ---> Running in 44d50986f2df [2023-07-19T18:33:35.102Z] 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-07-19T18:35:41.760Z] Removing intermediate container 44d50986f2df [2023-07-19T18:35:41.760Z] ---> 333585d40101 [2023-07-19T18:35:41.760Z] Step 11/23 : FROM alpine:3.17 [2023-07-19T18:35:41.760Z] 3.17: Pulling from library/alpine [2023-07-19T18:35:41.760Z] edb6bdbacee9: Already exists [2023-07-19T18:35:41.760Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-19T18:35:41.760Z] Status: Downloaded newer image for alpine:3.17 [2023-07-19T18:35:41.760Z] ---> 779605e5fbc0 [2023-07-19T18:35:41.760Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-19T18:35:41.760Z] ---> Running in 7f33081d86a6 [2023-07-19T18:35:41.760Z] Removing intermediate container 7f33081d86a6 [2023-07-19T18:35:41.760Z] ---> ca1a88ddd7a1 [2023-07-19T18:35:41.760Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-19T18:35:41.760Z] ---> Running in efc9de34c766 [2023-07-19T18:35:41.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T18:35:41.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T18:35:42.717Z] OK: 7 MiB in 15 packages [2023-07-19T18:35:43.303Z] Removing intermediate container efc9de34c766 [2023-07-19T18:35:43.304Z] ---> 669334264d1b [2023-07-19T18:35:43.304Z] Step 14/23 : WORKDIR / [2023-07-19T18:35:43.571Z] ---> Running in 3eeea3b3b519 [2023-07-19T18:35:43.839Z] Removing intermediate container 3eeea3b3b519 [2023-07-19T18:35:43.839Z] ---> 186ec4e0f334 [2023-07-19T18:35:43.839Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-19T18:35:44.766Z] ---> 3c26bda17882 [2023-07-19T18:35:44.766Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-19T18:35:45.720Z] ---> 75f6a4a175e6 [2023-07-19T18:35:45.720Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-19T18:35:46.303Z] ---> 4d675e73db89 [2023-07-19T18:35:46.303Z] Step 18/23 : EXPOSE 59999 [2023-07-19T18:35:46.303Z] ---> Running in e03a4003d36e [2023-07-19T18:35:46.571Z] Removing intermediate container e03a4003d36e [2023-07-19T18:35:46.571Z] ---> 618aa5f974f8 [2023-07-19T18:35:46.571Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-19T18:35:46.571Z] ---> Running in f134af44acda [2023-07-19T18:35:46.839Z] Removing intermediate container f134af44acda [2023-07-19T18:35:46.839Z] ---> 02fb00700540 [2023-07-19T18:35:46.839Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-19T18:35:46.839Z] ---> Running in 0c9b1088b2b5 [2023-07-19T18:35:47.105Z] Removing intermediate container 0c9b1088b2b5 [2023-07-19T18:35:47.105Z] ---> af64d0f3428c [2023-07-19T18:35:47.105Z] Step 21/23 : LABEL arch=arm64 [2023-07-19T18:35:47.105Z] ---> Running in 7c9c94ad0fbf [2023-07-19T18:35:47.375Z] Removing intermediate container 7c9c94ad0fbf [2023-07-19T18:35:47.375Z] ---> 9426e0373877 [2023-07-19T18:35:47.375Z] Step 22/23 : LABEL git_sha=cbf04d5c51663c40b37ea5ecf574819ba3f24cd7 [2023-07-19T18:35:47.642Z] ---> Running in 869799998d71 [2023-07-19T18:35:47.910Z] Removing intermediate container 869799998d71 [2023-07-19T18:35:47.910Z] ---> c6f8998620d0 [2023-07-19T18:35:47.910Z] Step 23/23 : LABEL version=0.0.0 [2023-07-19T18:35:47.910Z] ---> Running in e9b5b88d03c7 [2023-07-19T18:35:48.175Z] Removing intermediate container e9b5b88d03c7 [2023-07-19T18:35:48.175Z] ---> 53e465d8d37f [2023-07-19T18:35:48.175Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-19T18:35:48.175Z] Successfully built 53e465d8d37f [2023-07-19T18:35:48.175Z] 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-07-19T18:35:48.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T18:35:48.961Z] [2023-07-19T18:35:48.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:35:49.353Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T18:35:49.353Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-19T18:35:49.353Z] 8998bd30e6a1: Pulling fs layer [2023-07-19T18:35:49.353Z] 04944245beec: Pulling fs layer [2023-07-19T18:35:49.353Z] 699f458cf7ca: Pulling fs layer [2023-07-19T18:35:49.353Z] 765212b225bb: Pulling fs layer [2023-07-19T18:35:49.353Z] f23df028b6ca: Pulling fs layer [2023-07-19T18:35:49.353Z] d65c8cfc05b1: Pulling fs layer [2023-07-19T18:35:49.353Z] 2437ff75d9bd: Pulling fs layer [2023-07-19T18:35:49.353Z] f23df028b6ca: Waiting [2023-07-19T18:35:49.353Z] d65c8cfc05b1: Waiting [2023-07-19T18:35:49.353Z] 2437ff75d9bd: Waiting [2023-07-19T18:35:49.353Z] 765212b225bb: Waiting [2023-07-19T18:35:49.620Z] 04944245beec: Verifying Checksum [2023-07-19T18:35:49.620Z] 04944245beec: Download complete [2023-07-19T18:35:49.620Z] 765212b225bb: Verifying Checksum [2023-07-19T18:35:49.620Z] 765212b225bb: Download complete [2023-07-19T18:35:49.620Z] f23df028b6ca: Verifying Checksum [2023-07-19T18:35:49.620Z] f23df028b6ca: Download complete [2023-07-19T18:35:49.620Z] d65c8cfc05b1: Verifying Checksum [2023-07-19T18:35:49.620Z] d65c8cfc05b1: Download complete [2023-07-19T18:35:49.620Z] 699f458cf7ca: Verifying Checksum [2023-07-19T18:35:49.620Z] 699f458cf7ca: Download complete [2023-07-19T18:35:50.203Z] 8998bd30e6a1: Verifying Checksum [2023-07-19T18:35:50.203Z] 8998bd30e6a1: Download complete [2023-07-19T18:35:52.143Z] 2437ff75d9bd: Verifying Checksum [2023-07-19T18:35:52.143Z] 2437ff75d9bd: Download complete [2023-07-19T18:35:54.082Z] 8998bd30e6a1: Pull complete [2023-07-19T18:35:54.347Z] 04944245beec: Pull complete [2023-07-19T18:35:55.756Z] 699f458cf7ca: Pull complete [2023-07-19T18:35:55.756Z] 765212b225bb: Pull complete [2023-07-19T18:35:56.716Z] f23df028b6ca: Pull complete [2023-07-19T18:35:56.716Z] d65c8cfc05b1: Pull complete [2023-07-19T18:36:11.705Z] 2437ff75d9bd: Pull complete [2023-07-19T18:36:11.705Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-19T18:36:11.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T18:36:11.705Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:36:12.037Z] prd-ubuntu20.04-docker-arm64-4c-16g-1558 does not seem to be running inside a container [2023-07-19T18:36:12.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-19T18:36:14.519Z] $ docker top 7baaa75889a545647882d3494e47c78a7038b4b97391bac117678796edab0374 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:36:15.417Z] ---> job-cost.sh [2023-07-19T18:36:15.417Z] lf-activate-venv: SKIPPING [2023-07-19T18:36:15.417Z] INFO: No Stack... [2023-07-19T18:36:15.683Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-19T18:36:16.639Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T18:36:16.977Z] + cut -d, -f6 [2023-07-19T18:36:16.977Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-07-19T18:36:17.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1481-1-stack-cost] [2023-07-19T18:36:17.329Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1481-1-stack-cost] did not exist. Created. [2023-07-19T18:36:17.329Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1481-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T18:36:17.743Z] /w/workspace/device-sdk-go/1@tmp/durable-147d07ee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-19T18:36:18.414Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-19T18:36:18.453Z] Warning: overwriting stash ‘stack-cost’ [2023-07-19T18:36:18.524Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T18:36:18.539Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1481-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T18:36:18.618Z] $ docker stop --time=1 7baaa75889a545647882d3494e47c78a7038b4b97391bac117678796edab0374 [2023-07-19T18:36:20.092Z] $ docker rm -f --volumes 7baaa75889a545647882d3494e47c78a7038b4b97391bac117678796edab0374 [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-07-19T18:36:21.144Z] provisioning config files... [2023-07-19T18:36:21.152Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp/config1985182397520403391tmp [Pipeline] { [Pipeline] sh [2023-07-19T18:36:21.487Z] + set +x [2023-07-19T18:36:21.487Z] + curl -s https://codecov.io/bash [2023-07-19T18:36:21.487Z] + bash -s -- [2023-07-19T18:36:21.747Z] [2023-07-19T18:36:21.747Z] _____ _ [2023-07-19T18:36:21.747Z] / ____| | | [2023-07-19T18:36:21.747Z] | | ___ __| | ___ ___ _____ __ [2023-07-19T18:36:21.747Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-19T18:36:21.747Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-19T18:36:21.747Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-19T18:36:21.747Z] Bash-1.0.6 [2023-07-19T18:36:21.747Z] [2023-07-19T18:36:21.747Z] [2023-07-19T18:36:21.747Z] ==> git version 2.25.1 found [2023-07-19T18:36:21.747Z] ==> 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-07-19T18:36:21.747Z] Release-Date: 2020-01-08 [2023-07-19T18:36:21.747Z] 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-07-19T18:36:21.747Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-19T18:36:21.747Z] ==> Jenkins CI detected. [2023-07-19T18:36:21.747Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1481 [2023-07-19T18:36:21.747Z] project root: . [2023-07-19T18:36:21.747Z] --> token set from env [2023-07-19T18:36:21.747Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-19T18:36:21.747Z] ==> Running gcov in . (disable via -X gcov) [2023-07-19T18:36:21.747Z] ==> Python coveragepy not found [2023-07-19T18:36:21.747Z] ==> Searching for coverage reports in: [2023-07-19T18:36:21.747Z] + . [2023-07-19T18:36:21.747Z] -> Found 1 reports [2023-07-19T18:36:21.747Z] ==> Detecting git/mercurial file structure [2023-07-19T18:36:21.747Z] ==> Reading reports [2023-07-19T18:36:21.747Z] + ./coverage.out bytes=104687 [2023-07-19T18:36:21.747Z] ==> Appending adjustments [2023-07-19T18:36:21.747Z] https://docs.codecov.io/docs/fixing-reports [2023-07-19T18:36:22.006Z] + Found adjustments [2023-07-19T18:36:22.006Z] ==> Gzipping contents [2023-07-19T18:36:22.006Z] 16K /tmp/codecov.5Q00GJ.gz [2023-07-19T18:36:22.006Z] ==> Uploading reports [2023-07-19T18:36:22.006Z] url: https://codecov.io [2023-07-19T18:36:22.006Z] query: branch=PR-1481&commit=d9b14ca86229f970d98c66e720754452139c6037&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1481%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1481&job=&cmd_args= [2023-07-19T18:36:22.006Z] -> Pinging Codecov [2023-07-19T18:36:22.006Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1481&commit=d9b14ca86229f970d98c66e720754452139c6037&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1481%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1481&job=&cmd_args= [2023-07-19T18:36:22.266Z] -> Uploading to [2023-07-19T18:36:22.266Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-19/7E55EF52A471D76F132DFD9A03CDDE97/d9b14ca86229f970d98c66e720754452139c6037/2083efdd-a72f-49dc-a2cf-b6925c2144cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T183622Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f5d8973baa9c212c114ec814a6aa29d85c0a6744ba5ad39a3272e9d86ddcd457 [2023-07-19T18:36:22.266Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T18:36:22.266Z] Dload Upload Total Spent Left Speed [2023-07-19T18:36:22.527Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14860 0 0 100 14860 0 66636 --:--:-- --:--:-- --:--:-- 66636 [2023-07-19T18:36:22.527Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d9b14ca86229f970d98c66e720754452139c6037 [Pipeline] } [2023-07-19T18:36:22.556Z] 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-07-19T18:36:24.326Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1481/archives ] [2023-07-19T18:36:24.326Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1481/archives [2023-07-19T18:36:24.326Z] total 16 [2023-07-19T18:36:24.326Z] drwxr-xr-x 3 root root 4096 Jul 19 18:26 . [2023-07-19T18:36:24.326Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:26 .. [2023-07-19T18:36:24.326Z] drwxr-xr-x 2 root root 4096 Jul 19 18:26 cost [2023-07-19T18:36:24.326Z] -rw-r--r-- 1 root root 86 Jul 19 18:26 cost.csv [2023-07-19T18:36:24.326Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1481/archives [2023-07-19T18:36:24.326Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1481/archives [2023-07-19T18:36:24.326Z] total 16 [2023-07-19T18:36:24.326Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:26 . [2023-07-19T18:36:24.326Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 18:26 .. [2023-07-19T18:36:24.326Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 18:26 cost [2023-07-19T18:36:24.326Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 19 18:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:36:24.653Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:36:25.547Z] ---> package-listing.sh [2023-07-19T18:36:25.547Z] ++ facter osfamily [2023-07-19T18:36:25.547Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-19T18:36:25.807Z] + OS_FAMILY=debian [2023-07-19T18:36:25.807Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1481 [2023-07-19T18:36:25.807Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-19T18:36:25.807Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-19T18:36:25.807Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-19T18:36:25.807Z] + PACKAGES=/tmp/packages_start.txt [2023-07-19T18:36:25.807Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1481 ']' [2023-07-19T18:36:25.807Z] + PACKAGES=/tmp/packages_end.txt [2023-07-19T18:36:25.807Z] + case "${OS_FAMILY}" in [2023-07-19T18:36:25.807Z] + dpkg -l [2023-07-19T18:36:25.807Z] + grep '^ii' [2023-07-19T18:36:25.807Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-19T18:36:25.807Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-19T18:36:25.807Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-19T18:36:25.807Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1481 ']' [2023-07-19T18:36:25.807Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1481/archives/ [2023-07-19T18:36:25.807Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1481/archives/ [Pipeline] echo [2023-07-19T18:36:25.841Z] 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-1481/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-19T18:36:26.133Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T18:36:26.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T18:36:26.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T18:36:26.918Z] prd-ubuntu20.04-docker-8c-8g-1557 does not seem to be running inside a container [2023-07-19T18:36:26.952Z] $ 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-1481/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-1481 -v /w/workspace/gexfoundry_device-sdk-go_PR-1481:/w/workspace/gexfoundry_device-sdk-go_PR-1481:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-19T18:36:27.140Z] $ docker top 9e5b3113e54a98ec9597a889dfde32a87868d8fb0ab4cb2ebbce33a435fe1644 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T18:36:27.530Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-19T18:36:27.833Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-19T18:36:28.145Z] + ls /var/log/sa-host [2023-07-19T18:36:28.145Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T18:36:28.375Z] provisioning config files... [2023-07-19T18:36:28.386Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1481@tmp/config1164422762453289181tmp [Pipeline] { [Pipeline] echo [2023-07-19T18:36:28.439Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:36:28.757Z] ---> create-netrc.sh [Pipeline] } [2023-07-19T18:36:28.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:36:29.194Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-19T18:36:29.227Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:36:29.541Z] ---> sudo-logs.sh [2023-07-19T18:36:29.541Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-19T18:36:29.628Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:36:29.936Z] ---> job-cost.sh [2023-07-19T18:36:29.936Z] lf-activate-venv: SKIPPING [2023-07-19T18:36:29.936Z] DEBUG: total: 0.2199999988079071 [2023-07-19T18:36:29.936Z] INFO: Retrieving Stack Cost... [2023-07-19T18:36:30.505Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T18:36:30.764Z] INFO: Archiving Costs [Pipeline] echo [2023-07-19T18:36:30.797Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T18:36:31.106Z] ---> logs-deploy.sh [2023-07-19T18:36:31.106Z] lf-activate-venv: SKIPPING [2023-07-19T18:36:31.106Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1481/1 [2023-07-19T18:36:31.106Z] INFO: archiving workspace using pattern(s): [2023-07-19T18:36:32.042Z] Archives upload complete. [2023-07-19T18:36:32.042Z] INFO: archiving logs to Nexus