Pull request #1420 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1bd7b2ba827cfe9fe612635f136898848a716417+d73da920b9fd3a52132699998633ff8aee3aa256 (3b61f7b03a2cacbdd20c85478718f4a35db24d0b) 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-ssh13971158532936241506.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh16331748559397525361.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1420/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-1420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1476894921413921960.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh5334406320840001344.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-1420/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-1420/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5710456644680144780.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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7522 in /w/workspace/gexfoundry_device-sdk-go_PR-1420 [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-1420 # 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/1420/head:refs/remotes/origin/PR-1420 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d73da920b9fd3a52132699998633ff8aee3aa256 into PR head commit 1bd7b2ba827cfe9fe612635f136898848a716417 Merge succeeded, producing 1bd7b2ba827cfe9fe612635f136898848a716417 Checking out Revision 1bd7b2ba827cfe9fe612635f136898848a716417 (PR-1420) > git config core.sparsecheckout # timeout=10 > git checkout -f 1bd7b2ba827cfe9fe612635f136898848a716417 # 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 d73da920b9fd3a52132699998633ff8aee3aa256 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1bd7b2ba827cfe9fe612635f136898848a716417 # timeout=10 Commit message: "fix: update regex resourceName match logic" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-12T03:40:57.557Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-12T03:40:57.612Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-12T03:40:57.627Z] ========================================================= [2023-04-12T03:40:57.627Z] EdgeX Global Pipelines Version Info [2023-04-12T03:40:57.627Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:40:58.358Z] ------------------- [2023-04-12T03:40:58.358Z] stable info: [2023-04-12T03:40:58.358Z] ------------------- [2023-04-12T03:40:58.358Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-12T03:40:58.358Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-12T03:40:58.358Z] Message: update stable to v1.0.245 > git rev-list --no-walk 0f6a69894086c84850310f08a0f9b04cbcf81a90 # timeout=10 [2023-04-12T03:40:58.930Z] ------------------- [2023-04-12T03:40:58.930Z] experimental info: [2023-04-12T03:40:58.930Z] ------------------- [2023-04-12T03:40:58.930Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-12T03:40:58.930Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-12T03:40:58.930Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-12T03:40:59.146Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-12T03:40:59.158Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-12T03:40:59.169Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-12T03:40:59.184Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-12T03:40:59.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-12T03:40:59.208Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-12T03:40:59.220Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-12T03:40:59.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-12T03:40:59.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-12T03:40:59.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-12T03:40:59.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-12T03:40:59.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-12T03:40:59.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-12T03:40:59.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-12T03:40:59.312Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-12T03:40:59.320Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T03:40:59.329Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T03:40:59.339Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T03:40:59.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-12T03:40:59.363Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-12T03:40:59.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-12T03:40:59.388Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-12T03:40:59.399Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-12T03:40:59.411Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-12T03:40:59.423Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-12T03:40:59.433Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-12T03:40:59.443Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-12T03:40:59.452Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1420 [Pipeline] echo [2023-04-12T03:40:59.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1420 [Pipeline] echo [2023-04-12T03:40:59.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1420 [Pipeline] echo [2023-04-12T03:40:59.479Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1bd7b2ba827cfe9fe612635f136898848a716417 [Pipeline] echo [2023-04-12T03:40:59.487Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1bd7b2b [Pipeline] echo [2023-04-12T03:40:59.495Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T03:40:59.588Z] provisioning config files... [2023-04-12T03:40:59.603Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/config5168704776776427868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:40:59.906Z] ---> docker-login.sh [2023-04-12T03:40:59.906Z] nexus3.edgexfoundry.org:10001 [2023-04-12T03:41:00.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:41:00.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:41:00.166Z] Configure a credential helper to remove this warning. See [2023-04-12T03:41:00.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:41:00.166Z] [2023-04-12T03:41:00.166Z] Login Succeeded [2023-04-12T03:41:00.166Z] nexus3.edgexfoundry.org:10002 [2023-04-12T03:41:00.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:41:00.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:41:00.427Z] Configure a credential helper to remove this warning. See [2023-04-12T03:41:00.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:41:00.427Z] [2023-04-12T03:41:00.427Z] Login Succeeded [2023-04-12T03:41:00.427Z] nexus3.edgexfoundry.org:10003 [2023-04-12T03:41:00.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:41:00.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:41:00.427Z] Configure a credential helper to remove this warning. See [2023-04-12T03:41:00.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:41:00.427Z] [2023-04-12T03:41:00.427Z] Login Succeeded [2023-04-12T03:41:00.427Z] nexus3.edgexfoundry.org:10004 [2023-04-12T03:41:00.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:41:00.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:41:00.689Z] Configure a credential helper to remove this warning. See [2023-04-12T03:41:00.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:41:00.689Z] [2023-04-12T03:41:00.689Z] Login Succeeded [2023-04-12T03:41:00.689Z] docker.io [2023-04-12T03:41:00.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:41:00.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:41:00.948Z] Configure a credential helper to remove this warning. See [2023-04-12T03:41:00.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:41:00.948Z] [2023-04-12T03:41:00.948Z] Login Succeeded [2023-04-12T03:41:00.948Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T03:41:00.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-12T03:41:01.335Z] + git rev-list -1 --merges 1bd7b2ba827cfe9fe612635f136898848a716417~1..1bd7b2ba827cfe9fe612635f136898848a716417 [Pipeline] echo [2023-04-12T03:41:01.379Z] -----------> git rev-list -1 --merges 1bd7b2ba827cfe9fe612635f136898848a716417~1..1bd7b2ba827cfe9fe612635f136898848a716417 1bd7b2ba827cfe9fe612635f136898848a716417 [false] [Pipeline] sh [2023-04-12T03:41:01.663Z] + git log --format=format:%s -1 1bd7b2ba827cfe9fe612635f136898848a716417 [Pipeline] echo [2023-04-12T03:41:01.675Z] ========================================================= [2023-04-12T03:41:01.675Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-12T03:41:01.675Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T03:41:01.987Z] + git log --format=format:%s -1 1bd7b2ba827cfe9fe612635f136898848a716417 [Pipeline] echo [2023-04-12T03:41:01.998Z] [semverPrep] GIT_COMMIT: 1bd7b2ba827cfe9fe612635f136898848a716417, Commit Message: fix: update regex resourceName match logic [Pipeline] echo [2023-04-12T03:41:02.006Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-12T03:41:02.367Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-12T03:41:02.368Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-12T03:41:02.368Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-12T03:41:02.368Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-12T03:41:02.368Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-12T03:41:02.368Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-12T03:41:02.368Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:41:02.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T03:41:02.705Z] [2023-04-12T03:41:02.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:41:03.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T03:41:03.001Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-12T03:41:03.001Z] b85a868b505f: Pulling fs layer [2023-04-12T03:41:03.001Z] e2be974225ed: Pulling fs layer [2023-04-12T03:41:03.001Z] 339a4e72a1f5: Pulling fs layer [2023-04-12T03:41:03.001Z] 988bab9f4d93: Pulling fs layer [2023-04-12T03:41:03.001Z] 1469e6f7b9e6: Pulling fs layer [2023-04-12T03:41:03.001Z] eaf3925da568: Pulling fs layer [2023-04-12T03:41:03.001Z] bab4dde63d76: Pulling fs layer [2023-04-12T03:41:03.001Z] bde34c3a00c8: Pulling fs layer [2023-04-12T03:41:03.001Z] b352a97aabf1: Pulling fs layer [2023-04-12T03:41:03.001Z] 4872d77fe225: Pulling fs layer [2023-04-12T03:41:03.001Z] 5851b861e8e6: Pulling fs layer [2023-04-12T03:41:03.001Z] bab4dde63d76: Waiting [2023-04-12T03:41:03.001Z] bde34c3a00c8: Waiting [2023-04-12T03:41:03.001Z] b352a97aabf1: Waiting [2023-04-12T03:41:03.001Z] 4872d77fe225: Waiting [2023-04-12T03:41:03.001Z] 5851b861e8e6: Waiting [2023-04-12T03:41:03.001Z] 1469e6f7b9e6: Waiting [2023-04-12T03:41:03.001Z] 988bab9f4d93: Waiting [2023-04-12T03:41:03.001Z] eaf3925da568: Waiting [2023-04-12T03:41:03.001Z] e2be974225ed: Verifying Checksum [2023-04-12T03:41:03.001Z] e2be974225ed: Download complete [2023-04-12T03:41:03.001Z] 988bab9f4d93: Download complete [2023-04-12T03:41:03.001Z] 1469e6f7b9e6: Verifying Checksum [2023-04-12T03:41:03.001Z] 1469e6f7b9e6: Download complete [2023-04-12T03:41:03.001Z] 339a4e72a1f5: Verifying Checksum [2023-04-12T03:41:03.001Z] 339a4e72a1f5: Download complete [2023-04-12T03:41:03.001Z] eaf3925da568: Verifying Checksum [2023-04-12T03:41:03.001Z] eaf3925da568: Download complete [2023-04-12T03:41:03.001Z] bde34c3a00c8: Download complete [2023-04-12T03:41:03.262Z] b352a97aabf1: Verifying Checksum [2023-04-12T03:41:03.262Z] b352a97aabf1: Download complete [2023-04-12T03:41:03.262Z] 4872d77fe225: Verifying Checksum [2023-04-12T03:41:03.262Z] 4872d77fe225: Download complete [2023-04-12T03:41:03.262Z] 5851b861e8e6: Verifying Checksum [2023-04-12T03:41:03.262Z] 5851b861e8e6: Download complete [2023-04-12T03:41:03.262Z] b85a868b505f: Verifying Checksum [2023-04-12T03:41:03.262Z] b85a868b505f: Download complete [2023-04-12T03:41:03.521Z] bab4dde63d76: Verifying Checksum [2023-04-12T03:41:03.521Z] bab4dde63d76: Download complete [2023-04-12T03:41:04.454Z] b85a868b505f: Pull complete [2023-04-12T03:41:04.454Z] e2be974225ed: Pull complete [2023-04-12T03:41:05.020Z] 339a4e72a1f5: Pull complete [2023-04-12T03:41:05.020Z] 988bab9f4d93: Pull complete [2023-04-12T03:41:05.278Z] 1469e6f7b9e6: Pull complete [2023-04-12T03:41:05.537Z] eaf3925da568: Pull complete [2023-04-12T03:41:07.437Z] bab4dde63d76: Pull complete [2023-04-12T03:41:07.437Z] bde34c3a00c8: Pull complete [2023-04-12T03:41:07.437Z] b352a97aabf1: Pull complete [2023-04-12T03:41:07.437Z] 4872d77fe225: Pull complete [2023-04-12T03:41:07.437Z] 5851b861e8e6: Pull complete [2023-04-12T03:41:07.438Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-12T03:41:07.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T03:41:07.438Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T03:41:07.531Z] prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container [2023-04-12T03:41:07.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1420 -v /w/workspace/gexfoundry_device-sdk-go_PR-1420:/w/workspace/gexfoundry_device-sdk-go_PR-1420:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-12T03:41:10.460Z] $ docker top 77501de7df2c1b3a135266abb1cc10c4c522580db21512e506d923f3477bd4a7 -eo pid,comm [2023-04-12T03:41:10.515Z] 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-04-12T03:41:10.515Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-12T03:41:10.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T03:41:10.551Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T03:41:10.679Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T03:41:10.686Z] $ docker exec 77501de7df2c1b3a135266abb1cc10c4c522580db21512e506d923f3477bd4a7 ssh-agent [2023-04-12T03:41:10.777Z] SSH_AUTH_SOCK=/tmp/ssh-WtLBj3ANzmgb/agent.32 [2023-04-12T03:41:10.777Z] SSH_AGENT_PID=38 [2023-04-12T03:41:10.783Z] Running ssh-add (command line suppressed) [2023-04-12T03:41:10.886Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/private_key_2762298671060882635.key (/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/private_key_2762298671060882635.key) [2023-04-12T03:41:10.894Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T03:41:11.183Z] + git tag --points-at HEAD [Pipeline] } [2023-04-12T03:41:11.201Z] $ docker exec --env ******** --env ******** 77501de7df2c1b3a135266abb1cc10c4c522580db21512e506d923f3477bd4a7 ssh-agent -k [2023-04-12T03:41:11.297Z] unset SSH_AUTH_SOCK; [2023-04-12T03:41:11.297Z] unset SSH_AGENT_PID; [2023-04-12T03:41:11.297Z] echo Agent pid 38 killed; [2023-04-12T03:41:11.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-12T03:41:11.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T03:41:11.333Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T03:41:11.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T03:41:11.450Z] $ docker exec 77501de7df2c1b3a135266abb1cc10c4c522580db21512e506d923f3477bd4a7 ssh-agent [2023-04-12T03:41:11.549Z] SSH_AUTH_SOCK=/tmp/ssh-E3CwesfY8vOF/agent.70 [2023-04-12T03:41:11.549Z] SSH_AGENT_PID=76 [2023-04-12T03:41:11.555Z] Running ssh-add (command line suppressed) [2023-04-12T03:41:11.688Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/private_key_10421353310860311015.key (/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/private_key_10421353310860311015.key) [2023-04-12T03:41:11.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T03:41:11.980Z] + git semver init [2023-04-12T03:41:12.240Z] 2023-04-12 03:41:12,156 [run_init] DEBUG init version:0.0.0 force:False [2023-04-12T03:41:12.240Z] 2023-04-12 03:41:12,157 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver [2023-04-12T03:41:12.240Z] 2023-04-12 03:41:12,158 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver [2023-04-12T03:41:12.240Z] 2023-04-12 03:41:12,158 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1420, universal_newlines=False, shell=None, istream=None) [2023-04-12T03:41:13.183Z] 2023-04-12 03:41:13,037 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1420/.git/info/exclude [2023-04-12T03:41:13.183Z] 2023-04-12 03:41:13,038 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver/PR-1420 with force:False [2023-04-12T03:41:13.183Z] 2023-04-12 03:41:13,038 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver/PR-1420 [2023-04-12T03:41:13.183Z] 2023-04-12 03:41:13,042 [execute] INFO git cat-file --batch-check [2023-04-12T03:41:13.183Z] 2023-04-12 03:41:13,042 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver, universal_newlines=False, shell=None, istream=) [2023-04-12T03:41:13.183Z] 2023-04-12 03:41:13,049 [execute] INFO git cat-file --batch [2023-04-12T03:41:13.183Z] 2023-04-12 03:41:13,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver, universal_newlines=False, shell=None, istream=) [2023-04-12T03:41:13.183Z] 2023-04-12 03:41:13,054 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1420/.semver/PR-1420 [2023-04-12T03:41:13.183Z] 0.0.0 [Pipeline] } [2023-04-12T03:41:13.196Z] $ docker exec --env ******** --env ******** 77501de7df2c1b3a135266abb1cc10c4c522580db21512e506d923f3477bd4a7 ssh-agent -k [2023-04-12T03:41:13.308Z] unset SSH_AUTH_SOCK; [2023-04-12T03:41:13.309Z] unset SSH_AGENT_PID; [2023-04-12T03:41:13.309Z] echo Agent pid 76 killed; [2023-04-12T03:41:13.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-12T03:41:13.619Z] + git semver [Pipeline] } [2023-04-12T03:41:13.894Z] $ docker stop --time=1 77501de7df2c1b3a135266abb1cc10c4c522580db21512e506d923f3477bd4a7 [2023-04-12T03:41:15.191Z] $ docker rm -f --volumes 77501de7df2c1b3a135266abb1cc10c4c522580db21512e506d923f3477bd4a7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T03:41:15.516Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-12T03:41:15.704Z] Stashed 1 file(s) [Pipeline] echo [2023-04-12T03:41:15.706Z] [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-04-12T03:41:15.799Z] provisioning config files... [2023-04-12T03:41:15.808Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/config10496078095741712677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:41:16.100Z] ---> docker-login.sh [2023-04-12T03:41:16.100Z] nexus3.edgexfoundry.org:10001 [2023-04-12T03:41:16.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:41:16.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:41:16.100Z] Configure a credential helper to remove this warning. See [2023-04-12T03:41:16.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:41:16.100Z] [2023-04-12T03:41:16.100Z] Login Succeeded [2023-04-12T03:41:16.100Z] nexus3.edgexfoundry.org:10002 [2023-04-12T03:41:16.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:41:16.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:41:16.100Z] Configure a credential helper to remove this warning. See [2023-04-12T03:41:16.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:41:16.100Z] [2023-04-12T03:41:16.100Z] Login Succeeded [2023-04-12T03:41:16.100Z] nexus3.edgexfoundry.org:10003 [2023-04-12T03:41:16.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:41:16.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:41:16.359Z] Configure a credential helper to remove this warning. See [2023-04-12T03:41:16.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:41:16.359Z] [2023-04-12T03:41:16.359Z] Login Succeeded [2023-04-12T03:41:16.359Z] nexus3.edgexfoundry.org:10004 [2023-04-12T03:41:16.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:41:16.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:41:16.359Z] Configure a credential helper to remove this warning. See [2023-04-12T03:41:16.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:41:16.359Z] [2023-04-12T03:41:16.359Z] Login Succeeded [2023-04-12T03:41:16.359Z] docker.io [2023-04-12T03:41:16.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:41:16.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:41:16.618Z] Configure a credential helper to remove this warning. See [2023-04-12T03:41:16.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:41:16.618Z] [2023-04-12T03:41:16.618Z] Login Succeeded [2023-04-12T03:41:16.618Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T03:41:16.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T03:41:16.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T03:41:16.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T03:41:16.700Z] ========================================================= [2023-04-12T03:41:16.700Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-12T03:41:16.700Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:41:16.996Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-12T03:41:16.996Z] Sending build context to Docker daemon 10.97MB [2023-04-12T03:41:16.996Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T03:41:16.996Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-12T03:41:16.996Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-12T03:41:16.996Z] 63b65145d645: Pulling fs layer [2023-04-12T03:41:16.996Z] a2d21d5440eb: Pulling fs layer [2023-04-12T03:41:16.996Z] 935e6c44a52c: Pulling fs layer [2023-04-12T03:41:16.996Z] 94cc34f8dd06: Pulling fs layer [2023-04-12T03:41:16.996Z] 30dea6a524f1: Pulling fs layer [2023-04-12T03:41:16.996Z] a2aff8979fd8: Pulling fs layer [2023-04-12T03:41:16.996Z] 6808be2612f2: Pulling fs layer [2023-04-12T03:41:16.996Z] f25807f1079a: Pulling fs layer [2023-04-12T03:41:16.996Z] 30dea6a524f1: Waiting [2023-04-12T03:41:16.996Z] a2aff8979fd8: Waiting [2023-04-12T03:41:16.996Z] 6808be2612f2: Waiting [2023-04-12T03:41:16.996Z] f25807f1079a: Waiting [2023-04-12T03:41:16.996Z] 94cc34f8dd06: Waiting [2023-04-12T03:41:17.255Z] a2d21d5440eb: Verifying Checksum [2023-04-12T03:41:17.255Z] a2d21d5440eb: Download complete [2023-04-12T03:41:17.255Z] 94cc34f8dd06: Verifying Checksum [2023-04-12T03:41:17.255Z] 94cc34f8dd06: Download complete [2023-04-12T03:41:17.255Z] 30dea6a524f1: Verifying Checksum [2023-04-12T03:41:17.255Z] 30dea6a524f1: Download complete [2023-04-12T03:41:17.255Z] 63b65145d645: Verifying Checksum [2023-04-12T03:41:17.255Z] 63b65145d645: Download complete [2023-04-12T03:41:17.255Z] a2aff8979fd8: Verifying Checksum [2023-04-12T03:41:17.255Z] a2aff8979fd8: Download complete [2023-04-12T03:41:17.255Z] 63b65145d645: Pull complete [2023-04-12T03:41:17.513Z] a2d21d5440eb: Pull complete [2023-04-12T03:41:17.513Z] f25807f1079a: Verifying Checksum [2023-04-12T03:41:17.513Z] f25807f1079a: Download complete [2023-04-12T03:41:17.771Z] 935e6c44a52c: Verifying Checksum [2023-04-12T03:41:17.771Z] 935e6c44a52c: Download complete [2023-04-12T03:41:18.030Z] 6808be2612f2: Download complete [2023-04-12T03:41:21.349Z] 935e6c44a52c: Pull complete [2023-04-12T03:41:21.349Z] 94cc34f8dd06: Pull complete [2023-04-12T03:41:21.349Z] 30dea6a524f1: Pull complete [2023-04-12T03:41:21.349Z] a2aff8979fd8: Pull complete [2023-04-12T03:41:23.878Z] 6808be2612f2: Pull complete [2023-04-12T03:41:24.443Z] f25807f1079a: Pull complete [2023-04-12T03:41:24.444Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-12T03:41:24.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-12T03:41:24.444Z] ---> 3b553350e43f [2023-04-12T03:41:24.444Z] Step 3/10 : ARG MAKE=make build [2023-04-12T03:41:28.815Z] ---> Running in 7e800603399c [2023-04-12T03:41:28.816Z] Removing intermediate container 7e800603399c [2023-04-12T03:41:28.816Z] ---> c2233c8736e7 [2023-04-12T03:41:28.816Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-12T03:41:28.816Z] ---> Running in 1c1b996c2a3e [2023-04-12T03:41:28.816Z] Removing intermediate container 1c1b996c2a3e [2023-04-12T03:41:28.816Z] ---> ab6cec03bc31 [2023-04-12T03:41:28.816Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-12T03:41:28.816Z] ---> Running in e0d8924e025f [2023-04-12T03:41:28.816Z] Removing intermediate container e0d8924e025f [2023-04-12T03:41:28.816Z] ---> a5e637c38952 [2023-04-12T03:41:28.816Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-12T03:41:28.816Z] ---> Running in fa6810af4041 [2023-04-12T03:41:28.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-12T03:41:29.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-12T03:41:29.074Z] OK: 265 MiB in 53 packages [2023-04-12T03:41:29.642Z] Removing intermediate container fa6810af4041 [2023-04-12T03:41:29.642Z] ---> d32d45da290e [2023-04-12T03:41:29.642Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-12T03:41:29.642Z] ---> d82339b97f7f [2023-04-12T03:41:29.642Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T03:41:29.642Z] ---> Running in dc947ccf1682 [2023-04-12T03:41:30.773Z] Still waiting to schedule task [2023-04-12T03:41:30.773Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-12T03:42:02.053Z] Removing intermediate container dc947ccf1682 [2023-04-12T03:42:02.053Z] ---> 1cb3b28d9642 [2023-04-12T03:42:02.053Z] Step 9/10 : COPY . . [2023-04-12T03:42:02.053Z] ---> ca2c41ecf801 [2023-04-12T03:42:02.053Z] Step 10/10 : RUN ${MAKE} [2023-04-12T03:42:02.053Z] ---> Running in 7c430aa7b3f5 [2023-04-12T03:42:02.053Z] noop [2023-04-12T03:42:02.053Z] Removing intermediate container 7c430aa7b3f5 [2023-04-12T03:42:02.053Z] ---> 4e5175cdd77e [2023-04-12T03:42:02.053Z] Successfully built 4e5175cdd77e [2023-04-12T03:42:02.053Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:42:02.361Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T03:42:02.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T03:42:02.427Z] prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container [2023-04-12T03:42:02.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1420 -v /w/workspace/gexfoundry_device-sdk-go_PR-1420:/w/workspace/gexfoundry_device-sdk-go_PR-1420:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-12T03:42:02.802Z] $ docker top 7119e80a5e6b32b625727cb94897af315bd1954b9128658d854b04d1c24d4349 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T03:42:03.128Z] + go version [2023-04-12T03:42:03.128Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-12T03:42:03.142Z] $ docker stop --time=1 7119e80a5e6b32b625727cb94897af315bd1954b9128658d854b04d1c24d4349 [2023-04-12T03:42:04.420Z] $ docker rm -f --volumes 7119e80a5e6b32b625727cb94897af315bd1954b9128658d854b04d1c24d4349 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:42:04.783Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T03:42:04.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T03:42:04.846Z] prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container [2023-04-12T03:42:04.875Z] $ 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-1420 -v /w/workspace/gexfoundry_device-sdk-go_PR-1420:/w/workspace/gexfoundry_device-sdk-go_PR-1420:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-12T03:42:05.184Z] $ docker top 11fc4240ae21254dee98b87b874b11d591ae1f5d8084870bfabaaf062383efa6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T03:42:05.512Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1420 [Pipeline] fileExists [Pipeline] sh [2023-04-12T03:42:05.799Z] + make test [2023-04-12T03:42:05.799Z] go test -race -coverprofile=coverage.out ./... [2023-04-12T03:42:12.362Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-12T03:42:27.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-12T03:42:27.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-12T03:42:27.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-12T03:42:27.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-12T03:42:27.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-12T03:42:27.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-04-12T03:42:27.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-12T03:42:27.225Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-12T03:42:27.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 79.9% of statements [2023-04-12T03:42:27.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-04-12T03:42:27.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-12T03:42:27.740Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-12T03:42:27.740Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.106s coverage: 77.5% of statements [2023-04-12T03:42:27.740Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-12T03:42:27.740Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-12T03:42:28.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-12T03:42:30.586Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 14.6% of statements [2023-04-12T03:42:30.586Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.075s coverage: 68.5% of statements [2023-04-12T03:42:30.586Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.107s coverage: 89.2% of statements [2023-04-12T03:42:30.586Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.6% of statements [2023-04-12T03:42:48.667Z] GO111MODULE=on go vet ./... [2023-04-12T03:42:51.946Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-12T03:42:51.946Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-12T03:42:51.946Z] ./bin/test-attribution-txt.sh [2023-04-12T03:42:51.946Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-12T03:42:51.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-12T03:42:51.977Z] $ docker stop --time=1 11fc4240ae21254dee98b87b874b11d591ae1f5d8084870bfabaaf062383efa6 [2023-04-12T03:42:54.628Z] $ docker rm -f --volumes 11fc4240ae21254dee98b87b874b11d591ae1f5d8084870bfabaaf062383efa6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T03:42:55.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-12T03:42:55.191Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-12T03:42:55.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-12T03:42:56.000Z] + ls -al . [2023-04-12T03:42:56.000Z] total 272 [2023-04-12T03:42:56.000Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 03:42 . [2023-04-12T03:42:56.000Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:40 .. [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 03:40 .dockerignore [2023-04-12T03:42:56.000Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 03:41 .git [2023-04-12T03:42:56.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 03:40 .github [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 03:40 .gitignore [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 03:40 .golangci.yml [2023-04-12T03:42:56.000Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 03:41 .semver [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 12 03:40 CHANGELOG.md [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 03:40 GOVERNANCE.md [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 12 03:40 Jenkinsfile [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 03:40 LICENSE [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 12 03:40 Makefile [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 03:40 OWNERS.md [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 12 03:40 README.md [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 03:41 VERSION [2023-04-12T03:42:56.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 03:40 bin [2023-04-12T03:42:56.000Z] -rw-r--r-- 1 jenkins jenkins 105788 Apr 12 03:42 coverage.out [2023-04-12T03:42:56.000Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 03:40 example [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 12 03:40 go.mod [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 12 03:40 go.sum [2023-04-12T03:42:56.000Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 03:40 internal [2023-04-12T03:42:56.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 03:40 openapi [2023-04-12T03:42:56.000Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 12 03:40 pkg [2023-04-12T03:42:56.000Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:40 snap [2023-04-12T03:42:56.000Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 03:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:42:56.308Z] + 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=1bd7b2ba827cfe9fe612635f136898848a716417 --label arch=amd64 --label version=0.0.0 . [2023-04-12T03:42:56.308Z] Sending build context to Docker daemon 11.07MB [2023-04-12T03:42:56.308Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T03:42:56.308Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-12T03:42:56.308Z] ---> 4e5175cdd77e [2023-04-12T03:42:56.309Z] Step 3/23 : ARG MAKE=make build [2023-04-12T03:42:56.568Z] ---> Running in 67e0f173b9a8 [2023-04-12T03:42:56.568Z] Removing intermediate container 67e0f173b9a8 [2023-04-12T03:42:56.568Z] ---> 90bed09b6e2d [2023-04-12T03:42:56.568Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-12T03:42:56.568Z] ---> Running in c430d5975d50 [2023-04-12T03:42:56.568Z] Removing intermediate container c430d5975d50 [2023-04-12T03:42:56.568Z] ---> 19111d666dec [2023-04-12T03:42:56.568Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-12T03:42:56.568Z] ---> Running in 1e861337c586 [2023-04-12T03:42:56.826Z] Removing intermediate container 1e861337c586 [2023-04-12T03:42:56.826Z] ---> 4330e95770cc [2023-04-12T03:42:56.826Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-12T03:42:56.826Z] ---> Running in 541081a50357 [2023-04-12T03:42:57.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-12T03:42:57.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-12T03:42:57.343Z] OK: 265 MiB in 53 packages [2023-04-12T03:42:57.911Z] Removing intermediate container 541081a50357 [2023-04-12T03:42:57.911Z] ---> e67324d0c722 [2023-04-12T03:42:57.911Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-12T03:42:57.911Z] ---> 5d41da14cfec [2023-04-12T03:42:57.911Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T03:42:57.911Z] ---> Running in c326ae991dcb [2023-04-12T03:42:58.481Z] Removing intermediate container c326ae991dcb [2023-04-12T03:42:58.481Z] ---> 3ab26bb1b054 [2023-04-12T03:42:58.481Z] Step 9/23 : COPY . . [2023-04-12T03:42:59.047Z] ---> b3e8b09d1ca1 [2023-04-12T03:42:59.047Z] Step 10/23 : RUN ${MAKE} [2023-04-12T03:42:59.047Z] ---> Running in 95b3f3576be8 [2023-04-12T03:42:59.304Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-12T03:43:10.870Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7523 in /w/workspace/gexfoundry_device-sdk-go_PR-1420 [Pipeline] { [Pipeline] ws [2023-04-12T03:43:10.882Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-04-12T03:43:10.913Z] The recommended git tool is: git [2023-04-12T03:43:16.231Z] using credential edgex-jenkins-ssh [2023-04-12T03:43:16.248Z] Cloning the remote Git repository [2023-04-12T03:43:16.284Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-12T03:43:16.381Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-04-12T03:43:16.545Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-12T03:43:16.546Z] > git --version # timeout=10 [2023-04-12T03:43:16.570Z] > git --version # 'git version 2.25.1' [2023-04-12T03:43:16.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T03:43:16.731Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T03:43:17.390Z] Removing intermediate container 95b3f3576be8 [2023-04-12T03:43:17.390Z] ---> ef4d125d764e [2023-04-12T03:43:17.390Z] Step 11/23 : FROM alpine:3.17 [2023-04-12T03:43:17.390Z] 3.17: Pulling from library/alpine [2023-04-12T03:43:17.390Z] f56be85fc22e: Pulling fs layer [2023-04-12T03:43:17.390Z] f56be85fc22e: Download complete [2023-04-12T03:43:17.390Z] f56be85fc22e: Pull complete [2023-04-12T03:43:17.390Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-12T03:43:17.390Z] Status: Downloaded newer image for alpine:3.17 [2023-04-12T03:43:17.390Z] ---> 9ed4aefc74f6 [2023-04-12T03:43:17.390Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-12T03:43:17.390Z] ---> Running in e769a2193339 [2023-04-12T03:43:17.390Z] Removing intermediate container e769a2193339 [2023-04-12T03:43:17.390Z] ---> 27574131e8dd [2023-04-12T03:43:17.390Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-12T03:43:17.390Z] ---> Running in 2506ffe632c9 [2023-04-12T03:43:17.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-12T03:43:17.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-12T03:43:17.650Z] OK: 7 MiB in 15 packages [2023-04-12T03:43:17.908Z] Removing intermediate container 2506ffe632c9 [2023-04-12T03:43:17.908Z] ---> e28f0bcab04a [2023-04-12T03:43:17.908Z] Step 14/23 : WORKDIR / [2023-04-12T03:43:18.168Z] ---> Running in 4ffb037e8b5f [2023-04-12T03:43:18.168Z] Removing intermediate container 4ffb037e8b5f [2023-04-12T03:43:18.168Z] ---> 86993f744784 [2023-04-12T03:43:18.168Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-12T03:43:18.168Z] ---> fc5b23cc82b4 [2023-04-12T03:43:18.168Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-12T03:43:18.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-12T03:43:18.342Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T03:43:18.739Z] ---> 29ad494a7810 [2023-04-12T03:43:18.739Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-12T03:43:18.997Z] ---> f5ca129b7184 [2023-04-12T03:43:18.997Z] Step 18/23 : EXPOSE 59999 [2023-04-12T03:43:18.997Z] ---> Running in 70accd0f2510 [2023-04-12T03:43:18.997Z] Removing intermediate container 70accd0f2510 [2023-04-12T03:43:18.997Z] ---> 805b49aaaf09 [2023-04-12T03:43:18.997Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-12T03:43:18.997Z] ---> Running in 61fd911d2946 [2023-04-12T03:43:19.256Z] Removing intermediate container 61fd911d2946 [2023-04-12T03:43:19.256Z] ---> 83c49d635808 [2023-04-12T03:43:19.256Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-12T03:43:19.256Z] ---> Running in 717582767e8a [2023-04-12T03:43:19.256Z] Removing intermediate container 717582767e8a [2023-04-12T03:43:19.256Z] ---> 835ad73d99c2 [2023-04-12T03:43:19.256Z] Step 21/23 : LABEL arch=amd64 [2023-04-12T03:43:19.256Z] ---> Running in a43c4edc4067 [2023-04-12T03:43:19.256Z] Removing intermediate container a43c4edc4067 [2023-04-12T03:43:19.256Z] ---> 9ecef3e5c365 [2023-04-12T03:43:19.256Z] Step 22/23 : LABEL git_sha=1bd7b2ba827cfe9fe612635f136898848a716417 [2023-04-12T03:43:19.256Z] ---> Running in e339eb95a93c [2023-04-12T03:43:19.516Z] Removing intermediate container e339eb95a93c [2023-04-12T03:43:19.516Z] ---> c4387116170a [2023-04-12T03:43:19.516Z] Step 23/23 : LABEL version=0.0.0 [2023-04-12T03:43:19.516Z] ---> Running in bbe0917e0257 [2023-04-12T03:43:19.516Z] Removing intermediate container bbe0917e0257 [2023-04-12T03:43:19.516Z] ---> 8ed20b52c5dc [2023-04-12T03:43:19.516Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-12T03:43:19.516Z] Successfully built 8ed20b52c5dc [2023-04-12T03:43:19.516Z] 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-04-12T03:43:19.261Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-12T03:43:19.308Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-12T03:43:19.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T03:43:19.328Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1420/head:refs/remotes/origin/PR-1420 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-12T03:43:19.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T03:43:19.909Z] [2023-04-12T03:43:19.909Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:43:20.061Z] Merging remotes/origin/main commit d73da920b9fd3a52132699998633ff8aee3aa256 into PR head commit 1bd7b2ba827cfe9fe612635f136898848a716417 [2023-04-12T03:43:20.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T03:43:20.202Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-12T03:43:20.202Z] 5eb5b503b376: Pulling fs layer [2023-04-12T03:43:20.202Z] 5c69ac0246d0: Pulling fs layer [2023-04-12T03:43:20.202Z] ec43610c2a17: Pulling fs layer [2023-04-12T03:43:20.202Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-12T03:43:20.202Z] 33b1e0a273af: Pulling fs layer [2023-04-12T03:43:20.202Z] 5d3b04190fa2: Pulling fs layer [2023-04-12T03:43:20.202Z] 2f39f015ded8: Pulling fs layer [2023-04-12T03:43:20.202Z] 3a2ae6a8a46f: Waiting [2023-04-12T03:43:20.202Z] 33b1e0a273af: Waiting [2023-04-12T03:43:20.202Z] 5d3b04190fa2: Waiting [2023-04-12T03:43:20.202Z] 2f39f015ded8: Waiting [2023-04-12T03:43:20.202Z] 5c69ac0246d0: Download complete [2023-04-12T03:43:20.202Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-12T03:43:20.202Z] 3a2ae6a8a46f: Download complete [2023-04-12T03:43:20.202Z] 33b1e0a273af: Verifying Checksum [2023-04-12T03:43:20.202Z] 33b1e0a273af: Download complete [2023-04-12T03:43:20.202Z] 5d3b04190fa2: Download complete [2023-04-12T03:43:20.202Z] ec43610c2a17: Verifying Checksum [2023-04-12T03:43:20.202Z] ec43610c2a17: Download complete [2023-04-12T03:43:20.358Z] Merge succeeded, producing 1bd7b2ba827cfe9fe612635f136898848a716417 [2023-04-12T03:43:20.359Z] Checking out Revision 1bd7b2ba827cfe9fe612635f136898848a716417 (PR-1420) [2023-04-12T03:43:20.460Z] 5eb5b503b376: Download complete [2023-04-12T03:43:21.026Z] 2f39f015ded8: Download complete [2023-04-12T03:43:20.076Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T03:43:20.160Z] > git checkout -f 1bd7b2ba827cfe9fe612635f136898848a716417 # timeout=10 [2023-04-12T03:43:20.262Z] > git remote # timeout=10 [2023-04-12T03:43:20.283Z] > git config --get remote.origin.url # timeout=10 [2023-04-12T03:43:20.302Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T03:43:20.316Z] > git merge d73da920b9fd3a52132699998633ff8aee3aa256 # timeout=10 [2023-04-12T03:43:20.339Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-12T03:43:20.360Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T03:43:20.376Z] > git checkout -f 1bd7b2ba827cfe9fe612635f136898848a716417 # timeout=10 [2023-04-12T03:43:21.590Z] 5eb5b503b376: Pull complete [2023-04-12T03:43:21.590Z] 5c69ac0246d0: Pull complete [2023-04-12T03:43:22.158Z] ec43610c2a17: Pull complete [2023-04-12T03:43:22.158Z] 3a2ae6a8a46f: Pull complete [2023-04-12T03:43:22.417Z] 33b1e0a273af: Pull complete [2023-04-12T03:43:22.417Z] 5d3b04190fa2: Pull complete [2023-04-12T03:43:23.839Z] Commit message: "fix: update regex resourceName match logic" [2023-04-12T03:43:24.224Z] [2023-04-12T03:43:24.224Z] GitHub has been notified of this commit’s build result [2023-04-12T03:43:24.224Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T03:43:24.740Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-12T03:43:24.741Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-12T03:43:24.741Z] Dload Upload Total Spent Left Speed [2023-04-12T03:43:24.741Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-04-12T03:43:25.416Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-12T03:43:25.743Z] + sudo tee /etc/docker/daemon.new [2023-04-12T03:43:25.743Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-12T03:43:25.743Z] { [2023-04-12T03:43:25.743Z] "registry-mirrors": [ [2023-04-12T03:43:25.743Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-12T03:43:25.743Z] ], [2023-04-12T03:43:25.743Z] "bip": "10.250.0.254/24", [2023-04-12T03:43:25.743Z] "hosts": [ [2023-04-12T03:43:25.743Z] "tcp://0.0.0.0:5555", [2023-04-12T03:43:25.743Z] "unix:///var/run/docker.sock" [2023-04-12T03:43:25.743Z] ], [2023-04-12T03:43:25.743Z] "mtu": 1458, [2023-04-12T03:43:25.743Z] "selinux-enabled": true, [2023-04-12T03:43:25.743Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-12T03:43:25.743Z] } [Pipeline] sh [2023-04-12T03:43:26.069Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-12T03:43:26.403Z] + sudo service docker restart [2023-04-12T03:43:26.602Z] 2f39f015ded8: Pull complete [2023-04-12T03:43:26.602Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-12T03:43:26.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T03:43:26.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T03:43:26.678Z] prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container [2023-04-12T03:43:26.710Z] $ 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-1420 -v /w/workspace/gexfoundry_device-sdk-go_PR-1420:/w/workspace/gexfoundry_device-sdk-go_PR-1420:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1420@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-04-12T03:43:29.900Z] $ docker top 601b46531c6c93230c6d28ad42a52eca2062f4666dd6d6a6060689050fe48c27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:43:30.279Z] ---> job-cost.sh [2023-04-12T03:43:30.279Z] lf-activate-venv: SKIPPING [2023-04-12T03:43:30.279Z] INFO: No Stack... [2023-04-12T03:43:30.538Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T03:43:31.107Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T03:43:31.396Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives/cost.csv [2023-04-12T03:43:31.397Z] + cut -d, -f6 [Pipeline] lock [2023-04-12T03:43:31.412Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1420-2-stack-cost] [2023-04-12T03:43:31.418Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1420-2-stack-cost] did not exist. Created. [2023-04-12T03:43:31.418Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1420-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-12T03:43:31.724Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-12T03:43:31.760Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T03:43:31.766Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1420-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T03:43:31.785Z] $ docker stop --time=1 601b46531c6c93230c6d28ad42a52eca2062f4666dd6d6a6060689050fe48c27 [2023-04-12T03:43:32.927Z] $ docker rm -f --volumes 601b46531c6c93230c6d28ad42a52eca2062f4666dd6d6a6060689050fe48c27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T03:43:48.504Z] provisioning config files... [2023-04-12T03:43:48.529Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15053937045898807657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:43:48.876Z] ---> docker-login.sh [2023-04-12T03:43:48.876Z] nexus3.edgexfoundry.org:10001 [2023-04-12T03:43:49.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:43:49.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:43:49.421Z] Configure a credential helper to remove this warning. See [2023-04-12T03:43:49.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:43:49.421Z] [2023-04-12T03:43:49.421Z] Login Succeeded [2023-04-12T03:43:49.421Z] nexus3.edgexfoundry.org:10002 [2023-04-12T03:43:49.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:43:49.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:43:49.689Z] Configure a credential helper to remove this warning. See [2023-04-12T03:43:49.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:43:49.689Z] [2023-04-12T03:43:49.689Z] Login Succeeded [2023-04-12T03:43:49.689Z] nexus3.edgexfoundry.org:10003 [2023-04-12T03:43:49.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:43:50.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:43:50.227Z] Configure a credential helper to remove this warning. See [2023-04-12T03:43:50.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:43:50.227Z] [2023-04-12T03:43:50.227Z] Login Succeeded [2023-04-12T03:43:50.227Z] nexus3.edgexfoundry.org:10004 [2023-04-12T03:43:50.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:43:50.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:43:50.502Z] Configure a credential helper to remove this warning. See [2023-04-12T03:43:50.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:43:50.502Z] [2023-04-12T03:43:50.502Z] Login Succeeded [2023-04-12T03:43:50.502Z] docker.io [2023-04-12T03:43:50.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T03:43:51.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T03:43:51.041Z] Configure a credential helper to remove this warning. See [2023-04-12T03:43:51.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T03:43:51.041Z] [2023-04-12T03:43:51.041Z] Login Succeeded [2023-04-12T03:43:51.041Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T03:43:51.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T03:43:51.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T03:43:51.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T03:43:51.324Z] ========================================================= [2023-04-12T03:43:51.324Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-12T03:43:51.324Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:43:51.669Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-12T03:43:51.938Z] Sending build context to Docker daemon 5.897MB [2023-04-12T03:43:52.212Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T03:43:52.212Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-12T03:43:52.212Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-12T03:43:52.212Z] af6eaf76a39c: Pulling fs layer [2023-04-12T03:43:52.212Z] 55522c791124: Pulling fs layer [2023-04-12T03:43:52.212Z] ce5c4a1c91eb: Pulling fs layer [2023-04-12T03:43:52.212Z] 169dfbe0d373: Pulling fs layer [2023-04-12T03:43:52.212Z] e1ff8fa3b103: Pulling fs layer [2023-04-12T03:43:52.212Z] 52ebb69f0ebf: Pulling fs layer [2023-04-12T03:43:52.212Z] 5abe8eddf0d5: Pulling fs layer [2023-04-12T03:43:52.212Z] 169dfbe0d373: Waiting [2023-04-12T03:43:52.212Z] e1ff8fa3b103: Waiting [2023-04-12T03:43:52.212Z] 52ebb69f0ebf: Waiting [2023-04-12T03:43:52.212Z] 5abe8eddf0d5: Waiting [2023-04-12T03:43:52.212Z] 55522c791124: Verifying Checksum [2023-04-12T03:43:52.212Z] 55522c791124: Download complete [2023-04-12T03:43:52.212Z] 169dfbe0d373: Verifying Checksum [2023-04-12T03:43:52.212Z] 169dfbe0d373: Download complete [2023-04-12T03:43:52.212Z] e1ff8fa3b103: Verifying Checksum [2023-04-12T03:43:52.212Z] e1ff8fa3b103: Download complete [2023-04-12T03:43:52.484Z] af6eaf76a39c: Verifying Checksum [2023-04-12T03:43:52.484Z] af6eaf76a39c: Download complete [2023-04-12T03:43:53.455Z] af6eaf76a39c: Pull complete [2023-04-12T03:43:53.455Z] 5abe8eddf0d5: Verifying Checksum [2023-04-12T03:43:53.455Z] 5abe8eddf0d5: Download complete [2023-04-12T03:43:54.048Z] 55522c791124: Pull complete [2023-04-12T03:43:55.010Z] ce5c4a1c91eb: Verifying Checksum [2023-04-12T03:43:55.010Z] ce5c4a1c91eb: Download complete [2023-04-12T03:43:55.010Z] 52ebb69f0ebf: Verifying Checksum [2023-04-12T03:43:55.010Z] 52ebb69f0ebf: Download complete [2023-04-12T03:44:07.351Z] ce5c4a1c91eb: Pull complete [2023-04-12T03:44:07.351Z] 169dfbe0d373: Pull complete [2023-04-12T03:44:07.351Z] e1ff8fa3b103: Pull complete [2023-04-12T03:44:12.714Z] 52ebb69f0ebf: Pull complete [2023-04-12T03:44:14.144Z] 5abe8eddf0d5: Pull complete [2023-04-12T03:44:14.144Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-12T03:44:14.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-12T03:44:14.144Z] ---> 6cb57ee374ae [2023-04-12T03:44:14.144Z] Step 3/10 : ARG MAKE=make build [2023-04-12T03:44:16.098Z] ---> Running in a2f19ea7c89d [2023-04-12T03:44:16.098Z] Removing intermediate container a2f19ea7c89d [2023-04-12T03:44:16.098Z] ---> 7d4f7ed9260d [2023-04-12T03:44:16.098Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-12T03:44:16.098Z] ---> Running in f3fb11bb9230 [2023-04-12T03:44:16.365Z] Removing intermediate container f3fb11bb9230 [2023-04-12T03:44:16.365Z] ---> 7d10a48d0ac6 [2023-04-12T03:44:16.365Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-12T03:44:16.632Z] ---> Running in ce4a328daa93 [2023-04-12T03:44:16.907Z] Removing intermediate container ce4a328daa93 [2023-04-12T03:44:16.907Z] ---> db4e94a5abcf [2023-04-12T03:44:16.907Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-12T03:44:16.907Z] ---> Running in cccbcdb60c2f [2023-04-12T03:44:18.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-12T03:44:18.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-12T03:44:20.008Z] OK: 263 MiB in 53 packages [2023-04-12T03:44:20.596Z] Removing intermediate container cccbcdb60c2f [2023-04-12T03:44:20.596Z] ---> 7e9d529a6df8 [2023-04-12T03:44:20.596Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-12T03:44:21.181Z] ---> 14a9a1e4d9ff [2023-04-12T03:44:21.181Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T03:44:21.181Z] ---> Running in 51e8b7e7c1f9 [2023-04-12T03:45:17.589Z] Removing intermediate container 51e8b7e7c1f9 [2023-04-12T03:45:17.589Z] ---> 4ca226f01fc7 [2023-04-12T03:45:17.589Z] Step 9/10 : COPY . . [2023-04-12T03:45:17.589Z] ---> fd4d31f9ad63 [2023-04-12T03:45:17.589Z] Step 10/10 : RUN ${MAKE} [2023-04-12T03:45:17.589Z] ---> Running in cbcf4a7ad096 [2023-04-12T03:45:17.589Z] noop [2023-04-12T03:45:17.589Z] Removing intermediate container cbcf4a7ad096 [2023-04-12T03:45:17.589Z] ---> ef666234aa44 [2023-04-12T03:45:17.854Z] Successfully built ef666234aa44 [2023-04-12T03:45:17.854Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:45:18.200Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T03:45:18.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T03:45:18.390Z] prd-ubuntu20.04-docker-arm64-4c-16g-7523 does not seem to be running inside a container [2023-04-12T03:45:18.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-12T03:45:19.507Z] $ docker top 7d4aff7cf25a793cf9255731fbaab6d7be86b16718f5ef2b7370657d405fce02 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T03:45:20.292Z] + go version [2023-04-12T03:45:20.292Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-12T03:45:20.321Z] $ docker stop --time=1 7d4aff7cf25a793cf9255731fbaab6d7be86b16718f5ef2b7370657d405fce02 [2023-04-12T03:45:21.874Z] $ docker rm -f --volumes 7d4aff7cf25a793cf9255731fbaab6d7be86b16718f5ef2b7370657d405fce02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:45:22.384Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T03:45:22.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T03:45:22.551Z] prd-ubuntu20.04-docker-arm64-4c-16g-7523 does not seem to be running inside a container [2023-04-12T03:45:22.620Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-12T03:45:23.682Z] $ docker top eaecc3e5d83a19f6c67a4dacbe127afe8a6cfcb539ffaf4ecc4ad38043c10efd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T03:45:24.158Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-04-12T03:45:24.480Z] + make test [2023-04-12T03:45:24.480Z] go test -race -coverprofile=coverage.out ./... [2023-04-12T03:46:03.319Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-12T03:47:54.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-12T03:47:54.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-12T03:47:54.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-12T03:47:54.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-12T03:47:54.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-12T03:48:01.594Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.193s coverage: 27.6% of statements [2023-04-12T03:48:01.594Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.270s coverage: 79.9% of statements [2023-04-12T03:48:13.912Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-12T03:48:13.912Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-12T03:48:13.912Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.372s coverage: 86.0% of statements [2023-04-12T03:48:20.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-12T03:48:20.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.415s coverage: 77.5% of statements [2023-04-12T03:48:25.912Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-12T03:48:27.329Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-12T03:48:27.329Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-12T03:48:28.741Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.518s coverage: 14.6% of statements [2023-04-12T03:48:28.741Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.506s coverage: 68.5% of statements [2023-04-12T03:48:33.005Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.495s coverage: 89.2% of statements [2023-04-12T03:48:33.968Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-12T03:48:33.968Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.240s coverage: 5.6% of statements [2023-04-12T03:48:34.932Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-12T03:48:34.932Z] GO111MODULE=on go vet ./... [2023-04-12T03:50:56.986Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-12T03:50:56.986Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-12T03:50:56.986Z] ./bin/test-attribution-txt.sh [2023-04-12T03:50:56.986Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-12T03:50:57.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-12T03:50:57.041Z] $ docker stop --time=1 eaecc3e5d83a19f6c67a4dacbe127afe8a6cfcb539ffaf4ecc4ad38043c10efd [2023-04-12T03:50:58.968Z] $ docker rm -f --volumes eaecc3e5d83a19f6c67a4dacbe127afe8a6cfcb539ffaf4ecc4ad38043c10efd [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T03:51:00.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-12T03:51:00.484Z] Warning: overwriting stash ‘coverage-report’ [2023-04-12T03:51:01.071Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T03:51:01.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-12T03:51:01.752Z] + ls -al . [2023-04-12T03:51:01.752Z] total 268 [2023-04-12T03:51:01.752Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 03:45 . [2023-04-12T03:51:01.752Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:43 .. [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 03:43 .dockerignore [2023-04-12T03:51:01.752Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 03:43 .git [2023-04-12T03:51:01.752Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 03:43 .github [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 03:43 .gitignore [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 03:43 .golangci.yml [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 12 03:43 CHANGELOG.md [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 03:43 GOVERNANCE.md [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 12 03:43 Jenkinsfile [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 03:43 LICENSE [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 12 03:43 Makefile [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 03:43 OWNERS.md [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 12 03:43 README.md [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 03:41 VERSION [2023-04-12T03:51:01.752Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 03:43 bin [2023-04-12T03:51:01.752Z] -rw-r--r-- 1 jenkins jenkins 105787 Apr 12 03:48 coverage.out [2023-04-12T03:51:01.752Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 03:43 example [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 12 03:43 go.mod [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 31006 Apr 12 03:43 go.sum [2023-04-12T03:51:01.752Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 03:43 internal [2023-04-12T03:51:01.752Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 03:43 openapi [2023-04-12T03:51:01.752Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 12 03:43 pkg [2023-04-12T03:51:01.752Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:43 snap [2023-04-12T03:51:01.752Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 03:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:51:02.089Z] + 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=1bd7b2ba827cfe9fe612635f136898848a716417 --label arch=arm64 --label version=0.0.0 . [2023-04-12T03:51:02.357Z] Sending build context to Docker daemon 6.003MB [2023-04-12T03:51:02.625Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T03:51:02.625Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-12T03:51:02.625Z] ---> ef666234aa44 [2023-04-12T03:51:02.625Z] Step 3/23 : ARG MAKE=make build [2023-04-12T03:51:02.625Z] ---> Running in 6568b7621411 [2023-04-12T03:51:02.893Z] Removing intermediate container 6568b7621411 [2023-04-12T03:51:02.893Z] ---> 3b5e7cc9e9b9 [2023-04-12T03:51:02.893Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-12T03:51:03.159Z] ---> Running in 363d221fcec6 [2023-04-12T03:51:03.426Z] Removing intermediate container 363d221fcec6 [2023-04-12T03:51:03.426Z] ---> 9f3a9021e808 [2023-04-12T03:51:03.426Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-12T03:51:03.426Z] ---> Running in 516fa1edca70 [2023-04-12T03:51:03.697Z] Removing intermediate container 516fa1edca70 [2023-04-12T03:51:03.697Z] ---> 3000127b717d [2023-04-12T03:51:03.697Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-12T03:51:03.697Z] ---> Running in cb25a800ecb8 [2023-04-12T03:51:04.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-12T03:51:05.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-12T03:51:06.192Z] OK: 263 MiB in 53 packages [2023-04-12T03:51:07.157Z] Removing intermediate container cb25a800ecb8 [2023-04-12T03:51:07.157Z] ---> 7bac8cbb804b [2023-04-12T03:51:07.157Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-12T03:51:07.429Z] ---> fa06173bec7b [2023-04-12T03:51:07.429Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T03:51:07.696Z] ---> Running in 661ab2b1222c [2023-04-12T03:51:10.277Z] Removing intermediate container 661ab2b1222c [2023-04-12T03:51:10.277Z] ---> 54818b41b625 [2023-04-12T03:51:10.277Z] Step 9/23 : COPY . . [2023-04-12T03:51:14.539Z] ---> eebd13c42548 [2023-04-12T03:51:14.539Z] Step 10/23 : RUN ${MAKE} [2023-04-12T03:51:14.539Z] ---> Running in 2d4043e97283 [2023-04-12T03:51:15.952Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-12T03:53:22.626Z] Removing intermediate container 2d4043e97283 [2023-04-12T03:53:22.626Z] ---> a94b05a167f1 [2023-04-12T03:53:22.626Z] Step 11/23 : FROM alpine:3.17 [2023-04-12T03:53:22.626Z] 3.17: Pulling from library/alpine [2023-04-12T03:53:22.626Z] c41833b44d91: Pulling fs layer [2023-04-12T03:53:22.626Z] c41833b44d91: Verifying Checksum [2023-04-12T03:53:22.626Z] c41833b44d91: Download complete [2023-04-12T03:53:22.626Z] c41833b44d91: Pull complete [2023-04-12T03:53:22.626Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-12T03:53:22.626Z] Status: Downloaded newer image for alpine:3.17 [2023-04-12T03:53:22.626Z] ---> 51e60588ff2c [2023-04-12T03:53:22.626Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-12T03:53:22.626Z] ---> Running in d5520427ae80 [2023-04-12T03:53:22.626Z] Removing intermediate container d5520427ae80 [2023-04-12T03:53:22.626Z] ---> 63800e892bc1 [2023-04-12T03:53:22.626Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-12T03:53:22.626Z] ---> Running in 50869dd60a27 [2023-04-12T03:53:22.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-12T03:53:22.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-12T03:53:23.851Z] OK: 7 MiB in 15 packages [2023-04-12T03:53:24.808Z] Removing intermediate container 50869dd60a27 [2023-04-12T03:53:24.808Z] ---> 2ee361595801 [2023-04-12T03:53:24.808Z] Step 14/23 : WORKDIR / [2023-04-12T03:53:24.808Z] ---> Running in bb261f63a84c [2023-04-12T03:53:25.074Z] Removing intermediate container bb261f63a84c [2023-04-12T03:53:25.074Z] ---> 447dc279b04d [2023-04-12T03:53:25.074Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-12T03:53:25.658Z] ---> c81d17786069 [2023-04-12T03:53:25.658Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-12T03:53:27.060Z] ---> f13ca0a475c2 [2023-04-12T03:53:27.060Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-12T03:53:27.328Z] ---> c1cae4864663 [2023-04-12T03:53:27.329Z] Step 18/23 : EXPOSE 59999 [2023-04-12T03:53:27.595Z] ---> Running in ed6340ef5cbd [2023-04-12T03:53:27.864Z] Removing intermediate container ed6340ef5cbd [2023-04-12T03:53:27.864Z] ---> c1aafe6fc3a3 [2023-04-12T03:53:27.864Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-12T03:53:27.864Z] ---> Running in c501791b9ba9 [2023-04-12T03:53:28.130Z] Removing intermediate container c501791b9ba9 [2023-04-12T03:53:28.130Z] ---> d424e0d20019 [2023-04-12T03:53:28.130Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-12T03:53:28.130Z] ---> Running in f54287fcab7e [2023-04-12T03:53:28.398Z] Removing intermediate container f54287fcab7e [2023-04-12T03:53:28.398Z] ---> a982abfa2fb2 [2023-04-12T03:53:28.398Z] Step 21/23 : LABEL arch=arm64 [2023-04-12T03:53:28.665Z] ---> Running in 8876d4bce8f0 [2023-04-12T03:53:28.932Z] Removing intermediate container 8876d4bce8f0 [2023-04-12T03:53:28.932Z] ---> 1bf6f41eb1f7 [2023-04-12T03:53:28.932Z] Step 22/23 : LABEL git_sha=1bd7b2ba827cfe9fe612635f136898848a716417 [2023-04-12T03:53:28.932Z] ---> Running in 99e87b8a1f8f [2023-04-12T03:53:29.199Z] Removing intermediate container 99e87b8a1f8f [2023-04-12T03:53:29.199Z] ---> b0a2a0a88122 [2023-04-12T03:53:29.199Z] Step 23/23 : LABEL version=0.0.0 [2023-04-12T03:53:29.199Z] ---> Running in c0271594460a [2023-04-12T03:53:29.466Z] Removing intermediate container c0271594460a [2023-04-12T03:53:29.466Z] ---> 1eb6225cb41f [2023-04-12T03:53:29.466Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-12T03:53:29.466Z] Successfully built 1eb6225cb41f [2023-04-12T03:53:29.466Z] 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-04-12T03:53:29.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T03:53:29.890Z] [2023-04-12T03:53:29.890Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:53:30.218Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T03:53:30.218Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-12T03:53:30.218Z] 8998bd30e6a1: Pulling fs layer [2023-04-12T03:53:30.218Z] 04944245beec: Pulling fs layer [2023-04-12T03:53:30.218Z] 699f458cf7ca: Pulling fs layer [2023-04-12T03:53:30.218Z] 765212b225bb: Pulling fs layer [2023-04-12T03:53:30.218Z] f23df028b6ca: Pulling fs layer [2023-04-12T03:53:30.218Z] d65c8cfc05b1: Pulling fs layer [2023-04-12T03:53:30.218Z] 2437ff75d9bd: Pulling fs layer [2023-04-12T03:53:30.218Z] 765212b225bb: Waiting [2023-04-12T03:53:30.218Z] f23df028b6ca: Waiting [2023-04-12T03:53:30.218Z] d65c8cfc05b1: Waiting [2023-04-12T03:53:30.218Z] 2437ff75d9bd: Waiting [2023-04-12T03:53:30.486Z] 04944245beec: Verifying Checksum [2023-04-12T03:53:30.486Z] 04944245beec: Download complete [2023-04-12T03:53:30.486Z] 765212b225bb: Verifying Checksum [2023-04-12T03:53:30.486Z] 765212b225bb: Download complete [2023-04-12T03:53:30.486Z] f23df028b6ca: Download complete [2023-04-12T03:53:30.486Z] d65c8cfc05b1: Verifying Checksum [2023-04-12T03:53:30.486Z] d65c8cfc05b1: Download complete [2023-04-12T03:53:30.486Z] 699f458cf7ca: Verifying Checksum [2023-04-12T03:53:30.486Z] 699f458cf7ca: Download complete [2023-04-12T03:53:31.070Z] 8998bd30e6a1: Verifying Checksum [2023-04-12T03:53:31.070Z] 8998bd30e6a1: Download complete [2023-04-12T03:53:33.011Z] 2437ff75d9bd: Download complete [2023-04-12T03:53:34.955Z] 8998bd30e6a1: Pull complete [2023-04-12T03:53:37.530Z] 04944245beec: Pull complete [2023-04-12T03:53:38.487Z] 699f458cf7ca: Pull complete [2023-04-12T03:53:38.754Z] 765212b225bb: Pull complete [2023-04-12T03:53:39.712Z] f23df028b6ca: Pull complete [2023-04-12T03:53:39.712Z] d65c8cfc05b1: Pull complete [2023-04-12T03:53:52.003Z] 2437ff75d9bd: Pull complete [2023-04-12T03:53:52.003Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-12T03:53:52.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T03:53:52.003Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T03:53:52.183Z] prd-ubuntu20.04-docker-arm64-4c-16g-7523 does not seem to be running inside a container [2023-04-12T03:53:52.255Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:arm64 cat [2023-04-12T03:53:54.676Z] $ docker top 1c982da41a2ac3e8bdd141ba6406dcaa7db7af07da7bda788e12c39e642bac21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:53:55.140Z] ---> job-cost.sh [2023-04-12T03:53:55.405Z] lf-activate-venv: SKIPPING [2023-04-12T03:53:55.405Z] INFO: No Stack... [2023-04-12T03:53:55.681Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-12T03:53:56.634Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T03:53:56.947Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-04-12T03:53:56.947Z] + cut -d, -f6 [Pipeline] lock [2023-04-12T03:53:57.003Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1420-2-stack-cost] [2023-04-12T03:53:57.009Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1420-2-stack-cost] did not exist. Created. [2023-04-12T03:53:57.010Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1420-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-12T03:53:57.338Z] /w/workspace/device-sdk-go/2@tmp/durable-916f7053/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-12T03:53:57.661Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-12T03:53:57.683Z] Warning: overwriting stash ‘stack-cost’ [2023-04-12T03:53:57.737Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T03:53:57.749Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1420-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T03:53:57.785Z] $ docker stop --time=1 1c982da41a2ac3e8bdd141ba6406dcaa7db7af07da7bda788e12c39e642bac21 [2023-04-12T03:53:59.222Z] $ docker rm -f --volumes 1c982da41a2ac3e8bdd141ba6406dcaa7db7af07da7bda788e12c39e642bac21 [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-04-12T03:53:59.645Z] provisioning config files... [2023-04-12T03:53:59.653Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/config4755274527276267743tmp [Pipeline] { [Pipeline] sh [2023-04-12T03:53:59.942Z] + set +x [2023-04-12T03:53:59.942Z] + curl -s https://codecov.io/bash [2023-04-12T03:53:59.942Z] + bash -s -- [2023-04-12T03:53:59.942Z] [2023-04-12T03:53:59.942Z] _____ _ [2023-04-12T03:53:59.942Z] / ____| | | [2023-04-12T03:53:59.942Z] | | ___ __| | ___ ___ _____ __ [2023-04-12T03:53:59.942Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-12T03:53:59.942Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-12T03:53:59.942Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-12T03:53:59.942Z] Bash-1.0.6 [2023-04-12T03:53:59.942Z] [2023-04-12T03:53:59.942Z] [2023-04-12T03:53:59.942Z] ==> git version 2.25.1 found [2023-04-12T03:53:59.942Z] ==> 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-04-12T03:53:59.942Z] Release-Date: 2020-01-08 [2023-04-12T03:53:59.942Z] 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-04-12T03:53:59.942Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-12T03:53:59.942Z] ==> Jenkins CI detected. [2023-04-12T03:53:59.942Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1420 [2023-04-12T03:53:59.942Z] project root: . [2023-04-12T03:53:59.942Z] --> token set from env [2023-04-12T03:53:59.942Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-12T03:53:59.942Z] ==> Running gcov in . (disable via -X gcov) [2023-04-12T03:53:59.942Z] ==> Python coveragepy not found [2023-04-12T03:53:59.942Z] ==> Searching for coverage reports in: [2023-04-12T03:53:59.942Z] + . [2023-04-12T03:53:59.942Z] -> Found 1 reports [2023-04-12T03:53:59.942Z] ==> Detecting git/mercurial file structure [2023-04-12T03:54:00.201Z] ==> Reading reports [2023-04-12T03:54:00.201Z] + ./coverage.out bytes=105787 [2023-04-12T03:54:00.201Z] ==> Appending adjustments [2023-04-12T03:54:00.201Z] https://docs.codecov.io/docs/fixing-reports [2023-04-12T03:54:00.461Z] + Found adjustments [2023-04-12T03:54:00.461Z] ==> Gzipping contents [2023-04-12T03:54:00.461Z] 16K /tmp/codecov.nkltps.gz [2023-04-12T03:54:00.461Z] ==> Uploading reports [2023-04-12T03:54:00.461Z] url: https://codecov.io [2023-04-12T03:54:00.461Z] query: branch=PR-1420&commit=1bd7b2ba827cfe9fe612635f136898848a716417&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1420%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1420&job=&cmd_args= [2023-04-12T03:54:00.461Z] -> Pinging Codecov [2023-04-12T03:54:00.461Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1420&commit=1bd7b2ba827cfe9fe612635f136898848a716417&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1420%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1420&job=&cmd_args= [2023-04-12T03:54:00.461Z] -> Uploading to [2023-04-12T03:54:00.461Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-12/7E55EF52A471D76F132DFD9A03CDDE97/1bd7b2ba827cfe9fe612635f136898848a716417/ab43edfa-74ed-42f7-bee7-a60e75668657.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230412T035400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b85045d6741ee0691ee37141dcff0cbacd1c26dd7792d6795cc56b333fd30f2a [2023-04-12T03:54:00.461Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-12T03:54:00.461Z] Dload Upload Total Spent Left Speed [2023-04-12T03:54:00.720Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14988 0 0 100 14988 0 50295 --:--:-- --:--:-- --:--:-- 50295 [2023-04-12T03:54:00.720Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1bd7b2ba827cfe9fe612635f136898848a716417 [Pipeline] } [2023-04-12T03:54:00.728Z] 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-04-12T03:54:01.464Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives ] [2023-04-12T03:54:01.464Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives [2023-04-12T03:54:01.464Z] total 16 [2023-04-12T03:54:01.464Z] drwxr-xr-x 3 root root 4096 Apr 12 03:43 . [2023-04-12T03:54:01.464Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 03:43 .. [2023-04-12T03:54:01.464Z] drwxr-xr-x 2 root root 4096 Apr 12 03:43 cost [2023-04-12T03:54:01.464Z] -rw-r--r-- 1 root root 86 Apr 12 03:43 cost.csv [2023-04-12T03:54:01.464Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives [2023-04-12T03:54:01.464Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives [2023-04-12T03:54:01.464Z] total 16 [2023-04-12T03:54:01.464Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 03:43 . [2023-04-12T03:54:01.464Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 03:43 .. [2023-04-12T03:54:01.464Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 03:43 cost [2023-04-12T03:54:01.464Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 12 03:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:54:01.759Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:54:02.620Z] ---> package-listing.sh [2023-04-12T03:54:02.620Z] ++ facter osfamily [2023-04-12T03:54:02.620Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-12T03:54:02.878Z] + OS_FAMILY=debian [2023-04-12T03:54:02.878Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1420 [2023-04-12T03:54:02.878Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-12T03:54:02.878Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-12T03:54:02.878Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-12T03:54:02.878Z] + PACKAGES=/tmp/packages_start.txt [2023-04-12T03:54:02.878Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1420 ']' [2023-04-12T03:54:02.878Z] + PACKAGES=/tmp/packages_end.txt [2023-04-12T03:54:02.878Z] + case "${OS_FAMILY}" in [2023-04-12T03:54:02.878Z] + dpkg -l [2023-04-12T03:54:02.878Z] + grep '^ii' [2023-04-12T03:54:02.878Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-12T03:54:02.878Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-12T03:54:02.878Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-12T03:54:02.878Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1420 ']' [2023-04-12T03:54:02.878Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives/ [2023-04-12T03:54:02.878Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1420/archives/ [Pipeline] echo [2023-04-12T03:54:02.888Z] 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-1420/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-12T03:54:03.162Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T03:54:03.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T03:54:03.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T03:54:03.788Z] prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container [2023-04-12T03:54:03.822Z] $ 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-1420/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-1420 -v /w/workspace/gexfoundry_device-sdk-go_PR-1420:/w/workspace/gexfoundry_device-sdk-go_PR-1420:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-12T03:54:04.031Z] $ docker top 33ffc8d6cd997717e9b4cea8dfcc6497911cafda50a98783c680a9b5859be4bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T03:54:04.364Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-12T03:54:04.648Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-12T03:54:04.934Z] + ls /var/log/sa-host [2023-04-12T03:54:04.934Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T03:54:05.078Z] provisioning config files... [2023-04-12T03:54:05.087Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1420@tmp/config37603522011764819tmp [Pipeline] { [Pipeline] echo [2023-04-12T03:54:05.100Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:54:05.382Z] ---> create-netrc.sh [Pipeline] } [2023-04-12T03:54:05.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:54:05.728Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-12T03:54:05.736Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:54:06.023Z] ---> sudo-logs.sh [2023-04-12T03:54:06.023Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-12T03:54:06.050Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:54:06.334Z] ---> job-cost.sh [2023-04-12T03:54:06.334Z] lf-activate-venv: SKIPPING [2023-04-12T03:54:06.334Z] DEBUG: total: 0.2199999988079071 [2023-04-12T03:54:06.334Z] INFO: Retrieving Stack Cost... [2023-04-12T03:54:06.901Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T03:54:07.161Z] INFO: Archiving Costs [Pipeline] echo [2023-04-12T03:54:07.171Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T03:54:07.452Z] ---> logs-deploy.sh [2023-04-12T03:54:07.452Z] lf-activate-venv: SKIPPING [2023-04-12T03:54:07.452Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1420/2 [2023-04-12T03:54:07.452Z] INFO: archiving workspace using pattern(s): [2023-04-12T03:54:08.392Z] Archives upload complete. [2023-04-12T03:54:08.392Z] INFO: archiving logs to Nexus