Pull request #1477 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 349d442d4da267b0cf06bf856b10c4b1ed668afd rather than cdff07ab9e991a57cea7836e0517c5fa2f4ff086 Obtained Jenkinsfile from 349d442d4da267b0cf06bf856b10c4b1ed668afd 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-ssh14143763544392371182.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh1605485751109083486.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-1477/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-1477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7449458778005117526.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-1477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7821691138825990723.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh12807841504710672055.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-1477/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-1477/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18027004136246226788.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1290 in /w/workspace/gexfoundry_device-sdk-go_PR-1477 [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-1477 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 349d442d4da267b0cf06bf856b10c4b1ed668afd into PR head commit cdff07ab9e991a57cea7836e0517c5fa2f4ff086 Merge succeeded, producing cdff07ab9e991a57cea7836e0517c5fa2f4ff086 Checking out Revision cdff07ab9e991a57cea7836e0517c5fa2f4ff086 (PR-1477) > 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/1477/head:refs/remotes/origin/PR-1477 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdff07ab9e991a57cea7836e0517c5fa2f4ff086 # 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 349d442d4da267b0cf06bf856b10c4b1ed668afd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdff07ab9e991a57cea7836e0517c5fa2f4ff086 # timeout=10 Commit message: "feat: Move all the common APIs into go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-17T01:52:28.713Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-17T01:52:28.902Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-17T01:52:29.018Z] ========================================================= [2023-07-17T01:52:29.019Z] EdgeX Global Pipelines Version Info [2023-07-17T01:52:29.019Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-17T01:52:29.764Z] ------------------- [2023-07-17T01:52:29.764Z] stable info: [2023-07-17T01:52:29.764Z] ------------------- [2023-07-17T01:52:29.764Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-17T01:52:29.764Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-17T01:52:29.764Z] Message: update stable to v1.0.250 [2023-07-17T01:52:30.333Z] ------------------- [2023-07-17T01:52:30.333Z] experimental info: [2023-07-17T01:52:30.333Z] ------------------- [2023-07-17T01:52:30.333Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-17T01:52:30.333Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-17T01:52:30.333Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-17T01:52:30.614Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-17T01:52:30.658Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-17T01:52:30.700Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-17T01:52:30.740Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-17T01:52:30.783Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-17T01:52:30.826Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-17T01:52:30.867Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-17T01:52:30.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-17T01:52:30.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-17T01:52:30.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-17T01:52:31.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-17T01:52:31.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-17T01:52:31.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-17T01:52:31.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-17T01:52:31.236Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-17T01:52:31.277Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-17T01:52:31.321Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-17T01:52:31.360Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-17T01:52:31.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-17T01:52:31.443Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-17T01:52:31.486Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-17T01:52:31.523Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-17T01:52:31.558Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-17T01:52:31.594Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-17T01:52:31.637Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-17T01:52:31.677Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-17T01:52:31.720Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-17T01:52:31.764Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1477 [Pipeline] echo [2023-07-17T01:52:31.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1477 [Pipeline] echo [2023-07-17T01:52:31.846Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1477 [Pipeline] echo [2023-07-17T01:52:31.884Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdff07ab9e991a57cea7836e0517c5fa2f4ff086 [Pipeline] echo [2023-07-17T01:52:31.923Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdff07a [Pipeline] echo [2023-07-17T01:52:31.963Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-17T01:52:32.077Z] provisioning config files... [2023-07-17T01:52:32.091Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/config6036196229744023870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T01:52:32.444Z] ---> docker-login.sh [2023-07-17T01:52:32.444Z] nexus3.edgexfoundry.org:10001 [2023-07-17T01:52:32.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:52:32.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:52:32.703Z] Configure a credential helper to remove this warning. See [2023-07-17T01:52:32.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:52:32.703Z] [2023-07-17T01:52:32.703Z] Login Succeeded [2023-07-17T01:52:32.703Z] nexus3.edgexfoundry.org:10002 [2023-07-17T01:52:32.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:52:32.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:52:32.964Z] Configure a credential helper to remove this warning. See [2023-07-17T01:52:32.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:52:32.964Z] [2023-07-17T01:52:32.964Z] Login Succeeded [2023-07-17T01:52:32.964Z] nexus3.edgexfoundry.org:10003 [2023-07-17T01:52:32.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:52:32.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:52:32.964Z] Configure a credential helper to remove this warning. See [2023-07-17T01:52:32.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:52:32.964Z] [2023-07-17T01:52:32.964Z] Login Succeeded [2023-07-17T01:52:32.964Z] nexus3.edgexfoundry.org:10004 [2023-07-17T01:52:32.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:52:33.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:52:33.231Z] Configure a credential helper to remove this warning. See [2023-07-17T01:52:33.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:52:33.231Z] [2023-07-17T01:52:33.231Z] Login Succeeded [2023-07-17T01:52:33.231Z] docker.io [2023-07-17T01:52:33.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:52:33.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:52:33.491Z] Configure a credential helper to remove this warning. See [2023-07-17T01:52:33.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:52:33.491Z] [2023-07-17T01:52:33.491Z] Login Succeeded [2023-07-17T01:52:33.491Z] ---> docker-login.sh ends [Pipeline] } [2023-07-17T01:52:33.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-17T01:52:34.164Z] + git rev-list -1 --merges cdff07ab9e991a57cea7836e0517c5fa2f4ff086~1..cdff07ab9e991a57cea7836e0517c5fa2f4ff086 [Pipeline] echo [2023-07-17T01:52:34.226Z] -----------> git rev-list -1 --merges cdff07ab9e991a57cea7836e0517c5fa2f4ff086~1..cdff07ab9e991a57cea7836e0517c5fa2f4ff086 cdff07ab9e991a57cea7836e0517c5fa2f4ff086 [false] [Pipeline] sh [2023-07-17T01:52:34.533Z] + git log --format=format:%s -1 cdff07ab9e991a57cea7836e0517c5fa2f4ff086 [Pipeline] echo [2023-07-17T01:52:34.570Z] ========================================================= [2023-07-17T01:52:34.570Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-17T01:52:34.570Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-17T01:52:34.988Z] + git log --format=format:%s -1 cdff07ab9e991a57cea7836e0517c5fa2f4ff086 [Pipeline] echo [2023-07-17T01:52:35.023Z] [semverPrep] GIT_COMMIT: cdff07ab9e991a57cea7836e0517c5fa2f4ff086, Commit Message: feat: Move all the common APIs into go-mod-bootstrap [Pipeline] echo [2023-07-17T01:52:35.049Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-17T01:52:35.438Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-17T01:52:35.438Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-17T01:52:35.438Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-17T01:52:35.438Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-17T01:52:35.438Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-17T01:52:35.438Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-17T01:52:35.438Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T01:52:35.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-17T01:52:35.968Z] [2023-07-17T01:52:35.968Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T01:52:36.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-17T01:52:36.351Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-17T01:52:36.351Z] b85a868b505f: Pulling fs layer [2023-07-17T01:52:36.351Z] e2be974225ed: Pulling fs layer [2023-07-17T01:52:36.351Z] 339a4e72a1f5: Pulling fs layer [2023-07-17T01:52:36.351Z] 988bab9f4d93: Pulling fs layer [2023-07-17T01:52:36.351Z] 1469e6f7b9e6: Pulling fs layer [2023-07-17T01:52:36.351Z] eaf3925da568: Pulling fs layer [2023-07-17T01:52:36.351Z] bab4dde63d76: Pulling fs layer [2023-07-17T01:52:36.351Z] bde34c3a00c8: Pulling fs layer [2023-07-17T01:52:36.351Z] b352a97aabf1: Pulling fs layer [2023-07-17T01:52:36.351Z] 4872d77fe225: Pulling fs layer [2023-07-17T01:52:36.351Z] 5851b861e8e6: Pulling fs layer [2023-07-17T01:52:36.351Z] 988bab9f4d93: Waiting [2023-07-17T01:52:36.351Z] 1469e6f7b9e6: Waiting [2023-07-17T01:52:36.351Z] eaf3925da568: Waiting [2023-07-17T01:52:36.351Z] bab4dde63d76: Waiting [2023-07-17T01:52:36.351Z] bde34c3a00c8: Waiting [2023-07-17T01:52:36.351Z] 5851b861e8e6: Waiting [2023-07-17T01:52:36.351Z] b352a97aabf1: Waiting [2023-07-17T01:52:36.351Z] 4872d77fe225: Waiting [2023-07-17T01:52:36.351Z] e2be974225ed: Download complete [2023-07-17T01:52:36.611Z] 988bab9f4d93: Verifying Checksum [2023-07-17T01:52:36.611Z] 988bab9f4d93: Download complete [2023-07-17T01:52:36.611Z] 1469e6f7b9e6: Verifying Checksum [2023-07-17T01:52:36.611Z] 1469e6f7b9e6: Download complete [2023-07-17T01:52:36.611Z] eaf3925da568: Download complete [2023-07-17T01:52:36.611Z] 339a4e72a1f5: Verifying Checksum [2023-07-17T01:52:36.611Z] 339a4e72a1f5: Download complete [2023-07-17T01:52:36.611Z] bde34c3a00c8: Verifying Checksum [2023-07-17T01:52:36.611Z] bde34c3a00c8: Download complete [2023-07-17T01:52:36.611Z] 4872d77fe225: Verifying Checksum [2023-07-17T01:52:36.611Z] 4872d77fe225: Download complete [2023-07-17T01:52:36.611Z] 5851b861e8e6: Download complete [2023-07-17T01:52:36.611Z] b85a868b505f: Verifying Checksum [2023-07-17T01:52:36.611Z] b85a868b505f: Download complete [2023-07-17T01:52:36.869Z] bab4dde63d76: Verifying Checksum [2023-07-17T01:52:36.869Z] bab4dde63d76: Download complete [2023-07-17T01:52:37.805Z] b85a868b505f: Pull complete [2023-07-17T01:52:38.064Z] e2be974225ed: Pull complete [2023-07-17T01:52:38.634Z] 339a4e72a1f5: Pull complete [2023-07-17T01:52:38.634Z] 988bab9f4d93: Pull complete [2023-07-17T01:52:38.895Z] 1469e6f7b9e6: Pull complete [2023-07-17T01:52:38.895Z] eaf3925da568: Pull complete [2023-07-17T01:52:40.797Z] bab4dde63d76: Pull complete [2023-07-17T01:52:40.797Z] bde34c3a00c8: Pull complete [2023-07-17T01:52:41.055Z] b352a97aabf1: Pull complete [2023-07-17T01:52:41.055Z] 4872d77fe225: Pull complete [2023-07-17T01:52:41.055Z] 5851b861e8e6: Pull complete [2023-07-17T01:52:41.055Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-17T01:52:41.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-17T01:52:41.055Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T01:52:41.337Z] prd-ubuntu20.04-docker-8c-8g-1290 does not seem to be running inside a container [2023-07-17T01:52:41.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1477 -v /w/workspace/gexfoundry_device-sdk-go_PR-1477:/w/workspace/gexfoundry_device-sdk-go_PR-1477:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1477@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-devops/py-git-semver:0.1.4 cat [2023-07-17T01:52:44.646Z] $ docker top e2d1b1bee42821abef58fbf9bc140d2d12d44282b3a697e3acc3e7c497663f30 -eo pid,comm [2023-07-17T01:52:44.692Z] 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-07-17T01:52:44.692Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-17T01:52:44.814Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-17T01:52:44.814Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-17T01:52:44.909Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-17T01:52:44.915Z] $ docker exec e2d1b1bee42821abef58fbf9bc140d2d12d44282b3a697e3acc3e7c497663f30 ssh-agent [2023-07-17T01:52:45.021Z] SSH_AUTH_SOCK=/tmp/ssh-KRT845jUKwbC/agent.32 [2023-07-17T01:52:45.022Z] SSH_AGENT_PID=38 [2023-07-17T01:52:45.027Z] Running ssh-add (command line suppressed) [2023-07-17T01:52:45.132Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/private_key_16690523496616252466.key (/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/private_key_16690523496616252466.key) [2023-07-17T01:52:45.146Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-17T01:52:45.473Z] + git tag --points-at HEAD [Pipeline] } [2023-07-17T01:52:45.502Z] $ docker exec --env ******** --env ******** e2d1b1bee42821abef58fbf9bc140d2d12d44282b3a697e3acc3e7c497663f30 ssh-agent -k [2023-07-17T01:52:45.594Z] unset SSH_AUTH_SOCK; [2023-07-17T01:52:45.595Z] unset SSH_AGENT_PID; [2023-07-17T01:52:45.595Z] echo Agent pid 38 killed; [2023-07-17T01:52:45.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-17T01:52:45.681Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-17T01:52:45.681Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-17T01:52:45.792Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-17T01:52:45.797Z] $ docker exec e2d1b1bee42821abef58fbf9bc140d2d12d44282b3a697e3acc3e7c497663f30 ssh-agent [2023-07-17T01:52:45.902Z] SSH_AUTH_SOCK=/tmp/ssh-eXn86deSihMB/agent.70 [2023-07-17T01:52:45.902Z] SSH_AGENT_PID=76 [2023-07-17T01:52:45.907Z] Running ssh-add (command line suppressed) [2023-07-17T01:52:46.008Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/private_key_11496432959388332334.key (/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/private_key_11496432959388332334.key) [2023-07-17T01:52:46.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-17T01:52:46.344Z] + git semver init [2023-07-17T01:52:46.603Z] 2023-07-17 01:52:46,528 [run_init] DEBUG init version:0.0.0 force:False [2023-07-17T01:52:46.603Z] 2023-07-17 01:52:46,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver [2023-07-17T01:52:46.603Z] 2023-07-17 01:52:46,529 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver [2023-07-17T01:52:46.603Z] 2023-07-17 01:52:46,529 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1477, universal_newlines=False, shell=None, istream=None) [2023-07-17T01:52:47.543Z] 2023-07-17 01:52:47,502 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477/.git/info/exclude [2023-07-17T01:52:47.543Z] 2023-07-17 01:52:47,503 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver/PR-1477 with force:False [2023-07-17T01:52:47.543Z] 2023-07-17 01:52:47,504 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver/PR-1477 [2023-07-17T01:52:47.543Z] 2023-07-17 01:52:47,507 [execute] INFO git cat-file --batch-check [2023-07-17T01:52:47.543Z] 2023-07-17 01:52:47,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver, universal_newlines=False, shell=None, istream=) [2023-07-17T01:52:47.543Z] 2023-07-17 01:52:47,514 [execute] INFO git cat-file --batch [2023-07-17T01:52:47.543Z] 2023-07-17 01:52:47,514 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver, universal_newlines=False, shell=None, istream=) [2023-07-17T01:52:47.543Z] 2023-07-17 01:52:47,520 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1477/.semver/PR-1477 [2023-07-17T01:52:47.543Z] 0.0.0 [Pipeline] } [2023-07-17T01:52:47.573Z] $ docker exec --env ******** --env ******** e2d1b1bee42821abef58fbf9bc140d2d12d44282b3a697e3acc3e7c497663f30 ssh-agent -k [2023-07-17T01:52:47.659Z] unset SSH_AUTH_SOCK; [2023-07-17T01:52:47.660Z] unset SSH_AGENT_PID; [2023-07-17T01:52:47.661Z] echo Agent pid 76 killed; [2023-07-17T01:52:47.665Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-17T01:52:48.087Z] + git semver [Pipeline] } [2023-07-17T01:52:48.374Z] $ docker stop --time=1 e2d1b1bee42821abef58fbf9bc140d2d12d44282b3a697e3acc3e7c497663f30 [2023-07-17T01:52:49.660Z] $ docker rm -f --volumes e2d1b1bee42821abef58fbf9bc140d2d12d44282b3a697e3acc3e7c497663f30 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-17T01:52:50.051Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-17T01:52:50.367Z] Stashed 1 file(s) [Pipeline] echo [2023-07-17T01:52:50.383Z] [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-07-17T01:52:51.003Z] provisioning config files... [2023-07-17T01:52:51.017Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/config10928865085757976880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T01:52:51.361Z] ---> docker-login.sh [2023-07-17T01:52:51.361Z] nexus3.edgexfoundry.org:10001 [2023-07-17T01:52:51.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:52:51.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:52:51.361Z] Configure a credential helper to remove this warning. See [2023-07-17T01:52:51.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:52:51.361Z] [2023-07-17T01:52:51.361Z] Login Succeeded [2023-07-17T01:52:51.361Z] nexus3.edgexfoundry.org:10002 [2023-07-17T01:52:51.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:52:51.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:52:51.361Z] Configure a credential helper to remove this warning. See [2023-07-17T01:52:51.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:52:51.361Z] [2023-07-17T01:52:51.361Z] Login Succeeded [2023-07-17T01:52:51.361Z] nexus3.edgexfoundry.org:10003 [2023-07-17T01:52:51.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:52:51.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:52:51.621Z] Configure a credential helper to remove this warning. See [2023-07-17T01:52:51.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:52:51.621Z] [2023-07-17T01:52:51.621Z] Login Succeeded [2023-07-17T01:52:51.621Z] nexus3.edgexfoundry.org:10004 [2023-07-17T01:52:51.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:52:51.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:52:51.621Z] Configure a credential helper to remove this warning. See [2023-07-17T01:52:51.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:52:51.621Z] [2023-07-17T01:52:51.621Z] Login Succeeded [2023-07-17T01:52:51.621Z] docker.io [2023-07-17T01:52:51.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:52:51.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:52:51.880Z] Configure a credential helper to remove this warning. See [2023-07-17T01:52:51.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:52:51.880Z] [2023-07-17T01:52:51.880Z] Login Succeeded [2023-07-17T01:52:51.880Z] ---> docker-login.sh ends [Pipeline] } [2023-07-17T01:52:51.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-17T01:52:52.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-17T01:52:52.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-17T01:52:52.191Z] ========================================================= [2023-07-17T01:52:52.191Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-17T01:52:52.191Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T01:52:52.657Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-17T01:52:52.657Z] Sending build context to Docker daemon 10.94MB [2023-07-17T01:52:52.657Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-17T01:52:52.657Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-17T01:52:52.657Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-17T01:52:52.657Z] 4db1b89c0bd1: Pulling fs layer [2023-07-17T01:52:52.657Z] 6911f1a30b25: Pulling fs layer [2023-07-17T01:52:52.657Z] e194b8c5c2a9: Pulling fs layer [2023-07-17T01:52:52.657Z] 6863d3e3a2b1: Pulling fs layer [2023-07-17T01:52:52.657Z] ec0bb842ea78: Pulling fs layer [2023-07-17T01:52:52.657Z] 40a00589a448: Pulling fs layer [2023-07-17T01:52:52.657Z] 6c08303d61cc: Pulling fs layer [2023-07-17T01:52:52.657Z] 798269fcf238: Pulling fs layer [2023-07-17T01:52:52.657Z] 6863d3e3a2b1: Waiting [2023-07-17T01:52:52.657Z] ec0bb842ea78: Waiting [2023-07-17T01:52:52.657Z] 40a00589a448: Waiting [2023-07-17T01:52:52.657Z] 6c08303d61cc: Waiting [2023-07-17T01:52:52.657Z] 798269fcf238: Waiting [2023-07-17T01:52:52.657Z] 6911f1a30b25: Download complete [2023-07-17T01:52:52.918Z] 6863d3e3a2b1: Verifying Checksum [2023-07-17T01:52:52.918Z] ec0bb842ea78: Download complete [2023-07-17T01:52:52.918Z] 4db1b89c0bd1: Verifying Checksum [2023-07-17T01:52:52.918Z] 4db1b89c0bd1: Download complete [2023-07-17T01:52:52.918Z] 40a00589a448: Verifying Checksum [2023-07-17T01:52:52.918Z] 40a00589a448: Download complete [2023-07-17T01:52:52.918Z] 4db1b89c0bd1: Pull complete [2023-07-17T01:52:53.177Z] 6911f1a30b25: Pull complete [2023-07-17T01:52:53.436Z] 798269fcf238: Download complete [2023-07-17T01:52:53.436Z] e194b8c5c2a9: Verifying Checksum [2023-07-17T01:52:53.436Z] e194b8c5c2a9: Download complete [2023-07-17T01:52:53.695Z] 6c08303d61cc: Verifying Checksum [2023-07-17T01:52:53.695Z] 6c08303d61cc: Download complete [2023-07-17T01:52:56.979Z] e194b8c5c2a9: Pull complete [2023-07-17T01:52:56.979Z] 6863d3e3a2b1: Pull complete [2023-07-17T01:52:57.239Z] ec0bb842ea78: Pull complete [2023-07-17T01:52:57.239Z] 40a00589a448: Pull complete [2023-07-17T01:52:59.768Z] 6c08303d61cc: Pull complete [2023-07-17T01:53:00.711Z] 798269fcf238: Pull complete [2023-07-17T01:53:00.711Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-17T01:53:00.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-17T01:53:00.711Z] ---> ec979cd7f677 [2023-07-17T01:53:00.711Z] Step 3/10 : ARG MAKE=make build [2023-07-17T01:53:05.806Z] Still waiting to schedule task [2023-07-17T01:53:05.806Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1288’ [2023-07-17T01:53:06.056Z] ---> Running in 345891059ed7 [2023-07-17T01:53:06.056Z] Removing intermediate container 345891059ed7 [2023-07-17T01:53:06.056Z] ---> d480da14cfc3 [2023-07-17T01:53:06.056Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-17T01:53:06.056Z] ---> Running in dee24b639574 [2023-07-17T01:53:06.056Z] Removing intermediate container dee24b639574 [2023-07-17T01:53:06.056Z] ---> adbe6537c6d3 [2023-07-17T01:53:06.056Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-17T01:53:06.056Z] ---> Running in cf3371b24f78 [2023-07-17T01:53:06.056Z] Removing intermediate container cf3371b24f78 [2023-07-17T01:53:06.056Z] ---> 571ce32fa604 [2023-07-17T01:53:06.056Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-17T01:53:06.056Z] ---> Running in 5b9b84e02a59 [2023-07-17T01:53:06.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-17T01:53:06.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-17T01:53:06.313Z] OK: 265 MiB in 53 packages [2023-07-17T01:53:06.572Z] Removing intermediate container 5b9b84e02a59 [2023-07-17T01:53:06.572Z] ---> ed7e145eadff [2023-07-17T01:53:06.572Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-17T01:53:06.831Z] ---> 8eded9431c06 [2023-07-17T01:53:06.831Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-17T01:53:06.831Z] ---> Running in 18410d204980 [2023-07-17T01:53:39.070Z] Removing intermediate container 18410d204980 [2023-07-17T01:53:39.070Z] ---> f9cdfc2aa962 [2023-07-17T01:53:39.070Z] Step 9/10 : COPY . . [2023-07-17T01:53:39.070Z] ---> f44199a7340d [2023-07-17T01:53:39.070Z] Step 10/10 : RUN ${MAKE} [2023-07-17T01:53:39.070Z] ---> Running in c47b5eaf29ce [2023-07-17T01:53:39.070Z] noop [2023-07-17T01:53:39.329Z] Removing intermediate container c47b5eaf29ce [2023-07-17T01:53:39.329Z] ---> a6d8ce11639f [2023-07-17T01:53:39.329Z] Successfully built a6d8ce11639f [2023-07-17T01:53:39.329Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T01:53:39.784Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-17T01:53:39.784Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T01:53:39.940Z] prd-ubuntu20.04-docker-8c-8g-1290 does not seem to be running inside a container [2023-07-17T01:53:39.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1477 -v /w/workspace/gexfoundry_device-sdk-go_PR-1477:/w/workspace/gexfoundry_device-sdk-go_PR-1477:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-17T01:53:40.300Z] $ docker top c9e89dd8d6b8c1563211bc8b7b2d61e4193ae3c7e268fb0baa7bcf2dddeb87b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T01:53:40.698Z] + go version [2023-07-17T01:53:40.698Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-17T01:53:40.734Z] $ docker stop --time=1 c9e89dd8d6b8c1563211bc8b7b2d61e4193ae3c7e268fb0baa7bcf2dddeb87b5 [2023-07-17T01:53:41.975Z] $ docker rm -f --volumes c9e89dd8d6b8c1563211bc8b7b2d61e4193ae3c7e268fb0baa7bcf2dddeb87b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T01:53:42.671Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-17T01:53:42.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T01:53:42.830Z] prd-ubuntu20.04-docker-8c-8g-1290 does not seem to be running inside a container [2023-07-17T01:53:42.868Z] $ 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-1477 -v /w/workspace/gexfoundry_device-sdk-go_PR-1477:/w/workspace/gexfoundry_device-sdk-go_PR-1477:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-17T01:53:43.204Z] $ docker top 5205a2bda6dfaa6c17ffa4703d56fa565a68bb0e3fab20c7c7fe1147b87dce4f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T01:53:43.603Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1477 [Pipeline] fileExists [Pipeline] sh [2023-07-17T01:53:43.972Z] + make test [2023-07-17T01:53:43.972Z] go test -race -coverprofile=coverage.out ./... [2023-07-17T01:53:50.824Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-17T01:54:03.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-17T01:54:03.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-17T01:54:03.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-17T01:54:03.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-17T01:54:03.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-17T01:54:03.762Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.050s coverage: 27.6% of statements [2023-07-17T01:54:04.021Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-17T01:54:04.021Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-17T01:54:04.021Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.073s coverage: 80.2% of statements [2023-07-17T01:54:04.021Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.074s coverage: 86.0% of statements [2023-07-17T01:54:04.588Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-17T01:54:04.588Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.084s coverage: 70.6% of statements [2023-07-17T01:54:04.847Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-17T01:54:05.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-17T01:54:05.106Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-17T01:54:05.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-17T01:54:08.229Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.070s coverage: 14.3% of statements [2023-07-17T01:54:08.229Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-07-17T01:54:08.229Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.112s coverage: 89.2% of statements [2023-07-17T01:54:08.229Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 5.6% of statements [2023-07-17T01:54:30.151Z] GO111MODULE=on go vet ./... [2023-07-17T01:54:32.051Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-17T01:54:32.051Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-17T01:54:32.051Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-17T01:54:32.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-17T01:54:32.370Z] $ docker stop --time=1 5205a2bda6dfaa6c17ffa4703d56fa565a68bb0e3fab20c7c7fe1147b87dce4f [2023-07-17T01:54:37.158Z] $ docker rm -f --volumes 5205a2bda6dfaa6c17ffa4703d56fa565a68bb0e3fab20c7c7fe1147b87dce4f [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-17T01:54:37.805Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-17T01:54:37.890Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-17T01:54:38.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-17T01:54:38.912Z] + ls -al . [2023-07-17T01:54:38.912Z] total 284 [2023-07-17T01:54:38.912Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 17 01:53 . [2023-07-17T01:54:38.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 01:52 .. [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 17 01:52 .dockerignore [2023-07-17T01:54:38.912Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 01:52 .git [2023-07-17T01:54:38.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 01:52 .github [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 17 01:52 .gitignore [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 17 01:52 .golangci.yml [2023-07-17T01:54:38.912Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 01:52 .semver [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 17 01:52 CHANGELOG.md [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 01:52 GOVERNANCE.md [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 17 01:52 Jenkinsfile [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 17 01:52 LICENSE [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 17 01:52 Makefile [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 17 01:52 OWNERS.md [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 17 01:52 README.md [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 01:52 VERSION [2023-07-17T01:54:38.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 01:52 bin [2023-07-17T01:54:38.912Z] -rw-r--r-- 1 jenkins jenkins 104687 Jul 17 01:54 coverage.out [2023-07-17T01:54:38.912Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 17 01:52 example [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 3594 Jul 17 01:52 go.mod [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 32183 Jul 17 01:52 go.sum [2023-07-17T01:54:38.912Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 17 01:52 internal [2023-07-17T01:54:38.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 01:52 openapi [2023-07-17T01:54:38.912Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 17 01:52 pkg [2023-07-17T01:54:38.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 01:52 snap [2023-07-17T01:54:38.912Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 17 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T01:54:39.311Z] + 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=cdff07ab9e991a57cea7836e0517c5fa2f4ff086 --label arch=amd64 --label version=0.0.0 . [2023-07-17T01:54:39.311Z] Sending build context to Docker daemon 11.04MB [2023-07-17T01:54:39.311Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-17T01:54:39.311Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-17T01:54:39.311Z] ---> a6d8ce11639f [2023-07-17T01:54:39.311Z] Step 3/23 : ARG MAKE=make build [2023-07-17T01:54:39.570Z] ---> Running in 2ca8f2a26000 [2023-07-17T01:54:39.828Z] Removing intermediate container 2ca8f2a26000 [2023-07-17T01:54:39.829Z] ---> 83098efb58b9 [2023-07-17T01:54:39.829Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-17T01:54:39.829Z] ---> Running in d8d4c4252f48 [2023-07-17T01:54:39.829Z] Removing intermediate container d8d4c4252f48 [2023-07-17T01:54:39.829Z] ---> 7bd9f9967c45 [2023-07-17T01:54:39.829Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-17T01:54:39.829Z] ---> Running in c0860b34fc27 [2023-07-17T01:54:39.829Z] Removing intermediate container c0860b34fc27 [2023-07-17T01:54:39.829Z] ---> c05529d8bec6 [2023-07-17T01:54:39.829Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-17T01:54:39.829Z] ---> Running in 38d409f562a6 [2023-07-17T01:54:40.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-17T01:54:40.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-17T01:54:40.654Z] OK: 265 MiB in 53 packages [2023-07-17T01:54:40.912Z] Removing intermediate container 38d409f562a6 [2023-07-17T01:54:40.912Z] ---> 6c213b67e0f8 [2023-07-17T01:54:40.912Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-17T01:54:41.170Z] ---> 8fc4b9e83265 [2023-07-17T01:54:41.170Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-17T01:54:41.170Z] ---> Running in 7850e78fab9c [2023-07-17T01:54:41.738Z] Removing intermediate container 7850e78fab9c [2023-07-17T01:54:41.738Z] ---> 8883d5021ac0 [2023-07-17T01:54:41.738Z] Step 9/23 : COPY . . [2023-07-17T01:54:42.682Z] ---> ca9a406bfd21 [2023-07-17T01:54:42.682Z] Step 10/23 : RUN ${MAKE} [2023-07-17T01:54:42.682Z] ---> Running in 93726e96c48d [2023-07-17T01:54:42.682Z] 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-07-17T01:55:04.635Z] Removing intermediate container 93726e96c48d [2023-07-17T01:55:04.635Z] ---> c6f91c0a8015 [2023-07-17T01:55:04.635Z] Step 11/23 : FROM alpine:3.17 [2023-07-17T01:55:04.635Z] 3.17: Pulling from library/alpine [2023-07-17T01:55:04.635Z] 4db1b89c0bd1: Already exists [2023-07-17T01:55:04.635Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-17T01:55:04.635Z] Status: Downloaded newer image for alpine:3.17 [2023-07-17T01:55:04.636Z] ---> 1f73a9d63274 [2023-07-17T01:55:04.636Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-17T01:55:04.636Z] ---> Running in 056200f1215a [2023-07-17T01:55:04.636Z] Removing intermediate container 056200f1215a [2023-07-17T01:55:04.636Z] ---> 790b63661037 [2023-07-17T01:55:04.636Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-17T01:55:04.636Z] ---> Running in e8d04397ae43 [2023-07-17T01:55:04.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-17T01:55:05.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-17T01:55:05.410Z] OK: 7 MiB in 15 packages [2023-07-17T01:55:05.667Z] Removing intermediate container e8d04397ae43 [2023-07-17T01:55:05.668Z] ---> 234f02859504 [2023-07-17T01:55:05.668Z] Step 14/23 : WORKDIR / [2023-07-17T01:55:05.925Z] ---> Running in 7c0404e291b7 [2023-07-17T01:55:05.925Z] Removing intermediate container 7c0404e291b7 [2023-07-17T01:55:05.925Z] ---> 41e88619a6b2 [2023-07-17T01:55:05.925Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-17T01:55:05.925Z] ---> b5e2719dcee2 [2023-07-17T01:55:05.925Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-17T01:55:07.300Z] ---> 9066e3eae116 [2023-07-17T01:55:07.300Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-17T01:55:07.559Z] ---> 11a9d04adf3d [2023-07-17T01:55:07.559Z] Step 18/23 : EXPOSE 59999 [2023-07-17T01:55:07.559Z] ---> Running in af5057e3cb51 [2023-07-17T01:55:07.559Z] Removing intermediate container af5057e3cb51 [2023-07-17T01:55:07.559Z] ---> 1ca270a9445c [2023-07-17T01:55:07.559Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-17T01:55:07.559Z] ---> Running in 94d7acaef421 [2023-07-17T01:55:07.559Z] Removing intermediate container 94d7acaef421 [2023-07-17T01:55:07.559Z] ---> 09f1097e727f [2023-07-17T01:55:07.559Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-17T01:55:07.818Z] ---> Running in 3af1b2513011 [2023-07-17T01:55:07.818Z] Removing intermediate container 3af1b2513011 [2023-07-17T01:55:07.818Z] ---> 8f1212b1c33e [2023-07-17T01:55:07.818Z] Step 21/23 : LABEL arch=amd64 [2023-07-17T01:55:07.818Z] ---> Running in 3d7d8676640e [2023-07-17T01:55:07.818Z] Removing intermediate container 3d7d8676640e [2023-07-17T01:55:07.818Z] ---> 6bba44e10929 [2023-07-17T01:55:07.818Z] Step 22/23 : LABEL git_sha=cdff07ab9e991a57cea7836e0517c5fa2f4ff086 [2023-07-17T01:55:07.818Z] ---> Running in 0486bc87cbf4 [2023-07-17T01:55:07.818Z] Removing intermediate container 0486bc87cbf4 [2023-07-17T01:55:07.818Z] ---> b1ca0e11286d [2023-07-17T01:55:07.818Z] Step 23/23 : LABEL version=0.0.0 [2023-07-17T01:55:08.077Z] ---> Running in c65cd11f8acf [2023-07-17T01:55:08.077Z] Removing intermediate container c65cd11f8acf [2023-07-17T01:55:08.077Z] ---> a65e68355982 [2023-07-17T01:55:08.077Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-17T01:55:08.077Z] Successfully built a65e68355982 [2023-07-17T01:55:08.077Z] 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-07-17T01:55:08.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T01:55:08.971Z] [2023-07-17T01:55:08.971Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T01:55:09.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T01:55:09.351Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-17T01:55:09.351Z] 5eb5b503b376: Pulling fs layer [2023-07-17T01:55:09.351Z] 5c69ac0246d0: Pulling fs layer [2023-07-17T01:55:09.351Z] ec43610c2a17: Pulling fs layer [2023-07-17T01:55:09.351Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-17T01:55:09.351Z] 33b1e0a273af: Pulling fs layer [2023-07-17T01:55:09.351Z] 5d3b04190fa2: Pulling fs layer [2023-07-17T01:55:09.351Z] 2f39f015ded8: Pulling fs layer [2023-07-17T01:55:09.351Z] 3a2ae6a8a46f: Waiting [2023-07-17T01:55:09.351Z] 5d3b04190fa2: Waiting [2023-07-17T01:55:09.351Z] 2f39f015ded8: Waiting [2023-07-17T01:55:09.351Z] 33b1e0a273af: Waiting [2023-07-17T01:55:09.351Z] 5c69ac0246d0: Download complete [2023-07-17T01:55:09.351Z] 3a2ae6a8a46f: Download complete [2023-07-17T01:55:09.351Z] 33b1e0a273af: Verifying Checksum [2023-07-17T01:55:09.351Z] 33b1e0a273af: Download complete [2023-07-17T01:55:09.351Z] 5d3b04190fa2: Verifying Checksum [2023-07-17T01:55:09.351Z] 5d3b04190fa2: Download complete [2023-07-17T01:55:09.351Z] ec43610c2a17: Verifying Checksum [2023-07-17T01:55:09.351Z] ec43610c2a17: Download complete [2023-07-17T01:55:09.610Z] 5eb5b503b376: Verifying Checksum [2023-07-17T01:55:09.611Z] 5eb5b503b376: Download complete [2023-07-17T01:55:10.176Z] 2f39f015ded8: Download complete [2023-07-17T01:55:10.741Z] 5eb5b503b376: Pull complete [2023-07-17T01:55:10.741Z] 5c69ac0246d0: Pull complete [2023-07-17T01:55:11.309Z] ec43610c2a17: Pull complete [2023-07-17T01:55:11.309Z] 3a2ae6a8a46f: Pull complete [2023-07-17T01:55:11.309Z] 33b1e0a273af: Pull complete [2023-07-17T01:55:11.567Z] 5d3b04190fa2: Pull complete [2023-07-17T01:55:15.751Z] 2f39f015ded8: Pull complete [2023-07-17T01:55:15.751Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-17T01:55:15.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T01:55:15.752Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T01:55:15.982Z] prd-ubuntu20.04-docker-8c-8g-1290 does not seem to be running inside a container [2023-07-17T01:55:16.009Z] $ 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-1477 -v /w/workspace/gexfoundry_device-sdk-go_PR-1477:/w/workspace/gexfoundry_device-sdk-go_PR-1477:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-17T01:55:21.430Z] $ docker top fca0670d8cf9982979ea5f98dc372f99574ccfd68be949b6fcc49d94e02de3ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T01:55:21.859Z] ---> job-cost.sh [2023-07-17T01:55:21.859Z] lf-activate-venv: SKIPPING [2023-07-17T01:55:21.859Z] INFO: No Stack... [2023-07-17T01:55:22.426Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-17T01:55:22.685Z] INFO: Archiving Costs [Pipeline] sh [2023-07-17T01:55:25.705Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives/cost.csv [2023-07-17T01:55:25.705Z] + cut -d, -f6 [Pipeline] lock [2023-07-17T01:55:25.744Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1477-1-stack-cost] [2023-07-17T01:55:25.749Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1477-1-stack-cost] did not exist. Created. [2023-07-17T01:55:25.749Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1477-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-17T01:55:26.148Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-17T01:55:26.202Z] Stashed 1 file(s) [Pipeline] } [2023-07-17T01:55:26.231Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1477-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-17T01:55:26.313Z] $ docker stop --time=1 fca0670d8cf9982979ea5f98dc372f99574ccfd68be949b6fcc49d94e02de3ae [2023-07-17T01:55:27.454Z] $ docker rm -f --volumes fca0670d8cf9982979ea5f98dc372f99574ccfd68be949b6fcc49d94e02de3ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-17T01:55:55.842Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1291 in /w/workspace/gexfoundry_device-sdk-go_PR-1477 [Pipeline] { [Pipeline] ws [2023-07-17T01:55:55.900Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-07-17T01:55:55.977Z] The recommended git tool is: git [2023-07-17T01:56:01.720Z] using credential edgex-jenkins-ssh [2023-07-17T01:56:01.736Z] Cloning the remote Git repository [2023-07-17T01:56:01.776Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-17T01:56:01.868Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-07-17T01:56:02.000Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-17T01:56:02.001Z] > git --version # timeout=10 [2023-07-17T01:56:02.025Z] > git --version # 'git version 2.25.1' [2023-07-17T01:56:02.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-17T01:56:02.185Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-17T01:56:03.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-17T01:56:03.718Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-17T01:56:04.523Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-17T01:56:04.559Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-17T01:56:04.560Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-17T01:56:04.573Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1477/head:refs/remotes/origin/PR-1477 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-17T01:56:05.181Z] Merging remotes/origin/main commit 349d442d4da267b0cf06bf856b10c4b1ed668afd into PR head commit cdff07ab9e991a57cea7836e0517c5fa2f4ff086 [2023-07-17T01:56:05.469Z] Merge succeeded, producing cdff07ab9e991a57cea7836e0517c5fa2f4ff086 [2023-07-17T01:56:05.469Z] Checking out Revision cdff07ab9e991a57cea7836e0517c5fa2f4ff086 (PR-1477) [2023-07-17T01:56:05.200Z] > git config core.sparsecheckout # timeout=10 [2023-07-17T01:56:05.265Z] > git checkout -f cdff07ab9e991a57cea7836e0517c5fa2f4ff086 # timeout=10 [2023-07-17T01:56:05.364Z] > git remote # timeout=10 [2023-07-17T01:56:05.383Z] > git config --get remote.origin.url # timeout=10 [2023-07-17T01:56:05.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-17T01:56:05.418Z] > git merge 349d442d4da267b0cf06bf856b10c4b1ed668afd # timeout=10 [2023-07-17T01:56:05.448Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-17T01:56:05.475Z] > git config core.sparsecheckout # timeout=10 [2023-07-17T01:56:05.487Z] > git checkout -f cdff07ab9e991a57cea7836e0517c5fa2f4ff086 # timeout=10 [2023-07-17T01:56:08.968Z] Commit message: "feat: Move all the common APIs into go-mod-bootstrap" [2023-07-17T01:56:09.019Z] > git --version # timeout=10 [2023-07-17T01:56:09.029Z] > git --version # 'git version 2.25.1' [2023-07-17T01:56:09.044Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-17T01:56:10.205Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-17T01:56:10.206Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-17T01:56:10.206Z] Dload Upload Total Spent Left Speed [2023-07-17T01:56:10.206Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-07-17T01:56:10.980Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-17T01:56:11.327Z] + sudo tee /etc/docker/daemon.new [2023-07-17T01:56:11.327Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-17T01:56:11.327Z] { [2023-07-17T01:56:11.327Z] "registry-mirrors": [ [2023-07-17T01:56:11.327Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-17T01:56:11.327Z] ], [2023-07-17T01:56:11.327Z] "bip": "10.250.0.254/24", [2023-07-17T01:56:11.327Z] "hosts": [ [2023-07-17T01:56:11.327Z] "tcp://0.0.0.0:5555", [2023-07-17T01:56:11.327Z] "unix:///var/run/docker.sock" [2023-07-17T01:56:11.327Z] ], [2023-07-17T01:56:11.327Z] "mtu": 1458, [2023-07-17T01:56:11.327Z] "selinux-enabled": true, [2023-07-17T01:56:11.327Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-17T01:56:11.327Z] } [Pipeline] sh [2023-07-17T01:56:11.671Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-17T01:56:12.014Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-17T01:56:30.320Z] provisioning config files... [2023-07-17T01:56:30.343Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1378134101134324535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T01:56:30.720Z] ---> docker-login.sh [2023-07-17T01:56:30.720Z] nexus3.edgexfoundry.org:10001 [2023-07-17T01:56:30.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:56:31.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:56:31.256Z] Configure a credential helper to remove this warning. See [2023-07-17T01:56:31.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:56:31.256Z] [2023-07-17T01:56:31.256Z] Login Succeeded [2023-07-17T01:56:31.256Z] nexus3.edgexfoundry.org:10002 [2023-07-17T01:56:31.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:56:31.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:56:31.523Z] Configure a credential helper to remove this warning. See [2023-07-17T01:56:31.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:56:31.523Z] [2023-07-17T01:56:31.523Z] Login Succeeded [2023-07-17T01:56:31.523Z] nexus3.edgexfoundry.org:10003 [2023-07-17T01:56:31.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:56:31.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:56:31.789Z] Configure a credential helper to remove this warning. See [2023-07-17T01:56:31.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:56:31.789Z] [2023-07-17T01:56:31.789Z] Login Succeeded [2023-07-17T01:56:32.057Z] nexus3.edgexfoundry.org:10004 [2023-07-17T01:56:32.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:56:32.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:56:32.326Z] Configure a credential helper to remove this warning. See [2023-07-17T01:56:32.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:56:32.326Z] [2023-07-17T01:56:32.326Z] Login Succeeded [2023-07-17T01:56:32.326Z] docker.io [2023-07-17T01:56:32.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T01:56:32.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T01:56:32.595Z] Configure a credential helper to remove this warning. See [2023-07-17T01:56:32.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T01:56:32.595Z] [2023-07-17T01:56:32.595Z] Login Succeeded [2023-07-17T01:56:32.595Z] ---> docker-login.sh ends [Pipeline] } [2023-07-17T01:56:32.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-17T01:56:32.987Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-17T01:56:33.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-17T01:56:33.058Z] ========================================================= [2023-07-17T01:56:33.058Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-17T01:56:33.058Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T01:56:33.572Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-17T01:56:33.841Z] Sending build context to Docker daemon 5.831MB [2023-07-17T01:56:33.841Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-17T01:56:33.841Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-17T01:56:34.112Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-17T01:56:34.112Z] edb6bdbacee9: Pulling fs layer [2023-07-17T01:56:34.112Z] 5f9638ab2659: Pulling fs layer [2023-07-17T01:56:34.112Z] 8d51d6327a98: Pulling fs layer [2023-07-17T01:56:34.112Z] 8b374f2dd631: Pulling fs layer [2023-07-17T01:56:34.112Z] ec14aa9079de: Pulling fs layer [2023-07-17T01:56:34.112Z] 2f466654f4bb: Pulling fs layer [2023-07-17T01:56:34.112Z] 554e91adad29: Pulling fs layer [2023-07-17T01:56:34.112Z] 8b374f2dd631: Waiting [2023-07-17T01:56:34.112Z] ec14aa9079de: Waiting [2023-07-17T01:56:34.112Z] 2f466654f4bb: Waiting [2023-07-17T01:56:34.112Z] 554e91adad29: Waiting [2023-07-17T01:56:34.112Z] 5f9638ab2659: Verifying Checksum [2023-07-17T01:56:34.112Z] 5f9638ab2659: Download complete [2023-07-17T01:56:34.112Z] 8b374f2dd631: Verifying Checksum [2023-07-17T01:56:34.112Z] 8b374f2dd631: Download complete [2023-07-17T01:56:34.112Z] ec14aa9079de: Verifying Checksum [2023-07-17T01:56:34.112Z] ec14aa9079de: Download complete [2023-07-17T01:56:34.112Z] edb6bdbacee9: Verifying Checksum [2023-07-17T01:56:34.112Z] edb6bdbacee9: Download complete [2023-07-17T01:56:35.089Z] edb6bdbacee9: Pull complete [2023-07-17T01:56:35.358Z] 554e91adad29: Download complete [2023-07-17T01:56:36.770Z] 2f466654f4bb: Verifying Checksum [2023-07-17T01:56:36.770Z] 2f466654f4bb: Download complete [2023-07-17T01:56:36.770Z] 8d51d6327a98: Verifying Checksum [2023-07-17T01:56:36.770Z] 8d51d6327a98: Download complete [2023-07-17T01:56:38.717Z] 5f9638ab2659: Pull complete [2023-07-17T01:56:53.728Z] 8d51d6327a98: Pull complete [2023-07-17T01:56:53.728Z] 8b374f2dd631: Pull complete [2023-07-17T01:56:53.728Z] ec14aa9079de: Pull complete [2023-07-17T01:56:59.097Z] 2f466654f4bb: Pull complete [2023-07-17T01:57:01.689Z] 554e91adad29: Pull complete [2023-07-17T01:57:01.689Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-17T01:57:01.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-17T01:57:01.689Z] ---> 1e15ea492957 [2023-07-17T01:57:01.689Z] Step 3/10 : ARG MAKE=make build [2023-07-17T01:57:03.641Z] ---> Running in 8251958c888d [2023-07-17T01:57:03.641Z] Removing intermediate container 8251958c888d [2023-07-17T01:57:03.641Z] ---> 72188f751959 [2023-07-17T01:57:03.641Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-17T01:57:03.641Z] ---> Running in 03910a03a9ef [2023-07-17T01:57:03.907Z] Removing intermediate container 03910a03a9ef [2023-07-17T01:57:03.907Z] ---> 128cdc22e316 [2023-07-17T01:57:03.907Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-17T01:57:04.174Z] ---> Running in 8868366a0f9a [2023-07-17T01:57:04.442Z] Removing intermediate container 8868366a0f9a [2023-07-17T01:57:04.442Z] ---> af97ecff3b42 [2023-07-17T01:57:04.442Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-17T01:57:04.442Z] ---> Running in 2c8879c9c6f2 [2023-07-17T01:57:05.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-17T01:57:05.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-17T01:57:06.955Z] OK: 263 MiB in 53 packages [2023-07-17T01:57:07.920Z] Removing intermediate container 2c8879c9c6f2 [2023-07-17T01:57:07.920Z] ---> b578b8a0bb86 [2023-07-17T01:57:07.920Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-17T01:57:08.504Z] ---> ff789e142c04 [2023-07-17T01:57:08.504Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-17T01:57:08.504Z] ---> Running in 306cbf2734e2 [2023-07-17T01:58:16.371Z] Removing intermediate container 306cbf2734e2 [2023-07-17T01:58:16.371Z] ---> 43953684af78 [2023-07-17T01:58:16.371Z] Step 9/10 : COPY . . [2023-07-17T01:58:16.371Z] ---> a71267d50245 [2023-07-17T01:58:16.371Z] Step 10/10 : RUN ${MAKE} [2023-07-17T01:58:16.371Z] ---> Running in f4bd118d32b1 [2023-07-17T01:58:16.371Z] noop [2023-07-17T01:58:16.371Z] Removing intermediate container f4bd118d32b1 [2023-07-17T01:58:16.371Z] ---> ef7a49676489 [2023-07-17T01:58:16.371Z] Successfully built ef7a49676489 [2023-07-17T01:58:16.371Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T01:58:16.856Z] + docker inspect -f . ci-base-image-arm64 [2023-07-17T01:58:16.856Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T01:58:17.155Z] prd-ubuntu20.04-docker-arm64-4c-16g-1291 does not seem to be running inside a container [2023-07-17T01:58:17.227Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-17T01:58:18.467Z] $ docker top 08a26dcba8642d820ebef0969f56a1f17cb7205ddb81f28df8d99174c36c025e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T01:58:19.363Z] + go version [2023-07-17T01:58:19.363Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-17T01:58:19.404Z] $ docker stop --time=1 08a26dcba8642d820ebef0969f56a1f17cb7205ddb81f28df8d99174c36c025e [2023-07-17T01:58:21.034Z] $ docker rm -f --volumes 08a26dcba8642d820ebef0969f56a1f17cb7205ddb81f28df8d99174c36c025e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T01:58:21.892Z] + docker inspect -f . ci-base-image-arm64 [2023-07-17T01:58:21.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T01:58:22.175Z] prd-ubuntu20.04-docker-arm64-4c-16g-1291 does not seem to be running inside a container [2023-07-17T01:58:22.248Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-17T01:58:23.463Z] $ docker top fd34579654568a16aea8fe8c4327b6cf641eccfb03439cee8dd4728ca68b664a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T01:58:24.350Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-07-17T01:58:25.063Z] + make test [2023-07-17T01:58:25.064Z] go test -race -coverprofile=coverage.out ./... [2023-07-17T01:59:11.926Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-17T02:01:19.382Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-17T02:01:19.382Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-17T02:01:19.382Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-17T02:01:19.382Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-17T02:01:19.382Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-17T02:01:34.399Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.247s coverage: 27.6% of statements [2023-07-17T02:01:34.399Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.263s coverage: 80.2% of statements [2023-07-17T02:01:44.468Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-17T02:01:44.468Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-17T02:01:44.736Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.371s coverage: 86.0% of statements [2023-07-17T02:01:51.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-17T02:01:51.461Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.361s coverage: 70.6% of statements [2023-07-17T02:01:55.783Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-17T02:01:56.748Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-17T02:01:56.748Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-17T02:01:58.700Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.289s coverage: 14.3% of statements [2023-07-17T02:01:58.700Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.416s coverage: 68.5% of statements [2023-07-17T02:02:00.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.475s coverage: 89.2% of statements [2023-07-17T02:02:01.630Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-17T02:02:01.899Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.262s coverage: 5.6% of statements [2023-07-17T02:02:02.870Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-17T02:02:02.870Z] GO111MODULE=on go vet ./... [2023-07-17T02:04:24.608Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-17T02:04:24.608Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-17T02:04:24.608Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-17T02:04:24.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-17T02:04:24.691Z] $ docker stop --time=1 fd34579654568a16aea8fe8c4327b6cf641eccfb03439cee8dd4728ca68b664a [2023-07-17T02:04:26.573Z] $ docker rm -f --volumes fd34579654568a16aea8fe8c4327b6cf641eccfb03439cee8dd4728ca68b664a [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-17T02:04:28.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-17T02:04:28.195Z] Warning: overwriting stash ‘coverage-report’ [2023-07-17T02:04:28.798Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-17T02:04:29.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-17T02:04:29.737Z] + ls -al . [2023-07-17T02:04:29.737Z] total 280 [2023-07-17T02:04:29.737Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 17 01:58 . [2023-07-17T02:04:29.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 01:56 .. [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 17 01:56 .dockerignore [2023-07-17T02:04:29.737Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 01:56 .git [2023-07-17T02:04:29.737Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 01:56 .github [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 17 01:56 .gitignore [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 17 01:56 .golangci.yml [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 17 01:56 CHANGELOG.md [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 01:56 GOVERNANCE.md [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 17 01:56 Jenkinsfile [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 17 01:56 LICENSE [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 17 01:56 Makefile [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 17 01:56 OWNERS.md [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 17 01:56 README.md [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 01:52 VERSION [2023-07-17T02:04:29.737Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 01:56 bin [2023-07-17T02:04:29.737Z] -rw-r--r-- 1 jenkins jenkins 104687 Jul 17 02:02 coverage.out [2023-07-17T02:04:29.737Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 17 01:56 example [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 3594 Jul 17 01:56 go.mod [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 32183 Jul 17 01:56 go.sum [2023-07-17T02:04:29.737Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 17 01:56 internal [2023-07-17T02:04:29.737Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 01:56 openapi [2023-07-17T02:04:29.737Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 17 01:56 pkg [2023-07-17T02:04:29.737Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 01:56 snap [2023-07-17T02:04:29.737Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 17 01:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T02:04:30.161Z] + 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=cdff07ab9e991a57cea7836e0517c5fa2f4ff086 --label arch=arm64 --label version=0.0.0 . [2023-07-17T02:04:30.431Z] Sending build context to Docker daemon 5.936MB [2023-07-17T02:04:30.431Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-17T02:04:30.431Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-17T02:04:30.431Z] ---> ef7a49676489 [2023-07-17T02:04:30.431Z] Step 3/23 : ARG MAKE=make build [2023-07-17T02:04:30.706Z] ---> Running in 34541013fd6d [2023-07-17T02:04:30.979Z] Removing intermediate container 34541013fd6d [2023-07-17T02:04:30.979Z] ---> 947c326255d5 [2023-07-17T02:04:30.979Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-17T02:04:30.979Z] ---> Running in 10bbc5dea516 [2023-07-17T02:04:31.571Z] Removing intermediate container 10bbc5dea516 [2023-07-17T02:04:31.571Z] ---> f52f78f76109 [2023-07-17T02:04:31.571Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-17T02:04:31.571Z] ---> Running in 34a332aabd83 [2023-07-17T02:04:31.839Z] Removing intermediate container 34a332aabd83 [2023-07-17T02:04:31.839Z] ---> cccb0657c18e [2023-07-17T02:04:31.840Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-17T02:04:31.840Z] ---> Running in 626bc74d9243 [2023-07-17T02:04:32.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-17T02:04:33.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-17T02:04:34.343Z] OK: 263 MiB in 53 packages [2023-07-17T02:04:35.306Z] Removing intermediate container 626bc74d9243 [2023-07-17T02:04:35.306Z] ---> d92daea22d68 [2023-07-17T02:04:35.306Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-17T02:04:35.887Z] ---> f7ae55eb4deb [2023-07-17T02:04:35.887Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-17T02:04:35.887Z] ---> Running in 3eddd2b364f7 [2023-07-17T02:04:37.837Z] Removing intermediate container 3eddd2b364f7 [2023-07-17T02:04:37.837Z] ---> ce3ebbc59f0a [2023-07-17T02:04:37.837Z] Step 9/23 : COPY . . [2023-07-17T02:04:38.793Z] ---> c87c2a06a710 [2023-07-17T02:04:38.793Z] Step 10/23 : RUN ${MAKE} [2023-07-17T02:04:39.068Z] ---> Running in 5fc5779f695b [2023-07-17T02:04:40.029Z] 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-07-17T02:06:46.692Z] Removing intermediate container 5fc5779f695b [2023-07-17T02:06:46.692Z] ---> d5a1b3ddd8c4 [2023-07-17T02:06:46.692Z] Step 11/23 : FROM alpine:3.17 [2023-07-17T02:06:46.692Z] 3.17: Pulling from library/alpine [2023-07-17T02:06:46.692Z] edb6bdbacee9: Already exists [2023-07-17T02:06:46.958Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-17T02:06:46.958Z] Status: Downloaded newer image for alpine:3.17 [2023-07-17T02:06:46.958Z] ---> 779605e5fbc0 [2023-07-17T02:06:46.958Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-17T02:06:46.958Z] ---> Running in 5aefbcd79466 [2023-07-17T02:06:47.232Z] Removing intermediate container 5aefbcd79466 [2023-07-17T02:06:47.232Z] ---> 8809e7fdf602 [2023-07-17T02:06:47.232Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-17T02:06:47.232Z] ---> Running in 2a6f0a0c842c [2023-07-17T02:06:48.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-17T02:06:48.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-17T02:06:50.184Z] OK: 7 MiB in 15 packages [2023-07-17T02:06:50.769Z] Removing intermediate container 2a6f0a0c842c [2023-07-17T02:06:50.769Z] ---> d3fc0f5388de [2023-07-17T02:06:50.769Z] Step 14/23 : WORKDIR / [2023-07-17T02:06:50.769Z] ---> Running in 46f1c952a336 [2023-07-17T02:06:51.035Z] Removing intermediate container 46f1c952a336 [2023-07-17T02:06:51.035Z] ---> d32821ca427b [2023-07-17T02:06:51.035Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-17T02:06:51.618Z] ---> cfff8ea7fb7d [2023-07-17T02:06:51.618Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-17T02:06:53.024Z] ---> 91e6fa275385 [2023-07-17T02:06:53.024Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-17T02:06:53.293Z] ---> 4f73a521eda8 [2023-07-17T02:06:53.293Z] Step 18/23 : EXPOSE 59999 [2023-07-17T02:06:53.560Z] ---> Running in ae5bc8459864 [2023-07-17T02:06:53.828Z] Removing intermediate container ae5bc8459864 [2023-07-17T02:06:53.828Z] ---> 356e678c5041 [2023-07-17T02:06:53.828Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-17T02:06:53.828Z] ---> Running in 93a2accc8417 [2023-07-17T02:06:54.096Z] Removing intermediate container 93a2accc8417 [2023-07-17T02:06:54.096Z] ---> 05ff5d24ee45 [2023-07-17T02:06:54.096Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-17T02:06:54.096Z] ---> Running in df710017c6fa [2023-07-17T02:06:54.363Z] Removing intermediate container df710017c6fa [2023-07-17T02:06:54.363Z] ---> 7405f07a1e7f [2023-07-17T02:06:54.363Z] Step 21/23 : LABEL arch=arm64 [2023-07-17T02:06:54.631Z] ---> Running in c95b05b4c901 [2023-07-17T02:06:54.898Z] Removing intermediate container c95b05b4c901 [2023-07-17T02:06:54.898Z] ---> b9bfaf06d01e [2023-07-17T02:06:54.898Z] Step 22/23 : LABEL git_sha=cdff07ab9e991a57cea7836e0517c5fa2f4ff086 [2023-07-17T02:06:54.898Z] ---> Running in 812201f7c566 [2023-07-17T02:06:55.164Z] Removing intermediate container 812201f7c566 [2023-07-17T02:06:55.164Z] ---> 72fa2a803b1a [2023-07-17T02:06:55.164Z] Step 23/23 : LABEL version=0.0.0 [2023-07-17T02:06:55.164Z] ---> Running in 4e885c7c4ee0 [2023-07-17T02:06:55.430Z] Removing intermediate container 4e885c7c4ee0 [2023-07-17T02:06:55.431Z] ---> 230b574d2b2c [2023-07-17T02:06:55.431Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-17T02:06:55.697Z] Successfully built 230b574d2b2c [2023-07-17T02:06:55.697Z] 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-07-17T02:06:56.512Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-17T02:06:56.513Z] [2023-07-17T02:06:56.513Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T02:06:56.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-17T02:06:56.918Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-17T02:06:56.918Z] 8998bd30e6a1: Pulling fs layer [2023-07-17T02:06:56.918Z] 04944245beec: Pulling fs layer [2023-07-17T02:06:56.918Z] 699f458cf7ca: Pulling fs layer [2023-07-17T02:06:56.918Z] 765212b225bb: Pulling fs layer [2023-07-17T02:06:56.918Z] f23df028b6ca: Pulling fs layer [2023-07-17T02:06:56.918Z] d65c8cfc05b1: Pulling fs layer [2023-07-17T02:06:56.918Z] 2437ff75d9bd: Pulling fs layer [2023-07-17T02:06:56.918Z] f23df028b6ca: Waiting [2023-07-17T02:06:56.918Z] d65c8cfc05b1: Waiting [2023-07-17T02:06:56.918Z] 765212b225bb: Waiting [2023-07-17T02:06:56.918Z] 2437ff75d9bd: Waiting [2023-07-17T02:06:57.187Z] 04944245beec: Verifying Checksum [2023-07-17T02:06:57.187Z] 04944245beec: Download complete [2023-07-17T02:06:57.187Z] 765212b225bb: Verifying Checksum [2023-07-17T02:06:57.187Z] 765212b225bb: Download complete [2023-07-17T02:06:57.187Z] f23df028b6ca: Download complete [2023-07-17T02:06:57.187Z] d65c8cfc05b1: Verifying Checksum [2023-07-17T02:06:57.187Z] d65c8cfc05b1: Download complete [2023-07-17T02:06:57.187Z] 699f458cf7ca: Verifying Checksum [2023-07-17T02:06:57.187Z] 699f458cf7ca: Download complete [2023-07-17T02:06:57.772Z] 8998bd30e6a1: Download complete [2023-07-17T02:06:59.724Z] 2437ff75d9bd: Verifying Checksum [2023-07-17T02:06:59.724Z] 2437ff75d9bd: Download complete [2023-07-17T02:07:01.673Z] 8998bd30e6a1: Pull complete [2023-07-17T02:07:01.938Z] 04944245beec: Pull complete [2023-07-17T02:07:03.345Z] 699f458cf7ca: Pull complete [2023-07-17T02:07:03.611Z] 765212b225bb: Pull complete [2023-07-17T02:07:04.192Z] f23df028b6ca: Pull complete [2023-07-17T02:07:04.458Z] d65c8cfc05b1: Pull complete [2023-07-17T02:07:19.451Z] 2437ff75d9bd: Pull complete [2023-07-17T02:07:19.451Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-17T02:07:19.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-17T02:07:19.451Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T02:07:19.769Z] prd-ubuntu20.04-docker-arm64-4c-16g-1291 does not seem to be running inside a container [2023-07-17T02:07:19.836Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-17T02:07:22.304Z] $ docker top 8b68b4016cde7cac3ae7107fe8198e067fc125ff8b3d5f08483d7a5e9e8023d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T02:07:22.869Z] ---> job-cost.sh [2023-07-17T02:07:23.134Z] lf-activate-venv: SKIPPING [2023-07-17T02:07:23.134Z] INFO: No Stack... [2023-07-17T02:07:24.089Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-17T02:07:24.673Z] INFO: Archiving Costs [Pipeline] sh [2023-07-17T02:07:25.008Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-07-17T02:07:25.008Z] + cut -d, -f6 [Pipeline] lock [2023-07-17T02:07:25.353Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1477-1-stack-cost] [2023-07-17T02:07:25.358Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1477-1-stack-cost] did not exist. Created. [2023-07-17T02:07:25.358Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1477-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-17T02:07:25.761Z] /w/workspace/device-sdk-go/1@tmp/durable-f28959e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-17T02:07:26.114Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-17T02:07:26.205Z] Warning: overwriting stash ‘stack-cost’ [2023-07-17T02:07:26.272Z] Stashed 1 file(s) [Pipeline] } [2023-07-17T02:07:26.285Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1477-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-17T02:07:26.371Z] $ docker stop --time=1 8b68b4016cde7cac3ae7107fe8198e067fc125ff8b3d5f08483d7a5e9e8023d3 [2023-07-17T02:07:27.835Z] $ docker rm -f --volumes 8b68b4016cde7cac3ae7107fe8198e067fc125ff8b3d5f08483d7a5e9e8023d3 [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-07-17T02:07:28.860Z] provisioning config files... [2023-07-17T02:07:28.869Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/config4923074336310872151tmp [Pipeline] { [Pipeline] sh [2023-07-17T02:07:29.195Z] + set +x [2023-07-17T02:07:29.196Z] + curl -s https://codecov.io/bash [2023-07-17T02:07:29.196Z] + bash -s -- [2023-07-17T02:07:29.196Z] [2023-07-17T02:07:29.196Z] _____ _ [2023-07-17T02:07:29.196Z] / ____| | | [2023-07-17T02:07:29.196Z] | | ___ __| | ___ ___ _____ __ [2023-07-17T02:07:29.196Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-17T02:07:29.196Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-17T02:07:29.196Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-17T02:07:29.196Z] Bash-1.0.6 [2023-07-17T02:07:29.196Z] [2023-07-17T02:07:29.196Z] [2023-07-17T02:07:29.196Z] ==> git version 2.25.1 found [2023-07-17T02:07:29.196Z] ==> 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-07-17T02:07:29.196Z] Release-Date: 2020-01-08 [2023-07-17T02:07:29.196Z] 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-07-17T02:07:29.196Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-17T02:07:29.196Z] ==> Jenkins CI detected. [2023-07-17T02:07:29.196Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1477 [2023-07-17T02:07:29.196Z] project root: . [2023-07-17T02:07:29.196Z] --> token set from env [2023-07-17T02:07:29.196Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-17T02:07:29.196Z] ==> Running gcov in . (disable via -X gcov) [2023-07-17T02:07:29.196Z] ==> Python coveragepy not found [2023-07-17T02:07:29.196Z] ==> Searching for coverage reports in: [2023-07-17T02:07:29.196Z] + . [2023-07-17T02:07:29.196Z] -> Found 1 reports [2023-07-17T02:07:29.196Z] ==> Detecting git/mercurial file structure [2023-07-17T02:07:29.455Z] ==> Reading reports [2023-07-17T02:07:29.455Z] + ./coverage.out bytes=104687 [2023-07-17T02:07:29.455Z] ==> Appending adjustments [2023-07-17T02:07:29.455Z] https://docs.codecov.io/docs/fixing-reports [2023-07-17T02:07:29.715Z] + Found adjustments [2023-07-17T02:07:29.715Z] ==> Gzipping contents [2023-07-17T02:07:29.715Z] 16K /tmp/codecov.Op9aGg.gz [2023-07-17T02:07:29.715Z] ==> Uploading reports [2023-07-17T02:07:29.715Z] url: https://codecov.io [2023-07-17T02:07:29.715Z] query: branch=PR-1477&commit=cdff07ab9e991a57cea7836e0517c5fa2f4ff086&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1477%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1477&job=&cmd_args= [2023-07-17T02:07:29.715Z] -> Pinging Codecov [2023-07-17T02:07:29.715Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1477&commit=cdff07ab9e991a57cea7836e0517c5fa2f4ff086&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1477%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1477&job=&cmd_args= [2023-07-17T02:07:29.715Z] -> Uploading to [2023-07-17T02:07:29.715Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-17/7E55EF52A471D76F132DFD9A03CDDE97/cdff07ab9e991a57cea7836e0517c5fa2f4ff086/c22f54c7-30c8-4e78-b9e3-72046feab355.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230717%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230717T020729Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c25e4d2ae85adc6b6cfd86870194e306f45c8668cde2502a8a137209172e9399 [2023-07-17T02:07:29.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-17T02:07:29.715Z] Dload Upload Total Spent Left Speed [2023-07-17T02:07:29.974Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14834 0 0 100 14834 0 68675 --:--:-- --:--:-- --:--:-- 68675 [2023-07-17T02:07:29.974Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cdff07ab9e991a57cea7836e0517c5fa2f4ff086 [Pipeline] } [2023-07-17T02:07:30.004Z] 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-07-17T02:07:31.745Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives ] [2023-07-17T02:07:31.745Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives [2023-07-17T02:07:31.745Z] total 16 [2023-07-17T02:07:31.745Z] drwxr-xr-x 3 root root 4096 Jul 17 01:55 . [2023-07-17T02:07:31.745Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 17 01:55 .. [2023-07-17T02:07:31.745Z] drwxr-xr-x 2 root root 4096 Jul 17 01:55 cost [2023-07-17T02:07:31.745Z] -rw-r--r-- 1 root root 86 Jul 17 01:55 cost.csv [2023-07-17T02:07:31.745Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives [2023-07-17T02:07:31.745Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives [2023-07-17T02:07:31.745Z] total 16 [2023-07-17T02:07:31.745Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 01:55 . [2023-07-17T02:07:31.745Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 17 01:55 .. [2023-07-17T02:07:31.745Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 17 01:55 cost [2023-07-17T02:07:31.745Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 17 01:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-17T02:07:32.084Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T02:07:32.971Z] ---> package-listing.sh [2023-07-17T02:07:32.971Z] ++ facter osfamily [2023-07-17T02:07:32.971Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-17T02:07:33.230Z] + OS_FAMILY=debian [2023-07-17T02:07:33.230Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1477 [2023-07-17T02:07:33.230Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-17T02:07:33.230Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-17T02:07:33.230Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-17T02:07:33.230Z] + PACKAGES=/tmp/packages_start.txt [2023-07-17T02:07:33.230Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1477 ']' [2023-07-17T02:07:33.230Z] + PACKAGES=/tmp/packages_end.txt [2023-07-17T02:07:33.230Z] + case "${OS_FAMILY}" in [2023-07-17T02:07:33.230Z] + dpkg -l [2023-07-17T02:07:33.230Z] + grep '^ii' [2023-07-17T02:07:33.230Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-17T02:07:33.230Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-17T02:07:33.230Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-17T02:07:33.230Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1477 ']' [2023-07-17T02:07:33.230Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives/ [2023-07-17T02:07:33.230Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1477/archives/ [Pipeline] echo [2023-07-17T02:07:33.265Z] 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-1477/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-17T02:07:33.557Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T02:07:34.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T02:07:34.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T02:07:34.324Z] prd-ubuntu20.04-docker-8c-8g-1290 does not seem to be running inside a container [2023-07-17T02:07:34.351Z] $ 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-1477/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-1477 -v /w/workspace/gexfoundry_device-sdk-go_PR-1477:/w/workspace/gexfoundry_device-sdk-go_PR-1477:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-17T02:07:34.517Z] $ docker top e9bcfa1370be85ca3609bb62d653611d2448dd91fd6ab27ddfb319020eacdb52 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T02:07:34.906Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-17T02:07:35.215Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-17T02:07:35.520Z] + ls /var/log/sa-host [2023-07-17T02:07:35.520Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-17T02:07:35.881Z] provisioning config files... [2023-07-17T02:07:35.895Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1477@tmp/config14152855938396880710tmp [Pipeline] { [Pipeline] echo [2023-07-17T02:07:35.937Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T02:07:36.247Z] ---> create-netrc.sh [Pipeline] } [2023-07-17T02:07:36.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-17T02:07:36.679Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-17T02:07:36.712Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T02:07:37.022Z] ---> sudo-logs.sh [2023-07-17T02:07:37.022Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-17T02:07:37.104Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T02:07:37.412Z] ---> job-cost.sh [2023-07-17T02:07:37.412Z] lf-activate-venv: SKIPPING [2023-07-17T02:07:37.412Z] DEBUG: total: 0.2199999988079071 [2023-07-17T02:07:37.412Z] INFO: Retrieving Stack Cost... [2023-07-17T02:07:38.793Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-17T02:07:39.363Z] INFO: Archiving Costs [Pipeline] echo [2023-07-17T02:07:39.463Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T02:07:39.780Z] ---> logs-deploy.sh [2023-07-17T02:07:39.780Z] lf-activate-venv: SKIPPING [2023-07-17T02:07:39.780Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1477/1 [2023-07-17T02:07:39.780Z] INFO: archiving workspace using pattern(s): [2023-07-17T02:07:40.719Z] Archives upload complete. [2023-07-17T02:07:40.719Z] INFO: archiving logs to Nexus