Branch indexing 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 lindseysimple for edgexfoundry/device-sdk-go Obtained Jenkinsfile from af69577eb0e115ca7ea0ed95f3f7d03ef838ca86+3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c (0da806fe3e8f10a67c6f589fa34ee98fcb0be21d) 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-ssh5791398339652354563.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh13046675369296500229.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7508534579003813401.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6099878304255446905.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11948985256077842126.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7581 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [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-1515 # 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/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c into PR head commit af69577eb0e115ca7ea0ed95f3f7d03ef838ca86 Merge succeeded, producing 40d9d0d61341b9a8f48eba8695d9efd618ee3420 Checking out Revision 40d9d0d61341b9a8f48eba8695d9efd618ee3420 (PR-1515) > git config core.sparsecheckout # timeout=10 > git checkout -f af69577eb0e115ca7ea0ed95f3f7d03ef838ca86 # 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 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40d9d0d61341b9a8f48eba8695d9efd618ee3420 # timeout=10 Commit message: "Merge commit '3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-21T18:41:33.789Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-21T18:41:33.835Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-21T18:41:33.850Z] ========================================================= [2023-09-21T18:41:33.850Z] EdgeX Global Pipelines Version Info [2023-09-21T18:41:33.850Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:41:34.549Z] ------------------- [2023-09-21T18:41:34.549Z] stable info: [2023-09-21T18:41:34.549Z] ------------------- [2023-09-21T18:41:34.549Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-21T18:41:34.549Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-21T18:41:34.549Z] Message: update stable to v1.0.254 > git rev-list --no-walk c23928b2f08234ffeaa8acc38b3db17a95229a9e # timeout=10 [2023-09-21T18:41:35.119Z] ------------------- [2023-09-21T18:41:35.120Z] experimental info: [2023-09-21T18:41:35.120Z] ------------------- [2023-09-21T18:41:35.120Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-21T18:41:35.120Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-21T18:41:35.120Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-21T18:41:35.290Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-21T18:41:35.301Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-21T18:41:35.311Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-21T18:41:35.321Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-21T18:41:35.332Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-21T18:41:35.342Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-21T18:41:35.352Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-21T18:41:35.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-21T18:41:35.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-21T18:41:35.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-21T18:41:35.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-21T18:41:35.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-21T18:41:35.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-21T18:41:35.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-21T18:41:35.474Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-21T18:41:35.492Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-21T18:41:35.505Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-21T18:41:35.520Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-21T18:41:35.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-21T18:41:35.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-21T18:41:35.561Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-21T18:41:35.576Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-21T18:41:35.588Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-21T18:41:35.601Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-21T18:41:35.613Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-21T18:41:35.622Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-21T18:41:35.632Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-21T18:41:35.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1515 [Pipeline] echo [2023-09-21T18:41:35.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1515 [Pipeline] echo [2023-09-21T18:41:35.663Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1515 [Pipeline] echo [2023-09-21T18:41:35.677Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40d9d0d61341b9a8f48eba8695d9efd618ee3420 [Pipeline] echo [2023-09-21T18:41:35.689Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40d9d0d [Pipeline] echo [2023-09-21T18:41:35.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-21T18:41:35.743Z] provisioning config files... [2023-09-21T18:41:35.757Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config17444079495885038101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:41:36.065Z] ---> docker-login.sh [2023-09-21T18:41:36.066Z] nexus3.edgexfoundry.org:10001 [2023-09-21T18:41:36.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:41:36.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:41:36.326Z] Configure a credential helper to remove this warning. See [2023-09-21T18:41:36.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:41:36.326Z] [2023-09-21T18:41:36.326Z] Login Succeeded [2023-09-21T18:41:36.326Z] nexus3.edgexfoundry.org:10002 [2023-09-21T18:41:36.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:41:36.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:41:36.586Z] Configure a credential helper to remove this warning. See [2023-09-21T18:41:36.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:41:36.586Z] [2023-09-21T18:41:36.586Z] Login Succeeded [2023-09-21T18:41:36.586Z] nexus3.edgexfoundry.org:10003 [2023-09-21T18:41:36.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:41:36.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:41:36.586Z] Configure a credential helper to remove this warning. See [2023-09-21T18:41:36.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:41:36.586Z] [2023-09-21T18:41:36.586Z] Login Succeeded [2023-09-21T18:41:36.586Z] nexus3.edgexfoundry.org:10004 [2023-09-21T18:41:36.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:41:36.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:41:36.846Z] Configure a credential helper to remove this warning. See [2023-09-21T18:41:36.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:41:36.846Z] [2023-09-21T18:41:36.846Z] Login Succeeded [2023-09-21T18:41:36.846Z] docker.io [2023-09-21T18:41:36.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:41:37.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:41:37.109Z] Configure a credential helper to remove this warning. See [2023-09-21T18:41:37.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:41:37.109Z] [2023-09-21T18:41:37.109Z] Login Succeeded [2023-09-21T18:41:37.109Z] ---> docker-login.sh ends [Pipeline] } [2023-09-21T18:41:37.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-21T18:41:37.519Z] + git rev-list -1 --merges 40d9d0d61341b9a8f48eba8695d9efd618ee3420~1..40d9d0d61341b9a8f48eba8695d9efd618ee3420 [Pipeline] echo [2023-09-21T18:41:37.566Z] -----------> git rev-list -1 --merges 40d9d0d61341b9a8f48eba8695d9efd618ee3420~1..40d9d0d61341b9a8f48eba8695d9efd618ee3420 40d9d0d61341b9a8f48eba8695d9efd618ee3420 [2023-09-21T18:41:37.566Z] 40d9d0d61341b9a8f48eba8695d9efd618ee3420 [false] [Pipeline] sh [2023-09-21T18:41:37.861Z] + git log --format=format:%s -1 40d9d0d61341b9a8f48eba8695d9efd618ee3420 [Pipeline] echo [2023-09-21T18:41:37.885Z] ========================================================= [2023-09-21T18:41:37.885Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-21T18:41:37.885Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-21T18:41:38.205Z] + git log --format=format:%s -1 40d9d0d61341b9a8f48eba8695d9efd618ee3420 [Pipeline] echo [2023-09-21T18:41:38.217Z] [semverPrep] GIT_COMMIT: 40d9d0d61341b9a8f48eba8695d9efd618ee3420, Commit Message: Merge commit '3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c' into HEAD [Pipeline] echo [2023-09-21T18:41:38.222Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-21T18:41:38.578Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-21T18:41:38.578Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-21T18:41:38.578Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-21T18:41:38.578Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-21T18:41:38.578Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-21T18:41:38.578Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-21T18:41:38.578Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:41:38.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-21T18:41:38.991Z] [2023-09-21T18:41:38.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:41:39.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-21T18:41:39.357Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-21T18:41:39.357Z] b85a868b505f: Pulling fs layer [2023-09-21T18:41:39.357Z] e2be974225ed: Pulling fs layer [2023-09-21T18:41:39.357Z] 339a4e72a1f5: Pulling fs layer [2023-09-21T18:41:39.357Z] 988bab9f4d93: Pulling fs layer [2023-09-21T18:41:39.357Z] 1469e6f7b9e6: Pulling fs layer [2023-09-21T18:41:39.357Z] eaf3925da568: Pulling fs layer [2023-09-21T18:41:39.357Z] bab4dde63d76: Pulling fs layer [2023-09-21T18:41:39.357Z] bde34c3a00c8: Pulling fs layer [2023-09-21T18:41:39.357Z] b352a97aabf1: Pulling fs layer [2023-09-21T18:41:39.357Z] 4872d77fe225: Pulling fs layer [2023-09-21T18:41:39.357Z] 5851b861e8e6: Pulling fs layer [2023-09-21T18:41:39.357Z] 988bab9f4d93: Waiting [2023-09-21T18:41:39.357Z] 1469e6f7b9e6: Waiting [2023-09-21T18:41:39.357Z] eaf3925da568: Waiting [2023-09-21T18:41:39.357Z] bde34c3a00c8: Waiting [2023-09-21T18:41:39.357Z] 4872d77fe225: Waiting [2023-09-21T18:41:39.357Z] b352a97aabf1: Waiting [2023-09-21T18:41:39.357Z] 5851b861e8e6: Waiting [2023-09-21T18:41:39.357Z] e2be974225ed: Verifying Checksum [2023-09-21T18:41:39.357Z] e2be974225ed: Download complete [2023-09-21T18:41:39.357Z] 988bab9f4d93: Verifying Checksum [2023-09-21T18:41:39.357Z] 988bab9f4d93: Download complete [2023-09-21T18:41:39.620Z] 1469e6f7b9e6: Verifying Checksum [2023-09-21T18:41:39.621Z] 1469e6f7b9e6: Download complete [2023-09-21T18:41:39.621Z] eaf3925da568: Download complete [2023-09-21T18:41:39.621Z] 339a4e72a1f5: Verifying Checksum [2023-09-21T18:41:39.621Z] 339a4e72a1f5: Download complete [2023-09-21T18:41:39.621Z] bde34c3a00c8: Verifying Checksum [2023-09-21T18:41:39.621Z] bde34c3a00c8: Download complete [2023-09-21T18:41:39.621Z] b352a97aabf1: Verifying Checksum [2023-09-21T18:41:39.621Z] b352a97aabf1: Download complete [2023-09-21T18:41:39.621Z] 4872d77fe225: Verifying Checksum [2023-09-21T18:41:39.621Z] 4872d77fe225: Download complete [2023-09-21T18:41:39.621Z] 5851b861e8e6: Verifying Checksum [2023-09-21T18:41:39.621Z] 5851b861e8e6: Download complete [2023-09-21T18:41:39.621Z] b85a868b505f: Verifying Checksum [2023-09-21T18:41:39.621Z] b85a868b505f: Download complete [2023-09-21T18:41:39.878Z] bab4dde63d76: Download complete [2023-09-21T18:41:41.257Z] b85a868b505f: Pull complete [2023-09-21T18:41:41.257Z] e2be974225ed: Pull complete [2023-09-21T18:41:41.517Z] 339a4e72a1f5: Pull complete [2023-09-21T18:41:41.777Z] 988bab9f4d93: Pull complete [2023-09-21T18:41:42.037Z] 1469e6f7b9e6: Pull complete [2023-09-21T18:41:42.037Z] eaf3925da568: Pull complete [2023-09-21T18:41:43.939Z] bab4dde63d76: Pull complete [2023-09-21T18:41:43.939Z] bde34c3a00c8: Pull complete [2023-09-21T18:41:43.939Z] b352a97aabf1: Pull complete [2023-09-21T18:41:43.939Z] 4872d77fe225: Pull complete [2023-09-21T18:41:44.199Z] 5851b861e8e6: Pull complete [2023-09-21T18:41:44.199Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-21T18:41:44.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-21T18:41:44.199Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T18:41:44.289Z] prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container [2023-09-21T18:41:44.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@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-devops/py-git-semver:0.1.4 cat [2023-09-21T18:41:48.084Z] $ docker top f013aad99b170d134ff20af524b1e39a28c572fde7494f00d1ce322ed3e8ab0f -eo pid,comm [2023-09-21T18:41:48.148Z] 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-09-21T18:41:48.148Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-21T18:41:48.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-21T18:41:48.178Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-21T18:41:48.294Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-21T18:41:48.295Z] $ docker exec f013aad99b170d134ff20af524b1e39a28c572fde7494f00d1ce322ed3e8ab0f ssh-agent [2023-09-21T18:41:48.409Z] SSH_AUTH_SOCK=/tmp/ssh-R9iTKFA7Ht9I/agent.32 [2023-09-21T18:41:48.409Z] SSH_AGENT_PID=38 [2023-09-21T18:41:48.415Z] Running ssh-add (command line suppressed) [2023-09-21T18:41:48.510Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_12210540800672263058.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_12210540800672263058.key) [2023-09-21T18:41:48.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-21T18:41:48.807Z] + git tag --points-at HEAD [Pipeline] } [2023-09-21T18:41:48.822Z] $ docker exec --env ******** --env ******** f013aad99b170d134ff20af524b1e39a28c572fde7494f00d1ce322ed3e8ab0f ssh-agent -k [2023-09-21T18:41:48.919Z] unset SSH_AUTH_SOCK; [2023-09-21T18:41:48.920Z] unset SSH_AGENT_PID; [2023-09-21T18:41:48.920Z] echo Agent pid 38 killed; [2023-09-21T18:41:48.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-21T18:41:48.958Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-21T18:41:48.958Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-21T18:41:49.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-21T18:41:49.066Z] $ docker exec f013aad99b170d134ff20af524b1e39a28c572fde7494f00d1ce322ed3e8ab0f ssh-agent [2023-09-21T18:41:49.170Z] SSH_AUTH_SOCK=/tmp/ssh-CfjVS2S3Zl0g/agent.70 [2023-09-21T18:41:49.170Z] SSH_AGENT_PID=76 [2023-09-21T18:41:49.174Z] Running ssh-add (command line suppressed) [2023-09-21T18:41:49.283Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_15282176040712640513.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_15282176040712640513.key) [2023-09-21T18:41:49.298Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-21T18:41:49.587Z] + git semver init [2023-09-21T18:41:49.846Z] 2023-09-21 18:41:49,759 [run_init] DEBUG init version:0.0.0 force:False [2023-09-21T18:41:49.846Z] 2023-09-21 18:41:49,760 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver [2023-09-21T18:41:49.846Z] 2023-09-21 18:41:49,760 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver [2023-09-21T18:41:49.846Z] 2023-09-21 18:41:49,760 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515, universal_newlines=False, shell=None, istream=None) [2023-09-21T18:41:50.785Z] 2023-09-21 18:41:50,653 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.git/info/exclude [2023-09-21T18:41:50.785Z] 2023-09-21 18:41:50,653 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 with force:False [2023-09-21T18:41:50.785Z] 2023-09-21 18:41:50,653 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-21T18:41:50.785Z] 2023-09-21 18:41:50,658 [execute] INFO git cat-file --batch-check [2023-09-21T18:41:50.785Z] 2023-09-21 18:41:50,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) [2023-09-21T18:41:50.785Z] 2023-09-21 18:41:50,665 [execute] INFO git cat-file --batch [2023-09-21T18:41:50.785Z] 2023-09-21 18:41:50,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) [2023-09-21T18:41:50.785Z] 2023-09-21 18:41:50,671 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-21T18:41:50.785Z] 0.0.0 [Pipeline] } [2023-09-21T18:41:50.795Z] $ docker exec --env ******** --env ******** f013aad99b170d134ff20af524b1e39a28c572fde7494f00d1ce322ed3e8ab0f ssh-agent -k [2023-09-21T18:41:50.893Z] unset SSH_AUTH_SOCK; [2023-09-21T18:41:50.893Z] unset SSH_AGENT_PID; [2023-09-21T18:41:50.893Z] echo Agent pid 76 killed; [2023-09-21T18:41:50.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-21T18:41:51.211Z] + git semver [Pipeline] } [2023-09-21T18:41:51.483Z] $ docker stop --time=1 f013aad99b170d134ff20af524b1e39a28c572fde7494f00d1ce322ed3e8ab0f [2023-09-21T18:41:52.779Z] $ docker rm -f --volumes f013aad99b170d134ff20af524b1e39a28c572fde7494f00d1ce322ed3e8ab0f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-21T18:41:53.119Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-21T18:41:53.324Z] Stashed 1 file(s) [Pipeline] echo [2023-09-21T18:41:53.327Z] [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-09-21T18:41:53.471Z] provisioning config files... [2023-09-21T18:41:53.481Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config15005569020831147946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:41:53.776Z] ---> docker-login.sh [2023-09-21T18:41:53.776Z] nexus3.edgexfoundry.org:10001 [2023-09-21T18:41:53.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:41:53.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:41:53.776Z] Configure a credential helper to remove this warning. See [2023-09-21T18:41:53.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:41:53.776Z] [2023-09-21T18:41:53.776Z] Login Succeeded [2023-09-21T18:41:53.776Z] nexus3.edgexfoundry.org:10002 [2023-09-21T18:41:53.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:41:53.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:41:53.776Z] Configure a credential helper to remove this warning. See [2023-09-21T18:41:53.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:41:53.776Z] [2023-09-21T18:41:53.776Z] Login Succeeded [2023-09-21T18:41:53.776Z] nexus3.edgexfoundry.org:10003 [2023-09-21T18:41:54.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:41:54.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:41:54.036Z] Configure a credential helper to remove this warning. See [2023-09-21T18:41:54.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:41:54.036Z] [2023-09-21T18:41:54.036Z] Login Succeeded [2023-09-21T18:41:54.036Z] nexus3.edgexfoundry.org:10004 [2023-09-21T18:41:54.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:41:54.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:41:54.036Z] Configure a credential helper to remove this warning. See [2023-09-21T18:41:54.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:41:54.036Z] [2023-09-21T18:41:54.036Z] Login Succeeded [2023-09-21T18:41:54.036Z] docker.io [2023-09-21T18:41:54.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:41:54.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:41:54.295Z] Configure a credential helper to remove this warning. See [2023-09-21T18:41:54.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:41:54.295Z] [2023-09-21T18:41:54.295Z] Login Succeeded [2023-09-21T18:41:54.295Z] ---> docker-login.sh ends [Pipeline] } [2023-09-21T18:41:54.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-21T18:41:54.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-21T18:41:54.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-21T18:41:54.384Z] ========================================================= [2023-09-21T18:41:54.384Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-21T18:41:54.384Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:41:54.688Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-21T18:41:54.689Z] Sending build context to Docker daemon 11.25MB [2023-09-21T18:41:54.689Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-21T18:41:54.689Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-21T18:41:54.689Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-21T18:41:54.689Z] 7264a8db6415: Pulling fs layer [2023-09-21T18:41:54.689Z] c4d48a809fc2: Pulling fs layer [2023-09-21T18:41:54.689Z] 4f1c88b9dad5: Pulling fs layer [2023-09-21T18:41:54.689Z] ad3a456e5733: Pulling fs layer [2023-09-21T18:41:54.689Z] 33e27b845d1e: Pulling fs layer [2023-09-21T18:41:54.689Z] c68163c4e522: Pulling fs layer [2023-09-21T18:41:54.689Z] 50da416c3ac9: Pulling fs layer [2023-09-21T18:41:54.689Z] 23d2d4c4bb30: Pulling fs layer [2023-09-21T18:41:54.689Z] ad3a456e5733: Waiting [2023-09-21T18:41:54.689Z] 33e27b845d1e: Waiting [2023-09-21T18:41:54.689Z] c68163c4e522: Waiting [2023-09-21T18:41:54.689Z] 50da416c3ac9: Waiting [2023-09-21T18:41:54.689Z] 23d2d4c4bb30: Waiting [2023-09-21T18:41:54.984Z] c4d48a809fc2: Verifying Checksum [2023-09-21T18:41:54.985Z] ad3a456e5733: Verifying Checksum [2023-09-21T18:41:54.985Z] ad3a456e5733: Download complete [2023-09-21T18:41:54.985Z] 7264a8db6415: Verifying Checksum [2023-09-21T18:41:54.985Z] 7264a8db6415: Download complete [2023-09-21T18:41:54.985Z] 33e27b845d1e: Verifying Checksum [2023-09-21T18:41:54.985Z] 33e27b845d1e: Download complete [2023-09-21T18:41:54.985Z] c68163c4e522: Verifying Checksum [2023-09-21T18:41:54.985Z] c68163c4e522: Download complete [2023-09-21T18:41:54.985Z] 7264a8db6415: Pull complete [2023-09-21T18:41:55.261Z] c4d48a809fc2: Pull complete [2023-09-21T18:41:55.261Z] 23d2d4c4bb30: Verifying Checksum [2023-09-21T18:41:55.261Z] 23d2d4c4bb30: Download complete [2023-09-21T18:41:55.519Z] 4f1c88b9dad5: Verifying Checksum [2023-09-21T18:41:55.519Z] 4f1c88b9dad5: Download complete [2023-09-21T18:41:55.778Z] 50da416c3ac9: Verifying Checksum [2023-09-21T18:41:55.778Z] 50da416c3ac9: Download complete [2023-09-21T18:41:59.063Z] 4f1c88b9dad5: Pull complete [2023-09-21T18:41:59.323Z] ad3a456e5733: Pull complete [2023-09-21T18:41:59.582Z] 33e27b845d1e: Pull complete [2023-09-21T18:42:00.158Z] c68163c4e522: Pull complete [2023-09-21T18:42:03.464Z] 50da416c3ac9: Pull complete [2023-09-21T18:42:03.732Z] 23d2d4c4bb30: Pull complete [2023-09-21T18:42:03.732Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-21T18:42:03.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-21T18:42:03.992Z] ---> 0786185ac409 [2023-09-21T18:42:03.992Z] Step 3/10 : ARG MAKE=make build [2023-09-21T18:42:08.426Z] Still waiting to schedule task [2023-09-21T18:42:08.427Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-21T18:42:16.198Z] ---> Running in 9acbea7b7c91 [2023-09-21T18:42:16.199Z] Removing intermediate container 9acbea7b7c91 [2023-09-21T18:42:16.199Z] ---> cbf36200c528 [2023-09-21T18:42:16.199Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-21T18:42:16.199Z] ---> Running in 6853338ba159 [2023-09-21T18:42:16.199Z] Removing intermediate container 6853338ba159 [2023-09-21T18:42:16.199Z] ---> 6f880e4e7083 [2023-09-21T18:42:16.199Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-21T18:42:16.199Z] ---> Running in 2b6eda4f68fc [2023-09-21T18:42:16.199Z] Removing intermediate container 2b6eda4f68fc [2023-09-21T18:42:16.199Z] ---> eaf96870b8e9 [2023-09-21T18:42:16.199Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-21T18:42:16.199Z] ---> Running in c7ecec03f86d [2023-09-21T18:42:16.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-21T18:42:16.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-21T18:42:16.199Z] OK: 264 MiB in 52 packages [2023-09-21T18:42:16.199Z] Removing intermediate container c7ecec03f86d [2023-09-21T18:42:16.199Z] ---> 121ba467fc96 [2023-09-21T18:42:16.199Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-21T18:42:16.199Z] ---> b0e46c40daf5 [2023-09-21T18:42:16.199Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-21T18:42:16.199Z] ---> Running in 8dc02afde935 [2023-09-21T18:42:54.963Z] Removing intermediate container 8dc02afde935 [2023-09-21T18:42:54.963Z] ---> 88bdff406fd4 [2023-09-21T18:42:54.963Z] Step 9/10 : COPY . . [2023-09-21T18:42:55.223Z] ---> 1c7aa788c0dc [2023-09-21T18:42:55.223Z] Step 10/10 : RUN ${MAKE} [2023-09-21T18:42:55.223Z] ---> Running in 2f69481d1633 [2023-09-21T18:42:55.484Z] noop [2023-09-21T18:42:55.742Z] Removing intermediate container 2f69481d1633 [2023-09-21T18:42:55.742Z] ---> 506f3f497a0e [2023-09-21T18:42:55.743Z] Successfully built 506f3f497a0e [2023-09-21T18:42:55.743Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:42:56.060Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-21T18:42:56.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T18:42:56.138Z] prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container [2023-09-21T18:42:56.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@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 ******** -e ******** ci-base-image-x86_64 cat [2023-09-21T18:42:56.509Z] $ docker top 4279e7be90945040dfc93fab5b98d5a54348a1884e7134a1fe8d0e135e11b23a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-21T18:42:56.844Z] + go version [2023-09-21T18:42:56.844Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-21T18:42:56.865Z] $ docker stop --time=1 4279e7be90945040dfc93fab5b98d5a54348a1884e7134a1fe8d0e135e11b23a [2023-09-21T18:42:58.182Z] $ docker rm -f --volumes 4279e7be90945040dfc93fab5b98d5a54348a1884e7134a1fe8d0e135e11b23a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:42:58.594Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-21T18:42:58.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T18:42:58.675Z] prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container [2023-09-21T18:42:58.717Z] $ 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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@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 ******** -e ******** ci-base-image-x86_64 cat [2023-09-21T18:42:59.063Z] $ docker top 92febb61a85f66bf3b39c51ff4a249561c7df438d3c52c77e5748888200f7f5f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-21T18:42:59.397Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] fileExists [Pipeline] sh [2023-09-21T18:42:59.694Z] + make test [2023-09-21T18:42:59.694Z] go test -race -coverprofile=coverage.out ./... [2023-09-21T18:43:06.267Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-21T18:43:21.159Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-21T18:43:21.159Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-21T18:43:21.159Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-21T18:43:21.159Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-21T18:43:21.159Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-21T18:43:21.159Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-21T18:43:21.159Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-21T18:43:21.726Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.038s coverage: 27.6% of statements [2023-09-21T18:43:21.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.048s coverage: 80.0% of statements [2023-09-21T18:43:21.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-21T18:43:21.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.061s coverage: 86.0% of statements [2023-09-21T18:43:23.365Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.093s coverage: 71.8% of statements [2023-09-21T18:43:23.365Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-21T18:43:23.365Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-21T18:43:23.365Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-21T18:43:26.656Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.063s coverage: 14.4% of statements [2023-09-21T18:43:26.656Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.059s coverage: 45.6% of statements [2023-09-21T18:43:26.656Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.068s coverage: 68.5% of statements [2023-09-21T18:43:26.656Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.103s coverage: 89.2% of statements [2023-09-21T18:43:26.656Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.5% of statements [2023-09-21T18:43:34.795Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7582 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] { [Pipeline] ws [2023-09-21T18:43:34.808Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-09-21T18:43:34.838Z] The recommended git tool is: git [2023-09-21T18:43:39.832Z] using credential edgex-jenkins-ssh [2023-09-21T18:43:39.846Z] Cloning the remote Git repository [2023-09-21T18:43:39.891Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-21T18:43:39.979Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-09-21T18:43:40.129Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-21T18:43:40.131Z] > git --version # timeout=10 [2023-09-21T18:43:40.152Z] > git --version # 'git version 2.25.1' [2023-09-21T18:43:40.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-21T18:43:40.302Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-21T18:43:41.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-21T18:43:41.872Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-21T18:43:43.456Z] Merging remotes/origin/main commit 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c into PR head commit af69577eb0e115ca7ea0ed95f3f7d03ef838ca86 [2023-09-21T18:43:42.799Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-21T18:43:42.845Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-21T18:43:42.846Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-21T18:43:42.863Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-21T18:43:43.479Z] > git config core.sparsecheckout # timeout=10 [2023-09-21T18:43:43.546Z] > git checkout -f af69577eb0e115ca7ea0ed95f3f7d03ef838ca86 # timeout=10 [2023-09-21T18:43:43.794Z] Merge succeeded, producing 0cfc8f5b1fb7192e439ef60eb38dab717ba99ed4 [2023-09-21T18:43:43.794Z] Checking out Revision 0cfc8f5b1fb7192e439ef60eb38dab717ba99ed4 (PR-1515) [2023-09-21T18:43:44.791Z] GO111MODULE=on go vet ./... [2023-09-21T18:43:43.652Z] > git remote # timeout=10 [2023-09-21T18:43:43.668Z] > git config --get remote.origin.url # timeout=10 [2023-09-21T18:43:43.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-21T18:43:43.697Z] > git merge 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c # timeout=10 [2023-09-21T18:43:43.782Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-21T18:43:43.802Z] > git config core.sparsecheckout # timeout=10 [2023-09-21T18:43:43.819Z] > git checkout -f 0cfc8f5b1fb7192e439ef60eb38dab717ba99ed4 # timeout=10 [2023-09-21T18:43:47.262Z] Commit message: "Merge commit '3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c' into HEAD" [2023-09-21T18:43:47.285Z] First time build. Skipping changelog. [2023-09-21T18:43:47.321Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-21T18:43:47.321Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-21T18:43:47.321Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-21T18:43:47.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-21T18:43:47.355Z] $ docker stop --time=1 92febb61a85f66bf3b39c51ff4a249561c7df438d3c52c77e5748888200f7f5f [2023-09-21T18:43:47.271Z] > git rev-list --no-walk c23928b2f08234ffeaa8acc38b3db17a95229a9e # timeout=10 [2023-09-21T18:43:50.160Z] $ docker rm -f --volumes 92febb61a85f66bf3b39c51ff4a249561c7df438d3c52c77e5748888200f7f5f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-21T18:43:50.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-21T18:43:50.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-09-21T18:43:50.922Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-21T18:43:50.922Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-21T18:43:50.922Z] Dload Upload Total Spent Left Speed [2023-09-21T18:43:50.922Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-09-21T18:43:51.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh [2023-09-21T18:43:51.539Z] + ls -al . [2023-09-21T18:43:51.539Z] total 304 [2023-09-21T18:43:51.539Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 18:43 . [2023-09-21T18:43:51.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 18:41 .. [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 21 18:41 .dockerignore [2023-09-21T18:43:51.539Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 18:43 .git [2023-09-21T18:43:51.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 18:41 .github [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 21 18:41 .gitignore [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 18:41 .golangci.yml [2023-09-21T18:43:51.539Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 18:41 .semver [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 21 18:41 CHANGELOG.md [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 18:41 GOVERNANCE.md [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 21 18:41 Jenkinsfile [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 21 18:41 LICENSE [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 21 18:41 Makefile [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 21 18:41 OWNERS.md [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 21 18:41 README.md [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 18:41 VERSION [2023-09-21T18:43:51.539Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 18:41 bin [2023-09-21T18:43:51.539Z] -rw-r--r-- 1 jenkins jenkins 122404 Sep 21 18:43 coverage.out [2023-09-21T18:43:51.539Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 21 18:41 example [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 21 18:41 go.mod [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 21 18:41 go.sum [2023-09-21T18:43:51.539Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 18:41 internal [2023-09-21T18:43:51.539Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 18:41 openapi [2023-09-21T18:43:51.539Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 18:41 pkg [2023-09-21T18:43:51.539Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 18:41 snap [2023-09-21T18:43:51.539Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 21 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:43:51.655Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-21T18:43:51.848Z] + 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=40d9d0d61341b9a8f48eba8695d9efd618ee3420 --label arch=amd64 --label version=0.0.0 . [2023-09-21T18:43:51.848Z] Sending build context to Docker daemon 11.38MB [2023-09-21T18:43:51.848Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-21T18:43:51.848Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-21T18:43:51.848Z] ---> 506f3f497a0e [2023-09-21T18:43:51.848Z] Step 3/23 : ARG MAKE=make build [2023-09-21T18:43:51.978Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-09-21T18:43:51.978Z] [2023-09-21T18:43:51.978Z] { [2023-09-21T18:43:51.978Z] "registry-mirrors": [ [2023-09-21T18:43:51.978Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-21T18:43:51.978Z] ], [2023-09-21T18:43:51.978Z] "bip": "10.250.0.254/24", [2023-09-21T18:43:51.978Z] "hosts": [ [2023-09-21T18:43:51.978Z] "tcp://0.0.0.0:5555", [2023-09-21T18:43:51.978Z] "unix:///var/run/docker.sock" [2023-09-21T18:43:51.978Z] ], [2023-09-21T18:43:51.978Z] "mtu": 1458, [2023-09-21T18:43:51.978Z] "selinux-enabled": true, [2023-09-21T18:43:51.978Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-21T18:43:51.978Z] } [Pipeline] sh [2023-09-21T18:43:52.106Z] ---> Running in 2d7e45630106 [2023-09-21T18:43:52.106Z] Removing intermediate container 2d7e45630106 [2023-09-21T18:43:52.106Z] ---> 5bee3c0c2c14 [2023-09-21T18:43:52.106Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-21T18:43:52.106Z] ---> Running in dd2e7ee76539 [2023-09-21T18:43:52.297Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-21T18:43:52.393Z] Removing intermediate container dd2e7ee76539 [2023-09-21T18:43:52.394Z] ---> 05181cd971ae [2023-09-21T18:43:52.394Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-21T18:43:52.394Z] ---> Running in 44d45513daf0 [2023-09-21T18:43:52.394Z] Removing intermediate container 44d45513daf0 [2023-09-21T18:43:52.394Z] ---> d486a7a2b38e [2023-09-21T18:43:52.394Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-21T18:43:52.394Z] ---> Running in f44e904b9048 [2023-09-21T18:43:52.628Z] + sudo service docker restart [2023-09-21T18:43:52.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-21T18:43:52.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-21T18:43:53.169Z] OK: 264 MiB in 52 packages [2023-09-21T18:43:53.427Z] Removing intermediate container f44e904b9048 [2023-09-21T18:43:53.427Z] ---> 3964c5f9615a [2023-09-21T18:43:53.427Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-21T18:43:53.686Z] ---> f509626a11ce [2023-09-21T18:43:53.686Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-21T18:43:53.686Z] ---> Running in 026cf57e6187 [2023-09-21T18:43:54.253Z] Removing intermediate container 026cf57e6187 [2023-09-21T18:43:54.253Z] ---> 9b5fc5f5d812 [2023-09-21T18:43:54.253Z] Step 9/23 : COPY . . [2023-09-21T18:43:54.819Z] ---> f4f3e4cffa6b [2023-09-21T18:43:54.819Z] Step 10/23 : RUN ${MAKE} [2023-09-21T18:43:54.819Z] ---> Running in eeeb82ee2483 [2023-09-21T18:43:55.078Z] 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-09-21T18:44:10.868Z] provisioning config files... [2023-09-21T18:44:10.890Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config16759535960748443057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:44:11.226Z] ---> docker-login.sh [2023-09-21T18:44:11.226Z] nexus3.edgexfoundry.org:10001 [2023-09-21T18:44:11.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:44:11.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:44:11.766Z] Configure a credential helper to remove this warning. See [2023-09-21T18:44:11.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:44:11.766Z] [2023-09-21T18:44:11.766Z] Login Succeeded [2023-09-21T18:44:11.766Z] nexus3.edgexfoundry.org:10002 [2023-09-21T18:44:12.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:44:12.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:44:12.037Z] Configure a credential helper to remove this warning. See [2023-09-21T18:44:12.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:44:12.037Z] [2023-09-21T18:44:12.037Z] Login Succeeded [2023-09-21T18:44:12.037Z] nexus3.edgexfoundry.org:10003 [2023-09-21T18:44:12.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:44:12.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:44:12.574Z] Configure a credential helper to remove this warning. See [2023-09-21T18:44:12.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:44:12.574Z] [2023-09-21T18:44:12.574Z] Login Succeeded [2023-09-21T18:44:12.574Z] nexus3.edgexfoundry.org:10004 [2023-09-21T18:44:12.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:44:12.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:44:12.842Z] Configure a credential helper to remove this warning. See [2023-09-21T18:44:12.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:44:12.842Z] [2023-09-21T18:44:12.842Z] Login Succeeded [2023-09-21T18:44:12.842Z] docker.io [2023-09-21T18:44:13.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T18:44:13.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T18:44:13.382Z] Configure a credential helper to remove this warning. See [2023-09-21T18:44:13.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T18:44:13.382Z] [2023-09-21T18:44:13.382Z] Login Succeeded [2023-09-21T18:44:13.382Z] ---> docker-login.sh ends [Pipeline] } [2023-09-21T18:44:13.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-21T18:44:13.632Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-21T18:44:13.651Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-21T18:44:13.667Z] ========================================================= [2023-09-21T18:44:13.667Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-21T18:44:13.667Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:44:14.112Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-21T18:44:14.380Z] Sending build context to Docker daemon 6.052MB [2023-09-21T18:44:14.380Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-21T18:44:14.380Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-21T18:44:15.350Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-21T18:44:15.350Z] 9fda8d8052c6: Pulling fs layer [2023-09-21T18:44:15.350Z] 5d54e960e981: Pulling fs layer [2023-09-21T18:44:15.350Z] c4a7e357bf2a: Pulling fs layer [2023-09-21T18:44:15.350Z] f0e02332f6b5: Pulling fs layer [2023-09-21T18:44:15.350Z] cefa15bbcfad: Pulling fs layer [2023-09-21T18:44:15.350Z] 17808c966233: Pulling fs layer [2023-09-21T18:44:15.350Z] f4c1fc716caa: Pulling fs layer [2023-09-21T18:44:15.350Z] cefa15bbcfad: Waiting [2023-09-21T18:44:15.350Z] 17808c966233: Waiting [2023-09-21T18:44:15.350Z] f4c1fc716caa: Waiting [2023-09-21T18:44:15.350Z] f0e02332f6b5: Waiting [2023-09-21T18:44:15.350Z] 5d54e960e981: Download complete [2023-09-21T18:44:15.625Z] f0e02332f6b5: Verifying Checksum [2023-09-21T18:44:15.625Z] f0e02332f6b5: Download complete [2023-09-21T18:44:15.625Z] cefa15bbcfad: Verifying Checksum [2023-09-21T18:44:15.625Z] cefa15bbcfad: Download complete [2023-09-21T18:44:15.625Z] 9fda8d8052c6: Download complete [2023-09-21T18:44:15.893Z] f4c1fc716caa: Verifying Checksum [2023-09-21T18:44:15.893Z] f4c1fc716caa: Download complete [2023-09-21T18:44:16.481Z] 9fda8d8052c6: Pull complete [2023-09-21T18:44:16.749Z] 5d54e960e981: Pull complete [2023-09-21T18:44:17.017Z] c4a7e357bf2a: Verifying Checksum [2023-09-21T18:44:17.017Z] c4a7e357bf2a: Download complete [2023-09-21T18:44:17.092Z] Removing intermediate container eeeb82ee2483 [2023-09-21T18:44:17.092Z] ---> 68552c11c8b5 [2023-09-21T18:44:17.092Z] Step 11/23 : FROM alpine:3.18 [2023-09-21T18:44:17.092Z] 3.18: Pulling from library/alpine [2023-09-21T18:44:17.092Z] 7264a8db6415: Already exists [2023-09-21T18:44:17.092Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-21T18:44:17.092Z] Status: Downloaded newer image for alpine:3.18 [2023-09-21T18:44:17.092Z] ---> 7e01a0d0a1dc [2023-09-21T18:44:17.092Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-21T18:44:17.092Z] ---> Running in c251e182fa92 [2023-09-21T18:44:17.092Z] Removing intermediate container c251e182fa92 [2023-09-21T18:44:17.092Z] ---> 9fff29e865d6 [2023-09-21T18:44:17.092Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-21T18:44:17.092Z] ---> Running in 706718be3377 [2023-09-21T18:44:17.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-21T18:44:17.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-21T18:44:17.092Z] OK: 7 MiB in 15 packages [2023-09-21T18:44:17.092Z] Removing intermediate container 706718be3377 [2023-09-21T18:44:17.092Z] ---> 85aba73539f8 [2023-09-21T18:44:17.092Z] Step 14/23 : WORKDIR / [2023-09-21T18:44:17.092Z] ---> Running in 4d4282a199c6 [2023-09-21T18:44:17.092Z] Removing intermediate container 4d4282a199c6 [2023-09-21T18:44:17.092Z] ---> 3ef7e4c5bf5f [2023-09-21T18:44:17.092Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-21T18:44:17.092Z] ---> 10a91b1b9726 [2023-09-21T18:44:17.092Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-21T18:44:17.355Z] ---> 17011c7e99ce [2023-09-21T18:44:17.355Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-21T18:44:17.355Z] ---> ddbb10e309b3 [2023-09-21T18:44:17.355Z] Step 18/23 : EXPOSE 59999 [2023-09-21T18:44:17.355Z] ---> Running in e572b4422b55 [2023-09-21T18:44:17.355Z] Removing intermediate container e572b4422b55 [2023-09-21T18:44:17.355Z] ---> df1cf83747c1 [2023-09-21T18:44:17.355Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-21T18:44:17.613Z] ---> Running in 01581ec1fb80 [2023-09-21T18:44:17.613Z] Removing intermediate container 01581ec1fb80 [2023-09-21T18:44:17.613Z] ---> ad633d3cd57d [2023-09-21T18:44:17.613Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-21T18:44:17.613Z] ---> Running in 8587c735e753 [2023-09-21T18:44:17.613Z] Removing intermediate container 8587c735e753 [2023-09-21T18:44:17.613Z] ---> 0839d9851a64 [2023-09-21T18:44:17.613Z] Step 21/23 : LABEL arch=amd64 [2023-09-21T18:44:17.613Z] ---> Running in 1c3b9cd48a26 [2023-09-21T18:44:17.873Z] Removing intermediate container 1c3b9cd48a26 [2023-09-21T18:44:17.873Z] ---> f6ccf3d65c15 [2023-09-21T18:44:17.873Z] Step 22/23 : LABEL git_sha=40d9d0d61341b9a8f48eba8695d9efd618ee3420 [2023-09-21T18:44:17.873Z] ---> Running in 5cdc7e722949 [2023-09-21T18:44:17.873Z] Removing intermediate container 5cdc7e722949 [2023-09-21T18:44:17.873Z] ---> b69288c14edb [2023-09-21T18:44:17.873Z] Step 23/23 : LABEL version=0.0.0 [2023-09-21T18:44:17.873Z] ---> Running in 55e4bfd28813 [2023-09-21T18:44:17.980Z] 17808c966233: Verifying Checksum [2023-09-21T18:44:17.980Z] 17808c966233: Download complete [2023-09-21T18:44:18.132Z] Removing intermediate container 55e4bfd28813 [2023-09-21T18:44:18.133Z] ---> 3a5b92f91424 [2023-09-21T18:44:18.133Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-21T18:44:18.133Z] Successfully built 3a5b92f91424 [2023-09-21T18:44:18.133Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:44:18.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-21T18:44:18.592Z] [2023-09-21T18:44:18.592Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:44:18.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-21T18:44:18.893Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-21T18:44:18.893Z] 5eb5b503b376: Pulling fs layer [2023-09-21T18:44:18.893Z] 5c69ac0246d0: Pulling fs layer [2023-09-21T18:44:18.893Z] ec43610c2a17: Pulling fs layer [2023-09-21T18:44:18.893Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-21T18:44:18.893Z] 33b1e0a273af: Pulling fs layer [2023-09-21T18:44:18.893Z] 5d3b04190fa2: Pulling fs layer [2023-09-21T18:44:18.893Z] 2f39f015ded8: Pulling fs layer [2023-09-21T18:44:18.893Z] 33b1e0a273af: Waiting [2023-09-21T18:44:18.893Z] 3a2ae6a8a46f: Waiting [2023-09-21T18:44:18.893Z] 5d3b04190fa2: Waiting [2023-09-21T18:44:18.893Z] 2f39f015ded8: Waiting [2023-09-21T18:44:18.893Z] 5c69ac0246d0: Verifying Checksum [2023-09-21T18:44:18.893Z] 5c69ac0246d0: Download complete [2023-09-21T18:44:18.893Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-21T18:44:18.893Z] 3a2ae6a8a46f: Download complete [2023-09-21T18:44:19.152Z] 33b1e0a273af: Verifying Checksum [2023-09-21T18:44:19.152Z] 33b1e0a273af: Download complete [2023-09-21T18:44:19.152Z] ec43610c2a17: Verifying Checksum [2023-09-21T18:44:19.152Z] ec43610c2a17: Download complete [2023-09-21T18:44:19.152Z] 5d3b04190fa2: Download complete [2023-09-21T18:44:19.152Z] 5eb5b503b376: Verifying Checksum [2023-09-21T18:44:19.152Z] 5eb5b503b376: Download complete [2023-09-21T18:44:19.720Z] 2f39f015ded8: Download complete [2023-09-21T18:44:20.290Z] 5eb5b503b376: Pull complete [2023-09-21T18:44:20.550Z] 5c69ac0246d0: Pull complete [2023-09-21T18:44:21.119Z] ec43610c2a17: Pull complete [2023-09-21T18:44:21.119Z] 3a2ae6a8a46f: Pull complete [2023-09-21T18:44:21.377Z] 33b1e0a273af: Pull complete [2023-09-21T18:44:21.378Z] 5d3b04190fa2: Pull complete [2023-09-21T18:44:25.568Z] 2f39f015ded8: Pull complete [2023-09-21T18:44:25.568Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-21T18:44:25.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-21T18:44:25.568Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T18:44:25.656Z] prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container [2023-09-21T18:44:25.693Z] $ 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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-21T18:44:29.681Z] $ docker top 7d46430170a8a662319aa8243fc0cb46158f4e1d502bccda3bd3fde0d46eaa0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:44:30.071Z] ---> job-cost.sh [2023-09-21T18:44:30.071Z] lf-activate-venv: SKIPPING [2023-09-21T18:44:30.071Z] INFO: No Stack... [2023-09-21T18:44:30.314Z] c4a7e357bf2a: Pull complete [2023-09-21T18:44:30.314Z] f0e02332f6b5: Pull complete [2023-09-21T18:44:30.314Z] cefa15bbcfad: Pull complete [2023-09-21T18:44:30.329Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-21T18:44:30.897Z] INFO: Archiving Costs [Pipeline] sh [2023-09-21T18:44:31.185Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/cost.csv [2023-09-21T18:44:31.185Z] + cut -d, -f6 [Pipeline] lock [2023-09-21T18:44:31.197Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-4-stack-cost] [2023-09-21T18:44:31.209Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-4-stack-cost] did not exist. Created. [2023-09-21T18:44:31.209Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-21T18:44:31.508Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-21T18:44:31.539Z] Stashed 1 file(s) [Pipeline] } [2023-09-21T18:44:31.545Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-21T18:44:31.573Z] $ docker stop --time=1 7d46430170a8a662319aa8243fc0cb46158f4e1d502bccda3bd3fde0d46eaa0d [2023-09-21T18:44:32.726Z] $ docker rm -f --volumes 7d46430170a8a662319aa8243fc0cb46158f4e1d502bccda3bd3fde0d46eaa0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-21T18:44:36.985Z] 17808c966233: Pull complete [2023-09-21T18:44:37.960Z] f4c1fc716caa: Pull complete [2023-09-21T18:44:37.960Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-21T18:44:37.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-21T18:44:37.960Z] ---> ea914061e18c [2023-09-21T18:44:37.960Z] Step 3/10 : ARG MAKE=make build [2023-09-21T18:44:39.374Z] ---> Running in 0bac601e228b [2023-09-21T18:44:39.642Z] Removing intermediate container 0bac601e228b [2023-09-21T18:44:39.642Z] ---> a5d39ca77233 [2023-09-21T18:44:39.642Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-21T18:44:39.910Z] ---> Running in e86a1e8ee4ce [2023-09-21T18:44:40.177Z] Removing intermediate container e86a1e8ee4ce [2023-09-21T18:44:40.177Z] ---> 075639f61888 [2023-09-21T18:44:40.177Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-21T18:44:40.177Z] ---> Running in 8a701bd177b2 [2023-09-21T18:44:40.447Z] Removing intermediate container 8a701bd177b2 [2023-09-21T18:44:40.447Z] ---> bb5fdfc91d66 [2023-09-21T18:44:40.447Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-21T18:44:40.715Z] ---> Running in 1aff44dbde6f [2023-09-21T18:44:41.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-21T18:44:42.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-21T18:44:43.222Z] OK: 266 MiB in 52 packages [2023-09-21T18:44:43.816Z] Removing intermediate container 1aff44dbde6f [2023-09-21T18:44:43.816Z] ---> 7e741cc93a1b [2023-09-21T18:44:43.816Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-21T18:44:44.402Z] ---> a347dadb10e9 [2023-09-21T18:44:44.402Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-21T18:44:44.402Z] ---> Running in 1a4628b8feb2 [2023-09-21T18:46:06.022Z] Removing intermediate container 1a4628b8feb2 [2023-09-21T18:46:06.022Z] ---> a6a563c76212 [2023-09-21T18:46:06.022Z] Step 9/10 : COPY . . [2023-09-21T18:46:06.022Z] ---> ae614644ab64 [2023-09-21T18:46:06.022Z] Step 10/10 : RUN ${MAKE} [2023-09-21T18:46:06.022Z] ---> Running in cbb33ab34e3d [2023-09-21T18:46:06.022Z] noop [2023-09-21T18:46:06.022Z] Removing intermediate container cbb33ab34e3d [2023-09-21T18:46:06.022Z] ---> 306e0d0b00eb [2023-09-21T18:46:06.022Z] Successfully built 306e0d0b00eb [2023-09-21T18:46:06.022Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:46:06.360Z] + docker inspect -f . ci-base-image-arm64 [2023-09-21T18:46:06.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T18:46:06.534Z] prd-ubuntu20.04-docker-arm64-4c-16g-7582 does not seem to be running inside a container [2023-09-21T18:46:06.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-21T18:46:07.662Z] $ docker top 0d1ae22601ab5b8c5edcb7b7be5582f2276fb1870fb8762e2fdfb3efcf7c9b70 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-21T18:46:08.456Z] + go version [2023-09-21T18:46:08.457Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-21T18:46:08.475Z] $ docker stop --time=1 0d1ae22601ab5b8c5edcb7b7be5582f2276fb1870fb8762e2fdfb3efcf7c9b70 [2023-09-21T18:46:10.024Z] $ docker rm -f --volumes 0d1ae22601ab5b8c5edcb7b7be5582f2276fb1870fb8762e2fdfb3efcf7c9b70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:46:10.560Z] + docker inspect -f . ci-base-image-arm64 [2023-09-21T18:46:10.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T18:46:10.728Z] prd-ubuntu20.04-docker-arm64-4c-16g-7582 does not seem to be running inside a container [2023-09-21T18:46:10.788Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-21T18:46:11.890Z] $ docker top 1b61277ef60e5e2aec44cf406b56e257ac4ccfe45c2ac47bdfbd28f788930abe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-21T18:46:12.383Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-09-21T18:46:12.708Z] + make test [2023-09-21T18:46:12.708Z] go test -race -coverprofile=coverage.out ./... [2023-09-21T18:46:44.919Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-21T18:48:21.542Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-21T18:48:21.542Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-21T18:48:21.542Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-21T18:48:21.543Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-21T18:48:21.543Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-21T18:48:28.182Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.198s coverage: 27.6% of statements [2023-09-21T18:48:34.836Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.244s coverage: 80.0% of statements [2023-09-21T18:48:43.031Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-21T18:48:43.031Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-21T18:48:44.435Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.337s coverage: 86.0% of statements [2023-09-21T18:48:49.763Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-21T18:48:51.172Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.618s coverage: 71.8% of statements [2023-09-21T18:48:54.537Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.524s coverage: 14.4% of statements [2023-09-21T18:48:54.537Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.499s coverage: 45.9% of statements [2023-09-21T18:48:54.809Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-21T18:48:54.809Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-21T18:48:56.751Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.734s coverage: 68.5% of statements [2023-09-21T18:49:00.098Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.448s coverage: 89.2% of statements [2023-09-21T18:49:00.370Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-21T18:49:01.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.267s coverage: 5.5% of statements [2023-09-21T18:49:02.384Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-21T18:49:02.384Z] GO111MODULE=on go vet ./... [2023-09-21T18:50:39.430Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-21T18:50:39.430Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-21T18:50:39.430Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-21T18:50:39.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-21T18:50:39.463Z] $ docker stop --time=1 1b61277ef60e5e2aec44cf406b56e257ac4ccfe45c2ac47bdfbd28f788930abe [2023-09-21T18:50:44.704Z] $ docker rm -f --volumes 1b61277ef60e5e2aec44cf406b56e257ac4ccfe45c2ac47bdfbd28f788930abe [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-21T18:50:46.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-21T18:50:46.257Z] Warning: overwriting stash ‘coverage-report’ [2023-09-21T18:50:46.794Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-21T18:50:47.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-21T18:50:47.504Z] + ls -al . [2023-09-21T18:50:47.504Z] total 300 [2023-09-21T18:50:47.504Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 18:46 . [2023-09-21T18:50:47.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 18:43 .. [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 21 18:43 .dockerignore [2023-09-21T18:50:47.504Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 18:43 .git [2023-09-21T18:50:47.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 18:43 .github [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 21 18:43 .gitignore [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 18:43 .golangci.yml [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 21 18:43 CHANGELOG.md [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 18:43 GOVERNANCE.md [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 21 18:43 Jenkinsfile [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 21 18:43 LICENSE [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 21 18:43 Makefile [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 21 18:43 OWNERS.md [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 21 18:43 README.md [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 18:41 VERSION [2023-09-21T18:50:47.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 18:43 bin [2023-09-21T18:50:47.504Z] -rw-r--r-- 1 jenkins jenkins 122404 Sep 21 18:49 coverage.out [2023-09-21T18:50:47.504Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 21 18:43 example [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 21 18:43 go.mod [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 21 18:43 go.sum [2023-09-21T18:50:47.504Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 18:43 internal [2023-09-21T18:50:47.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 18:43 openapi [2023-09-21T18:50:47.504Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 18:43 pkg [2023-09-21T18:50:47.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 18:43 snap [2023-09-21T18:50:47.504Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 21 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:50:47.839Z] + 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=0cfc8f5b1fb7192e439ef60eb38dab717ba99ed4 --label arch=arm64 --label version=0.0.0 . [2023-09-21T18:50:48.104Z] Sending build context to Docker daemon 6.175MB [2023-09-21T18:50:48.371Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-21T18:50:48.371Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-21T18:50:48.371Z] ---> 306e0d0b00eb [2023-09-21T18:50:48.371Z] Step 3/23 : ARG MAKE=make build [2023-09-21T18:50:48.371Z] ---> Running in 9ec5d932ed1e [2023-09-21T18:50:48.638Z] Removing intermediate container 9ec5d932ed1e [2023-09-21T18:50:48.638Z] ---> 364ebb136706 [2023-09-21T18:50:48.638Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-21T18:50:48.638Z] ---> Running in 1b8ec9552b58 [2023-09-21T18:50:48.905Z] Removing intermediate container 1b8ec9552b58 [2023-09-21T18:50:48.905Z] ---> 1ab355fc2b64 [2023-09-21T18:50:48.905Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-21T18:50:49.172Z] ---> Running in 72706662053b [2023-09-21T18:50:49.443Z] Removing intermediate container 72706662053b [2023-09-21T18:50:49.443Z] ---> 38cfaad2b7ea [2023-09-21T18:50:49.443Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-21T18:50:49.443Z] ---> Running in 81f4e268b3bb [2023-09-21T18:50:50.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-21T18:50:50.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-21T18:50:52.077Z] OK: 266 MiB in 52 packages [2023-09-21T18:50:52.661Z] Removing intermediate container 81f4e268b3bb [2023-09-21T18:50:52.661Z] ---> f51b7177f936 [2023-09-21T18:50:52.661Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-21T18:50:53.245Z] ---> 13bc6636b2e7 [2023-09-21T18:50:53.245Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-21T18:50:53.245Z] ---> Running in 0f65efb93719 [2023-09-21T18:50:57.497Z] Removing intermediate container 0f65efb93719 [2023-09-21T18:50:57.497Z] ---> 3bab5fbafc83 [2023-09-21T18:50:57.497Z] Step 9/23 : COPY . . [2023-09-21T18:50:58.473Z] ---> 7e87327f2245 [2023-09-21T18:50:58.473Z] Step 10/23 : RUN ${MAKE} [2023-09-21T18:50:58.744Z] ---> Running in 5a980253dbec [2023-09-21T18:50:59.713Z] 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-09-21T18:52:51.343Z] Removing intermediate container 5a980253dbec [2023-09-21T18:52:51.343Z] ---> ae5a2c4daf57 [2023-09-21T18:52:51.343Z] Step 11/23 : FROM alpine:3.18 [2023-09-21T18:52:51.343Z] 3.18: Pulling from library/alpine [2023-09-21T18:52:51.343Z] 9fda8d8052c6: Already exists [2023-09-21T18:52:51.343Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-21T18:52:51.343Z] Status: Downloaded newer image for alpine:3.18 [2023-09-21T18:52:51.343Z] ---> f6648c04cd6c [2023-09-21T18:52:51.343Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-21T18:52:51.343Z] ---> Running in 4aa71354e222 [2023-09-21T18:52:51.343Z] Removing intermediate container 4aa71354e222 [2023-09-21T18:52:51.343Z] ---> 89f1496c490d [2023-09-21T18:52:51.343Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-21T18:52:51.343Z] ---> Running in e6f2ba045453 [2023-09-21T18:52:51.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-21T18:52:51.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-21T18:52:51.343Z] OK: 8 MiB in 15 packages [2023-09-21T18:52:51.343Z] Removing intermediate container e6f2ba045453 [2023-09-21T18:52:51.343Z] ---> 65d16fe0ea29 [2023-09-21T18:52:51.343Z] Step 14/23 : WORKDIR / [2023-09-21T18:52:51.343Z] ---> Running in 9899aeeafada [2023-09-21T18:52:51.343Z] Removing intermediate container 9899aeeafada [2023-09-21T18:52:51.343Z] ---> dfc85cd0e962 [2023-09-21T18:52:51.343Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-21T18:52:51.343Z] ---> 0aba26645f06 [2023-09-21T18:52:51.343Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-21T18:52:51.343Z] ---> eb1308b7ab30 [2023-09-21T18:52:51.343Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-21T18:52:51.343Z] ---> aea2fedd76ed [2023-09-21T18:52:51.343Z] Step 18/23 : EXPOSE 59999 [2023-09-21T18:52:51.343Z] ---> Running in 6a3714e1dc5a [2023-09-21T18:52:51.343Z] Removing intermediate container 6a3714e1dc5a [2023-09-21T18:52:51.343Z] ---> 728dbf90f9a3 [2023-09-21T18:52:51.343Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-21T18:52:51.343Z] ---> Running in c41af828d258 [2023-09-21T18:52:51.343Z] Removing intermediate container c41af828d258 [2023-09-21T18:52:51.343Z] ---> d12f2222fbc0 [2023-09-21T18:52:51.343Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-21T18:52:51.343Z] ---> Running in 0cb467afbef2 [2023-09-21T18:52:51.343Z] Removing intermediate container 0cb467afbef2 [2023-09-21T18:52:51.343Z] ---> 6430868a902e [2023-09-21T18:52:51.343Z] Step 21/23 : LABEL arch=arm64 [2023-09-21T18:52:51.343Z] ---> Running in 0ca1844a0b76 [2023-09-21T18:52:51.343Z] Removing intermediate container 0ca1844a0b76 [2023-09-21T18:52:51.343Z] ---> 711970f3284f [2023-09-21T18:52:51.343Z] Step 22/23 : LABEL git_sha=0cfc8f5b1fb7192e439ef60eb38dab717ba99ed4 [2023-09-21T18:52:51.343Z] ---> Running in d26f8b6ea947 [2023-09-21T18:52:51.343Z] Removing intermediate container d26f8b6ea947 [2023-09-21T18:52:51.343Z] ---> 1657e96bdd61 [2023-09-21T18:52:51.343Z] Step 23/23 : LABEL version=0.0.0 [2023-09-21T18:52:51.343Z] ---> Running in c1e877247a1f [2023-09-21T18:52:51.343Z] Removing intermediate container c1e877247a1f [2023-09-21T18:52:51.343Z] ---> 0e077f7c8249 [2023-09-21T18:52:51.343Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-21T18:52:51.343Z] Successfully built 0e077f7c8249 [2023-09-21T18:52:51.343Z] 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-09-21T18:52:51.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-21T18:52:51.779Z] [2023-09-21T18:52:51.779Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:52:52.104Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-21T18:52:52.104Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-21T18:52:52.104Z] 8998bd30e6a1: Pulling fs layer [2023-09-21T18:52:52.104Z] 04944245beec: Pulling fs layer [2023-09-21T18:52:52.104Z] 699f458cf7ca: Pulling fs layer [2023-09-21T18:52:52.104Z] 765212b225bb: Pulling fs layer [2023-09-21T18:52:52.104Z] f23df028b6ca: Pulling fs layer [2023-09-21T18:52:52.104Z] d65c8cfc05b1: Pulling fs layer [2023-09-21T18:52:52.104Z] 2437ff75d9bd: Pulling fs layer [2023-09-21T18:52:52.104Z] d65c8cfc05b1: Waiting [2023-09-21T18:52:52.104Z] f23df028b6ca: Waiting [2023-09-21T18:52:52.104Z] 2437ff75d9bd: Waiting [2023-09-21T18:52:52.104Z] 765212b225bb: Waiting [2023-09-21T18:52:52.370Z] 04944245beec: Verifying Checksum [2023-09-21T18:52:52.370Z] 04944245beec: Download complete [2023-09-21T18:52:52.370Z] 765212b225bb: Verifying Checksum [2023-09-21T18:52:52.370Z] 765212b225bb: Download complete [2023-09-21T18:52:52.370Z] f23df028b6ca: Download complete [2023-09-21T18:52:52.370Z] d65c8cfc05b1: Verifying Checksum [2023-09-21T18:52:52.370Z] d65c8cfc05b1: Download complete [2023-09-21T18:52:52.370Z] 699f458cf7ca: Verifying Checksum [2023-09-21T18:52:52.370Z] 699f458cf7ca: Download complete [2023-09-21T18:52:52.951Z] 8998bd30e6a1: Verifying Checksum [2023-09-21T18:52:52.951Z] 8998bd30e6a1: Download complete [2023-09-21T18:52:54.887Z] 2437ff75d9bd: Verifying Checksum [2023-09-21T18:52:54.887Z] 2437ff75d9bd: Download complete [2023-09-21T18:52:56.827Z] 8998bd30e6a1: Pull complete [2023-09-21T18:52:57.094Z] 04944245beec: Pull complete [2023-09-21T18:52:59.674Z] 699f458cf7ca: Pull complete [2023-09-21T18:52:59.674Z] 765212b225bb: Pull complete [2023-09-21T18:53:00.256Z] f23df028b6ca: Pull complete [2023-09-21T18:53:00.523Z] d65c8cfc05b1: Pull complete [2023-09-21T18:53:16.174Z] 2437ff75d9bd: Pull complete [2023-09-21T18:53:16.174Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-21T18:53:16.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-21T18:53:16.174Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T18:53:16.355Z] prd-ubuntu20.04-docker-arm64-4c-16g-7582 does not seem to be running inside a container [2023-09-21T18:53:16.416Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-21T18:53:18.835Z] $ docker top 4e2f5eaf1d51f39058f1b0749c4ab0f8d79b8ec3512e50890f7d0a8d02f3de0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:53:19.328Z] ---> job-cost.sh [2023-09-21T18:53:19.592Z] lf-activate-venv: SKIPPING [2023-09-21T18:53:19.592Z] INFO: No Stack... [2023-09-21T18:53:19.858Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-21T18:53:20.815Z] INFO: Archiving Costs [Pipeline] sh [2023-09-21T18:53:21.128Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-09-21T18:53:21.128Z] + cut -d, -f6 [Pipeline] lock [2023-09-21T18:53:21.458Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-4-stack-cost] [2023-09-21T18:53:21.464Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-4-stack-cost] did not exist. Created. [2023-09-21T18:53:21.464Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-21T18:53:21.799Z] /w/workspace/device-sdk-go/4@tmp/durable-fd50eef2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-21T18:53:22.125Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-21T18:53:22.138Z] Warning: overwriting stash ‘stack-cost’ [2023-09-21T18:53:22.211Z] Stashed 1 file(s) [Pipeline] } [2023-09-21T18:53:22.241Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-21T18:53:22.265Z] $ docker stop --time=1 4e2f5eaf1d51f39058f1b0749c4ab0f8d79b8ec3512e50890f7d0a8d02f3de0c [2023-09-21T18:53:23.731Z] $ docker rm -f --volumes 4e2f5eaf1d51f39058f1b0749c4ab0f8d79b8ec3512e50890f7d0a8d02f3de0c [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-09-21T18:53:24.134Z] provisioning config files... [2023-09-21T18:53:24.143Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config2148808693104872989tmp [Pipeline] { [Pipeline] sh [2023-09-21T18:53:24.433Z] + set +x [2023-09-21T18:53:24.433Z] + curl -s https://codecov.io/bash [2023-09-21T18:53:24.433Z] + bash -s -- [2023-09-21T18:53:24.433Z] [2023-09-21T18:53:24.433Z] _____ _ [2023-09-21T18:53:24.433Z] / ____| | | [2023-09-21T18:53:24.433Z] | | ___ __| | ___ ___ _____ __ [2023-09-21T18:53:24.433Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-21T18:53:24.433Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-21T18:53:24.433Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-21T18:53:24.433Z] Bash-1.0.6 [2023-09-21T18:53:24.433Z] [2023-09-21T18:53:24.433Z] [2023-09-21T18:53:24.433Z] ==> git version 2.25.1 found [2023-09-21T18:53:24.433Z] ==> 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-09-21T18:53:24.433Z] Release-Date: 2020-01-08 [2023-09-21T18:53:24.433Z] 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-09-21T18:53:24.433Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-21T18:53:24.433Z] ==> Jenkins CI detected. [2023-09-21T18:53:24.433Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-21T18:53:24.433Z] project root: . [2023-09-21T18:53:24.433Z] --> token set from env [2023-09-21T18:53:24.433Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-21T18:53:24.433Z] ==> Running gcov in . (disable via -X gcov) [2023-09-21T18:53:24.433Z] ==> Python coveragepy not found [2023-09-21T18:53:24.433Z] ==> Searching for coverage reports in: [2023-09-21T18:53:24.433Z] + . [2023-09-21T18:53:24.433Z] -> Found 1 reports [2023-09-21T18:53:24.433Z] ==> Detecting git/mercurial file structure [2023-09-21T18:53:24.433Z] ==> Reading reports [2023-09-21T18:53:24.433Z] + ./coverage.out bytes=122404 [2023-09-21T18:53:24.433Z] ==> Appending adjustments [2023-09-21T18:53:24.433Z] https://docs.codecov.io/docs/fixing-reports [2023-09-21T18:53:25.001Z] + Found adjustments [2023-09-21T18:53:25.001Z] ==> Gzipping contents [2023-09-21T18:53:25.001Z] 20K /tmp/codecov.NKfabV.gz [2023-09-21T18:53:25.001Z] ==> Uploading reports [2023-09-21T18:53:25.001Z] url: https://codecov.io [2023-09-21T18:53:25.001Z] query: branch=PR-1515&commit=40d9d0d61341b9a8f48eba8695d9efd618ee3420&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-21T18:53:25.001Z] -> Pinging Codecov [2023-09-21T18:53:25.001Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1515&commit=40d9d0d61341b9a8f48eba8695d9efd618ee3420&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-21T18:53:25.001Z] -> Uploading to [2023-09-21T18:53:25.001Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-21/7E55EF52A471D76F132DFD9A03CDDE97/40d9d0d61341b9a8f48eba8695d9efd618ee3420/bdc476fc-f368-4032-a0cd-8da1324a5f6e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230921T185324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b891f3c63f0d4e8d388cbf4fceb90e6b2fe92b4f5eee4bbd9a406f96a5049782 [2023-09-21T18:53:25.001Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-21T18:53:25.001Z] Dload Upload Total Spent Left Speed [2023-09-21T18:53:25.261Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16779 0 0 100 16779 0 78041 --:--:-- --:--:-- --:--:-- 78041 [2023-09-21T18:53:25.261Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/40d9d0d61341b9a8f48eba8695d9efd618ee3420 [Pipeline] } [2023-09-21T18:53:25.268Z] 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-09-21T18:53:25.952Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives ] [2023-09-21T18:53:25.953Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-21T18:53:25.953Z] total 16 [2023-09-21T18:53:25.953Z] drwxr-xr-x 3 root root 4096 Sep 21 18:44 . [2023-09-21T18:53:25.953Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 18:44 .. [2023-09-21T18:53:25.953Z] drwxr-xr-x 2 root root 4096 Sep 21 18:44 cost [2023-09-21T18:53:25.953Z] -rw-r--r-- 1 root root 86 Sep 21 18:44 cost.csv [2023-09-21T18:53:25.953Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-21T18:53:25.953Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-21T18:53:25.953Z] total 16 [2023-09-21T18:53:25.953Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 18:44 . [2023-09-21T18:53:25.953Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 18:44 .. [2023-09-21T18:53:25.953Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 18:44 cost [2023-09-21T18:53:25.953Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 21 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:53:26.239Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:53:27.091Z] ---> package-listing.sh [2023-09-21T18:53:27.091Z] ++ facter osfamily [2023-09-21T18:53:27.091Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-21T18:53:27.350Z] + OS_FAMILY=debian [2023-09-21T18:53:27.350Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-21T18:53:27.350Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-21T18:53:27.350Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-21T18:53:27.350Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-21T18:53:27.350Z] + PACKAGES=/tmp/packages_start.txt [2023-09-21T18:53:27.350Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-21T18:53:27.350Z] + PACKAGES=/tmp/packages_end.txt [2023-09-21T18:53:27.350Z] + case "${OS_FAMILY}" in [2023-09-21T18:53:27.350Z] + dpkg -l [2023-09-21T18:53:27.350Z] + grep '^ii' [2023-09-21T18:53:27.350Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-21T18:53:27.350Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-21T18:53:27.350Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-21T18:53:27.350Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-21T18:53:27.350Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [2023-09-21T18:53:27.350Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [Pipeline] echo [2023-09-21T18:53:27.359Z] 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-1515/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-21T18:53:27.635Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T18:53:28.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-21T18:53:28.190Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T18:53:28.258Z] prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container [2023-09-21T18:53:28.305Z] $ 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-1515/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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-21T18:53:28.513Z] $ docker top 1c14f295efefcb35deaa03be974181b0e72e5968882b09488c8620615d6ae076 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-21T18:53:28.843Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-21T18:53:29.129Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-21T18:53:29.409Z] + ls /var/log/sa-host [2023-09-21T18:53:29.409Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-21T18:53:29.565Z] provisioning config files... [2023-09-21T18:53:29.574Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config1337864857537483975tmp [Pipeline] { [Pipeline] echo [2023-09-21T18:53:29.588Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:53:29.867Z] ---> create-netrc.sh [Pipeline] } [2023-09-21T18:53:29.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:53:30.203Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-21T18:53:30.211Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:53:30.494Z] ---> sudo-logs.sh [2023-09-21T18:53:30.494Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-21T18:53:30.525Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:53:30.809Z] ---> job-cost.sh [2023-09-21T18:53:30.809Z] lf-activate-venv: SKIPPING [2023-09-21T18:53:30.809Z] DEBUG: total: 0.2199999988079071 [2023-09-21T18:53:30.809Z] INFO: Retrieving Stack Cost... [2023-09-21T18:53:31.068Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-21T18:53:31.635Z] INFO: Archiving Costs [Pipeline] echo [2023-09-21T18:53:31.644Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-21T18:53:31.928Z] ---> logs-deploy.sh [2023-09-21T18:53:31.928Z] lf-activate-venv: SKIPPING [2023-09-21T18:53:31.928Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1515/4 [2023-09-21T18:53:31.928Z] INFO: archiving workspace using pattern(s): [2023-09-21T18:53:32.866Z] Archives upload complete. [2023-09-21T18:53:32.866Z] INFO: archiving logs to Nexus