Pull request #1515 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lindseysimple for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c15e942298bbefbea2d87da6b44867b465ecb0a7+afe3ff62d3fd920c33d9e36f21752c88d9373351 (8a69e9987be89aa3b0de70e978c3bc9c26cc2ab7) 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-ssh6092088184249124100.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-ssh8511316005638967964.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh712418120764557307.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-ssh3305093952321364085.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2998338559876522750.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7795’ Running on prd-ubuntu20.04-docker-8c-8g-7797 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1515 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit afe3ff62d3fd920c33d9e36f21752c88d9373351 into PR head commit c15e942298bbefbea2d87da6b44867b465ecb0a7 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c15e942298bbefbea2d87da6b44867b465ecb0a7 # timeout=10 Merge succeeded, producing cdfa4a01a22cda8a527a63f18066aded9d49973e Checking out Revision cdfa4a01a22cda8a527a63f18066aded9d49973e (PR-1515) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdfa4a01a22cda8a527a63f18066aded9d49973e # timeout=10 Commit message: "Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-25T06:15:32.554Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 556a56c75b5b6b374e665f4b95d06394974b2d72 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-25T06:15:32.617Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-25T06:15:32.629Z] ========================================================= [2023-09-25T06:15:32.630Z] EdgeX Global Pipelines Version Info [2023-09-25T06:15:32.630Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:15:33.330Z] ------------------- [2023-09-25T06:15:33.330Z] stable info: [2023-09-25T06:15:33.330Z] ------------------- [2023-09-25T06:15:33.330Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-25T06:15:33.330Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T06:15:33.330Z] Message: update stable to v1.0.254 [2023-09-25T06:15:33.899Z] ------------------- [2023-09-25T06:15:33.899Z] experimental info: [2023-09-25T06:15:33.899Z] ------------------- [2023-09-25T06:15:33.899Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-25T06:15:33.899Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T06:15:33.899Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-25T06:15:34.073Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-25T06:15:34.086Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-25T06:15:34.104Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-25T06:15:34.120Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-25T06:15:34.132Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-25T06:15:34.146Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-25T06:15:34.159Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-25T06:15:34.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-25T06:15:34.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-25T06:15:34.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-25T06:15:34.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-25T06:15:34.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-25T06:15:34.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-25T06:15:34.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-25T06:15:34.285Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T06:15:34.303Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T06:15:34.312Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T06:15:34.325Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T06:15:34.341Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-25T06:15:34.361Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-25T06:15:34.381Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-25T06:15:34.397Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-25T06:15:34.416Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-25T06:15:34.435Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-25T06:15:34.459Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-25T06:15:34.478Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-25T06:15:34.497Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-25T06:15:34.514Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1515 [Pipeline] echo [2023-09-25T06:15:34.525Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1515 [Pipeline] echo [2023-09-25T06:15:34.536Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1515 [Pipeline] echo [2023-09-25T06:15:34.548Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdfa4a01a22cda8a527a63f18066aded9d49973e [Pipeline] echo [2023-09-25T06:15:34.563Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdfa4a0 [Pipeline] echo [2023-09-25T06:15:34.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T06:15:34.621Z] provisioning config files... [2023-09-25T06:15:34.635Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config496833925156069874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:15:34.938Z] ---> docker-login.sh [2023-09-25T06:15:34.938Z] nexus3.edgexfoundry.org:10001 [2023-09-25T06:15:35.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:15:35.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:15:35.200Z] Configure a credential helper to remove this warning. See [2023-09-25T06:15:35.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:15:35.200Z] [2023-09-25T06:15:35.200Z] Login Succeeded [2023-09-25T06:15:35.200Z] nexus3.edgexfoundry.org:10002 [2023-09-25T06:15:35.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:15:35.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:15:35.200Z] Configure a credential helper to remove this warning. See [2023-09-25T06:15:35.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:15:35.200Z] [2023-09-25T06:15:35.200Z] Login Succeeded [2023-09-25T06:15:35.200Z] nexus3.edgexfoundry.org:10003 [2023-09-25T06:15:35.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:15:35.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:15:35.467Z] Configure a credential helper to remove this warning. See [2023-09-25T06:15:35.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:15:35.467Z] [2023-09-25T06:15:35.467Z] Login Succeeded [2023-09-25T06:15:35.467Z] nexus3.edgexfoundry.org:10004 [2023-09-25T06:15:35.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:15:35.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:15:35.467Z] Configure a credential helper to remove this warning. See [2023-09-25T06:15:35.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:15:35.467Z] [2023-09-25T06:15:35.467Z] Login Succeeded [2023-09-25T06:15:35.467Z] docker.io [2023-09-25T06:15:35.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:15:35.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:15:35.743Z] Configure a credential helper to remove this warning. See [2023-09-25T06:15:35.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:15:35.743Z] [2023-09-25T06:15:35.743Z] Login Succeeded [2023-09-25T06:15:35.743Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T06:15:35.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-25T06:15:36.132Z] + git rev-list -1 --merges cdfa4a01a22cda8a527a63f18066aded9d49973e~1..cdfa4a01a22cda8a527a63f18066aded9d49973e [Pipeline] echo [2023-09-25T06:15:36.180Z] -----------> git rev-list -1 --merges cdfa4a01a22cda8a527a63f18066aded9d49973e~1..cdfa4a01a22cda8a527a63f18066aded9d49973e cdfa4a01a22cda8a527a63f18066aded9d49973e [2023-09-25T06:15:36.180Z] cdfa4a01a22cda8a527a63f18066aded9d49973e [false] [Pipeline] sh [2023-09-25T06:15:36.468Z] + git log --format=format:%s -1 cdfa4a01a22cda8a527a63f18066aded9d49973e [Pipeline] echo [2023-09-25T06:15:36.484Z] ========================================================= [2023-09-25T06:15:36.484Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-25T06:15:36.484Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T06:15:36.823Z] + git log --format=format:%s -1 cdfa4a01a22cda8a527a63f18066aded9d49973e [Pipeline] echo [2023-09-25T06:15:36.835Z] [semverPrep] GIT_COMMIT: cdfa4a01a22cda8a527a63f18066aded9d49973e, Commit Message: Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD [Pipeline] echo [2023-09-25T06:15:36.843Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-25T06:15:37.223Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T06:15:37.223Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-25T06:15:37.223Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-25T06:15:37.223Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-25T06:15:37.223Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-25T06:15:37.223Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-25T06:15:37.223Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:15:37.569Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T06:15:37.569Z] [2023-09-25T06:15:37.569Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:15:37.865Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T06:15:37.865Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-25T06:15:37.865Z] b85a868b505f: Pulling fs layer [2023-09-25T06:15:37.865Z] e2be974225ed: Pulling fs layer [2023-09-25T06:15:37.865Z] 339a4e72a1f5: Pulling fs layer [2023-09-25T06:15:37.865Z] 988bab9f4d93: Pulling fs layer [2023-09-25T06:15:37.865Z] 1469e6f7b9e6: Pulling fs layer [2023-09-25T06:15:37.865Z] eaf3925da568: Pulling fs layer [2023-09-25T06:15:37.865Z] bab4dde63d76: Pulling fs layer [2023-09-25T06:15:37.865Z] bde34c3a00c8: Pulling fs layer [2023-09-25T06:15:37.865Z] b352a97aabf1: Pulling fs layer [2023-09-25T06:15:37.865Z] 4872d77fe225: Pulling fs layer [2023-09-25T06:15:37.865Z] 5851b861e8e6: Pulling fs layer [2023-09-25T06:15:37.865Z] 4872d77fe225: Waiting [2023-09-25T06:15:37.865Z] 1469e6f7b9e6: Waiting [2023-09-25T06:15:37.865Z] b352a97aabf1: Waiting [2023-09-25T06:15:37.865Z] bde34c3a00c8: Waiting [2023-09-25T06:15:37.865Z] bab4dde63d76: Waiting [2023-09-25T06:15:37.865Z] 5851b861e8e6: Waiting [2023-09-25T06:15:37.865Z] 988bab9f4d93: Waiting [2023-09-25T06:15:37.865Z] eaf3925da568: Waiting [2023-09-25T06:15:37.865Z] e2be974225ed: Download complete [2023-09-25T06:15:37.865Z] 988bab9f4d93: Verifying Checksum [2023-09-25T06:15:37.865Z] 988bab9f4d93: Download complete [2023-09-25T06:15:38.125Z] 1469e6f7b9e6: Verifying Checksum [2023-09-25T06:15:38.125Z] 1469e6f7b9e6: Download complete [2023-09-25T06:15:38.125Z] 339a4e72a1f5: Verifying Checksum [2023-09-25T06:15:38.125Z] 339a4e72a1f5: Download complete [2023-09-25T06:15:38.125Z] eaf3925da568: Verifying Checksum [2023-09-25T06:15:38.125Z] eaf3925da568: Download complete [2023-09-25T06:15:38.125Z] bde34c3a00c8: Download complete [2023-09-25T06:15:38.125Z] b352a97aabf1: Download complete [2023-09-25T06:15:38.125Z] 4872d77fe225: Verifying Checksum [2023-09-25T06:15:38.125Z] 4872d77fe225: Download complete [2023-09-25T06:15:38.125Z] 5851b861e8e6: Verifying Checksum [2023-09-25T06:15:38.125Z] 5851b861e8e6: Download complete [2023-09-25T06:15:38.125Z] b85a868b505f: Verifying Checksum [2023-09-25T06:15:38.125Z] b85a868b505f: Download complete [2023-09-25T06:15:38.383Z] bab4dde63d76: Verifying Checksum [2023-09-25T06:15:38.383Z] bab4dde63d76: Download complete [2023-09-25T06:15:39.318Z] b85a868b505f: Pull complete [2023-09-25T06:15:39.576Z] e2be974225ed: Pull complete [2023-09-25T06:15:39.835Z] 339a4e72a1f5: Pull complete [2023-09-25T06:15:40.093Z] 988bab9f4d93: Pull complete [2023-09-25T06:15:40.352Z] 1469e6f7b9e6: Pull complete [2023-09-25T06:15:40.352Z] eaf3925da568: Pull complete [2023-09-25T06:15:42.252Z] bab4dde63d76: Pull complete [2023-09-25T06:15:42.252Z] bde34c3a00c8: Pull complete [2023-09-25T06:15:42.252Z] b352a97aabf1: Pull complete [2023-09-25T06:15:42.252Z] 4872d77fe225: Pull complete [2023-09-25T06:15:42.252Z] 5851b861e8e6: Pull complete [2023-09-25T06:15:42.252Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-25T06:15:42.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T06:15:42.252Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:15:42.355Z] prd-ubuntu20.04-docker-8c-8g-7797 does not seem to be running inside a container [2023-09-25T06:15:42.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T06:15:43.606Z] $ docker top 9f791861008d247de732f789672c01adde0d4c5c5799da6485380df56f08e39c -eo pid,comm [2023-09-25T06:15:43.661Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-25T06:15:43.661Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T06:15:43.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T06:15:43.701Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T06:15:43.813Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T06:15:43.816Z] $ docker exec 9f791861008d247de732f789672c01adde0d4c5c5799da6485380df56f08e39c ssh-agent [2023-09-25T06:15:43.916Z] SSH_AUTH_SOCK=/tmp/ssh-xUVhfdplLSGU/agent.31 [2023-09-25T06:15:43.916Z] SSH_AGENT_PID=37 [2023-09-25T06:15:43.921Z] Running ssh-add (command line suppressed) [2023-09-25T06:15:44.023Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_13237461379012790845.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_13237461379012790845.key) [2023-09-25T06:15:44.036Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T06:15:44.322Z] + git tag --points-at HEAD [Pipeline] } [2023-09-25T06:15:44.337Z] $ docker exec --env ******** --env ******** 9f791861008d247de732f789672c01adde0d4c5c5799da6485380df56f08e39c ssh-agent -k [2023-09-25T06:15:44.427Z] unset SSH_AUTH_SOCK; [2023-09-25T06:15:44.427Z] unset SSH_AGENT_PID; [2023-09-25T06:15:44.427Z] echo Agent pid 37 killed; [2023-09-25T06:15:44.441Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-25T06:15:44.462Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T06:15:44.462Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T06:15:44.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T06:15:44.573Z] $ docker exec 9f791861008d247de732f789672c01adde0d4c5c5799da6485380df56f08e39c ssh-agent [2023-09-25T06:15:44.669Z] SSH_AUTH_SOCK=/tmp/ssh-fx8sO42xqAel/agent.69 [2023-09-25T06:15:44.669Z] SSH_AGENT_PID=75 [2023-09-25T06:15:44.673Z] Running ssh-add (command line suppressed) [2023-09-25T06:15:44.764Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_1788197501952186981.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_1788197501952186981.key) [2023-09-25T06:15:44.781Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T06:15:45.067Z] + git semver init [2023-09-25T06:15:45.327Z] 2023-09-25 06:15:45,237 [run_init] DEBUG init version:0.0.0 force:False [2023-09-25T06:15:45.327Z] 2023-09-25 06:15:45,238 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver [2023-09-25T06:15:45.327Z] 2023-09-25 06:15:45,238 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver [2023-09-25T06:15:45.327Z] 2023-09-25 06:15:45,239 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515, universal_newlines=False, shell=None, istream=None) [2023-09-25T06:15:46.265Z] 2023-09-25 06:15:46,079 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.git/info/exclude [2023-09-25T06:15:46.265Z] 2023-09-25 06:15:46,080 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 with force:False [2023-09-25T06:15:46.265Z] 2023-09-25 06:15:46,080 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-25T06:15:46.265Z] 2023-09-25 06:15:46,084 [execute] INFO git cat-file --batch-check [2023-09-25T06:15:46.265Z] 2023-09-25 06:15:46,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T06:15:46.265Z] 2023-09-25 06:15:46,091 [execute] INFO git cat-file --batch [2023-09-25T06:15:46.265Z] 2023-09-25 06:15:46,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T06:15:46.265Z] 2023-09-25 06:15:46,096 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-25T06:15:46.265Z] 0.0.0 [Pipeline] } [2023-09-25T06:15:46.272Z] $ docker exec --env ******** --env ******** 9f791861008d247de732f789672c01adde0d4c5c5799da6485380df56f08e39c ssh-agent -k [2023-09-25T06:15:46.368Z] unset SSH_AUTH_SOCK; [2023-09-25T06:15:46.368Z] unset SSH_AGENT_PID; [2023-09-25T06:15:46.368Z] echo Agent pid 75 killed; [2023-09-25T06:15:46.378Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T06:15:46.679Z] + git semver [Pipeline] } [2023-09-25T06:15:46.952Z] $ docker stop --time=1 9f791861008d247de732f789672c01adde0d4c5c5799da6485380df56f08e39c [2023-09-25T06:15:48.270Z] $ docker rm -f --volumes 9f791861008d247de732f789672c01adde0d4c5c5799da6485380df56f08e39c [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T06:15:48.607Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-25T06:15:48.833Z] Stashed 1 file(s) [Pipeline] echo [2023-09-25T06:15:48.836Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T06:15:48.955Z] provisioning config files... [2023-09-25T06:15:48.965Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config6207739411006230277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:15:49.278Z] ---> docker-login.sh [2023-09-25T06:15:49.278Z] nexus3.edgexfoundry.org:10001 [2023-09-25T06:15:49.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:15:49.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:15:49.278Z] Configure a credential helper to remove this warning. See [2023-09-25T06:15:49.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:15:49.278Z] [2023-09-25T06:15:49.278Z] Login Succeeded [2023-09-25T06:15:49.278Z] nexus3.edgexfoundry.org:10002 [2023-09-25T06:15:49.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:15:49.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:15:49.278Z] Configure a credential helper to remove this warning. See [2023-09-25T06:15:49.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:15:49.278Z] [2023-09-25T06:15:49.278Z] Login Succeeded [2023-09-25T06:15:49.278Z] nexus3.edgexfoundry.org:10003 [2023-09-25T06:15:49.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:15:49.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:15:49.536Z] Configure a credential helper to remove this warning. See [2023-09-25T06:15:49.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:15:49.536Z] [2023-09-25T06:15:49.536Z] Login Succeeded [2023-09-25T06:15:49.536Z] nexus3.edgexfoundry.org:10004 [2023-09-25T06:15:49.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:15:49.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:15:49.536Z] Configure a credential helper to remove this warning. See [2023-09-25T06:15:49.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:15:49.536Z] [2023-09-25T06:15:49.536Z] Login Succeeded [2023-09-25T06:15:49.536Z] docker.io [2023-09-25T06:15:49.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:15:49.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:15:49.795Z] Configure a credential helper to remove this warning. See [2023-09-25T06:15:49.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:15:49.795Z] [2023-09-25T06:15:49.795Z] Login Succeeded [2023-09-25T06:15:49.795Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T06:15:49.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T06:15:49.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T06:15:49.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T06:15:49.896Z] ========================================================= [2023-09-25T06:15:49.896Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-25T06:15:49.896Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:15:50.225Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-25T06:15:50.225Z] Sending build context to Docker daemon 11.26MB [2023-09-25T06:15:50.225Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T06:15:50.225Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-25T06:15:50.225Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-25T06:15:50.225Z] 7264a8db6415: Pulling fs layer [2023-09-25T06:15:50.225Z] c4d48a809fc2: Pulling fs layer [2023-09-25T06:15:50.225Z] 4f1c88b9dad5: Pulling fs layer [2023-09-25T06:15:50.225Z] ad3a456e5733: Pulling fs layer [2023-09-25T06:15:50.225Z] 33e27b845d1e: Pulling fs layer [2023-09-25T06:15:50.225Z] c68163c4e522: Pulling fs layer [2023-09-25T06:15:50.225Z] 50da416c3ac9: Pulling fs layer [2023-09-25T06:15:50.225Z] 23d2d4c4bb30: Pulling fs layer [2023-09-25T06:15:50.225Z] ad3a456e5733: Waiting [2023-09-25T06:15:50.225Z] 33e27b845d1e: Waiting [2023-09-25T06:15:50.225Z] c68163c4e522: Waiting [2023-09-25T06:15:50.225Z] 23d2d4c4bb30: Waiting [2023-09-25T06:15:50.485Z] c4d48a809fc2: Download complete [2023-09-25T06:15:50.485Z] ad3a456e5733: Verifying Checksum [2023-09-25T06:15:50.485Z] ad3a456e5733: Download complete [2023-09-25T06:15:50.485Z] 33e27b845d1e: Verifying Checksum [2023-09-25T06:15:50.485Z] 33e27b845d1e: Download complete [2023-09-25T06:15:50.485Z] 7264a8db6415: Verifying Checksum [2023-09-25T06:15:50.485Z] 7264a8db6415: Download complete [2023-09-25T06:15:50.485Z] c68163c4e522: Verifying Checksum [2023-09-25T06:15:50.485Z] c68163c4e522: Download complete [2023-09-25T06:15:50.485Z] 7264a8db6415: Pull complete [2023-09-25T06:15:50.745Z] 23d2d4c4bb30: Verifying Checksum [2023-09-25T06:15:50.745Z] 23d2d4c4bb30: Download complete [2023-09-25T06:15:50.745Z] c4d48a809fc2: Pull complete [2023-09-25T06:15:50.745Z] 4f1c88b9dad5: Verifying Checksum [2023-09-25T06:15:50.745Z] 4f1c88b9dad5: Download complete [2023-09-25T06:15:51.341Z] 50da416c3ac9: Verifying Checksum [2023-09-25T06:15:51.341Z] 50da416c3ac9: Download complete [2023-09-25T06:15:53.884Z] 4f1c88b9dad5: Pull complete [2023-09-25T06:15:54.144Z] ad3a456e5733: Pull complete [2023-09-25T06:15:54.144Z] 33e27b845d1e: Pull complete [2023-09-25T06:15:54.144Z] c68163c4e522: Pull complete [2023-09-25T06:15:56.676Z] 50da416c3ac9: Pull complete [2023-09-25T06:15:56.934Z] 23d2d4c4bb30: Pull complete [2023-09-25T06:15:56.934Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-25T06:15:56.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-25T06:15:56.934Z] ---> 0786185ac409 [2023-09-25T06:15:56.934Z] Step 3/10 : ARG MAKE=make build [2023-09-25T06:15:58.314Z] ---> Running in 8795a66686bd [2023-09-25T06:15:58.573Z] Removing intermediate container 8795a66686bd [2023-09-25T06:15:58.573Z] ---> b92e2adf9415 [2023-09-25T06:15:58.573Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-25T06:15:58.573Z] ---> Running in e0b8106f9f48 [2023-09-25T06:15:58.573Z] Removing intermediate container e0b8106f9f48 [2023-09-25T06:15:58.573Z] ---> 4900b21287c1 [2023-09-25T06:15:58.573Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-25T06:15:58.573Z] ---> Running in b9f88c7af3b1 [2023-09-25T06:15:58.573Z] Removing intermediate container b9f88c7af3b1 [2023-09-25T06:15:58.573Z] ---> f61a068ba240 [2023-09-25T06:15:58.573Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-25T06:15:58.573Z] ---> Running in 136450a24e64 [2023-09-25T06:15:59.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T06:15:59.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T06:15:59.398Z] OK: 264 MiB in 52 packages [2023-09-25T06:15:59.964Z] Removing intermediate container 136450a24e64 [2023-09-25T06:15:59.964Z] ---> 37f21f50fc14 [2023-09-25T06:15:59.964Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-25T06:15:59.964Z] ---> 1ee5241e7bce [2023-09-25T06:15:59.964Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T06:15:59.964Z] ---> Running in 27cc35cdab01 [2023-09-25T06:16:03.923Z] Still waiting to schedule task [2023-09-25T06:16:03.924Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-25T06:16:46.678Z] Removing intermediate container 27cc35cdab01 [2023-09-25T06:16:46.678Z] ---> 795862c7afc1 [2023-09-25T06:16:46.678Z] Step 9/10 : COPY . . [2023-09-25T06:16:46.678Z] ---> ac0199208906 [2023-09-25T06:16:46.678Z] Step 10/10 : RUN ${MAKE} [2023-09-25T06:16:46.678Z] ---> Running in bf61cc4e077b [2023-09-25T06:16:46.678Z] noop [2023-09-25T06:16:46.678Z] Removing intermediate container bf61cc4e077b [2023-09-25T06:16:46.678Z] ---> 5b57111b4b1c [2023-09-25T06:16:46.678Z] Successfully built 5b57111b4b1c [2023-09-25T06:16:46.678Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:16:46.984Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T06:16:46.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:16:47.045Z] prd-ubuntu20.04-docker-8c-8g-7797 does not seem to be running inside a container [2023-09-25T06:16:47.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T06:16:47.386Z] $ docker top f34967d934281fd0b604028eb74011134edb3fe2b4abf1670438ea71966c8021 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T06:16:47.722Z] + go version [2023-09-25T06:16:47.722Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-25T06:16:47.738Z] $ docker stop --time=1 f34967d934281fd0b604028eb74011134edb3fe2b4abf1670438ea71966c8021 [2023-09-25T06:16:49.017Z] $ docker rm -f --volumes f34967d934281fd0b604028eb74011134edb3fe2b4abf1670438ea71966c8021 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:16:49.413Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T06:16:49.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:16:49.494Z] prd-ubuntu20.04-docker-8c-8g-7797 does not seem to be running inside a container [2023-09-25T06:16:49.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T06:16:49.843Z] $ docker top 28b94617de55b5929d7d61934e1c465900809a07697885c954a2eca902442884 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T06:16:50.184Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] fileExists [Pipeline] sh [2023-09-25T06:16:50.478Z] + make test [2023-09-25T06:16:50.478Z] go test -race -coverprofile=coverage.out ./... [2023-09-25T06:16:57.047Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-25T06:17:11.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-25T06:17:11.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-25T06:17:11.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-25T06:17:11.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-25T06:17:11.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-25T06:17:11.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-25T06:17:11.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-25T06:17:12.182Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.062s coverage: 27.6% of statements [2023-09-25T06:17:12.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-25T06:17:12.440Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.9% of statements [2023-09-25T06:17:12.440Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.059s coverage: 86.0% of statements [2023-09-25T06:17:13.374Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-25T06:17:13.374Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-25T06:17:13.374Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.067s coverage: 71.8% of statements [2023-09-25T06:17:13.632Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-25T06:17:16.914Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.045s coverage: 14.4% of statements [2023-09-25T06:17:16.914Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.958s coverage: 45.9% of statements [2023-09-25T06:17:16.914Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.063s coverage: 68.5% of statements [2023-09-25T06:17:16.914Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.113s coverage: 89.2% of statements [2023-09-25T06:17:16.914Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.5% of statements [2023-09-25T06:17:34.987Z] GO111MODULE=on go vet ./... [2023-09-25T06:17:35.554Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T06:17:35.554Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T06:17:35.811Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T06:17:35.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T06:17:35.842Z] $ docker stop --time=1 28b94617de55b5929d7d61934e1c465900809a07697885c954a2eca902442884 [2023-09-25T06:17:37.705Z] $ docker rm -f --volumes 28b94617de55b5929d7d61934e1c465900809a07697885c954a2eca902442884 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T06:17:38.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T06:17:38.321Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-25T06:17:38.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T06:17:39.047Z] + ls -al . [2023-09-25T06:17:39.047Z] total 304 [2023-09-25T06:17:39.047Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 25 06:16 . [2023-09-25T06:17:39.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:15 .. [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 25 06:15 .dockerignore [2023-09-25T06:17:39.047Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 06:17 .git [2023-09-25T06:17:39.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 06:15 .github [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 25 06:15 .gitignore [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 25 06:15 .golangci.yml [2023-09-25T06:17:39.047Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 06:15 .semver [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 25 06:15 CHANGELOG.md [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 06:15 GOVERNANCE.md [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 25 06:15 Jenkinsfile [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 25 06:15 LICENSE [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 25 06:15 Makefile [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 25 06:15 OWNERS.md [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 25 06:15 README.md [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 06:15 VERSION [2023-09-25T06:17:39.047Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 06:15 bin [2023-09-25T06:17:39.047Z] -rw-r--r-- 1 jenkins jenkins 122488 Sep 25 06:17 coverage.out [2023-09-25T06:17:39.047Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 25 06:15 example [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 25 06:15 go.mod [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 25 06:15 go.sum [2023-09-25T06:17:39.047Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 25 06:15 internal [2023-09-25T06:17:39.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 06:15 openapi [2023-09-25T06:17:39.047Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 25 06:15 pkg [2023-09-25T06:17:39.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:15 snap [2023-09-25T06:17:39.047Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 25 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:17:39.357Z] + 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=cdfa4a01a22cda8a527a63f18066aded9d49973e --label arch=amd64 --label version=0.0.0 . [2023-09-25T06:17:39.357Z] Sending build context to Docker daemon 11.39MB [2023-09-25T06:17:39.357Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T06:17:39.357Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-25T06:17:39.357Z] ---> 5b57111b4b1c [2023-09-25T06:17:39.357Z] Step 3/23 : ARG MAKE=make build [2023-09-25T06:17:39.357Z] ---> Running in 11702ea3496a [2023-09-25T06:17:39.518Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7798 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] { [Pipeline] ws [2023-09-25T06:17:39.531Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2023-09-25T06:17:39.575Z] The recommended git tool is: git [2023-09-25T06:17:39.615Z] Removing intermediate container 11702ea3496a [2023-09-25T06:17:39.615Z] ---> e4cdf3e2ca92 [2023-09-25T06:17:39.615Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-25T06:17:39.615Z] ---> Running in f48c6b1c67b7 [2023-09-25T06:17:39.615Z] Removing intermediate container f48c6b1c67b7 [2023-09-25T06:17:39.615Z] ---> cb263712db06 [2023-09-25T06:17:39.615Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-25T06:17:39.615Z] ---> Running in 9ce34b68023c [2023-09-25T06:17:39.615Z] Removing intermediate container 9ce34b68023c [2023-09-25T06:17:39.615Z] ---> 37db6d87b57b [2023-09-25T06:17:39.615Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-25T06:17:39.615Z] ---> Running in d4cfa19aba5c [2023-09-25T06:17:39.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T06:17:40.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T06:17:40.403Z] OK: 264 MiB in 52 packages [2023-09-25T06:17:40.664Z] Removing intermediate container d4cfa19aba5c [2023-09-25T06:17:40.664Z] ---> 405bd309ae15 [2023-09-25T06:17:40.664Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-25T06:17:40.923Z] ---> e03fe3fab758 [2023-09-25T06:17:40.923Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T06:17:40.923Z] ---> Running in 97ad4521675b [2023-09-25T06:17:41.489Z] Removing intermediate container 97ad4521675b [2023-09-25T06:17:41.490Z] ---> 75c5b0878890 [2023-09-25T06:17:41.490Z] Step 9/23 : COPY . . [2023-09-25T06:17:41.749Z] ---> da4c00a4cc64 [2023-09-25T06:17:41.749Z] Step 10/23 : RUN ${MAKE} [2023-09-25T06:17:41.749Z] ---> Running in e83b27aaf0c3 [2023-09-25T06:17:42.007Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-25T06:17:44.700Z] using credential edgex-jenkins-ssh [2023-09-25T06:17:44.715Z] Cloning the remote Git repository [2023-09-25T06:17:44.757Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-25T06:17:44.847Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2023-09-25T06:17:44.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-25T06:17:44.980Z] > git --version # timeout=10 [2023-09-25T06:17:45.000Z] > git --version # 'git version 2.25.1' [2023-09-25T06:17:45.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T06:17:45.154Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T06:17:46.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-25T06:17:46.712Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T06:17:48.189Z] Merging remotes/origin/main commit afe3ff62d3fd920c33d9e36f21752c88d9373351 into PR head commit c15e942298bbefbea2d87da6b44867b465ecb0a7 [2023-09-25T06:17:47.517Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-25T06:17:47.557Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-25T06:17:47.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T06:17:47.574Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-25T06:17:48.210Z] > git config core.sparsecheckout # timeout=10 [2023-09-25T06:17:48.284Z] > git checkout -f c15e942298bbefbea2d87da6b44867b465ecb0a7 # timeout=10 [2023-09-25T06:17:48.392Z] > git remote # timeout=10 [2023-09-25T06:17:48.410Z] > git config --get remote.origin.url # timeout=10 [2023-09-25T06:17:48.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T06:17:48.451Z] > git merge afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 [2023-09-25T06:17:48.557Z] Merge succeeded, producing 85ae8cb248a9714bb1627c0ddc1353ce9062c65a [2023-09-25T06:17:48.557Z] Checking out Revision 85ae8cb248a9714bb1627c0ddc1353ce9062c65a (PR-1515) [2023-09-25T06:17:48.541Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-25T06:17:48.565Z] > git config core.sparsecheckout # timeout=10 [2023-09-25T06:17:48.578Z] > git checkout -f 85ae8cb248a9714bb1627c0ddc1353ce9062c65a # timeout=10 [2023-09-25T06:17:52.065Z] Commit message: "Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD" [2023-09-25T06:17:52.095Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T06:17:52.077Z] > git rev-list --no-walk 556a56c75b5b6b374e665f4b95d06394974b2d72 # timeout=10 [2023-09-25T06:17:53.001Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-25T06:17:53.001Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T06:17:53.001Z] Dload Upload Total Spent Left Speed [2023-09-25T06:17:53.001Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-09-25T06:17:53.693Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-25T06:17:54.027Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-25T06:17:54.027Z] + sudo tee /etc/docker/daemon.new [2023-09-25T06:17:54.027Z] { [2023-09-25T06:17:54.027Z] "registry-mirrors": [ [2023-09-25T06:17:54.027Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-25T06:17:54.027Z] ], [2023-09-25T06:17:54.027Z] "bip": "10.250.0.254/24", [2023-09-25T06:17:54.027Z] "hosts": [ [2023-09-25T06:17:54.027Z] "tcp://0.0.0.0:5555", [2023-09-25T06:17:54.027Z] "unix:///var/run/docker.sock" [2023-09-25T06:17:54.027Z] ], [2023-09-25T06:17:54.027Z] "mtu": 1458, [2023-09-25T06:17:54.027Z] "selinux-enabled": true, [2023-09-25T06:17:54.027Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-25T06:17:54.027Z] } [Pipeline] sh [2023-09-25T06:17:54.353Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-25T06:17:54.685Z] + sudo service docker restart [2023-09-25T06:18:00.084Z] Removing intermediate container e83b27aaf0c3 [2023-09-25T06:18:00.084Z] ---> 9b5191650366 [2023-09-25T06:18:00.084Z] Step 11/23 : FROM alpine:3.18 [2023-09-25T06:18:00.084Z] 3.18: Pulling from library/alpine [2023-09-25T06:18:00.084Z] 7264a8db6415: Already exists [2023-09-25T06:18:00.084Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T06:18:00.084Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T06:18:00.084Z] ---> 7e01a0d0a1dc [2023-09-25T06:18:00.084Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-25T06:18:00.084Z] ---> Running in 39989a4b692f [2023-09-25T06:18:00.084Z] Removing intermediate container 39989a4b692f [2023-09-25T06:18:00.084Z] ---> 63b376f3d608 [2023-09-25T06:18:00.084Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-25T06:18:00.084Z] ---> Running in 9a340f1bd52c [2023-09-25T06:18:00.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T06:18:00.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T06:18:00.084Z] OK: 7 MiB in 15 packages [2023-09-25T06:18:00.084Z] Removing intermediate container 9a340f1bd52c [2023-09-25T06:18:00.084Z] ---> 0f7b77c593db [2023-09-25T06:18:00.084Z] Step 14/23 : WORKDIR / [2023-09-25T06:18:00.084Z] ---> Running in d565095f2faf [2023-09-25T06:18:00.084Z] Removing intermediate container d565095f2faf [2023-09-25T06:18:00.084Z] ---> 326d9f1d2f1d [2023-09-25T06:18:00.084Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-25T06:18:00.084Z] ---> 40dad960cf4b [2023-09-25T06:18:00.084Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-25T06:18:00.343Z] ---> 9e1f7c3a47ba [2023-09-25T06:18:00.343Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-25T06:18:00.343Z] ---> db978bd5eb1c [2023-09-25T06:18:00.343Z] Step 18/23 : EXPOSE 59999 [2023-09-25T06:18:00.343Z] ---> Running in 84166a98f04b [2023-09-25T06:18:00.601Z] Removing intermediate container 84166a98f04b [2023-09-25T06:18:00.601Z] ---> ddd6c161abb1 [2023-09-25T06:18:00.601Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-25T06:18:00.601Z] ---> Running in 1468a599a2b6 [2023-09-25T06:18:00.601Z] Removing intermediate container 1468a599a2b6 [2023-09-25T06:18:00.601Z] ---> 3bda0cd30ff4 [2023-09-25T06:18:00.601Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-25T06:18:00.601Z] ---> Running in 74990581a324 [2023-09-25T06:18:00.601Z] Removing intermediate container 74990581a324 [2023-09-25T06:18:00.601Z] ---> 83d0ebd5ac60 [2023-09-25T06:18:00.601Z] Step 21/23 : LABEL arch=amd64 [2023-09-25T06:18:00.859Z] ---> Running in f41d9c78dd93 [2023-09-25T06:18:00.859Z] Removing intermediate container f41d9c78dd93 [2023-09-25T06:18:00.859Z] ---> ccdc0f03b635 [2023-09-25T06:18:00.859Z] Step 22/23 : LABEL git_sha=cdfa4a01a22cda8a527a63f18066aded9d49973e [2023-09-25T06:18:00.859Z] ---> Running in 312e219fc036 [2023-09-25T06:18:00.859Z] Removing intermediate container 312e219fc036 [2023-09-25T06:18:00.859Z] ---> 0f932301a241 [2023-09-25T06:18:00.859Z] Step 23/23 : LABEL version=0.0.0 [2023-09-25T06:18:00.859Z] ---> Running in ce2049254fb8 [2023-09-25T06:18:00.859Z] Removing intermediate container ce2049254fb8 [2023-09-25T06:18:00.859Z] ---> 9eae79e79321 [2023-09-25T06:18:00.859Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T06:18:01.119Z] Successfully built 9eae79e79321 [2023-09-25T06:18:01.119Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:18:01.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T06:18:01.537Z] [2023-09-25T06:18:01.537Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:18:01.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T06:18:01.860Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-25T06:18:01.860Z] 5eb5b503b376: Pulling fs layer [2023-09-25T06:18:01.860Z] 5c69ac0246d0: Pulling fs layer [2023-09-25T06:18:01.860Z] ec43610c2a17: Pulling fs layer [2023-09-25T06:18:01.860Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-25T06:18:01.860Z] 33b1e0a273af: Pulling fs layer [2023-09-25T06:18:01.860Z] 5d3b04190fa2: Pulling fs layer [2023-09-25T06:18:01.860Z] 2f39f015ded8: Pulling fs layer [2023-09-25T06:18:01.860Z] 3a2ae6a8a46f: Waiting [2023-09-25T06:18:01.860Z] 5d3b04190fa2: Waiting [2023-09-25T06:18:01.860Z] 33b1e0a273af: Waiting [2023-09-25T06:18:01.860Z] 2f39f015ded8: Waiting [2023-09-25T06:18:01.860Z] 5c69ac0246d0: Verifying Checksum [2023-09-25T06:18:01.860Z] 5c69ac0246d0: Download complete [2023-09-25T06:18:01.860Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-25T06:18:01.860Z] 3a2ae6a8a46f: Download complete [2023-09-25T06:18:01.860Z] 33b1e0a273af: Verifying Checksum [2023-09-25T06:18:01.860Z] 33b1e0a273af: Download complete [2023-09-25T06:18:01.860Z] ec43610c2a17: Verifying Checksum [2023-09-25T06:18:01.860Z] ec43610c2a17: Download complete [2023-09-25T06:18:01.860Z] 5d3b04190fa2: Verifying Checksum [2023-09-25T06:18:01.860Z] 5d3b04190fa2: Download complete [2023-09-25T06:18:02.120Z] 5eb5b503b376: Verifying Checksum [2023-09-25T06:18:02.120Z] 5eb5b503b376: Download complete [2023-09-25T06:18:02.687Z] 2f39f015ded8: Download complete [2023-09-25T06:18:03.254Z] 5eb5b503b376: Pull complete [2023-09-25T06:18:03.254Z] 5c69ac0246d0: Pull complete [2023-09-25T06:18:03.513Z] ec43610c2a17: Pull complete [2023-09-25T06:18:03.772Z] 3a2ae6a8a46f: Pull complete [2023-09-25T06:18:03.772Z] 33b1e0a273af: Pull complete [2023-09-25T06:18:04.031Z] 5d3b04190fa2: Pull complete [2023-09-25T06:18:08.216Z] 2f39f015ded8: Pull complete [2023-09-25T06:18:08.216Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-25T06:18:08.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T06:18:08.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:18:08.308Z] prd-ubuntu20.04-docker-8c-8g-7797 does not seem to be running inside a container [2023-09-25T06:18:08.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T06:18:09.611Z] $ docker top 795025fe5738bc907680059083f42647e83300cbcdcf7cdf5816d0df179bc19b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:18:09.975Z] ---> job-cost.sh [2023-09-25T06:18:09.975Z] lf-activate-venv: SKIPPING [2023-09-25T06:18:09.975Z] INFO: No Stack... [2023-09-25T06:18:10.233Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T06:18:10.800Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T06:18:11.089Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/cost.csv [2023-09-25T06:18:11.089Z] + cut -d, -f6 [Pipeline] lock [2023-09-25T06:18:11.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-6-stack-cost] [2023-09-25T06:18:11.111Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-6-stack-cost] did not exist. Created. [2023-09-25T06:18:11.111Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T06:18:11.414Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-25T06:18:11.449Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T06:18:11.456Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T06:18:11.480Z] $ docker stop --time=1 795025fe5738bc907680059083f42647e83300cbcdcf7cdf5816d0df179bc19b [2023-09-25T06:18:12.628Z] $ docker rm -f --volumes 795025fe5738bc907680059083f42647e83300cbcdcf7cdf5816d0df179bc19b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T06:18:12.945Z] provisioning config files... [2023-09-25T06:18:12.971Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config13620873713531638103tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:18:13.319Z] ---> docker-login.sh [2023-09-25T06:18:13.319Z] nexus3.edgexfoundry.org:10001 [2023-09-25T06:18:13.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:18:13.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:18:13.857Z] Configure a credential helper to remove this warning. See [2023-09-25T06:18:13.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:18:13.857Z] [2023-09-25T06:18:13.857Z] Login Succeeded [2023-09-25T06:18:13.857Z] nexus3.edgexfoundry.org:10002 [2023-09-25T06:18:14.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:18:14.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:18:14.127Z] Configure a credential helper to remove this warning. See [2023-09-25T06:18:14.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:18:14.127Z] [2023-09-25T06:18:14.127Z] Login Succeeded [2023-09-25T06:18:14.127Z] nexus3.edgexfoundry.org:10003 [2023-09-25T06:18:14.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:18:14.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:18:14.397Z] Configure a credential helper to remove this warning. See [2023-09-25T06:18:14.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:18:14.397Z] [2023-09-25T06:18:14.397Z] Login Succeeded [2023-09-25T06:18:14.397Z] nexus3.edgexfoundry.org:10004 [2023-09-25T06:18:14.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:18:14.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:18:14.934Z] Configure a credential helper to remove this warning. See [2023-09-25T06:18:14.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:18:14.934Z] [2023-09-25T06:18:14.934Z] Login Succeeded [2023-09-25T06:18:14.934Z] docker.io [2023-09-25T06:18:14.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T06:18:15.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T06:18:15.203Z] Configure a credential helper to remove this warning. See [2023-09-25T06:18:15.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T06:18:15.204Z] [2023-09-25T06:18:15.204Z] Login Succeeded [2023-09-25T06:18:15.204Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T06:18:15.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T06:18:15.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T06:18:15.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T06:18:15.484Z] ========================================================= [2023-09-25T06:18:15.484Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-25T06:18:15.484Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:18:15.822Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-25T06:18:16.090Z] Sending build context to Docker daemon 6.063MB [2023-09-25T06:18:16.090Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T06:18:16.090Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-25T06:18:16.359Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-25T06:18:16.359Z] 9fda8d8052c6: Pulling fs layer [2023-09-25T06:18:16.359Z] 5d54e960e981: Pulling fs layer [2023-09-25T06:18:16.359Z] c4a7e357bf2a: Pulling fs layer [2023-09-25T06:18:16.359Z] f0e02332f6b5: Pulling fs layer [2023-09-25T06:18:16.359Z] cefa15bbcfad: Pulling fs layer [2023-09-25T06:18:16.359Z] 17808c966233: Pulling fs layer [2023-09-25T06:18:16.359Z] f4c1fc716caa: Pulling fs layer [2023-09-25T06:18:16.359Z] f0e02332f6b5: Waiting [2023-09-25T06:18:16.359Z] cefa15bbcfad: Waiting [2023-09-25T06:18:16.359Z] 17808c966233: Waiting [2023-09-25T06:18:16.359Z] f4c1fc716caa: Waiting [2023-09-25T06:18:16.359Z] 5d54e960e981: Verifying Checksum [2023-09-25T06:18:16.359Z] 5d54e960e981: Download complete [2023-09-25T06:18:16.359Z] f0e02332f6b5: Verifying Checksum [2023-09-25T06:18:16.359Z] f0e02332f6b5: Download complete [2023-09-25T06:18:16.359Z] cefa15bbcfad: Verifying Checksum [2023-09-25T06:18:16.359Z] cefa15bbcfad: Download complete [2023-09-25T06:18:16.359Z] 9fda8d8052c6: Verifying Checksum [2023-09-25T06:18:16.359Z] 9fda8d8052c6: Download complete [2023-09-25T06:18:16.947Z] f4c1fc716caa: Verifying Checksum [2023-09-25T06:18:16.947Z] f4c1fc716caa: Download complete [2023-09-25T06:18:20.155Z] 9fda8d8052c6: Pull complete [2023-09-25T06:18:20.425Z] 5d54e960e981: Pull complete [2023-09-25T06:18:20.425Z] c4a7e357bf2a: Verifying Checksum [2023-09-25T06:18:20.425Z] c4a7e357bf2a: Download complete [2023-09-25T06:18:21.388Z] 17808c966233: Verifying Checksum [2023-09-25T06:18:21.388Z] 17808c966233: Download complete [2023-09-25T06:18:33.730Z] c4a7e357bf2a: Pull complete [2023-09-25T06:18:33.730Z] f0e02332f6b5: Pull complete [2023-09-25T06:18:33.730Z] cefa15bbcfad: Pull complete [2023-09-25T06:18:40.397Z] 17808c966233: Pull complete [2023-09-25T06:18:41.819Z] f4c1fc716caa: Pull complete [2023-09-25T06:18:41.819Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-25T06:18:41.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-25T06:18:41.819Z] ---> ea914061e18c [2023-09-25T06:18:41.819Z] Step 3/10 : ARG MAKE=make build [2023-09-25T06:18:43.236Z] ---> Running in 7abe55d48f28 [2023-09-25T06:18:43.504Z] Removing intermediate container 7abe55d48f28 [2023-09-25T06:18:43.504Z] ---> b8f05d720035 [2023-09-25T06:18:43.504Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-25T06:18:43.780Z] ---> Running in a188617042d1 [2023-09-25T06:18:44.049Z] Removing intermediate container a188617042d1 [2023-09-25T06:18:44.049Z] ---> ad4684b54ee8 [2023-09-25T06:18:44.049Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-25T06:18:44.049Z] ---> Running in 3ed31a0c7b09 [2023-09-25T06:18:47.382Z] Removing intermediate container 3ed31a0c7b09 [2023-09-25T06:18:47.382Z] ---> 72562f314332 [2023-09-25T06:18:47.382Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-25T06:18:47.382Z] ---> Running in 4caf4b0f1bb5 [2023-09-25T06:18:48.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T06:18:48.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T06:18:49.891Z] OK: 266 MiB in 52 packages [2023-09-25T06:18:50.474Z] Removing intermediate container 4caf4b0f1bb5 [2023-09-25T06:18:50.474Z] ---> 096395368328 [2023-09-25T06:18:50.474Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-25T06:18:51.062Z] ---> 89be005258f0 [2023-09-25T06:18:51.062Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T06:18:51.062Z] ---> Running in 9fbbb62d98c3 [2023-09-25T06:19:58.934Z] Removing intermediate container 9fbbb62d98c3 [2023-09-25T06:19:58.934Z] ---> 82778a763d86 [2023-09-25T06:19:58.934Z] Step 9/10 : COPY . . [2023-09-25T06:19:58.934Z] ---> 8510d9b20216 [2023-09-25T06:19:58.934Z] Step 10/10 : RUN ${MAKE} [2023-09-25T06:19:58.934Z] ---> Running in 97a6f39f77b4 [2023-09-25T06:19:58.934Z] noop [2023-09-25T06:19:58.934Z] Removing intermediate container 97a6f39f77b4 [2023-09-25T06:19:58.934Z] ---> ef5b76612271 [2023-09-25T06:19:58.934Z] Successfully built ef5b76612271 [2023-09-25T06:19:58.934Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:19:59.291Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T06:19:59.291Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:19:59.478Z] prd-ubuntu20.04-docker-arm64-4c-16g-7798 does not seem to be running inside a container [2023-09-25T06:19:59.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-25T06:20:00.690Z] $ docker top cc2ec6c31db5030275a2c2a0471faf32dd56e4532cc7a37635dbb21798b4c9bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T06:20:01.504Z] + go version [2023-09-25T06:20:01.504Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-25T06:20:01.525Z] $ docker stop --time=1 cc2ec6c31db5030275a2c2a0471faf32dd56e4532cc7a37635dbb21798b4c9bf [2023-09-25T06:20:03.153Z] $ docker rm -f --volumes cc2ec6c31db5030275a2c2a0471faf32dd56e4532cc7a37635dbb21798b4c9bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:20:03.712Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T06:20:03.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:20:03.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-7798 does not seem to be running inside a container [2023-09-25T06:20:03.947Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-25T06:20:05.073Z] $ docker top bb8137880d7aad9c0ce790f34d4dcde2fd2fd2a2d4e2a4c62e640669ef3fad54 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T06:20:05.572Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh [2023-09-25T06:20:06.169Z] + make test [2023-09-25T06:20:06.438Z] go test -race -coverprofile=coverage.out ./... [2023-09-25T06:20:38.655Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-25T06:22:15.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-25T06:22:15.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-25T06:22:15.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-25T06:22:15.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-25T06:22:15.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-25T06:22:16.725Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.314s coverage: 27.6% of statements [2023-09-25T06:22:24.926Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.253s coverage: 81.9% of statements [2023-09-25T06:22:33.126Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-25T06:22:33.126Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-25T06:22:34.533Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.424s coverage: 86.0% of statements [2023-09-25T06:22:39.879Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-25T06:22:41.821Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.554s coverage: 71.8% of statements [2023-09-25T06:22:44.407Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.431s coverage: 14.4% of statements [2023-09-25T06:22:44.407Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.880s coverage: 45.9% of statements [2023-09-25T06:22:44.673Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-25T06:22:44.673Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-25T06:22:46.078Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.401s coverage: 68.5% of statements [2023-09-25T06:22:49.421Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.446s coverage: 89.2% of statements [2023-09-25T06:22:49.421Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-25T06:22:50.378Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.224s coverage: 5.5% of statements [2023-09-25T06:22:52.318Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-25T06:22:52.318Z] GO111MODULE=on go vet ./... [2023-09-25T06:24:29.000Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T06:24:29.000Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T06:24:29.000Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T06:24:29.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T06:24:29.035Z] $ docker stop --time=1 bb8137880d7aad9c0ce790f34d4dcde2fd2fd2a2d4e2a4c62e640669ef3fad54 [2023-09-25T06:24:30.938Z] $ docker rm -f --volumes bb8137880d7aad9c0ce790f34d4dcde2fd2fd2a2d4e2a4c62e640669ef3fad54 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T06:24:32.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T06:24:32.549Z] Warning: overwriting stash ‘coverage-report’ [2023-09-25T06:24:33.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T06:24:33.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T06:24:33.777Z] + ls -al . [2023-09-25T06:24:33.777Z] total 300 [2023-09-25T06:24:33.777Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 06:20 . [2023-09-25T06:24:33.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:17 .. [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 25 06:17 .dockerignore [2023-09-25T06:24:33.777Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 06:17 .git [2023-09-25T06:24:33.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 06:17 .github [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 25 06:17 .gitignore [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 25 06:17 .golangci.yml [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 25 06:17 CHANGELOG.md [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 06:17 GOVERNANCE.md [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 25 06:17 Jenkinsfile [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 25 06:17 LICENSE [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 25 06:17 Makefile [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 25 06:17 OWNERS.md [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 25 06:17 README.md [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 06:15 VERSION [2023-09-25T06:24:33.777Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 06:17 bin [2023-09-25T06:24:33.777Z] -rw-r--r-- 1 jenkins jenkins 122488 Sep 25 06:22 coverage.out [2023-09-25T06:24:33.777Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 25 06:17 example [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 25 06:17 go.mod [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 25 06:17 go.sum [2023-09-25T06:24:33.777Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 25 06:17 internal [2023-09-25T06:24:33.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 06:17 openapi [2023-09-25T06:24:33.777Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 25 06:17 pkg [2023-09-25T06:24:33.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 06:17 snap [2023-09-25T06:24:33.777Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 25 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:24:34.113Z] + 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=85ae8cb248a9714bb1627c0ddc1353ce9062c65a --label arch=arm64 --label version=0.0.0 . [2023-09-25T06:24:34.697Z] Sending build context to Docker daemon 6.186MB [2023-09-25T06:24:34.697Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T06:24:34.697Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-25T06:24:34.697Z] ---> ef5b76612271 [2023-09-25T06:24:34.697Z] Step 3/23 : ARG MAKE=make build [2023-09-25T06:24:34.697Z] ---> Running in a323c67c9fda [2023-09-25T06:24:34.964Z] Removing intermediate container a323c67c9fda [2023-09-25T06:24:34.964Z] ---> 300298efc0cf [2023-09-25T06:24:34.964Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-25T06:24:34.964Z] ---> Running in a6cad290efe4 [2023-09-25T06:24:35.233Z] Removing intermediate container a6cad290efe4 [2023-09-25T06:24:35.233Z] ---> 75281bd5eed2 [2023-09-25T06:24:35.233Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-25T06:24:35.500Z] ---> Running in 386dc7a7d781 [2023-09-25T06:24:35.500Z] Removing intermediate container 386dc7a7d781 [2023-09-25T06:24:35.500Z] ---> 20e28498f2c0 [2023-09-25T06:24:35.500Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-25T06:24:35.768Z] ---> Running in a3dd8e2d1639 [2023-09-25T06:24:36.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T06:24:36.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T06:24:38.409Z] OK: 266 MiB in 52 packages [2023-09-25T06:24:39.815Z] Removing intermediate container a3dd8e2d1639 [2023-09-25T06:24:39.815Z] ---> cc9591bbaa79 [2023-09-25T06:24:39.815Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-25T06:24:40.089Z] ---> bf230d4a3414 [2023-09-25T06:24:40.089Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T06:24:40.089Z] ---> Running in de8c016ce351 [2023-09-25T06:24:42.136Z] Removing intermediate container de8c016ce351 [2023-09-25T06:24:42.136Z] ---> 2882cde827b6 [2023-09-25T06:24:42.136Z] Step 9/23 : COPY . . [2023-09-25T06:24:43.578Z] ---> a313c911b6b0 [2023-09-25T06:24:43.578Z] Step 10/23 : RUN ${MAKE} [2023-09-25T06:24:43.578Z] ---> Running in 253614907fe0 [2023-09-25T06:24:44.563Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-25T06:26:36.212Z] Removing intermediate container 253614907fe0 [2023-09-25T06:26:36.212Z] ---> ca4a7b5b1134 [2023-09-25T06:26:36.212Z] Step 11/23 : FROM alpine:3.18 [2023-09-25T06:26:36.212Z] 3.18: Pulling from library/alpine [2023-09-25T06:26:36.212Z] 9fda8d8052c6: Already exists [2023-09-25T06:26:36.212Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T06:26:36.212Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T06:26:36.212Z] ---> f6648c04cd6c [2023-09-25T06:26:36.212Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-25T06:26:36.212Z] ---> Running in 9bc90bf50a67 [2023-09-25T06:26:36.212Z] Removing intermediate container 9bc90bf50a67 [2023-09-25T06:26:36.212Z] ---> c896910b1b24 [2023-09-25T06:26:36.212Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-25T06:26:36.212Z] ---> Running in 872a3cc1c6af [2023-09-25T06:26:36.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T06:26:36.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T06:26:36.212Z] OK: 8 MiB in 15 packages [2023-09-25T06:26:36.212Z] Removing intermediate container 872a3cc1c6af [2023-09-25T06:26:36.212Z] ---> b5f93c01f735 [2023-09-25T06:26:36.212Z] Step 14/23 : WORKDIR / [2023-09-25T06:26:36.212Z] ---> Running in 9bddf63357de [2023-09-25T06:26:36.212Z] Removing intermediate container 9bddf63357de [2023-09-25T06:26:36.212Z] ---> 969fc3d88390 [2023-09-25T06:26:36.212Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-25T06:26:36.212Z] ---> 09ff0e5be9d4 [2023-09-25T06:26:36.212Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-25T06:26:36.212Z] ---> 1d0e0ac70e79 [2023-09-25T06:26:36.212Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-25T06:26:36.212Z] ---> 0f5ee4e47c82 [2023-09-25T06:26:36.212Z] Step 18/23 : EXPOSE 59999 [2023-09-25T06:26:36.212Z] ---> Running in 623d04781d61 [2023-09-25T06:26:36.212Z] Removing intermediate container 623d04781d61 [2023-09-25T06:26:36.212Z] ---> 4e83d1d4db55 [2023-09-25T06:26:36.212Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-25T06:26:36.212Z] ---> Running in ce97d50f5b50 [2023-09-25T06:26:36.212Z] Removing intermediate container ce97d50f5b50 [2023-09-25T06:26:36.212Z] ---> df1acfb1fe75 [2023-09-25T06:26:36.212Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-25T06:26:36.212Z] ---> Running in b1639c5914e6 [2023-09-25T06:26:36.212Z] Removing intermediate container b1639c5914e6 [2023-09-25T06:26:36.212Z] ---> eea3700bc49c [2023-09-25T06:26:36.212Z] Step 21/23 : LABEL arch=arm64 [2023-09-25T06:26:36.212Z] ---> Running in 289367e0e7c6 [2023-09-25T06:26:36.212Z] Removing intermediate container 289367e0e7c6 [2023-09-25T06:26:36.212Z] ---> 17a25b030704 [2023-09-25T06:26:36.212Z] Step 22/23 : LABEL git_sha=85ae8cb248a9714bb1627c0ddc1353ce9062c65a [2023-09-25T06:26:36.212Z] ---> Running in a7964d65617b [2023-09-25T06:26:36.212Z] Removing intermediate container a7964d65617b [2023-09-25T06:26:36.212Z] ---> fc0b1c828213 [2023-09-25T06:26:36.212Z] Step 23/23 : LABEL version=0.0.0 [2023-09-25T06:26:36.212Z] ---> Running in 51b2a1602d2a [2023-09-25T06:26:36.212Z] Removing intermediate container 51b2a1602d2a [2023-09-25T06:26:36.212Z] ---> 8acbe67acaf5 [2023-09-25T06:26:36.212Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T06:26:36.212Z] Successfully built 8acbe67acaf5 [2023-09-25T06:26:36.212Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:26:36.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T06:26:36.645Z] [2023-09-25T06:26:36.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:26:36.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T06:26:36.973Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-25T06:26:36.973Z] 8998bd30e6a1: Pulling fs layer [2023-09-25T06:26:36.973Z] 04944245beec: Pulling fs layer [2023-09-25T06:26:36.973Z] 699f458cf7ca: Pulling fs layer [2023-09-25T06:26:36.973Z] 765212b225bb: Pulling fs layer [2023-09-25T06:26:36.973Z] f23df028b6ca: Pulling fs layer [2023-09-25T06:26:36.973Z] d65c8cfc05b1: Pulling fs layer [2023-09-25T06:26:36.973Z] 2437ff75d9bd: Pulling fs layer [2023-09-25T06:26:36.973Z] f23df028b6ca: Waiting [2023-09-25T06:26:36.973Z] d65c8cfc05b1: Waiting [2023-09-25T06:26:36.973Z] 2437ff75d9bd: Waiting [2023-09-25T06:26:36.973Z] 765212b225bb: Waiting [2023-09-25T06:26:37.240Z] 04944245beec: Verifying Checksum [2023-09-25T06:26:37.240Z] 04944245beec: Download complete [2023-09-25T06:26:37.240Z] 765212b225bb: Verifying Checksum [2023-09-25T06:26:37.240Z] 765212b225bb: Download complete [2023-09-25T06:26:37.240Z] f23df028b6ca: Download complete [2023-09-25T06:26:37.240Z] d65c8cfc05b1: Verifying Checksum [2023-09-25T06:26:37.240Z] d65c8cfc05b1: Download complete [2023-09-25T06:26:37.240Z] 699f458cf7ca: Verifying Checksum [2023-09-25T06:26:37.240Z] 699f458cf7ca: Download complete [2023-09-25T06:26:37.829Z] 8998bd30e6a1: Verifying Checksum [2023-09-25T06:26:37.829Z] 8998bd30e6a1: Download complete [2023-09-25T06:26:39.770Z] 2437ff75d9bd: Verifying Checksum [2023-09-25T06:26:39.770Z] 2437ff75d9bd: Download complete [2023-09-25T06:26:41.710Z] 8998bd30e6a1: Pull complete [2023-09-25T06:26:41.979Z] 04944245beec: Pull complete [2023-09-25T06:26:43.388Z] 699f458cf7ca: Pull complete [2023-09-25T06:26:43.655Z] 765212b225bb: Pull complete [2023-09-25T06:26:44.237Z] f23df028b6ca: Pull complete [2023-09-25T06:26:44.503Z] d65c8cfc05b1: Pull complete [2023-09-25T06:26:59.487Z] 2437ff75d9bd: Pull complete [2023-09-25T06:26:59.487Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-25T06:26:59.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T06:26:59.487Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:26:59.664Z] prd-ubuntu20.04-docker-arm64-4c-16g-7798 does not seem to be running inside a container [2023-09-25T06:26:59.722Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-25T06:27:02.201Z] $ docker top 86f8667956079466df63aabcad3d464bbabf9543eeb1f9417b828cee69e48fec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:27:02.713Z] ---> job-cost.sh [2023-09-25T06:27:02.987Z] lf-activate-venv: SKIPPING [2023-09-25T06:27:02.987Z] INFO: No Stack... [2023-09-25T06:27:03.253Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-25T06:27:04.211Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T06:27:04.528Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2023-09-25T06:27:04.528Z] + cut -d, -f6 [Pipeline] lock [2023-09-25T06:27:04.851Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-6-stack-cost] [2023-09-25T06:27:04.860Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-6-stack-cost] did not exist. Created. [2023-09-25T06:27:04.860Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T06:27:05.195Z] /w/workspace/device-sdk-go/6@tmp/durable-a17d5c66/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-25T06:27:05.793Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-25T06:27:05.818Z] Warning: overwriting stash ‘stack-cost’ [2023-09-25T06:27:05.897Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T06:27:05.903Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T06:27:05.920Z] $ docker stop --time=1 86f8667956079466df63aabcad3d464bbabf9543eeb1f9417b828cee69e48fec [2023-09-25T06:27:07.411Z] $ docker rm -f --volumes 86f8667956079466df63aabcad3d464bbabf9543eeb1f9417b828cee69e48fec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-25T06:27:07.799Z] provisioning config files... [2023-09-25T06:27:07.806Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config2742917403477304490tmp [Pipeline] { [Pipeline] sh [2023-09-25T06:27:08.100Z] + set +x [2023-09-25T06:27:08.100Z] + curl -s https://codecov.io/bash [2023-09-25T06:27:08.100Z] + bash -s -- [2023-09-25T06:27:08.100Z] [2023-09-25T06:27:08.100Z] _____ _ [2023-09-25T06:27:08.100Z] / ____| | | [2023-09-25T06:27:08.100Z] | | ___ __| | ___ ___ _____ __ [2023-09-25T06:27:08.100Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-25T06:27:08.100Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-25T06:27:08.100Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-25T06:27:08.100Z] Bash-1.0.6 [2023-09-25T06:27:08.100Z] [2023-09-25T06:27:08.100Z] [2023-09-25T06:27:08.100Z] ==> git version 2.25.1 found [2023-09-25T06:27:08.100Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-25T06:27:08.100Z] Release-Date: 2020-01-08 [2023-09-25T06:27:08.100Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-25T06:27:08.100Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-25T06:27:08.100Z] ==> Jenkins CI detected. [2023-09-25T06:27:08.100Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-25T06:27:08.100Z] project root: . [2023-09-25T06:27:08.100Z] --> token set from env [2023-09-25T06:27:08.100Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-25T06:27:08.100Z] ==> Running gcov in . (disable via -X gcov) [2023-09-25T06:27:08.100Z] ==> Python coveragepy not found [2023-09-25T06:27:08.100Z] ==> Searching for coverage reports in: [2023-09-25T06:27:08.100Z] + . [2023-09-25T06:27:08.100Z] -> Found 1 reports [2023-09-25T06:27:08.100Z] ==> Detecting git/mercurial file structure [2023-09-25T06:27:08.358Z] ==> Reading reports [2023-09-25T06:27:08.358Z] + ./coverage.out bytes=122488 [2023-09-25T06:27:08.358Z] ==> Appending adjustments [2023-09-25T06:27:08.358Z] https://docs.codecov.io/docs/fixing-reports [2023-09-25T06:27:08.617Z] + Found adjustments [2023-09-25T06:27:08.617Z] ==> Gzipping contents [2023-09-25T06:27:08.617Z] 20K /tmp/codecov.WB61S4.gz [2023-09-25T06:27:08.617Z] ==> Uploading reports [2023-09-25T06:27:08.617Z] url: https://codecov.io [2023-09-25T06:27:08.617Z] query: branch=PR-1515&commit=cdfa4a01a22cda8a527a63f18066aded9d49973e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-25T06:27:08.617Z] -> Pinging Codecov [2023-09-25T06:27:08.617Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1515&commit=cdfa4a01a22cda8a527a63f18066aded9d49973e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-25T06:27:08.617Z] -> Uploading to [2023-09-25T06:27:08.617Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-25/7E55EF52A471D76F132DFD9A03CDDE97/cdfa4a01a22cda8a527a63f18066aded9d49973e/b9dc9f9c-7f73-4ee8-baa8-751db5ea11c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230925T062708Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a522d7d2bb8e65b73047c74575d461a967d8bb5e6c8848fb6e4911181fcf02d0 [2023-09-25T06:27:08.617Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T06:27:08.617Z] Dload Upload Total Spent Left Speed [2023-09-25T06:27:08.876Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16787 0 0 100 16787 0 71434 --:--:-- --:--:-- --:--:-- 71434 [2023-09-25T06:27:08.876Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cdfa4a01a22cda8a527a63f18066aded9d49973e [Pipeline] } [2023-09-25T06:27:08.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-25T06:27:09.596Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives ] [2023-09-25T06:27:09.596Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-25T06:27:09.596Z] total 16 [2023-09-25T06:27:09.596Z] drwxr-xr-x 3 root root 4096 Sep 25 06:18 . [2023-09-25T06:27:09.596Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 25 06:18 .. [2023-09-25T06:27:09.596Z] drwxr-xr-x 2 root root 4096 Sep 25 06:18 cost [2023-09-25T06:27:09.596Z] -rw-r--r-- 1 root root 86 Sep 25 06:18 cost.csv [2023-09-25T06:27:09.596Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-25T06:27:09.596Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-25T06:27:09.596Z] total 16 [2023-09-25T06:27:09.596Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 06:18 . [2023-09-25T06:27:09.596Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 25 06:18 .. [2023-09-25T06:27:09.596Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 25 06:18 cost [2023-09-25T06:27:09.596Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 25 06:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:27:09.882Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:27:10.740Z] ---> package-listing.sh [2023-09-25T06:27:10.740Z] ++ facter osfamily [2023-09-25T06:27:10.740Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-25T06:27:11.000Z] + OS_FAMILY=debian [2023-09-25T06:27:11.000Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-25T06:27:11.000Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-25T06:27:11.000Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-25T06:27:11.000Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-25T06:27:11.000Z] + PACKAGES=/tmp/packages_start.txt [2023-09-25T06:27:11.000Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-25T06:27:11.000Z] + PACKAGES=/tmp/packages_end.txt [2023-09-25T06:27:11.000Z] + case "${OS_FAMILY}" in [2023-09-25T06:27:11.000Z] + dpkg -l [2023-09-25T06:27:11.000Z] + grep '^ii' [2023-09-25T06:27:11.000Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-25T06:27:11.000Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-25T06:27:11.000Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-25T06:27:11.000Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-25T06:27:11.000Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [2023-09-25T06:27:11.000Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [Pipeline] echo [2023-09-25T06:27:11.013Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1515/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-25T06:27:11.291Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T06:27:11.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T06:27:11.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T06:27:11.914Z] prd-ubuntu20.04-docker-8c-8g-7797 does not seem to be running inside a container [2023-09-25T06:27:11.953Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1515/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T06:27:12.141Z] $ docker top b583cf75e38e2fef1e261960bb529793e43a43e5b73d0475f53f448ffd9b2344 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T06:27:12.469Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-25T06:27:12.754Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-25T06:27:13.042Z] + ls /var/log/sa-host [2023-09-25T06:27:13.042Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T06:27:13.111Z] provisioning config files... [2023-09-25T06:27:13.120Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config12295277610648874232tmp [Pipeline] { [Pipeline] echo [2023-09-25T06:27:13.136Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:27:13.419Z] ---> create-netrc.sh [Pipeline] } [2023-09-25T06:27:13.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:27:13.766Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-25T06:27:13.774Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:27:14.056Z] ---> sudo-logs.sh [2023-09-25T06:27:14.056Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-25T06:27:14.083Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:27:14.366Z] ---> job-cost.sh [2023-09-25T06:27:14.366Z] lf-activate-venv: SKIPPING [2023-09-25T06:27:14.366Z] DEBUG: total: 0.2199999988079071 [2023-09-25T06:27:14.366Z] INFO: Retrieving Stack Cost... [2023-09-25T06:27:14.931Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T06:27:15.189Z] INFO: Archiving Costs [Pipeline] echo [2023-09-25T06:27:15.199Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T06:27:15.480Z] ---> logs-deploy.sh [2023-09-25T06:27:15.480Z] lf-activate-venv: SKIPPING [2023-09-25T06:27:15.481Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1515/6 [2023-09-25T06:27:15.481Z] INFO: archiving workspace using pattern(s): [2023-09-25T06:27:16.414Z] Archives upload complete. [2023-09-25T06:27:16.414Z] INFO: archiving logs to Nexus