Pull request #1537 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bbfac8dd9bedab070b95549b3d6c196b3043fd55+487ca8dbaf5a7983b4dd4e8681142a99360f28bf (077d2688aec8b7c491319e57c23a5b4668f15a03) 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-ssh1714476227476156458.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh12367807897683496838.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-1537/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-1537/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10515188719522025012.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-1537/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4607374247821052849.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh2288108577497189485.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-1537/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-1537/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3060792217308067666.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16609 in /w/workspace/gexfoundry_device-sdk-go_PR-1537 [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-1537 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1537/head:refs/remotes/origin/PR-1537 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 487ca8dbaf5a7983b4dd4e8681142a99360f28bf into PR head commit bbfac8dd9bedab070b95549b3d6c196b3043fd55 Merge succeeded, producing bbfac8dd9bedab070b95549b3d6c196b3043fd55 Checking out Revision bbfac8dd9bedab070b95549b3d6c196b3043fd55 (PR-1537) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-06T04:52:40.327Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f bbfac8dd9bedab070b95549b3d6c196b3043fd55 # 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 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbfac8dd9bedab070b95549b3d6c196b3043fd55 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-06T04:52:40.522Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-06T04:52:40.623Z] ========================================================= [2023-11-06T04:52:40.623Z] EdgeX Global Pipelines Version Info [2023-11-06T04:52:40.623Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-06T04:52:41.367Z] ------------------- [2023-11-06T04:52:41.367Z] stable info: [2023-11-06T04:52:41.367Z] ------------------- [2023-11-06T04:52:41.367Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-06T04:52:41.367Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-06T04:52:41.367Z] Message: update stable to v1.0.255 [2023-11-06T04:52:41.938Z] ------------------- [2023-11-06T04:52:41.938Z] experimental info: [2023-11-06T04:52:41.938Z] ------------------- [2023-11-06T04:52:41.938Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-06T04:52:41.938Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-06T04:52:41.938Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-06T04:52:42.232Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-06T04:52:42.272Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-06T04:52:42.314Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-06T04:52:42.352Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-06T04:52:42.392Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-06T04:52:42.432Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-06T04:52:42.480Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-06T04:52:42.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-06T04:52:42.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-06T04:52:42.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-06T04:52:42.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-06T04:52:42.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-06T04:52:42.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-06T04:52:42.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-06T04:52:42.833Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-06T04:52:42.881Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-06T04:52:42.925Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-06T04:52:42.967Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-06T04:52:43.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-06T04:52:43.056Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-06T04:52:43.100Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-06T04:52:43.143Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-06T04:52:43.187Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-06T04:52:43.233Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-06T04:52:43.280Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-06T04:52:43.324Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-06T04:52:43.371Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-06T04:52:43.424Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1537 [Pipeline] echo [2023-11-06T04:52:43.470Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1537 [Pipeline] echo [2023-11-06T04:52:43.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1537 [Pipeline] echo [2023-11-06T04:52:43.557Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bbfac8dd9bedab070b95549b3d6c196b3043fd55 [Pipeline] echo [2023-11-06T04:52:43.606Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bbfac8d [Pipeline] echo [2023-11-06T04:52:43.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T04:52:43.780Z] provisioning config files... [2023-11-06T04:52:43.797Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp/config4339992253719810424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T04:52:44.146Z] ---> docker-login.sh [2023-11-06T04:52:44.146Z] nexus3.edgexfoundry.org:10001 [2023-11-06T04:52:44.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:52:44.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:52:44.408Z] Configure a credential helper to remove this warning. See [2023-11-06T04:52:44.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:52:44.408Z] [2023-11-06T04:52:44.408Z] Login Succeeded [2023-11-06T04:52:44.408Z] nexus3.edgexfoundry.org:10002 [2023-11-06T04:52:44.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:52:44.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:52:44.671Z] Configure a credential helper to remove this warning. See [2023-11-06T04:52:44.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:52:44.671Z] [2023-11-06T04:52:44.671Z] Login Succeeded [2023-11-06T04:52:44.671Z] nexus3.edgexfoundry.org:10003 [2023-11-06T04:52:44.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:52:44.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:52:44.671Z] Configure a credential helper to remove this warning. See [2023-11-06T04:52:44.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:52:44.671Z] [2023-11-06T04:52:44.671Z] Login Succeeded [2023-11-06T04:52:44.671Z] nexus3.edgexfoundry.org:10004 [2023-11-06T04:52:44.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:52:44.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:52:44.671Z] Configure a credential helper to remove this warning. See [2023-11-06T04:52:44.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:52:44.671Z] [2023-11-06T04:52:44.671Z] Login Succeeded [2023-11-06T04:52:44.671Z] docker.io [2023-11-06T04:52:44.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:52:45.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:52:45.193Z] Configure a credential helper to remove this warning. See [2023-11-06T04:52:45.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:52:45.193Z] [2023-11-06T04:52:45.193Z] Login Succeeded [2023-11-06T04:52:45.193Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T04:52:45.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-06T04:52:45.860Z] + git rev-list -1 --merges bbfac8dd9bedab070b95549b3d6c196b3043fd55~1..bbfac8dd9bedab070b95549b3d6c196b3043fd55 [Pipeline] echo [2023-11-06T04:52:45.922Z] -----------> git rev-list -1 --merges bbfac8dd9bedab070b95549b3d6c196b3043fd55~1..bbfac8dd9bedab070b95549b3d6c196b3043fd55 bbfac8dd9bedab070b95549b3d6c196b3043fd55 [false] [Pipeline] sh [2023-11-06T04:52:46.232Z] + git log --format=format:%s -1 bbfac8dd9bedab070b95549b3d6c196b3043fd55 [Pipeline] echo [2023-11-06T04:52:46.268Z] ========================================================= [2023-11-06T04:52:46.268Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-06T04:52:46.268Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-06T04:52:46.734Z] + git log --format=format:%s -1 bbfac8dd9bedab070b95549b3d6c196b3043fd55 [Pipeline] echo [2023-11-06T04:52:46.771Z] [semverPrep] GIT_COMMIT: bbfac8dd9bedab070b95549b3d6c196b3043fd55, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-11-06T04:52:46.804Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-06T04:52:47.188Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-06T04:52:47.188Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-06T04:52:47.188Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-06T04:52:47.188Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-06T04:52:47.188Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-06T04:52:47.188Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-06T04:52:47.188Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T04:52:47.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T04:52:47.615Z] [2023-11-06T04:52:47.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T04:52:47.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T04:52:47.998Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-06T04:52:47.998Z] b85a868b505f: Pulling fs layer [2023-11-06T04:52:47.998Z] e2be974225ed: Pulling fs layer [2023-11-06T04:52:47.998Z] 339a4e72a1f5: Pulling fs layer [2023-11-06T04:52:47.998Z] 988bab9f4d93: Pulling fs layer [2023-11-06T04:52:47.998Z] 1469e6f7b9e6: Pulling fs layer [2023-11-06T04:52:47.998Z] eaf3925da568: Pulling fs layer [2023-11-06T04:52:47.998Z] bab4dde63d76: Pulling fs layer [2023-11-06T04:52:47.998Z] bde34c3a00c8: Pulling fs layer [2023-11-06T04:52:47.998Z] b352a97aabf1: Pulling fs layer [2023-11-06T04:52:47.998Z] 4872d77fe225: Pulling fs layer [2023-11-06T04:52:47.998Z] 5851b861e8e6: Pulling fs layer [2023-11-06T04:52:47.998Z] 988bab9f4d93: Waiting [2023-11-06T04:52:47.998Z] eaf3925da568: Waiting [2023-11-06T04:52:47.998Z] bab4dde63d76: Waiting [2023-11-06T04:52:47.998Z] bde34c3a00c8: Waiting [2023-11-06T04:52:47.998Z] b352a97aabf1: Waiting [2023-11-06T04:52:47.998Z] 4872d77fe225: Waiting [2023-11-06T04:52:47.998Z] 5851b861e8e6: Waiting [2023-11-06T04:52:47.998Z] 1469e6f7b9e6: Waiting [2023-11-06T04:52:47.998Z] e2be974225ed: Verifying Checksum [2023-11-06T04:52:47.998Z] e2be974225ed: Download complete [2023-11-06T04:52:47.998Z] 988bab9f4d93: Verifying Checksum [2023-11-06T04:52:47.998Z] 988bab9f4d93: Download complete [2023-11-06T04:52:48.257Z] 1469e6f7b9e6: Verifying Checksum [2023-11-06T04:52:48.257Z] 1469e6f7b9e6: Download complete [2023-11-06T04:52:48.257Z] eaf3925da568: Verifying Checksum [2023-11-06T04:52:48.257Z] eaf3925da568: Download complete [2023-11-06T04:52:48.257Z] 339a4e72a1f5: Verifying Checksum [2023-11-06T04:52:48.257Z] 339a4e72a1f5: Download complete [2023-11-06T04:52:48.257Z] bde34c3a00c8: Download complete [2023-11-06T04:52:48.257Z] b352a97aabf1: Download complete [2023-11-06T04:52:48.257Z] 4872d77fe225: Verifying Checksum [2023-11-06T04:52:48.257Z] 4872d77fe225: Download complete [2023-11-06T04:52:48.257Z] 5851b861e8e6: Download complete [2023-11-06T04:52:48.257Z] b85a868b505f: Download complete [2023-11-06T04:52:48.528Z] bab4dde63d76: Verifying Checksum [2023-11-06T04:52:48.528Z] bab4dde63d76: Download complete [2023-11-06T04:52:49.466Z] b85a868b505f: Pull complete [2023-11-06T04:52:49.725Z] e2be974225ed: Pull complete [2023-11-06T04:52:50.294Z] 339a4e72a1f5: Pull complete [2023-11-06T04:52:50.294Z] 988bab9f4d93: Pull complete [2023-11-06T04:52:50.555Z] 1469e6f7b9e6: Pull complete [2023-11-06T04:52:50.555Z] eaf3925da568: Pull complete [2023-11-06T04:52:52.463Z] bab4dde63d76: Pull complete [2023-11-06T04:52:52.463Z] bde34c3a00c8: Pull complete [2023-11-06T04:52:52.723Z] b352a97aabf1: Pull complete [2023-11-06T04:52:52.723Z] 4872d77fe225: Pull complete [2023-11-06T04:52:52.723Z] 5851b861e8e6: Pull complete [2023-11-06T04:52:52.985Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-06T04:52:52.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-06T04:52:52.986Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T04:52:53.238Z] prd-ubuntu20.04-docker-8c-8g-16609 does not seem to be running inside a container [2023-11-06T04:52:53.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1537 -v /w/workspace/gexfoundry_device-sdk-go_PR-1537:/w/workspace/gexfoundry_device-sdk-go_PR-1537:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-06T04:52:55.690Z] $ docker top 095b59cdffd3bb486f7b8e86209610de53490d9420c61edcbf30c6896e51ae9b -eo pid,comm [2023-11-06T04:52:55.744Z] 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-11-06T04:52:55.744Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-06T04:52:55.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-06T04:52:55.910Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-06T04:52:56.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-06T04:52:56.055Z] $ docker exec 095b59cdffd3bb486f7b8e86209610de53490d9420c61edcbf30c6896e51ae9b ssh-agent [2023-11-06T04:52:56.165Z] SSH_AUTH_SOCK=/tmp/ssh-v6GUaqUuLkBL/agent.32 [2023-11-06T04:52:56.165Z] SSH_AGENT_PID=38 [2023-11-06T04:52:56.171Z] Running ssh-add (command line suppressed) [2023-11-06T04:52:56.295Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp/private_key_17881884284850393846.key (/w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp/private_key_17881884284850393846.key) [2023-11-06T04:52:56.310Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-06T04:52:56.646Z] + git tag --points-at HEAD [Pipeline] } [2023-11-06T04:52:56.677Z] $ docker exec --env ******** --env ******** 095b59cdffd3bb486f7b8e86209610de53490d9420c61edcbf30c6896e51ae9b ssh-agent -k [2023-11-06T04:52:56.783Z] unset SSH_AUTH_SOCK; [2023-11-06T04:52:56.783Z] unset SSH_AGENT_PID; [2023-11-06T04:52:56.784Z] echo Agent pid 38 killed; [2023-11-06T04:52:56.789Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-06T04:52:56.869Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-06T04:52:56.869Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-06T04:52:56.986Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-06T04:52:56.995Z] $ docker exec 095b59cdffd3bb486f7b8e86209610de53490d9420c61edcbf30c6896e51ae9b ssh-agent [2023-11-06T04:52:57.102Z] SSH_AUTH_SOCK=/tmp/ssh-oTVrU6gLp0sa/agent.70 [2023-11-06T04:52:57.103Z] SSH_AGENT_PID=76 [2023-11-06T04:52:57.107Z] Running ssh-add (command line suppressed) [2023-11-06T04:52:57.222Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp/private_key_14647771074259538466.key (/w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp/private_key_14647771074259538466.key) [2023-11-06T04:52:57.234Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-06T04:52:57.565Z] + git semver init [2023-11-06T04:52:57.825Z] 2023-11-06 04:52:57,788 [run_init] DEBUG init version:0.0.0 force:False [2023-11-06T04:52:57.825Z] 2023-11-06 04:52:57,789 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1537/.semver [2023-11-06T04:52:57.825Z] 2023-11-06 04:52:57,790 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1537/.semver [2023-11-06T04:52:57.825Z] 2023-11-06 04:52:57,790 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1537/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1537, universal_newlines=False, shell=None, istream=None) [2023-11-06T04:52:59.207Z] 2023-11-06 04:52:58,819 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1537/.git/info/exclude [2023-11-06T04:52:59.207Z] 2023-11-06 04:52:58,820 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1537/.semver/PR-1537 with force:False [2023-11-06T04:52:59.207Z] 2023-11-06 04:52:58,820 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1537/.semver/PR-1537 [2023-11-06T04:52:59.207Z] 2023-11-06 04:52:58,824 [execute] INFO git cat-file --batch-check [2023-11-06T04:52:59.207Z] 2023-11-06 04:52:58,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1537/.semver, universal_newlines=False, shell=None, istream=) [2023-11-06T04:52:59.207Z] 2023-11-06 04:52:58,831 [execute] INFO git cat-file --batch [2023-11-06T04:52:59.207Z] 2023-11-06 04:52:58,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1537/.semver, universal_newlines=False, shell=None, istream=) [2023-11-06T04:52:59.207Z] 2023-11-06 04:52:58,836 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1537/.semver/PR-1537 [2023-11-06T04:52:59.207Z] 0.0.0 [Pipeline] } [2023-11-06T04:52:59.243Z] $ docker exec --env ******** --env ******** 095b59cdffd3bb486f7b8e86209610de53490d9420c61edcbf30c6896e51ae9b ssh-agent -k [2023-11-06T04:52:59.350Z] unset SSH_AUTH_SOCK; [2023-11-06T04:52:59.350Z] unset SSH_AGENT_PID; [2023-11-06T04:52:59.351Z] echo Agent pid 76 killed; [2023-11-06T04:52:59.358Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-06T04:52:59.807Z] + git semver [Pipeline] } [2023-11-06T04:53:00.097Z] $ docker stop --time=1 095b59cdffd3bb486f7b8e86209610de53490d9420c61edcbf30c6896e51ae9b [2023-11-06T04:53:01.409Z] $ docker rm -f --volumes 095b59cdffd3bb486f7b8e86209610de53490d9420c61edcbf30c6896e51ae9b [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-06T04:53:01.811Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-06T04:53:02.081Z] Stashed 1 file(s) [Pipeline] echo [2023-11-06T04:53:02.099Z] [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-11-06T04:53:02.712Z] provisioning config files... [2023-11-06T04:53:02.722Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp/config509493448695939247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T04:53:03.076Z] ---> docker-login.sh [2023-11-06T04:53:03.076Z] nexus3.edgexfoundry.org:10001 [2023-11-06T04:53:03.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:53:03.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:53:03.076Z] Configure a credential helper to remove this warning. See [2023-11-06T04:53:03.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:53:03.076Z] [2023-11-06T04:53:03.076Z] Login Succeeded [2023-11-06T04:53:03.076Z] nexus3.edgexfoundry.org:10002 [2023-11-06T04:53:03.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:53:03.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:53:03.076Z] Configure a credential helper to remove this warning. See [2023-11-06T04:53:03.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:53:03.076Z] [2023-11-06T04:53:03.076Z] Login Succeeded [2023-11-06T04:53:03.076Z] nexus3.edgexfoundry.org:10003 [2023-11-06T04:53:03.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:53:03.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:53:03.338Z] Configure a credential helper to remove this warning. See [2023-11-06T04:53:03.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:53:03.338Z] [2023-11-06T04:53:03.338Z] Login Succeeded [2023-11-06T04:53:03.338Z] nexus3.edgexfoundry.org:10004 [2023-11-06T04:53:03.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:53:03.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:53:03.338Z] Configure a credential helper to remove this warning. See [2023-11-06T04:53:03.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:53:03.338Z] [2023-11-06T04:53:03.338Z] Login Succeeded [2023-11-06T04:53:03.338Z] docker.io [2023-11-06T04:53:03.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:53:03.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:53:03.859Z] Configure a credential helper to remove this warning. See [2023-11-06T04:53:03.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:53:03.859Z] [2023-11-06T04:53:03.859Z] Login Succeeded [2023-11-06T04:53:03.859Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T04:53:03.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-06T04:53:04.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T04:53:04.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T04:53:04.156Z] ========================================================= [2023-11-06T04:53:04.156Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-06T04:53:04.156Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T04:53:04.622Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-06T04:53:04.622Z] Sending build context to Docker daemon 11.28MB [2023-11-06T04:53:04.622Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-06T04:53:04.622Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-06T04:53:04.622Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-06T04:53:04.622Z] 7264a8db6415: Pulling fs layer [2023-11-06T04:53:04.622Z] c4d48a809fc2: Pulling fs layer [2023-11-06T04:53:04.622Z] 4f1c88b9dad5: Pulling fs layer [2023-11-06T04:53:04.622Z] ad3a456e5733: Pulling fs layer [2023-11-06T04:53:04.622Z] 33e27b845d1e: Pulling fs layer [2023-11-06T04:53:04.622Z] c68163c4e522: Pulling fs layer [2023-11-06T04:53:04.622Z] 50da416c3ac9: Pulling fs layer [2023-11-06T04:53:04.622Z] 23d2d4c4bb30: Pulling fs layer [2023-11-06T04:53:04.622Z] 33e27b845d1e: Waiting [2023-11-06T04:53:04.622Z] 23d2d4c4bb30: Waiting [2023-11-06T04:53:04.622Z] c68163c4e522: Waiting [2023-11-06T04:53:04.622Z] 50da416c3ac9: Waiting [2023-11-06T04:53:04.622Z] ad3a456e5733: Waiting [2023-11-06T04:53:04.622Z] c4d48a809fc2: Download complete [2023-11-06T04:53:04.891Z] ad3a456e5733: Verifying Checksum [2023-11-06T04:53:04.891Z] ad3a456e5733: Download complete [2023-11-06T04:53:04.891Z] 33e27b845d1e: Download complete [2023-11-06T04:53:04.891Z] 7264a8db6415: Verifying Checksum [2023-11-06T04:53:04.891Z] 7264a8db6415: Download complete [2023-11-06T04:53:04.891Z] c68163c4e522: Verifying Checksum [2023-11-06T04:53:04.891Z] c68163c4e522: Download complete [2023-11-06T04:53:04.891Z] 7264a8db6415: Pull complete [2023-11-06T04:53:05.151Z] c4d48a809fc2: Pull complete [2023-11-06T04:53:05.151Z] 23d2d4c4bb30: Download complete [2023-11-06T04:53:05.410Z] 4f1c88b9dad5: Verifying Checksum [2023-11-06T04:53:05.410Z] 4f1c88b9dad5: Download complete [2023-11-06T04:53:05.668Z] 50da416c3ac9: Verifying Checksum [2023-11-06T04:53:05.668Z] 50da416c3ac9: Download complete [2023-11-06T04:53:08.953Z] 4f1c88b9dad5: Pull complete [2023-11-06T04:53:08.953Z] ad3a456e5733: Pull complete [2023-11-06T04:53:09.212Z] 33e27b845d1e: Pull complete [2023-11-06T04:53:09.213Z] c68163c4e522: Pull complete [2023-11-06T04:53:11.743Z] 50da416c3ac9: Pull complete [2023-11-06T04:53:12.002Z] 23d2d4c4bb30: Pull complete [2023-11-06T04:53:12.002Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-06T04:53:12.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-06T04:53:12.002Z] ---> 0786185ac409 [2023-11-06T04:53:12.002Z] Step 3/10 : ARG MAKE=make build [2023-11-06T04:53:16.245Z] ---> Running in f3d17698629b [2023-11-06T04:53:16.245Z] Removing intermediate container f3d17698629b [2023-11-06T04:53:16.245Z] ---> dfe658194cfc [2023-11-06T04:53:16.246Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-06T04:53:16.246Z] ---> Running in 39d031966470 [2023-11-06T04:53:16.246Z] Removing intermediate container 39d031966470 [2023-11-06T04:53:16.246Z] ---> 3b744d213e07 [2023-11-06T04:53:16.246Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-06T04:53:16.246Z] ---> Running in 5caab03cd913 [2023-11-06T04:53:16.246Z] Removing intermediate container 5caab03cd913 [2023-11-06T04:53:16.246Z] ---> c2e41c725cd6 [2023-11-06T04:53:16.246Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-06T04:53:16.246Z] ---> Running in 8e5168b61733 [2023-11-06T04:53:16.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-06T04:53:16.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-06T04:53:17.025Z] OK: 264 MiB in 52 packages [2023-11-06T04:53:17.283Z] Removing intermediate container 8e5168b61733 [2023-11-06T04:53:17.283Z] ---> 081875688e97 [2023-11-06T04:53:17.283Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-06T04:53:17.537Z] Still waiting to schedule task [2023-11-06T04:53:17.537Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-06T04:53:17.544Z] ---> 757ca388ef51 [2023-11-06T04:53:17.544Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-06T04:53:17.544Z] ---> Running in 311d89164e35 [2023-11-06T04:53:56.302Z] Removing intermediate container 311d89164e35 [2023-11-06T04:53:56.302Z] ---> f44d37dc1892 [2023-11-06T04:53:56.302Z] Step 9/10 : COPY . . [2023-11-06T04:53:56.302Z] ---> 6e8d185236b0 [2023-11-06T04:53:56.302Z] Step 10/10 : RUN ${MAKE} [2023-11-06T04:53:56.302Z] ---> Running in 77168d8186f5 [2023-11-06T04:53:56.302Z] noop [2023-11-06T04:53:56.302Z] Removing intermediate container 77168d8186f5 [2023-11-06T04:53:56.302Z] ---> cbb1913efd46 [2023-11-06T04:53:56.302Z] Successfully built cbb1913efd46 [2023-11-06T04:53:56.302Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T04:53:56.751Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-06T04:53:56.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T04:53:56.912Z] prd-ubuntu20.04-docker-8c-8g-16609 does not seem to be running inside a container [2023-11-06T04:53:56.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1537 -v /w/workspace/gexfoundry_device-sdk-go_PR-1537:/w/workspace/gexfoundry_device-sdk-go_PR-1537:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-06T04:53:57.261Z] $ docker top a73ef418a42a6e5b7a41132697a6de05e2e7918e08413f90a9985567c94ff49b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T04:53:57.657Z] + go version [2023-11-06T04:53:57.657Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-06T04:53:57.698Z] $ docker stop --time=1 a73ef418a42a6e5b7a41132697a6de05e2e7918e08413f90a9985567c94ff49b [2023-11-06T04:53:58.933Z] $ docker rm -f --volumes a73ef418a42a6e5b7a41132697a6de05e2e7918e08413f90a9985567c94ff49b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T04:53:59.690Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-06T04:53:59.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T04:53:59.843Z] prd-ubuntu20.04-docker-8c-8g-16609 does not seem to be running inside a container [2023-11-06T04:53:59.872Z] $ 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-1537 -v /w/workspace/gexfoundry_device-sdk-go_PR-1537:/w/workspace/gexfoundry_device-sdk-go_PR-1537:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-06T04:54:00.172Z] $ docker top 78e9fc09c599290264db82233811896a18ba6d7d2801e56dcc1375a1e74e0629 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T04:54:00.560Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1537 [Pipeline] fileExists [Pipeline] sh [2023-11-06T04:54:00.922Z] + make test [2023-11-06T04:54:00.922Z] go test -race -coverprofile=coverage.out ./... [2023-11-06T04:54:07.482Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-06T04:54:19.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-06T04:54:19.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-06T04:54:19.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-06T04:54:19.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-06T04:54:19.676Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-06T04:54:21.054Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-06T04:54:21.054Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-06T04:54:21.698Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.041s coverage: 27.6% of statements [2023-11-06T04:54:21.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-06T04:54:21.698Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.045s coverage: 81.5% of statements [2023-11-06T04:54:21.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.060s coverage: 86.0% of statements [2023-11-06T04:54:22.939Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.070s coverage: 71.8% of statements [2023-11-06T04:54:22.939Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-06T04:54:22.939Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-06T04:54:22.939Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-06T04:54:26.233Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.047s coverage: 14.4% of statements [2023-11-06T04:54:26.233Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.894s coverage: 45.9% of statements [2023-11-06T04:54:26.233Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.067s coverage: 68.5% of statements [2023-11-06T04:54:26.233Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.108s coverage: 89.2% of statements [2023-11-06T04:54:26.233Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-11-06T04:54:44.322Z] GO111MODULE=on go vet ./... [2023-11-06T04:54:46.851Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-06T04:54:46.851Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-06T04:54:46.851Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-06T04:54:46.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-06T04:54:46.925Z] $ docker stop --time=1 78e9fc09c599290264db82233811896a18ba6d7d2801e56dcc1375a1e74e0629 [2023-11-06T04:54:50.505Z] $ docker rm -f --volumes 78e9fc09c599290264db82233811896a18ba6d7d2801e56dcc1375a1e74e0629 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-06T04:54:51.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-06T04:54:51.184Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-06T04:54:51.808Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-06T04:54:52.125Z] + ls -al . [2023-11-06T04:54:52.125Z] total 308 [2023-11-06T04:54:52.125Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 6 04:54 . [2023-11-06T04:54:52.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 6 04:52 .. [2023-11-06T04:54:52.125Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 6 04:52 .dockerignore [2023-11-06T04:54:52.125Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 6 04:54 .git [2023-11-06T04:54:52.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 04:52 .github [2023-11-06T04:54:52.125Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 6 04:52 .gitignore [2023-11-06T04:54:52.125Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 6 04:52 .golangci.yml [2023-11-06T04:54:52.125Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 6 04:52 .semver [2023-11-06T04:54:52.125Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 6 04:52 CHANGELOG.md [2023-11-06T04:54:52.125Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 6 04:52 GOVERNANCE.md [2023-11-06T04:54:52.125Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 6 04:52 Jenkinsfile [2023-11-06T04:54:52.125Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 6 04:52 LICENSE [2023-11-06T04:54:52.125Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 6 04:52 Makefile [2023-11-06T04:54:52.125Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 6 04:52 OWNERS.md [2023-11-06T04:54:52.125Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 6 04:52 README.md [2023-11-06T04:54:52.125Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 6 04:53 VERSION [2023-11-06T04:54:52.126Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 04:52 bin [2023-11-06T04:54:52.126Z] -rw-r--r-- 1 jenkins jenkins 122154 Nov 6 04:54 coverage.out [2023-11-06T04:54:52.126Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 6 04:52 example [2023-11-06T04:54:52.126Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 6 04:52 go.mod [2023-11-06T04:54:52.126Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 6 04:52 go.sum [2023-11-06T04:54:52.126Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 6 04:52 internal [2023-11-06T04:54:52.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 04:52 openapi [2023-11-06T04:54:52.126Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 6 04:52 pkg [2023-11-06T04:54:52.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 6 04:52 snap [2023-11-06T04:54:52.126Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 6 04:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T04:54:52.654Z] + 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=bbfac8dd9bedab070b95549b3d6c196b3043fd55 --label arch=amd64 --label version=0.0.0 . [2023-11-06T04:54:52.654Z] Sending build context to Docker daemon 11.4MB [2023-11-06T04:54:52.654Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-06T04:54:52.654Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-06T04:54:52.654Z] ---> cbb1913efd46 [2023-11-06T04:54:52.654Z] Step 3/23 : ARG MAKE=make build [2023-11-06T04:54:52.916Z] ---> Running in 3a4b6f9f2192 [2023-11-06T04:54:52.916Z] Removing intermediate container 3a4b6f9f2192 [2023-11-06T04:54:52.916Z] ---> d968e45e458d [2023-11-06T04:54:52.916Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-06T04:54:52.916Z] ---> Running in bdebb8834994 [2023-11-06T04:54:53.175Z] Removing intermediate container bdebb8834994 [2023-11-06T04:54:53.175Z] ---> 96282fee91d7 [2023-11-06T04:54:53.175Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-06T04:54:53.175Z] ---> Running in f8d62bf322e4 [2023-11-06T04:54:53.175Z] Removing intermediate container f8d62bf322e4 [2023-11-06T04:54:53.175Z] ---> cb20db9e98e8 [2023-11-06T04:54:53.175Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-06T04:54:53.175Z] ---> Running in ec1e0323cb7d [2023-11-06T04:54:53.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-06T04:54:53.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-06T04:54:53.692Z] OK: 264 MiB in 52 packages [2023-11-06T04:54:53.951Z] Removing intermediate container ec1e0323cb7d [2023-11-06T04:54:53.951Z] ---> 149ddad45609 [2023-11-06T04:54:53.951Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-06T04:54:54.211Z] ---> 3a1ec86c6840 [2023-11-06T04:54:54.211Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-06T04:54:54.211Z] ---> Running in 8951052faba3 [2023-11-06T04:54:54.779Z] Removing intermediate container 8951052faba3 [2023-11-06T04:54:54.779Z] ---> ad0d9a7b86bf [2023-11-06T04:54:54.779Z] Step 9/23 : COPY . . [2023-11-06T04:54:55.351Z] ---> a0a3b0eceea7 [2023-11-06T04:54:55.351Z] Step 10/23 : RUN ${MAKE} [2023-11-06T04:54:55.351Z] ---> Running in 594a12a18357 [2023-11-06T04:54:55.613Z] 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-11-06T04:55:13.700Z] Removing intermediate container 594a12a18357 [2023-11-06T04:55:13.700Z] ---> 289c1e2fd8da [2023-11-06T04:55:13.700Z] Step 11/23 : FROM alpine:3.18 [2023-11-06T04:55:13.700Z] 3.18: Pulling from library/alpine [2023-11-06T04:55:13.700Z] 96526aa774ef: Pulling fs layer [2023-11-06T04:55:13.700Z] 96526aa774ef: Download complete [2023-11-06T04:55:13.960Z] 96526aa774ef: Pull complete [2023-11-06T04:55:13.960Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-06T04:55:13.960Z] Status: Downloaded newer image for alpine:3.18 [2023-11-06T04:55:13.960Z] ---> 8ca4688f4f35 [2023-11-06T04:55:13.960Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-06T04:55:14.217Z] ---> Running in cffb73850e6d [2023-11-06T04:55:14.217Z] Removing intermediate container cffb73850e6d [2023-11-06T04:55:14.217Z] ---> 299d8cb97027 [2023-11-06T04:55:14.217Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-06T04:55:14.217Z] ---> Running in edd2f5cbe4f0 [2023-11-06T04:55:14.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-06T04:55:14.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-06T04:55:14.995Z] OK: 7 MiB in 15 packages [2023-11-06T04:55:15.254Z] Removing intermediate container edd2f5cbe4f0 [2023-11-06T04:55:15.254Z] ---> 5f42b457f124 [2023-11-06T04:55:15.254Z] Step 14/23 : WORKDIR / [2023-11-06T04:55:15.254Z] ---> Running in b1c1a32a2a36 [2023-11-06T04:55:15.254Z] Removing intermediate container b1c1a32a2a36 [2023-11-06T04:55:15.254Z] ---> a4ffc7aec133 [2023-11-06T04:55:15.254Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-06T04:55:15.513Z] ---> bc2c84f7d8a9 [2023-11-06T04:55:15.513Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-06T04:55:16.146Z] ---> fd0fbeace32c [2023-11-06T04:55:16.146Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-06T04:55:16.406Z] ---> eae7c783925f [2023-11-06T04:55:16.406Z] Step 18/23 : EXPOSE 59999 [2023-11-06T04:55:16.406Z] ---> Running in 42cab8ea5fcc [2023-11-06T04:55:16.406Z] Removing intermediate container 42cab8ea5fcc [2023-11-06T04:55:16.406Z] ---> 71fc5575c91f [2023-11-06T04:55:16.406Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-06T04:55:16.406Z] ---> Running in 318d2be8b7ee [2023-11-06T04:55:16.406Z] Removing intermediate container 318d2be8b7ee [2023-11-06T04:55:16.406Z] ---> 6138b9b565e1 [2023-11-06T04:55:16.406Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-06T04:55:16.406Z] ---> Running in e99c4fd8a099 [2023-11-06T04:55:16.667Z] Removing intermediate container e99c4fd8a099 [2023-11-06T04:55:16.667Z] ---> 9ce7d53f15d8 [2023-11-06T04:55:16.667Z] Step 21/23 : LABEL arch=amd64 [2023-11-06T04:55:16.667Z] ---> Running in 1cb02719d6b9 [2023-11-06T04:55:16.667Z] Removing intermediate container 1cb02719d6b9 [2023-11-06T04:55:16.667Z] ---> 94e00c08fd56 [2023-11-06T04:55:16.667Z] Step 22/23 : LABEL git_sha=bbfac8dd9bedab070b95549b3d6c196b3043fd55 [2023-11-06T04:55:16.667Z] ---> Running in 642a61cb34f6 [2023-11-06T04:55:16.667Z] Removing intermediate container 642a61cb34f6 [2023-11-06T04:55:16.667Z] ---> 3a902a9a18ac [2023-11-06T04:55:16.667Z] Step 23/23 : LABEL version=0.0.0 [2023-11-06T04:55:16.667Z] ---> Running in 3ad9fadeb60d [2023-11-06T04:55:16.925Z] Removing intermediate container 3ad9fadeb60d [2023-11-06T04:55:16.925Z] ---> fd8032ecfb4f [2023-11-06T04:55:16.925Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-06T04:55:16.925Z] Successfully built fd8032ecfb4f [2023-11-06T04:55:16.925Z] 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-11-06T04:55:17.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-06T04:55:17.744Z] [2023-11-06T04:55:17.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T04:55:18.126Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-06T04:55:18.126Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-06T04:55:18.126Z] 5eb5b503b376: Pulling fs layer [2023-11-06T04:55:18.126Z] 5c69ac0246d0: Pulling fs layer [2023-11-06T04:55:18.126Z] ec43610c2a17: Pulling fs layer [2023-11-06T04:55:18.126Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-06T04:55:18.126Z] 33b1e0a273af: Pulling fs layer [2023-11-06T04:55:18.126Z] 5d3b04190fa2: Pulling fs layer [2023-11-06T04:55:18.126Z] 2f39f015ded8: Pulling fs layer [2023-11-06T04:55:18.126Z] 33b1e0a273af: Waiting [2023-11-06T04:55:18.126Z] 5d3b04190fa2: Waiting [2023-11-06T04:55:18.126Z] 2f39f015ded8: Waiting [2023-11-06T04:55:18.127Z] 3a2ae6a8a46f: Waiting [2023-11-06T04:55:18.127Z] 5c69ac0246d0: Download complete [2023-11-06T04:55:18.127Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-06T04:55:18.127Z] 3a2ae6a8a46f: Download complete [2023-11-06T04:55:18.127Z] 33b1e0a273af: Verifying Checksum [2023-11-06T04:55:18.127Z] 33b1e0a273af: Download complete [2023-11-06T04:55:18.127Z] ec43610c2a17: Verifying Checksum [2023-11-06T04:55:18.127Z] ec43610c2a17: Download complete [2023-11-06T04:55:18.127Z] 5d3b04190fa2: Verifying Checksum [2023-11-06T04:55:18.127Z] 5d3b04190fa2: Download complete [2023-11-06T04:55:18.387Z] 5eb5b503b376: Verifying Checksum [2023-11-06T04:55:18.387Z] 5eb5b503b376: Download complete [2023-11-06T04:55:18.955Z] 2f39f015ded8: Download complete [2023-11-06T04:55:19.522Z] 5eb5b503b376: Pull complete [2023-11-06T04:55:19.522Z] 5c69ac0246d0: Pull complete [2023-11-06T04:55:20.094Z] ec43610c2a17: Pull complete [2023-11-06T04:55:20.094Z] 3a2ae6a8a46f: Pull complete [2023-11-06T04:55:20.352Z] 33b1e0a273af: Pull complete [2023-11-06T04:55:20.352Z] 5d3b04190fa2: Pull complete [2023-11-06T04:55:24.539Z] 2f39f015ded8: Pull complete [2023-11-06T04:55:24.539Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-06T04:55:24.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-06T04:55:24.539Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T04:55:24.777Z] prd-ubuntu20.04-docker-8c-8g-16609 does not seem to be running inside a container [2023-11-06T04:55:24.809Z] $ 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-1537 -v /w/workspace/gexfoundry_device-sdk-go_PR-1537:/w/workspace/gexfoundry_device-sdk-go_PR-1537:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-06T04:55:29.101Z] $ docker top c7db0c8eeb3e06caff2cfa1432692e15ad7e4bccf33317a3b59926f324bc8e1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T04:55:29.550Z] ---> job-cost.sh [2023-11-06T04:55:29.550Z] lf-activate-venv: SKIPPING [2023-11-06T04:55:29.550Z] INFO: No Stack... [2023-11-06T04:55:29.809Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-06T04:55:30.069Z] INFO: Archiving Costs [Pipeline] sh [2023-11-06T04:55:30.385Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1537/archives/cost.csv [2023-11-06T04:55:30.386Z] + cut -d, -f6 [Pipeline] lock [2023-11-06T04:55:30.426Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1537-1-stack-cost] [2023-11-06T04:55:30.431Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1537-1-stack-cost] did not exist. Created. [2023-11-06T04:55:30.431Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1537-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-06T04:55:30.825Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-06T04:55:30.879Z] Stashed 1 file(s) [Pipeline] } [2023-11-06T04:55:30.902Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1537-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-06T04:55:30.985Z] $ docker stop --time=1 c7db0c8eeb3e06caff2cfa1432692e15ad7e4bccf33317a3b59926f324bc8e1a [2023-11-06T04:55:32.136Z] $ docker rm -f --volumes c7db0c8eeb3e06caff2cfa1432692e15ad7e4bccf33317a3b59926f324bc8e1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-06T04:57:34.148Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16610 in /w/workspace/gexfoundry_device-sdk-go_PR-1537 [Pipeline] { [Pipeline] ws [2023-11-06T04:57:34.206Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-11-06T04:57:34.310Z] The recommended git tool is: git [2023-11-06T04:57:42.592Z] using credential edgex-jenkins-ssh [2023-11-06T04:57:42.617Z] Cloning the remote Git repository [2023-11-06T04:57:42.691Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-06T04:57:42.859Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-11-06T04:57:43.105Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-06T04:57:43.106Z] > git --version # timeout=10 [2023-11-06T04:57:43.147Z] > git --version # 'git version 2.25.1' [2023-11-06T04:57:43.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-06T04:57:43.354Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-06T04:57:47.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-06T04:57:47.346Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-06T04:57:49.132Z] Merging remotes/origin/main commit 487ca8dbaf5a7983b4dd4e8681142a99360f28bf into PR head commit bbfac8dd9bedab070b95549b3d6c196b3043fd55 [2023-11-06T04:57:49.453Z] Merge succeeded, producing bbfac8dd9bedab070b95549b3d6c196b3043fd55 [2023-11-06T04:57:49.453Z] Checking out Revision bbfac8dd9bedab070b95549b3d6c196b3043fd55 (PR-1537) [2023-11-06T04:57:48.457Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-06T04:57:48.500Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-06T04:57:48.501Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-06T04:57:48.518Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1537/head:refs/remotes/origin/PR-1537 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-06T04:57:49.155Z] > git config core.sparsecheckout # timeout=10 [2023-11-06T04:57:49.229Z] > git checkout -f bbfac8dd9bedab070b95549b3d6c196b3043fd55 # timeout=10 [2023-11-06T04:57:49.339Z] > git remote # timeout=10 [2023-11-06T04:57:49.362Z] > git config --get remote.origin.url # timeout=10 [2023-11-06T04:57:49.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-06T04:57:49.404Z] > git merge 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 [2023-11-06T04:57:49.433Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-06T04:57:49.460Z] > git config core.sparsecheckout # timeout=10 [2023-11-06T04:57:49.475Z] > git checkout -f bbfac8dd9bedab070b95549b3d6c196b3043fd55 # timeout=10 [2023-11-06T04:57:49.963Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-11-06T04:57:50.014Z] > git --version # timeout=10 [2023-11-06T04:57:50.028Z] > git --version # 'git version 2.25.1' [2023-11-06T04:57:50.039Z] fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-06T04:57:51.329Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-06T04:57:51.329Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-06T04:57:51.329Z] Dload Upload Total Spent Left Speed [2023-11-06T04:57:51.603Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 45292 0 --:--:-- --:--:-- --:--:-- 45455 [Pipeline] sh [2023-11-06T04:57:52.247Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-06T04:57:52.604Z] + sudo tee /etc/docker/daemon.new [2023-11-06T04:57:52.604Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-06T04:57:52.604Z] { [2023-11-06T04:57:52.604Z] "registry-mirrors": [ [2023-11-06T04:57:52.604Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-06T04:57:52.604Z] ], [2023-11-06T04:57:52.604Z] "bip": "10.250.0.254/24", [2023-11-06T04:57:52.604Z] "hosts": [ [2023-11-06T04:57:52.604Z] "tcp://0.0.0.0:5555", [2023-11-06T04:57:52.604Z] "unix:///var/run/docker.sock" [2023-11-06T04:57:52.604Z] ], [2023-11-06T04:57:52.604Z] "mtu": 1458, [2023-11-06T04:57:52.604Z] "selinux-enabled": true, [2023-11-06T04:57:52.604Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-06T04:57:52.604Z] } [Pipeline] sh [2023-11-06T04:57:52.948Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-06T04:57:53.302Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T04:58:11.643Z] provisioning config files... [2023-11-06T04:58:11.673Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16044714946024167518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T04:58:12.075Z] ---> docker-login.sh [2023-11-06T04:58:12.075Z] nexus3.edgexfoundry.org:10001 [2023-11-06T04:58:12.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:58:12.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:58:12.942Z] Configure a credential helper to remove this warning. See [2023-11-06T04:58:12.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:58:12.942Z] [2023-11-06T04:58:12.942Z] Login Succeeded [2023-11-06T04:58:12.942Z] nexus3.edgexfoundry.org:10002 [2023-11-06T04:58:12.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:58:13.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:58:13.215Z] Configure a credential helper to remove this warning. See [2023-11-06T04:58:13.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:58:13.215Z] [2023-11-06T04:58:13.215Z] Login Succeeded [2023-11-06T04:58:13.215Z] nexus3.edgexfoundry.org:10003 [2023-11-06T04:58:13.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:58:13.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:58:13.488Z] Configure a credential helper to remove this warning. See [2023-11-06T04:58:13.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:58:13.488Z] [2023-11-06T04:58:13.488Z] Login Succeeded [2023-11-06T04:58:13.488Z] nexus3.edgexfoundry.org:10004 [2023-11-06T04:58:13.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:58:14.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:58:14.041Z] Configure a credential helper to remove this warning. See [2023-11-06T04:58:14.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:58:14.041Z] [2023-11-06T04:58:14.041Z] Login Succeeded [2023-11-06T04:58:14.041Z] docker.io [2023-11-06T04:58:14.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-06T04:58:14.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-06T04:58:14.636Z] Configure a credential helper to remove this warning. See [2023-11-06T04:58:14.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-06T04:58:14.636Z] [2023-11-06T04:58:14.636Z] Login Succeeded [2023-11-06T04:58:14.636Z] ---> docker-login.sh ends [Pipeline] } [2023-11-06T04:58:14.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-06T04:58:15.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T04:58:15.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-06T04:58:15.148Z] ========================================================= [2023-11-06T04:58:15.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-06T04:58:15.148Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T04:58:15.674Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-06T04:58:16.274Z] Sending build context to Docker daemon 6.037MB [2023-11-06T04:58:16.274Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-06T04:58:16.274Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-06T04:58:16.274Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-06T04:58:16.274Z] 9fda8d8052c6: Pulling fs layer [2023-11-06T04:58:16.274Z] 5d54e960e981: Pulling fs layer [2023-11-06T04:58:16.274Z] c4a7e357bf2a: Pulling fs layer [2023-11-06T04:58:16.274Z] f0e02332f6b5: Pulling fs layer [2023-11-06T04:58:16.274Z] cefa15bbcfad: Pulling fs layer [2023-11-06T04:58:16.274Z] 17808c966233: Pulling fs layer [2023-11-06T04:58:16.274Z] f4c1fc716caa: Pulling fs layer [2023-11-06T04:58:16.274Z] f0e02332f6b5: Waiting [2023-11-06T04:58:16.274Z] cefa15bbcfad: Waiting [2023-11-06T04:58:16.274Z] f4c1fc716caa: Waiting [2023-11-06T04:58:16.274Z] 5d54e960e981: Verifying Checksum [2023-11-06T04:58:16.274Z] 5d54e960e981: Download complete [2023-11-06T04:58:16.553Z] f0e02332f6b5: Verifying Checksum [2023-11-06T04:58:16.553Z] f0e02332f6b5: Download complete [2023-11-06T04:58:16.553Z] cefa15bbcfad: Verifying Checksum [2023-11-06T04:58:16.553Z] cefa15bbcfad: Download complete [2023-11-06T04:58:16.553Z] 9fda8d8052c6: Verifying Checksum [2023-11-06T04:58:16.553Z] 9fda8d8052c6: Download complete [2023-11-06T04:58:16.825Z] f4c1fc716caa: Verifying Checksum [2023-11-06T04:58:16.826Z] f4c1fc716caa: Download complete [2023-11-06T04:58:17.794Z] 9fda8d8052c6: Pull complete [2023-11-06T04:58:18.062Z] 5d54e960e981: Pull complete [2023-11-06T04:58:18.331Z] c4a7e357bf2a: Verifying Checksum [2023-11-06T04:58:18.331Z] c4a7e357bf2a: Download complete [2023-11-06T04:58:19.311Z] 17808c966233: Verifying Checksum [2023-11-06T04:58:19.311Z] 17808c966233: Download complete [2023-11-06T04:58:31.764Z] c4a7e357bf2a: Pull complete [2023-11-06T04:58:31.765Z] f0e02332f6b5: Pull complete [2023-11-06T04:58:31.765Z] cefa15bbcfad: Pull complete [2023-11-06T04:58:40.023Z] 17808c966233: Pull complete [2023-11-06T04:58:44.279Z] f4c1fc716caa: Pull complete [2023-11-06T04:58:44.279Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-06T04:58:44.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-06T04:58:44.279Z] ---> ea914061e18c [2023-11-06T04:58:44.279Z] Step 3/10 : ARG MAKE=make build [2023-11-06T04:58:45.700Z] ---> Running in 1544198b8d23 [2023-11-06T04:58:45.968Z] Removing intermediate container 1544198b8d23 [2023-11-06T04:58:45.968Z] ---> d5450ea90daf [2023-11-06T04:58:45.968Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-06T04:58:45.968Z] ---> Running in 9266fd4929fe [2023-11-06T04:58:46.239Z] Removing intermediate container 9266fd4929fe [2023-11-06T04:58:46.239Z] ---> a0579615de5d [2023-11-06T04:58:46.239Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-06T04:58:46.507Z] ---> Running in 9175e08a93b9 [2023-11-06T04:58:46.780Z] Removing intermediate container 9175e08a93b9 [2023-11-06T04:58:46.780Z] ---> 40e87f94350e [2023-11-06T04:58:46.780Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-06T04:58:46.780Z] ---> Running in 0b25e8562f36 [2023-11-06T04:58:48.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-06T04:58:48.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-06T04:58:49.442Z] OK: 266 MiB in 52 packages [2023-11-06T04:58:50.855Z] Removing intermediate container 0b25e8562f36 [2023-11-06T04:58:50.855Z] ---> e563dbd61335 [2023-11-06T04:58:50.855Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-06T04:58:51.439Z] ---> f6d7ffad4598 [2023-11-06T04:58:51.440Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-06T04:58:51.440Z] ---> Running in 206cce1a89de [2023-11-06T05:00:13.077Z] Removing intermediate container 206cce1a89de [2023-11-06T05:00:13.077Z] ---> c764b1714b1d [2023-11-06T05:00:13.077Z] Step 9/10 : COPY . . [2023-11-06T05:00:13.077Z] ---> e0841385b193 [2023-11-06T05:00:13.077Z] Step 10/10 : RUN ${MAKE} [2023-11-06T05:00:13.077Z] ---> Running in f0e6ffd54a36 [2023-11-06T05:00:13.077Z] noop [2023-11-06T05:00:13.077Z] Removing intermediate container f0e6ffd54a36 [2023-11-06T05:00:13.077Z] ---> eb162cd27de3 [2023-11-06T05:00:13.077Z] Successfully built eb162cd27de3 [2023-11-06T05:00:13.077Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T05:00:13.585Z] + docker inspect -f . ci-base-image-arm64 [2023-11-06T05:00:13.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T05:00:13.887Z] prd-ubuntu20.04-docker-arm64-4c-16g-16610 does not seem to be running inside a container [2023-11-06T05:00:13.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-06T05:00:15.198Z] $ docker top 701bd488133a993f9128f531e99376321443fb6059a2df65d09447df83fc6dfc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T05:00:16.094Z] + go version [2023-11-06T05:00:16.094Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-06T05:00:16.131Z] $ docker stop --time=1 701bd488133a993f9128f531e99376321443fb6059a2df65d09447df83fc6dfc [2023-11-06T05:00:17.768Z] $ docker rm -f --volumes 701bd488133a993f9128f531e99376321443fb6059a2df65d09447df83fc6dfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T05:00:18.640Z] + docker inspect -f . ci-base-image-arm64 [2023-11-06T05:00:18.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T05:00:18.898Z] prd-ubuntu20.04-docker-arm64-4c-16g-16610 does not seem to be running inside a container [2023-11-06T05:00:18.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-06T05:00:20.147Z] $ docker top 3740118792da44601fad0372e17ab0b4f33bad70916b010a4acbb44d5087dc0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T05:00:21.023Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-06T05:00:21.407Z] + make test [2023-11-06T05:00:21.680Z] go test -race -coverprofile=coverage.out ./... [2023-11-06T05:01:02.135Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-06T05:02:38.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-06T05:02:38.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-06T05:02:38.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-06T05:02:38.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-06T05:02:38.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-06T05:02:46.997Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.199s coverage: 27.6% of statements [2023-11-06T05:02:55.205Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.257s coverage: 81.5% of statements [2023-11-06T05:03:03.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-06T05:03:03.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-06T05:03:04.837Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.346s coverage: 86.0% of statements [2023-11-06T05:03:10.174Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-06T05:03:10.757Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.432s coverage: 71.8% of statements [2023-11-06T05:03:14.100Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.255s coverage: 14.4% of statements [2023-11-06T05:03:14.101Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.702s coverage: 45.9% of statements [2023-11-06T05:03:14.369Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-06T05:03:14.369Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-06T05:03:15.780Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.406s coverage: 68.5% of statements [2023-11-06T05:03:19.118Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.431s coverage: 89.2% of statements [2023-11-06T05:03:19.386Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-06T05:03:20.795Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.235s coverage: 5.5% of statements [2023-11-06T05:03:21.757Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-06T05:03:21.757Z] GO111MODULE=on go vet ./... [2023-11-06T05:05:28.432Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-06T05:05:28.432Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-06T05:05:28.432Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-06T05:05:28.469Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-06T05:05:28.502Z] $ docker stop --time=1 3740118792da44601fad0372e17ab0b4f33bad70916b010a4acbb44d5087dc0c [2023-11-06T05:05:30.463Z] $ docker rm -f --volumes 3740118792da44601fad0372e17ab0b4f33bad70916b010a4acbb44d5087dc0c [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-06T05:05:32.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-06T05:05:32.378Z] Warning: overwriting stash ‘coverage-report’ [2023-11-06T05:05:33.053Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-06T05:05:33.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-06T05:05:34.032Z] + ls -al . [2023-11-06T05:05:34.032Z] total 304 [2023-11-06T05:05:34.032Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 6 05:00 . [2023-11-06T05:05:34.032Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 6 04:57 .. [2023-11-06T05:05:34.032Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 6 04:57 .dockerignore [2023-11-06T05:05:34.032Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 6 04:57 .git [2023-11-06T05:05:34.032Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 04:57 .github [2023-11-06T05:05:34.032Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 6 04:57 .gitignore [2023-11-06T05:05:34.032Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 6 04:57 .golangci.yml [2023-11-06T05:05:34.032Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 6 04:57 CHANGELOG.md [2023-11-06T05:05:34.032Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 6 04:57 GOVERNANCE.md [2023-11-06T05:05:34.032Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 6 04:57 Jenkinsfile [2023-11-06T05:05:34.032Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 6 04:57 LICENSE [2023-11-06T05:05:34.032Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 6 04:57 Makefile [2023-11-06T05:05:34.033Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 6 04:57 OWNERS.md [2023-11-06T05:05:34.033Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 6 04:57 README.md [2023-11-06T05:05:34.033Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 6 04:53 VERSION [2023-11-06T05:05:34.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 6 04:57 bin [2023-11-06T05:05:34.033Z] -rw-r--r-- 1 jenkins jenkins 122155 Nov 6 05:03 coverage.out [2023-11-06T05:05:34.033Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 6 04:57 example [2023-11-06T05:05:34.033Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 6 04:57 go.mod [2023-11-06T05:05:34.033Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 6 04:57 go.sum [2023-11-06T05:05:34.033Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 6 04:57 internal [2023-11-06T05:05:34.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 6 04:57 openapi [2023-11-06T05:05:34.033Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 6 04:57 pkg [2023-11-06T05:05:34.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 6 04:57 snap [2023-11-06T05:05:34.033Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 6 04:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T05:05:34.616Z] + 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=bbfac8dd9bedab070b95549b3d6c196b3043fd55 --label arch=arm64 --label version=0.0.0 . [2023-11-06T05:05:35.210Z] Sending build context to Docker daemon 6.16MB [2023-11-06T05:05:35.210Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-06T05:05:35.210Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-06T05:05:35.210Z] ---> eb162cd27de3 [2023-11-06T05:05:35.210Z] Step 3/23 : ARG MAKE=make build [2023-11-06T05:05:35.210Z] ---> Running in 776f90e51cb2 [2023-11-06T05:05:35.481Z] Removing intermediate container 776f90e51cb2 [2023-11-06T05:05:35.481Z] ---> 19d789970d6c [2023-11-06T05:05:35.481Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-06T05:05:35.768Z] ---> Running in cc714ac8dd97 [2023-11-06T05:05:36.039Z] Removing intermediate container cc714ac8dd97 [2023-11-06T05:05:36.039Z] ---> 3170d5599c41 [2023-11-06T05:05:36.039Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-06T05:05:36.039Z] ---> Running in f1149df2a306 [2023-11-06T05:05:36.314Z] Removing intermediate container f1149df2a306 [2023-11-06T05:05:36.314Z] ---> d768434de791 [2023-11-06T05:05:36.314Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-06T05:05:36.605Z] ---> Running in 5ed72fb02048 [2023-11-06T05:05:37.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-06T05:05:37.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-06T05:05:39.258Z] OK: 266 MiB in 52 packages [2023-11-06T05:05:40.240Z] Removing intermediate container 5ed72fb02048 [2023-11-06T05:05:40.240Z] ---> 1d8e523d6155 [2023-11-06T05:05:40.240Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-06T05:05:40.508Z] ---> 71fbdb1d96db [2023-11-06T05:05:40.508Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-06T05:05:40.776Z] ---> Running in f24a91ededb6 [2023-11-06T05:05:42.719Z] Removing intermediate container f24a91ededb6 [2023-11-06T05:05:42.719Z] ---> bd2f227d399e [2023-11-06T05:05:42.719Z] Step 9/23 : COPY . . [2023-11-06T05:05:44.126Z] ---> 6c4ccf1de24d [2023-11-06T05:05:44.126Z] Step 10/23 : RUN ${MAKE} [2023-11-06T05:05:44.126Z] ---> Running in 2070e8845722 [2023-11-06T05:05:44.710Z] 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-11-06T05:07:37.826Z] Removing intermediate container 2070e8845722 [2023-11-06T05:07:37.826Z] ---> 27f9147fd2e6 [2023-11-06T05:07:37.826Z] Step 11/23 : FROM alpine:3.18 [2023-11-06T05:07:37.826Z] 3.18: Pulling from library/alpine [2023-11-06T05:07:37.826Z] 579b34f0a95b: Pulling fs layer [2023-11-06T05:07:37.826Z] 579b34f0a95b: Verifying Checksum [2023-11-06T05:07:37.826Z] 579b34f0a95b: Download complete [2023-11-06T05:07:37.826Z] 579b34f0a95b: Pull complete [2023-11-06T05:07:37.826Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-06T05:07:37.826Z] Status: Downloaded newer image for alpine:3.18 [2023-11-06T05:07:37.826Z] ---> 3cc203321400 [2023-11-06T05:07:37.826Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-06T05:07:37.826Z] ---> Running in f12c0818952a [2023-11-06T05:07:37.827Z] Removing intermediate container f12c0818952a [2023-11-06T05:07:37.827Z] ---> 4a270afce7d1 [2023-11-06T05:07:37.827Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-06T05:07:37.827Z] ---> Running in 03fceed5e666 [2023-11-06T05:07:37.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-06T05:07:38.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-06T05:07:39.502Z] OK: 8 MiB in 15 packages [2023-11-06T05:07:42.080Z] Removing intermediate container 03fceed5e666 [2023-11-06T05:07:42.080Z] ---> 9919b720db7f [2023-11-06T05:07:42.080Z] Step 14/23 : WORKDIR / [2023-11-06T05:07:42.080Z] ---> Running in 16a2a3886b5b [2023-11-06T05:07:42.080Z] Removing intermediate container 16a2a3886b5b [2023-11-06T05:07:42.080Z] ---> 17ca3a9be7c6 [2023-11-06T05:07:42.080Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-06T05:07:42.671Z] ---> e1591780b269 [2023-11-06T05:07:42.671Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-06T05:07:44.078Z] ---> 672a9cc4c146 [2023-11-06T05:07:44.078Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-06T05:07:44.675Z] ---> e47afe2fc885 [2023-11-06T05:07:44.675Z] Step 18/23 : EXPOSE 59999 [2023-11-06T05:07:44.675Z] ---> Running in 23c61b6a66a8 [2023-11-06T05:07:44.943Z] Removing intermediate container 23c61b6a66a8 [2023-11-06T05:07:44.943Z] ---> 6246aa539971 [2023-11-06T05:07:44.943Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-06T05:07:44.943Z] ---> Running in 27379f835731 [2023-11-06T05:07:45.211Z] Removing intermediate container 27379f835731 [2023-11-06T05:07:45.211Z] ---> 5d507a6e6922 [2023-11-06T05:07:45.211Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-06T05:07:45.481Z] ---> Running in 28f7c36fdc6d [2023-11-06T05:07:45.750Z] Removing intermediate container 28f7c36fdc6d [2023-11-06T05:07:45.750Z] ---> f077ec090d69 [2023-11-06T05:07:45.750Z] Step 21/23 : LABEL arch=arm64 [2023-11-06T05:07:45.750Z] ---> Running in 963ecd8ffce9 [2023-11-06T05:07:46.018Z] Removing intermediate container 963ecd8ffce9 [2023-11-06T05:07:46.018Z] ---> 30d7af7a4408 [2023-11-06T05:07:46.018Z] Step 22/23 : LABEL git_sha=bbfac8dd9bedab070b95549b3d6c196b3043fd55 [2023-11-06T05:07:46.294Z] ---> Running in 5d8b378a030a [2023-11-06T05:07:46.562Z] Removing intermediate container 5d8b378a030a [2023-11-06T05:07:46.562Z] ---> e8d885d03bb6 [2023-11-06T05:07:46.562Z] Step 23/23 : LABEL version=0.0.0 [2023-11-06T05:07:46.562Z] ---> Running in e33866111e4b [2023-11-06T05:07:46.830Z] Removing intermediate container e33866111e4b [2023-11-06T05:07:46.830Z] ---> 354327acc6c6 [2023-11-06T05:07:46.830Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-06T05:07:46.830Z] Successfully built 354327acc6c6 [2023-11-06T05:07:46.830Z] 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-11-06T05:07:47.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-06T05:07:47.667Z] [2023-11-06T05:07:47.667Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T05:07:48.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-06T05:07:48.070Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-06T05:07:48.070Z] 8998bd30e6a1: Pulling fs layer [2023-11-06T05:07:48.070Z] 04944245beec: Pulling fs layer [2023-11-06T05:07:48.070Z] 699f458cf7ca: Pulling fs layer [2023-11-06T05:07:48.070Z] 765212b225bb: Pulling fs layer [2023-11-06T05:07:48.070Z] f23df028b6ca: Pulling fs layer [2023-11-06T05:07:48.070Z] d65c8cfc05b1: Pulling fs layer [2023-11-06T05:07:48.070Z] 2437ff75d9bd: Pulling fs layer [2023-11-06T05:07:48.070Z] 2437ff75d9bd: Waiting [2023-11-06T05:07:48.070Z] f23df028b6ca: Waiting [2023-11-06T05:07:48.070Z] d65c8cfc05b1: Waiting [2023-11-06T05:07:48.070Z] 765212b225bb: Waiting [2023-11-06T05:07:48.338Z] 04944245beec: Verifying Checksum [2023-11-06T05:07:48.338Z] 04944245beec: Download complete [2023-11-06T05:07:48.338Z] f23df028b6ca: Verifying Checksum [2023-11-06T05:07:48.338Z] f23df028b6ca: Download complete [2023-11-06T05:07:48.338Z] d65c8cfc05b1: Verifying Checksum [2023-11-06T05:07:48.338Z] d65c8cfc05b1: Download complete [2023-11-06T05:07:48.338Z] 699f458cf7ca: Verifying Checksum [2023-11-06T05:07:48.338Z] 699f458cf7ca: Download complete [2023-11-06T05:07:48.923Z] 8998bd30e6a1: Verifying Checksum [2023-11-06T05:07:48.923Z] 8998bd30e6a1: Download complete [2023-11-06T05:07:51.505Z] 2437ff75d9bd: Verifying Checksum [2023-11-06T05:07:56.836Z] 8998bd30e6a1: Pull complete [2023-11-06T05:07:56.836Z] 04944245beec: Pull complete [2023-11-06T05:07:57.794Z] 699f458cf7ca: Pull complete [2023-11-06T05:07:58.060Z] 765212b225bb: Pull complete [2023-11-06T05:07:59.027Z] f23df028b6ca: Pull complete [2023-11-06T05:07:59.027Z] d65c8cfc05b1: Pull complete [2023-11-06T05:08:14.010Z] 2437ff75d9bd: Pull complete [2023-11-06T05:08:14.010Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-06T05:08:14.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-06T05:08:14.010Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T05:08:14.345Z] prd-ubuntu20.04-docker-arm64-4c-16g-16610 does not seem to be running inside a container [2023-11-06T05:08:14.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-06T05:08:16.949Z] $ docker top 73ec4ae888cad4dee2162043a13afd105bc7f7831ddc6c8657394e06fba0ff8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-06T05:08:17.522Z] ---> job-cost.sh [2023-11-06T05:08:17.796Z] lf-activate-venv: SKIPPING [2023-11-06T05:08:17.796Z] INFO: No Stack... [2023-11-06T05:08:18.060Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-06T05:08:19.013Z] INFO: Archiving Costs [Pipeline] sh [2023-11-06T05:08:19.357Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-11-06T05:08:19.357Z] + cut -d, -f6 [Pipeline] lock [2023-11-06T05:08:19.708Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1537-1-stack-cost] [2023-11-06T05:08:19.712Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1537-1-stack-cost] did not exist. Created. [2023-11-06T05:08:19.712Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1537-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-06T05:08:20.138Z] /w/workspace/device-sdk-go/1@tmp/durable-8059556f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-06T05:08:20.757Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-06T05:08:20.791Z] Warning: overwriting stash ‘stack-cost’ [2023-11-06T05:08:20.869Z] Stashed 1 file(s) [Pipeline] } [2023-11-06T05:08:20.885Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1537-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-06T05:08:20.970Z] $ docker stop --time=1 73ec4ae888cad4dee2162043a13afd105bc7f7831ddc6c8657394e06fba0ff8a [2023-11-06T05:08:25.629Z] $ docker rm -f --volumes 73ec4ae888cad4dee2162043a13afd105bc7f7831ddc6c8657394e06fba0ff8a [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-11-06T05:08:26.673Z] provisioning config files... [2023-11-06T05:08:26.679Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp/config14606880566021346088tmp [Pipeline] { [Pipeline] sh [2023-11-06T05:08:27.016Z] + set +x [2023-11-06T05:08:27.016Z] + + bash -s --curl [2023-11-06T05:08:27.016Z] -s https://codecov.io/bash [2023-11-06T05:08:27.016Z] [2023-11-06T05:08:27.016Z] _____ _ [2023-11-06T05:08:27.016Z] / ____| | | [2023-11-06T05:08:27.016Z] | | ___ __| | ___ ___ _____ __ [2023-11-06T05:08:27.016Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-06T05:08:27.016Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-06T05:08:27.016Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-06T05:08:27.016Z] Bash-1.0.6 [2023-11-06T05:08:27.016Z] [2023-11-06T05:08:27.016Z] [2023-11-06T05:08:27.016Z] ==> git version 2.25.1 found [2023-11-06T05:08:27.016Z] ==> 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-11-06T05:08:27.016Z] Release-Date: 2020-01-08 [2023-11-06T05:08:27.016Z] 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-11-06T05:08:27.016Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-06T05:08:27.016Z] ==> Jenkins CI detected. [2023-11-06T05:08:27.016Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1537 [2023-11-06T05:08:27.016Z] project root: . [2023-11-06T05:08:27.016Z] --> token set from env [2023-11-06T05:08:27.016Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-06T05:08:27.016Z] ==> Running gcov in . (disable via -X gcov) [2023-11-06T05:08:27.016Z] ==> Python coveragepy not found [2023-11-06T05:08:27.016Z] ==> Searching for coverage reports in: [2023-11-06T05:08:27.016Z] + . [2023-11-06T05:08:27.016Z] -> Found 1 reports [2023-11-06T05:08:27.016Z] ==> Detecting git/mercurial file structure [2023-11-06T05:08:27.016Z] ==> Reading reports [2023-11-06T05:08:27.016Z] + ./coverage.out bytes=122155 [2023-11-06T05:08:27.016Z] ==> Appending adjustments [2023-11-06T05:08:27.016Z] https://docs.codecov.io/docs/fixing-reports [2023-11-06T05:08:27.274Z] + Found adjustments [2023-11-06T05:08:27.533Z] ==> Gzipping contents [2023-11-06T05:08:27.533Z] 20K /tmp/codecov.4PunnE.gz [2023-11-06T05:08:27.533Z] ==> Uploading reports [2023-11-06T05:08:27.533Z] url: https://codecov.io [2023-11-06T05:08:27.533Z] query: branch=PR-1537&commit=bbfac8dd9bedab070b95549b3d6c196b3043fd55&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1537%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1537&job=&cmd_args= [2023-11-06T05:08:27.533Z] -> Pinging Codecov [2023-11-06T05:08:27.533Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1537&commit=bbfac8dd9bedab070b95549b3d6c196b3043fd55&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1537%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1537&job=&cmd_args= [2023-11-06T05:08:27.533Z] -> Uploading to [2023-11-06T05:08:27.533Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-06/7E55EF52A471D76F132DFD9A03CDDE97/bbfac8dd9bedab070b95549b3d6c196b3043fd55/c5c8aae6-6a02-44ca-8af4-5f72e1464180.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231106%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231106T050827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39e69380411b91b0084ce8dd99f22cb4525ff6bee06286be7ada2f93cc17531b [2023-11-06T05:08:27.533Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-06T05:08:27.533Z] Dload Upload Total Spent Left Speed [2023-11-06T05:08:27.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16746 0 0 100 16746 0 82900 --:--:-- --:--:-- --:--:-- 82492 100 16746 0 0 100 16746 0 68351 --:--:-- --:--:-- --:--:-- 68073 [2023-11-06T05:08:27.792Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bbfac8dd9bedab070b95549b3d6c196b3043fd55 [Pipeline] } [2023-11-06T05:08:27.820Z] 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-11-06T05:08:29.675Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1537/archives ] [2023-11-06T05:08:29.675Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1537/archives [2023-11-06T05:08:29.675Z] total 16 [2023-11-06T05:08:29.675Z] drwxr-xr-x 3 root root 4096 Nov 6 04:55 . [2023-11-06T05:08:29.675Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 6 04:55 .. [2023-11-06T05:08:29.675Z] drwxr-xr-x 2 root root 4096 Nov 6 04:55 cost [2023-11-06T05:08:29.675Z] -rw-r--r-- 1 root root 86 Nov 6 04:55 cost.csv [2023-11-06T05:08:29.675Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1537/archives [2023-11-06T05:08:29.675Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1537/archives [2023-11-06T05:08:29.675Z] total 16 [2023-11-06T05:08:29.675Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 6 04:55 . [2023-11-06T05:08:29.675Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 6 04:55 .. [2023-11-06T05:08:29.675Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 6 04:55 cost [2023-11-06T05:08:29.675Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 6 04:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-06T05:08:30.000Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T05:08:30.895Z] ---> package-listing.sh [2023-11-06T05:08:30.895Z] ++ facter osfamily [2023-11-06T05:08:30.895Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-06T05:08:31.155Z] + OS_FAMILY=debian [2023-11-06T05:08:31.155Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1537 [2023-11-06T05:08:31.155Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-06T05:08:31.155Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-06T05:08:31.155Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-06T05:08:31.155Z] + PACKAGES=/tmp/packages_start.txt [2023-11-06T05:08:31.155Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1537 ']' [2023-11-06T05:08:31.155Z] + PACKAGES=/tmp/packages_end.txt [2023-11-06T05:08:31.155Z] + case "${OS_FAMILY}" in [2023-11-06T05:08:31.155Z] + dpkg -l [2023-11-06T05:08:31.155Z] + grep '^ii' [2023-11-06T05:08:31.155Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-06T05:08:31.155Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-06T05:08:31.155Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-06T05:08:31.155Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1537 ']' [2023-11-06T05:08:31.155Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1537/archives/ [2023-11-06T05:08:31.155Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1537/archives/ [Pipeline] echo [2023-11-06T05:08:31.193Z] 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-1537/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-06T05:08:31.487Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-06T05:08:32.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-06T05:08:32.120Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-06T05:08:32.265Z] prd-ubuntu20.04-docker-8c-8g-16609 does not seem to be running inside a container [2023-11-06T05:08:32.293Z] $ 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-1537/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-1537 -v /w/workspace/gexfoundry_device-sdk-go_PR-1537:/w/workspace/gexfoundry_device-sdk-go_PR-1537:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-06T05:08:32.470Z] $ docker top 97222d5f598676fd02e97d58f58680bf5e53551f9caf4cdaf3e7d6dc9758e48a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-06T05:08:32.868Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-06T05:08:33.183Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-06T05:08:33.495Z] + ls /var/log/sa-host [2023-11-06T05:08:33.495Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-06T05:08:33.631Z] provisioning config files... [2023-11-06T05:08:33.640Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1537@tmp/config17832165005557376503tmp [Pipeline] { [Pipeline] echo [2023-11-06T05:08:33.690Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T05:08:34.004Z] ---> create-netrc.sh [Pipeline] } [2023-11-06T05:08:34.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-06T05:08:34.431Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-06T05:08:34.463Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T05:08:34.773Z] ---> sudo-logs.sh [2023-11-06T05:08:34.774Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-06T05:08:34.867Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T05:08:35.177Z] ---> job-cost.sh [2023-11-06T05:08:35.177Z] lf-activate-venv: SKIPPING [2023-11-06T05:08:35.177Z] DEBUG: total: 0.2199999988079071 [2023-11-06T05:08:35.177Z] INFO: Retrieving Stack Cost... [2023-11-06T05:08:35.436Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-06T05:08:36.005Z] INFO: Archiving Costs [Pipeline] echo [2023-11-06T05:08:36.045Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-06T05:08:36.357Z] ---> logs-deploy.sh [2023-11-06T05:08:36.357Z] lf-activate-venv: SKIPPING [2023-11-06T05:08:36.357Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1537/1 [2023-11-06T05:08:36.357Z] INFO: archiving workspace using pattern(s): [2023-11-06T05:08:37.295Z] Archives upload complete. [2023-11-06T05:08:37.295Z] INFO: archiving logs to Nexus