Pull request #1515 updated 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+c9092965fc0e73fdbee605785b6ca16e2186cbeb (05be50c11992b7a505e3c91d4b5d9f5b96a226e5) 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-ssh156094157113948607.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-ssh17444020567621096194.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-ssh12432515409177580439.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-ssh12682887020014601058.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-ssh15423675772376940495.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 ‘prd-ubuntu20.04-docker-8c-8g-6688’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6690 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 c9092965fc0e73fdbee605785b6ca16e2186cbeb into PR head commit af69577eb0e115ca7ea0ed95f3f7d03ef838ca86 Merge succeeded, producing c8c5973bbdb72dd00399e54ac8629bcd0fe09291 Checking out Revision c8c5973bbdb72dd00399e54ac8629bcd0fe09291 (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 c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8c5973bbdb72dd00399e54ac8629bcd0fe09291 # timeout=10 Commit message: "Merge commit 'c9092965fc0e73fdbee605785b6ca16e2186cbeb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T09:48:54.632Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T09:48:54.680Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T09:48:54.695Z] ========================================================= [2023-09-20T09:48:54.695Z] EdgeX Global Pipelines Version Info [2023-09-20T09:48:54.695Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6a2fc06240bb59db64b056da111c40e6b450f84b # timeout=10 [2023-09-20T09:48:55.777Z] ------------------- [2023-09-20T09:48:55.777Z] stable info: [2023-09-20T09:48:55.777Z] ------------------- [2023-09-20T09:48:55.777Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T09:48:55.777Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T09:48:55.777Z] Message: update stable to v1.0.254 [2023-09-20T09:48:56.036Z] ------------------- [2023-09-20T09:48:56.036Z] experimental info: [2023-09-20T09:48:56.036Z] ------------------- [2023-09-20T09:48:56.036Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T09:48:56.036Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T09:48:56.036Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T09:48:56.206Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-20T09:48:56.215Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-20T09:48:56.231Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T09:48:56.242Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T09:48:56.253Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T09:48:56.264Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T09:48:56.275Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T09:48:56.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-20T09:48:56.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T09:48:56.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T09:48:56.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T09:48:56.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-20T09:48:56.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T09:48:56.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T09:48:56.383Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T09:48:56.395Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T09:48:56.405Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T09:48:56.416Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T09:48:56.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T09:48:56.439Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T09:48:56.452Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-20T09:48:56.471Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-20T09:48:56.488Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T09:48:56.504Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T09:48:56.521Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T09:48:56.538Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T09:48:56.558Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T09:48:56.576Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1515 [Pipeline] echo [2023-09-20T09:48:56.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1515 [Pipeline] echo [2023-09-20T09:48:56.616Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1515 [Pipeline] echo [2023-09-20T09:48:56.639Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8c5973bbdb72dd00399e54ac8629bcd0fe09291 [Pipeline] echo [2023-09-20T09:48:56.654Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8c5973 [Pipeline] echo [2023-09-20T09:48:56.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T09:48:56.717Z] provisioning config files... [2023-09-20T09:48:56.732Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config11853598454045408388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T09:48:57.034Z] ---> docker-login.sh [2023-09-20T09:48:57.034Z] nexus3.edgexfoundry.org:10001 [2023-09-20T09:48:57.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:48:57.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:48:57.295Z] Configure a credential helper to remove this warning. See [2023-09-20T09:48:57.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:48:57.295Z] [2023-09-20T09:48:57.295Z] Login Succeeded [2023-09-20T09:48:57.295Z] nexus3.edgexfoundry.org:10002 [2023-09-20T09:48:57.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:48:57.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:48:57.556Z] Configure a credential helper to remove this warning. See [2023-09-20T09:48:57.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:48:57.556Z] [2023-09-20T09:48:57.556Z] Login Succeeded [2023-09-20T09:48:57.556Z] nexus3.edgexfoundry.org:10003 [2023-09-20T09:48:57.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:48:57.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:48:57.556Z] Configure a credential helper to remove this warning. See [2023-09-20T09:48:57.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:48:57.556Z] [2023-09-20T09:48:57.556Z] Login Succeeded [2023-09-20T09:48:57.556Z] nexus3.edgexfoundry.org:10004 [2023-09-20T09:48:57.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:48:57.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:48:57.817Z] Configure a credential helper to remove this warning. See [2023-09-20T09:48:57.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:48:57.817Z] [2023-09-20T09:48:57.817Z] Login Succeeded [2023-09-20T09:48:57.817Z] docker.io [2023-09-20T09:48:57.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:48:58.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:48:58.076Z] Configure a credential helper to remove this warning. See [2023-09-20T09:48:58.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:48:58.076Z] [2023-09-20T09:48:58.076Z] Login Succeeded [2023-09-20T09:48:58.076Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T09:48:58.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T09:48:58.502Z] + git rev-list -1 --merges c8c5973bbdb72dd00399e54ac8629bcd0fe09291~1..c8c5973bbdb72dd00399e54ac8629bcd0fe09291 [Pipeline] echo [2023-09-20T09:48:58.547Z] -----------> git rev-list -1 --merges c8c5973bbdb72dd00399e54ac8629bcd0fe09291~1..c8c5973bbdb72dd00399e54ac8629bcd0fe09291 c8c5973bbdb72dd00399e54ac8629bcd0fe09291 [2023-09-20T09:48:58.547Z] c8c5973bbdb72dd00399e54ac8629bcd0fe09291 [false] [Pipeline] sh [2023-09-20T09:48:58.834Z] + git log --format=format:%s -1 c8c5973bbdb72dd00399e54ac8629bcd0fe09291 [Pipeline] echo [2023-09-20T09:48:58.848Z] ========================================================= [2023-09-20T09:48:58.848Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T09:48:58.848Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T09:48:59.185Z] + git log --format=format:%s -1 c8c5973bbdb72dd00399e54ac8629bcd0fe09291 [Pipeline] echo [2023-09-20T09:48:59.195Z] [semverPrep] GIT_COMMIT: c8c5973bbdb72dd00399e54ac8629bcd0fe09291, Commit Message: Merge commit 'c9092965fc0e73fdbee605785b6ca16e2186cbeb' into HEAD [Pipeline] echo [2023-09-20T09:48:59.211Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T09:48:59.555Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T09:48:59.555Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T09:48:59.555Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T09:48:59.555Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T09:48:59.555Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T09:48:59.555Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T09:48:59.555Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T09:48:59.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T09:48:59.899Z] [2023-09-20T09:48:59.899Z] 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-20T09:49:00.199Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T09:49:00.199Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T09:49:00.199Z] b85a868b505f: Pulling fs layer [2023-09-20T09:49:00.199Z] e2be974225ed: Pulling fs layer [2023-09-20T09:49:00.199Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T09:49:00.199Z] 988bab9f4d93: Pulling fs layer [2023-09-20T09:49:00.199Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T09:49:00.199Z] eaf3925da568: Pulling fs layer [2023-09-20T09:49:00.199Z] bab4dde63d76: Pulling fs layer [2023-09-20T09:49:00.199Z] bde34c3a00c8: Pulling fs layer [2023-09-20T09:49:00.199Z] b352a97aabf1: Pulling fs layer [2023-09-20T09:49:00.199Z] 4872d77fe225: Pulling fs layer [2023-09-20T09:49:00.199Z] 5851b861e8e6: Pulling fs layer [2023-09-20T09:49:00.199Z] 1469e6f7b9e6: Waiting [2023-09-20T09:49:00.199Z] b352a97aabf1: Waiting [2023-09-20T09:49:00.199Z] eaf3925da568: Waiting [2023-09-20T09:49:00.199Z] 4872d77fe225: Waiting [2023-09-20T09:49:00.199Z] bab4dde63d76: Waiting [2023-09-20T09:49:00.199Z] 988bab9f4d93: Waiting [2023-09-20T09:49:00.199Z] 5851b861e8e6: Waiting [2023-09-20T09:49:00.199Z] e2be974225ed: Download complete [2023-09-20T09:49:00.199Z] 988bab9f4d93: Verifying Checksum [2023-09-20T09:49:00.199Z] 988bab9f4d93: Download complete [2023-09-20T09:49:00.199Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T09:49:00.199Z] 1469e6f7b9e6: Download complete [2023-09-20T09:49:00.199Z] eaf3925da568: Verifying Checksum [2023-09-20T09:49:00.199Z] eaf3925da568: Download complete [2023-09-20T09:49:00.199Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T09:49:00.199Z] 339a4e72a1f5: Download complete [2023-09-20T09:49:00.458Z] bde34c3a00c8: Download complete [2023-09-20T09:49:00.458Z] b352a97aabf1: Download complete [2023-09-20T09:49:00.458Z] 4872d77fe225: Verifying Checksum [2023-09-20T09:49:00.458Z] 4872d77fe225: Download complete [2023-09-20T09:49:00.458Z] b85a868b505f: Verifying Checksum [2023-09-20T09:49:00.458Z] b85a868b505f: Download complete [2023-09-20T09:49:00.717Z] bab4dde63d76: Verifying Checksum [2023-09-20T09:49:00.717Z] bab4dde63d76: Download complete [2023-09-20T09:49:01.654Z] b85a868b505f: Pull complete [2023-09-20T09:49:01.654Z] e2be974225ed: Pull complete [2023-09-20T09:49:02.221Z] 339a4e72a1f5: Pull complete [2023-09-20T09:49:02.221Z] 988bab9f4d93: Pull complete [2023-09-20T09:49:02.480Z] 1469e6f7b9e6: Pull complete [2023-09-20T09:49:02.480Z] eaf3925da568: Pull complete [2023-09-20T09:49:04.383Z] bab4dde63d76: Pull complete [2023-09-20T09:49:04.383Z] bde34c3a00c8: Pull complete [2023-09-20T09:49:04.383Z] b352a97aabf1: Pull complete [2023-09-20T09:49:04.383Z] 4872d77fe225: Pull complete [2023-09-20T09:49:04.641Z] 5851b861e8e6: Pull complete [2023-09-20T09:49:04.641Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T09:49:04.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T09:49:04.641Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T09:49:04.731Z] prd-ubuntu20.04-docker-8c-8g-6690 does not seem to be running inside a container [2023-09-20T09:49:04.763Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T09:49:07.032Z] $ docker top 3d89e6c0da9948d9c0a7800bdd185cd656cc65f64a96b21347c393a42456dcd7 -eo pid,comm [2023-09-20T09:49:07.081Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T09:49:07.081Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T09:49:07.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T09:49:07.122Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T09:49:07.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T09:49:07.228Z] $ docker exec 3d89e6c0da9948d9c0a7800bdd185cd656cc65f64a96b21347c393a42456dcd7 ssh-agent [2023-09-20T09:49:07.339Z] SSH_AUTH_SOCK=/tmp/ssh-GIgylQ5F3saM/agent.32 [2023-09-20T09:49:07.339Z] SSH_AGENT_PID=38 [2023-09-20T09:49:07.347Z] Running ssh-add (command line suppressed) [2023-09-20T09:49:07.456Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_2420424568339176758.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_2420424568339176758.key) [2023-09-20T09:49:07.465Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T09:49:07.752Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T09:49:07.771Z] $ docker exec --env ******** --env ******** 3d89e6c0da9948d9c0a7800bdd185cd656cc65f64a96b21347c393a42456dcd7 ssh-agent -k [2023-09-20T09:49:07.875Z] unset SSH_AUTH_SOCK; [2023-09-20T09:49:07.875Z] unset SSH_AGENT_PID; [2023-09-20T09:49:07.876Z] echo Agent pid 38 killed; [2023-09-20T09:49:07.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T09:49:07.908Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T09:49:07.908Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T09:49:08.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T09:49:08.034Z] $ docker exec 3d89e6c0da9948d9c0a7800bdd185cd656cc65f64a96b21347c393a42456dcd7 ssh-agent [2023-09-20T09:49:08.146Z] SSH_AUTH_SOCK=/tmp/ssh-mtOsBFt5OdRR/agent.69 [2023-09-20T09:49:08.146Z] SSH_AGENT_PID=75 [2023-09-20T09:49:08.151Z] Running ssh-add (command line suppressed) [2023-09-20T09:49:08.256Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_13043457289518049059.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_13043457289518049059.key) [2023-09-20T09:49:08.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T09:49:08.562Z] + git semver init [2023-09-20T09:49:08.822Z] 2023-09-20 09:49:08,743 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T09:49:08.822Z] 2023-09-20 09:49:08,743 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver [2023-09-20T09:49:08.822Z] 2023-09-20 09:49:08,744 [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-20T09:49:08.822Z] 2023-09-20 09:49:08,744 [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-20T09:49:09.757Z] 2023-09-20 09:49:09,632 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.git/info/exclude [2023-09-20T09:49:09.757Z] 2023-09-20 09:49:09,633 [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-20T09:49:09.757Z] 2023-09-20 09:49:09,633 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-20T09:49:09.757Z] 2023-09-20 09:49:09,637 [execute] INFO git cat-file --batch-check [2023-09-20T09:49:09.757Z] 2023-09-20 09:49:09,638 [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-20T09:49:09.757Z] 2023-09-20 09:49:09,643 [execute] INFO git cat-file --batch [2023-09-20T09:49:09.757Z] 2023-09-20 09:49:09,643 [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-20T09:49:09.757Z] 2023-09-20 09:49:09,648 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-20T09:49:09.757Z] 0.0.0 [Pipeline] } [2023-09-20T09:49:09.769Z] $ docker exec --env ******** --env ******** 3d89e6c0da9948d9c0a7800bdd185cd656cc65f64a96b21347c393a42456dcd7 ssh-agent -k [2023-09-20T09:49:09.858Z] unset SSH_AUTH_SOCK; [2023-09-20T09:49:09.858Z] unset SSH_AGENT_PID; [2023-09-20T09:49:09.859Z] echo Agent pid 75 killed; [2023-09-20T09:49:09.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T09:49:10.181Z] + git semver [Pipeline] } [2023-09-20T09:49:10.459Z] $ docker stop --time=1 3d89e6c0da9948d9c0a7800bdd185cd656cc65f64a96b21347c393a42456dcd7 [2023-09-20T09:49:11.781Z] $ docker rm -f --volumes 3d89e6c0da9948d9c0a7800bdd185cd656cc65f64a96b21347c393a42456dcd7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T09:49:12.111Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T09:49:12.340Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T09:49:12.342Z] [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-20T09:49:12.520Z] provisioning config files... [2023-09-20T09:49:12.530Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config5280965670722638867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T09:49:12.828Z] ---> docker-login.sh [2023-09-20T09:49:12.828Z] nexus3.edgexfoundry.org:10001 [2023-09-20T09:49:12.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:49:12.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:49:12.828Z] Configure a credential helper to remove this warning. See [2023-09-20T09:49:12.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:49:12.828Z] [2023-09-20T09:49:12.828Z] Login Succeeded [2023-09-20T09:49:12.828Z] nexus3.edgexfoundry.org:10002 [2023-09-20T09:49:12.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:49:12.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:49:12.828Z] Configure a credential helper to remove this warning. See [2023-09-20T09:49:12.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:49:12.828Z] [2023-09-20T09:49:12.828Z] Login Succeeded [2023-09-20T09:49:12.828Z] nexus3.edgexfoundry.org:10003 [2023-09-20T09:49:13.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:49:13.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:49:13.087Z] Configure a credential helper to remove this warning. See [2023-09-20T09:49:13.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:49:13.087Z] [2023-09-20T09:49:13.087Z] Login Succeeded [2023-09-20T09:49:13.087Z] nexus3.edgexfoundry.org:10004 [2023-09-20T09:49:13.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:49:13.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:49:13.087Z] Configure a credential helper to remove this warning. See [2023-09-20T09:49:13.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:49:13.087Z] [2023-09-20T09:49:13.087Z] Login Succeeded [2023-09-20T09:49:13.087Z] docker.io [2023-09-20T09:49:13.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:49:13.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:49:13.346Z] Configure a credential helper to remove this warning. See [2023-09-20T09:49:13.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:49:13.346Z] [2023-09-20T09:49:13.346Z] Login Succeeded [2023-09-20T09:49:13.346Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T09:49:13.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T09:49:13.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T09:49:13.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T09:49:13.437Z] ========================================================= [2023-09-20T09:49:13.437Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T09:49:13.437Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T09:49:13.745Z] + 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-20T09:49:13.745Z] Sending build context to Docker daemon 11.24MB [2023-09-20T09:49:13.745Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T09:49:13.745Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T09:49:14.005Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T09:49:14.005Z] 7264a8db6415: Pulling fs layer [2023-09-20T09:49:14.005Z] c4d48a809fc2: Pulling fs layer [2023-09-20T09:49:14.005Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T09:49:14.005Z] ad3a456e5733: Pulling fs layer [2023-09-20T09:49:14.005Z] 9e4f439ed901: Pulling fs layer [2023-09-20T09:49:14.005Z] feaf6a47b606: Pulling fs layer [2023-09-20T09:49:14.005Z] 5e8b037d7d82: Pulling fs layer [2023-09-20T09:49:14.005Z] 8ac70367396e: Pulling fs layer [2023-09-20T09:49:14.005Z] 6db16350a2e2: Pulling fs layer [2023-09-20T09:49:14.005Z] 9250d5d63582: Pulling fs layer [2023-09-20T09:49:14.005Z] 5e8b037d7d82: Waiting [2023-09-20T09:49:14.005Z] 9e4f439ed901: Waiting [2023-09-20T09:49:14.005Z] ad3a456e5733: Waiting [2023-09-20T09:49:14.005Z] feaf6a47b606: Waiting [2023-09-20T09:49:14.005Z] 8ac70367396e: Waiting [2023-09-20T09:49:14.005Z] 6db16350a2e2: Waiting [2023-09-20T09:49:14.005Z] 9250d5d63582: Waiting [2023-09-20T09:49:14.005Z] c4d48a809fc2: Verifying Checksum [2023-09-20T09:49:14.005Z] c4d48a809fc2: Download complete [2023-09-20T09:49:14.005Z] ad3a456e5733: Download complete [2023-09-20T09:49:14.005Z] 9e4f439ed901: Verifying Checksum [2023-09-20T09:49:14.005Z] 9e4f439ed901: Download complete [2023-09-20T09:49:14.005Z] 7264a8db6415: Verifying Checksum [2023-09-20T09:49:14.005Z] 7264a8db6415: Download complete [2023-09-20T09:49:14.005Z] feaf6a47b606: Verifying Checksum [2023-09-20T09:49:14.005Z] feaf6a47b606: Download complete [2023-09-20T09:49:14.265Z] 7264a8db6415: Pull complete [2023-09-20T09:49:14.265Z] 8ac70367396e: Verifying Checksum [2023-09-20T09:49:14.265Z] 8ac70367396e: Download complete [2023-09-20T09:49:14.265Z] c4d48a809fc2: Pull complete [2023-09-20T09:49:14.265Z] 4f1c88b9dad5: Download complete [2023-09-20T09:49:14.524Z] 6db16350a2e2: Verifying Checksum [2023-09-20T09:49:14.524Z] 6db16350a2e2: Download complete [2023-09-20T09:49:14.783Z] 9250d5d63582: Verifying Checksum [2023-09-20T09:49:14.783Z] 9250d5d63582: Download complete [2023-09-20T09:49:14.783Z] 5e8b037d7d82: Verifying Checksum [2023-09-20T09:49:17.448Z] 4f1c88b9dad5: Pull complete [2023-09-20T09:49:17.448Z] ad3a456e5733: Pull complete [2023-09-20T09:49:17.448Z] 9e4f439ed901: Pull complete [2023-09-20T09:49:17.448Z] feaf6a47b606: Pull complete [2023-09-20T09:49:19.350Z] 5e8b037d7d82: Pull complete [2023-09-20T09:49:19.917Z] 8ac70367396e: Pull complete [2023-09-20T09:49:20.179Z] 6db16350a2e2: Pull complete [2023-09-20T09:49:20.746Z] 9250d5d63582: Pull complete [2023-09-20T09:49:20.746Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-20T09:49:21.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T09:49:21.007Z] ---> fa269f55d9b9 [2023-09-20T09:49:21.007Z] Step 3/10 : ARG MAKE=make build [2023-09-20T09:49:26.411Z] ---> Running in 11a884da2ed6 [2023-09-20T09:49:26.411Z] Removing intermediate container 11a884da2ed6 [2023-09-20T09:49:26.411Z] ---> 14042f68cfbd [2023-09-20T09:49:26.411Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-20T09:49:26.411Z] ---> Running in e0dc9cbed783 [2023-09-20T09:49:26.411Z] Removing intermediate container e0dc9cbed783 [2023-09-20T09:49:26.411Z] ---> 46571a84081d [2023-09-20T09:49:26.411Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T09:49:26.411Z] ---> Running in dba78ddf9a66 [2023-09-20T09:49:26.411Z] Removing intermediate container dba78ddf9a66 [2023-09-20T09:49:26.411Z] ---> 9d67513a88bd [2023-09-20T09:49:26.411Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-20T09:49:26.411Z] ---> Running in 63838d5cc6d3 [2023-09-20T09:49:26.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T09:49:26.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T09:49:26.930Z] OK: 265 MiB in 56 packages [2023-09-20T09:49:27.188Z] Removing intermediate container 63838d5cc6d3 [2023-09-20T09:49:27.188Z] ---> 8d5c156cba8d [2023-09-20T09:49:27.188Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T09:49:27.447Z] ---> 2abbf39b0eed [2023-09-20T09:49:27.447Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T09:49:27.447Z] ---> Running in 89eba6109adb [2023-09-20T09:49:27.461Z] Still waiting to schedule task [2023-09-20T09:49:27.462Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6689’ is offline [2023-09-20T09:50:23.918Z] Removing intermediate container 89eba6109adb [2023-09-20T09:50:23.918Z] ---> 560615048f31 [2023-09-20T09:50:23.918Z] Step 9/10 : COPY . . [2023-09-20T09:50:23.918Z] ---> 032214013be6 [2023-09-20T09:50:23.918Z] Step 10/10 : RUN ${MAKE} [2023-09-20T09:50:23.918Z] ---> Running in 65b2b5082583 [2023-09-20T09:50:23.918Z] noop [2023-09-20T09:50:23.918Z] Removing intermediate container 65b2b5082583 [2023-09-20T09:50:23.918Z] ---> 5f7b61cdf406 [2023-09-20T09:50:23.918Z] Successfully built 5f7b61cdf406 [2023-09-20T09:50:23.918Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T09:50:24.242Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T09:50:24.242Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T09:50:24.313Z] prd-ubuntu20.04-docker-8c-8g-6690 does not seem to be running inside a container [2023-09-20T09:50:24.342Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T09:50:24.670Z] $ docker top 21d3e455c9863e417b7b5a225cb6ea3b159409088ae9f9d1868992950db9fab8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T09:50:25.026Z] + go version [2023-09-20T09:50:25.026Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T09:50:25.039Z] $ docker stop --time=1 21d3e455c9863e417b7b5a225cb6ea3b159409088ae9f9d1868992950db9fab8 [2023-09-20T09:50:26.298Z] $ docker rm -f --volumes 21d3e455c9863e417b7b5a225cb6ea3b159409088ae9f9d1868992950db9fab8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T09:50:26.708Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T09:50:26.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T09:50:26.784Z] prd-ubuntu20.04-docker-8c-8g-6690 does not seem to be running inside a container [2023-09-20T09:50:26.816Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T09:50:27.142Z] $ docker top 29925b7f85a866145f41c320c10fee1dcc9d0d9821948c97f698ae2388dcc513 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T09:50:27.480Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] fileExists [Pipeline] sh [2023-09-20T09:50:27.779Z] + make test [2023-09-20T09:50:27.779Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T09:50:34.349Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-20T09:50:46.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-20T09:50:46.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-20T09:50:46.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-20T09:50:46.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-20T09:50:46.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-20T09:50:47.480Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-20T09:50:47.480Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-20T09:50:48.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.034s coverage: 27.6% of statements [2023-09-20T09:50:48.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.041s coverage: 80.0% of statements [2023-09-20T09:50:48.418Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-20T09:50:48.676Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.058s coverage: 86.0% of statements [2023-09-20T09:50:49.611Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.072s coverage: 71.8% of statements [2023-09-20T09:50:49.611Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T09:50:49.611Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T09:50:49.611Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-20T09:50:52.946Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.046s coverage: 14.4% of statements [2023-09-20T09:50:52.946Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.916s coverage: 45.9% of statements [2023-09-20T09:50:52.946Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.071s coverage: 68.5% of statements [2023-09-20T09:50:52.946Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 89.2% of statements [2023-09-20T09:50:52.946Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.5% of statements [2023-09-20T09:50:58.510Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6691 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] { [Pipeline] ws [2023-09-20T09:50:58.526Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-09-20T09:50:58.562Z] The recommended git tool is: git [2023-09-20T09:51:03.378Z] using credential edgex-jenkins-ssh [2023-09-20T09:51:03.398Z] Cloning the remote Git repository [2023-09-20T09:51:03.440Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T09:51:03.519Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-09-20T09:51:03.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T09:51:03.665Z] > git --version # timeout=10 [2023-09-20T09:51:03.686Z] > git --version # 'git version 2.25.1' [2023-09-20T09:51:03.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T09:51:03.820Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T09:51:05.389Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-20T09:51:05.423Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T09:51:06.863Z] Merging remotes/origin/main commit c9092965fc0e73fdbee605785b6ca16e2186cbeb into PR head commit af69577eb0e115ca7ea0ed95f3f7d03ef838ca86 [2023-09-20T09:51:07.188Z] Merge succeeded, producing c23928b2f08234ffeaa8acc38b3db17a95229a9e [2023-09-20T09:51:07.188Z] Checking out Revision c23928b2f08234ffeaa8acc38b3db17a95229a9e (PR-1515) [2023-09-20T09:51:06.180Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-20T09:51:06.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T09:51:06.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T09:51:06.229Z] > 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-20T09:51:06.885Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T09:51:06.955Z] > git checkout -f af69577eb0e115ca7ea0ed95f3f7d03ef838ca86 # timeout=10 [2023-09-20T09:51:07.064Z] > git remote # timeout=10 [2023-09-20T09:51:07.086Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T09:51:07.107Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T09:51:07.120Z] > git merge c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 [2023-09-20T09:51:07.176Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T09:51:07.197Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T09:51:07.218Z] > git checkout -f c23928b2f08234ffeaa8acc38b3db17a95229a9e # timeout=10 [2023-09-20T09:51:10.664Z] Commit message: "Merge commit 'c9092965fc0e73fdbee605785b6ca16e2186cbeb' into HEAD" [2023-09-20T09:51:10.687Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T09:51:10.674Z] > git rev-list --no-walk 6a2fc06240bb59db64b056da111c40e6b450f84b # timeout=10 [2023-09-20T09:51:11.710Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T09:51:11.710Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T09:51:11.710Z] Dload Upload Total Spent Left Speed [2023-09-20T09:51:11.710Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-09-20T09:51:12.410Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T09:51:12.737Z] + sudo tee /etc/docker/daemon.new [2023-09-20T09:51:12.737Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T09:51:12.737Z] { [2023-09-20T09:51:12.737Z] "registry-mirrors": [ [2023-09-20T09:51:12.737Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T09:51:12.737Z] ], [2023-09-20T09:51:12.737Z] "bip": "10.250.0.254/24", [2023-09-20T09:51:12.737Z] "hosts": [ [2023-09-20T09:51:12.737Z] "tcp://0.0.0.0:5555", [2023-09-20T09:51:12.737Z] "unix:///var/run/docker.sock" [2023-09-20T09:51:12.737Z] ], [2023-09-20T09:51:12.737Z] "mtu": 1458, [2023-09-20T09:51:12.737Z] "selinux-enabled": true, [2023-09-20T09:51:12.737Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T09:51:12.737Z] } [Pipeline] sh [2023-09-20T09:51:13.077Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T09:51:13.397Z] + sudo service docker restart [2023-09-20T09:51:14.859Z] GO111MODULE=on go vet ./... [2023-09-20T09:51:16.755Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T09:51:16.755Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T09:51:16.755Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T09:51:16.767Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T09:51:16.783Z] $ docker stop --time=1 29925b7f85a866145f41c320c10fee1dcc9d0d9821948c97f698ae2388dcc513 [2023-09-20T09:51:20.623Z] $ docker rm -f --volumes 29925b7f85a866145f41c320c10fee1dcc9d0d9821948c97f698ae2388dcc513 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T09:51:21.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T09:51:21.197Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T09:51:21.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T09:51:22.148Z] + ls -al . [2023-09-20T09:51:22.148Z] total 304 [2023-09-20T09:51:22.148Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 09:50 . [2023-09-20T09:51:22.148Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 09:48 .. [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 09:48 .dockerignore [2023-09-20T09:51:22.148Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 09:50 .git [2023-09-20T09:51:22.148Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 09:48 .github [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 09:48 .gitignore [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 09:48 .golangci.yml [2023-09-20T09:51:22.148Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 09:49 .semver [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 09:48 CHANGELOG.md [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 09:48 GOVERNANCE.md [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 09:48 Jenkinsfile [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 09:48 LICENSE [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 09:48 Makefile [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 09:48 OWNERS.md [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 09:48 README.md [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 09:49 VERSION [2023-09-20T09:51:22.148Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 09:48 bin [2023-09-20T09:51:22.148Z] -rw-r--r-- 1 jenkins jenkins 122404 Sep 20 09:50 coverage.out [2023-09-20T09:51:22.148Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 09:48 example [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 09:48 go.mod [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 09:48 go.sum [2023-09-20T09:51:22.148Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 09:48 internal [2023-09-20T09:51:22.148Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 09:48 openapi [2023-09-20T09:51:22.148Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 09:48 pkg [2023-09-20T09:51:22.148Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 09:48 snap [2023-09-20T09:51:22.148Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 09:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T09:51:22.453Z] + 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=c8c5973bbdb72dd00399e54ac8629bcd0fe09291 --label arch=amd64 --label version=0.0.0 . [2023-09-20T09:51:22.453Z] Sending build context to Docker daemon 11.36MB [2023-09-20T09:51:22.453Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T09:51:22.453Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-20T09:51:22.453Z] ---> 5f7b61cdf406 [2023-09-20T09:51:22.453Z] Step 3/23 : ARG MAKE=make build [2023-09-20T09:51:22.710Z] ---> Running in b7b9b8c68ace [2023-09-20T09:51:22.710Z] Removing intermediate container b7b9b8c68ace [2023-09-20T09:51:22.710Z] ---> 9948f2a75cb0 [2023-09-20T09:51:22.710Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-20T09:51:22.710Z] ---> Running in c17b5f20c691 [2023-09-20T09:51:22.710Z] Removing intermediate container c17b5f20c691 [2023-09-20T09:51:22.710Z] ---> 4ad7a344058b [2023-09-20T09:51:22.710Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T09:51:22.710Z] ---> Running in 04e39efcf8d6 [2023-09-20T09:51:22.969Z] Removing intermediate container 04e39efcf8d6 [2023-09-20T09:51:22.969Z] ---> 96ffe40e353a [2023-09-20T09:51:22.969Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-20T09:51:22.969Z] ---> Running in 9bb61a33a766 [2023-09-20T09:51:23.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T09:51:23.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T09:51:23.747Z] OK: 265 MiB in 56 packages [2023-09-20T09:51:25.147Z] Removing intermediate container 9bb61a33a766 [2023-09-20T09:51:25.147Z] ---> bd136ea770d4 [2023-09-20T09:51:25.147Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-20T09:51:25.147Z] ---> 5ca4881dc1de [2023-09-20T09:51:25.147Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T09:51:25.147Z] ---> Running in 2fa81deea046 [2023-09-20T09:51:25.405Z] Removing intermediate container 2fa81deea046 [2023-09-20T09:51:25.405Z] ---> a01af7515362 [2023-09-20T09:51:25.405Z] Step 9/23 : COPY . . [2023-09-20T09:51:25.974Z] ---> dd5cfb37ce77 [2023-09-20T09:51:25.974Z] Step 10/23 : RUN ${MAKE} [2023-09-20T09:51:25.974Z] ---> Running in cff33b9533df [2023-09-20T09:51:26.232Z] 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-20T09:51:31.625Z] provisioning config files... [2023-09-20T09:51:31.648Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3195902916039485323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T09:51:31.986Z] ---> docker-login.sh [2023-09-20T09:51:31.986Z] nexus3.edgexfoundry.org:10001 [2023-09-20T09:51:32.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:51:32.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:51:32.521Z] Configure a credential helper to remove this warning. See [2023-09-20T09:51:32.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:51:32.521Z] [2023-09-20T09:51:32.521Z] Login Succeeded [2023-09-20T09:51:32.521Z] nexus3.edgexfoundry.org:10002 [2023-09-20T09:51:32.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:51:32.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:51:32.789Z] Configure a credential helper to remove this warning. See [2023-09-20T09:51:32.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:51:32.789Z] [2023-09-20T09:51:32.789Z] Login Succeeded [2023-09-20T09:51:32.789Z] nexus3.edgexfoundry.org:10003 [2023-09-20T09:51:33.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:51:33.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:51:33.325Z] Configure a credential helper to remove this warning. See [2023-09-20T09:51:33.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:51:33.325Z] [2023-09-20T09:51:33.325Z] Login Succeeded [2023-09-20T09:51:33.325Z] nexus3.edgexfoundry.org:10004 [2023-09-20T09:51:33.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:51:33.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:51:33.594Z] Configure a credential helper to remove this warning. See [2023-09-20T09:51:33.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:51:33.594Z] [2023-09-20T09:51:33.594Z] Login Succeeded [2023-09-20T09:51:33.594Z] docker.io [2023-09-20T09:51:33.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T09:51:34.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T09:51:34.128Z] Configure a credential helper to remove this warning. See [2023-09-20T09:51:34.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T09:51:34.128Z] [2023-09-20T09:51:34.128Z] Login Succeeded [2023-09-20T09:51:34.128Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T09:51:34.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T09:51:34.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T09:51:34.390Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T09:51:34.403Z] ========================================================= [2023-09-20T09:51:34.403Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T09:51:34.403Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T09:51:34.736Z] + 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-20T09:51:35.003Z] Sending build context to Docker daemon 6.036MB [2023-09-20T09:51:38.525Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T09:51:38.525Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T09:51:38.794Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T09:51:38.794Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T09:51:38.794Z] 5d54e960e981: Pulling fs layer [2023-09-20T09:51:38.794Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T09:51:38.794Z] f0e02332f6b5: Pulling fs layer [2023-09-20T09:51:38.794Z] 66412af1f25a: Pulling fs layer [2023-09-20T09:51:38.794Z] 1baf3a5c0e64: Pulling fs layer [2023-09-20T09:51:38.794Z] 9a37bb91b891: Pulling fs layer [2023-09-20T09:51:38.794Z] a29adfc67d43: Pulling fs layer [2023-09-20T09:51:38.794Z] d5de9f91c1a4: Pulling fs layer [2023-09-20T09:51:38.794Z] 66412af1f25a: Waiting [2023-09-20T09:51:38.794Z] 1baf3a5c0e64: Waiting [2023-09-20T09:51:38.794Z] 9a37bb91b891: Waiting [2023-09-20T09:51:38.794Z] a29adfc67d43: Waiting [2023-09-20T09:51:38.794Z] d5de9f91c1a4: Waiting [2023-09-20T09:51:38.794Z] f0e02332f6b5: Waiting [2023-09-20T09:51:38.794Z] 5d54e960e981: Verifying Checksum [2023-09-20T09:51:38.794Z] 5d54e960e981: Download complete [2023-09-20T09:51:38.794Z] f0e02332f6b5: Verifying Checksum [2023-09-20T09:51:38.794Z] f0e02332f6b5: Download complete [2023-09-20T09:51:38.794Z] 66412af1f25a: Verifying Checksum [2023-09-20T09:51:38.794Z] 66412af1f25a: Download complete [2023-09-20T09:51:38.794Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T09:51:38.794Z] 9fda8d8052c6: Download complete [2023-09-20T09:51:39.381Z] 9a37bb91b891: Verifying Checksum [2023-09-20T09:51:39.381Z] 9a37bb91b891: Download complete [2023-09-20T09:51:39.968Z] a29adfc67d43: Verifying Checksum [2023-09-20T09:51:39.968Z] a29adfc67d43: Download complete [2023-09-20T09:51:39.968Z] 9fda8d8052c6: Pull complete [2023-09-20T09:51:40.555Z] 5d54e960e981: Pull complete [2023-09-20T09:51:40.555Z] d5de9f91c1a4: Verifying Checksum [2023-09-20T09:51:40.555Z] d5de9f91c1a4: Download complete [2023-09-20T09:51:40.555Z] c4a7e357bf2a: Download complete [2023-09-20T09:51:41.524Z] 1baf3a5c0e64: Verifying Checksum [2023-09-20T09:51:41.524Z] 1baf3a5c0e64: Download complete [2023-09-20T09:51:47.855Z] Removing intermediate container cff33b9533df [2023-09-20T09:51:47.855Z] ---> 165392cb9b4b [2023-09-20T09:51:47.855Z] Step 11/23 : FROM alpine:3.18 [2023-09-20T09:51:47.855Z] 3.18: Pulling from library/alpine [2023-09-20T09:51:47.855Z] 7264a8db6415: Already exists [2023-09-20T09:51:47.855Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T09:51:47.855Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T09:51:47.855Z] ---> 7e01a0d0a1dc [2023-09-20T09:51:47.855Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-20T09:51:47.855Z] ---> Running in eb955da65e2c [2023-09-20T09:51:47.855Z] Removing intermediate container eb955da65e2c [2023-09-20T09:51:47.855Z] ---> 2b26aabcc4d4 [2023-09-20T09:51:47.855Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-20T09:51:47.855Z] ---> Running in b04cda110ecb [2023-09-20T09:51:47.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T09:51:48.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T09:51:48.371Z] OK: 7 MiB in 15 packages [2023-09-20T09:51:48.630Z] Removing intermediate container b04cda110ecb [2023-09-20T09:51:48.630Z] ---> 4148d7e32cd0 [2023-09-20T09:51:48.630Z] Step 14/23 : WORKDIR / [2023-09-20T09:51:48.888Z] ---> Running in d199eef03373 [2023-09-20T09:51:48.888Z] Removing intermediate container d199eef03373 [2023-09-20T09:51:48.888Z] ---> 8ce2377d1f52 [2023-09-20T09:51:48.888Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-20T09:51:48.888Z] ---> 65d34498310e [2023-09-20T09:51:48.888Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-20T09:51:49.822Z] ---> 9a638d130a31 [2023-09-20T09:51:49.822Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-20T09:51:49.822Z] ---> e86039c524ba [2023-09-20T09:51:49.822Z] Step 18/23 : EXPOSE 59999 [2023-09-20T09:51:49.822Z] ---> Running in e7440a4a65ac [2023-09-20T09:51:49.822Z] Removing intermediate container e7440a4a65ac [2023-09-20T09:51:49.822Z] ---> 7f7a98f8b9aa [2023-09-20T09:51:49.822Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-20T09:51:49.822Z] ---> Running in 800e08ec358b [2023-09-20T09:51:50.080Z] Removing intermediate container 800e08ec358b [2023-09-20T09:51:50.080Z] ---> 082ae5100d18 [2023-09-20T09:51:50.080Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T09:51:50.080Z] ---> Running in 7a384db12d67 [2023-09-20T09:51:50.080Z] Removing intermediate container 7a384db12d67 [2023-09-20T09:51:50.080Z] ---> 993b6b2904f0 [2023-09-20T09:51:50.080Z] Step 21/23 : LABEL arch=amd64 [2023-09-20T09:51:50.080Z] ---> Running in 5cc73c7f1cba [2023-09-20T09:51:50.080Z] Removing intermediate container 5cc73c7f1cba [2023-09-20T09:51:50.080Z] ---> 4d88f8b79748 [2023-09-20T09:51:50.080Z] Step 22/23 : LABEL git_sha=c8c5973bbdb72dd00399e54ac8629bcd0fe09291 [2023-09-20T09:51:50.080Z] ---> Running in 36cb8579b23e [2023-09-20T09:51:50.338Z] Removing intermediate container 36cb8579b23e [2023-09-20T09:51:50.338Z] ---> a3a81a0bbd36 [2023-09-20T09:51:50.338Z] Step 23/23 : LABEL version=0.0.0 [2023-09-20T09:51:50.338Z] ---> Running in 861ed9d41900 [2023-09-20T09:51:50.338Z] Removing intermediate container 861ed9d41900 [2023-09-20T09:51:50.338Z] ---> 9fce076149b8 [2023-09-20T09:51:50.338Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T09:51:50.338Z] Successfully built 9fce076149b8 [2023-09-20T09:51:50.338Z] 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-20T09:51:50.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T09:51:50.752Z] [2023-09-20T09:51:50.752Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T09:51:51.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T09:51:51.047Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T09:51:51.047Z] 5eb5b503b376: Pulling fs layer [2023-09-20T09:51:51.047Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T09:51:51.047Z] ec43610c2a17: Pulling fs layer [2023-09-20T09:51:51.047Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T09:51:51.047Z] 33b1e0a273af: Pulling fs layer [2023-09-20T09:51:51.047Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T09:51:51.047Z] 2f39f015ded8: Pulling fs layer [2023-09-20T09:51:51.047Z] 5d3b04190fa2: Waiting [2023-09-20T09:51:51.047Z] 33b1e0a273af: Waiting [2023-09-20T09:51:51.047Z] 2f39f015ded8: Waiting [2023-09-20T09:51:51.047Z] 5c69ac0246d0: Verifying Checksum [2023-09-20T09:51:51.047Z] 5c69ac0246d0: Download complete [2023-09-20T09:51:51.047Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T09:51:51.047Z] 3a2ae6a8a46f: Download complete [2023-09-20T09:51:51.047Z] 33b1e0a273af: Verifying Checksum [2023-09-20T09:51:51.047Z] 33b1e0a273af: Download complete [2023-09-20T09:51:51.047Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T09:51:51.047Z] 5d3b04190fa2: Download complete [2023-09-20T09:51:51.047Z] ec43610c2a17: Verifying Checksum [2023-09-20T09:51:51.047Z] ec43610c2a17: Download complete [2023-09-20T09:51:51.306Z] 5eb5b503b376: Verifying Checksum [2023-09-20T09:51:51.307Z] 5eb5b503b376: Download complete [2023-09-20T09:51:51.633Z] c4a7e357bf2a: Pull complete [2023-09-20T09:51:51.633Z] f0e02332f6b5: Pull complete [2023-09-20T09:51:51.633Z] 66412af1f25a: Pull complete [2023-09-20T09:51:51.872Z] 2f39f015ded8: Verifying Checksum [2023-09-20T09:51:51.872Z] 2f39f015ded8: Download complete [2023-09-20T09:51:52.438Z] 5eb5b503b376: Pull complete [2023-09-20T09:51:52.438Z] 5c69ac0246d0: Pull complete [2023-09-20T09:51:53.005Z] ec43610c2a17: Pull complete [2023-09-20T09:51:53.005Z] 3a2ae6a8a46f: Pull complete [2023-09-20T09:51:53.005Z] 33b1e0a273af: Pull complete [2023-09-20T09:51:53.264Z] 5d3b04190fa2: Pull complete [2023-09-20T09:51:57.450Z] 2f39f015ded8: Pull complete [2023-09-20T09:51:57.450Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T09:51:57.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T09:51:57.450Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T09:51:57.533Z] prd-ubuntu20.04-docker-8c-8g-6690 does not seem to be running inside a container [2023-09-20T09:51:57.567Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T09:51:59.848Z] 1baf3a5c0e64: Pull complete [2023-09-20T09:52:00.118Z] 9a37bb91b891: Pull complete [2023-09-20T09:52:00.694Z] $ docker top 372a719303a47c746ed9fab509943ab621df6aba242a3be33ca2d6c479afb6a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T09:52:01.064Z] ---> job-cost.sh [2023-09-20T09:52:01.064Z] lf-activate-venv: SKIPPING [2023-09-20T09:52:01.064Z] INFO: No Stack... [2023-09-20T09:52:01.324Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T09:52:01.532Z] a29adfc67d43: Pull complete [2023-09-20T09:52:01.582Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T09:52:01.872Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/cost.csv [2023-09-20T09:52:01.872Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T09:52:01.890Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-3-stack-cost] [2023-09-20T09:52:01.895Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-3-stack-cost] did not exist. Created. [2023-09-20T09:52:01.896Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T09:52:02.193Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T09:52:02.227Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T09:52:02.236Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T09:52:02.258Z] $ docker stop --time=1 372a719303a47c746ed9fab509943ab621df6aba242a3be33ca2d6c479afb6a8 [2023-09-20T09:52:03.400Z] $ docker rm -f --volumes 372a719303a47c746ed9fab509943ab621df6aba242a3be33ca2d6c479afb6a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T09:52:06.873Z] d5de9f91c1a4: Pull complete [2023-09-20T09:52:06.873Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-20T09:52:06.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T09:52:06.873Z] ---> 746ca1b523b5 [2023-09-20T09:52:06.873Z] Step 3/10 : ARG MAKE=make build [2023-09-20T09:52:06.873Z] ---> Running in b949583b12ca [2023-09-20T09:52:07.141Z] Removing intermediate container b949583b12ca [2023-09-20T09:52:07.141Z] ---> f337e94335d7 [2023-09-20T09:52:07.141Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-20T09:52:07.412Z] ---> Running in 698c29a66d84 [2023-09-20T09:52:07.676Z] Removing intermediate container 698c29a66d84 [2023-09-20T09:52:07.676Z] ---> db2415d4a489 [2023-09-20T09:52:07.676Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T09:52:07.676Z] ---> Running in af9aa91b90ca [2023-09-20T09:52:07.945Z] Removing intermediate container af9aa91b90ca [2023-09-20T09:52:07.945Z] ---> a4e499b0a3c8 [2023-09-20T09:52:07.945Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-20T09:52:07.945Z] ---> Running in 2b239893613f [2023-09-20T09:52:09.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T09:52:09.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T09:52:10.750Z] OK: 267 MiB in 56 packages [2023-09-20T09:52:11.336Z] Removing intermediate container 2b239893613f [2023-09-20T09:52:11.336Z] ---> 0babf9e3054f [2023-09-20T09:52:11.336Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T09:52:11.920Z] ---> 71b85d9e08ce [2023-09-20T09:52:11.920Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T09:52:11.920Z] ---> Running in 3c3eaf6515ca [2023-09-20T09:53:19.804Z] Removing intermediate container 3c3eaf6515ca [2023-09-20T09:53:19.804Z] ---> ef7b1bbf5d37 [2023-09-20T09:53:19.804Z] Step 9/10 : COPY . . [2023-09-20T09:53:19.804Z] ---> ab9c0d7add52 [2023-09-20T09:53:19.804Z] Step 10/10 : RUN ${MAKE} [2023-09-20T09:53:19.804Z] ---> Running in 71fcbdc89bcb [2023-09-20T09:53:19.804Z] noop [2023-09-20T09:53:19.804Z] Removing intermediate container 71fcbdc89bcb [2023-09-20T09:53:19.804Z] ---> 70d1876ad281 [2023-09-20T09:53:19.804Z] Successfully built 70d1876ad281 [2023-09-20T09:53:19.804Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T09:53:20.139Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T09:53:20.139Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T09:53:20.334Z] prd-ubuntu20.04-docker-arm64-4c-16g-6691 does not seem to be running inside a container [2023-09-20T09:53:20.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T09:53:21.594Z] $ docker top d9415796be314aa58206afa3754228b28f2c45543cdcd42f73bb38656b324015 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T09:53:22.420Z] + go version [2023-09-20T09:53:22.420Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T09:53:22.438Z] $ docker stop --time=1 d9415796be314aa58206afa3754228b28f2c45543cdcd42f73bb38656b324015 [2023-09-20T09:53:24.409Z] $ docker rm -f --volumes d9415796be314aa58206afa3754228b28f2c45543cdcd42f73bb38656b324015 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T09:53:24.962Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T09:53:24.963Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T09:53:25.128Z] prd-ubuntu20.04-docker-arm64-4c-16g-6691 does not seem to be running inside a container [2023-09-20T09:53:25.187Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T09:53:26.324Z] $ docker top 6c5a92be910ffca978b403e9d816d3e96aa604dec29b2206df424075f5ac5d19 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T09:53:26.832Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-09-20T09:53:27.433Z] + make test [2023-09-20T09:53:27.433Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T09:53:59.649Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-20T09:55:36.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-20T09:55:36.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-20T09:55:36.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-20T09:55:36.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-20T09:55:36.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-20T09:55:36.849Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.206s coverage: 27.6% of statements [2023-09-20T09:55:45.053Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.258s coverage: 80.0% of statements [2023-09-20T09:55:53.250Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-20T09:55:53.250Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-20T09:55:53.829Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.418s coverage: 86.0% of statements [2023-09-20T09:55:59.189Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-20T09:56:01.134Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.656s coverage: 71.8% of statements [2023-09-20T09:56:04.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.318s coverage: 14.4% of statements [2023-09-20T09:56:04.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.997s coverage: 45.9% of statements [2023-09-20T09:56:04.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T09:56:04.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T09:56:05.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.429s coverage: 68.5% of statements [2023-09-20T09:56:09.204Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.413s coverage: 89.2% of statements [2023-09-20T09:56:09.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-20T09:56:10.164Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.294s coverage: 5.5% of statements [2023-09-20T09:56:11.129Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T09:56:11.129Z] GO111MODULE=on go vet ./... [2023-09-20T09:58:03.382Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T09:58:03.382Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T09:58:03.382Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T09:58:03.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T09:58:03.411Z] $ docker stop --time=1 6c5a92be910ffca978b403e9d816d3e96aa604dec29b2206df424075f5ac5d19 [2023-09-20T09:58:05.366Z] $ docker rm -f --volumes 6c5a92be910ffca978b403e9d816d3e96aa604dec29b2206df424075f5ac5d19 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T09:58:06.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T09:58:06.923Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T09:58:07.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T09:58:07.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T09:58:08.177Z] + ls -al . [2023-09-20T09:58:08.177Z] total 300 [2023-09-20T09:58:08.177Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 09:53 . [2023-09-20T09:58:08.177Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 09:51 .. [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 09:51 .dockerignore [2023-09-20T09:58:08.177Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 09:51 .git [2023-09-20T09:58:08.177Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 09:51 .github [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 09:51 .gitignore [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 09:51 .golangci.yml [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 09:51 CHANGELOG.md [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 09:51 GOVERNANCE.md [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 09:51 Jenkinsfile [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 09:51 LICENSE [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 09:51 Makefile [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 09:51 OWNERS.md [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 09:51 README.md [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 09:49 VERSION [2023-09-20T09:58:08.177Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 09:51 bin [2023-09-20T09:58:08.177Z] -rw-r--r-- 1 jenkins jenkins 122404 Sep 20 09:56 coverage.out [2023-09-20T09:58:08.177Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 09:51 example [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 09:51 go.mod [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 09:51 go.sum [2023-09-20T09:58:08.177Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 09:51 internal [2023-09-20T09:58:08.177Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 09:51 openapi [2023-09-20T09:58:08.177Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 09:51 pkg [2023-09-20T09:58:08.177Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 09:51 snap [2023-09-20T09:58:08.177Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 09:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T09:58:08.518Z] + 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=c23928b2f08234ffeaa8acc38b3db17a95229a9e --label arch=arm64 --label version=0.0.0 . [2023-09-20T09:58:08.787Z] Sending build context to Docker daemon 6.16MB [2023-09-20T09:58:08.787Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T09:58:08.787Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-20T09:58:08.787Z] ---> 70d1876ad281 [2023-09-20T09:58:08.787Z] Step 3/23 : ARG MAKE=make build [2023-09-20T09:58:09.369Z] ---> Running in a2b3b290b0f1 [2023-09-20T09:58:09.638Z] Removing intermediate container a2b3b290b0f1 [2023-09-20T09:58:09.638Z] ---> 0d8bd75bca1a [2023-09-20T09:58:09.638Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-20T09:58:09.638Z] ---> Running in c93c6ca9a4a0 [2023-09-20T09:58:09.906Z] Removing intermediate container c93c6ca9a4a0 [2023-09-20T09:58:09.906Z] ---> a74a742f14dc [2023-09-20T09:58:09.906Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T09:58:09.906Z] ---> Running in c101494afe2d [2023-09-20T09:58:10.172Z] Removing intermediate container c101494afe2d [2023-09-20T09:58:10.172Z] ---> df0491f0d193 [2023-09-20T09:58:10.172Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-20T09:58:10.459Z] ---> Running in ee30bca0912a [2023-09-20T09:58:11.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T09:58:11.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T09:58:12.647Z] OK: 267 MiB in 56 packages [2023-09-20T09:58:13.606Z] Removing intermediate container ee30bca0912a [2023-09-20T09:58:13.606Z] ---> 164a5f7ae5bc [2023-09-20T09:58:13.606Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-20T09:58:14.189Z] ---> cb918ad5a7db [2023-09-20T09:58:14.189Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T09:58:14.189Z] ---> Running in f1ee39826984 [2023-09-20T09:58:16.137Z] Removing intermediate container f1ee39826984 [2023-09-20T09:58:16.137Z] ---> 6a23640ab75a [2023-09-20T09:58:16.137Z] Step 9/23 : COPY . . [2023-09-20T09:58:17.094Z] ---> 10b29393cf41 [2023-09-20T09:58:17.094Z] Step 10/23 : RUN ${MAKE} [2023-09-20T09:58:17.366Z] ---> Running in 86c919df47a7 [2023-09-20T09:58:18.328Z] 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-20T10:00:09.955Z] Removing intermediate container 86c919df47a7 [2023-09-20T10:00:09.955Z] ---> 391eaa15ed2e [2023-09-20T10:00:09.955Z] Step 11/23 : FROM alpine:3.18 [2023-09-20T10:00:09.955Z] 3.18: Pulling from library/alpine [2023-09-20T10:00:09.955Z] 9fda8d8052c6: Already exists [2023-09-20T10:00:09.955Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T10:00:09.955Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T10:00:09.955Z] ---> f6648c04cd6c [2023-09-20T10:00:09.955Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-20T10:00:09.955Z] ---> Running in 1a7d9cfa8b78 [2023-09-20T10:00:09.955Z] Removing intermediate container 1a7d9cfa8b78 [2023-09-20T10:00:09.955Z] ---> 2f8971d76b29 [2023-09-20T10:00:09.955Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-20T10:00:09.955Z] ---> Running in 64afae198454 [2023-09-20T10:00:09.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T10:00:09.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T10:00:09.955Z] OK: 8 MiB in 15 packages [2023-09-20T10:00:10.913Z] Removing intermediate container 64afae198454 [2023-09-20T10:00:10.913Z] ---> 3d0dc36ab454 [2023-09-20T10:00:10.913Z] Step 14/23 : WORKDIR / [2023-09-20T10:00:10.913Z] ---> Running in d09f887ebd62 [2023-09-20T10:00:11.180Z] Removing intermediate container d09f887ebd62 [2023-09-20T10:00:11.180Z] ---> 974d2c42fce4 [2023-09-20T10:00:11.180Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-20T10:00:11.764Z] ---> 2a2ff22b99c4 [2023-09-20T10:00:11.765Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-20T10:00:13.173Z] ---> 9aa91b20f045 [2023-09-20T10:00:13.173Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-20T10:00:13.755Z] ---> bc3ddc051314 [2023-09-20T10:00:13.755Z] Step 18/23 : EXPOSE 59999 [2023-09-20T10:00:13.755Z] ---> Running in b7c56995674f [2023-09-20T10:00:14.020Z] Removing intermediate container b7c56995674f [2023-09-20T10:00:14.020Z] ---> 1a65fa6fcdff [2023-09-20T10:00:14.020Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-20T10:00:14.020Z] ---> Running in e801c9d6064b [2023-09-20T10:00:14.287Z] Removing intermediate container e801c9d6064b [2023-09-20T10:00:14.287Z] ---> a12f11801c2f [2023-09-20T10:00:14.287Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T10:00:14.552Z] ---> Running in 7e1e3142601b [2023-09-20T10:00:14.818Z] Removing intermediate container 7e1e3142601b [2023-09-20T10:00:14.818Z] ---> b8cb75b5623b [2023-09-20T10:00:14.818Z] Step 21/23 : LABEL arch=arm64 [2023-09-20T10:00:14.818Z] ---> Running in d76c28ed7ed9 [2023-09-20T10:00:15.084Z] Removing intermediate container d76c28ed7ed9 [2023-09-20T10:00:15.084Z] ---> 1c747199007f [2023-09-20T10:00:15.084Z] Step 22/23 : LABEL git_sha=c23928b2f08234ffeaa8acc38b3db17a95229a9e [2023-09-20T10:00:15.084Z] ---> Running in fead691b3a44 [2023-09-20T10:00:18.715Z] Removing intermediate container fead691b3a44 [2023-09-20T10:00:18.715Z] ---> 55343b25b7f8 [2023-09-20T10:00:18.715Z] Step 23/23 : LABEL version=0.0.0 [2023-09-20T10:00:18.715Z] ---> Running in 88324e0bb882 [2023-09-20T10:00:18.715Z] Removing intermediate container 88324e0bb882 [2023-09-20T10:00:18.715Z] ---> 65830ca12455 [2023-09-20T10:00:18.715Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T10:00:18.715Z] Successfully built 65830ca12455 [2023-09-20T10:00:18.715Z] 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-20T10:00:26.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T10:00:26.160Z] [2023-09-20T10:00:26.160Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T10:00:26.500Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T10:00:26.500Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T10:00:26.500Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T10:00:26.500Z] 04944245beec: Pulling fs layer [2023-09-20T10:00:26.500Z] 699f458cf7ca: Pulling fs layer [2023-09-20T10:00:26.500Z] 765212b225bb: Pulling fs layer [2023-09-20T10:00:26.500Z] f23df028b6ca: Pulling fs layer [2023-09-20T10:00:26.500Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T10:00:26.500Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T10:00:26.500Z] 765212b225bb: Waiting [2023-09-20T10:00:26.500Z] f23df028b6ca: Waiting [2023-09-20T10:00:26.500Z] d65c8cfc05b1: Waiting [2023-09-20T10:00:26.500Z] 2437ff75d9bd: Waiting [2023-09-20T10:00:26.500Z] 04944245beec: Verifying Checksum [2023-09-20T10:00:26.500Z] 04944245beec: Download complete [2023-09-20T10:00:26.768Z] 765212b225bb: Verifying Checksum [2023-09-20T10:00:26.768Z] 765212b225bb: Download complete [2023-09-20T10:00:26.768Z] f23df028b6ca: Verifying Checksum [2023-09-20T10:00:26.768Z] f23df028b6ca: Download complete [2023-09-20T10:00:26.768Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T10:00:26.768Z] d65c8cfc05b1: Download complete [2023-09-20T10:00:26.768Z] 699f458cf7ca: Verifying Checksum [2023-09-20T10:00:26.768Z] 699f458cf7ca: Download complete [2023-09-20T10:00:27.348Z] 8998bd30e6a1: Download complete [2023-09-20T10:00:30.534Z] 8998bd30e6a1: Pull complete [2023-09-20T10:00:31.119Z] 04944245beec: Pull complete [2023-09-20T10:00:31.703Z] 2437ff75d9bd: Download complete [2023-09-20T10:00:32.658Z] 699f458cf7ca: Pull complete [2023-09-20T10:00:32.658Z] 765212b225bb: Pull complete [2023-09-20T10:00:33.620Z] f23df028b6ca: Pull complete [2023-09-20T10:00:33.620Z] d65c8cfc05b1: Pull complete [2023-09-20T10:00:48.633Z] 2437ff75d9bd: Pull complete [2023-09-20T10:00:48.633Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T10:00:48.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T10:00:48.633Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T10:00:48.818Z] prd-ubuntu20.04-docker-arm64-4c-16g-6691 does not seem to be running inside a container [2023-09-20T10:00:48.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T10:00:51.803Z] $ docker top 1bb6991eed1bf0db9c9eae077b2b5bacfde60a4259cea206d93709ac53fb24f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T10:00:52.633Z] ---> job-cost.sh [2023-09-20T10:00:52.633Z] lf-activate-venv: SKIPPING [2023-09-20T10:00:52.633Z] INFO: No Stack... [2023-09-20T10:00:53.212Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T10:00:53.790Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T10:00:54.421Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-09-20T10:00:54.421Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T10:00:54.483Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-3-stack-cost] [2023-09-20T10:00:54.488Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-3-stack-cost] did not exist. Created. [2023-09-20T10:00:54.488Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T10:00:54.818Z] /w/workspace/device-sdk-go/3@tmp/durable-c91fba2f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T10:00:55.153Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T10:00:55.171Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T10:00:55.248Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T10:00:55.254Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T10:00:55.276Z] $ docker stop --time=1 1bb6991eed1bf0db9c9eae077b2b5bacfde60a4259cea206d93709ac53fb24f8 [2023-09-20T10:00:56.764Z] $ docker rm -f --volumes 1bb6991eed1bf0db9c9eae077b2b5bacfde60a4259cea206d93709ac53fb24f8 [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-20T10:00:57.162Z] provisioning config files... [2023-09-20T10:00:57.232Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config6535234775451040113tmp [Pipeline] { [Pipeline] sh [2023-09-20T10:00:57.524Z] + set +x [2023-09-20T10:00:57.524Z] + bash -s -- [2023-09-20T10:00:57.524Z] + curl -s https://codecov.io/bash [2023-09-20T10:00:57.524Z] [2023-09-20T10:00:57.524Z] _____ _ [2023-09-20T10:00:57.524Z] / ____| | | [2023-09-20T10:00:57.524Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T10:00:57.524Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T10:00:57.524Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T10:00:57.524Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T10:00:57.524Z] Bash-1.0.6 [2023-09-20T10:00:57.524Z] [2023-09-20T10:00:57.524Z] [2023-09-20T10:00:57.524Z] ==> git version 2.25.1 found [2023-09-20T10:00:57.524Z] ==> 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-20T10:00:57.524Z] Release-Date: 2020-01-08 [2023-09-20T10:00:57.524Z] 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-20T10:00:57.524Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T10:00:57.524Z] ==> Jenkins CI detected. [2023-09-20T10:00:57.524Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-20T10:00:57.524Z] project root: . [2023-09-20T10:00:57.524Z] --> token set from env [2023-09-20T10:00:57.524Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T10:00:57.524Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T10:00:57.524Z] ==> Python coveragepy not found [2023-09-20T10:00:57.524Z] ==> Searching for coverage reports in: [2023-09-20T10:00:57.524Z] + . [2023-09-20T10:00:57.524Z] -> Found 1 reports [2023-09-20T10:00:57.524Z] ==> Detecting git/mercurial file structure [2023-09-20T10:00:57.524Z] ==> Reading reports [2023-09-20T10:00:57.787Z] + ./coverage.out bytes=122404 [2023-09-20T10:00:57.787Z] ==> Appending adjustments [2023-09-20T10:00:57.787Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T10:00:58.047Z] + Found adjustments [2023-09-20T10:00:58.047Z] ==> Gzipping contents [2023-09-20T10:00:58.047Z] 20K /tmp/codecov.zMlZUQ.gz [2023-09-20T10:00:58.047Z] ==> Uploading reports [2023-09-20T10:00:58.047Z] url: https://codecov.io [2023-09-20T10:00:58.047Z] query: branch=PR-1515&commit=c8c5973bbdb72dd00399e54ac8629bcd0fe09291&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-20T10:00:58.047Z] -> Pinging Codecov [2023-09-20T10:00:58.047Z] 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=c8c5973bbdb72dd00399e54ac8629bcd0fe09291&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-20T10:00:58.047Z] -> Uploading to [2023-09-20T10:00:58.047Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7E55EF52A471D76F132DFD9A03CDDE97/c8c5973bbdb72dd00399e54ac8629bcd0fe09291/019473a7-d3d8-44c7-acb9-37f831ababa7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T100057Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a779d56f0f6ec4d92bd4f128a1c99da3db6a02650e627713eafb7c8457682fc [2023-09-20T10:00:58.047Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T10:00:58.047Z] Dload Upload Total Spent Left Speed [2023-09-20T10:00:58.306Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16778 0 0 100 16778 0 82245 --:--:-- --:--:-- --:--:-- 81843 100 16778 0 0 100 16778 0 81843 --:--:-- --:--:-- --:--:-- 81446 [2023-09-20T10:00:58.306Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c8c5973bbdb72dd00399e54ac8629bcd0fe09291 [Pipeline] } [2023-09-20T10:00:58.313Z] 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-20T10:00:59.034Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives ] [2023-09-20T10:00:59.034Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-20T10:00:59.034Z] total 16 [2023-09-20T10:00:59.034Z] drwxr-xr-x 3 root root 4096 Sep 20 09:52 . [2023-09-20T10:00:59.034Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 09:52 .. [2023-09-20T10:00:59.034Z] drwxr-xr-x 2 root root 4096 Sep 20 09:52 cost [2023-09-20T10:00:59.034Z] -rw-r--r-- 1 root root 86 Sep 20 09:52 cost.csv [2023-09-20T10:00:59.034Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-20T10:00:59.034Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-20T10:00:59.034Z] total 16 [2023-09-20T10:00:59.034Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 09:52 . [2023-09-20T10:00:59.034Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 09:52 .. [2023-09-20T10:00:59.034Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 09:52 cost [2023-09-20T10:00:59.034Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 09:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T10:00:59.323Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T10:01:00.180Z] ---> package-listing.sh [2023-09-20T10:01:00.180Z] ++ facter osfamily [2023-09-20T10:01:00.180Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T10:01:00.439Z] + OS_FAMILY=debian [2023-09-20T10:01:00.439Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-20T10:01:00.439Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T10:01:00.439Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T10:01:00.439Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T10:01:00.439Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T10:01:00.439Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-20T10:01:00.439Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T10:01:00.439Z] + case "${OS_FAMILY}" in [2023-09-20T10:01:00.439Z] + dpkg -l [2023-09-20T10:01:00.439Z] + grep '^ii' [2023-09-20T10:01:00.439Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T10:01:00.439Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T10:01:00.439Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T10:01:00.439Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-20T10:01:00.439Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [2023-09-20T10:01:00.439Z] + 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-20T10:01:00.449Z] 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-20T10:01:00.726Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T10:01:01.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T10:01:01.291Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T10:01:01.364Z] prd-ubuntu20.04-docker-8c-8g-6690 does not seem to be running inside a container [2023-09-20T10:01:01.403Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T10:01:01.572Z] $ docker top 376da1a1574974a239177a06e7d3ffb49460ef49cb2b014f71c57ef360429f76 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T10:01:01.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T10:01:02.208Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T10:01:02.492Z] + ls /var/log/sa-host [2023-09-20T10:01:02.492Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T10:01:02.554Z] provisioning config files... [2023-09-20T10:01:02.561Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config6388224447275989953tmp [Pipeline] { [Pipeline] echo [2023-09-20T10:01:02.571Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T10:01:02.853Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T10:01:02.859Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T10:01:03.179Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T10:01:03.189Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T10:01:03.472Z] ---> sudo-logs.sh [2023-09-20T10:01:03.472Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T10:01:03.498Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T10:01:03.779Z] ---> job-cost.sh [2023-09-20T10:01:03.779Z] lf-activate-venv: SKIPPING [2023-09-20T10:01:03.779Z] DEBUG: total: 0.2199999988079071 [2023-09-20T10:01:03.779Z] INFO: Retrieving Stack Cost... [2023-09-20T10:01:04.039Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T10:01:04.611Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T10:01:04.622Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T10:01:04.926Z] ---> logs-deploy.sh [2023-09-20T10:01:04.926Z] lf-activate-venv: SKIPPING [2023-09-20T10:01:04.926Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1515/3 [2023-09-20T10:01:04.926Z] INFO: archiving workspace using pattern(s): [2023-09-20T10:01:11.513Z] Archives upload complete. [2023-09-20T10:01:11.774Z] INFO: archiving logs to Nexus