Pull request #1563 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6+4f47f79f53f1840767b32d78ce83479da4d392c8 (db10426be8f193434850451a771b41ac43d8867d) 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-ssh37363882284443267.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh7631802914816259696.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1563/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-1563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6070862186219043228.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-1563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12520628645253720274.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh11726150749453451691.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-1563/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-1563/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17506400336985885727.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-2059’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5115’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5116’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5117’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5118’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5139 in /w/workspace/gexfoundry_device-sdk-go_PR-1563 [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-1563 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4f47f79f53f1840767b32d78ce83479da4d392c8 into PR head commit 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 Merge succeeded, producing 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 Checking out Revision 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 (PR-1563) Commit message: "build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/1563/head:refs/remotes/origin/PR-1563 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 # 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 4f47f79f53f1840767b32d78ce83479da4d392c8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-07T23:06:32.556Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-07T23:06:32.771Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-07T23:06:32.890Z] ========================================================= [2024-03-07T23:06:32.890Z] EdgeX Global Pipelines Version Info [2024-03-07T23:06:32.890Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:06:33.642Z] ------------------- [2024-03-07T23:06:33.642Z] stable info: [2024-03-07T23:06:33.642Z] ------------------- [2024-03-07T23:06:33.642Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-07T23:06:33.642Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-07T23:06:33.642Z] Message: update stable to v1.0.258 [2024-03-07T23:06:34.217Z] ------------------- [2024-03-07T23:06:34.217Z] experimental info: [2024-03-07T23:06:34.217Z] ------------------- [2024-03-07T23:06:34.217Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-07T23:06:34.217Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-07T23:06:34.217Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-07T23:06:34.416Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-03-07T23:06:34.472Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-03-07T23:06:34.520Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-07T23:06:34.586Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-07T23:06:34.651Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-07T23:06:34.706Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-07T23:06:34.772Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-07T23:06:34.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-03-07T23:06:34.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-07T23:06:34.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-07T23:06:35.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-07T23:06:35.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-03-07T23:06:35.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-07T23:06:35.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-07T23:06:35.277Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-07T23:06:35.341Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-03-07T23:06:35.406Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-07T23:06:35.476Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-07T23:06:35.559Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-07T23:06:35.636Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-07T23:06:41.595Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-03-07T23:06:43.575Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-03-07T23:06:43.820Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-07T23:06:43.915Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-07T23:06:44.013Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-07T23:06:44.072Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-07T23:06:44.143Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-07T23:06:44.209Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1563 [Pipeline] echo [2024-03-07T23:06:44.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1563 [Pipeline] echo [2024-03-07T23:06:44.348Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1563 [Pipeline] echo [2024-03-07T23:06:44.433Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 [Pipeline] echo [2024-03-07T23:06:44.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c56a36 [Pipeline] echo [2024-03-07T23:06:44.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-07T23:06:44.781Z] provisioning config files... [2024-03-07T23:06:44.812Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp/config12876534875329788659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:06:45.253Z] ---> ****-login.sh [2024-03-07T23:06:45.254Z] nexus3.edgexfoundry.org:10001 [2024-03-07T23:06:45.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:45.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:45.655Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:45.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:45.655Z] [2024-03-07T23:06:45.655Z] Login Succeeded [2024-03-07T23:06:45.655Z] nexus3.edgexfoundry.org:10002 [2024-03-07T23:06:45.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:45.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:45.655Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:45.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:45.655Z] [2024-03-07T23:06:45.655Z] Login Succeeded [2024-03-07T23:06:45.655Z] nexus3.edgexfoundry.org:10003 [2024-03-07T23:06:45.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:45.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:45.655Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:45.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:45.655Z] [2024-03-07T23:06:45.655Z] Login Succeeded [2024-03-07T23:06:45.655Z] nexus3.edgexfoundry.org:10004 [2024-03-07T23:06:45.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:45.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:45.937Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:45.937Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:45.937Z] [2024-03-07T23:06:45.937Z] Login Succeeded [2024-03-07T23:06:45.937Z] ****.io [2024-03-07T23:06:45.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:06:46.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:06:46.198Z] Configure a credential helper to remove this warning. See [2024-03-07T23:06:46.198Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:06:46.198Z] [2024-03-07T23:06:46.198Z] Login Succeeded [2024-03-07T23:06:46.198Z] ---> ****-login.sh ends [Pipeline] } [2024-03-07T23:06:46.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-07T23:06:49.039Z] + git rev-list -1 --merges 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6~1..2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 [Pipeline] echo [2024-03-07T23:06:49.146Z] -----------> git rev-list -1 --merges 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6~1..2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 [false] [Pipeline] sh [2024-03-07T23:06:49.570Z] + git log --format=format:%s -1 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 [Pipeline] echo [2024-03-07T23:06:49.607Z] ========================================================= [2024-03-07T23:06:49.607Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-07T23:06:49.607Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-07T23:06:50.229Z] + git log --format=format:%s -1 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 [Pipeline] echo [2024-03-07T23:06:50.260Z] [semverPrep] GIT_COMMIT: 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6, Commit Message: build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 [Pipeline] echo [2024-03-07T23:06:50.313Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-07T23:06:50.714Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-07T23:06:50.714Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-07T23:06:50.714Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-07T23:06:50.714Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-07T23:06:50.714Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-07T23:06:50.714Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-07T23:06:50.714Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:06:51.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-07T23:06:51.228Z] [2024-03-07T23:06:51.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:06:52.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-07T23:06:52.315Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-07T23:06:52.315Z] b85a868b505f: Pulling fs layer [2024-03-07T23:06:52.315Z] e2be974225ed: Pulling fs layer [2024-03-07T23:06:52.315Z] 339a4e72a1f5: Pulling fs layer [2024-03-07T23:06:52.315Z] 988bab9f4d93: Pulling fs layer [2024-03-07T23:06:52.315Z] 1469e6f7b9e6: Pulling fs layer [2024-03-07T23:06:52.315Z] eaf3925da568: Pulling fs layer [2024-03-07T23:06:52.315Z] 988bab9f4d93: Waiting [2024-03-07T23:06:52.315Z] 1469e6f7b9e6: Waiting [2024-03-07T23:06:52.315Z] bab4dde63d76: Pulling fs layer [2024-03-07T23:06:52.315Z] bde34c3a00c8: Pulling fs layer [2024-03-07T23:06:52.315Z] eaf3925da568: Waiting [2024-03-07T23:06:52.315Z] b352a97aabf1: Pulling fs layer [2024-03-07T23:06:52.315Z] bab4dde63d76: Waiting [2024-03-07T23:06:52.315Z] 4872d77fe225: Pulling fs layer [2024-03-07T23:06:52.315Z] b352a97aabf1: Waiting [2024-03-07T23:06:52.315Z] 5851b861e8e6: Pulling fs layer [2024-03-07T23:06:52.315Z] 4872d77fe225: Waiting [2024-03-07T23:06:52.315Z] 5851b861e8e6: Waiting [2024-03-07T23:06:52.315Z] e2be974225ed: Verifying Checksum [2024-03-07T23:06:52.315Z] e2be974225ed: Download complete [2024-03-07T23:06:52.584Z] 988bab9f4d93: Verifying Checksum [2024-03-07T23:06:52.584Z] 988bab9f4d93: Download complete [2024-03-07T23:06:52.584Z] 339a4e72a1f5: Verifying Checksum [2024-03-07T23:06:52.584Z] 339a4e72a1f5: Download complete [2024-03-07T23:06:52.584Z] 1469e6f7b9e6: Verifying Checksum [2024-03-07T23:06:52.584Z] 1469e6f7b9e6: Download complete [2024-03-07T23:06:52.584Z] eaf3925da568: Download complete [2024-03-07T23:06:52.584Z] bde34c3a00c8: Download complete [2024-03-07T23:06:52.584Z] b352a97aabf1: Verifying Checksum [2024-03-07T23:06:52.584Z] b352a97aabf1: Download complete [2024-03-07T23:06:52.584Z] 4872d77fe225: Verifying Checksum [2024-03-07T23:06:52.584Z] 4872d77fe225: Download complete [2024-03-07T23:06:52.584Z] 5851b861e8e6: Verifying Checksum [2024-03-07T23:06:52.584Z] 5851b861e8e6: Download complete [2024-03-07T23:06:52.584Z] b85a868b505f: Verifying Checksum [2024-03-07T23:06:52.584Z] b85a868b505f: Download complete [2024-03-07T23:06:52.844Z] bab4dde63d76: Verifying Checksum [2024-03-07T23:06:53.781Z] b85a868b505f: Pull complete [2024-03-07T23:06:54.039Z] e2be974225ed: Pull complete [2024-03-07T23:06:54.299Z] 339a4e72a1f5: Pull complete [2024-03-07T23:06:54.590Z] 988bab9f4d93: Pull complete [2024-03-07T23:06:54.857Z] 1469e6f7b9e6: Pull complete [2024-03-07T23:06:54.857Z] eaf3925da568: Pull complete [2024-03-07T23:06:56.777Z] bab4dde63d76: Pull complete [2024-03-07T23:06:56.777Z] bde34c3a00c8: Pull complete [2024-03-07T23:06:56.777Z] b352a97aabf1: Pull complete [2024-03-07T23:06:56.777Z] 4872d77fe225: Pull complete [2024-03-07T23:06:56.777Z] 5851b861e8e6: Pull complete [2024-03-07T23:06:56.777Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-07T23:06:56.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-07T23:06:56.777Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:06:57.136Z] prd-ubuntu20.04-docker-8c-8g-5139 does not seem to be running inside a container [2024-03-07T23:06:57.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1563 -v /w/workspace/gexfoundry_device-sdk-go_PR-1563:/w/workspace/gexfoundry_device-sdk-go_PR-1563:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1563@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 [2024-03-07T23:07:00.297Z] $ docker top d1c1d95e9675fc31a63bea0e3ce141b0c4262fa0425eae29ad8542b20b3c4209 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-07T23:07:00.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-07T23:07:00.350Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-07T23:07:00.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-07T23:07:00.649Z] $ docker exec d1c1d95e9675fc31a63bea0e3ce141b0c4262fa0425eae29ad8542b20b3c4209 ssh-agent [2024-03-07T23:07:00.571Z] SSH_AUTH_SOCK=/tmp/ssh-A2VXlqqgyjxb/agent.32 [2024-03-07T23:07:00.571Z] SSH_AGENT_PID=38 [2024-03-07T23:07:00.578Z] Running ssh-add (command line suppressed) [2024-03-07T23:07:00.866Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp/private_key_6737914623524205999.key (/w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp/private_key_6737914623524205999.key) [2024-03-07T23:07:00.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-07T23:07:01.044Z] + git tag --points-at HEAD [Pipeline] } [2024-03-07T23:07:01.260Z] $ docker exec --env ******** --env ******** d1c1d95e9675fc31a63bea0e3ce141b0c4262fa0425eae29ad8542b20b3c4209 ssh-agent -k [2024-03-07T23:07:01.353Z] unset SSH_AUTH_SOCK; [2024-03-07T23:07:01.354Z] unset SSH_AGENT_PID; [2024-03-07T23:07:01.354Z] echo Agent pid 38 killed; [2024-03-07T23:07:01.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-07T23:07:01.300Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-07T23:07:01.300Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-07T23:07:01.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-07T23:07:01.637Z] $ docker exec d1c1d95e9675fc31a63bea0e3ce141b0c4262fa0425eae29ad8542b20b3c4209 ssh-agent [2024-03-07T23:07:01.550Z] SSH_AUTH_SOCK=/tmp/ssh-bTqzT8dpadFW/agent.70 [2024-03-07T23:07:01.550Z] SSH_AGENT_PID=76 [2024-03-07T23:07:01.555Z] Running ssh-add (command line suppressed) [2024-03-07T23:07:01.879Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp/private_key_11377213870237195289.key (/w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp/private_key_11377213870237195289.key) [2024-03-07T23:07:01.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-07T23:07:02.064Z] + git semver init [2024-03-07T23:07:02.323Z] 2024-03-07 23:07:02,436 [run_init] DEBUG init version:0.0.0 force:False [2024-03-07T23:07:02.323Z] 2024-03-07 23:07:02,437 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1563/.semver [2024-03-07T23:07:02.323Z] 2024-03-07 23:07:02,438 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1563/.semver [2024-03-07T23:07:02.323Z] 2024-03-07 23:07:02,438 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1563/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1563, universal_newlines=False, shell=None, istream=None) [2024-03-07T23:07:03.701Z] 2024-03-07 23:07:03,623 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1563/.git/info/exclude [2024-03-07T23:07:03.701Z] 2024-03-07 23:07:03,624 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1563/.semver/PR-1563 with force:False [2024-03-07T23:07:03.701Z] 2024-03-07 23:07:03,624 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1563/.semver/PR-1563 [2024-03-07T23:07:03.701Z] 2024-03-07 23:07:03,628 [execute] INFO git cat-file --batch-check [2024-03-07T23:07:03.701Z] 2024-03-07 23:07:03,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1563/.semver, universal_newlines=False, shell=None, istream=) [2024-03-07T23:07:03.701Z] 2024-03-07 23:07:03,633 [execute] INFO git cat-file --batch [2024-03-07T23:07:03.701Z] 2024-03-07 23:07:03,634 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1563/.semver, universal_newlines=False, shell=None, istream=) [2024-03-07T23:07:03.701Z] 2024-03-07 23:07:03,638 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1563/.semver/PR-1563 [2024-03-07T23:07:03.701Z] 0.0.0 [Pipeline] } [2024-03-07T23:07:03.920Z] $ docker exec --env ******** --env ******** d1c1d95e9675fc31a63bea0e3ce141b0c4262fa0425eae29ad8542b20b3c4209 ssh-agent -k [2024-03-07T23:07:04.013Z] unset SSH_AUTH_SOCK; [2024-03-07T23:07:04.013Z] unset SSH_AGENT_PID; [2024-03-07T23:07:04.013Z] echo Agent pid 76 killed; [2024-03-07T23:07:03.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-07T23:07:04.369Z] + git semver [Pipeline] } [2024-03-07T23:07:04.864Z] $ docker stop --time=1 d1c1d95e9675fc31a63bea0e3ce141b0c4262fa0425eae29ad8542b20b3c4209 [2024-03-07T23:07:06.157Z] $ docker rm -f --volumes d1c1d95e9675fc31a63bea0e3ce141b0c4262fa0425eae29ad8542b20b3c4209 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-07T23:07:06.404Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-07T23:07:06.759Z] Stashed 1 file(s) [Pipeline] echo [2024-03-07T23:07:06.783Z] [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 [2024-03-07T23:07:07.879Z] provisioning config files... [2024-03-07T23:07:07.890Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp/config17268056113488330756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:07:08.306Z] ---> ****-login.sh [2024-03-07T23:07:08.306Z] nexus3.edgexfoundry.org:10001 [2024-03-07T23:07:08.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:07:08.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:07:08.306Z] Configure a credential helper to remove this warning. See [2024-03-07T23:07:08.306Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:07:08.306Z] [2024-03-07T23:07:08.306Z] Login Succeeded [2024-03-07T23:07:08.306Z] nexus3.edgexfoundry.org:10002 [2024-03-07T23:07:08.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:07:08.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:07:08.306Z] Configure a credential helper to remove this warning. See [2024-03-07T23:07:08.306Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:07:08.306Z] [2024-03-07T23:07:08.306Z] Login Succeeded [2024-03-07T23:07:08.306Z] nexus3.edgexfoundry.org:10003 [2024-03-07T23:07:08.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:07:08.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:07:08.570Z] Configure a credential helper to remove this warning. See [2024-03-07T23:07:08.570Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:07:08.570Z] [2024-03-07T23:07:08.570Z] Login Succeeded [2024-03-07T23:07:08.570Z] nexus3.edgexfoundry.org:10004 [2024-03-07T23:07:08.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:07:08.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:07:08.570Z] Configure a credential helper to remove this warning. See [2024-03-07T23:07:08.570Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:07:08.570Z] [2024-03-07T23:07:08.570Z] Login Succeeded [2024-03-07T23:07:08.570Z] ****.io [2024-03-07T23:07:08.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:07:08.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:07:08.833Z] Configure a credential helper to remove this warning. See [2024-03-07T23:07:08.834Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:07:08.834Z] [2024-03-07T23:07:08.834Z] Login Succeeded [2024-03-07T23:07:08.834Z] ---> ****-login.sh ends [Pipeline] } [2024-03-07T23:07:08.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-07T23:07:09.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:07:09.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:07:09.402Z] ========================================================= [2024-03-07T23:07:09.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-07T23:07:09.402Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:07:09.988Z] + 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 . [2024-03-07T23:07:09.988Z] Sending build context to Docker daemon 21.97MB [2024-03-07T23:07:09.988Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:07:09.988Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-07T23:07:10.248Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-07T23:07:10.248Z] 7264a8db6415: Pulling fs layer [2024-03-07T23:07:10.248Z] c4d48a809fc2: Pulling fs layer [2024-03-07T23:07:10.248Z] 4f1c88b9dad5: Pulling fs layer [2024-03-07T23:07:10.248Z] ad3a456e5733: Pulling fs layer [2024-03-07T23:07:10.248Z] 69c7f0334f64: Pulling fs layer [2024-03-07T23:07:10.248Z] 1f1c1a5573a3: Pulling fs layer [2024-03-07T23:07:10.248Z] ce7588e14bc9: Pulling fs layer [2024-03-07T23:07:10.248Z] b5e4710f87ac: Pulling fs layer [2024-03-07T23:07:10.248Z] 1f1c1a5573a3: Waiting [2024-03-07T23:07:10.248Z] 69c7f0334f64: Waiting [2024-03-07T23:07:10.248Z] ce7588e14bc9: Waiting [2024-03-07T23:07:10.248Z] b5e4710f87ac: Waiting [2024-03-07T23:07:10.248Z] ad3a456e5733: Waiting [2024-03-07T23:07:10.248Z] c4d48a809fc2: Download complete [2024-03-07T23:07:10.248Z] ad3a456e5733: Verifying Checksum [2024-03-07T23:07:10.248Z] ad3a456e5733: Download complete [2024-03-07T23:07:10.248Z] 69c7f0334f64: Download complete [2024-03-07T23:07:10.248Z] 7264a8db6415: Verifying Checksum [2024-03-07T23:07:10.248Z] 7264a8db6415: Download complete [2024-03-07T23:07:10.248Z] 1f1c1a5573a3: Verifying Checksum [2024-03-07T23:07:10.248Z] 1f1c1a5573a3: Download complete [2024-03-07T23:07:11.083Z] b5e4710f87ac: Verifying Checksum [2024-03-07T23:07:11.083Z] b5e4710f87ac: Download complete [2024-03-07T23:07:11.083Z] 7264a8db6415: Pull complete [2024-03-07T23:07:11.083Z] c4d48a809fc2: Pull complete [2024-03-07T23:07:11.510Z] 4f1c88b9dad5: Download complete [2024-03-07T23:07:11.510Z] ce7588e14bc9: Download complete [2024-03-07T23:07:16.951Z] 4f1c88b9dad5: Pull complete [2024-03-07T23:07:18.251Z] ad3a456e5733: Pull complete [2024-03-07T23:07:18.251Z] 69c7f0334f64: Pull complete [2024-03-07T23:07:18.251Z] 1f1c1a5573a3: Pull complete [2024-03-07T23:07:20.851Z] ce7588e14bc9: Pull complete [2024-03-07T23:07:21.110Z] b5e4710f87ac: Pull complete [2024-03-07T23:07:21.110Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-07T23:07:21.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-07T23:07:21.110Z] ---> 88b5674ff536 [2024-03-07T23:07:21.110Z] Step 3/10 : ARG MAKE=make build [2024-03-07T23:07:22.612Z] Still waiting to schedule task [2024-03-07T23:07:22.612Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-07T23:07:25.345Z] ---> Running in e7bf414cb6d3 [2024-03-07T23:07:25.604Z] Removing intermediate container e7bf414cb6d3 [2024-03-07T23:07:25.604Z] ---> 4db0b276407d [2024-03-07T23:07:25.604Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-07T23:07:25.604Z] ---> Running in f7f99fd38043 [2024-03-07T23:07:25.604Z] Removing intermediate container f7f99fd38043 [2024-03-07T23:07:25.604Z] ---> 4b47398bf714 [2024-03-07T23:07:25.604Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-07T23:07:25.604Z] ---> Running in 60cc4ab406cd [2024-03-07T23:07:25.863Z] Removing intermediate container 60cc4ab406cd [2024-03-07T23:07:25.863Z] ---> 00a40b493c4a [2024-03-07T23:07:25.863Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-07T23:07:25.863Z] ---> Running in c6e098a2434d [2024-03-07T23:07:26.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-07T23:07:26.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-07T23:07:26.383Z] OK: 264 MiB in 52 packages [2024-03-07T23:07:26.949Z] Removing intermediate container c6e098a2434d [2024-03-07T23:07:26.949Z] ---> d86ae46c59f8 [2024-03-07T23:07:26.949Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-07T23:07:26.949Z] ---> 91dee1b99fe3 [2024-03-07T23:07:26.949Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:07:26.949Z] ---> Running in 8a343e7acc11 [2024-03-07T23:07:53.536Z] Removing intermediate container 8a343e7acc11 [2024-03-07T23:07:53.536Z] ---> ad96029d2d9c [2024-03-07T23:07:53.536Z] Step 9/10 : COPY . . [2024-03-07T23:07:53.536Z] ---> 1415368e5537 [2024-03-07T23:07:53.536Z] Step 10/10 : RUN ${MAKE} [2024-03-07T23:07:53.536Z] ---> Running in 424efd18f5b8 [2024-03-07T23:07:53.536Z] noop [2024-03-07T23:07:54.104Z] Removing intermediate container 424efd18f5b8 [2024-03-07T23:07:54.104Z] ---> d59f9e5e6390 [2024-03-07T23:07:54.104Z] Successfully built d59f9e5e6390 [2024-03-07T23:07:54.104Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:07:54.658Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-07T23:07:54.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:07:54.877Z] prd-ubuntu20.04-docker-8c-8g-5139 does not seem to be running inside a container [2024-03-07T23:07:54.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1563 -v /w/workspace/gexfoundry_device-sdk-go_PR-1563:/w/workspace/gexfoundry_device-sdk-go_PR-1563:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1563@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 [2024-03-07T23:07:55.231Z] $ docker top 25b8503bff3cb897fe8496b897ced94f8425594a9203be20571e656cb7af3db8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:07:55.749Z] + go version [2024-03-07T23:07:55.749Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-07T23:07:55.798Z] $ docker stop --time=1 25b8503bff3cb897fe8496b897ced94f8425594a9203be20571e656cb7af3db8 [2024-03-07T23:07:57.139Z] $ docker rm -f --volumes 25b8503bff3cb897fe8496b897ced94f8425594a9203be20571e656cb7af3db8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:07:58.147Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-07T23:07:58.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:07:58.412Z] prd-ubuntu20.04-docker-8c-8g-5139 does not seem to be running inside a container [2024-03-07T23:07:58.443Z] $ 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-1563 -v /w/workspace/gexfoundry_device-sdk-go_PR-1563:/w/workspace/gexfoundry_device-sdk-go_PR-1563:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1563@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 [2024-03-07T23:07:58.752Z] $ docker top 82aafa534536de8f069209008f3be8d40ffe3bf1d02232d943a18c645e3a6195 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:07:59.266Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1563 [Pipeline] fileExists [Pipeline] sh [2024-03-07T23:07:59.660Z] + make test [2024-03-07T23:07:59.660Z] go test -race -coverprofile=coverage.out ./... [2024-03-07T23:08:06.222Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-07T23:08:21.108Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-07T23:08:21.108Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-07T23:08:21.108Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-07T23:08:21.108Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-07T23:08:21.108Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-07T23:08:21.108Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-07T23:08:21.108Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-07T23:08:21.108Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.063s coverage: 27.6% of statements [2024-03-07T23:08:21.108Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.061s coverage: 81.5% of statements [2024-03-07T23:08:21.108Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.068s coverage: 86.0% of statements [2024-03-07T23:08:21.108Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-07T23:08:22.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-07T23:08:22.043Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-07T23:08:22.301Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.091s coverage: 71.8% of statements [2024-03-07T23:08:22.301Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-07T23:08:25.583Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.059s coverage: 14.4% of statements [2024-03-07T23:08:25.583Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.783s coverage: 45.9% of statements [2024-03-07T23:08:25.583Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.068s coverage: 68.5% of statements [2024-03-07T23:08:25.583Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.111s coverage: 89.2% of statements [2024-03-07T23:08:25.583Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.038s coverage: 5.5% of statements [2024-03-07T23:08:43.760Z] GO111MODULE=on go vet ./... [2024-03-07T23:08:47.064Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-07T23:08:47.064Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-07T23:08:47.064Z] ./bin/test-attribution-txt.sh [2024-03-07T23:08:47.064Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-07T23:08:47.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-07T23:08:47.175Z] $ docker stop --time=1 82aafa534536de8f069209008f3be8d40ffe3bf1d02232d943a18c645e3a6195 [2024-03-07T23:08:51.402Z] $ docker rm -f --volumes 82aafa534536de8f069209008f3be8d40ffe3bf1d02232d943a18c645e3a6195 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-07T23:08:52.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-07T23:08:52.214Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-07T23:08:53.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-07T23:08:53.369Z] + ls -al . [2024-03-07T23:08:53.369Z] total 308 [2024-03-07T23:08:53.369Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 23:07 . [2024-03-07T23:08:53.369Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:06 .. [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 23:06 .dockerignore [2024-03-07T23:08:53.369Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:08 .git [2024-03-07T23:08:53.369Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:06 .github [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 7 23:06 .gitignore [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 23:06 .golangci.yml [2024-03-07T23:08:53.369Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 23:07 .semver [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 7 23:06 CHANGELOG.md [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 23:06 GOVERNANCE.md [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 23:06 Jenkinsfile [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 23:06 LICENSE [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 7 23:06 Makefile [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 23:06 OWNERS.md [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 7 23:06 README.md [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 23:07 VERSION [2024-03-07T23:08:53.369Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:06 bin [2024-03-07T23:08:53.369Z] -rw-r--r-- 1 jenkins jenkins 122153 Mar 7 23:08 coverage.out [2024-03-07T23:08:53.369Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 23:06 example [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 7 23:06 go.mod [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 35666 Mar 7 23:06 go.sum [2024-03-07T23:08:53.369Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 23:06 internal [2024-03-07T23:08:53.369Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:06 openapi [2024-03-07T23:08:53.369Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 23:06 pkg [2024-03-07T23:08:53.369Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:06 snap [2024-03-07T23:08:53.369Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 23:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:08:53.836Z] + 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=2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 --label arch=amd64 --label version=0.0.0 . [2024-03-07T23:08:53.836Z] Sending build context to Docker daemon 22.09MB [2024-03-07T23:08:53.836Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:08:53.836Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-07T23:08:53.836Z] ---> d59f9e5e6390 [2024-03-07T23:08:53.836Z] Step 3/23 : ARG MAKE=make build [2024-03-07T23:08:54.097Z] ---> Running in eb499803e779 [2024-03-07T23:08:54.358Z] Removing intermediate container eb499803e779 [2024-03-07T23:08:54.358Z] ---> 817a706aa019 [2024-03-07T23:08:54.358Z] Step 4/23 : WORKDIR /device-sdk-go [2024-03-07T23:08:54.358Z] ---> Running in d946fe1d59c5 [2024-03-07T23:08:54.358Z] Removing intermediate container d946fe1d59c5 [2024-03-07T23:08:54.358Z] ---> f1e7d3278bd4 [2024-03-07T23:08:54.358Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-07T23:08:54.358Z] ---> Running in b6dec54ba467 [2024-03-07T23:08:54.358Z] Removing intermediate container b6dec54ba467 [2024-03-07T23:08:54.358Z] ---> a489e2731402 [2024-03-07T23:08:54.358Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-03-07T23:08:54.358Z] ---> Running in 3948c965e539 [2024-03-07T23:08:54.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-07T23:08:54.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-07T23:08:55.135Z] OK: 264 MiB in 52 packages [2024-03-07T23:08:55.708Z] Removing intermediate container 3948c965e539 [2024-03-07T23:08:55.708Z] ---> 3d728439353e [2024-03-07T23:08:55.708Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-07T23:08:55.708Z] ---> 41ca80976d98 [2024-03-07T23:08:55.708Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:08:55.708Z] ---> Running in 6cca2b0a84b2 [2024-03-07T23:08:56.276Z] Removing intermediate container 6cca2b0a84b2 [2024-03-07T23:08:56.276Z] ---> b9363125e3e0 [2024-03-07T23:08:56.276Z] Step 9/23 : COPY . . [2024-03-07T23:08:57.218Z] ---> ad97c3f03af2 [2024-03-07T23:08:57.218Z] Step 10/23 : RUN ${MAKE} [2024-03-07T23:08:57.218Z] ---> Running in 4834560a883b [2024-03-07T23:08:57.218Z] 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 [2024-03-07T23:09:19.271Z] Removing intermediate container 4834560a883b [2024-03-07T23:09:19.271Z] ---> cb745b64aca5 [2024-03-07T23:09:19.271Z] Step 11/23 : FROM alpine:3.18 [2024-03-07T23:09:19.271Z] 3.18: Pulling from library/alpine [2024-03-07T23:09:19.271Z] 619be1103602: Pulling fs layer [2024-03-07T23:09:19.271Z] 619be1103602: Download complete [2024-03-07T23:09:19.271Z] 619be1103602: Pull complete [2024-03-07T23:09:19.271Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-07T23:09:19.271Z] Status: Downloaded newer image for alpine:3.18 [2024-03-07T23:09:19.271Z] ---> d3782b16ccc9 [2024-03-07T23:09:19.271Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-07T23:09:19.271Z] ---> Running in b5ae28499484 [2024-03-07T23:09:19.271Z] Removing intermediate container b5ae28499484 [2024-03-07T23:09:19.271Z] ---> 1e9bb9f06447 [2024-03-07T23:09:19.271Z] Step 13/23 : RUN apk add --update --no-cache [2024-03-07T23:09:19.271Z] ---> Running in 66bc7530f3d6 [2024-03-07T23:09:19.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-07T23:09:19.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-07T23:09:19.271Z] OK: 7 MiB in 15 packages [2024-03-07T23:09:19.529Z] Removing intermediate container 66bc7530f3d6 [2024-03-07T23:09:19.529Z] ---> 93432ea84d7e [2024-03-07T23:09:19.529Z] Step 14/23 : WORKDIR / [2024-03-07T23:09:19.529Z] ---> Running in b311ce47fe44 [2024-03-07T23:09:19.529Z] Removing intermediate container b311ce47fe44 [2024-03-07T23:09:19.529Z] ---> e0754204a81f [2024-03-07T23:09:19.529Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-07T23:09:19.787Z] ---> 9c6944ad6454 [2024-03-07T23:09:19.787Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-07T23:09:20.758Z] ---> 70c3e43e5526 [2024-03-07T23:09:20.758Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-07T23:09:20.758Z] ---> e57543dc2f43 [2024-03-07T23:09:20.758Z] Step 18/23 : EXPOSE 59999 [2024-03-07T23:09:20.758Z] ---> Running in 3ab2cc01818c [2024-03-07T23:09:20.758Z] Removing intermediate container 3ab2cc01818c [2024-03-07T23:09:20.758Z] ---> 28a5de380968 [2024-03-07T23:09:20.758Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-03-07T23:09:20.758Z] ---> Running in a006a6090f5f [2024-03-07T23:09:21.015Z] Removing intermediate container a006a6090f5f [2024-03-07T23:09:21.015Z] ---> 0c73abe13782 [2024-03-07T23:09:21.015Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-07T23:09:21.015Z] ---> Running in 5d094aad8302 [2024-03-07T23:09:21.015Z] Removing intermediate container 5d094aad8302 [2024-03-07T23:09:21.015Z] ---> f9032b2c9454 [2024-03-07T23:09:21.015Z] Step 21/23 : LABEL arch=amd64 [2024-03-07T23:09:21.015Z] ---> Running in 4db1a800faa7 [2024-03-07T23:09:21.015Z] Removing intermediate container 4db1a800faa7 [2024-03-07T23:09:21.015Z] ---> e390d5990bb3 [2024-03-07T23:09:21.015Z] Step 22/23 : LABEL git_sha=2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 [2024-03-07T23:09:21.015Z] ---> Running in 97a069d5b3ea [2024-03-07T23:09:21.273Z] Removing intermediate container 97a069d5b3ea [2024-03-07T23:09:21.273Z] ---> e3a6040f3e42 [2024-03-07T23:09:21.273Z] Step 23/23 : LABEL version=0.0.0 [2024-03-07T23:09:21.273Z] ---> Running in 9844e075a91c [2024-03-07T23:09:21.273Z] Removing intermediate container 9844e075a91c [2024-03-07T23:09:21.273Z] ---> 118457fad814 [2024-03-07T23:09:21.273Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-07T23:09:21.273Z] Successfully built 118457fad814 [2024-03-07T23:09:21.273Z] 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 [2024-03-07T23:09:22.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:09:22.668Z] [2024-03-07T23:09:22.668Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:09:23.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:09:23.081Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-07T23:09:23.081Z] 5eb5b503b376: Pulling fs layer [2024-03-07T23:09:23.081Z] 5c69ac0246d0: Pulling fs layer [2024-03-07T23:09:23.081Z] ec43610c2a17: Pulling fs layer [2024-03-07T23:09:23.081Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-07T23:09:23.081Z] 33b1e0a273af: Pulling fs layer [2024-03-07T23:09:23.081Z] 5d3b04190fa2: Pulling fs layer [2024-03-07T23:09:23.081Z] 2f39f015ded8: Pulling fs layer [2024-03-07T23:09:23.081Z] 3a2ae6a8a46f: Waiting [2024-03-07T23:09:23.081Z] 33b1e0a273af: Waiting [2024-03-07T23:09:23.081Z] 5d3b04190fa2: Waiting [2024-03-07T23:09:23.081Z] 2f39f015ded8: Waiting [2024-03-07T23:09:23.081Z] 5c69ac0246d0: Verifying Checksum [2024-03-07T23:09:23.081Z] 5c69ac0246d0: Download complete [2024-03-07T23:09:23.081Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-07T23:09:23.081Z] 3a2ae6a8a46f: Download complete [2024-03-07T23:09:23.081Z] 33b1e0a273af: Verifying Checksum [2024-03-07T23:09:23.081Z] 33b1e0a273af: Download complete [2024-03-07T23:09:23.081Z] 5d3b04190fa2: Verifying Checksum [2024-03-07T23:09:23.081Z] 5d3b04190fa2: Download complete [2024-03-07T23:09:23.081Z] ec43610c2a17: Verifying Checksum [2024-03-07T23:09:23.081Z] ec43610c2a17: Download complete [2024-03-07T23:09:23.341Z] 5eb5b503b376: Verifying Checksum [2024-03-07T23:09:23.341Z] 5eb5b503b376: Download complete [2024-03-07T23:09:23.905Z] 2f39f015ded8: Download complete [2024-03-07T23:09:24.473Z] 5eb5b503b376: Pull complete [2024-03-07T23:09:24.473Z] 5c69ac0246d0: Pull complete [2024-03-07T23:09:25.041Z] ec43610c2a17: Pull complete [2024-03-07T23:09:25.041Z] 3a2ae6a8a46f: Pull complete [2024-03-07T23:09:25.299Z] 33b1e0a273af: Pull complete [2024-03-07T23:09:25.299Z] 5d3b04190fa2: Pull complete [2024-03-07T23:09:29.499Z] 2f39f015ded8: Pull complete [2024-03-07T23:09:29.499Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-07T23:09:29.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:09:29.499Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:09:29.853Z] prd-ubuntu20.04-docker-8c-8g-5139 does not seem to be running inside a container [2024-03-07T23:09:29.860Z] $ 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-1563 -v /w/workspace/gexfoundry_device-sdk-go_PR-1563:/w/workspace/gexfoundry_device-sdk-go_PR-1563:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1563@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 [2024-03-07T23:09:34.377Z] $ docker top 34a9755a3a9d2c77f618993f16c02244b9c6ff2da258c92d69ef1a24cc52aa04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:09:34.913Z] ---> job-cost.sh [2024-03-07T23:09:34.913Z] lf-activate-venv: SKIPPING [2024-03-07T23:09:34.913Z] INFO: No Stack... [2024-03-07T23:09:35.174Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-07T23:09:35.744Z] INFO: Archiving Costs [Pipeline] sh [2024-03-07T23:09:36.061Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1563/archives/cost.csv [2024-03-07T23:09:36.061Z] + cut -d, -f6 [Pipeline] lock [2024-03-07T23:09:36.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1563-1-stack-cost] [2024-03-07T23:09:36.107Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1563-1-stack-cost] did not exist. Created. [2024-03-07T23:09:36.112Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1563-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-07T23:09:36.559Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-07T23:09:36.616Z] Stashed 1 file(s) [Pipeline] } [2024-03-07T23:09:36.672Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1563-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-07T23:09:36.807Z] $ docker stop --time=1 34a9755a3a9d2c77f618993f16c02244b9c6ff2da258c92d69ef1a24cc52aa04 [2024-03-07T23:09:37.962Z] $ docker rm -f --volumes 34a9755a3a9d2c77f618993f16c02244b9c6ff2da258c92d69ef1a24cc52aa04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-07T23:16:35.026Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5161 in /w/workspace/gexfoundry_device-sdk-go_PR-1563 [Pipeline] { [Pipeline] ws [2024-03-07T23:16:35.215Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-03-07T23:16:35.394Z] The recommended git tool is: git [2024-03-07T23:16:41.979Z] using credential edgex-jenkins-ssh [2024-03-07T23:16:42.007Z] Cloning the remote Git repository [2024-03-07T23:16:42.070Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-03-07T23:16:42.199Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-03-07T23:16:42.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-07T23:16:42.409Z] > git --version # timeout=10 [2024-03-07T23:16:42.445Z] > git --version # 'git version 2.25.1' [2024-03-07T23:16:42.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-07T23:16:42.698Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-07T23:16:46.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-07T23:16:46.847Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-07T23:16:47.991Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-07T23:16:48.037Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-07T23:16:48.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-07T23:16:48.059Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1563/head:refs/remotes/origin/PR-1563 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-07T23:16:48.697Z] Merging remotes/origin/main commit 4f47f79f53f1840767b32d78ce83479da4d392c8 into PR head commit 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 [2024-03-07T23:16:49.090Z] Merge succeeded, producing 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 [2024-03-07T23:16:49.090Z] Checking out Revision 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 (PR-1563) [2024-03-07T23:16:49.917Z] Commit message: "build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3" [2024-03-07T23:16:49.999Z] > git --version # timeout=10 [2024-03-07T23:16:50.019Z] > git --version # 'git version 2.25.1' [2024-03-07T23:16:50.044Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-07T23:16:48.724Z] > git config core.sparsecheckout # timeout=10 [2024-03-07T23:16:48.810Z] > git checkout -f 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 # timeout=10 [2024-03-07T23:16:48.960Z] > git remote # timeout=10 [2024-03-07T23:16:48.991Z] > git config --get remote.origin.url # timeout=10 [2024-03-07T23:16:49.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-07T23:16:49.032Z] > git merge 4f47f79f53f1840767b32d78ce83479da4d392c8 # timeout=10 [2024-03-07T23:16:49.068Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-07T23:16:49.097Z] > git config core.sparsecheckout # timeout=10 [2024-03-07T23:16:49.118Z] > git checkout -f 2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-07T23:16:51.553Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-07T23:16:51.553Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-07T23:16:51.553Z] Dload Upload Total Spent Left Speed [2024-03-07T23:16:51.553Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 85520 0 --:--:-- --:--:-- --:--:-- 85520 [Pipeline] sh [2024-03-07T23:16:51.970Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-07T23:16:52.355Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-07T23:16:52.355Z] + sudo tee /etc/docker/daemon.new [2024-03-07T23:16:52.355Z] { [2024-03-07T23:16:52.355Z] "registry-mirrors": [ [2024-03-07T23:16:52.355Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-07T23:16:52.355Z] ], [2024-03-07T23:16:52.355Z] "bip": "10.250.0.254/24", [2024-03-07T23:16:52.355Z] "hosts": [ [2024-03-07T23:16:52.355Z] "tcp://0.0.0.0:5555", [2024-03-07T23:16:52.355Z] "unix:///var/run/docker.sock" [2024-03-07T23:16:52.355Z] ], [2024-03-07T23:16:52.355Z] "mtu": 1458, [2024-03-07T23:16:52.355Z] "selinux-enabled": true, [2024-03-07T23:16:52.355Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-07T23:16:52.355Z] } [Pipeline] sh [2024-03-07T23:16:52.743Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-07T23:16:53.141Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-07T23:17:11.782Z] provisioning config files... [2024-03-07T23:17:11.820Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1675406814365319929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:17:12.376Z] ---> ****-login.sh [2024-03-07T23:17:12.376Z] nexus3.edgexfoundry.org:10001 [2024-03-07T23:17:12.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:17:13.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:17:13.247Z] Configure a credential helper to remove this warning. See [2024-03-07T23:17:13.247Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:17:13.247Z] [2024-03-07T23:17:13.247Z] Login Succeeded [2024-03-07T23:17:13.247Z] nexus3.edgexfoundry.org:10002 [2024-03-07T23:17:13.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:17:13.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:17:13.519Z] Configure a credential helper to remove this warning. See [2024-03-07T23:17:13.519Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:17:13.519Z] [2024-03-07T23:17:13.519Z] Login Succeeded [2024-03-07T23:17:13.519Z] nexus3.edgexfoundry.org:10003 [2024-03-07T23:17:13.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:17:14.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:17:14.091Z] Configure a credential helper to remove this warning. See [2024-03-07T23:17:14.092Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:17:14.092Z] [2024-03-07T23:17:14.092Z] Login Succeeded [2024-03-07T23:17:14.092Z] nexus3.edgexfoundry.org:10004 [2024-03-07T23:17:14.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:17:14.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:17:14.373Z] Configure a credential helper to remove this warning. See [2024-03-07T23:17:14.373Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:17:14.373Z] [2024-03-07T23:17:14.373Z] Login Succeeded [2024-03-07T23:17:14.373Z] ****.io [2024-03-07T23:17:14.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:17:14.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:17:14.923Z] Configure a credential helper to remove this warning. See [2024-03-07T23:17:14.923Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:17:14.923Z] [2024-03-07T23:17:14.923Z] Login Succeeded [2024-03-07T23:17:15.194Z] ---> ****-login.sh ends [Pipeline] } [2024-03-07T23:17:15.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-07T23:17:15.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:17:16.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:17:16.134Z] ========================================================= [2024-03-07T23:17:16.134Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-07T23:17:16.134Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:17:16.833Z] + 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 . [2024-03-07T23:17:17.457Z] Sending build context to Docker daemon 11.39MB [2024-03-07T23:17:17.457Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:17:17.457Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-07T23:17:17.740Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-07T23:17:17.740Z] 9fda8d8052c6: Pulling fs layer [2024-03-07T23:17:17.740Z] 5d54e960e981: Pulling fs layer [2024-03-07T23:17:17.741Z] c4a7e357bf2a: Pulling fs layer [2024-03-07T23:17:17.741Z] f0e02332f6b5: Pulling fs layer [2024-03-07T23:17:17.741Z] 872ee5b61b7b: Pulling fs layer [2024-03-07T23:17:17.741Z] 0c6a40ed1a82: Pulling fs layer [2024-03-07T23:17:17.741Z] 94ae7d8d031c: Pulling fs layer [2024-03-07T23:17:17.741Z] f0e02332f6b5: Waiting [2024-03-07T23:17:17.741Z] 872ee5b61b7b: Waiting [2024-03-07T23:17:17.741Z] 0c6a40ed1a82: Waiting [2024-03-07T23:17:17.741Z] 94ae7d8d031c: Waiting [2024-03-07T23:17:17.741Z] 5d54e960e981: Verifying Checksum [2024-03-07T23:17:17.741Z] 5d54e960e981: Download complete [2024-03-07T23:17:17.741Z] f0e02332f6b5: Verifying Checksum [2024-03-07T23:17:17.741Z] f0e02332f6b5: Download complete [2024-03-07T23:17:17.741Z] 872ee5b61b7b: Verifying Checksum [2024-03-07T23:17:17.741Z] 872ee5b61b7b: Download complete [2024-03-07T23:17:17.741Z] 9fda8d8052c6: Verifying Checksum [2024-03-07T23:17:17.741Z] 9fda8d8052c6: Download complete [2024-03-07T23:17:18.395Z] 94ae7d8d031c: Verifying Checksum [2024-03-07T23:17:18.395Z] 94ae7d8d031c: Download complete [2024-03-07T23:17:19.009Z] 9fda8d8052c6: Pull complete [2024-03-07T23:17:19.612Z] 5d54e960e981: Pull complete [2024-03-07T23:17:19.612Z] c4a7e357bf2a: Download complete [2024-03-07T23:17:21.051Z] 0c6a40ed1a82: Verifying Checksum [2024-03-07T23:17:21.051Z] 0c6a40ed1a82: Download complete [2024-03-07T23:17:33.614Z] c4a7e357bf2a: Pull complete [2024-03-07T23:17:33.614Z] f0e02332f6b5: Pull complete [2024-03-07T23:17:33.614Z] 872ee5b61b7b: Pull complete [2024-03-07T23:17:41.918Z] 0c6a40ed1a82: Pull complete [2024-03-07T23:17:44.035Z] 94ae7d8d031c: Pull complete [2024-03-07T23:17:44.035Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-07T23:17:44.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-07T23:17:44.035Z] ---> 86de565de09d [2024-03-07T23:17:44.035Z] Step 3/10 : ARG MAKE=make build [2024-03-07T23:17:45.044Z] ---> Running in d6e87be9baba [2024-03-07T23:17:45.315Z] Removing intermediate container d6e87be9baba [2024-03-07T23:17:45.316Z] ---> cde913e6225e [2024-03-07T23:17:45.316Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-07T23:17:45.316Z] ---> Running in 122b27e26eea [2024-03-07T23:17:45.595Z] Removing intermediate container 122b27e26eea [2024-03-07T23:17:45.595Z] ---> 47d3f0e3a15c [2024-03-07T23:17:45.595Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-07T23:17:45.870Z] ---> Running in 419d0f5275d6 [2024-03-07T23:17:46.141Z] Removing intermediate container 419d0f5275d6 [2024-03-07T23:17:46.141Z] ---> 88ea4352a7c1 [2024-03-07T23:17:46.141Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-07T23:17:46.414Z] ---> Running in 9546f2d7e622 [2024-03-07T23:17:47.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-07T23:17:48.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-07T23:17:49.574Z] OK: 266 MiB in 52 packages [2024-03-07T23:17:51.022Z] Removing intermediate container 9546f2d7e622 [2024-03-07T23:17:51.022Z] ---> d3645c3b462b [2024-03-07T23:17:51.022Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-07T23:17:51.296Z] ---> e31ae4388a6b [2024-03-07T23:17:51.296Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:17:51.574Z] ---> Running in 97e817f7a7a5 [2024-03-07T23:18:59.551Z] Removing intermediate container 97e817f7a7a5 [2024-03-07T23:18:59.551Z] ---> 8ff44e38e451 [2024-03-07T23:18:59.551Z] Step 9/10 : COPY . . [2024-03-07T23:18:59.551Z] ---> 616960804dfc [2024-03-07T23:18:59.551Z] Step 10/10 : RUN ${MAKE} [2024-03-07T23:18:59.551Z] ---> Running in fec6e406f905 [2024-03-07T23:18:59.551Z] noop [2024-03-07T23:18:59.551Z] Removing intermediate container fec6e406f905 [2024-03-07T23:18:59.551Z] ---> f5f8b295a7a4 [2024-03-07T23:18:59.551Z] Successfully built f5f8b295a7a4 [2024-03-07T23:18:59.551Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:19:00.204Z] + docker inspect -f . ci-base-image-arm64 [2024-03-07T23:19:00.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:19:00.635Z] prd-ubuntu20.04-docker-arm64-4c-16g-5161 does not seem to be running inside a container [2024-03-07T23:19:00.724Z] $ 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 [2024-03-07T23:19:02.268Z] $ docker top 12d887390cbfad3082a8eed6ddf5f2c67b0a761f4b3394b28fbd6db0babac5d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:19:03.304Z] + go version [2024-03-07T23:19:03.304Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-07T23:19:03.349Z] $ docker stop --time=1 12d887390cbfad3082a8eed6ddf5f2c67b0a761f4b3394b28fbd6db0babac5d0 [2024-03-07T23:19:05.109Z] $ docker rm -f --volumes 12d887390cbfad3082a8eed6ddf5f2c67b0a761f4b3394b28fbd6db0babac5d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:19:06.446Z] + docker inspect -f . ci-base-image-arm64 [2024-03-07T23:19:06.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:19:06.827Z] prd-ubuntu20.04-docker-arm64-4c-16g-5161 does not seem to be running inside a container [2024-03-07T23:19:06.925Z] $ 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 [2024-03-07T23:19:08.375Z] $ docker top 21da3a441eeffd49a191d9a79075e4cb2baa83528d877094763005ac174102d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:19:09.407Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-07T23:19:10.206Z] + make test [2024-03-07T23:19:10.206Z] go test -race -coverprofile=coverage.out ./... [2024-03-07T23:19:57.106Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-07T23:21:48.796Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-07T23:21:48.796Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-07T23:21:48.796Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-07T23:21:48.796Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-07T23:21:48.796Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-07T23:21:57.016Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.235s coverage: 27.6% of statements [2024-03-07T23:22:00.370Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.269s coverage: 81.5% of statements [2024-03-07T23:22:05.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-07T23:22:05.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-07T23:22:07.158Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.378s coverage: 86.0% of statements [2024-03-07T23:22:07.747Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-07T23:22:09.171Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.464s coverage: 71.8% of statements [2024-03-07T23:22:15.873Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-07T23:22:15.873Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-07T23:22:16.153Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.290s coverage: 14.4% of statements [2024-03-07T23:22:16.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.760s coverage: 45.9% of statements [2024-03-07T23:22:16.742Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.403s coverage: 68.5% of statements [2024-03-07T23:22:20.098Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.484s coverage: 89.2% of statements [2024-03-07T23:22:21.510Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-07T23:22:22.921Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.252s coverage: 5.5% of statements [2024-03-07T23:22:23.505Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-07T23:22:23.505Z] GO111MODULE=on go vet ./... [2024-03-07T23:24:30.218Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-07T23:24:30.218Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-07T23:24:30.218Z] ./bin/test-attribution-txt.sh [2024-03-07T23:24:30.218Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-07T23:24:30.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-07T23:24:30.368Z] $ docker stop --time=1 21da3a441eeffd49a191d9a79075e4cb2baa83528d877094763005ac174102d9 [2024-03-07T23:24:32.298Z] $ docker rm -f --volumes 21da3a441eeffd49a191d9a79075e4cb2baa83528d877094763005ac174102d9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-07T23:24:34.152Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-07T23:24:34.194Z] Warning: overwriting stash ‘coverage-report’ [2024-03-07T23:24:34.835Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-07T23:24:35.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-07T23:24:36.008Z] + ls -al . [2024-03-07T23:24:36.008Z] total 304 [2024-03-07T23:24:36.008Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 23:19 . [2024-03-07T23:24:36.008Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:16 .. [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 23:16 .dockerignore [2024-03-07T23:24:36.008Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:16 .git [2024-03-07T23:24:36.008Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:16 .github [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 7 23:16 .gitignore [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 23:16 .golangci.yml [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 7 23:16 CHANGELOG.md [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 23:16 GOVERNANCE.md [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 23:16 Jenkinsfile [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 23:16 LICENSE [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 7 23:16 Makefile [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 23:16 OWNERS.md [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 7 23:16 README.md [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 23:07 VERSION [2024-03-07T23:24:36.008Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:16 bin [2024-03-07T23:24:36.008Z] -rw-r--r-- 1 jenkins jenkins 122153 Mar 7 23:22 coverage.out [2024-03-07T23:24:36.008Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 23:16 example [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 7 23:16 go.mod [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 35666 Mar 7 23:16 go.sum [2024-03-07T23:24:36.008Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 23:16 internal [2024-03-07T23:24:36.008Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:16 openapi [2024-03-07T23:24:36.008Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 23:16 pkg [2024-03-07T23:24:36.008Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:16 snap [2024-03-07T23:24:36.008Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 23:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:24:36.514Z] + 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=2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 --label arch=arm64 --label version=0.0.0 . [2024-03-07T23:24:37.097Z] Sending build context to Docker daemon 11.52MB [2024-03-07T23:24:37.097Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:24:37.097Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-07T23:24:37.097Z] ---> f5f8b295a7a4 [2024-03-07T23:24:37.097Z] Step 3/23 : ARG MAKE=make build [2024-03-07T23:24:37.097Z] ---> Running in 30ce2fc654b9 [2024-03-07T23:24:37.364Z] Removing intermediate container 30ce2fc654b9 [2024-03-07T23:24:37.364Z] ---> f1ab052bf042 [2024-03-07T23:24:37.364Z] Step 4/23 : WORKDIR /device-sdk-go [2024-03-07T23:24:37.634Z] ---> Running in 917a3e2a448c [2024-03-07T23:24:37.902Z] Removing intermediate container 917a3e2a448c [2024-03-07T23:24:37.902Z] ---> cda68273cc81 [2024-03-07T23:24:37.902Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-07T23:24:37.902Z] ---> Running in 799b5f29a574 [2024-03-07T23:24:38.170Z] Removing intermediate container 799b5f29a574 [2024-03-07T23:24:38.170Z] ---> 2a32153c1b18 [2024-03-07T23:24:38.170Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-03-07T23:24:38.439Z] ---> Running in fd097f55d034 [2024-03-07T23:24:39.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-07T23:24:39.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-07T23:24:41.080Z] OK: 266 MiB in 52 packages [2024-03-07T23:24:41.665Z] Removing intermediate container fd097f55d034 [2024-03-07T23:24:41.665Z] ---> aee3b116c60c [2024-03-07T23:24:41.665Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-07T23:24:42.251Z] ---> abd5d1861e40 [2024-03-07T23:24:42.251Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:24:42.251Z] ---> Running in d00bf69f11df [2024-03-07T23:24:44.194Z] Removing intermediate container d00bf69f11df [2024-03-07T23:24:44.195Z] ---> fb2462a4ad27 [2024-03-07T23:24:44.195Z] Step 9/23 : COPY . . [2024-03-07T23:24:45.601Z] ---> ae3612122cb6 [2024-03-07T23:24:45.601Z] Step 10/23 : RUN ${MAKE} [2024-03-07T23:24:45.601Z] ---> Running in 34334a44ee15 [2024-03-07T23:24:46.559Z] 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 [2024-03-07T23:26:38.366Z] Removing intermediate container 34334a44ee15 [2024-03-07T23:26:38.366Z] ---> 5ebcd9cfe717 [2024-03-07T23:26:38.366Z] Step 11/23 : FROM alpine:3.18 [2024-03-07T23:26:38.366Z] 3.18: Pulling from library/alpine [2024-03-07T23:26:38.366Z] c6b39de5b339: Pulling fs layer [2024-03-07T23:26:38.366Z] c6b39de5b339: Download complete [2024-03-07T23:26:38.366Z] c6b39de5b339: Pull complete [2024-03-07T23:26:38.366Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-07T23:26:38.366Z] Status: Downloaded newer image for alpine:3.18 [2024-03-07T23:26:38.366Z] ---> 33abbf032149 [2024-03-07T23:26:38.366Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-07T23:26:38.366Z] ---> Running in 985370dfaf10 [2024-03-07T23:26:38.366Z] Removing intermediate container 985370dfaf10 [2024-03-07T23:26:38.366Z] ---> b8c5bf441a98 [2024-03-07T23:26:38.366Z] Step 13/23 : RUN apk add --update --no-cache [2024-03-07T23:26:38.630Z] ---> Running in aab2b007ddb0 [2024-03-07T23:26:39.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-07T23:26:39.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-07T23:26:41.254Z] OK: 8 MiB in 15 packages [2024-03-07T23:26:42.220Z] Removing intermediate container aab2b007ddb0 [2024-03-07T23:26:42.220Z] ---> 0a9ff78b2a09 [2024-03-07T23:26:42.220Z] Step 14/23 : WORKDIR / [2024-03-07T23:26:42.220Z] ---> Running in 8406a92a41a4 [2024-03-07T23:26:42.220Z] Removing intermediate container 8406a92a41a4 [2024-03-07T23:26:42.220Z] ---> 375f886dbb4b [2024-03-07T23:26:42.220Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-07T23:26:42.803Z] ---> bbd5fdbd7cbb [2024-03-07T23:26:42.803Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-07T23:26:44.744Z] ---> fcc83d6e835f [2024-03-07T23:26:44.744Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-07T23:26:44.744Z] ---> fc8d56ab0d12 [2024-03-07T23:26:44.744Z] Step 18/23 : EXPOSE 59999 [2024-03-07T23:26:45.010Z] ---> Running in 59500ed7fd35 [2024-03-07T23:26:45.275Z] Removing intermediate container 59500ed7fd35 [2024-03-07T23:26:45.275Z] ---> 50e096d6fa3e [2024-03-07T23:26:45.275Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-03-07T23:26:45.275Z] ---> Running in ecedea3ddace [2024-03-07T23:26:45.541Z] Removing intermediate container ecedea3ddace [2024-03-07T23:26:45.541Z] ---> ae2ca5fef51a [2024-03-07T23:26:45.541Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-07T23:26:45.541Z] ---> Running in 2774f8e34a18 [2024-03-07T23:26:46.121Z] Removing intermediate container 2774f8e34a18 [2024-03-07T23:26:46.121Z] ---> 0d83ee89bd94 [2024-03-07T23:26:46.121Z] Step 21/23 : LABEL arch=arm64 [2024-03-07T23:26:46.121Z] ---> Running in 9bed70476ae7 [2024-03-07T23:26:46.387Z] Removing intermediate container 9bed70476ae7 [2024-03-07T23:26:46.387Z] ---> 7bfd04912b05 [2024-03-07T23:26:46.388Z] Step 22/23 : LABEL git_sha=2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 [2024-03-07T23:26:46.388Z] ---> Running in cd8796e31d40 [2024-03-07T23:26:46.655Z] Removing intermediate container cd8796e31d40 [2024-03-07T23:26:46.655Z] ---> e5c49aec4872 [2024-03-07T23:26:46.655Z] Step 23/23 : LABEL version=0.0.0 [2024-03-07T23:26:46.655Z] ---> Running in 6284348ca1b7 [2024-03-07T23:26:47.240Z] Removing intermediate container 6284348ca1b7 [2024-03-07T23:26:47.240Z] ---> 5e1afcfdac73 [2024-03-07T23:26:47.240Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-07T23:26:47.240Z] Successfully built 5e1afcfdac73 [2024-03-07T23:26:47.240Z] 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 [2024-03-07T23:26:48.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-07T23:26:48.580Z] [2024-03-07T23:26:48.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:26:49.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-07T23:26:49.030Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-07T23:26:49.030Z] 8998bd30e6a1: Pulling fs layer [2024-03-07T23:26:49.030Z] 04944245beec: Pulling fs layer [2024-03-07T23:26:49.030Z] 699f458cf7ca: Pulling fs layer [2024-03-07T23:26:49.030Z] 765212b225bb: Pulling fs layer [2024-03-07T23:26:49.030Z] f23df028b6ca: Pulling fs layer [2024-03-07T23:26:49.030Z] d65c8cfc05b1: Pulling fs layer [2024-03-07T23:26:49.030Z] 2437ff75d9bd: Pulling fs layer [2024-03-07T23:26:49.030Z] 765212b225bb: Waiting [2024-03-07T23:26:49.030Z] d65c8cfc05b1: Waiting [2024-03-07T23:26:49.030Z] f23df028b6ca: Waiting [2024-03-07T23:26:49.030Z] 2437ff75d9bd: Waiting [2024-03-07T23:26:49.300Z] 04944245beec: Verifying Checksum [2024-03-07T23:26:49.300Z] 04944245beec: Download complete [2024-03-07T23:26:49.300Z] 765212b225bb: Verifying Checksum [2024-03-07T23:26:49.300Z] 765212b225bb: Download complete [2024-03-07T23:26:49.300Z] f23df028b6ca: Verifying Checksum [2024-03-07T23:26:49.300Z] f23df028b6ca: Download complete [2024-03-07T23:26:49.300Z] d65c8cfc05b1: Verifying Checksum [2024-03-07T23:26:49.300Z] d65c8cfc05b1: Download complete [2024-03-07T23:26:49.571Z] 699f458cf7ca: Verifying Checksum [2024-03-07T23:26:49.571Z] 699f458cf7ca: Download complete [2024-03-07T23:26:49.838Z] 8998bd30e6a1: Verifying Checksum [2024-03-07T23:26:49.838Z] 8998bd30e6a1: Download complete [2024-03-07T23:26:52.421Z] 2437ff75d9bd: Verifying Checksum [2024-03-07T23:26:52.421Z] 2437ff75d9bd: Download complete [2024-03-07T23:26:55.009Z] 8998bd30e6a1: Pull complete [2024-03-07T23:26:55.009Z] 04944245beec: Pull complete [2024-03-07T23:26:56.954Z] 699f458cf7ca: Pull complete [2024-03-07T23:26:56.954Z] 765212b225bb: Pull complete [2024-03-07T23:26:57.917Z] f23df028b6ca: Pull complete [2024-03-07T23:26:57.917Z] d65c8cfc05b1: Pull complete [2024-03-07T23:27:16.138Z] 2437ff75d9bd: Pull complete [2024-03-07T23:27:16.139Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-07T23:27:16.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-07T23:27:16.139Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:27:16.666Z] prd-ubuntu20.04-docker-arm64-4c-16g-5161 does not seem to be running inside a container [2024-03-07T23:27:16.736Z] $ 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 [2024-03-07T23:27:19.566Z] $ docker top 5450fc0e9043868616ff1bb9cd0d9ff2276656103d76bd5209c79328b2b75562 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:27:20.593Z] ---> job-cost.sh [2024-03-07T23:27:20.593Z] lf-activate-venv: SKIPPING [2024-03-07T23:27:20.593Z] INFO: No Stack... [2024-03-07T23:27:21.174Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-07T23:27:21.752Z] INFO: Archiving Costs [Pipeline] sh [2024-03-07T23:27:22.412Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-03-07T23:27:22.412Z] + cut -d, -f6 [Pipeline] lock [2024-03-07T23:27:22.490Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1563-1-stack-cost] [2024-03-07T23:27:22.495Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1563-1-stack-cost] did not exist. Created. [2024-03-07T23:27:22.500Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1563-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-07T23:27:23.318Z] /w/workspace/device-sdk-go/1@tmp/durable-2618b904/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-07T23:27:23.987Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-07T23:27:24.026Z] Warning: overwriting stash ‘stack-cost’ [2024-03-07T23:27:24.109Z] Stashed 1 file(s) [Pipeline] } [2024-03-07T23:27:24.124Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1563-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-07T23:27:24.300Z] $ docker stop --time=1 5450fc0e9043868616ff1bb9cd0d9ff2276656103d76bd5209c79328b2b75562 [2024-03-07T23:27:25.838Z] $ docker rm -f --volumes 5450fc0e9043868616ff1bb9cd0d9ff2276656103d76bd5209c79328b2b75562 [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 [2024-03-07T23:27:27.914Z] provisioning config files... [2024-03-07T23:27:27.924Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp/config10714261463816268486tmp [Pipeline] { [Pipeline] sh [2024-03-07T23:27:28.360Z] + set +x [2024-03-07T23:27:28.360Z] + curl -s https://codecov.io/bash [2024-03-07T23:27:28.360Z] + bash -s -- [2024-03-07T23:27:28.360Z] [2024-03-07T23:27:28.360Z] _____ _ [2024-03-07T23:27:28.360Z] / ____| | | [2024-03-07T23:27:28.360Z] | | ___ __| | ___ ___ _____ __ [2024-03-07T23:27:28.360Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-07T23:27:28.360Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-07T23:27:28.360Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-07T23:27:28.360Z] Bash-1.0.6 [2024-03-07T23:27:28.360Z] [2024-03-07T23:27:28.360Z] [2024-03-07T23:27:28.360Z] ==> git version 2.25.1 found [2024-03-07T23:27:28.360Z] ==> 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 [2024-03-07T23:27:28.360Z] Release-Date: 2020-01-08 [2024-03-07T23:27:28.360Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-07T23:27:28.360Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-07T23:27:28.360Z] ==> Jenkins CI detected. [2024-03-07T23:27:28.360Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1563 [2024-03-07T23:27:28.360Z] project root: . [2024-03-07T23:27:28.360Z] --> token set from env [2024-03-07T23:27:28.360Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-07T23:27:28.620Z] ==> Running gcov in . (disable via -X gcov) [2024-03-07T23:27:28.620Z] ==> Python coveragepy not found [2024-03-07T23:27:28.620Z] ==> Searching for coverage reports in: [2024-03-07T23:27:28.620Z] + . [2024-03-07T23:27:28.620Z] -> Found 1 reports [2024-03-07T23:27:28.620Z] ==> Detecting git/mercurial file structure [2024-03-07T23:27:28.620Z] ==> Reading reports [2024-03-07T23:27:28.620Z] + ./coverage.out bytes=122153 [2024-03-07T23:27:28.620Z] ==> Appending adjustments [2024-03-07T23:27:28.620Z] https://docs.codecov.io/docs/fixing-reports [2024-03-07T23:27:28.880Z] + Found adjustments [2024-03-07T23:27:28.880Z] ==> Gzipping contents [2024-03-07T23:27:28.880Z] 20K /tmp/codecov.oekSM8.gz [2024-03-07T23:27:28.880Z] ==> Uploading reports [2024-03-07T23:27:28.880Z] url: https://codecov.io [2024-03-07T23:27:28.880Z] query: branch=PR-1563&commit=2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1563%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1563&job=&cmd_args= [2024-03-07T23:27:28.880Z] -> Pinging Codecov [2024-03-07T23:27:28.881Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1563&commit=2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1563%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1563&job=&cmd_args= [2024-03-07T23:27:29.141Z] -> Uploading to [2024-03-07T23:27:29.141Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-07/7E55EF52A471D76F132DFD9A03CDDE97/2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6/f8f9d947-67ad-4e37-b827-3fbc77805c6e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240307T232728Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ccd2a174201b4f3d3d70a16242e29e98028748082350513c3c665a084ebad33c [2024-03-07T23:27:29.141Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-07T23:27:29.141Z] Dload Upload Total Spent Left Speed [2024-03-07T23:27:29.401Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16709 0 0 100 16709 0 54783 --:--:-- --:--:-- --:--:-- 54963 [2024-03-07T23:27:29.401Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2c56a36b9fb18ed0431a9d1b98b69a870e2a9ed6 [Pipeline] } [2024-03-07T23:27:29.431Z] 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 [2024-03-07T23:27:32.729Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1563/archives ] [2024-03-07T23:27:32.729Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1563/archives [2024-03-07T23:27:32.729Z] total 16 [2024-03-07T23:27:32.729Z] drwxr-xr-x 3 root root 4096 Mar 7 23:09 . [2024-03-07T23:27:32.729Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 23:09 .. [2024-03-07T23:27:32.729Z] drwxr-xr-x 2 root root 4096 Mar 7 23:09 cost [2024-03-07T23:27:32.729Z] -rw-r--r-- 1 root root 86 Mar 7 23:09 cost.csv [2024-03-07T23:27:32.729Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1563/archives [2024-03-07T23:27:32.729Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1563/archives [2024-03-07T23:27:32.729Z] total 16 [2024-03-07T23:27:32.729Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 23:09 . [2024-03-07T23:27:32.729Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 23:09 .. [2024-03-07T23:27:32.729Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 23:09 cost [2024-03-07T23:27:32.729Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 23:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:27:33.067Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:27:33.955Z] ---> package-listing.sh [2024-03-07T23:27:33.955Z] ++ facter osfamily [2024-03-07T23:27:33.955Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-07T23:27:34.215Z] + OS_FAMILY=debian [2024-03-07T23:27:34.215Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1563 [2024-03-07T23:27:34.215Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-07T23:27:34.215Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-07T23:27:34.215Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-07T23:27:34.215Z] + PACKAGES=/tmp/packages_start.txt [2024-03-07T23:27:34.215Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1563 ']' [2024-03-07T23:27:34.215Z] + PACKAGES=/tmp/packages_end.txt [2024-03-07T23:27:34.215Z] + case "${OS_FAMILY}" in [2024-03-07T23:27:34.215Z] + dpkg -l [2024-03-07T23:27:34.215Z] + grep '^ii' [2024-03-07T23:27:34.215Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-07T23:27:34.215Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-07T23:27:34.215Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-07T23:27:34.215Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1563 ']' [2024-03-07T23:27:34.215Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1563/archives/ [2024-03-07T23:27:34.215Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1563/archives/ [Pipeline] echo [2024-03-07T23:27:34.249Z] 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-1563/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-07T23:27:34.544Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:27:35.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:27:35.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:27:35.473Z] prd-ubuntu20.04-docker-8c-8g-5139 does not seem to be running inside a container [2024-03-07T23:27:35.469Z] $ 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-1563/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-1563 -v /w/workspace/gexfoundry_device-sdk-go_PR-1563:/w/workspace/gexfoundry_device-sdk-go_PR-1563:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1563@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 [2024-03-07T23:27:35.675Z] $ docker top f34fb4d6b32ea1c4e919adc1a1733982350229ae8a053ff22eb0b269cc86b1f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:27:36.199Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-07T23:27:36.514Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-07T23:27:36.832Z] + ls /var/log/sa-host [2024-03-07T23:27:36.832Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-07T23:27:37.186Z] provisioning config files... [2024-03-07T23:27:37.198Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1563@tmp/config12733704426277672429tmp [Pipeline] { [Pipeline] echo [2024-03-07T23:27:37.356Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:27:37.676Z] ---> create-netrc.sh [Pipeline] } [2024-03-07T23:27:37.707Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:27:38.240Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-07T23:27:38.275Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:27:38.589Z] ---> sudo-logs.sh [2024-03-07T23:27:38.589Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-07T23:27:38.728Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:27:39.039Z] ---> job-cost.sh [2024-03-07T23:27:39.039Z] lf-activate-venv: SKIPPING [2024-03-07T23:27:39.039Z] DEBUG: total: 0.2199999988079071 [2024-03-07T23:27:39.039Z] INFO: Retrieving Stack Cost... [2024-03-07T23:27:39.299Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-07T23:27:39.869Z] INFO: Archiving Costs [Pipeline] echo [2024-03-07T23:27:39.904Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:27:40.391Z] ---> logs-deploy.sh [2024-03-07T23:27:40.391Z] lf-activate-venv: SKIPPING [2024-03-07T23:27:40.391Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1563/1 [2024-03-07T23:27:40.391Z] INFO: archiving workspace using pattern(s): [2024-03-07T23:27:40.971Z] Archives upload complete. [2024-03-07T23:27:41.228Z] INFO: archiving logs to Nexus