Pull request #1505 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0fac076833715bac4cccb4d13cbf2498f79ff690+a3c91960d92e52cbdab9fb2db5fec403345ab315 (1d5491c44dbc6de8162f39e8b55e3f2fe1a5c6e9) 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-ssh3348351288516319616.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh2039276880944234279.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1011177812369811289.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1128936598974518006.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16500349981159503573.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4409316886735491090.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5418 in /w/workspace/gexfoundry_device-sdk-go_PR-1505 [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-1505 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1505/head:refs/remotes/origin/PR-1505 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a3c91960d92e52cbdab9fb2db5fec403345ab315 into PR head commit 0fac076833715bac4cccb4d13cbf2498f79ff690 Merge succeeded, producing 0fac076833715bac4cccb4d13cbf2498f79ff690 Checking out Revision 0fac076833715bac4cccb4d13cbf2498f79ff690 (PR-1505) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-06T04:10:54.214Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-06T04:10:54.382Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo > git config core.sparsecheckout # timeout=10 > git checkout -f 0fac076833715bac4cccb4d13cbf2498f79ff690 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a3c91960d92e52cbdab9fb2db5fec403345ab315 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fac076833715bac4cccb4d13cbf2498f79ff690 # timeout=10 [2023-09-06T04:10:54.467Z] ========================================================= [2023-09-06T04:10:54.467Z] EdgeX Global Pipelines Version Info [2023-09-06T04:10:54.467Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:10:55.198Z] ------------------- [2023-09-06T04:10:55.198Z] stable info: [2023-09-06T04:10:55.198Z] ------------------- [2023-09-06T04:10:55.198Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-06T04:10:55.198Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T04:10:55.198Z] Message: update stable to v1.0.253 [2023-09-06T04:10:55.770Z] ------------------- [2023-09-06T04:10:55.770Z] experimental info: [2023-09-06T04:10:55.770Z] ------------------- [2023-09-06T04:10:55.770Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-06T04:10:55.770Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T04:10:55.770Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-06T04:10:56.055Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-06T04:10:56.093Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-06T04:10:56.135Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-06T04:10:56.174Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-06T04:10:56.229Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-06T04:10:56.269Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-06T04:10:56.305Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-06T04:10:56.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-06T04:10:56.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-06T04:10:56.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-06T04:10:56.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-06T04:10:56.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-06T04:10:56.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-06T04:10:56.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-06T04:10:56.620Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-06T04:10:56.660Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T04:10:56.700Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T04:10:56.737Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T04:10:56.777Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-06T04:10:56.812Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-06T04:10:56.852Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-06T04:10:56.888Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-06T04:10:56.923Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-06T04:10:56.963Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-06T04:10:56.999Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-06T04:10:57.034Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-06T04:10:57.070Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-06T04:10:57.108Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1505 [Pipeline] echo [2023-09-06T04:10:57.144Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1505 [Pipeline] echo [2023-09-06T04:10:57.182Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1505 [Pipeline] echo [2023-09-06T04:10:57.222Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fac076833715bac4cccb4d13cbf2498f79ff690 [Pipeline] echo [2023-09-06T04:10:57.258Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fac076 [Pipeline] echo [2023-09-06T04:10:57.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T04:10:57.410Z] provisioning config files... [2023-09-06T04:10:57.425Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp/config8819658574525833989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:10:57.775Z] ---> docker-login.sh [2023-09-06T04:10:57.775Z] nexus3.edgexfoundry.org:10001 [2023-09-06T04:10:58.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:10:58.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:10:58.037Z] Configure a credential helper to remove this warning. See [2023-09-06T04:10:58.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:10:58.037Z] [2023-09-06T04:10:58.037Z] Login Succeeded [2023-09-06T04:10:58.037Z] nexus3.edgexfoundry.org:10002 [2023-09-06T04:10:58.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:10:58.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:10:58.297Z] Configure a credential helper to remove this warning. See [2023-09-06T04:10:58.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:10:58.297Z] [2023-09-06T04:10:58.297Z] Login Succeeded [2023-09-06T04:10:58.297Z] nexus3.edgexfoundry.org:10003 [2023-09-06T04:10:58.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:10:58.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:10:58.297Z] Configure a credential helper to remove this warning. See [2023-09-06T04:10:58.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:10:58.297Z] [2023-09-06T04:10:58.297Z] Login Succeeded [2023-09-06T04:10:58.297Z] nexus3.edgexfoundry.org:10004 [2023-09-06T04:10:58.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:10:58.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:10:58.558Z] Configure a credential helper to remove this warning. See [2023-09-06T04:10:58.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:10:58.558Z] [2023-09-06T04:10:58.558Z] Login Succeeded [2023-09-06T04:10:58.558Z] docker.io [2023-09-06T04:10:58.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:10:58.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:10:58.818Z] Configure a credential helper to remove this warning. See [2023-09-06T04:10:58.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:10:58.818Z] [2023-09-06T04:10:58.818Z] Login Succeeded [2023-09-06T04:10:58.818Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T04:10:58.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-06T04:10:59.449Z] + git rev-list -1 --merges 0fac076833715bac4cccb4d13cbf2498f79ff690~1..0fac076833715bac4cccb4d13cbf2498f79ff690 [Pipeline] echo [2023-09-06T04:10:59.510Z] -----------> git rev-list -1 --merges 0fac076833715bac4cccb4d13cbf2498f79ff690~1..0fac076833715bac4cccb4d13cbf2498f79ff690 0fac076833715bac4cccb4d13cbf2498f79ff690 [false] [Pipeline] sh [2023-09-06T04:10:59.815Z] + git log --format=format:%s -1 0fac076833715bac4cccb4d13cbf2498f79ff690 [Pipeline] echo [2023-09-06T04:10:59.846Z] ========================================================= [2023-09-06T04:10:59.846Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-06T04:10:59.846Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T04:11:00.268Z] + git log --format=format:%s -1 0fac076833715bac4cccb4d13cbf2498f79ff690 [Pipeline] echo [2023-09-06T04:11:00.303Z] [semverPrep] GIT_COMMIT: 0fac076833715bac4cccb4d13cbf2498f79ff690, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-09-06T04:11:00.335Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-06T04:11:00.731Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T04:11:00.732Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-06T04:11:00.732Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-06T04:11:00.732Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-06T04:11:00.732Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-06T04:11:00.732Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-06T04:11:00.732Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:11:01.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T04:11:01.226Z] [2023-09-06T04:11:01.226Z] 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-06T04:11:01.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T04:11:01.599Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-06T04:11:01.599Z] b85a868b505f: Pulling fs layer [2023-09-06T04:11:01.599Z] e2be974225ed: Pulling fs layer [2023-09-06T04:11:01.599Z] 339a4e72a1f5: Pulling fs layer [2023-09-06T04:11:01.599Z] 988bab9f4d93: Pulling fs layer [2023-09-06T04:11:01.599Z] 1469e6f7b9e6: Pulling fs layer [2023-09-06T04:11:01.599Z] eaf3925da568: Pulling fs layer [2023-09-06T04:11:01.599Z] bab4dde63d76: Pulling fs layer [2023-09-06T04:11:01.599Z] bde34c3a00c8: Pulling fs layer [2023-09-06T04:11:01.599Z] b352a97aabf1: Pulling fs layer [2023-09-06T04:11:01.599Z] 4872d77fe225: Pulling fs layer [2023-09-06T04:11:01.599Z] 5851b861e8e6: Pulling fs layer [2023-09-06T04:11:01.599Z] 988bab9f4d93: Waiting [2023-09-06T04:11:01.599Z] 1469e6f7b9e6: Waiting [2023-09-06T04:11:01.599Z] eaf3925da568: Waiting [2023-09-06T04:11:01.599Z] bab4dde63d76: Waiting [2023-09-06T04:11:01.599Z] 5851b861e8e6: Waiting [2023-09-06T04:11:01.599Z] 4872d77fe225: Waiting [2023-09-06T04:11:01.599Z] b352a97aabf1: Waiting [2023-09-06T04:11:01.599Z] bde34c3a00c8: Waiting [2023-09-06T04:11:01.599Z] e2be974225ed: Download complete [2023-09-06T04:11:01.599Z] 988bab9f4d93: Verifying Checksum [2023-09-06T04:11:01.599Z] 988bab9f4d93: Download complete [2023-09-06T04:11:01.858Z] 1469e6f7b9e6: Verifying Checksum [2023-09-06T04:11:01.858Z] 1469e6f7b9e6: Download complete [2023-09-06T04:11:01.858Z] 339a4e72a1f5: Verifying Checksum [2023-09-06T04:11:01.858Z] 339a4e72a1f5: Download complete [2023-09-06T04:11:01.858Z] eaf3925da568: Verifying Checksum [2023-09-06T04:11:01.858Z] eaf3925da568: Download complete [2023-09-06T04:11:01.858Z] bde34c3a00c8: Download complete [2023-09-06T04:11:01.858Z] b352a97aabf1: Verifying Checksum [2023-09-06T04:11:01.858Z] b352a97aabf1: Download complete [2023-09-06T04:11:01.858Z] 4872d77fe225: Download complete [2023-09-06T04:11:01.858Z] 5851b861e8e6: Verifying Checksum [2023-09-06T04:11:01.858Z] 5851b861e8e6: Download complete [2023-09-06T04:11:01.858Z] b85a868b505f: Verifying Checksum [2023-09-06T04:11:01.858Z] b85a868b505f: Download complete [2023-09-06T04:11:02.132Z] bab4dde63d76: Verifying Checksum [2023-09-06T04:11:02.132Z] bab4dde63d76: Download complete [2023-09-06T04:11:03.513Z] b85a868b505f: Pull complete [2023-09-06T04:11:03.513Z] e2be974225ed: Pull complete [2023-09-06T04:11:03.772Z] 339a4e72a1f5: Pull complete [2023-09-06T04:11:04.045Z] 988bab9f4d93: Pull complete [2023-09-06T04:11:04.320Z] 1469e6f7b9e6: Pull complete [2023-09-06T04:11:04.320Z] eaf3925da568: Pull complete [2023-09-06T04:11:06.248Z] bab4dde63d76: Pull complete [2023-09-06T04:11:06.248Z] bde34c3a00c8: Pull complete [2023-09-06T04:11:06.248Z] b352a97aabf1: Pull complete [2023-09-06T04:11:06.248Z] 4872d77fe225: Pull complete [2023-09-06T04:11:06.248Z] 5851b861e8e6: Pull complete [2023-09-06T04:11:06.248Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-06T04:11:06.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T04:11:06.248Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:11:06.489Z] prd-ubuntu20.04-docker-8c-8g-5418 does not seem to be running inside a container [2023-09-06T04:11:06.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1505 -v /w/workspace/gexfoundry_device-sdk-go_PR-1505:/w/workspace/gexfoundry_device-sdk-go_PR-1505:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1505@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-06T04:11:08.544Z] $ docker top 6fa16f3bc15a89b0fe345af3f3a454ae29a639d2e604722353181dcb3ea9971e -eo pid,comm [2023-09-06T04:11:08.603Z] 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-06T04:11:08.603Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T04:11:08.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T04:11:08.729Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T04:11:08.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T04:11:08.837Z] $ docker exec 6fa16f3bc15a89b0fe345af3f3a454ae29a639d2e604722353181dcb3ea9971e ssh-agent [2023-09-06T04:11:08.942Z] SSH_AUTH_SOCK=/tmp/ssh-oxFcYUAIAk3h/agent.32 [2023-09-06T04:11:08.942Z] SSH_AGENT_PID=38 [2023-09-06T04:11:08.948Z] Running ssh-add (command line suppressed) [2023-09-06T04:11:09.048Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp/private_key_16327015674993760892.key (/w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp/private_key_16327015674993760892.key) [2023-09-06T04:11:09.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T04:11:09.393Z] + git tag --points-at HEAD [Pipeline] } [2023-09-06T04:11:09.424Z] $ docker exec --env ******** --env ******** 6fa16f3bc15a89b0fe345af3f3a454ae29a639d2e604722353181dcb3ea9971e ssh-agent -k [2023-09-06T04:11:09.529Z] unset SSH_AUTH_SOCK; [2023-09-06T04:11:09.529Z] unset SSH_AGENT_PID; [2023-09-06T04:11:09.529Z] echo Agent pid 38 killed; [2023-09-06T04:11:09.539Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-06T04:11:09.635Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T04:11:09.635Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T04:11:09.741Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T04:11:09.745Z] $ docker exec 6fa16f3bc15a89b0fe345af3f3a454ae29a639d2e604722353181dcb3ea9971e ssh-agent [2023-09-06T04:11:09.849Z] SSH_AUTH_SOCK=/tmp/ssh-WTi7ktJ41Aup/agent.70 [2023-09-06T04:11:09.849Z] SSH_AGENT_PID=76 [2023-09-06T04:11:09.854Z] Running ssh-add (command line suppressed) [2023-09-06T04:11:09.939Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp/private_key_1655115577004588403.key (/w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp/private_key_1655115577004588403.key) [2023-09-06T04:11:09.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T04:11:10.274Z] + git semver init [2023-09-06T04:11:10.533Z] 2023-09-06 04:11:10,444 [run_init] DEBUG init version:0.0.0 force:False [2023-09-06T04:11:10.533Z] 2023-09-06 04:11:10,445 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1505/.semver [2023-09-06T04:11:10.533Z] 2023-09-06 04:11:10,445 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1505/.semver [2023-09-06T04:11:10.533Z] 2023-09-06 04:11:10,446 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1505/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1505, universal_newlines=False, shell=None, istream=None) [2023-09-06T04:11:11.470Z] 2023-09-06 04:11:11,361 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1505/.git/info/exclude [2023-09-06T04:11:11.471Z] 2023-09-06 04:11:11,362 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1505/.semver/PR-1505 with force:False [2023-09-06T04:11:11.471Z] 2023-09-06 04:11:11,362 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1505/.semver/PR-1505 [2023-09-06T04:11:11.471Z] 2023-09-06 04:11:11,366 [execute] INFO git cat-file --batch-check [2023-09-06T04:11:11.471Z] 2023-09-06 04:11:11,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1505/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T04:11:11.471Z] 2023-09-06 04:11:11,371 [execute] INFO git cat-file --batch [2023-09-06T04:11:11.471Z] 2023-09-06 04:11:11,372 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1505/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T04:11:11.471Z] 2023-09-06 04:11:11,376 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1505/.semver/PR-1505 [2023-09-06T04:11:11.471Z] 0.0.0 [Pipeline] } [2023-09-06T04:11:11.498Z] $ docker exec --env ******** --env ******** 6fa16f3bc15a89b0fe345af3f3a454ae29a639d2e604722353181dcb3ea9971e ssh-agent -k [2023-09-06T04:11:11.604Z] unset SSH_AUTH_SOCK; [2023-09-06T04:11:11.604Z] unset SSH_AGENT_PID; [2023-09-06T04:11:11.605Z] echo Agent pid 76 killed; [2023-09-06T04:11:11.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T04:11:12.054Z] + git semver [Pipeline] } [2023-09-06T04:11:12.340Z] $ docker stop --time=1 6fa16f3bc15a89b0fe345af3f3a454ae29a639d2e604722353181dcb3ea9971e [2023-09-06T04:11:13.620Z] $ docker rm -f --volumes 6fa16f3bc15a89b0fe345af3f3a454ae29a639d2e604722353181dcb3ea9971e [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T04:11:14.016Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-06T04:11:14.289Z] Stashed 1 file(s) [Pipeline] echo [2023-09-06T04:11:14.305Z] [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-06T04:11:14.896Z] provisioning config files... [2023-09-06T04:11:14.906Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp/config4375225306989443674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:11:15.255Z] ---> docker-login.sh [2023-09-06T04:11:15.256Z] nexus3.edgexfoundry.org:10001 [2023-09-06T04:11:15.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:11:15.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:11:15.256Z] Configure a credential helper to remove this warning. See [2023-09-06T04:11:15.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:11:15.256Z] [2023-09-06T04:11:15.256Z] Login Succeeded [2023-09-06T04:11:15.256Z] nexus3.edgexfoundry.org:10002 [2023-09-06T04:11:15.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:11:15.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:11:15.256Z] Configure a credential helper to remove this warning. See [2023-09-06T04:11:15.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:11:15.256Z] [2023-09-06T04:11:15.256Z] Login Succeeded [2023-09-06T04:11:15.256Z] nexus3.edgexfoundry.org:10003 [2023-09-06T04:11:15.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:11:15.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:11:15.515Z] Configure a credential helper to remove this warning. See [2023-09-06T04:11:15.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:11:15.515Z] [2023-09-06T04:11:15.515Z] Login Succeeded [2023-09-06T04:11:15.515Z] nexus3.edgexfoundry.org:10004 [2023-09-06T04:11:15.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:11:15.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:11:15.515Z] Configure a credential helper to remove this warning. See [2023-09-06T04:11:15.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:11:15.515Z] [2023-09-06T04:11:15.515Z] Login Succeeded [2023-09-06T04:11:15.515Z] docker.io [2023-09-06T04:11:15.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:11:15.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:11:15.776Z] Configure a credential helper to remove this warning. See [2023-09-06T04:11:15.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:11:15.776Z] [2023-09-06T04:11:15.776Z] Login Succeeded [2023-09-06T04:11:15.776Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T04:11:15.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-06T04:11:15.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T04:11:16.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T04:11:16.083Z] ========================================================= [2023-09-06T04:11:16.083Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-06T04:11:16.083Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:11:16.563Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-06T04:11:16.563Z] Sending build context to Docker daemon 11.1MB [2023-09-06T04:11:16.563Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T04:11:16.563Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-06T04:11:16.563Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-06T04:11:16.563Z] 4db1b89c0bd1: Pulling fs layer [2023-09-06T04:11:16.563Z] 6911f1a30b25: Pulling fs layer [2023-09-06T04:11:16.563Z] e194b8c5c2a9: Pulling fs layer [2023-09-06T04:11:16.563Z] 6863d3e3a2b1: Pulling fs layer [2023-09-06T04:11:16.563Z] ec0bb842ea78: Pulling fs layer [2023-09-06T04:11:16.563Z] 40a00589a448: Pulling fs layer [2023-09-06T04:11:16.563Z] 6c08303d61cc: Pulling fs layer [2023-09-06T04:11:16.563Z] 40a00589a448: Waiting [2023-09-06T04:11:16.563Z] ec0bb842ea78: Waiting [2023-09-06T04:11:16.563Z] 6863d3e3a2b1: Waiting [2023-09-06T04:11:16.563Z] 798269fcf238: Pulling fs layer [2023-09-06T04:11:16.563Z] 6c08303d61cc: Waiting [2023-09-06T04:11:16.563Z] 798269fcf238: Waiting [2023-09-06T04:11:16.563Z] 6911f1a30b25: Verifying Checksum [2023-09-06T04:11:16.563Z] 6911f1a30b25: Download complete [2023-09-06T04:11:16.825Z] 6863d3e3a2b1: Verifying Checksum [2023-09-06T04:11:16.825Z] 6863d3e3a2b1: Download complete [2023-09-06T04:11:16.825Z] ec0bb842ea78: Verifying Checksum [2023-09-06T04:11:16.825Z] ec0bb842ea78: Download complete [2023-09-06T04:11:16.825Z] 4db1b89c0bd1: Download complete [2023-09-06T04:11:16.825Z] 40a00589a448: Verifying Checksum [2023-09-06T04:11:16.825Z] 40a00589a448: Download complete [2023-09-06T04:11:16.825Z] 4db1b89c0bd1: Pull complete [2023-09-06T04:11:17.086Z] 6911f1a30b25: Pull complete [2023-09-06T04:11:17.346Z] 798269fcf238: Verifying Checksum [2023-09-06T04:11:17.346Z] 798269fcf238: Download complete [2023-09-06T04:11:17.346Z] e194b8c5c2a9: Verifying Checksum [2023-09-06T04:11:17.346Z] e194b8c5c2a9: Download complete [2023-09-06T04:11:17.604Z] 6c08303d61cc: Verifying Checksum [2023-09-06T04:11:17.604Z] 6c08303d61cc: Download complete [2023-09-06T04:11:20.888Z] e194b8c5c2a9: Pull complete [2023-09-06T04:11:20.888Z] 6863d3e3a2b1: Pull complete [2023-09-06T04:11:20.888Z] ec0bb842ea78: Pull complete [2023-09-06T04:11:20.888Z] 40a00589a448: Pull complete [2023-09-06T04:11:23.415Z] 6c08303d61cc: Pull complete [2023-09-06T04:11:23.985Z] 798269fcf238: Pull complete [2023-09-06T04:11:23.985Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-06T04:11:23.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-06T04:11:23.985Z] ---> ec979cd7f677 [2023-09-06T04:11:23.985Z] Step 3/10 : ARG MAKE=make build [2023-09-06T04:11:27.274Z] ---> Running in bbb4ea1d67a2 [2023-09-06T04:11:27.274Z] Removing intermediate container bbb4ea1d67a2 [2023-09-06T04:11:27.274Z] ---> eb012518dfa7 [2023-09-06T04:11:27.274Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-06T04:11:27.274Z] ---> Running in 34a65f9e5722 [2023-09-06T04:11:27.274Z] Removing intermediate container 34a65f9e5722 [2023-09-06T04:11:27.274Z] ---> d9f4c78a4f30 [2023-09-06T04:11:27.274Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-06T04:11:27.274Z] ---> Running in 15cb80930ef1 [2023-09-06T04:11:27.536Z] Removing intermediate container 15cb80930ef1 [2023-09-06T04:11:27.536Z] ---> de862003ac52 [2023-09-06T04:11:27.536Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-06T04:11:27.536Z] ---> Running in 9801996fb2a8 [2023-09-06T04:11:27.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T04:11:28.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T04:11:28.312Z] OK: 265 MiB in 53 packages [2023-09-06T04:11:28.571Z] Removing intermediate container 9801996fb2a8 [2023-09-06T04:11:28.571Z] ---> bcdde0c6cb82 [2023-09-06T04:11:28.571Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-06T04:11:28.830Z] ---> bfcd0c032661 [2023-09-06T04:11:28.830Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T04:11:28.830Z] ---> Running in 0fab0bf9fef5 [2023-09-06T04:11:29.711Z] Still waiting to schedule task [2023-09-06T04:11:29.712Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-06T04:12:07.659Z] Removing intermediate container 0fab0bf9fef5 [2023-09-06T04:12:07.659Z] ---> 79e76b229baf [2023-09-06T04:12:07.659Z] Step 9/10 : COPY . . [2023-09-06T04:12:07.659Z] ---> f41dda83f5d7 [2023-09-06T04:12:07.659Z] Step 10/10 : RUN ${MAKE} [2023-09-06T04:12:07.659Z] ---> Running in 8610014013d5 [2023-09-06T04:12:07.659Z] noop [2023-09-06T04:12:07.659Z] Removing intermediate container 8610014013d5 [2023-09-06T04:12:07.659Z] ---> b3ca8f3d7664 [2023-09-06T04:12:07.659Z] Successfully built b3ca8f3d7664 [2023-09-06T04:12:07.659Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:12:08.125Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T04:12:08.125Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:12:08.261Z] prd-ubuntu20.04-docker-8c-8g-5418 does not seem to be running inside a container [2023-09-06T04:12:08.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1505 -v /w/workspace/gexfoundry_device-sdk-go_PR-1505:/w/workspace/gexfoundry_device-sdk-go_PR-1505:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1505@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 ******** ci-base-image-x86_64 cat [2023-09-06T04:12:08.628Z] $ docker top 3f9247a5b23932d2533e484dbc5b664d3e897f78197c08501a4c1629e3381d26 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T04:12:09.010Z] + go version [2023-09-06T04:12:09.010Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-06T04:12:09.045Z] $ docker stop --time=1 3f9247a5b23932d2533e484dbc5b664d3e897f78197c08501a4c1629e3381d26 [2023-09-06T04:12:10.315Z] $ docker rm -f --volumes 3f9247a5b23932d2533e484dbc5b664d3e897f78197c08501a4c1629e3381d26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:12:10.986Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T04:12:10.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:12:11.132Z] prd-ubuntu20.04-docker-8c-8g-5418 does not seem to be running inside a container [2023-09-06T04:12:11.169Z] $ 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-1505 -v /w/workspace/gexfoundry_device-sdk-go_PR-1505:/w/workspace/gexfoundry_device-sdk-go_PR-1505:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1505@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 ******** ci-base-image-x86_64 cat [2023-09-06T04:12:11.495Z] $ docker top a07aa39360e056000be788ec045a35af376eee57220e23bb01b5a05ccdaf1a56 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T04:12:11.889Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1505 [Pipeline] fileExists [Pipeline] sh [2023-09-06T04:12:12.242Z] + make test [2023-09-06T04:12:12.242Z] go test -race -coverprofile=coverage.out ./... [2023-09-06T04:12:18.814Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-06T04:12:31.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-06T04:12:31.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-06T04:12:31.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-06T04:12:31.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-06T04:12:31.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-06T04:12:31.274Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-09-06T04:12:31.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 80.2% of statements [2023-09-06T04:12:32.120Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-06T04:12:32.120Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-06T04:12:32.377Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.071s coverage: 86.0% of statements [2023-09-06T04:12:32.377Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-06T04:12:32.637Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.079s coverage: 71.8% of statements [2023-09-06T04:12:33.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-06T04:12:33.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-06T04:12:33.570Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-06T04:12:35.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.082s coverage: 14.1% of statements [2023-09-06T04:12:35.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.222s coverage: 43.8% of statements [2023-09-06T04:12:35.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.072s coverage: 68.5% of statements [2023-09-06T04:12:35.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.130s coverage: 89.2% of statements [2023-09-06T04:12:35.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements [2023-09-06T04:12:57.539Z] GO111MODULE=on go vet ./... [2023-09-06T04:12:57.797Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T04:12:58.055Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T04:12:58.055Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-06T04:12:58.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T04:12:58.136Z] $ docker stop --time=1 a07aa39360e056000be788ec045a35af376eee57220e23bb01b5a05ccdaf1a56 [2023-09-06T04:13:01.336Z] $ docker rm -f --volumes a07aa39360e056000be788ec045a35af376eee57220e23bb01b5a05ccdaf1a56 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T04:13:01.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T04:13:02.015Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-06T04:13:02.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T04:13:03.034Z] + ls -al . [2023-09-06T04:13:03.034Z] total 304 [2023-09-06T04:13:03.034Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 04:12 . [2023-09-06T04:13:03.034Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:10 .. [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 04:10 .dockerignore [2023-09-06T04:13:03.034Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 04:11 .git [2023-09-06T04:13:03.034Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:10 .github [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 6 04:10 .gitignore [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 04:10 .golangci.yml [2023-09-06T04:13:03.034Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 04:11 .semver [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 6 04:10 CHANGELOG.md [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 04:10 GOVERNANCE.md [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 6 04:10 Jenkinsfile [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 04:10 LICENSE [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 6 04:10 Makefile [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 04:10 OWNERS.md [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 6 04:10 README.md [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 04:11 VERSION [2023-09-06T04:13:03.034Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:10 bin [2023-09-06T04:13:03.034Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 6 04:12 coverage.out [2023-09-06T04:13:03.034Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 04:10 example [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 6 04:10 go.mod [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 6 04:10 go.sum [2023-09-06T04:13:03.034Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:10 internal [2023-09-06T04:13:03.034Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:10 openapi [2023-09-06T04:13:03.034Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 04:10 pkg [2023-09-06T04:13:03.034Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:10 snap [2023-09-06T04:13:03.034Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:13:03.445Z] + 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=0fac076833715bac4cccb4d13cbf2498f79ff690 --label arch=amd64 --label version=0.0.0 . [2023-09-06T04:13:03.445Z] Sending build context to Docker daemon 11.23MB [2023-09-06T04:13:03.445Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T04:13:03.445Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-06T04:13:03.445Z] ---> b3ca8f3d7664 [2023-09-06T04:13:03.445Z] Step 3/23 : ARG MAKE=make build [2023-09-06T04:13:03.702Z] ---> Running in f2d466f6488a [2023-09-06T04:13:03.702Z] Removing intermediate container f2d466f6488a [2023-09-06T04:13:03.702Z] ---> 7d9fbff95e38 [2023-09-06T04:13:03.702Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-06T04:13:03.702Z] ---> Running in fe3c20d96b33 [2023-09-06T04:13:03.961Z] Removing intermediate container fe3c20d96b33 [2023-09-06T04:13:03.961Z] ---> 417bb1bcbda3 [2023-09-06T04:13:03.961Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-06T04:13:03.961Z] ---> Running in 72d0f736a2d3 [2023-09-06T04:13:03.961Z] Removing intermediate container 72d0f736a2d3 [2023-09-06T04:13:03.961Z] ---> 1b11dcfc7ed6 [2023-09-06T04:13:03.961Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-06T04:13:03.961Z] ---> Running in 6663eb31fde8 [2023-09-06T04:13:04.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T04:13:04.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T04:13:04.738Z] OK: 265 MiB in 53 packages [2023-09-06T04:13:04.997Z] Removing intermediate container 6663eb31fde8 [2023-09-06T04:13:04.997Z] ---> 9b6f604b96b9 [2023-09-06T04:13:04.997Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-06T04:13:05.256Z] ---> 726c7605f2e8 [2023-09-06T04:13:05.256Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T04:13:05.256Z] ---> Running in a46c9529b6c8 [2023-09-06T04:13:05.823Z] Removing intermediate container a46c9529b6c8 [2023-09-06T04:13:05.823Z] ---> ac9fd71ce7a3 [2023-09-06T04:13:05.823Z] Step 9/23 : COPY . . [2023-09-06T04:13:06.388Z] ---> 21dd97cc6b08 [2023-09-06T04:13:06.388Z] Step 10/23 : RUN ${MAKE} [2023-09-06T04:13:06.388Z] ---> Running in 17da0635f035 [2023-09-06T04:13:06.628Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5419 in /w/workspace/gexfoundry_device-sdk-go_PR-1505 [Pipeline] { [2023-09-06T04:13:06.644Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] ws [2023-09-06T04:13:06.716Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-09-06T04:13:06.788Z] The recommended git tool is: git [2023-09-06T04:13:11.554Z] using credential edgex-jenkins-ssh [2023-09-06T04:13:11.568Z] Cloning the remote Git repository [2023-09-06T04:13:11.612Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-06T04:13:11.708Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-09-06T04:13:11.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-06T04:13:11.856Z] > git --version # timeout=10 [2023-09-06T04:13:11.883Z] > git --version # 'git version 2.25.1' [2023-09-06T04:13:11.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T04:13:12.028Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T04:13:13.530Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-06T04:13:13.557Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T04:13:14.873Z] Merging remotes/origin/main commit a3c91960d92e52cbdab9fb2db5fec403345ab315 into PR head commit 0fac076833715bac4cccb4d13cbf2498f79ff690 [2023-09-06T04:13:15.168Z] Merge succeeded, producing 0fac076833715bac4cccb4d13cbf2498f79ff690 [2023-09-06T04:13:15.169Z] Checking out Revision 0fac076833715bac4cccb4d13cbf2498f79ff690 (PR-1505) [2023-09-06T04:13:14.346Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-06T04:13:14.382Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-06T04:13:14.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T04:13:14.398Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1505/head:refs/remotes/origin/PR-1505 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-06T04:13:14.893Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T04:13:14.972Z] > git checkout -f 0fac076833715bac4cccb4d13cbf2498f79ff690 # timeout=10 [2023-09-06T04:13:15.072Z] > git remote # timeout=10 [2023-09-06T04:13:15.092Z] > git config --get remote.origin.url # timeout=10 [2023-09-06T04:13:15.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T04:13:15.129Z] > git merge a3c91960d92e52cbdab9fb2db5fec403345ab315 # timeout=10 [2023-09-06T04:13:15.157Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-06T04:13:15.178Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T04:13:15.200Z] > git checkout -f 0fac076833715bac4cccb4d13cbf2498f79ff690 # timeout=10 [2023-09-06T04:13:15.641Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-09-06T04:13:15.689Z] > git --version # timeout=10 [2023-09-06T04:13:15.702Z] > git --version # 'git version 2.25.1' [2023-09-06T04:13:15.719Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T04:13:16.842Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-06T04:13:16.842Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T04:13:16.842Z] Dload Upload Total Spent Left Speed [2023-09-06T04:13:16.842Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-09-06T04:13:17.445Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-06T04:13:17.787Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-06T04:13:17.787Z] + sudo tee /etc/docker/daemon.new [2023-09-06T04:13:17.787Z] { [2023-09-06T04:13:17.787Z] "registry-mirrors": [ [2023-09-06T04:13:17.787Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-06T04:13:17.787Z] ], [2023-09-06T04:13:17.787Z] "bip": "10.250.0.254/24", [2023-09-06T04:13:17.787Z] "hosts": [ [2023-09-06T04:13:17.787Z] "tcp://0.0.0.0:5555", [2023-09-06T04:13:17.787Z] "unix:///var/run/docker.sock" [2023-09-06T04:13:17.787Z] ], [2023-09-06T04:13:17.787Z] "mtu": 1458, [2023-09-06T04:13:17.787Z] "selinux-enabled": true, [2023-09-06T04:13:17.787Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-06T04:13:17.787Z] } [Pipeline] sh [2023-09-06T04:13:18.134Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-06T04:13:18.501Z] + sudo service docker restart [2023-09-06T04:13:24.722Z] Removing intermediate container 17da0635f035 [2023-09-06T04:13:24.722Z] ---> 1014f20589a8 [2023-09-06T04:13:24.722Z] Step 11/23 : FROM alpine:3.17 [2023-09-06T04:13:24.722Z] 3.17: Pulling from library/alpine [2023-09-06T04:13:24.722Z] 9398808236ff: Pulling fs layer [2023-09-06T04:13:24.981Z] 9398808236ff: Verifying Checksum [2023-09-06T04:13:24.981Z] 9398808236ff: Download complete [2023-09-06T04:13:24.981Z] 9398808236ff: Pull complete [2023-09-06T04:13:24.981Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T04:13:24.981Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T04:13:24.981Z] ---> 1e0b8b5322fc [2023-09-06T04:13:24.981Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-06T04:13:25.239Z] ---> Running in a9706a6b6237 [2023-09-06T04:13:25.239Z] Removing intermediate container a9706a6b6237 [2023-09-06T04:13:25.239Z] ---> 2edd42d60e86 [2023-09-06T04:13:25.239Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-06T04:13:25.239Z] ---> Running in c7583fd859b8 [2023-09-06T04:13:25.497Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T04:13:25.497Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T04:13:25.759Z] OK: 7 MiB in 15 packages [2023-09-06T04:13:26.018Z] Removing intermediate container c7583fd859b8 [2023-09-06T04:13:26.018Z] ---> cdffc393ddb8 [2023-09-06T04:13:26.018Z] Step 14/23 : WORKDIR / [2023-09-06T04:13:26.018Z] ---> Running in 70451d10a206 [2023-09-06T04:13:26.276Z] Removing intermediate container 70451d10a206 [2023-09-06T04:13:26.276Z] ---> e4586a9a4de3 [2023-09-06T04:13:26.276Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-06T04:13:26.276Z] ---> 0f5782426e3c [2023-09-06T04:13:26.276Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-06T04:13:27.211Z] ---> 23ce47dc688f [2023-09-06T04:13:27.211Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-06T04:13:27.211Z] ---> 15740cc9cf96 [2023-09-06T04:13:27.211Z] Step 18/23 : EXPOSE 59999 [2023-09-06T04:13:27.211Z] ---> Running in e1612d633345 [2023-09-06T04:13:27.211Z] Removing intermediate container e1612d633345 [2023-09-06T04:13:27.211Z] ---> 2206c8464f20 [2023-09-06T04:13:27.211Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-06T04:13:27.211Z] ---> Running in 21de6e516435 [2023-09-06T04:13:27.211Z] Removing intermediate container 21de6e516435 [2023-09-06T04:13:27.211Z] ---> 016d8ea0e9f5 [2023-09-06T04:13:27.211Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-06T04:13:27.211Z] ---> Running in ce83c93a5ae2 [2023-09-06T04:13:27.471Z] Removing intermediate container ce83c93a5ae2 [2023-09-06T04:13:27.471Z] ---> 2221e876e952 [2023-09-06T04:13:27.471Z] Step 21/23 : LABEL arch=amd64 [2023-09-06T04:13:27.471Z] ---> Running in ebd931d910f0 [2023-09-06T04:13:27.471Z] Removing intermediate container ebd931d910f0 [2023-09-06T04:13:27.471Z] ---> 14715f2b7025 [2023-09-06T04:13:27.471Z] Step 22/23 : LABEL git_sha=0fac076833715bac4cccb4d13cbf2498f79ff690 [2023-09-06T04:13:27.471Z] ---> Running in db544b04af8c [2023-09-06T04:13:27.471Z] Removing intermediate container db544b04af8c [2023-09-06T04:13:27.471Z] ---> 06badf32ff40 [2023-09-06T04:13:27.471Z] Step 23/23 : LABEL version=0.0.0 [2023-09-06T04:13:27.471Z] ---> Running in 79524f65af64 [2023-09-06T04:13:27.731Z] Removing intermediate container 79524f65af64 [2023-09-06T04:13:27.731Z] ---> aa550f9bdd07 [2023-09-06T04:13:27.731Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T04:13:27.731Z] Successfully built aa550f9bdd07 [2023-09-06T04:13:27.731Z] 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-06T04:13:28.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T04:13:28.636Z] [2023-09-06T04:13:28.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:13:29.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T04:13:29.014Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-06T04:13:29.014Z] 5eb5b503b376: Pulling fs layer [2023-09-06T04:13:29.014Z] 5c69ac0246d0: Pulling fs layer [2023-09-06T04:13:29.014Z] ec43610c2a17: Pulling fs layer [2023-09-06T04:13:29.014Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-06T04:13:29.014Z] 33b1e0a273af: Pulling fs layer [2023-09-06T04:13:29.014Z] 5d3b04190fa2: Pulling fs layer [2023-09-06T04:13:29.014Z] 2f39f015ded8: Pulling fs layer [2023-09-06T04:13:29.014Z] 5d3b04190fa2: Waiting [2023-09-06T04:13:29.014Z] 33b1e0a273af: Waiting [2023-09-06T04:13:29.014Z] 3a2ae6a8a46f: Waiting [2023-09-06T04:13:29.014Z] 2f39f015ded8: Waiting [2023-09-06T04:13:29.014Z] 5c69ac0246d0: Verifying Checksum [2023-09-06T04:13:29.014Z] 5c69ac0246d0: Download complete [2023-09-06T04:13:29.014Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-06T04:13:29.014Z] 3a2ae6a8a46f: Download complete [2023-09-06T04:13:29.014Z] 33b1e0a273af: Verifying Checksum [2023-09-06T04:13:29.014Z] 33b1e0a273af: Download complete [2023-09-06T04:13:29.274Z] 5d3b04190fa2: Verifying Checksum [2023-09-06T04:13:29.274Z] 5d3b04190fa2: Download complete [2023-09-06T04:13:29.274Z] ec43610c2a17: Verifying Checksum [2023-09-06T04:13:29.274Z] ec43610c2a17: Download complete [2023-09-06T04:13:29.274Z] 5eb5b503b376: Download complete [2023-09-06T04:13:29.839Z] 2f39f015ded8: Download complete [2023-09-06T04:13:30.405Z] 5eb5b503b376: Pull complete [2023-09-06T04:13:30.405Z] 5c69ac0246d0: Pull complete [2023-09-06T04:13:30.973Z] ec43610c2a17: Pull complete [2023-09-06T04:13:30.973Z] 3a2ae6a8a46f: Pull complete [2023-09-06T04:13:31.230Z] 33b1e0a273af: Pull complete [2023-09-06T04:13:31.230Z] 5d3b04190fa2: Pull complete [2023-09-06T04:13:35.416Z] 2f39f015ded8: Pull complete [2023-09-06T04:13:35.416Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-06T04:13:35.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T04:13:35.416Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:13:35.625Z] prd-ubuntu20.04-docker-8c-8g-5418 does not seem to be running inside a container [2023-09-06T04:13:35.663Z] $ 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-1505 -v /w/workspace/gexfoundry_device-sdk-go_PR-1505:/w/workspace/gexfoundry_device-sdk-go_PR-1505:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1505@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-06T04:13:38.917Z] $ docker top 142a20b76c16bb86302c3aa32a2d68792c7441a3fcc6ce948f8a8e82fdc46fc7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-09-06T04:13:39.188Z] provisioning config files... [2023-09-06T04:13:39.213Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6549612875834603325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:13:39.426Z] ---> job-cost.sh [2023-09-06T04:13:39.426Z] lf-activate-venv: SKIPPING [2023-09-06T04:13:39.426Z] INFO: No Stack... [2023-09-06T04:13:39.595Z] ---> docker-login.sh [2023-09-06T04:13:39.595Z] nexus3.edgexfoundry.org:10001 [2023-09-06T04:13:39.685Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T04:13:39.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:13:39.944Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T04:13:40.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:13:40.132Z] Configure a credential helper to remove this warning. See [2023-09-06T04:13:40.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:13:40.132Z] [2023-09-06T04:13:40.132Z] Login Succeeded [2023-09-06T04:13:40.132Z] nexus3.edgexfoundry.org:10002 [2023-09-06T04:13:40.257Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1505/archives/cost.csv [2023-09-06T04:13:40.257Z] + cut -d, -f6 [Pipeline] lock [2023-09-06T04:13:40.297Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1505-1-stack-cost] [2023-09-06T04:13:40.302Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1505-1-stack-cost] did not exist. Created. [2023-09-06T04:13:40.302Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1505-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-09-06T04:13:40.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:13:40.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:13:40.402Z] Configure a credential helper to remove this warning. See [2023-09-06T04:13:40.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:13:40.402Z] [2023-09-06T04:13:40.402Z] Login Succeeded [2023-09-06T04:13:40.402Z] nexus3.edgexfoundry.org:10003 [Pipeline] sh [2023-09-06T04:13:40.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:13:40.690Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-06T04:13:40.747Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T04:13:40.770Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1505-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T04:13:40.856Z] $ docker stop --time=1 142a20b76c16bb86302c3aa32a2d68792c7441a3fcc6ce948f8a8e82fdc46fc7 [2023-09-06T04:13:40.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:13:40.941Z] Configure a credential helper to remove this warning. See [2023-09-06T04:13:40.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:13:40.941Z] [2023-09-06T04:13:40.941Z] Login Succeeded [2023-09-06T04:13:40.941Z] nexus3.edgexfoundry.org:10004 [2023-09-06T04:13:41.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:13:41.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:13:41.212Z] Configure a credential helper to remove this warning. See [2023-09-06T04:13:41.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:13:41.212Z] [2023-09-06T04:13:41.212Z] Login Succeeded [2023-09-06T04:13:41.212Z] docker.io [2023-09-06T04:13:41.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T04:13:41.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T04:13:41.747Z] Configure a credential helper to remove this warning. See [2023-09-06T04:13:41.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T04:13:41.747Z] [2023-09-06T04:13:41.747Z] Login Succeeded [2023-09-06T04:13:41.747Z] ---> docker-login.sh ends [2023-09-06T04:13:42.013Z] $ docker rm -f --volumes 142a20b76c16bb86302c3aa32a2d68792c7441a3fcc6ce948f8a8e82fdc46fc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-09-06T04:13:42.205Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-09-06T04:13:42.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T04:13:42.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T04:13:42.670Z] ========================================================= [2023-09-06T04:13:42.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-06T04:13:42.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:13:43.267Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-06T04:13:43.557Z] Sending build context to Docker daemon 5.935MB [2023-09-06T04:13:43.557Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T04:13:43.557Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-06T04:13:46.147Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-06T04:13:46.147Z] edb6bdbacee9: Pulling fs layer [2023-09-06T04:13:46.147Z] 5f9638ab2659: Pulling fs layer [2023-09-06T04:13:46.147Z] 8d51d6327a98: Pulling fs layer [2023-09-06T04:13:46.147Z] 8b374f2dd631: Pulling fs layer [2023-09-06T04:13:46.147Z] ec14aa9079de: Pulling fs layer [2023-09-06T04:13:46.147Z] 2f466654f4bb: Pulling fs layer [2023-09-06T04:13:46.147Z] 554e91adad29: Pulling fs layer [2023-09-06T04:13:46.147Z] 2f466654f4bb: Waiting [2023-09-06T04:13:46.147Z] 8b374f2dd631: Waiting [2023-09-06T04:13:46.147Z] ec14aa9079de: Waiting [2023-09-06T04:13:46.147Z] 554e91adad29: Waiting [2023-09-06T04:13:46.147Z] 5f9638ab2659: Verifying Checksum [2023-09-06T04:13:46.147Z] 5f9638ab2659: Download complete [2023-09-06T04:13:46.147Z] 8b374f2dd631: Download complete [2023-09-06T04:13:46.147Z] ec14aa9079de: Verifying Checksum [2023-09-06T04:13:46.147Z] ec14aa9079de: Download complete [2023-09-06T04:13:46.147Z] edb6bdbacee9: Verifying Checksum [2023-09-06T04:13:46.147Z] edb6bdbacee9: Download complete [2023-09-06T04:13:47.123Z] edb6bdbacee9: Pull complete [2023-09-06T04:13:47.395Z] 554e91adad29: Verifying Checksum [2023-09-06T04:13:47.395Z] 554e91adad29: Download complete [2023-09-06T04:13:47.664Z] 5f9638ab2659: Pull complete [2023-09-06T04:13:48.628Z] 2f466654f4bb: Verifying Checksum [2023-09-06T04:13:48.628Z] 2f466654f4bb: Download complete [2023-09-06T04:13:48.628Z] 8d51d6327a98: Verifying Checksum [2023-09-06T04:13:48.628Z] 8d51d6327a98: Download complete [2023-09-06T04:14:00.953Z] 8d51d6327a98: Pull complete [2023-09-06T04:14:01.232Z] 8b374f2dd631: Pull complete [2023-09-06T04:14:01.502Z] ec14aa9079de: Pull complete [2023-09-06T04:14:08.164Z] 2f466654f4bb: Pull complete [2023-09-06T04:14:10.744Z] 554e91adad29: Pull complete [2023-09-06T04:14:10.744Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-06T04:14:10.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-06T04:14:10.744Z] ---> 1e15ea492957 [2023-09-06T04:14:10.745Z] Step 3/10 : ARG MAKE=make build [2023-09-06T04:14:12.152Z] ---> Running in c5e253ac82e4 [2023-09-06T04:14:12.419Z] Removing intermediate container c5e253ac82e4 [2023-09-06T04:14:12.419Z] ---> f0ca93881f54 [2023-09-06T04:14:12.419Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-06T04:14:12.419Z] ---> Running in 532c64eeeb14 [2023-09-06T04:14:12.685Z] Removing intermediate container 532c64eeeb14 [2023-09-06T04:14:12.685Z] ---> a447db089318 [2023-09-06T04:14:12.685Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-06T04:14:12.685Z] ---> Running in 17a0fb3edad8 [2023-09-06T04:14:12.955Z] Removing intermediate container 17a0fb3edad8 [2023-09-06T04:14:12.955Z] ---> 2310407a3c90 [2023-09-06T04:14:12.955Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-06T04:14:13.222Z] ---> Running in 82feb00a4cc6 [2023-09-06T04:14:14.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T04:14:14.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T04:14:15.724Z] OK: 263 MiB in 53 packages [2023-09-06T04:14:16.689Z] Removing intermediate container 82feb00a4cc6 [2023-09-06T04:14:16.689Z] ---> fbe23bbb5ab2 [2023-09-06T04:14:16.689Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-06T04:14:16.964Z] ---> f3f0899a02bf [2023-09-06T04:14:16.964Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T04:14:16.964Z] ---> Running in 55e19571b6df [2023-09-06T04:15:24.868Z] Removing intermediate container 55e19571b6df [2023-09-06T04:15:24.868Z] ---> be12732cd965 [2023-09-06T04:15:24.868Z] Step 9/10 : COPY . . [2023-09-06T04:15:24.868Z] ---> 3fb35b6dfc4f [2023-09-06T04:15:24.868Z] Step 10/10 : RUN ${MAKE} [2023-09-06T04:15:24.868Z] ---> Running in 839836bbc711 [2023-09-06T04:15:24.868Z] noop [2023-09-06T04:15:24.868Z] Removing intermediate container 839836bbc711 [2023-09-06T04:15:24.868Z] ---> 2f23096607f6 [2023-09-06T04:15:24.868Z] Successfully built 2f23096607f6 [2023-09-06T04:15:24.868Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:15:25.328Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T04:15:25.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:15:25.599Z] prd-ubuntu20.04-docker-arm64-4c-16g-5419 does not seem to be running inside a container [2023-09-06T04:15:25.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-09-06T04:15:26.828Z] $ docker top af6741f96fd2cabd8415f74e62f927c36193d0238b95f99aba5fb5d40f473dfc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T04:15:27.700Z] + go version [2023-09-06T04:15:27.700Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-06T04:15:27.735Z] $ docker stop --time=1 af6741f96fd2cabd8415f74e62f927c36193d0238b95f99aba5fb5d40f473dfc [2023-09-06T04:15:29.329Z] $ docker rm -f --volumes af6741f96fd2cabd8415f74e62f927c36193d0238b95f99aba5fb5d40f473dfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:15:30.165Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T04:15:30.165Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:15:30.415Z] prd-ubuntu20.04-docker-arm64-4c-16g-5419 does not seem to be running inside a container [2023-09-06T04:15:30.480Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-09-06T04:15:31.590Z] $ docker top 465ec3b1fca5c415a68d96e42b6e5ca14972e3164b640a672a8f63d7c7233ce8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T04:15:32.139Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-06T04:15:32.782Z] + make test [2023-09-06T04:15:32.782Z] go test -race -coverprofile=coverage.out ./... [2023-09-06T04:16:11.642Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-06T04:18:18.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-06T04:18:18.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-06T04:18:18.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-06T04:18:18.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-06T04:18:18.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-06T04:18:24.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.220s coverage: 27.6% of statements [2023-09-06T04:18:29.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.260s coverage: 80.2% of statements [2023-09-06T04:18:41.547Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-06T04:18:41.547Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-06T04:18:41.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.359s coverage: 86.0% of statements [2023-09-06T04:18:48.204Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-06T04:18:48.204Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.411s coverage: 71.8% of statements [2023-09-06T04:18:51.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.285s coverage: 14.1% of statements [2023-09-06T04:18:54.146Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-06T04:18:54.146Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-06T04:18:54.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.852s coverage: 43.8% of statements [2023-09-06T04:18:54.415Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.477s coverage: 68.5% of statements [2023-09-06T04:18:57.762Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.436s coverage: 89.2% of statements [2023-09-06T04:18:59.167Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-06T04:18:59.167Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.237s coverage: 5.5% of statements [2023-09-06T04:19:00.125Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-06T04:19:00.125Z] GO111MODULE=on go vet ./... [2023-09-06T04:21:21.830Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T04:21:21.830Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T04:21:21.830Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-06T04:21:21.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T04:21:21.893Z] $ docker stop --time=1 465ec3b1fca5c415a68d96e42b6e5ca14972e3164b640a672a8f63d7c7233ce8 [2023-09-06T04:21:25.576Z] $ docker rm -f --volumes 465ec3b1fca5c415a68d96e42b6e5ca14972e3164b640a672a8f63d7c7233ce8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T04:21:27.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T04:21:27.290Z] Warning: overwriting stash ‘coverage-report’ [2023-09-06T04:21:27.787Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T04:21:28.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T04:21:28.705Z] + ls -al . [2023-09-06T04:21:28.705Z] total 300 [2023-09-06T04:21:28.705Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 04:15 . [2023-09-06T04:21:28.705Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:13 .. [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 04:13 .dockerignore [2023-09-06T04:21:28.705Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 04:13 .git [2023-09-06T04:21:28.705Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:13 .github [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 6 04:13 .gitignore [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 04:13 .golangci.yml [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 6 04:13 CHANGELOG.md [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 04:13 GOVERNANCE.md [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 6 04:13 Jenkinsfile [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 04:13 LICENSE [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 6 04:13 Makefile [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 04:13 OWNERS.md [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 6 04:13 README.md [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 04:11 VERSION [2023-09-06T04:21:28.705Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:13 bin [2023-09-06T04:21:28.705Z] -rw-r--r-- 1 jenkins jenkins 120470 Sep 6 04:18 coverage.out [2023-09-06T04:21:28.705Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 04:13 example [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 6 04:13 go.mod [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 6 04:13 go.sum [2023-09-06T04:21:28.705Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:13 internal [2023-09-06T04:21:28.705Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:13 openapi [2023-09-06T04:21:28.705Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 04:13 pkg [2023-09-06T04:21:28.705Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:13 snap [2023-09-06T04:21:28.705Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 04:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:21:29.177Z] + 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=0fac076833715bac4cccb4d13cbf2498f79ff690 --label arch=arm64 --label version=0.0.0 . [2023-09-06T04:21:29.460Z] Sending build context to Docker daemon 6.056MB [2023-09-06T04:21:29.460Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T04:21:29.460Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-06T04:21:29.460Z] ---> 2f23096607f6 [2023-09-06T04:21:29.460Z] Step 3/23 : ARG MAKE=make build [2023-09-06T04:21:29.735Z] ---> Running in 12ee44a8e2e9 [2023-09-06T04:21:30.011Z] Removing intermediate container 12ee44a8e2e9 [2023-09-06T04:21:30.011Z] ---> 3a310f914d16 [2023-09-06T04:21:30.011Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-06T04:21:30.011Z] ---> Running in a983db4deb33 [2023-09-06T04:21:30.283Z] Removing intermediate container a983db4deb33 [2023-09-06T04:21:30.283Z] ---> 5f8f6f05f60f [2023-09-06T04:21:30.283Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-06T04:21:30.575Z] ---> Running in 377f7675b0fa [2023-09-06T04:21:30.888Z] Removing intermediate container 377f7675b0fa [2023-09-06T04:21:30.889Z] ---> d6c5339619c9 [2023-09-06T04:21:30.889Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-06T04:21:31.158Z] ---> Running in a0c5d2672315 [2023-09-06T04:21:32.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T04:21:32.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T04:21:33.666Z] OK: 263 MiB in 53 packages [2023-09-06T04:21:34.626Z] Removing intermediate container a0c5d2672315 [2023-09-06T04:21:34.626Z] ---> a470279128d2 [2023-09-06T04:21:34.626Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-06T04:21:38.876Z] ---> 81fa7d123e4f [2023-09-06T04:21:38.876Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T04:21:38.876Z] ---> Running in befb71fba8cc [2023-09-06T04:21:40.282Z] Removing intermediate container befb71fba8cc [2023-09-06T04:21:40.282Z] ---> 1a4b50c1aff9 [2023-09-06T04:21:40.282Z] Step 9/23 : COPY . . [2023-09-06T04:21:41.697Z] ---> c3bd57187a60 [2023-09-06T04:21:41.697Z] Step 10/23 : RUN ${MAKE} [2023-09-06T04:21:41.697Z] ---> Running in 7cf477f7161f [2023-09-06T04:21:42.281Z] 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-06T04:24:04.040Z] Removing intermediate container 7cf477f7161f [2023-09-06T04:24:04.040Z] ---> 8f6eba5e11a3 [2023-09-06T04:24:04.040Z] Step 11/23 : FROM alpine:3.17 [2023-09-06T04:24:04.040Z] 3.17: Pulling from library/alpine [2023-09-06T04:24:04.040Z] 4060ece20d7a: Pulling fs layer [2023-09-06T04:24:04.040Z] 4060ece20d7a: Verifying Checksum [2023-09-06T04:24:04.040Z] 4060ece20d7a: Download complete [2023-09-06T04:24:04.040Z] 4060ece20d7a: Pull complete [2023-09-06T04:24:04.040Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T04:24:04.040Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T04:24:04.040Z] ---> 8650cd65339b [2023-09-06T04:24:04.040Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-06T04:24:04.040Z] ---> Running in 0fbb3e404936 [2023-09-06T04:24:04.040Z] Removing intermediate container 0fbb3e404936 [2023-09-06T04:24:04.040Z] ---> 756983660e33 [2023-09-06T04:24:04.040Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-06T04:24:04.040Z] ---> Running in 603c300194ff [2023-09-06T04:24:04.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T04:24:04.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T04:24:04.040Z] OK: 7 MiB in 15 packages [2023-09-06T04:24:04.041Z] Removing intermediate container 603c300194ff [2023-09-06T04:24:04.041Z] ---> ab402864c7b8 [2023-09-06T04:24:04.041Z] Step 14/23 : WORKDIR / [2023-09-06T04:24:04.041Z] ---> Running in cdf45c5f2cec [2023-09-06T04:24:04.624Z] Removing intermediate container cdf45c5f2cec [2023-09-06T04:24:04.625Z] ---> 94f4ae61e3fe [2023-09-06T04:24:04.625Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-06T04:24:04.891Z] ---> 3e1569ae8864 [2023-09-06T04:24:04.891Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-06T04:24:06.299Z] ---> 9162ca3e38b5 [2023-09-06T04:24:06.300Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-06T04:24:06.883Z] ---> fde2457cec7b [2023-09-06T04:24:06.883Z] Step 18/23 : EXPOSE 59999 [2023-09-06T04:24:06.883Z] ---> Running in f19330181b0f [2023-09-06T04:24:07.150Z] Removing intermediate container f19330181b0f [2023-09-06T04:24:07.150Z] ---> f138b4911ada [2023-09-06T04:24:07.150Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-06T04:24:07.150Z] ---> Running in 22517ddcf2b7 [2023-09-06T04:24:07.421Z] Removing intermediate container 22517ddcf2b7 [2023-09-06T04:24:07.422Z] ---> 355957d05236 [2023-09-06T04:24:07.422Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-06T04:24:07.688Z] ---> Running in b2289598207d [2023-09-06T04:24:07.955Z] Removing intermediate container b2289598207d [2023-09-06T04:24:07.955Z] ---> 81e09ea19115 [2023-09-06T04:24:07.955Z] Step 21/23 : LABEL arch=arm64 [2023-09-06T04:24:07.955Z] ---> Running in fc20c454a9dc [2023-09-06T04:24:08.222Z] Removing intermediate container fc20c454a9dc [2023-09-06T04:24:08.222Z] ---> 06d19c5ec515 [2023-09-06T04:24:08.222Z] Step 22/23 : LABEL git_sha=0fac076833715bac4cccb4d13cbf2498f79ff690 [2023-09-06T04:24:08.222Z] ---> Running in f683e70ff16d [2023-09-06T04:24:08.489Z] Removing intermediate container f683e70ff16d [2023-09-06T04:24:08.489Z] ---> de1d5046fc53 [2023-09-06T04:24:08.489Z] Step 23/23 : LABEL version=0.0.0 [2023-09-06T04:24:08.761Z] ---> Running in a886e564525b [2023-09-06T04:24:09.028Z] Removing intermediate container a886e564525b [2023-09-06T04:24:09.028Z] ---> f43171ff4d54 [2023-09-06T04:24:09.028Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T04:24:09.028Z] Successfully built f43171ff4d54 [2023-09-06T04:24:09.028Z] 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-06T04:24:09.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T04:24:09.839Z] [2023-09-06T04:24:09.839Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:24:10.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T04:24:10.235Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-06T04:24:10.235Z] 8998bd30e6a1: Pulling fs layer [2023-09-06T04:24:10.235Z] 04944245beec: Pulling fs layer [2023-09-06T04:24:10.235Z] 699f458cf7ca: Pulling fs layer [2023-09-06T04:24:10.235Z] 765212b225bb: Pulling fs layer [2023-09-06T04:24:10.235Z] f23df028b6ca: Pulling fs layer [2023-09-06T04:24:10.235Z] d65c8cfc05b1: Pulling fs layer [2023-09-06T04:24:10.235Z] 2437ff75d9bd: Pulling fs layer [2023-09-06T04:24:10.235Z] 765212b225bb: Waiting [2023-09-06T04:24:10.235Z] f23df028b6ca: Waiting [2023-09-06T04:24:10.235Z] d65c8cfc05b1: Waiting [2023-09-06T04:24:10.235Z] 2437ff75d9bd: Waiting [2023-09-06T04:24:10.503Z] 04944245beec: Verifying Checksum [2023-09-06T04:24:10.503Z] 04944245beec: Download complete [2023-09-06T04:24:10.503Z] 765212b225bb: Verifying Checksum [2023-09-06T04:24:10.503Z] 765212b225bb: Download complete [2023-09-06T04:24:10.503Z] f23df028b6ca: Download complete [2023-09-06T04:24:10.503Z] d65c8cfc05b1: Verifying Checksum [2023-09-06T04:24:10.503Z] d65c8cfc05b1: Download complete [2023-09-06T04:24:10.503Z] 699f458cf7ca: Verifying Checksum [2023-09-06T04:24:10.503Z] 699f458cf7ca: Download complete [2023-09-06T04:24:11.087Z] 8998bd30e6a1: Download complete [2023-09-06T04:24:13.025Z] 2437ff75d9bd: Verifying Checksum [2023-09-06T04:24:13.025Z] 2437ff75d9bd: Download complete [2023-09-06T04:24:14.964Z] 8998bd30e6a1: Pull complete [2023-09-06T04:24:15.232Z] 04944245beec: Pull complete [2023-09-06T04:24:17.810Z] 699f458cf7ca: Pull complete [2023-09-06T04:24:17.810Z] 765212b225bb: Pull complete [2023-09-06T04:24:18.393Z] f23df028b6ca: Pull complete [2023-09-06T04:24:18.660Z] d65c8cfc05b1: Pull complete [2023-09-06T04:24:30.972Z] 2437ff75d9bd: Pull complete [2023-09-06T04:24:30.972Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-06T04:24:30.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T04:24:30.972Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:24:31.301Z] prd-ubuntu20.04-docker-arm64-4c-16g-5419 does not seem to be running inside a container [2023-09-06T04:24:31.366Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-06T04:24:33.983Z] $ docker top c97e98c9469f1d84c8cdfba364c4eb2da93d8e6737d9b586294ec8167246d2fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:24:34.896Z] ---> job-cost.sh [2023-09-06T04:24:34.896Z] lf-activate-venv: SKIPPING [2023-09-06T04:24:34.896Z] INFO: No Stack... [2023-09-06T04:24:35.479Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-06T04:24:36.059Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T04:24:36.717Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-09-06T04:24:36.717Z] + cut -d, -f6 [Pipeline] lock [2023-09-06T04:24:36.791Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1505-1-stack-cost] [2023-09-06T04:24:36.795Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1505-1-stack-cost] did not exist. Created. [2023-09-06T04:24:36.796Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1505-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T04:24:37.523Z] /w/workspace/device-sdk-go/1@tmp/durable-622616b7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-06T04:24:38.198Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-06T04:24:38.231Z] Warning: overwriting stash ‘stack-cost’ [2023-09-06T04:24:38.314Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T04:24:38.329Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1505-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T04:24:38.404Z] $ docker stop --time=1 c97e98c9469f1d84c8cdfba364c4eb2da93d8e6737d9b586294ec8167246d2fb [2023-09-06T04:24:39.922Z] $ docker rm -f --volumes c97e98c9469f1d84c8cdfba364c4eb2da93d8e6737d9b586294ec8167246d2fb [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-06T04:24:40.999Z] provisioning config files... [2023-09-06T04:24:41.006Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp/config15118846734048413047tmp [Pipeline] { [Pipeline] sh [2023-09-06T04:24:41.347Z] + set +x [2023-09-06T04:24:41.347Z] + curl -s https://codecov.io/bash [2023-09-06T04:24:41.347Z] + bash -s -- [2023-09-06T04:24:41.347Z] [2023-09-06T04:24:41.347Z] _____ _ [2023-09-06T04:24:41.347Z] / ____| | | [2023-09-06T04:24:41.347Z] | | ___ __| | ___ ___ _____ __ [2023-09-06T04:24:41.347Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-06T04:24:41.347Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-06T04:24:41.347Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-06T04:24:41.347Z] Bash-1.0.6 [2023-09-06T04:24:41.347Z] [2023-09-06T04:24:41.347Z] [2023-09-06T04:24:41.347Z] ==> git version 2.25.1 found [2023-09-06T04:24:41.347Z] ==> 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-06T04:24:41.347Z] Release-Date: 2020-01-08 [2023-09-06T04:24:41.347Z] 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-06T04:24:41.347Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-06T04:24:41.347Z] ==> Jenkins CI detected. [2023-09-06T04:24:41.347Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1505 [2023-09-06T04:24:41.347Z] project root: . [2023-09-06T04:24:41.347Z] --> token set from env [2023-09-06T04:24:41.347Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-06T04:24:41.347Z] ==> Running gcov in . (disable via -X gcov) [2023-09-06T04:24:41.347Z] ==> Python coveragepy not found [2023-09-06T04:24:41.347Z] ==> Searching for coverage reports in: [2023-09-06T04:24:41.347Z] + . [2023-09-06T04:24:41.347Z] -> Found 1 reports [2023-09-06T04:24:41.347Z] ==> Detecting git/mercurial file structure [2023-09-06T04:24:41.347Z] ==> Reading reports [2023-09-06T04:24:41.347Z] + ./coverage.out bytes=120470 [2023-09-06T04:24:41.347Z] ==> Appending adjustments [2023-09-06T04:24:41.347Z] https://docs.codecov.io/docs/fixing-reports [2023-09-06T04:24:41.913Z] + Found adjustments [2023-09-06T04:24:41.913Z] ==> Gzipping contents [2023-09-06T04:24:41.913Z] 20K /tmp/codecov.7zMxX7.gz [2023-09-06T04:24:41.913Z] ==> Uploading reports [2023-09-06T04:24:41.913Z] url: https://codecov.io [2023-09-06T04:24:41.913Z] query: branch=PR-1505&commit=0fac076833715bac4cccb4d13cbf2498f79ff690&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1505%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1505&job=&cmd_args= [2023-09-06T04:24:41.913Z] -> Pinging Codecov [2023-09-06T04:24:41.913Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1505&commit=0fac076833715bac4cccb4d13cbf2498f79ff690&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1505%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1505&job=&cmd_args= [2023-09-06T04:24:41.913Z] -> Uploading to [2023-09-06T04:24:41.914Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-06/7E55EF52A471D76F132DFD9A03CDDE97/0fac076833715bac4cccb4d13cbf2498f79ff690/e9a3a450-c638-4509-9ae3-90b18fa7c20b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230906T042441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6c95e374b775271e7092567a73c128cee283f32556d3ec1df2b1050510009f57 [2023-09-06T04:24:41.914Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T04:24:41.914Z] Dload Upload Total Spent Left Speed [2023-09-06T04:24:42.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16423 0 0 100 16423 0 84220 --:--:-- --:--:-- --:--:-- 84220 [2023-09-06T04:24:42.172Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0fac076833715bac4cccb4d13cbf2498f79ff690 [Pipeline] } [2023-09-06T04:24:42.204Z] 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-06T04:24:44.103Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1505/archives ] [2023-09-06T04:24:44.103Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1505/archives [2023-09-06T04:24:44.103Z] total 16 [2023-09-06T04:24:44.103Z] drwxr-xr-x 3 root root 4096 Sep 6 04:13 . [2023-09-06T04:24:44.103Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:13 .. [2023-09-06T04:24:44.103Z] drwxr-xr-x 2 root root 4096 Sep 6 04:13 cost [2023-09-06T04:24:44.103Z] -rw-r--r-- 1 root root 86 Sep 6 04:13 cost.csv [2023-09-06T04:24:44.103Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1505/archives [2023-09-06T04:24:44.103Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1505/archives [2023-09-06T04:24:44.103Z] total 16 [2023-09-06T04:24:44.103Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 04:13 . [2023-09-06T04:24:44.103Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:13 .. [2023-09-06T04:24:44.103Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 04:13 cost [2023-09-06T04:24:44.103Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 6 04:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:24:44.485Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:24:45.381Z] ---> package-listing.sh [2023-09-06T04:24:45.381Z] ++ facter osfamily [2023-09-06T04:24:45.381Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-06T04:24:45.381Z] + OS_FAMILY=debian [2023-09-06T04:24:45.381Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1505 [2023-09-06T04:24:45.381Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-06T04:24:45.381Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-06T04:24:45.381Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-06T04:24:45.381Z] + PACKAGES=/tmp/packages_start.txt [2023-09-06T04:24:45.381Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1505 ']' [2023-09-06T04:24:45.381Z] + PACKAGES=/tmp/packages_end.txt [2023-09-06T04:24:45.381Z] + case "${OS_FAMILY}" in [2023-09-06T04:24:45.381Z] + dpkg -l [2023-09-06T04:24:45.640Z] + grep '^ii' [2023-09-06T04:24:45.640Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-06T04:24:45.640Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-06T04:24:45.640Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-06T04:24:45.640Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1505 ']' [2023-09-06T04:24:45.640Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1505/archives/ [2023-09-06T04:24:45.640Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1505/archives/ [Pipeline] echo [2023-09-06T04:24:45.670Z] 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-1505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-06T04:24:45.965Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T04:24:46.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T04:24:46.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T04:24:46.726Z] prd-ubuntu20.04-docker-8c-8g-5418 does not seem to be running inside a container [2023-09-06T04:24:46.765Z] $ 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-1505/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-1505 -v /w/workspace/gexfoundry_device-sdk-go_PR-1505:/w/workspace/gexfoundry_device-sdk-go_PR-1505:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1505@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-06T04:24:46.996Z] $ docker top 7c7f2e332a5edca1698759590d8cf8d28ffbde37de1cd46f4005fb6b83a39e48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T04:24:47.376Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-06T04:24:47.695Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-06T04:24:48.005Z] + ls /var/log/sa-host [2023-09-06T04:24:48.005Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T04:24:48.253Z] provisioning config files... [2023-09-06T04:24:48.262Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1505@tmp/config2865649359920579510tmp [Pipeline] { [Pipeline] echo [2023-09-06T04:24:48.316Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:24:48.627Z] ---> create-netrc.sh [Pipeline] } [2023-09-06T04:24:48.654Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:24:49.039Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-06T04:24:49.068Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:24:49.377Z] ---> sudo-logs.sh [2023-09-06T04:24:49.377Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-06T04:24:49.472Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:24:49.779Z] ---> job-cost.sh [2023-09-06T04:24:49.779Z] lf-activate-venv: SKIPPING [2023-09-06T04:24:49.779Z] DEBUG: total: 0.2199999988079071 [2023-09-06T04:24:49.779Z] INFO: Retrieving Stack Cost... [2023-09-06T04:24:50.348Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T04:24:50.608Z] INFO: Archiving Costs [Pipeline] echo [2023-09-06T04:24:50.643Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T04:24:50.949Z] ---> logs-deploy.sh [2023-09-06T04:24:50.949Z] lf-activate-venv: SKIPPING [2023-09-06T04:24:50.949Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1505/1 [2023-09-06T04:24:50.949Z] INFO: archiving workspace using pattern(s): [2023-09-06T04:24:51.885Z] Archives upload complete. [2023-09-06T04:24:51.885Z] INFO: archiving logs to Nexus