Pull request #1529 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea1d5005cfc9e707e8208d491a57f10d4b4acf1e+ea75771316a3345bae478dacd5fb79870eb29e09 (5378f564afa1f3bac4907d02c1a809299b0f214b) 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-ssh16486015087569317032.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16829048496597544061.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh 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-1529/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-1529/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9747182959898613036.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-1529/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16385754500958939392.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh4004108121413456288.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-1529/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-1529/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4342110022316100887.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 e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-10441’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10446 in /w/workspace/gexfoundry_device-sdk-go_PR-1529 [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-1529 # 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/1529/head:refs/remotes/origin/PR-1529 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ea75771316a3345bae478dacd5fb79870eb29e09 into PR head commit ea1d5005cfc9e707e8208d491a57f10d4b4acf1e Merge succeeded, producing ea1d5005cfc9e707e8208d491a57f10d4b4acf1e Checking out Revision ea1d5005cfc9e707e8208d491a57f10d4b4acf1e (PR-1529) Commit message: "build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f ea1d5005cfc9e707e8208d491a57f10d4b4acf1e # 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 ea75771316a3345bae478dacd5fb79870eb29e09 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea1d5005cfc9e707e8208d491a57f10d4b4acf1e # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-25T22:27:55.619Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-25T22:27:55.814Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-25T22:27:55.926Z] ========================================================= [2023-10-25T22:27:55.926Z] EdgeX Global Pipelines Version Info [2023-10-25T22:27:55.926Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:27:56.667Z] ------------------- [2023-10-25T22:27:56.667Z] stable info: [2023-10-25T22:27:56.667Z] ------------------- [2023-10-25T22:27:56.667Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-25T22:27:56.667Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T22:27:56.667Z] Message: update stable to v1.0.254 [2023-10-25T22:27:57.235Z] ------------------- [2023-10-25T22:27:57.235Z] experimental info: [2023-10-25T22:27:57.235Z] ------------------- [2023-10-25T22:27:57.235Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-25T22:27:57.235Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-25T22:27:57.235Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-25T22:27:57.596Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-25T22:27:57.658Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-25T22:27:57.717Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-25T22:27:57.789Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-25T22:27:57.842Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-25T22:27:57.903Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-25T22:27:57.955Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-25T22:27:58.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-25T22:27:58.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-25T22:27:58.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-25T22:27:58.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-25T22:27:58.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-25T22:27:58.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-25T22:27:58.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-25T22:27:58.370Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-25T22:27:58.422Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T22:27:58.470Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T22:27:58.514Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-25T22:27:58.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-25T22:27:58.627Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-25T22:27:58.673Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-25T22:27:58.720Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-25T22:27:58.766Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-25T22:27:58.821Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-25T22:27:58.870Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-25T22:27:58.910Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-25T22:27:58.952Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-25T22:27:58.999Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1529 [Pipeline] echo [2023-10-25T22:27:59.053Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1529 [Pipeline] echo [2023-10-25T22:27:59.093Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1529 [Pipeline] echo [2023-10-25T22:27:59.137Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea1d5005cfc9e707e8208d491a57f10d4b4acf1e [Pipeline] echo [2023-10-25T22:27:59.181Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea1d500 [Pipeline] echo [2023-10-25T22:27:59.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T22:27:59.356Z] provisioning config files... [2023-10-25T22:27:59.381Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp/config9208230657769987271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:27:59.724Z] ---> docker-login.sh [2023-10-25T22:27:59.725Z] nexus3.edgexfoundry.org:10001 [2023-10-25T22:27:59.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:27:59.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:27:59.990Z] Configure a credential helper to remove this warning. See [2023-10-25T22:27:59.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:27:59.990Z] [2023-10-25T22:27:59.990Z] Login Succeeded [2023-10-25T22:27:59.990Z] nexus3.edgexfoundry.org:10002 [2023-10-25T22:27:59.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:28:00.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:28:00.253Z] Configure a credential helper to remove this warning. See [2023-10-25T22:28:00.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:28:00.253Z] [2023-10-25T22:28:00.253Z] Login Succeeded [2023-10-25T22:28:00.253Z] nexus3.edgexfoundry.org:10003 [2023-10-25T22:28:00.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:28:00.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:28:00.253Z] Configure a credential helper to remove this warning. See [2023-10-25T22:28:00.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:28:00.253Z] [2023-10-25T22:28:00.253Z] Login Succeeded [2023-10-25T22:28:00.253Z] nexus3.edgexfoundry.org:10004 [2023-10-25T22:28:00.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:28:00.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:28:00.512Z] Configure a credential helper to remove this warning. See [2023-10-25T22:28:00.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:28:00.512Z] [2023-10-25T22:28:00.512Z] Login Succeeded [2023-10-25T22:28:00.512Z] docker.io [2023-10-25T22:28:00.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:28:00.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:28:00.770Z] Configure a credential helper to remove this warning. See [2023-10-25T22:28:00.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:28:00.770Z] [2023-10-25T22:28:00.770Z] Login Succeeded [2023-10-25T22:28:00.770Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T22:28:00.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-25T22:28:01.457Z] + git rev-list -1 --merges ea1d5005cfc9e707e8208d491a57f10d4b4acf1e~1..ea1d5005cfc9e707e8208d491a57f10d4b4acf1e [Pipeline] echo [2023-10-25T22:28:01.538Z] -----------> git rev-list -1 --merges ea1d5005cfc9e707e8208d491a57f10d4b4acf1e~1..ea1d5005cfc9e707e8208d491a57f10d4b4acf1e ea1d5005cfc9e707e8208d491a57f10d4b4acf1e [false] [Pipeline] sh [2023-10-25T22:28:01.851Z] + git log --format=format:%s -1 ea1d5005cfc9e707e8208d491a57f10d4b4acf1e [Pipeline] echo [2023-10-25T22:28:01.891Z] ========================================================= [2023-10-25T22:28:01.891Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-25T22:28:01.891Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T22:28:02.350Z] + git log --format=format:%s -1 ea1d5005cfc9e707e8208d491a57f10d4b4acf1e [Pipeline] echo [2023-10-25T22:28:02.388Z] [semverPrep] GIT_COMMIT: ea1d5005cfc9e707e8208d491a57f10d4b4acf1e, Commit Message: build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3 [Pipeline] echo [2023-10-25T22:28:02.424Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-25T22:28:02.820Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-25T22:28:02.820Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-25T22:28:02.820Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-25T22:28:02.820Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-25T22:28:02.820Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-25T22:28:02.820Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-25T22:28:02.820Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:28:03.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T22:28:03.260Z] [2023-10-25T22:28:03.260Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:28:03.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T22:28:03.665Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-25T22:28:03.665Z] b85a868b505f: Pulling fs layer [2023-10-25T22:28:03.665Z] e2be974225ed: Pulling fs layer [2023-10-25T22:28:03.665Z] 339a4e72a1f5: Pulling fs layer [2023-10-25T22:28:03.665Z] 988bab9f4d93: Pulling fs layer [2023-10-25T22:28:03.665Z] 1469e6f7b9e6: Pulling fs layer [2023-10-25T22:28:03.665Z] eaf3925da568: Pulling fs layer [2023-10-25T22:28:03.665Z] bab4dde63d76: Pulling fs layer [2023-10-25T22:28:03.665Z] bde34c3a00c8: Pulling fs layer [2023-10-25T22:28:03.665Z] b352a97aabf1: Pulling fs layer [2023-10-25T22:28:03.665Z] 4872d77fe225: Pulling fs layer [2023-10-25T22:28:03.665Z] 5851b861e8e6: Pulling fs layer [2023-10-25T22:28:03.665Z] bab4dde63d76: Waiting [2023-10-25T22:28:03.665Z] 4872d77fe225: Waiting [2023-10-25T22:28:03.665Z] 5851b861e8e6: Waiting [2023-10-25T22:28:03.665Z] bde34c3a00c8: Waiting [2023-10-25T22:28:03.665Z] 1469e6f7b9e6: Waiting [2023-10-25T22:28:03.665Z] eaf3925da568: Waiting [2023-10-25T22:28:03.665Z] b352a97aabf1: Waiting [2023-10-25T22:28:03.665Z] e2be974225ed: Download complete [2023-10-25T22:28:03.665Z] 988bab9f4d93: Verifying Checksum [2023-10-25T22:28:03.665Z] 988bab9f4d93: Download complete [2023-10-25T22:28:03.665Z] 339a4e72a1f5: Verifying Checksum [2023-10-25T22:28:03.665Z] 339a4e72a1f5: Download complete [2023-10-25T22:28:03.926Z] eaf3925da568: Download complete [2023-10-25T22:28:03.926Z] 1469e6f7b9e6: Verifying Checksum [2023-10-25T22:28:03.926Z] 1469e6f7b9e6: Download complete [2023-10-25T22:28:03.926Z] bde34c3a00c8: Verifying Checksum [2023-10-25T22:28:03.926Z] b352a97aabf1: Verifying Checksum [2023-10-25T22:28:03.926Z] b352a97aabf1: Download complete [2023-10-25T22:28:03.926Z] 4872d77fe225: Download complete [2023-10-25T22:28:03.926Z] 5851b861e8e6: Verifying Checksum [2023-10-25T22:28:03.926Z] 5851b861e8e6: Download complete [2023-10-25T22:28:03.926Z] b85a868b505f: Verifying Checksum [2023-10-25T22:28:03.926Z] b85a868b505f: Download complete [2023-10-25T22:28:04.184Z] bab4dde63d76: Verifying Checksum [2023-10-25T22:28:04.184Z] bab4dde63d76: Download complete [2023-10-25T22:28:05.132Z] b85a868b505f: Pull complete [2023-10-25T22:28:05.392Z] e2be974225ed: Pull complete [2023-10-25T22:28:05.958Z] 339a4e72a1f5: Pull complete [2023-10-25T22:28:05.958Z] 988bab9f4d93: Pull complete [2023-10-25T22:28:06.218Z] 1469e6f7b9e6: Pull complete [2023-10-25T22:28:06.477Z] eaf3925da568: Pull complete [2023-10-25T22:28:08.411Z] bab4dde63d76: Pull complete [2023-10-25T22:28:08.411Z] bde34c3a00c8: Pull complete [2023-10-25T22:28:08.670Z] b352a97aabf1: Pull complete [2023-10-25T22:28:08.670Z] 4872d77fe225: Pull complete [2023-10-25T22:28:08.670Z] 5851b861e8e6: Pull complete [2023-10-25T22:28:08.670Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-25T22:28:08.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-25T22:28:08.670Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T22:28:08.933Z] prd-ubuntu20.04-docker-8c-8g-10446 does not seem to be running inside a container [2023-10-25T22:28:08.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1529 -v /w/workspace/gexfoundry_device-sdk-go_PR-1529:/w/workspace/gexfoundry_device-sdk-go_PR-1529:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1529@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-25T22:28:13.868Z] $ docker top 3b69373a68a787c00b71e270ed5aba764eb1942bab381f8d6d077c297f3c2b6a -eo pid,comm [2023-10-25T22:28:13.937Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-25T22:28:13.937Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-25T22:28:14.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T22:28:14.058Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T22:28:14.161Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T22:28:14.167Z] $ docker exec 3b69373a68a787c00b71e270ed5aba764eb1942bab381f8d6d077c297f3c2b6a ssh-agent [2023-10-25T22:28:14.289Z] SSH_AUTH_SOCK=/tmp/ssh-plCe2bNpsu9y/agent.32 [2023-10-25T22:28:14.289Z] SSH_AGENT_PID=38 [2023-10-25T22:28:14.295Z] Running ssh-add (command line suppressed) [2023-10-25T22:28:14.390Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp/private_key_12637685604772981695.key (/w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp/private_key_12637685604772981695.key) [2023-10-25T22:28:14.400Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T22:28:14.733Z] + git tag --points-at HEAD [Pipeline] } [2023-10-25T22:28:14.763Z] $ docker exec --env ******** --env ******** 3b69373a68a787c00b71e270ed5aba764eb1942bab381f8d6d077c297f3c2b6a ssh-agent -k [2023-10-25T22:28:14.864Z] unset SSH_AUTH_SOCK; [2023-10-25T22:28:14.865Z] unset SSH_AGENT_PID; [2023-10-25T22:28:14.866Z] echo Agent pid 38 killed; [2023-10-25T22:28:14.874Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-25T22:28:14.971Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-25T22:28:14.971Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-25T22:28:15.072Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-25T22:28:15.079Z] $ docker exec 3b69373a68a787c00b71e270ed5aba764eb1942bab381f8d6d077c297f3c2b6a ssh-agent [2023-10-25T22:28:15.197Z] SSH_AUTH_SOCK=/tmp/ssh-4wur4EA9dQEC/agent.70 [2023-10-25T22:28:15.197Z] SSH_AGENT_PID=76 [2023-10-25T22:28:15.206Z] Running ssh-add (command line suppressed) [2023-10-25T22:28:15.311Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp/private_key_11052467770661399937.key (/w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp/private_key_11052467770661399937.key) [2023-10-25T22:28:15.327Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-25T22:28:15.661Z] + git semver init [2023-10-25T22:28:15.919Z] 2023-10-25 22:28:15,877 [run_init] DEBUG init version:0.0.0 force:False [2023-10-25T22:28:15.919Z] 2023-10-25 22:28:15,878 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1529/.semver [2023-10-25T22:28:15.919Z] 2023-10-25 22:28:15,878 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1529/.semver [2023-10-25T22:28:15.919Z] 2023-10-25 22:28:15,878 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1529/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1529, universal_newlines=False, shell=None, istream=None) [2023-10-25T22:28:17.303Z] 2023-10-25 22:28:16,911 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1529/.git/info/exclude [2023-10-25T22:28:17.303Z] 2023-10-25 22:28:16,912 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1529/.semver/PR-1529 with force:False [2023-10-25T22:28:17.303Z] 2023-10-25 22:28:16,912 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1529/.semver/PR-1529 [2023-10-25T22:28:17.303Z] 2023-10-25 22:28:16,917 [execute] INFO git cat-file --batch-check [2023-10-25T22:28:17.303Z] 2023-10-25 22:28:16,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1529/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T22:28:17.303Z] 2023-10-25 22:28:16,924 [execute] INFO git cat-file --batch [2023-10-25T22:28:17.303Z] 2023-10-25 22:28:16,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1529/.semver, universal_newlines=False, shell=None, istream=) [2023-10-25T22:28:17.303Z] 2023-10-25 22:28:16,930 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1529/.semver/PR-1529 [2023-10-25T22:28:17.303Z] 0.0.0 [Pipeline] } [2023-10-25T22:28:17.330Z] $ docker exec --env ******** --env ******** 3b69373a68a787c00b71e270ed5aba764eb1942bab381f8d6d077c297f3c2b6a ssh-agent -k [2023-10-25T22:28:17.433Z] unset SSH_AUTH_SOCK; [2023-10-25T22:28:17.433Z] unset SSH_AGENT_PID; [2023-10-25T22:28:17.433Z] echo Agent pid 76 killed; [2023-10-25T22:28:17.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-25T22:28:17.867Z] + git semver [Pipeline] } [2023-10-25T22:28:18.156Z] $ docker stop --time=1 3b69373a68a787c00b71e270ed5aba764eb1942bab381f8d6d077c297f3c2b6a [2023-10-25T22:28:19.463Z] $ docker rm -f --volumes 3b69373a68a787c00b71e270ed5aba764eb1942bab381f8d6d077c297f3c2b6a [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T22:28:19.866Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-25T22:28:20.163Z] Stashed 1 file(s) [Pipeline] echo [2023-10-25T22:28:20.188Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T22:28:20.979Z] provisioning config files... [2023-10-25T22:28:20.992Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp/config11558681532600841925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:28:21.524Z] ---> docker-login.sh [2023-10-25T22:28:21.524Z] nexus3.edgexfoundry.org:10001 [2023-10-25T22:28:21.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:28:21.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:28:21.524Z] Configure a credential helper to remove this warning. See [2023-10-25T22:28:21.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:28:21.524Z] [2023-10-25T22:28:21.524Z] Login Succeeded [2023-10-25T22:28:21.524Z] nexus3.edgexfoundry.org:10002 [2023-10-25T22:28:21.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:28:21.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:28:21.524Z] Configure a credential helper to remove this warning. See [2023-10-25T22:28:21.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:28:21.524Z] [2023-10-25T22:28:21.524Z] Login Succeeded [2023-10-25T22:28:21.524Z] nexus3.edgexfoundry.org:10003 [2023-10-25T22:28:21.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:28:21.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:28:21.524Z] Configure a credential helper to remove this warning. See [2023-10-25T22:28:21.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:28:21.524Z] [2023-10-25T22:28:21.524Z] Login Succeeded [2023-10-25T22:28:21.524Z] nexus3.edgexfoundry.org:10004 [2023-10-25T22:28:21.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:28:21.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:28:21.792Z] Configure a credential helper to remove this warning. See [2023-10-25T22:28:21.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:28:21.792Z] [2023-10-25T22:28:21.792Z] Login Succeeded [2023-10-25T22:28:21.792Z] docker.io [2023-10-25T22:28:21.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:28:22.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:28:22.072Z] Configure a credential helper to remove this warning. See [2023-10-25T22:28:22.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:28:22.072Z] [2023-10-25T22:28:22.072Z] Login Succeeded [2023-10-25T22:28:22.072Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T22:28:22.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-25T22:28:22.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T22:28:22.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T22:28:22.549Z] ========================================================= [2023-10-25T22:28:22.549Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-25T22:28:22.549Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:28:23.043Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T22:28:23.043Z] Sending build context to Docker daemon 11.25MB [2023-10-25T22:28:23.043Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T22:28:23.043Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-25T22:28:23.043Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-25T22:28:23.043Z] 7264a8db6415: Pulling fs layer [2023-10-25T22:28:23.043Z] c4d48a809fc2: Pulling fs layer [2023-10-25T22:28:23.043Z] 4f1c88b9dad5: Pulling fs layer [2023-10-25T22:28:23.043Z] ad3a456e5733: Pulling fs layer [2023-10-25T22:28:23.043Z] 33e27b845d1e: Pulling fs layer [2023-10-25T22:28:23.043Z] ad3a456e5733: Waiting [2023-10-25T22:28:23.043Z] c68163c4e522: Pulling fs layer [2023-10-25T22:28:23.043Z] 33e27b845d1e: Waiting [2023-10-25T22:28:23.043Z] 50da416c3ac9: Pulling fs layer [2023-10-25T22:28:23.043Z] 23d2d4c4bb30: Pulling fs layer [2023-10-25T22:28:23.043Z] 50da416c3ac9: Waiting [2023-10-25T22:28:23.303Z] c4d48a809fc2: Download complete [2023-10-25T22:28:23.303Z] ad3a456e5733: Verifying Checksum [2023-10-25T22:28:23.303Z] ad3a456e5733: Download complete [2023-10-25T22:28:23.303Z] 33e27b845d1e: Download complete [2023-10-25T22:28:23.303Z] 7264a8db6415: Verifying Checksum [2023-10-25T22:28:23.303Z] 7264a8db6415: Download complete [2023-10-25T22:28:23.303Z] c68163c4e522: Verifying Checksum [2023-10-25T22:28:23.303Z] c68163c4e522: Download complete [2023-10-25T22:28:23.564Z] 7264a8db6415: Pull complete [2023-10-25T22:28:23.564Z] 23d2d4c4bb30: Verifying Checksum [2023-10-25T22:28:23.564Z] 23d2d4c4bb30: Download complete [2023-10-25T22:28:23.564Z] c4d48a809fc2: Pull complete [2023-10-25T22:28:23.827Z] 4f1c88b9dad5: Verifying Checksum [2023-10-25T22:28:23.827Z] 4f1c88b9dad5: Download complete [2023-10-25T22:28:24.086Z] 50da416c3ac9: Verifying Checksum [2023-10-25T22:28:27.388Z] 4f1c88b9dad5: Pull complete [2023-10-25T22:28:27.388Z] ad3a456e5733: Pull complete [2023-10-25T22:28:27.388Z] 33e27b845d1e: Pull complete [2023-10-25T22:28:27.388Z] c68163c4e522: Pull complete [2023-10-25T22:28:29.937Z] 50da416c3ac9: Pull complete [2023-10-25T22:28:30.885Z] 23d2d4c4bb30: Pull complete [2023-10-25T22:28:30.885Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-25T22:28:30.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-25T22:28:30.885Z] ---> 0786185ac409 [2023-10-25T22:28:30.885Z] Step 3/10 : ARG MAKE=make build [2023-10-25T22:28:35.752Z] Still waiting to schedule task [2023-10-25T22:28:35.752Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-25T22:28:39.186Z] ---> Running in 42d3ecabf8f6 [2023-10-25T22:28:39.186Z] Removing intermediate container 42d3ecabf8f6 [2023-10-25T22:28:39.186Z] ---> d8c4013fc170 [2023-10-25T22:28:39.186Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-25T22:28:39.186Z] ---> Running in cb5b67d3f5a8 [2023-10-25T22:28:39.186Z] Removing intermediate container cb5b67d3f5a8 [2023-10-25T22:28:39.186Z] ---> f53ed123a357 [2023-10-25T22:28:39.186Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-25T22:28:39.186Z] ---> Running in bea2d73f8ae4 [2023-10-25T22:28:39.186Z] Removing intermediate container bea2d73f8ae4 [2023-10-25T22:28:39.186Z] ---> 5cfb6506a137 [2023-10-25T22:28:39.186Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-25T22:28:39.186Z] ---> Running in 451aa91ea290 [2023-10-25T22:28:39.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T22:28:39.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T22:28:39.446Z] OK: 264 MiB in 52 packages [2023-10-25T22:28:39.705Z] Removing intermediate container 451aa91ea290 [2023-10-25T22:28:39.705Z] ---> 64bea2587c3d [2023-10-25T22:28:39.705Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-25T22:28:39.705Z] ---> aca0374d94d0 [2023-10-25T22:28:39.705Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T22:28:39.964Z] ---> Running in fd67672fb704 [2023-10-25T22:29:47.662Z] Removing intermediate container fd67672fb704 [2023-10-25T22:29:47.662Z] ---> 996414a5ce37 [2023-10-25T22:29:47.662Z] Step 9/10 : COPY . . [2023-10-25T22:29:47.662Z] ---> 5e0a5121331e [2023-10-25T22:29:47.662Z] Step 10/10 : RUN ${MAKE} [2023-10-25T22:29:47.662Z] ---> Running in 3a1febb05106 [2023-10-25T22:29:47.662Z] noop [2023-10-25T22:29:47.662Z] Removing intermediate container 3a1febb05106 [2023-10-25T22:29:47.662Z] ---> 54c586aa3b11 [2023-10-25T22:29:47.662Z] Successfully built 54c586aa3b11 [2023-10-25T22:29:47.662Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:29:48.100Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T22:29:48.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T22:29:48.250Z] prd-ubuntu20.04-docker-8c-8g-10446 does not seem to be running inside a container [2023-10-25T22:29:48.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1529 -v /w/workspace/gexfoundry_device-sdk-go_PR-1529:/w/workspace/gexfoundry_device-sdk-go_PR-1529:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1529@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-x86_64 cat [2023-10-25T22:29:48.633Z] $ docker top 30ecaaad8de3ff7289c22c9402b3bf6f1ce112d0103066769f41ab5b31b52dc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T22:29:49.018Z] + go version [2023-10-25T22:29:49.018Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-25T22:29:49.055Z] $ docker stop --time=1 30ecaaad8de3ff7289c22c9402b3bf6f1ce112d0103066769f41ab5b31b52dc2 [2023-10-25T22:29:50.325Z] $ docker rm -f --volumes 30ecaaad8de3ff7289c22c9402b3bf6f1ce112d0103066769f41ab5b31b52dc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:29:51.049Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-25T22:29:51.049Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T22:29:51.212Z] prd-ubuntu20.04-docker-8c-8g-10446 does not seem to be running inside a container [2023-10-25T22:29:51.251Z] $ 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-1529 -v /w/workspace/gexfoundry_device-sdk-go_PR-1529:/w/workspace/gexfoundry_device-sdk-go_PR-1529:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1529@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-x86_64 cat [2023-10-25T22:29:51.606Z] $ docker top efda9189549a90adcfe9e9701bb4c3b0055490d9a3dd90291a820faa84842d3c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T22:29:52.004Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1529 [Pipeline] fileExists [Pipeline] sh [2023-10-25T22:29:52.418Z] + make test [2023-10-25T22:29:52.418Z] go test -race -coverprofile=coverage.out ./... [2023-10-25T22:29:58.985Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-25T22:30:14.072Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-25T22:30:14.072Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-25T22:30:14.072Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-25T22:30:14.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-25T22:30:14.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-25T22:30:14.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-25T22:30:14.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-25T22:30:14.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.063s coverage: 27.6% of statements [2023-10-25T22:30:14.590Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.050s coverage: 81.5% of statements [2023-10-25T22:30:14.590Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.057s coverage: 86.0% of statements [2023-10-25T22:30:14.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-25T22:30:15.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-25T22:30:15.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-25T22:30:15.963Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.090s coverage: 71.8% of statements [2023-10-25T22:30:15.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-25T22:30:19.291Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.067s coverage: 14.4% of statements [2023-10-25T22:30:19.291Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.984s coverage: 45.9% of statements [2023-10-25T22:30:19.291Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.068s coverage: 68.5% of statements [2023-10-25T22:30:19.291Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.112s coverage: 89.2% of statements [2023-10-25T22:30:19.291Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.5% of statements [2023-10-25T22:30:41.230Z] GO111MODULE=on go vet ./... [2023-10-25T22:30:42.181Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T22:30:42.181Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T22:30:42.181Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T22:30:42.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T22:30:42.516Z] $ docker stop --time=1 efda9189549a90adcfe9e9701bb4c3b0055490d9a3dd90291a820faa84842d3c [2023-10-25T22:30:50.081Z] $ docker rm -f --volumes efda9189549a90adcfe9e9701bb4c3b0055490d9a3dd90291a820faa84842d3c [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T22:30:50.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T22:30:50.856Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-25T22:30:51.475Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T22:30:51.826Z] + ls -al . [2023-10-25T22:30:51.826Z] total 304 [2023-10-25T22:30:51.826Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 22:29 . [2023-10-25T22:30:51.826Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:27 .. [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 22:27 .dockerignore [2023-10-25T22:30:51.826Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:30 .git [2023-10-25T22:30:51.826Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:27 .github [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 25 22:27 .gitignore [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 22:27 .golangci.yml [2023-10-25T22:30:51.826Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:28 .semver [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 25 22:27 CHANGELOG.md [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:27 GOVERNANCE.md [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 25 22:27 Jenkinsfile [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 22:27 LICENSE [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 25 22:27 Makefile [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 22:27 OWNERS.md [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 25 22:27 README.md [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:28 VERSION [2023-10-25T22:30:51.826Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:27 bin [2023-10-25T22:30:51.826Z] -rw-r--r-- 1 jenkins jenkins 122154 Oct 25 22:30 coverage.out [2023-10-25T22:30:51.826Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 22:27 example [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 25 22:27 go.mod [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 25 22:27 go.sum [2023-10-25T22:30:51.826Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 22:27 internal [2023-10-25T22:30:51.826Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:27 openapi [2023-10-25T22:30:51.826Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 22:27 pkg [2023-10-25T22:30:51.826Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:27 snap [2023-10-25T22:30:51.826Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 22:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:30:52.232Z] + 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=ea1d5005cfc9e707e8208d491a57f10d4b4acf1e --label arch=amd64 --label version=0.0.0 . [2023-10-25T22:30:52.232Z] Sending build context to Docker daemon 11.37MB [2023-10-25T22:30:52.232Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T22:30:52.232Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-25T22:30:52.232Z] ---> 54c586aa3b11 [2023-10-25T22:30:52.232Z] Step 3/23 : ARG MAKE=make build [2023-10-25T22:30:53.274Z] ---> Running in fff5d4777746 [2023-10-25T22:30:53.274Z] Removing intermediate container fff5d4777746 [2023-10-25T22:30:53.274Z] ---> f914fb1a514c [2023-10-25T22:30:53.274Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-25T22:30:53.274Z] ---> Running in 14117c580205 [2023-10-25T22:30:53.274Z] Removing intermediate container 14117c580205 [2023-10-25T22:30:53.274Z] ---> 45f2238ff486 [2023-10-25T22:30:53.274Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-25T22:30:53.274Z] ---> Running in 87bcf30505d0 [2023-10-25T22:30:53.274Z] Removing intermediate container 87bcf30505d0 [2023-10-25T22:30:53.274Z] ---> 59865a679f5f [2023-10-25T22:30:53.274Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-25T22:30:53.274Z] ---> Running in f7c2a9b0339e [2023-10-25T22:30:53.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T22:30:53.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T22:30:54.058Z] OK: 264 MiB in 52 packages [2023-10-25T22:30:54.318Z] Removing intermediate container f7c2a9b0339e [2023-10-25T22:30:54.318Z] ---> c7bbd446dd73 [2023-10-25T22:30:54.318Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-25T22:30:54.318Z] ---> 17943e17fe08 [2023-10-25T22:30:54.318Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T22:30:54.318Z] ---> Running in 3b6e665512bb [2023-10-25T22:30:54.905Z] Removing intermediate container 3b6e665512bb [2023-10-25T22:30:54.905Z] ---> 3373dacfc3d0 [2023-10-25T22:30:54.905Z] Step 9/23 : COPY . . [2023-10-25T22:30:55.583Z] ---> 5a0cdf64e888 [2023-10-25T22:30:55.583Z] Step 10/23 : RUN ${MAKE} [2023-10-25T22:30:55.583Z] ---> Running in 5ef71a1dc993 [2023-10-25T22:30:55.842Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-25T22:31:17.808Z] Removing intermediate container 5ef71a1dc993 [2023-10-25T22:31:17.808Z] ---> da72fe991237 [2023-10-25T22:31:17.808Z] Step 11/23 : FROM alpine:3.18 [2023-10-25T22:31:17.808Z] 3.18: Pulling from library/alpine [2023-10-25T22:31:17.808Z] 96526aa774ef: Pulling fs layer [2023-10-25T22:31:17.808Z] 96526aa774ef: Verifying Checksum [2023-10-25T22:31:17.808Z] 96526aa774ef: Download complete [2023-10-25T22:31:17.808Z] 96526aa774ef: Pull complete [2023-10-25T22:31:17.808Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T22:31:17.808Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T22:31:17.808Z] ---> 8ca4688f4f35 [2023-10-25T22:31:17.808Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-25T22:31:17.808Z] ---> Running in 04a718271aff [2023-10-25T22:31:17.808Z] Removing intermediate container 04a718271aff [2023-10-25T22:31:17.808Z] ---> fb6682362775 [2023-10-25T22:31:17.808Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-25T22:31:17.808Z] ---> Running in d49e67986df2 [2023-10-25T22:31:17.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-25T22:31:17.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-25T22:31:17.808Z] OK: 7 MiB in 15 packages [2023-10-25T22:31:17.808Z] Removing intermediate container d49e67986df2 [2023-10-25T22:31:17.808Z] ---> df27d6935121 [2023-10-25T22:31:17.808Z] Step 14/23 : WORKDIR / [2023-10-25T22:31:17.808Z] ---> Running in a34d42c5b791 [2023-10-25T22:31:17.808Z] Removing intermediate container a34d42c5b791 [2023-10-25T22:31:17.808Z] ---> 849fcf047f36 [2023-10-25T22:31:17.808Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-25T22:31:17.808Z] ---> cebd5642b39b [2023-10-25T22:31:17.808Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-25T22:31:18.375Z] ---> efda9facbcc5 [2023-10-25T22:31:18.375Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-25T22:31:18.633Z] ---> 756ef90ef9fd [2023-10-25T22:31:18.633Z] Step 18/23 : EXPOSE 59999 [2023-10-25T22:31:18.633Z] ---> Running in 3e65c66cc390 [2023-10-25T22:31:18.633Z] Removing intermediate container 3e65c66cc390 [2023-10-25T22:31:18.633Z] ---> 6bd7e84722fc [2023-10-25T22:31:18.633Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-25T22:31:18.633Z] ---> Running in 1a9d905644cb [2023-10-25T22:31:18.633Z] Removing intermediate container 1a9d905644cb [2023-10-25T22:31:18.633Z] ---> 04c5fdd75cba [2023-10-25T22:31:18.633Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T22:31:18.892Z] ---> Running in 07f36ee7759a [2023-10-25T22:31:18.892Z] Removing intermediate container 07f36ee7759a [2023-10-25T22:31:18.892Z] ---> ee7cb8481ad8 [2023-10-25T22:31:18.892Z] Step 21/23 : LABEL arch=amd64 [2023-10-25T22:31:18.892Z] ---> Running in b50472d74510 [2023-10-25T22:31:18.892Z] Removing intermediate container b50472d74510 [2023-10-25T22:31:18.892Z] ---> 41659a5b2bfb [2023-10-25T22:31:18.892Z] Step 22/23 : LABEL git_sha=ea1d5005cfc9e707e8208d491a57f10d4b4acf1e [2023-10-25T22:31:18.892Z] ---> Running in ddf096fd7c27 [2023-10-25T22:31:19.151Z] Removing intermediate container ddf096fd7c27 [2023-10-25T22:31:19.151Z] ---> 3255fcbf8bb0 [2023-10-25T22:31:19.151Z] Step 23/23 : LABEL version=0.0.0 [2023-10-25T22:31:19.151Z] ---> Running in 2292104b8ccc [2023-10-25T22:31:19.151Z] Removing intermediate container 2292104b8ccc [2023-10-25T22:31:19.151Z] ---> 52ff2765619b [2023-10-25T22:31:19.151Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T22:31:19.151Z] Successfully built 52ff2765619b [2023-10-25T22:31:19.151Z] 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-10-25T22:31:20.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T22:31:20.051Z] [2023-10-25T22:31:20.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:31:20.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T22:31:20.425Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-25T22:31:20.425Z] 5eb5b503b376: Pulling fs layer [2023-10-25T22:31:20.425Z] 5c69ac0246d0: Pulling fs layer [2023-10-25T22:31:20.425Z] ec43610c2a17: Pulling fs layer [2023-10-25T22:31:20.425Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-25T22:31:20.425Z] 33b1e0a273af: Pulling fs layer [2023-10-25T22:31:20.425Z] 5d3b04190fa2: Pulling fs layer [2023-10-25T22:31:20.425Z] 3a2ae6a8a46f: Waiting [2023-10-25T22:31:20.425Z] 33b1e0a273af: Waiting [2023-10-25T22:31:20.425Z] 5d3b04190fa2: Waiting [2023-10-25T22:31:20.425Z] 2f39f015ded8: Pulling fs layer [2023-10-25T22:31:20.425Z] 2f39f015ded8: Waiting [2023-10-25T22:31:20.425Z] 5c69ac0246d0: Verifying Checksum [2023-10-25T22:31:20.425Z] 5c69ac0246d0: Download complete [2023-10-25T22:31:20.425Z] 3a2ae6a8a46f: Download complete [2023-10-25T22:31:20.425Z] 33b1e0a273af: Verifying Checksum [2023-10-25T22:31:20.425Z] 33b1e0a273af: Download complete [2023-10-25T22:31:20.425Z] 5d3b04190fa2: Verifying Checksum [2023-10-25T22:31:20.425Z] 5d3b04190fa2: Download complete [2023-10-25T22:31:20.425Z] ec43610c2a17: Verifying Checksum [2023-10-25T22:31:20.425Z] ec43610c2a17: Download complete [2023-10-25T22:31:20.684Z] 5eb5b503b376: Verifying Checksum [2023-10-25T22:31:20.684Z] 5eb5b503b376: Download complete [2023-10-25T22:31:21.251Z] 2f39f015ded8: Download complete [2023-10-25T22:31:21.818Z] 5eb5b503b376: Pull complete [2023-10-25T22:31:21.818Z] 5c69ac0246d0: Pull complete [2023-10-25T22:31:22.385Z] ec43610c2a17: Pull complete [2023-10-25T22:31:22.385Z] 3a2ae6a8a46f: Pull complete [2023-10-25T22:31:22.644Z] 33b1e0a273af: Pull complete [2023-10-25T22:31:22.644Z] 5d3b04190fa2: Pull complete [2023-10-25T22:31:26.823Z] 2f39f015ded8: Pull complete [2023-10-25T22:31:26.823Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-25T22:31:26.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T22:31:26.823Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T22:31:27.202Z] prd-ubuntu20.04-docker-8c-8g-10446 does not seem to be running inside a container [2023-10-25T22:31:27.230Z] $ 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-1529 -v /w/workspace/gexfoundry_device-sdk-go_PR-1529:/w/workspace/gexfoundry_device-sdk-go_PR-1529:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1529@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:latest cat [2023-10-25T22:31:31.447Z] $ docker top 23a6f71abad4845199c048ef40931333ff2af139be624a8954a9819ee6ea5a48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:31:31.879Z] ---> job-cost.sh [2023-10-25T22:31:31.879Z] lf-activate-venv: SKIPPING [2023-10-25T22:31:31.879Z] INFO: No Stack... [2023-10-25T22:31:32.139Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T22:31:32.399Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T22:31:32.711Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1529/archives/cost.csv [2023-10-25T22:31:32.711Z] + cut -d, -f6 [Pipeline] lock [2023-10-25T22:31:32.746Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1529-1-stack-cost] [2023-10-25T22:31:32.755Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1529-1-stack-cost] did not exist. Created. [2023-10-25T22:31:32.755Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1529-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T22:31:33.157Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-25T22:31:33.217Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T22:31:33.246Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1529-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T22:31:33.334Z] $ docker stop --time=1 23a6f71abad4845199c048ef40931333ff2af139be624a8954a9819ee6ea5a48 [2023-10-25T22:31:34.482Z] $ docker rm -f --volumes 23a6f71abad4845199c048ef40931333ff2af139be624a8954a9819ee6ea5a48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-25T22:39:51.649Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10909 in /w/workspace/gexfoundry_device-sdk-go_PR-1529 [Pipeline] { [Pipeline] ws [2023-10-25T22:39:51.710Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-10-25T22:39:51.862Z] The recommended git tool is: git [2023-10-25T22:39:59.165Z] using credential edgex-jenkins-ssh [2023-10-25T22:39:59.185Z] Cloning the remote Git repository [2023-10-25T22:39:59.252Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-25T22:39:59.379Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-10-25T22:39:59.603Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-25T22:39:59.604Z] > git --version # timeout=10 [2023-10-25T22:39:59.639Z] > git --version # 'git version 2.25.1' [2023-10-25T22:39:59.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-25T22:39:59.853Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T22:40:01.851Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-25T22:40:01.878Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-25T22:40:03.864Z] Merging remotes/origin/main commit ea75771316a3345bae478dacd5fb79870eb29e09 into PR head commit ea1d5005cfc9e707e8208d491a57f10d4b4acf1e [2023-10-25T22:40:03.103Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-25T22:40:03.158Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-25T22:40:03.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-25T22:40:03.186Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1529/head:refs/remotes/origin/PR-1529 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-25T22:40:03.895Z] > git config core.sparsecheckout # timeout=10 [2023-10-25T22:40:03.996Z] > git checkout -f ea1d5005cfc9e707e8208d491a57f10d4b4acf1e # timeout=10 [2023-10-25T22:40:04.264Z] Merge succeeded, producing ea1d5005cfc9e707e8208d491a57f10d4b4acf1e [2023-10-25T22:40:04.264Z] Checking out Revision ea1d5005cfc9e707e8208d491a57f10d4b4acf1e (PR-1529) [2023-10-25T22:40:05.070Z] Commit message: "build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3" [2023-10-25T22:40:05.161Z] > git --version # timeout=10 [2023-10-25T22:40:05.197Z] > git --version # 'git version 2.25.1' [2023-10-25T22:40:05.235Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [2023-10-25T22:40:04.137Z] > git remote # timeout=10 [2023-10-25T22:40:04.162Z] > git config --get remote.origin.url # timeout=10 [2023-10-25T22:40:04.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-25T22:40:04.208Z] > git merge ea75771316a3345bae478dacd5fb79870eb29e09 # timeout=10 [2023-10-25T22:40:04.243Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-25T22:40:04.274Z] > git config core.sparsecheckout # timeout=10 [2023-10-25T22:40:04.294Z] > git checkout -f ea1d5005cfc9e707e8208d491a57f10d4b4acf1e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T22:40:06.474Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-25T22:40:06.474Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T22:40:06.474Z] Dload Upload Total Spent Left Speed [2023-10-25T22:40:06.474Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-10-25T22:40:07.506Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-25T22:40:07.888Z] + sudo tee /etc/docker/daemon.new [2023-10-25T22:40:07.888Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-25T22:40:07.888Z] { [2023-10-25T22:40:07.888Z] "registry-mirrors": [ [2023-10-25T22:40:07.888Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-25T22:40:07.888Z] ], [2023-10-25T22:40:07.888Z] "bip": "10.250.0.254/24", [2023-10-25T22:40:07.888Z] "hosts": [ [2023-10-25T22:40:07.888Z] "tcp://0.0.0.0:5555", [2023-10-25T22:40:07.888Z] "unix:///var/run/docker.sock" [2023-10-25T22:40:07.888Z] ], [2023-10-25T22:40:07.888Z] "mtu": 1458, [2023-10-25T22:40:07.888Z] "selinux-enabled": true, [2023-10-25T22:40:07.888Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-25T22:40:07.888Z] } [Pipeline] sh [2023-10-25T22:40:08.265Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-25T22:40:08.665Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T22:40:27.517Z] provisioning config files... [2023-10-25T22:40:27.553Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config17595816344204773717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:40:27.978Z] ---> docker-login.sh [2023-10-25T22:40:27.978Z] nexus3.edgexfoundry.org:10001 [2023-10-25T22:40:28.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:40:28.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:40:28.852Z] Configure a credential helper to remove this warning. See [2023-10-25T22:40:28.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:40:28.852Z] [2023-10-25T22:40:28.852Z] Login Succeeded [2023-10-25T22:40:28.852Z] nexus3.edgexfoundry.org:10002 [2023-10-25T22:40:29.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:40:29.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:40:29.127Z] Configure a credential helper to remove this warning. See [2023-10-25T22:40:29.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:40:29.127Z] [2023-10-25T22:40:29.127Z] Login Succeeded [2023-10-25T22:40:29.127Z] nexus3.edgexfoundry.org:10003 [2023-10-25T22:40:29.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:40:29.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:40:29.678Z] Configure a credential helper to remove this warning. See [2023-10-25T22:40:29.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:40:29.678Z] [2023-10-25T22:40:29.678Z] Login Succeeded [2023-10-25T22:40:29.678Z] nexus3.edgexfoundry.org:10004 [2023-10-25T22:40:29.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:40:29.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:40:29.954Z] Configure a credential helper to remove this warning. See [2023-10-25T22:40:29.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:40:29.954Z] [2023-10-25T22:40:29.954Z] Login Succeeded [2023-10-25T22:40:29.954Z] docker.io [2023-10-25T22:40:30.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-25T22:40:30.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-25T22:40:30.844Z] Configure a credential helper to remove this warning. See [2023-10-25T22:40:30.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-25T22:40:30.844Z] [2023-10-25T22:40:30.844Z] Login Succeeded [2023-10-25T22:40:30.844Z] ---> docker-login.sh ends [Pipeline] } [2023-10-25T22:40:30.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-25T22:40:31.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T22:40:31.401Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-25T22:40:31.435Z] ========================================================= [2023-10-25T22:40:31.435Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-25T22:40:31.435Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:40:31.977Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-25T22:40:32.580Z] Sending build context to Docker daemon 6.019MB [2023-10-25T22:40:32.581Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T22:40:32.581Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-25T22:40:32.581Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-25T22:40:32.581Z] 9fda8d8052c6: Pulling fs layer [2023-10-25T22:40:32.581Z] 5d54e960e981: Pulling fs layer [2023-10-25T22:40:32.581Z] c4a7e357bf2a: Pulling fs layer [2023-10-25T22:40:32.581Z] f0e02332f6b5: Pulling fs layer [2023-10-25T22:40:32.581Z] cefa15bbcfad: Pulling fs layer [2023-10-25T22:40:32.581Z] 17808c966233: Pulling fs layer [2023-10-25T22:40:32.581Z] f4c1fc716caa: Pulling fs layer [2023-10-25T22:40:32.581Z] 17808c966233: Waiting [2023-10-25T22:40:32.581Z] f0e02332f6b5: Waiting [2023-10-25T22:40:32.581Z] cefa15bbcfad: Waiting [2023-10-25T22:40:32.581Z] 5d54e960e981: Download complete [2023-10-25T22:40:32.861Z] f0e02332f6b5: Verifying Checksum [2023-10-25T22:40:32.861Z] f0e02332f6b5: Download complete [2023-10-25T22:40:32.861Z] cefa15bbcfad: Verifying Checksum [2023-10-25T22:40:32.861Z] cefa15bbcfad: Download complete [2023-10-25T22:40:32.861Z] 9fda8d8052c6: Verifying Checksum [2023-10-25T22:40:32.861Z] 9fda8d8052c6: Download complete [2023-10-25T22:40:33.464Z] f4c1fc716caa: Download complete [2023-10-25T22:40:33.741Z] 9fda8d8052c6: Pull complete [2023-10-25T22:40:34.751Z] 5d54e960e981: Pull complete [2023-10-25T22:40:35.028Z] c4a7e357bf2a: Verifying Checksum [2023-10-25T22:40:35.028Z] c4a7e357bf2a: Download complete [2023-10-25T22:40:36.026Z] 17808c966233: Verifying Checksum [2023-10-25T22:40:36.026Z] 17808c966233: Download complete [2023-10-25T22:40:51.109Z] c4a7e357bf2a: Pull complete [2023-10-25T22:40:51.109Z] f0e02332f6b5: Pull complete [2023-10-25T22:40:51.109Z] cefa15bbcfad: Pull complete [2023-10-25T22:40:59.358Z] 17808c966233: Pull complete [2023-10-25T22:40:59.946Z] f4c1fc716caa: Pull complete [2023-10-25T22:40:59.946Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-25T22:40:59.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-25T22:40:59.946Z] ---> ea914061e18c [2023-10-25T22:40:59.946Z] Step 3/10 : ARG MAKE=make build [2023-10-25T22:41:01.370Z] ---> Running in 4c54cc932243 [2023-10-25T22:41:01.967Z] Removing intermediate container 4c54cc932243 [2023-10-25T22:41:01.967Z] ---> 49fd89c3f3a2 [2023-10-25T22:41:01.967Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-25T22:41:01.967Z] ---> Running in b6ad7d63eedf [2023-10-25T22:41:02.557Z] Removing intermediate container b6ad7d63eedf [2023-10-25T22:41:02.557Z] ---> 0915e514aa83 [2023-10-25T22:41:02.557Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-25T22:41:02.557Z] ---> Running in b37d18603759 [2023-10-25T22:41:03.156Z] Removing intermediate container b37d18603759 [2023-10-25T22:41:03.156Z] ---> fbde366b7ccd [2023-10-25T22:41:03.156Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-25T22:41:03.156Z] ---> Running in 40d4fe437cf0 [2023-10-25T22:41:04.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T22:41:04.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T22:41:06.305Z] OK: 266 MiB in 52 packages [2023-10-25T22:41:08.891Z] Removing intermediate container 40d4fe437cf0 [2023-10-25T22:41:08.891Z] ---> 8a12451419ff [2023-10-25T22:41:08.891Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-25T22:41:09.484Z] ---> 60764610a747 [2023-10-25T22:41:09.484Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T22:41:09.759Z] ---> Running in 16d0405733d7 [2023-10-25T22:42:47.086Z] Removing intermediate container 16d0405733d7 [2023-10-25T22:42:47.087Z] ---> eb602c3fe05c [2023-10-25T22:42:47.087Z] Step 9/10 : COPY . . [2023-10-25T22:42:47.087Z] ---> 6c9ea46b392f [2023-10-25T22:42:47.087Z] Step 10/10 : RUN ${MAKE} [2023-10-25T22:42:47.087Z] ---> Running in 1cb12d9cbbaf [2023-10-25T22:42:47.087Z] noop [2023-10-25T22:42:47.679Z] Removing intermediate container 1cb12d9cbbaf [2023-10-25T22:42:47.679Z] ---> 5b7c67c61775 [2023-10-25T22:42:47.679Z] Successfully built 5b7c67c61775 [2023-10-25T22:42:47.679Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:42:48.191Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T22:42:48.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T22:42:48.486Z] prd-ubuntu20.04-docker-arm64-4c-16g-10909 does not seem to be running inside a container [2023-10-25T22:42:48.562Z] $ 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-10-25T22:42:49.947Z] $ docker top 0ca61acf40a16308156d6163f8bdb588be079e896b8e836b90b947dec4ecf975 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T22:42:50.885Z] + go version [2023-10-25T22:42:50.885Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-25T22:42:50.928Z] $ docker stop --time=1 0ca61acf40a16308156d6163f8bdb588be079e896b8e836b90b947dec4ecf975 [2023-10-25T22:42:52.696Z] $ docker rm -f --volumes 0ca61acf40a16308156d6163f8bdb588be079e896b8e836b90b947dec4ecf975 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:42:53.760Z] + docker inspect -f . ci-base-image-arm64 [2023-10-25T22:42:53.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T22:42:54.033Z] prd-ubuntu20.04-docker-arm64-4c-16g-10909 does not seem to be running inside a container [2023-10-25T22:42:54.129Z] $ 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-10-25T22:42:55.580Z] $ docker top f8f6794efb75668005285764016ec56b4b422f349c2fea9bbff4d95bfe6e8c1e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T22:42:56.502Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-25T22:42:57.224Z] + make test [2023-10-25T22:42:57.224Z] go test -race -coverprofile=coverage.out ./... [2023-10-25T22:43:44.105Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-25T22:46:20.872Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-25T22:46:20.872Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-25T22:46:20.872Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-25T22:46:20.872Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-25T22:46:20.872Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-25T22:46:20.872Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.261s coverage: 27.6% of statements [2023-10-25T22:46:20.872Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.302s coverage: 81.5% of statements [2023-10-25T22:46:27.601Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-25T22:46:27.601Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-25T22:46:29.045Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.575s coverage: 86.0% of statements [2023-10-25T22:46:31.031Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-25T22:46:32.467Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.612s coverage: 71.8% of statements [2023-10-25T22:46:40.760Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.578s coverage: 14.4% of statements [2023-10-25T22:46:40.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-25T22:46:40.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-25T22:46:41.364Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.440s coverage: 45.9% of statements [2023-10-25T22:46:42.351Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.474s coverage: 68.5% of statements [2023-10-25T22:46:46.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.486s coverage: 89.2% of statements [2023-10-25T22:46:46.921Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-25T22:46:48.341Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.272s coverage: 5.5% of statements [2023-10-25T22:46:49.326Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-25T22:46:49.326Z] GO111MODULE=on go vet ./... [2023-10-25T22:49:26.307Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-25T22:49:26.307Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-25T22:49:26.307Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-25T22:49:26.347Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-25T22:49:26.378Z] $ docker stop --time=1 f8f6794efb75668005285764016ec56b4b422f349c2fea9bbff4d95bfe6e8c1e [2023-10-25T22:49:28.338Z] $ docker rm -f --volumes f8f6794efb75668005285764016ec56b4b422f349c2fea9bbff4d95bfe6e8c1e [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-25T22:49:30.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-25T22:49:30.406Z] Warning: overwriting stash ‘coverage-report’ [2023-10-25T22:49:31.152Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-25T22:49:31.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-25T22:49:32.168Z] + ls -al . [2023-10-25T22:49:32.168Z] total 300 [2023-10-25T22:49:32.168Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 22:43 . [2023-10-25T22:49:32.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:39 .. [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 22:40 .dockerignore [2023-10-25T22:49:32.168Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:40 .git [2023-10-25T22:49:32.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:40 .github [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 25 22:40 .gitignore [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 22:40 .golangci.yml [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 25 22:40 CHANGELOG.md [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:40 GOVERNANCE.md [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 25 22:40 Jenkinsfile [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 22:40 LICENSE [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 25 22:40 Makefile [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 22:40 OWNERS.md [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 25 22:40 README.md [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:28 VERSION [2023-10-25T22:49:32.168Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:40 bin [2023-10-25T22:49:32.168Z] -rw-r--r-- 1 jenkins jenkins 122154 Oct 25 22:46 coverage.out [2023-10-25T22:49:32.168Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 22:40 example [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 25 22:40 go.mod [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 25 22:40 go.sum [2023-10-25T22:49:32.168Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 22:40 internal [2023-10-25T22:49:32.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:40 openapi [2023-10-25T22:49:32.168Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 22:40 pkg [2023-10-25T22:49:32.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:40 snap [2023-10-25T22:49:32.168Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 22:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:49:32.605Z] + 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=ea1d5005cfc9e707e8208d491a57f10d4b4acf1e --label arch=arm64 --label version=0.0.0 . [2023-10-25T22:49:33.192Z] Sending build context to Docker daemon 6.141MB [2023-10-25T22:49:33.192Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-25T22:49:33.192Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-25T22:49:33.192Z] ---> 5b7c67c61775 [2023-10-25T22:49:33.192Z] Step 3/23 : ARG MAKE=make build [2023-10-25T22:49:33.192Z] ---> Running in 7f4e48ed7b57 [2023-10-25T22:49:33.781Z] Removing intermediate container 7f4e48ed7b57 [2023-10-25T22:49:33.781Z] ---> bde703f8915e [2023-10-25T22:49:33.781Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-25T22:49:33.781Z] ---> Running in 02c050ec51cf [2023-10-25T22:49:34.054Z] Removing intermediate container 02c050ec51cf [2023-10-25T22:49:34.054Z] ---> dce7fa2f723c [2023-10-25T22:49:34.054Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-25T22:49:34.323Z] ---> Running in c1d213905295 [2023-10-25T22:49:34.597Z] Removing intermediate container c1d213905295 [2023-10-25T22:49:34.597Z] ---> fd540094c0bc [2023-10-25T22:49:34.597Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-25T22:49:34.597Z] ---> Running in 24c47802965f [2023-10-25T22:49:36.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T22:49:36.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T22:49:37.699Z] OK: 266 MiB in 52 packages [2023-10-25T22:49:38.667Z] Removing intermediate container 24c47802965f [2023-10-25T22:49:38.667Z] ---> a246b572d291 [2023-10-25T22:49:38.667Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-25T22:49:39.255Z] ---> 9416ed41cbb1 [2023-10-25T22:49:39.255Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-25T22:49:39.255Z] ---> Running in f74394cc9229 [2023-10-25T22:49:41.860Z] Removing intermediate container f74394cc9229 [2023-10-25T22:49:41.860Z] ---> 7d0722cb16f5 [2023-10-25T22:49:41.860Z] Step 9/23 : COPY . . [2023-10-25T22:49:43.290Z] ---> e7099d571a8c [2023-10-25T22:49:43.290Z] Step 10/23 : RUN ${MAKE} [2023-10-25T22:49:43.290Z] ---> Running in c9bb510bc94d [2023-10-25T22:49:44.266Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-25T22:51:50.977Z] Removing intermediate container c9bb510bc94d [2023-10-25T22:51:50.977Z] ---> 04c014b0fec4 [2023-10-25T22:51:50.977Z] Step 11/23 : FROM alpine:3.18 [2023-10-25T22:51:50.977Z] 3.18: Pulling from library/alpine [2023-10-25T22:51:50.977Z] 579b34f0a95b: Pulling fs layer [2023-10-25T22:51:50.977Z] 579b34f0a95b: Verifying Checksum [2023-10-25T22:51:50.977Z] 579b34f0a95b: Download complete [2023-10-25T22:51:51.247Z] 579b34f0a95b: Pull complete [2023-10-25T22:51:51.247Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-25T22:51:51.247Z] Status: Downloaded newer image for alpine:3.18 [2023-10-25T22:51:51.518Z] ---> 3cc203321400 [2023-10-25T22:51:51.518Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-25T22:51:51.518Z] ---> Running in 62ff5eb2c70c [2023-10-25T22:51:51.807Z] Removing intermediate container 62ff5eb2c70c [2023-10-25T22:51:51.807Z] ---> b5fe0dfd6bae [2023-10-25T22:51:51.807Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-25T22:51:52.082Z] ---> Running in 05c7ea087001 [2023-10-25T22:51:53.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-25T22:51:53.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-25T22:51:55.104Z] OK: 8 MiB in 15 packages [2023-10-25T22:51:56.080Z] Removing intermediate container 05c7ea087001 [2023-10-25T22:51:56.080Z] ---> 5296d6d24479 [2023-10-25T22:51:56.080Z] Step 14/23 : WORKDIR / [2023-10-25T22:51:56.366Z] ---> Running in f504f911420a [2023-10-25T22:51:56.636Z] Removing intermediate container f504f911420a [2023-10-25T22:51:56.636Z] ---> cacee85935e3 [2023-10-25T22:51:56.636Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-25T22:51:57.230Z] ---> 9c86e431c1c4 [2023-10-25T22:51:57.230Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-25T22:51:59.180Z] ---> a7800a66777e [2023-10-25T22:51:59.180Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-25T22:51:59.447Z] ---> af905014db56 [2023-10-25T22:51:59.447Z] Step 18/23 : EXPOSE 59999 [2023-10-25T22:51:59.447Z] ---> Running in e9ffd537573d [2023-10-25T22:51:59.718Z] Removing intermediate container e9ffd537573d [2023-10-25T22:51:59.718Z] ---> e54a12f19562 [2023-10-25T22:51:59.718Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-25T22:51:59.988Z] ---> Running in 1f08be350dd8 [2023-10-25T22:52:00.258Z] Removing intermediate container 1f08be350dd8 [2023-10-25T22:52:00.258Z] ---> 99327e060b64 [2023-10-25T22:52:00.258Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-25T22:52:00.258Z] ---> Running in c9a5f02083e0 [2023-10-25T22:52:00.848Z] Removing intermediate container c9a5f02083e0 [2023-10-25T22:52:00.848Z] ---> 16b6398adbf2 [2023-10-25T22:52:00.848Z] Step 21/23 : LABEL arch=arm64 [2023-10-25T22:52:00.848Z] ---> Running in 1dd2d245cb83 [2023-10-25T22:52:01.118Z] Removing intermediate container 1dd2d245cb83 [2023-10-25T22:52:01.118Z] ---> 73b08bfe500d [2023-10-25T22:52:01.118Z] Step 22/23 : LABEL git_sha=ea1d5005cfc9e707e8208d491a57f10d4b4acf1e [2023-10-25T22:52:01.118Z] ---> Running in b2f3a088634d [2023-10-25T22:52:01.706Z] Removing intermediate container b2f3a088634d [2023-10-25T22:52:01.706Z] ---> 5f994baf61ea [2023-10-25T22:52:01.706Z] Step 23/23 : LABEL version=0.0.0 [2023-10-25T22:52:01.706Z] ---> Running in 7c2505109f64 [2023-10-25T22:52:01.980Z] Removing intermediate container 7c2505109f64 [2023-10-25T22:52:01.980Z] ---> a0abeac328cf [2023-10-25T22:52:01.980Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-25T22:52:01.980Z] Successfully built a0abeac328cf [2023-10-25T22:52:01.980Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:52:02.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T22:52:02.838Z] [2023-10-25T22:52:02.838Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:52:03.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T22:52:03.533Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-25T22:52:03.533Z] 8998bd30e6a1: Pulling fs layer [2023-10-25T22:52:03.533Z] 04944245beec: Pulling fs layer [2023-10-25T22:52:03.533Z] 699f458cf7ca: Pulling fs layer [2023-10-25T22:52:03.533Z] 765212b225bb: Pulling fs layer [2023-10-25T22:52:03.533Z] f23df028b6ca: Pulling fs layer [2023-10-25T22:52:03.533Z] d65c8cfc05b1: Pulling fs layer [2023-10-25T22:52:03.533Z] 2437ff75d9bd: Pulling fs layer [2023-10-25T22:52:03.533Z] 765212b225bb: Waiting [2023-10-25T22:52:03.533Z] f23df028b6ca: Waiting [2023-10-25T22:52:03.533Z] d65c8cfc05b1: Waiting [2023-10-25T22:52:03.533Z] 2437ff75d9bd: Waiting [2023-10-25T22:52:03.533Z] 04944245beec: Verifying Checksum [2023-10-25T22:52:03.533Z] 04944245beec: Download complete [2023-10-25T22:52:03.533Z] 765212b225bb: Download complete [2023-10-25T22:52:03.533Z] f23df028b6ca: Verifying Checksum [2023-10-25T22:52:03.533Z] f23df028b6ca: Download complete [2023-10-25T22:52:03.806Z] d65c8cfc05b1: Verifying Checksum [2023-10-25T22:52:03.806Z] d65c8cfc05b1: Download complete [2023-10-25T22:52:03.806Z] 699f458cf7ca: Verifying Checksum [2023-10-25T22:52:03.806Z] 699f458cf7ca: Download complete [2023-10-25T22:52:04.403Z] 8998bd30e6a1: Verifying Checksum [2023-10-25T22:52:04.403Z] 8998bd30e6a1: Download complete [2023-10-25T22:52:07.015Z] 2437ff75d9bd: Verifying Checksum [2023-10-25T22:52:07.015Z] 2437ff75d9bd: Download complete [2023-10-25T22:52:08.978Z] 8998bd30e6a1: Pull complete [2023-10-25T22:52:09.564Z] 04944245beec: Pull complete [2023-10-25T22:52:12.164Z] 699f458cf7ca: Pull complete [2023-10-25T22:52:12.164Z] 765212b225bb: Pull complete [2023-10-25T22:52:12.754Z] f23df028b6ca: Pull complete [2023-10-25T22:52:13.342Z] d65c8cfc05b1: Pull complete [2023-10-25T22:52:31.602Z] 2437ff75d9bd: Pull complete [2023-10-25T22:52:31.602Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-25T22:52:31.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-25T22:52:31.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T22:52:31.968Z] prd-ubuntu20.04-docker-arm64-4c-16g-10909 does not seem to be running inside a container [2023-10-25T22:52:32.051Z] $ 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-10-25T22:52:35.365Z] $ docker top 302f82ba8ba7ee437e6f50bdfa23d11396bd130a09712ac15b47ed630b280d28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:52:36.324Z] ---> job-cost.sh [2023-10-25T22:52:36.324Z] lf-activate-venv: SKIPPING [2023-10-25T22:52:36.324Z] INFO: No Stack... [2023-10-25T22:52:36.916Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-25T22:52:37.884Z] INFO: Archiving Costs [Pipeline] sh [2023-10-25T22:52:38.569Z] + cut -d, -f6 [2023-10-25T22:52:38.569Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-10-25T22:52:38.635Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1529-1-stack-cost] [2023-10-25T22:52:38.644Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1529-1-stack-cost] did not exist. Created. [2023-10-25T22:52:38.644Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1529-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-25T22:52:39.395Z] /w/workspace/device-sdk-go/1@tmp/durable-7607d0c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-25T22:52:40.096Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-25T22:52:40.211Z] Warning: overwriting stash ‘stack-cost’ [2023-10-25T22:52:40.317Z] Stashed 1 file(s) [Pipeline] } [2023-10-25T22:52:40.335Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1529-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-25T22:52:40.412Z] $ docker stop --time=1 302f82ba8ba7ee437e6f50bdfa23d11396bd130a09712ac15b47ed630b280d28 [2023-10-25T22:52:42.004Z] $ docker rm -f --volumes 302f82ba8ba7ee437e6f50bdfa23d11396bd130a09712ac15b47ed630b280d28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-25T22:52:43.076Z] provisioning config files... [2023-10-25T22:52:43.085Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp/config4241795915792044671tmp [Pipeline] { [Pipeline] sh [2023-10-25T22:52:43.429Z] + set +x [2023-10-25T22:52:43.429Z] + curl -s https://codecov.io/bash [2023-10-25T22:52:43.429Z] + bash -s -- [2023-10-25T22:52:43.429Z] [2023-10-25T22:52:43.429Z] _____ _ [2023-10-25T22:52:43.429Z] / ____| | | [2023-10-25T22:52:43.429Z] | | ___ __| | ___ ___ _____ __ [2023-10-25T22:52:43.429Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-25T22:52:43.429Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-25T22:52:43.429Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-25T22:52:43.429Z] Bash-1.0.6 [2023-10-25T22:52:43.429Z] [2023-10-25T22:52:43.429Z] [2023-10-25T22:52:43.429Z] ==> git version 2.25.1 found [2023-10-25T22:52:43.429Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-25T22:52:43.429Z] Release-Date: 2020-01-08 [2023-10-25T22:52:43.429Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-25T22:52:43.429Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-25T22:52:43.429Z] ==> Jenkins CI detected. [2023-10-25T22:52:43.429Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1529 [2023-10-25T22:52:43.429Z] project root: . [2023-10-25T22:52:43.429Z] --> token set from env [2023-10-25T22:52:43.429Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-25T22:52:43.689Z] ==> Running gcov in . (disable via -X gcov) [2023-10-25T22:52:43.689Z] ==> Python coveragepy not found [2023-10-25T22:52:43.689Z] ==> Searching for coverage reports in: [2023-10-25T22:52:43.689Z] + . [2023-10-25T22:52:43.689Z] -> Found 1 reports [2023-10-25T22:52:43.689Z] ==> Detecting git/mercurial file structure [2023-10-25T22:52:43.689Z] ==> Reading reports [2023-10-25T22:52:43.689Z] + ./coverage.out bytes=122154 [2023-10-25T22:52:43.689Z] ==> Appending adjustments [2023-10-25T22:52:43.689Z] https://docs.codecov.io/docs/fixing-reports [2023-10-25T22:52:43.948Z] + Found adjustments [2023-10-25T22:52:43.948Z] ==> Gzipping contents [2023-10-25T22:52:43.948Z] 20K /tmp/codecov.4B8v3X.gz [2023-10-25T22:52:43.948Z] ==> Uploading reports [2023-10-25T22:52:43.948Z] url: https://codecov.io [2023-10-25T22:52:43.948Z] query: branch=PR-1529&commit=ea1d5005cfc9e707e8208d491a57f10d4b4acf1e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1529%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1529&job=&cmd_args= [2023-10-25T22:52:43.948Z] -> Pinging Codecov [2023-10-25T22:52:43.948Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1529&commit=ea1d5005cfc9e707e8208d491a57f10d4b4acf1e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1529%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1529&job=&cmd_args= [2023-10-25T22:52:44.209Z] -> Uploading to [2023-10-25T22:52:44.209Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-25/7E55EF52A471D76F132DFD9A03CDDE97/ea1d5005cfc9e707e8208d491a57f10d4b4acf1e/d00e0ffa-6b48-4bb5-8968-a420d7b4139d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T225243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7df2813c36b15cac3b758ea7feb4953ef7f20c58a978e1da9eda172015bb6536 [2023-10-25T22:52:44.209Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-25T22:52:44.209Z] Dload Upload Total Spent Left Speed [2023-10-25T22:52:44.470Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16728 0 0 100 16728 0 42242 --:--:-- --:--:-- --:--:-- 42242 [2023-10-25T22:52:44.470Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ea1d5005cfc9e707e8208d491a57f10d4b4acf1e [Pipeline] } [2023-10-25T22:52:44.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-25T22:52:46.340Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1529/archives ] [2023-10-25T22:52:46.340Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1529/archives [2023-10-25T22:52:46.340Z] total 16 [2023-10-25T22:52:46.340Z] drwxr-xr-x 3 root root 4096 Oct 25 22:31 . [2023-10-25T22:52:46.340Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 22:31 .. [2023-10-25T22:52:46.340Z] drwxr-xr-x 2 root root 4096 Oct 25 22:31 cost [2023-10-25T22:52:46.340Z] -rw-r--r-- 1 root root 86 Oct 25 22:31 cost.csv [2023-10-25T22:52:46.340Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1529/archives [2023-10-25T22:52:46.340Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1529/archives [2023-10-25T22:52:46.340Z] total 16 [2023-10-25T22:52:46.340Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:31 . [2023-10-25T22:52:46.340Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 22:31 .. [2023-10-25T22:52:46.340Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 22:31 cost [2023-10-25T22:52:46.340Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 25 22:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:52:46.669Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:52:47.559Z] ---> package-listing.sh [2023-10-25T22:52:47.560Z] ++ facter osfamily [2023-10-25T22:52:47.560Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-25T22:52:47.822Z] + OS_FAMILY=debian [2023-10-25T22:52:47.822Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1529 [2023-10-25T22:52:47.822Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-25T22:52:47.822Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-25T22:52:47.822Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-25T22:52:47.822Z] + PACKAGES=/tmp/packages_start.txt [2023-10-25T22:52:47.822Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1529 ']' [2023-10-25T22:52:47.822Z] + PACKAGES=/tmp/packages_end.txt [2023-10-25T22:52:47.822Z] + case "${OS_FAMILY}" in [2023-10-25T22:52:47.822Z] + dpkg -l [2023-10-25T22:52:47.822Z] + grep '^ii' [2023-10-25T22:52:47.822Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-25T22:52:47.822Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-25T22:52:47.822Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-25T22:52:47.822Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1529 ']' [2023-10-25T22:52:47.822Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1529/archives/ [2023-10-25T22:52:47.822Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1529/archives/ [Pipeline] echo [2023-10-25T22:52:47.856Z] 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-1529/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-25T22:52:48.149Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-25T22:52:48.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-25T22:52:48.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-25T22:52:48.929Z] prd-ubuntu20.04-docker-8c-8g-10446 does not seem to be running inside a container [2023-10-25T22:52:48.964Z] $ 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-1529/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-1529 -v /w/workspace/gexfoundry_device-sdk-go_PR-1529:/w/workspace/gexfoundry_device-sdk-go_PR-1529:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1529@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-10-25T22:52:49.163Z] $ docker top c8c4fe575f2bf9b78881687f18a9cd09bb82e31905f1eab6727b88ea37ce02a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-25T22:52:49.568Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-25T22:52:49.885Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-25T22:52:50.196Z] + ls /var/log/sa-host [2023-10-25T22:52:50.196Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-25T22:52:50.355Z] provisioning config files... [2023-10-25T22:52:50.366Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1529@tmp/config9678177788809400965tmp [Pipeline] { [Pipeline] echo [2023-10-25T22:52:50.420Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:52:50.733Z] ---> create-netrc.sh [Pipeline] } [2023-10-25T22:52:50.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:52:51.163Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-25T22:52:51.195Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:52:51.506Z] ---> sudo-logs.sh [2023-10-25T22:52:51.506Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-25T22:52:51.592Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:52:51.905Z] ---> job-cost.sh [2023-10-25T22:52:51.906Z] lf-activate-venv: SKIPPING [2023-10-25T22:52:51.906Z] DEBUG: total: 0.2199999988079071 [2023-10-25T22:52:51.906Z] INFO: Retrieving Stack Cost... [2023-10-25T22:52:52.165Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-25T22:52:52.736Z] INFO: Archiving Costs [Pipeline] echo [2023-10-25T22:52:52.772Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-25T22:52:53.087Z] ---> logs-deploy.sh [2023-10-25T22:52:53.087Z] lf-activate-venv: SKIPPING [2023-10-25T22:52:53.087Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1529/1 [2023-10-25T22:52:53.087Z] INFO: archiving workspace using pattern(s): [2023-10-25T22:52:54.024Z] Archives upload complete. [2023-10-25T22:52:54.024Z] INFO: archiving logs to Nexus