Pull request #1527 reopened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 529b12373622c5323c12703f33cb9a6cb56564eb+e28de28d8c8f2f4c5ae4fdcac5a3c788fe68241d (4a002f261b2fce84a9bc61e5aafb014e9a2916ad) 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-ssh776749343623861735.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3189751924654400185.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1527/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-1527/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11385889422380397488.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7335263480930526730.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-1527/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-1527/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1750608551501018941.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9927 in /w/workspace/gexfoundry_device-sdk-go_PR-1527 [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-1527 # 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 Merging remotes/origin/main commit e28de28d8c8f2f4c5ae4fdcac5a3c788fe68241d into PR head commit 529b12373622c5323c12703f33cb9a6cb56564eb Merge succeeded, producing 529b12373622c5323c12703f33cb9a6cb56564eb Checking out Revision 529b12373622c5323c12703f33cb9a6cb56564eb (PR-1527) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" > 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/1527/head:refs/remotes/origin/PR-1527 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 529b12373622c5323c12703f33cb9a6cb56564eb # 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 e28de28d8c8f2f4c5ae4fdcac5a3c788fe68241d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 529b12373622c5323c12703f33cb9a6cb56564eb # timeout=10 > git rev-list --no-walk 529b12373622c5323c12703f33cb9a6cb56564eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T15:10:25.867Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T15:10:25.927Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T15:10:25.941Z] ========================================================= [2023-10-24T15:10:25.941Z] EdgeX Global Pipelines Version Info [2023-10-24T15:10:25.941Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:10:26.648Z] ------------------- [2023-10-24T15:10:26.648Z] stable info: [2023-10-24T15:10:26.648Z] ------------------- [2023-10-24T15:10:26.648Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T15:10:26.648Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T15:10:26.648Z] Message: update stable to v1.0.254 [2023-10-24T15:10:27.587Z] ------------------- [2023-10-24T15:10:27.587Z] experimental info: [2023-10-24T15:10:27.587Z] ------------------- [2023-10-24T15:10:27.587Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T15:10:27.587Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T15:10:27.587Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T15:10:27.741Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-24T15:10:27.755Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-24T15:10:27.770Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T15:10:27.786Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T15:10:27.801Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T15:10:27.819Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T15:10:27.834Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T15:10:27.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-24T15:10:27.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T15:10:27.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T15:10:27.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T15:10:27.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-24T15:10:27.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T15:10:27.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T15:10:27.961Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T15:10:27.970Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T15:10:27.980Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T15:10:27.993Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T15:10:28.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T15:10:28.023Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T15:10:28.034Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-24T15:10:28.046Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-24T15:10:28.059Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T15:10:28.075Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T15:10:28.092Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T15:10:28.103Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T15:10:28.119Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T15:10:28.138Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1527 [Pipeline] echo [2023-10-24T15:10:28.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1527 [Pipeline] echo [2023-10-24T15:10:28.170Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1527 [Pipeline] echo [2023-10-24T15:10:28.183Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 529b12373622c5323c12703f33cb9a6cb56564eb [Pipeline] echo [2023-10-24T15:10:28.199Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 529b123 [Pipeline] echo [2023-10-24T15:10:28.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:10:28.264Z] provisioning config files... [2023-10-24T15:10:28.277Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/config5967660600410311869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:10:28.579Z] ---> docker-login.sh [2023-10-24T15:10:28.579Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:10:28.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:10:28.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:10:28.839Z] Configure a credential helper to remove this warning. See [2023-10-24T15:10:28.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:10:28.839Z] [2023-10-24T15:10:28.839Z] Login Succeeded [2023-10-24T15:10:28.839Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:10:28.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:10:28.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:10:28.839Z] Configure a credential helper to remove this warning. See [2023-10-24T15:10:28.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:10:28.839Z] [2023-10-24T15:10:28.839Z] Login Succeeded [2023-10-24T15:10:28.839Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:10:29.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:10:29.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:10:29.101Z] Configure a credential helper to remove this warning. See [2023-10-24T15:10:29.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:10:29.101Z] [2023-10-24T15:10:29.101Z] Login Succeeded [2023-10-24T15:10:29.101Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:10:29.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:10:29.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:10:29.101Z] Configure a credential helper to remove this warning. See [2023-10-24T15:10:29.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:10:29.101Z] [2023-10-24T15:10:29.101Z] Login Succeeded [2023-10-24T15:10:29.101Z] docker.io [2023-10-24T15:10:29.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:10:29.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:10:29.365Z] Configure a credential helper to remove this warning. See [2023-10-24T15:10:29.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:10:29.365Z] [2023-10-24T15:10:29.626Z] Login Succeeded [2023-10-24T15:10:29.626Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:10:29.636Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T15:10:30.021Z] + git rev-list -1 --merges 529b12373622c5323c12703f33cb9a6cb56564eb~1..529b12373622c5323c12703f33cb9a6cb56564eb [Pipeline] echo [2023-10-24T15:10:30.071Z] -----------> git rev-list -1 --merges 529b12373622c5323c12703f33cb9a6cb56564eb~1..529b12373622c5323c12703f33cb9a6cb56564eb 529b12373622c5323c12703f33cb9a6cb56564eb [false] [Pipeline] sh [2023-10-24T15:10:30.368Z] + git log --format=format:%s -1 529b12373622c5323c12703f33cb9a6cb56564eb [Pipeline] echo [2023-10-24T15:10:30.384Z] ========================================================= [2023-10-24T15:10:30.384Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T15:10:30.384Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:10:30.709Z] + git log --format=format:%s -1 529b12373622c5323c12703f33cb9a6cb56564eb [Pipeline] echo [2023-10-24T15:10:30.720Z] [semverPrep] GIT_COMMIT: 529b12373622c5323c12703f33cb9a6cb56564eb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-10-24T15:10:30.729Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T15:10:31.110Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T15:10:31.110Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T15:10:31.110Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T15:10:31.110Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T15:10:31.110Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T15:10:31.110Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T15:10:31.110Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:10:31.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:10:31.466Z] [2023-10-24T15:10:31.466Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:10:31.781Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:10:31.781Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T15:10:31.781Z] b85a868b505f: Pulling fs layer [2023-10-24T15:10:31.781Z] e2be974225ed: Pulling fs layer [2023-10-24T15:10:31.781Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T15:10:31.781Z] 988bab9f4d93: Pulling fs layer [2023-10-24T15:10:31.781Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T15:10:31.781Z] eaf3925da568: Pulling fs layer [2023-10-24T15:10:31.781Z] 988bab9f4d93: Waiting [2023-10-24T15:10:31.781Z] 1469e6f7b9e6: Waiting [2023-10-24T15:10:31.781Z] eaf3925da568: Waiting [2023-10-24T15:10:31.781Z] bab4dde63d76: Pulling fs layer [2023-10-24T15:10:31.781Z] bde34c3a00c8: Pulling fs layer [2023-10-24T15:10:31.781Z] b352a97aabf1: Pulling fs layer [2023-10-24T15:10:31.781Z] bde34c3a00c8: Waiting [2023-10-24T15:10:31.781Z] bab4dde63d76: Waiting [2023-10-24T15:10:31.781Z] 4872d77fe225: Pulling fs layer [2023-10-24T15:10:31.781Z] b352a97aabf1: Waiting [2023-10-24T15:10:31.781Z] 5851b861e8e6: Pulling fs layer [2023-10-24T15:10:31.781Z] 4872d77fe225: Waiting [2023-10-24T15:10:31.781Z] 5851b861e8e6: Waiting [2023-10-24T15:10:31.781Z] e2be974225ed: Download complete [2023-10-24T15:10:31.781Z] 988bab9f4d93: Verifying Checksum [2023-10-24T15:10:31.781Z] 988bab9f4d93: Download complete [2023-10-24T15:10:31.781Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T15:10:31.781Z] 1469e6f7b9e6: Download complete [2023-10-24T15:10:32.040Z] eaf3925da568: Verifying Checksum [2023-10-24T15:10:32.040Z] eaf3925da568: Download complete [2023-10-24T15:10:32.040Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T15:10:32.040Z] 339a4e72a1f5: Download complete [2023-10-24T15:10:32.040Z] bde34c3a00c8: Verifying Checksum [2023-10-24T15:10:32.040Z] bde34c3a00c8: Download complete [2023-10-24T15:10:32.040Z] b352a97aabf1: Download complete [2023-10-24T15:10:32.040Z] 4872d77fe225: Verifying Checksum [2023-10-24T15:10:32.040Z] 4872d77fe225: Download complete [2023-10-24T15:10:32.040Z] 5851b861e8e6: Verifying Checksum [2023-10-24T15:10:32.040Z] 5851b861e8e6: Download complete [2023-10-24T15:10:32.040Z] b85a868b505f: Verifying Checksum [2023-10-24T15:10:32.040Z] b85a868b505f: Download complete [2023-10-24T15:10:32.300Z] bab4dde63d76: Verifying Checksum [2023-10-24T15:10:32.300Z] bab4dde63d76: Download complete [2023-10-24T15:10:33.679Z] b85a868b505f: Pull complete [2023-10-24T15:10:33.679Z] e2be974225ed: Pull complete [2023-10-24T15:10:34.286Z] 339a4e72a1f5: Pull complete [2023-10-24T15:10:34.286Z] 988bab9f4d93: Pull complete [2023-10-24T15:10:34.545Z] 1469e6f7b9e6: Pull complete [2023-10-24T15:10:34.545Z] eaf3925da568: Pull complete [2023-10-24T15:10:36.451Z] bab4dde63d76: Pull complete [2023-10-24T15:10:36.451Z] bde34c3a00c8: Pull complete [2023-10-24T15:10:36.711Z] b352a97aabf1: Pull complete [2023-10-24T15:10:36.711Z] 4872d77fe225: Pull complete [2023-10-24T15:10:36.970Z] 5851b861e8e6: Pull complete [2023-10-24T15:10:36.970Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T15:10:36.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:10:36.970Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:10:37.070Z] prd-ubuntu20.04-docker-8c-8g-9927 does not seem to be running inside a container [2023-10-24T15:10:37.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1527 -v /w/workspace/gexfoundry_device-sdk-go_PR-1527:/w/workspace/gexfoundry_device-sdk-go_PR-1527:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T15:10:40.992Z] $ docker top 895cbc461e4e1a45ab104d33f25386ce1cc4db20ae1dcb09dd18683e9d0dfc16 -eo pid,comm [2023-10-24T15:10:41.047Z] 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-10-24T15:10:41.047Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T15:10:41.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:10:41.083Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:10:41.209Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:10:41.213Z] $ docker exec 895cbc461e4e1a45ab104d33f25386ce1cc4db20ae1dcb09dd18683e9d0dfc16 ssh-agent [2023-10-24T15:10:41.323Z] SSH_AUTH_SOCK=/tmp/ssh-LKl1lYSKOyIV/agent.32 [2023-10-24T15:10:41.323Z] SSH_AGENT_PID=38 [2023-10-24T15:10:41.329Z] Running ssh-add (command line suppressed) [2023-10-24T15:10:41.430Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/private_key_2509453999428922880.key (/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/private_key_2509453999428922880.key) [2023-10-24T15:10:41.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:10:41.733Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T15:10:41.746Z] $ docker exec --env ******** --env ******** 895cbc461e4e1a45ab104d33f25386ce1cc4db20ae1dcb09dd18683e9d0dfc16 ssh-agent -k [2023-10-24T15:10:41.850Z] unset SSH_AUTH_SOCK; [2023-10-24T15:10:41.851Z] unset SSH_AGENT_PID; [2023-10-24T15:10:41.851Z] echo Agent pid 38 killed; [2023-10-24T15:10:41.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T15:10:41.898Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:10:41.898Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:10:42.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:10:42.019Z] $ docker exec 895cbc461e4e1a45ab104d33f25386ce1cc4db20ae1dcb09dd18683e9d0dfc16 ssh-agent [2023-10-24T15:10:42.139Z] SSH_AUTH_SOCK=/tmp/ssh-ayClyFiNws0M/agent.70 [2023-10-24T15:10:42.139Z] SSH_AGENT_PID=76 [2023-10-24T15:10:42.145Z] Running ssh-add (command line suppressed) [2023-10-24T15:10:42.256Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/private_key_7394702482343684378.key (/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/private_key_7394702482343684378.key) [2023-10-24T15:10:42.269Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:10:42.561Z] + git semver init [2023-10-24T15:10:42.820Z] 2023-10-24 15:10:42,787 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T15:10:42.820Z] 2023-10-24 15:10:42,788 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver [2023-10-24T15:10:42.820Z] 2023-10-24 15:10:42,789 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver [2023-10-24T15:10:42.820Z] 2023-10-24 15:10:42,789 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1527, universal_newlines=False, shell=None, istream=None) [2023-10-24T15:10:44.211Z] 2023-10-24 15:10:43,797 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527/.git/info/exclude [2023-10-24T15:10:44.211Z] 2023-10-24 15:10:43,797 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver/PR-1527 with force:False [2023-10-24T15:10:44.211Z] 2023-10-24 15:10:43,798 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver/PR-1527 [2023-10-24T15:10:44.211Z] 2023-10-24 15:10:43,802 [execute] INFO git cat-file --batch-check [2023-10-24T15:10:44.211Z] 2023-10-24 15:10:43,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T15:10:44.211Z] 2023-10-24 15:10:43,808 [execute] INFO git cat-file --batch [2023-10-24T15:10:44.211Z] 2023-10-24 15:10:43,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T15:10:44.211Z] 2023-10-24 15:10:43,814 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver/PR-1527 [2023-10-24T15:10:44.211Z] 0.0.0 [Pipeline] } [2023-10-24T15:10:44.227Z] $ docker exec --env ******** --env ******** 895cbc461e4e1a45ab104d33f25386ce1cc4db20ae1dcb09dd18683e9d0dfc16 ssh-agent -k [2023-10-24T15:10:44.340Z] unset SSH_AUTH_SOCK; [2023-10-24T15:10:44.341Z] unset SSH_AGENT_PID; [2023-10-24T15:10:44.341Z] echo Agent pid 76 killed; [2023-10-24T15:10:44.353Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T15:10:44.662Z] + git semver [Pipeline] } [2023-10-24T15:10:44.936Z] $ docker stop --time=1 895cbc461e4e1a45ab104d33f25386ce1cc4db20ae1dcb09dd18683e9d0dfc16 [2023-10-24T15:10:46.248Z] $ docker rm -f --volumes 895cbc461e4e1a45ab104d33f25386ce1cc4db20ae1dcb09dd18683e9d0dfc16 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:10:46.589Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T15:10:46.805Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T15:10:46.808Z] [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-10-24T15:10:46.987Z] provisioning config files... [2023-10-24T15:10:46.995Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/config3143013132403674532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:10:47.294Z] ---> docker-login.sh [2023-10-24T15:10:47.294Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:10:47.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:10:47.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:10:47.294Z] Configure a credential helper to remove this warning. See [2023-10-24T15:10:47.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:10:47.294Z] [2023-10-24T15:10:47.294Z] Login Succeeded [2023-10-24T15:10:47.294Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:10:47.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:10:47.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:10:47.294Z] Configure a credential helper to remove this warning. See [2023-10-24T15:10:47.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:10:47.294Z] [2023-10-24T15:10:47.294Z] Login Succeeded [2023-10-24T15:10:47.294Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:10:47.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:10:47.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:10:47.553Z] Configure a credential helper to remove this warning. See [2023-10-24T15:10:47.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:10:47.553Z] [2023-10-24T15:10:47.553Z] Login Succeeded [2023-10-24T15:10:47.553Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:10:47.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:10:47.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:10:47.553Z] Configure a credential helper to remove this warning. See [2023-10-24T15:10:47.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:10:47.553Z] [2023-10-24T15:10:47.553Z] Login Succeeded [2023-10-24T15:10:47.553Z] docker.io [2023-10-24T15:10:47.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:10:48.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:10:48.077Z] Configure a credential helper to remove this warning. See [2023-10-24T15:10:48.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:10:48.077Z] [2023-10-24T15:10:48.077Z] Login Succeeded [2023-10-24T15:10:48.077Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:10:48.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T15:10:48.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:10:48.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:10:48.163Z] ========================================================= [2023-10-24T15:10:48.163Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T15:10:48.163Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:10:48.470Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T15:10:48.470Z] Sending build context to Docker daemon 11.24MB [2023-10-24T15:10:48.470Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:10:48.470Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T15:10:48.470Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T15:10:48.470Z] 7264a8db6415: Pulling fs layer [2023-10-24T15:10:48.470Z] c4d48a809fc2: Pulling fs layer [2023-10-24T15:10:48.470Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T15:10:48.470Z] ad3a456e5733: Pulling fs layer [2023-10-24T15:10:48.470Z] 33e27b845d1e: Pulling fs layer [2023-10-24T15:10:48.470Z] c68163c4e522: Pulling fs layer [2023-10-24T15:10:48.470Z] 50da416c3ac9: Pulling fs layer [2023-10-24T15:10:48.470Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T15:10:48.470Z] c68163c4e522: Waiting [2023-10-24T15:10:48.470Z] 50da416c3ac9: Waiting [2023-10-24T15:10:48.470Z] 23d2d4c4bb30: Waiting [2023-10-24T15:10:48.470Z] ad3a456e5733: Waiting [2023-10-24T15:10:48.470Z] 33e27b845d1e: Waiting [2023-10-24T15:10:48.729Z] c4d48a809fc2: Verifying Checksum [2023-10-24T15:10:48.729Z] c4d48a809fc2: Download complete [2023-10-24T15:10:48.729Z] ad3a456e5733: Verifying Checksum [2023-10-24T15:10:48.729Z] ad3a456e5733: Download complete [2023-10-24T15:10:48.729Z] 7264a8db6415: Verifying Checksum [2023-10-24T15:10:48.729Z] 7264a8db6415: Download complete [2023-10-24T15:10:48.729Z] 33e27b845d1e: Verifying Checksum [2023-10-24T15:10:48.729Z] 33e27b845d1e: Download complete [2023-10-24T15:10:48.729Z] c68163c4e522: Verifying Checksum [2023-10-24T15:10:48.729Z] c68163c4e522: Download complete [2023-10-24T15:10:48.729Z] 7264a8db6415: Pull complete [2023-10-24T15:10:48.989Z] c4d48a809fc2: Pull complete [2023-10-24T15:10:48.989Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T15:10:48.989Z] 23d2d4c4bb30: Download complete [2023-10-24T15:10:49.248Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T15:10:49.248Z] 4f1c88b9dad5: Download complete [2023-10-24T15:10:49.506Z] 50da416c3ac9: Verifying Checksum [2023-10-24T15:10:49.506Z] 50da416c3ac9: Download complete [2023-10-24T15:10:52.792Z] 4f1c88b9dad5: Pull complete [2023-10-24T15:10:52.792Z] ad3a456e5733: Pull complete [2023-10-24T15:10:52.792Z] 33e27b845d1e: Pull complete [2023-10-24T15:10:52.792Z] c68163c4e522: Pull complete [2023-10-24T15:10:55.327Z] 50da416c3ac9: Pull complete [2023-10-24T15:10:55.585Z] 23d2d4c4bb30: Pull complete [2023-10-24T15:10:55.586Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T15:10:55.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T15:10:55.586Z] ---> 0786185ac409 [2023-10-24T15:10:55.586Z] Step 3/10 : ARG MAKE=make build [2023-10-24T15:11:00.900Z] ---> Running in 308c60cd4db7 [2023-10-24T15:11:00.900Z] Removing intermediate container 308c60cd4db7 [2023-10-24T15:11:00.900Z] ---> 62acb127e368 [2023-10-24T15:11:00.900Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-24T15:11:00.900Z] ---> Running in 7057d47df01f [2023-10-24T15:11:00.900Z] Removing intermediate container 7057d47df01f [2023-10-24T15:11:00.900Z] ---> 7b797d13d9fc [2023-10-24T15:11:00.900Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T15:11:00.900Z] ---> Running in 9ddb2c2d7b14 [2023-10-24T15:11:00.900Z] Removing intermediate container 9ddb2c2d7b14 [2023-10-24T15:11:00.900Z] ---> 4d341b3f19ee [2023-10-24T15:11:00.900Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-24T15:11:00.900Z] ---> Running in 371c2b395bfb [2023-10-24T15:11:00.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:11:00.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:11:01.159Z] OK: 264 MiB in 52 packages [2023-10-24T15:11:01.419Z] Removing intermediate container 371c2b395bfb [2023-10-24T15:11:01.419Z] ---> c835072c2b44 [2023-10-24T15:11:01.419Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T15:11:01.678Z] ---> bf214161b99c [2023-10-24T15:11:01.678Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:11:01.678Z] ---> Running in f3cb1d5eaaa6 [2023-10-24T15:11:01.935Z] Still waiting to schedule task [2023-10-24T15:11:01.935Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-24T15:11:58.110Z] Removing intermediate container f3cb1d5eaaa6 [2023-10-24T15:11:58.110Z] ---> 4b14bcf88725 [2023-10-24T15:11:58.110Z] Step 9/10 : COPY . . [2023-10-24T15:11:58.485Z] ---> 4e7feb054719 [2023-10-24T15:11:58.485Z] Step 10/10 : RUN ${MAKE} [2023-10-24T15:11:58.746Z] ---> Running in 86683a2a6344 [2023-10-24T15:11:59.005Z] noop [2023-10-24T15:11:59.005Z] Removing intermediate container 86683a2a6344 [2023-10-24T15:11:59.005Z] ---> eec11a290326 [2023-10-24T15:11:59.262Z] Successfully built eec11a290326 [2023-10-24T15:11:59.262Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:11:59.583Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T15:11:59.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:11:59.659Z] prd-ubuntu20.04-docker-8c-8g-9927 does not seem to be running inside a container [2023-10-24T15:11:59.689Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1527 -v /w/workspace/gexfoundry_device-sdk-go_PR-1527:/w/workspace/gexfoundry_device-sdk-go_PR-1527:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T15:12:00.008Z] $ docker top 7c158f0d307c57840c6ccae453649a02dff693e7a7c9389306e928e1a024f9df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:12:00.352Z] + go version [2023-10-24T15:12:00.352Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T15:12:00.363Z] $ docker stop --time=1 7c158f0d307c57840c6ccae453649a02dff693e7a7c9389306e928e1a024f9df [2023-10-24T15:12:01.650Z] $ docker rm -f --volumes 7c158f0d307c57840c6ccae453649a02dff693e7a7c9389306e928e1a024f9df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:12:02.053Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T15:12:02.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:12:02.120Z] prd-ubuntu20.04-docker-8c-8g-9927 does not seem to be running inside a container [2023-10-24T15:12:02.151Z] $ 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-1527 -v /w/workspace/gexfoundry_device-sdk-go_PR-1527:/w/workspace/gexfoundry_device-sdk-go_PR-1527:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T15:12:02.505Z] $ docker top 905bca6deacccb9ec378425e1ce09b7d44155850a06f35c6d3694b888ea5da38 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:12:02.847Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1527 [Pipeline] fileExists [Pipeline] sh [2023-10-24T15:12:03.141Z] + make test [2023-10-24T15:12:03.141Z] go test -race -coverprofile=coverage.out ./... [2023-10-24T15:12:11.256Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-24T15:12:23.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-24T15:12:23.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-24T15:12:23.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-24T15:12:23.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-24T15:12:23.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-24T15:12:24.026Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-24T15:12:24.026Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-24T15:12:24.963Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.052s coverage: 27.6% of statements [2023-10-24T15:12:24.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-24T15:12:24.963Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements [2023-10-24T15:12:24.963Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.063s coverage: 86.0% of statements [2023-10-24T15:12:26.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-24T15:12:26.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-24T15:12:26.339Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.076s coverage: 71.8% of statements [2023-10-24T15:12:26.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-24T15:12:29.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.062s coverage: 14.4% of statements [2023-10-24T15:12:29.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.023s coverage: 45.6% of statements [2023-10-24T15:12:29.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.070s coverage: 68.5% of statements [2023-10-24T15:12:29.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.109s coverage: 89.2% of statements [2023-10-24T15:12:29.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-10-24T15:12:47.712Z] GO111MODULE=on go vet ./... [2023-10-24T15:12:51.876Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9928 in /w/workspace/gexfoundry_device-sdk-go_PR-1527 [Pipeline] { [2023-10-24T15:12:51.888Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T15:12:51.888Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T15:12:51.888Z] ./bin/test-attribution-txt.sh [Pipeline] ws [2023-10-24T15:12:51.891Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] echo [2023-10-24T15:12:51.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] checkout [Pipeline] } [2023-10-24T15:12:51.922Z] $ docker stop --time=1 905bca6deacccb9ec378425e1ce09b7d44155850a06f35c6d3694b888ea5da38 [2023-10-24T15:12:51.927Z] The recommended git tool is: git [2023-10-24T15:12:55.740Z] $ docker rm -f --volumes 905bca6deacccb9ec378425e1ce09b7d44155850a06f35c6d3694b888ea5da38 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:12:56.282Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T15:12:56.382Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T15:12:56.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T15:12:57.003Z] using credential edgex-jenkins-ssh [2023-10-24T15:12:57.020Z] Cloning the remote Git repository [2023-10-24T15:12:57.214Z] + ls -al . [2023-10-24T15:12:57.214Z] total 304 [2023-10-24T15:12:57.214Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 15:12 . [2023-10-24T15:12:57.214Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:10 .. [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 15:10 .dockerignore [2023-10-24T15:12:57.214Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:12 .git [2023-10-24T15:12:57.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:10 .github [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 24 15:10 .gitignore [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 15:10 .golangci.yml [2023-10-24T15:12:57.214Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:10 .semver [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 24 15:10 CHANGELOG.md [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:10 GOVERNANCE.md [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 24 15:10 Jenkinsfile [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 15:10 LICENSE [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 24 15:10 Makefile [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 15:10 OWNERS.md [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 24 15:10 README.md [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 15:10 VERSION [2023-10-24T15:12:57.214Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:10 bin [2023-10-24T15:12:57.214Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 24 15:12 coverage.out [2023-10-24T15:12:57.214Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 15:10 example [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 24 15:10 go.mod [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 24 15:10 go.sum [2023-10-24T15:12:57.214Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 15:10 internal [2023-10-24T15:12:57.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:10 openapi [2023-10-24T15:12:57.214Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 15:10 pkg [2023-10-24T15:12:57.214Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:10 snap [2023-10-24T15:12:57.214Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 15:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:12:57.555Z] + 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=529b12373622c5323c12703f33cb9a6cb56564eb --label arch=amd64 --label version=0.0.0 . [2023-10-24T15:12:57.555Z] Sending build context to Docker daemon 11.36MB [2023-10-24T15:12:57.555Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:12:57.555Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-24T15:12:57.555Z] ---> eec11a290326 [2023-10-24T15:12:57.555Z] Step 3/23 : ARG MAKE=make build [2023-10-24T15:12:57.813Z] ---> Running in 5aba3fcf9601 [2023-10-24T15:12:57.813Z] Removing intermediate container 5aba3fcf9601 [2023-10-24T15:12:57.813Z] ---> 22b861d82ea6 [2023-10-24T15:12:57.813Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-24T15:12:57.813Z] ---> Running in 0059113a816c [2023-10-24T15:12:57.813Z] Removing intermediate container 0059113a816c [2023-10-24T15:12:57.813Z] ---> 1863d9d2555f [2023-10-24T15:12:57.813Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T15:12:57.813Z] ---> Running in a96362052404 [2023-10-24T15:12:57.813Z] Removing intermediate container a96362052404 [2023-10-24T15:12:57.813Z] ---> 0b5efd054a64 [2023-10-24T15:12:57.813Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-24T15:12:58.071Z] ---> Running in daa27abf5a71 [2023-10-24T15:12:57.076Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-24T15:12:57.206Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-10-24T15:12:57.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-24T15:12:57.388Z] > git --version # timeout=10 [2023-10-24T15:12:57.410Z] > git --version # 'git version 2.25.1' [2023-10-24T15:12:57.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T15:12:57.571Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T15:12:58.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:12:58.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:12:58.589Z] OK: 264 MiB in 52 packages [2023-10-24T15:12:58.847Z] Removing intermediate container daa27abf5a71 [2023-10-24T15:12:58.847Z] ---> 83d8cde913f0 [2023-10-24T15:12:58.847Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-24T15:12:59.106Z] ---> d3bd44fc9abf [2023-10-24T15:12:59.106Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:12:59.106Z] ---> Running in 8ff40c4143a5 [2023-10-24T15:12:59.672Z] Removing intermediate container 8ff40c4143a5 [2023-10-24T15:12:59.672Z] ---> f30b7aaa5eb0 [2023-10-24T15:12:59.672Z] Step 9/23 : COPY . . [2023-10-24T15:13:00.237Z] ---> 64b08c659fd8 [2023-10-24T15:13:00.237Z] Step 10/23 : RUN ${MAKE} [2023-10-24T15:13:00.237Z] ---> Running in 72a502fc1984 [2023-10-24T15:13:00.496Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-24T15:12:59.503Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-24T15:12:59.525Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T15:13:00.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-24T15:13:00.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-24T15:13:00.402Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T15:13:00.424Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1527/head:refs/remotes/origin/PR-1527 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-24T15:13:01.136Z] Merging remotes/origin/main commit e28de28d8c8f2f4c5ae4fdcac5a3c788fe68241d into PR head commit 529b12373622c5323c12703f33cb9a6cb56564eb [2023-10-24T15:13:01.442Z] Merge succeeded, producing 529b12373622c5323c12703f33cb9a6cb56564eb [2023-10-24T15:13:01.442Z] Checking out Revision 529b12373622c5323c12703f33cb9a6cb56564eb (PR-1527) [2023-10-24T15:13:01.974Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-10-24T15:13:01.155Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T15:13:01.228Z] > git checkout -f 529b12373622c5323c12703f33cb9a6cb56564eb # timeout=10 [2023-10-24T15:13:01.344Z] > git remote # timeout=10 [2023-10-24T15:13:01.361Z] > git config --get remote.origin.url # timeout=10 [2023-10-24T15:13:01.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T15:13:01.401Z] > git merge e28de28d8c8f2f4c5ae4fdcac5a3c788fe68241d # timeout=10 [2023-10-24T15:13:01.427Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-24T15:13:01.449Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T15:13:01.465Z] > git checkout -f 529b12373622c5323c12703f33cb9a6cb56564eb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:13:03.159Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T15:13:03.159Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T15:13:03.159Z] Dload Upload Total Spent Left Speed [2023-10-24T15:13:03.159Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 93 12751 93 11851 0 0 74534 0 --:--:-- --:--:-- --:--:-- 74068 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 79198 [Pipeline] sh [2023-10-24T15:13:03.802Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T15:13:04.153Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-10-24T15:13:04.153Z] /etc/docker/daemon.json [2023-10-24T15:13:04.153Z] { [2023-10-24T15:13:04.153Z] "registry-mirrors": [ [2023-10-24T15:13:04.153Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T15:13:04.153Z] ], [2023-10-24T15:13:04.153Z] "bip": "10.250.0.254/24", [2023-10-24T15:13:04.153Z] "hosts": [ [2023-10-24T15:13:04.153Z] "tcp://0.0.0.0:5555", [2023-10-24T15:13:04.153Z] "unix:///var/run/docker.sock" [2023-10-24T15:13:04.153Z] ], [2023-10-24T15:13:04.153Z] "mtu": 1458, [2023-10-24T15:13:04.153Z] "selinux-enabled": true, [2023-10-24T15:13:04.153Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T15:13:04.153Z] } [Pipeline] sh [2023-10-24T15:13:04.479Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T15:13:04.804Z] + sudo service docker restart [2023-10-24T15:13:18.593Z] Removing intermediate container 72a502fc1984 [2023-10-24T15:13:18.593Z] ---> f1df0f3c2af6 [2023-10-24T15:13:18.593Z] Step 11/23 : FROM alpine:3.18 [2023-10-24T15:13:19.158Z] 3.18: Pulling from library/alpine [2023-10-24T15:13:19.415Z] 96526aa774ef: Pulling fs layer [2023-10-24T15:13:19.673Z] 96526aa774ef: Verifying Checksum [2023-10-24T15:13:19.673Z] 96526aa774ef: Download complete [2023-10-24T15:13:19.674Z] 96526aa774ef: Pull complete [2023-10-24T15:13:19.932Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T15:13:19.932Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T15:13:19.932Z] ---> 8ca4688f4f35 [2023-10-24T15:13:19.932Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-24T15:13:19.932Z] ---> Running in b91ba880ebd7 [2023-10-24T15:13:19.932Z] Removing intermediate container b91ba880ebd7 [2023-10-24T15:13:19.932Z] ---> 16641548c214 [2023-10-24T15:13:19.932Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-24T15:13:19.932Z] ---> Running in 2eeec2d35e07 [2023-10-24T15:13:20.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:13:20.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:13:20.704Z] OK: 7 MiB in 15 packages [2023-10-24T15:13:20.961Z] Removing intermediate container 2eeec2d35e07 [2023-10-24T15:13:20.961Z] ---> 1c4bd7b46f20 [2023-10-24T15:13:20.961Z] Step 14/23 : WORKDIR / [2023-10-24T15:13:20.961Z] ---> Running in b943b6dcc921 [2023-10-24T15:13:20.961Z] Removing intermediate container b943b6dcc921 [2023-10-24T15:13:20.961Z] ---> 62f04f6c0434 [2023-10-24T15:13:20.961Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-24T15:13:21.219Z] ---> 447a8e4a8043 [2023-10-24T15:13:21.219Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-24T15:13:22.164Z] ---> 975c2388253d [2023-10-24T15:13:22.164Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-24T15:13:22.164Z] ---> 3e75996d1cd4 [2023-10-24T15:13:22.164Z] Step 18/23 : EXPOSE 59999 [2023-10-24T15:13:22.164Z] ---> Running in 01fdca0ce728 [2023-10-24T15:13:22.164Z] Removing intermediate container 01fdca0ce728 [2023-10-24T15:13:22.164Z] ---> e41356a86e13 [2023-10-24T15:13:22.164Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-24T15:13:22.164Z] ---> Running in 44d14623aeb4 [2023-10-24T15:13:22.164Z] Removing intermediate container 44d14623aeb4 [2023-10-24T15:13:22.164Z] ---> d8c3b74430e7 [2023-10-24T15:13:22.164Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T15:13:22.164Z] ---> Running in 013a45c0df19 [2023-10-24T15:13:22.422Z] Removing intermediate container 013a45c0df19 [2023-10-24T15:13:22.422Z] ---> c6d84a295b69 [2023-10-24T15:13:22.422Z] Step 21/23 : LABEL arch=amd64 [2023-10-24T15:13:22.422Z] ---> Running in c2904679327b [2023-10-24T15:13:22.422Z] Removing intermediate container c2904679327b [2023-10-24T15:13:22.422Z] ---> bb709dacded3 [2023-10-24T15:13:22.422Z] Step 22/23 : LABEL git_sha=529b12373622c5323c12703f33cb9a6cb56564eb [2023-10-24T15:13:22.422Z] ---> Running in 175f7bee965d [2023-10-24T15:13:22.422Z] Removing intermediate container 175f7bee965d [2023-10-24T15:13:22.422Z] ---> 91f40e176552 [2023-10-24T15:13:22.422Z] Step 23/23 : LABEL version=0.0.0 [2023-10-24T15:13:22.422Z] ---> Running in facd43e97875 [2023-10-24T15:13:22.681Z] Removing intermediate container facd43e97875 [2023-10-24T15:13:22.681Z] ---> fc58a91f9dad [2023-10-24T15:13:22.681Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T15:13:22.681Z] Successfully built fc58a91f9dad [2023-10-24T15:13:22.681Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:13:23.072Z] provisioning config files... [2023-10-24T15:13:23.095Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config16119937177009412142tmp [Pipeline] { [Pipeline] libraryResource [2023-10-24T15:13:23.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:13:23.127Z] [2023-10-24T15:13:23.127Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:13:23.438Z] ---> docker-login.sh [2023-10-24T15:13:23.438Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:13:23.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:13:23.475Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T15:13:23.475Z] 5eb5b503b376: Pulling fs layer [2023-10-24T15:13:23.475Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T15:13:23.475Z] ec43610c2a17: Pulling fs layer [2023-10-24T15:13:23.475Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T15:13:23.475Z] 33b1e0a273af: Pulling fs layer [2023-10-24T15:13:23.475Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T15:13:23.475Z] 2f39f015ded8: Pulling fs layer [2023-10-24T15:13:23.475Z] 33b1e0a273af: Waiting [2023-10-24T15:13:23.475Z] 5d3b04190fa2: Waiting [2023-10-24T15:13:23.475Z] 2f39f015ded8: Waiting [2023-10-24T15:13:23.475Z] 3a2ae6a8a46f: Waiting [2023-10-24T15:13:23.475Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T15:13:23.475Z] 5c69ac0246d0: Download complete [2023-10-24T15:13:23.475Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T15:13:23.475Z] 3a2ae6a8a46f: Download complete [2023-10-24T15:13:23.475Z] 33b1e0a273af: Verifying Checksum [2023-10-24T15:13:23.475Z] 33b1e0a273af: Download complete [2023-10-24T15:13:23.475Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T15:13:23.475Z] 5d3b04190fa2: Download complete [2023-10-24T15:13:23.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:13:23.733Z] ec43610c2a17: Verifying Checksum [2023-10-24T15:13:23.733Z] ec43610c2a17: Download complete [2023-10-24T15:13:23.733Z] 5eb5b503b376: Verifying Checksum [2023-10-24T15:13:23.733Z] 5eb5b503b376: Download complete [2023-10-24T15:13:23.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:13:23.987Z] Configure a credential helper to remove this warning. See [2023-10-24T15:13:23.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:13:23.987Z] [2023-10-24T15:13:23.987Z] Login Succeeded [2023-10-24T15:13:23.987Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:13:24.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:13:24.295Z] 2f39f015ded8: Download complete [2023-10-24T15:13:24.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:13:24.527Z] Configure a credential helper to remove this warning. See [2023-10-24T15:13:24.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:13:24.527Z] [2023-10-24T15:13:24.527Z] Login Succeeded [2023-10-24T15:13:24.527Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:13:24.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:13:24.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:13:24.794Z] Configure a credential helper to remove this warning. See [2023-10-24T15:13:24.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:13:24.794Z] [2023-10-24T15:13:24.794Z] Login Succeeded [2023-10-24T15:13:24.794Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:13:24.859Z] 5eb5b503b376: Pull complete [2023-10-24T15:13:24.859Z] 5c69ac0246d0: Pull complete [2023-10-24T15:13:25.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:13:25.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:13:25.068Z] Configure a credential helper to remove this warning. See [2023-10-24T15:13:25.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:13:25.068Z] [2023-10-24T15:13:25.068Z] Login Succeeded [2023-10-24T15:13:25.068Z] docker.io [2023-10-24T15:13:25.117Z] ec43610c2a17: Pull complete [2023-10-24T15:13:25.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:13:25.375Z] 3a2ae6a8a46f: Pull complete [2023-10-24T15:13:25.632Z] 33b1e0a273af: Pull complete [2023-10-24T15:13:25.632Z] 5d3b04190fa2: Pull complete [2023-10-24T15:13:25.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:13:25.930Z] Configure a credential helper to remove this warning. See [2023-10-24T15:13:25.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:13:25.930Z] [2023-10-24T15:13:25.930Z] Login Succeeded [2023-10-24T15:13:25.930Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:13:25.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T15:13:26.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:13:26.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:13:26.230Z] ========================================================= [2023-10-24T15:13:26.230Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T15:13:26.230Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:13:26.572Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T15:13:26.842Z] Sending build context to Docker daemon 6.014MB [2023-10-24T15:13:26.842Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:13:26.842Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T15:13:27.111Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T15:13:27.111Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T15:13:27.111Z] 5d54e960e981: Pulling fs layer [2023-10-24T15:13:27.111Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T15:13:27.111Z] f0e02332f6b5: Pulling fs layer [2023-10-24T15:13:27.111Z] cefa15bbcfad: Pulling fs layer [2023-10-24T15:13:27.111Z] 17808c966233: Pulling fs layer [2023-10-24T15:13:27.111Z] f4c1fc716caa: Pulling fs layer [2023-10-24T15:13:27.111Z] cefa15bbcfad: Waiting [2023-10-24T15:13:27.111Z] 17808c966233: Waiting [2023-10-24T15:13:27.111Z] f4c1fc716caa: Waiting [2023-10-24T15:13:27.111Z] f0e02332f6b5: Waiting [2023-10-24T15:13:27.111Z] 5d54e960e981: Download complete [2023-10-24T15:13:27.111Z] f0e02332f6b5: Verifying Checksum [2023-10-24T15:13:27.111Z] f0e02332f6b5: Download complete [2023-10-24T15:13:27.111Z] cefa15bbcfad: Verifying Checksum [2023-10-24T15:13:27.111Z] cefa15bbcfad: Download complete [2023-10-24T15:13:27.384Z] 9fda8d8052c6: Download complete [2023-10-24T15:13:27.653Z] f4c1fc716caa: Verifying Checksum [2023-10-24T15:13:27.653Z] f4c1fc716caa: Download complete [2023-10-24T15:13:28.244Z] 9fda8d8052c6: Pull complete [2023-10-24T15:13:28.830Z] 5d54e960e981: Pull complete [2023-10-24T15:13:29.099Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T15:13:29.099Z] c4a7e357bf2a: Download complete [2023-10-24T15:13:29.813Z] 2f39f015ded8: Pull complete [2023-10-24T15:13:29.813Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T15:13:29.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:13:29.813Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:13:29.888Z] prd-ubuntu20.04-docker-8c-8g-9927 does not seem to be running inside a container [2023-10-24T15:13:29.917Z] $ 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-1527 -v /w/workspace/gexfoundry_device-sdk-go_PR-1527:/w/workspace/gexfoundry_device-sdk-go_PR-1527:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1527@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-10-24T15:13:30.060Z] 17808c966233: Verifying Checksum [2023-10-24T15:13:30.060Z] 17808c966233: Download complete [2023-10-24T15:13:34.443Z] $ docker top b06abb1dc24b82d321fd807221cc2b6327c9d039151575dfc2c896ec42752d09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:13:34.855Z] ---> job-cost.sh [2023-10-24T15:13:34.855Z] lf-activate-venv: SKIPPING [2023-10-24T15:13:34.855Z] INFO: No Stack... [2023-10-24T15:13:35.116Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T15:13:35.375Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T15:13:35.665Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives/cost.csv [2023-10-24T15:13:35.665Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T15:13:35.677Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1527-2-stack-cost] [2023-10-24T15:13:35.682Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1527-2-stack-cost] did not exist. Created. [2023-10-24T15:13:35.683Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1527-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T15:13:35.997Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T15:13:36.033Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T15:13:36.040Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1527-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T15:13:36.056Z] $ docker stop --time=1 b06abb1dc24b82d321fd807221cc2b6327c9d039151575dfc2c896ec42752d09 [2023-10-24T15:13:37.212Z] $ docker rm -f --volumes b06abb1dc24b82d321fd807221cc2b6327c9d039151575dfc2c896ec42752d09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T15:13:42.474Z] c4a7e357bf2a: Pull complete [2023-10-24T15:13:42.474Z] f0e02332f6b5: Pull complete [2023-10-24T15:13:42.474Z] cefa15bbcfad: Pull complete [2023-10-24T15:13:50.682Z] 17808c966233: Pull complete [2023-10-24T15:13:53.253Z] f4c1fc716caa: Pull complete [2023-10-24T15:13:53.518Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T15:13:53.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T15:13:53.518Z] ---> ea914061e18c [2023-10-24T15:13:53.518Z] Step 3/10 : ARG MAKE=make build [2023-10-24T15:13:55.455Z] ---> Running in b858909902d8 [2023-10-24T15:13:55.455Z] Removing intermediate container b858909902d8 [2023-10-24T15:13:55.455Z] ---> dc2dea2209eb [2023-10-24T15:13:55.455Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-24T15:13:55.455Z] ---> Running in cdd7386052f2 [2023-10-24T15:13:55.722Z] Removing intermediate container cdd7386052f2 [2023-10-24T15:13:55.722Z] ---> d24850ca068f [2023-10-24T15:13:55.722Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T15:13:55.722Z] ---> Running in 3a398b8d1a05 [2023-10-24T15:13:55.987Z] Removing intermediate container 3a398b8d1a05 [2023-10-24T15:13:55.987Z] ---> 5ebba49e8613 [2023-10-24T15:13:55.987Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-24T15:13:56.252Z] ---> Running in f1bbd88f7845 [2023-10-24T15:13:57.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:13:57.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:13:58.739Z] OK: 266 MiB in 52 packages [2023-10-24T15:13:59.318Z] Removing intermediate container f1bbd88f7845 [2023-10-24T15:13:59.318Z] ---> c3e9693b156e [2023-10-24T15:13:59.318Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T15:13:59.908Z] ---> 55fd3ecabfe9 [2023-10-24T15:13:59.908Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:13:59.908Z] ---> Running in 799d71c4ab66 [2023-10-24T15:15:36.528Z] Removing intermediate container 799d71c4ab66 [2023-10-24T15:15:36.528Z] ---> 5406b4696bba [2023-10-24T15:15:36.528Z] Step 9/10 : COPY . . [2023-10-24T15:15:36.528Z] ---> fb91f73ee235 [2023-10-24T15:15:36.528Z] Step 10/10 : RUN ${MAKE} [2023-10-24T15:15:36.528Z] ---> Running in 9e895b7fce8b [2023-10-24T15:15:37.492Z] noop [2023-10-24T15:15:37.760Z] Removing intermediate container 9e895b7fce8b [2023-10-24T15:15:37.760Z] ---> 0cacce061853 [2023-10-24T15:15:38.026Z] Successfully built 0cacce061853 [2023-10-24T15:15:38.026Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:15:38.361Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T15:15:38.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:15:38.577Z] prd-ubuntu20.04-docker-arm64-4c-16g-9928 does not seem to be running inside a container [2023-10-24T15:15:38.640Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-24T15:15:42.039Z] $ docker top ff9e8583d7b99651b1a6a7243ceab7d9439462d82a82cc97d24a3a84a86e5a2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:15:42.936Z] + go version [2023-10-24T15:15:42.936Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T15:15:42.956Z] $ docker stop --time=1 ff9e8583d7b99651b1a6a7243ceab7d9439462d82a82cc97d24a3a84a86e5a2a [2023-10-24T15:15:44.635Z] $ docker rm -f --volumes ff9e8583d7b99651b1a6a7243ceab7d9439462d82a82cc97d24a3a84a86e5a2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:15:45.212Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T15:15:45.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:15:45.389Z] prd-ubuntu20.04-docker-arm64-4c-16g-9928 does not seem to be running inside a container [2023-10-24T15:15:45.456Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-24T15:15:46.564Z] $ docker top 2bfb102769317020325b71e41664e422e8a6262af472ca9e3e23594f71738b99 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:15:47.077Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-10-24T15:15:47.714Z] + make test [2023-10-24T15:15:47.714Z] go test -race -coverprofile=coverage.out ./... [2023-10-24T15:16:19.909Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-24T15:17:56.515Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-24T15:17:56.515Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-24T15:17:56.515Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-24T15:17:56.515Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-24T15:17:56.515Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-24T15:17:59.101Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.206s coverage: 27.6% of statements [2023-10-24T15:18:09.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.323s coverage: 81.5% of statements [2023-10-24T15:18:15.837Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-24T15:18:15.837Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-24T15:18:17.245Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.322s coverage: 86.0% of statements [2023-10-24T15:18:22.594Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-24T15:18:23.558Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.546s coverage: 71.8% of statements [2023-10-24T15:18:26.892Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.285s coverage: 14.4% of statements [2023-10-24T15:18:26.892Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.074s coverage: 45.9% of statements [2023-10-24T15:18:27.480Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-24T15:18:27.480Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-24T15:18:28.888Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.373s coverage: 68.5% of statements [2023-10-24T15:18:32.232Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.431s coverage: 89.2% of statements [2023-10-24T15:18:32.232Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-24T15:18:33.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.231s coverage: 5.5% of statements [2023-10-24T15:18:34.598Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T15:18:34.598Z] GO111MODULE=on go vet ./... [2023-10-24T15:20:26.296Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T15:20:26.296Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T15:20:26.296Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T15:20:26.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T15:20:26.329Z] $ docker stop --time=1 2bfb102769317020325b71e41664e422e8a6262af472ca9e3e23594f71738b99 [2023-10-24T15:20:28.325Z] $ docker rm -f --volumes 2bfb102769317020325b71e41664e422e8a6262af472ca9e3e23594f71738b99 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:20:29.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T15:20:29.954Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T15:20:30.583Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:20:30.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T15:20:31.299Z] + ls -al . [2023-10-24T15:20:31.299Z] total 300 [2023-10-24T15:20:31.299Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 15:15 . [2023-10-24T15:20:31.299Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:12 .. [2023-10-24T15:20:31.299Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 15:13 .dockerignore [2023-10-24T15:20:31.299Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:13 .git [2023-10-24T15:20:31.299Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:13 .github [2023-10-24T15:20:31.299Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 24 15:13 .gitignore [2023-10-24T15:20:31.299Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 15:13 .golangci.yml [2023-10-24T15:20:31.299Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 24 15:13 CHANGELOG.md [2023-10-24T15:20:31.299Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:13 GOVERNANCE.md [2023-10-24T15:20:31.299Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 24 15:13 Jenkinsfile [2023-10-24T15:20:31.299Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 15:13 LICENSE [2023-10-24T15:20:31.299Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 24 15:13 Makefile [2023-10-24T15:20:31.299Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 15:13 OWNERS.md [2023-10-24T15:20:31.300Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 24 15:13 README.md [2023-10-24T15:20:31.300Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 15:10 VERSION [2023-10-24T15:20:31.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:13 bin [2023-10-24T15:20:31.300Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 24 15:18 coverage.out [2023-10-24T15:20:31.300Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 15:13 example [2023-10-24T15:20:31.300Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 24 15:13 go.mod [2023-10-24T15:20:31.300Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 24 15:13 go.sum [2023-10-24T15:20:31.300Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 15:13 internal [2023-10-24T15:20:31.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:13 openapi [2023-10-24T15:20:31.300Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 15:13 pkg [2023-10-24T15:20:31.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:13 snap [2023-10-24T15:20:31.300Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 15:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:20:31.640Z] + 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=529b12373622c5323c12703f33cb9a6cb56564eb --label arch=arm64 --label version=0.0.0 . [2023-10-24T15:20:32.223Z] Sending build context to Docker daemon 6.137MB [2023-10-24T15:20:32.223Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:20:32.223Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-24T15:20:32.223Z] ---> 0cacce061853 [2023-10-24T15:20:32.223Z] Step 3/23 : ARG MAKE=make build [2023-10-24T15:20:32.223Z] ---> Running in 813c2e4f7423 [2023-10-24T15:20:32.805Z] Removing intermediate container 813c2e4f7423 [2023-10-24T15:20:32.805Z] ---> 435595a2e3a9 [2023-10-24T15:20:32.805Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-24T15:20:32.805Z] ---> Running in 8aaf42b753e6 [2023-10-24T15:20:33.071Z] Removing intermediate container 8aaf42b753e6 [2023-10-24T15:20:33.071Z] ---> fa36390080e6 [2023-10-24T15:20:33.071Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T15:20:33.071Z] ---> Running in 0234b65dda1e [2023-10-24T15:20:33.653Z] Removing intermediate container 0234b65dda1e [2023-10-24T15:20:33.653Z] ---> 93bd15b2626a [2023-10-24T15:20:33.653Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-24T15:20:33.653Z] ---> Running in 35b5ac5ad288 [2023-10-24T15:20:34.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:20:35.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:20:36.445Z] OK: 266 MiB in 52 packages [2023-10-24T15:20:37.043Z] Removing intermediate container 35b5ac5ad288 [2023-10-24T15:20:37.043Z] ---> d6a9156f52ab [2023-10-24T15:20:37.043Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-24T15:20:37.636Z] ---> f5c95153d47d [2023-10-24T15:20:37.636Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:20:37.636Z] ---> Running in fcc36b27711b [2023-10-24T15:20:40.221Z] Removing intermediate container fcc36b27711b [2023-10-24T15:20:40.221Z] ---> c59c44f40ec7 [2023-10-24T15:20:40.221Z] Step 9/23 : COPY . . [2023-10-24T15:20:41.185Z] ---> ba8fe6194324 [2023-10-24T15:20:41.185Z] Step 10/23 : RUN ${MAKE} [2023-10-24T15:20:41.454Z] ---> Running in 74f47458120b [2023-10-24T15:20:42.418Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-24T15:22:49.114Z] Removing intermediate container 74f47458120b [2023-10-24T15:22:49.114Z] ---> bb643bd7e2e5 [2023-10-24T15:22:49.114Z] Step 11/23 : FROM alpine:3.18 [2023-10-24T15:22:49.114Z] 3.18: Pulling from library/alpine [2023-10-24T15:22:49.114Z] 579b34f0a95b: Pulling fs layer [2023-10-24T15:22:49.114Z] 579b34f0a95b: Verifying Checksum [2023-10-24T15:22:49.114Z] 579b34f0a95b: Download complete [2023-10-24T15:22:49.114Z] 579b34f0a95b: Pull complete [2023-10-24T15:22:49.114Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T15:22:49.114Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T15:22:49.114Z] ---> 3cc203321400 [2023-10-24T15:22:49.114Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-24T15:22:49.114Z] ---> Running in f4837af76276 [2023-10-24T15:22:49.114Z] Removing intermediate container f4837af76276 [2023-10-24T15:22:49.114Z] ---> 9088a74e7166 [2023-10-24T15:22:49.114Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-24T15:22:49.393Z] ---> Running in 4ca74b9dc92f [2023-10-24T15:22:50.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:22:50.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:22:51.948Z] OK: 8 MiB in 15 packages [2023-10-24T15:22:52.917Z] Removing intermediate container 4ca74b9dc92f [2023-10-24T15:22:52.917Z] ---> 0f86988f2721 [2023-10-24T15:22:52.917Z] Step 14/23 : WORKDIR / [2023-10-24T15:22:52.917Z] ---> Running in 1d189054ec2c [2023-10-24T15:22:53.182Z] Removing intermediate container 1d189054ec2c [2023-10-24T15:22:53.182Z] ---> 66a3696a6bb0 [2023-10-24T15:22:53.182Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-24T15:22:53.765Z] ---> 5a3e9db2acdd [2023-10-24T15:22:53.765Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-24T15:22:55.717Z] ---> 971605506474 [2023-10-24T15:22:55.717Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-24T15:22:55.989Z] ---> 63a206939c2a [2023-10-24T15:22:55.989Z] Step 18/23 : EXPOSE 59999 [2023-10-24T15:22:56.266Z] ---> Running in b3da06ddf247 [2023-10-24T15:22:56.535Z] Removing intermediate container b3da06ddf247 [2023-10-24T15:22:56.535Z] ---> 92e14dc9962b [2023-10-24T15:22:56.535Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-24T15:22:56.535Z] ---> Running in dfaf0e989169 [2023-10-24T15:22:56.802Z] Removing intermediate container dfaf0e989169 [2023-10-24T15:22:56.802Z] ---> 2e3666255acf [2023-10-24T15:22:56.802Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T15:22:57.069Z] ---> Running in ffbacfefcd0c [2023-10-24T15:22:57.335Z] Removing intermediate container ffbacfefcd0c [2023-10-24T15:22:57.335Z] ---> a9fa162aa912 [2023-10-24T15:22:57.335Z] Step 21/23 : LABEL arch=arm64 [2023-10-24T15:22:57.335Z] ---> Running in 63f5cb8d0031 [2023-10-24T15:22:57.614Z] Removing intermediate container 63f5cb8d0031 [2023-10-24T15:22:57.614Z] ---> 19a976d7344a [2023-10-24T15:22:57.614Z] Step 22/23 : LABEL git_sha=529b12373622c5323c12703f33cb9a6cb56564eb [2023-10-24T15:22:57.891Z] ---> Running in ff0cef874050 [2023-10-24T15:22:58.159Z] Removing intermediate container ff0cef874050 [2023-10-24T15:22:58.159Z] ---> bc244310c6e2 [2023-10-24T15:22:58.159Z] Step 23/23 : LABEL version=0.0.0 [2023-10-24T15:22:58.159Z] ---> Running in 4e949fb458c5 [2023-10-24T15:22:58.427Z] Removing intermediate container 4e949fb458c5 [2023-10-24T15:22:58.427Z] ---> 803cf733c418 [2023-10-24T15:22:58.427Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T15:22:58.427Z] Successfully built 803cf733c418 [2023-10-24T15:22:58.427Z] 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-10-24T15:22:58.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T15:22:58.862Z] [2023-10-24T15:22:58.862Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:22:59.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T15:23:02.530Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T15:23:02.530Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T15:23:02.530Z] 04944245beec: Pulling fs layer [2023-10-24T15:23:02.530Z] 699f458cf7ca: Pulling fs layer [2023-10-24T15:23:02.530Z] 765212b225bb: Pulling fs layer [2023-10-24T15:23:02.530Z] f23df028b6ca: Pulling fs layer [2023-10-24T15:23:02.530Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T15:23:02.530Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T15:23:02.530Z] f23df028b6ca: Waiting [2023-10-24T15:23:02.530Z] d65c8cfc05b1: Waiting [2023-10-24T15:23:02.530Z] 2437ff75d9bd: Waiting [2023-10-24T15:23:02.530Z] 765212b225bb: Waiting [2023-10-24T15:23:02.530Z] 04944245beec: Verifying Checksum [2023-10-24T15:23:02.530Z] 04944245beec: Download complete [2023-10-24T15:23:02.530Z] 765212b225bb: Download complete [2023-10-24T15:23:02.530Z] f23df028b6ca: Verifying Checksum [2023-10-24T15:23:02.530Z] f23df028b6ca: Download complete [2023-10-24T15:23:02.530Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T15:23:02.530Z] d65c8cfc05b1: Download complete [2023-10-24T15:23:02.530Z] 699f458cf7ca: Verifying Checksum [2023-10-24T15:23:02.530Z] 699f458cf7ca: Download complete [2023-10-24T15:23:02.796Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T15:23:02.796Z] 8998bd30e6a1: Download complete [2023-10-24T15:23:05.374Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T15:23:05.374Z] 2437ff75d9bd: Download complete [2023-10-24T15:23:07.317Z] 8998bd30e6a1: Pull complete [2023-10-24T15:23:07.900Z] 04944245beec: Pull complete [2023-10-24T15:23:09.837Z] 699f458cf7ca: Pull complete [2023-10-24T15:23:09.837Z] 765212b225bb: Pull complete [2023-10-24T15:23:10.795Z] f23df028b6ca: Pull complete [2023-10-24T15:23:10.795Z] d65c8cfc05b1: Pull complete [2023-10-24T15:23:29.013Z] 2437ff75d9bd: Pull complete [2023-10-24T15:23:29.013Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T15:23:29.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T15:23:29.013Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:23:29.233Z] prd-ubuntu20.04-docker-arm64-4c-16g-9928 does not seem to be running inside a container [2023-10-24T15:23:29.310Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T15:23:32.969Z] $ docker top 5ca69e05c94ca2c26fdbeb163b343cfa1b5b68ab902965ae8e69750cdd333970 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:23:33.821Z] ---> job-cost.sh [2023-10-24T15:23:33.821Z] lf-activate-venv: SKIPPING [2023-10-24T15:23:33.821Z] INFO: No Stack... [2023-10-24T15:23:34.403Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T15:23:34.988Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T15:23:35.623Z] + + catcut /w/workspace/device-sdk-go/2/archives/cost.csv -d, [2023-10-24T15:23:35.623Z] -f6 [Pipeline] lock [2023-10-24T15:23:35.692Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1527-2-stack-cost] [2023-10-24T15:23:35.700Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1527-2-stack-cost] did not exist. Created. [2023-10-24T15:23:35.700Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1527-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T15:23:36.355Z] /w/workspace/device-sdk-go/2@tmp/durable-5c9e1957/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T15:23:37.008Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T15:23:37.024Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T15:23:37.118Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T15:23:37.130Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1527-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T15:23:37.161Z] $ docker stop --time=1 5ca69e05c94ca2c26fdbeb163b343cfa1b5b68ab902965ae8e69750cdd333970 [2023-10-24T15:23:38.771Z] $ docker rm -f --volumes 5ca69e05c94ca2c26fdbeb163b343cfa1b5b68ab902965ae8e69750cdd333970 [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-10-24T15:23:39.232Z] provisioning config files... [2023-10-24T15:23:39.240Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/config3966480355092890288tmp [Pipeline] { [Pipeline] sh [2023-10-24T15:23:39.532Z] + set +x [2023-10-24T15:23:39.532Z] + + bash -s -- [2023-10-24T15:23:39.532Z] curl -s https://codecov.io/bash [2023-10-24T15:23:39.790Z] [2023-10-24T15:23:39.790Z] _____ _ [2023-10-24T15:23:39.790Z] / ____| | | [2023-10-24T15:23:39.790Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T15:23:39.790Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T15:23:39.790Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T15:23:39.790Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T15:23:39.790Z] Bash-1.0.6 [2023-10-24T15:23:39.790Z] [2023-10-24T15:23:39.790Z] [2023-10-24T15:23:39.790Z] ==> git version 2.25.1 found [2023-10-24T15:23:39.790Z] ==> 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-10-24T15:23:39.790Z] Release-Date: 2020-01-08 [2023-10-24T15:23:39.790Z] 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-10-24T15:23:39.790Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T15:23:39.790Z] ==> Jenkins CI detected. [2023-10-24T15:23:39.790Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1527 [2023-10-24T15:23:39.790Z] project root: . [2023-10-24T15:23:39.790Z] --> token set from env [2023-10-24T15:23:39.790Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T15:23:39.790Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T15:23:39.790Z] ==> Python coveragepy not found [2023-10-24T15:23:39.790Z] ==> Searching for coverage reports in: [2023-10-24T15:23:39.790Z] + . [2023-10-24T15:23:39.790Z] -> Found 1 reports [2023-10-24T15:23:39.790Z] ==> Detecting git/mercurial file structure [2023-10-24T15:23:39.790Z] ==> Reading reports [2023-10-24T15:23:39.790Z] + ./coverage.out bytes=122153 [2023-10-24T15:23:39.790Z] ==> Appending adjustments [2023-10-24T15:23:39.790Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T15:23:40.049Z] + Found adjustments [2023-10-24T15:23:40.049Z] ==> Gzipping contents [2023-10-24T15:23:40.049Z] 20K /tmp/codecov.7D6rjr.gz [2023-10-24T15:23:40.049Z] ==> Uploading reports [2023-10-24T15:23:40.049Z] url: https://codecov.io [2023-10-24T15:23:40.049Z] query: branch=PR-1527&commit=529b12373622c5323c12703f33cb9a6cb56564eb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1527%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1527&job=&cmd_args= [2023-10-24T15:23:40.049Z] -> Pinging Codecov [2023-10-24T15:23:40.049Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1527&commit=529b12373622c5323c12703f33cb9a6cb56564eb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1527%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1527&job=&cmd_args= [2023-10-24T15:23:40.308Z] -> Uploading to [2023-10-24T15:23:40.308Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/7E55EF52A471D76F132DFD9A03CDDE97/529b12373622c5323c12703f33cb9a6cb56564eb/36f2f6d8-d8a4-434f-87f1-4d3871a5d69c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T152340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ec8af7efe117188b5e58a9680870566f088bc51129548a544d722e7aa7939b5 [2023-10-24T15:23:40.308Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T15:23:40.308Z] Dload Upload Total Spent Left Speed [2023-10-24T15:23:40.566Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16746 0 0 100 16746 0 50137 --:--:-- --:--:-- --:--:-- 50137 [2023-10-24T15:23:40.566Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/529b12373622c5323c12703f33cb9a6cb56564eb [Pipeline] } [2023-10-24T15:23:40.571Z] 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-10-24T15:23:41.307Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives ] [2023-10-24T15:23:41.307Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives [2023-10-24T15:23:41.307Z] total 16 [2023-10-24T15:23:41.307Z] drwxr-xr-x 3 root root 4096 Oct 24 15:13 . [2023-10-24T15:23:41.307Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 15:13 .. [2023-10-24T15:23:41.307Z] drwxr-xr-x 2 root root 4096 Oct 24 15:13 cost [2023-10-24T15:23:41.307Z] -rw-r--r-- 1 root root 86 Oct 24 15:13 cost.csv [2023-10-24T15:23:41.307Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives [2023-10-24T15:23:41.307Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives [2023-10-24T15:23:41.307Z] total 16 [2023-10-24T15:23:41.307Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:13 . [2023-10-24T15:23:41.307Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 15:13 .. [2023-10-24T15:23:41.307Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 15:13 cost [2023-10-24T15:23:41.307Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 15:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:23:41.595Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:23:42.448Z] ---> package-listing.sh [2023-10-24T15:23:42.448Z] ++ facter osfamily [2023-10-24T15:23:42.448Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T15:23:42.706Z] + OS_FAMILY=debian [2023-10-24T15:23:42.706Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1527 [2023-10-24T15:23:42.706Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T15:23:42.706Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T15:23:42.706Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T15:23:42.706Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T15:23:42.706Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1527 ']' [2023-10-24T15:23:42.706Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T15:23:42.706Z] + case "${OS_FAMILY}" in [2023-10-24T15:23:42.706Z] + dpkg -l [2023-10-24T15:23:42.706Z] + grep '^ii' [2023-10-24T15:23:42.706Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T15:23:42.706Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T15:23:42.706Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T15:23:42.706Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1527 ']' [2023-10-24T15:23:42.706Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives/ [2023-10-24T15:23:42.706Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives/ [Pipeline] echo [2023-10-24T15:23:42.716Z] 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-1527/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T15:23:42.990Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:23:43.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:23:43.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:23:43.606Z] prd-ubuntu20.04-docker-8c-8g-9927 does not seem to be running inside a container [2023-10-24T15:23:43.619Z] $ 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-1527/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-1527 -v /w/workspace/gexfoundry_device-sdk-go_PR-1527:/w/workspace/gexfoundry_device-sdk-go_PR-1527:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T15:23:43.796Z] $ docker top 6737a229ca7ae04187f4ea6ab67809bed13ba64c53e49ee2320044e10b997499 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:23:44.143Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T15:23:44.428Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T15:23:44.707Z] + ls /var/log/sa-host [2023-10-24T15:23:44.707Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:23:44.787Z] provisioning config files... [2023-10-24T15:23:44.795Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/config18412312693421926109tmp [Pipeline] { [Pipeline] echo [2023-10-24T15:23:44.810Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:23:45.092Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T15:23:45.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:23:45.421Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T15:23:45.430Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:23:45.710Z] ---> sudo-logs.sh [2023-10-24T15:23:45.710Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T15:23:45.741Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:23:46.023Z] ---> job-cost.sh [2023-10-24T15:23:46.023Z] lf-activate-venv: SKIPPING [2023-10-24T15:23:46.023Z] DEBUG: total: 0.2199999988079071 [2023-10-24T15:23:46.023Z] INFO: Retrieving Stack Cost... [2023-10-24T15:23:46.590Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T15:23:46.849Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T15:23:46.860Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:23:47.140Z] ---> logs-deploy.sh [2023-10-24T15:23:47.140Z] lf-activate-venv: SKIPPING [2023-10-24T15:23:47.140Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1527/2 [2023-10-24T15:23:47.140Z] INFO: archiving workspace using pattern(s): [2023-10-24T15:23:48.075Z] Archives upload complete. [2023-10-24T15:23:48.075Z] INFO: archiving logs to Nexus