Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1b27e27c8c29fb56c9ef8fafdb70b0da03520bda+97b36af7baff2da76e29dc2359062fa76ab64ed3 (da415a8f7c3bd809848c36bc33f4d71e5094ea68) 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-ssh17966034618809956345.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-ssh10100453069543948487.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1574/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1574/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1789337783326587103.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 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-ssh10408336300408775642.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1574/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1574/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14340630762701835627.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-296 in /w/workspace/gexfoundry_device-sdk-go_PR-1574 [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-1574 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 1b27e27c8c29fb56c9ef8fafdb70b0da03520bda Merge succeeded, producing c8c13f990e0c07c49300d3d7c1a42231ac011777 Checking out Revision c8c13f990e0c07c49300d3d7c1a42231ac011777 (PR-1574) 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/1574/head:refs/remotes/origin/PR-1574 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b27e27c8c29fb56c9ef8fafdb70b0da03520bda # 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 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8c13f990e0c07c49300d3d7c1a42231ac011777 # timeout=10 Commit message: "Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:43:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:43:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:43:05 ========================================================= 18:43:05 EdgeX Global Pipelines Version Info 18:43:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:43:06 ------------------- 18:43:06 stable info: 18:43:06 ------------------- 18:43:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:43:06 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:43:06 Message: update stable to v1.0.258 18:43:07 ------------------- 18:43:07 experimental info: 18:43:07 ------------------- 18:43:07 Commited By: **** collab-it+edgex@linuxfoundation.org 18:43:07 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:43:07 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1574 [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1574 [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1574 [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8c13f990e0c07c49300d3d7c1a42231ac011777 [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8c13f9 [Pipeline] echo 18:43:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:43:07 provisioning config files... 18:43:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/config1505877366127071805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:08 ---> ****-login.sh 18:43:08 nexus3.edgexfoundry.org:10001 18:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:08 Configure a credential helper to remove this warning. See 18:43:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:08 18:43:08 Login Succeeded 18:43:08 nexus3.edgexfoundry.org:10002 18:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:08 Configure a credential helper to remove this warning. See 18:43:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:08 18:43:08 Login Succeeded 18:43:08 nexus3.edgexfoundry.org:10003 18:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:08 Configure a credential helper to remove this warning. See 18:43:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:08 18:43:08 Login Succeeded 18:43:08 nexus3.edgexfoundry.org:10004 18:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:08 Configure a credential helper to remove this warning. See 18:43:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:08 18:43:08 Login Succeeded 18:43:08 ****.io 18:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:09 Configure a credential helper to remove this warning. See 18:43:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:09 18:43:09 Login Succeeded 18:43:09 ---> ****-login.sh ends [Pipeline] } 18:43:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:43:09 + git rev-list -1 --merges c8c13f990e0c07c49300d3d7c1a42231ac011777~1..c8c13f990e0c07c49300d3d7c1a42231ac011777 [Pipeline] echo 18:43:09 -----------> git rev-list -1 --merges c8c13f990e0c07c49300d3d7c1a42231ac011777~1..c8c13f990e0c07c49300d3d7c1a42231ac011777 c8c13f990e0c07c49300d3d7c1a42231ac011777 18:43:09 c8c13f990e0c07c49300d3d7c1a42231ac011777 [false] [Pipeline] sh 18:43:09 + git log --format=format:%s -1 c8c13f990e0c07c49300d3d7c1a42231ac011777 [Pipeline] echo 18:43:09 ========================================================= 18:43:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:43:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:10 + git log --format=format:%s -1 c8c13f990e0c07c49300d3d7c1a42231ac011777 [Pipeline] echo 18:43:10 [semverPrep] GIT_COMMIT: c8c13f990e0c07c49300d3d7c1a42231ac011777, Commit Message: Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD [Pipeline] echo 18:43:10 [semverPrep] This is not a build commit. [Pipeline] sh 18:43:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:43:10 + grep -v github /etc/ssh/ssh_known_hosts 18:43:10 + [ -e /tmp/ssh_known_hosts ] 18:43:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:43:10 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 18:43:10 tee -a /etc/ssh/ssh_known_hosts 18:43:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:10 18:43:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:11 0.1.4: Pulling from edgex-devops/py-git-semver 18:43:11 b85a868b505f: Pulling fs layer 18:43:11 e2be974225ed: Pulling fs layer 18:43:11 339a4e72a1f5: Pulling fs layer 18:43:11 988bab9f4d93: Pulling fs layer 18:43:11 1469e6f7b9e6: Pulling fs layer 18:43:11 eaf3925da568: Pulling fs layer 18:43:11 bab4dde63d76: Pulling fs layer 18:43:11 bde34c3a00c8: Pulling fs layer 18:43:11 b352a97aabf1: Pulling fs layer 18:43:11 4872d77fe225: Pulling fs layer 18:43:11 5851b861e8e6: Pulling fs layer 18:43:11 bab4dde63d76: Waiting 18:43:11 bde34c3a00c8: Waiting 18:43:11 b352a97aabf1: Waiting 18:43:11 4872d77fe225: Waiting 18:43:11 5851b861e8e6: Waiting 18:43:11 988bab9f4d93: Waiting 18:43:11 1469e6f7b9e6: Waiting 18:43:11 eaf3925da568: Waiting 18:43:11 e2be974225ed: Verifying Checksum 18:43:11 e2be974225ed: Download complete 18:43:11 988bab9f4d93: Verifying Checksum 18:43:11 988bab9f4d93: Download complete 18:43:11 1469e6f7b9e6: Verifying Checksum 18:43:11 1469e6f7b9e6: Download complete 18:43:11 eaf3925da568: Download complete 18:43:11 339a4e72a1f5: Verifying Checksum 18:43:11 339a4e72a1f5: Download complete 18:43:11 bde34c3a00c8: Verifying Checksum 18:43:11 bde34c3a00c8: Download complete 18:43:11 b352a97aabf1: Verifying Checksum 18:43:11 b352a97aabf1: Download complete 18:43:11 4872d77fe225: Download complete 18:43:11 5851b861e8e6: Verifying Checksum 18:43:11 5851b861e8e6: Download complete 18:43:11 b85a868b505f: Verifying Checksum 18:43:11 b85a868b505f: Download complete 18:43:12 bab4dde63d76: Verifying Checksum 18:43:12 bab4dde63d76: Download complete 18:43:12 b85a868b505f: Pull complete 18:43:12 e2be974225ed: Pull complete 18:43:13 339a4e72a1f5: Pull complete 18:43:13 988bab9f4d93: Pull complete 18:43:13 1469e6f7b9e6: Pull complete 18:43:13 eaf3925da568: Pull complete 18:43:15 bab4dde63d76: Pull complete 18:43:15 bde34c3a00c8: Pull complete 18:43:15 b352a97aabf1: Pull complete 18:43:15 4872d77fe225: Pull complete 18:43:15 5851b861e8e6: Pull complete 18:43:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:43:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:16 prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container 18:43:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1574 -v /w/workspace/gexfoundry_device-sdk-go_PR-1574:/w/workspace/gexfoundry_device-sdk-go_PR-1574:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:43:19 $ docker top e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 -eo pid,comm 18:43:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:43:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:43:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:19 [ssh-agent] Looking for ssh-agent implementation... 18:43:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:19 $ docker exec e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 ssh-agent 18:43:19 SSH_AUTH_SOCK=/tmp/ssh-WeesKflgjBsY/agent.31 18:43:19 SSH_AGENT_PID=37 18:43:19 Running ssh-add (command line suppressed) 18:43:19 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/private_key_3934446256067494861.key (/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/private_key_3934446256067494861.key) 18:43:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:20 + git tag --points-at HEAD [Pipeline] } 18:43:20 $ docker exec --env ******** --env ******** e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 ssh-agent -k 18:43:20 unset SSH_AUTH_SOCK; 18:43:20 unset SSH_AGENT_PID; 18:43:20 echo Agent pid 37 killed; 18:43:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:43:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:20 [ssh-agent] Looking for ssh-agent implementation... 18:43:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:20 $ docker exec e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 ssh-agent 18:43:20 SSH_AUTH_SOCK=/tmp/ssh-uBmC5vDOdLbV/agent.70 18:43:20 SSH_AGENT_PID=76 18:43:20 Running ssh-add (command line suppressed) 18:43:20 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/private_key_17018960778104306827.key (/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/private_key_17018960778104306827.key) 18:43:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:20 + git semver init 18:43:21 2024-05-16 18:43:20,949 [run_init] DEBUG init version:0.0.0 force:False 18:43:21 2024-05-16 18:43:20,950 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1574/.semver 18:43:21 2024-05-16 18:43:20,951 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1574/.semver 18:43:21 2024-05-16 18:43:20,951 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1574/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1574, universal_newlines=False, shell=None, istream=None) 18:43:22 2024-05-16 18:43:22,188 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574/.git/info/exclude 18:43:22 2024-05-16 18:43:22,189 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1574/.semver/PR-1574 with force:False 18:43:22 2024-05-16 18:43:22,189 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574/.semver/PR-1574 18:43:22 2024-05-16 18:43:22,193 [execute] INFO git cat-file --batch-check 18:43:22 2024-05-16 18:43:22,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1574/.semver, universal_newlines=False, shell=None, istream=) 18:43:22 2024-05-16 18:43:22,199 [execute] INFO git cat-file --batch 18:43:22 2024-05-16 18:43:22,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1574/.semver, universal_newlines=False, shell=None, istream=) 18:43:22 2024-05-16 18:43:22,204 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1574/.semver/PR-1574 18:43:22 0.0.0 [Pipeline] } 18:43:22 $ docker exec --env ******** --env ******** e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 ssh-agent -k 18:43:22 unset SSH_AUTH_SOCK; 18:43:22 unset SSH_AGENT_PID; 18:43:22 echo Agent pid 76 killed; 18:43:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:43:22 + git semver [Pipeline] } 18:43:23 $ docker stop --time=1 e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 18:43:24 $ docker rm -f --volumes e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 [Pipeline] // withDockerContainer [Pipeline] sh 18:43:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:43:25 Stashed 1 file(s) [Pipeline] echo 18:43:25 [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 18:43:25 provisioning config files... 18:43:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/config16593083829014917845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:25 ---> ****-login.sh 18:43:25 nexus3.edgexfoundry.org:10001 18:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:25 Configure a credential helper to remove this warning. See 18:43:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:25 18:43:25 Login Succeeded 18:43:25 nexus3.edgexfoundry.org:10002 18:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:25 Configure a credential helper to remove this warning. See 18:43:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:25 18:43:25 Login Succeeded 18:43:25 nexus3.edgexfoundry.org:10003 18:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:25 Configure a credential helper to remove this warning. See 18:43:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:25 18:43:25 Login Succeeded 18:43:25 nexus3.edgexfoundry.org:10004 18:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:25 Configure a credential helper to remove this warning. See 18:43:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:25 18:43:25 Login Succeeded 18:43:25 ****.io 18:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:43:26 Configure a credential helper to remove this warning. See 18:43:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:43:26 18:43:26 Login Succeeded 18:43:26 ---> ****-login.sh ends [Pipeline] } 18:43:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:43:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:43:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:43:26 ========================================================= 18:43:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:43:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:26 + 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 . 18:43:26 Sending build context to Docker daemon 25.72MB 18:43:26 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:43:26 Step 2/10 : FROM ${BASE} AS builder 18:43:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:43:27 619be1103602: Pulling fs layer 18:43:27 7862e08f4a3e: Pulling fs layer 18:43:27 5df492c9dc93: Pulling fs layer 18:43:27 7629e6793208: Pulling fs layer 18:43:27 4f4fb700ef54: Pulling fs layer 18:43:27 fb5054dd5b73: Pulling fs layer 18:43:27 eeca6798cff9: Pulling fs layer 18:43:27 aa269ceb94a6: Pulling fs layer 18:43:27 ada007ff1a6a: Pulling fs layer 18:43:27 4f4fb700ef54: Waiting 18:43:27 fb5054dd5b73: Waiting 18:43:27 aa269ceb94a6: Waiting 18:43:27 ada007ff1a6a: Waiting 18:43:27 eeca6798cff9: Waiting 18:43:27 7629e6793208: Waiting 18:43:27 7862e08f4a3e: Verifying Checksum 18:43:27 7862e08f4a3e: Download complete 18:43:27 7629e6793208: Verifying Checksum 18:43:27 7629e6793208: Download complete 18:43:27 4f4fb700ef54: Verifying Checksum 18:43:27 4f4fb700ef54: Download complete 18:43:27 fb5054dd5b73: Download complete 18:43:27 619be1103602: Verifying Checksum 18:43:27 619be1103602: Download complete 18:43:27 eeca6798cff9: Verifying Checksum 18:43:27 eeca6798cff9: Download complete 18:43:27 619be1103602: Pull complete 18:43:27 7862e08f4a3e: Pull complete 18:43:27 ada007ff1a6a: Verifying Checksum 18:43:27 ada007ff1a6a: Download complete 18:43:27 5df492c9dc93: Download complete 18:43:28 aa269ceb94a6: Verifying Checksum 18:43:28 aa269ceb94a6: Download complete 18:43:31 5df492c9dc93: Pull complete 18:43:31 7629e6793208: Pull complete 18:43:31 4f4fb700ef54: Pull complete 18:43:31 fb5054dd5b73: Pull complete 18:43:31 eeca6798cff9: Pull complete 18:43:34 aa269ceb94a6: Pull complete 18:43:34 ada007ff1a6a: Pull complete 18:43:34 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 18:43:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:43:34 ---> f489d0715acc 18:43:34 Step 3/10 : ARG MAKE=make build 18:43:38 ---> Running in 6224eef9e7c2 18:43:38 Removing intermediate container 6224eef9e7c2 18:43:38 ---> b2a912b95d69 18:43:38 Step 4/10 : WORKDIR /device-sdk-go 18:43:38 ---> Running in 641a06cf6f96 18:43:38 Removing intermediate container 641a06cf6f96 18:43:38 ---> 26e6b04c8c21 18:43:38 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:43:38 ---> Running in d920d7b7c2ff 18:43:38 Removing intermediate container d920d7b7c2ff 18:43:38 ---> 74a2536e17eb 18:43:38 Step 6/10 : RUN apk add --update --no-cache make git 18:43:38 ---> Running in 4796fffa9015 18:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:43:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:43:39 OK: 264 MiB in 52 packages 18:43:39 Removing intermediate container 4796fffa9015 18:43:39 ---> e1e61bf2fa78 18:43:39 Step 7/10 : COPY go.mod vendor* ./ 18:43:39 ---> a0e9d18bc1c8 18:43:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:39 ---> Running in 8e37abf71218 18:43:40 Still waiting to schedule task 18:43:40 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:44:26 Removing intermediate container 8e37abf71218 18:44:26 ---> b985d03cf5fb 18:44:26 Step 9/10 : COPY . . 18:44:26 ---> 8f6521b3421d 18:44:26 Step 10/10 : RUN ${MAKE} 18:44:26 ---> Running in bb48a0f7c47b 18:44:26 noop 18:44:26 Removing intermediate container bb48a0f7c47b 18:44:26 ---> 7155edf95c4b 18:44:26 Successfully built 7155edf95c4b 18:44:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:27 + docker inspect -f . ci-base-image-x86_64 18:44:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:27 prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container 18:44:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1574 -v /w/workspace/gexfoundry_device-sdk-go_PR-1574:/w/workspace/gexfoundry_device-sdk-go_PR-1574:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:44:27 $ docker top 919b25ef6316b917a90f6e4a6fc6061f26703aee7b199120ff459cb13cbc11cf -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:27 + go version 18:44:27 go version go1.21.9 linux/amd64 [Pipeline] } 18:44:27 $ docker stop --time=1 919b25ef6316b917a90f6e4a6fc6061f26703aee7b199120ff459cb13cbc11cf 18:44:29 $ docker rm -f --volumes 919b25ef6316b917a90f6e4a6fc6061f26703aee7b199120ff459cb13cbc11cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:29 + docker inspect -f . ci-base-image-x86_64 18:44:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:29 prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container 18:44:29 $ 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-1574 -v /w/workspace/gexfoundry_device-sdk-go_PR-1574:/w/workspace/gexfoundry_device-sdk-go_PR-1574:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:44:30 $ docker top 9ac6d0c814585e756541fa8e0849c4c433d6991a936c83303c50dad0052c607f -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:30 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1574 [Pipeline] fileExists [Pipeline] sh 18:44:30 + make test 18:44:30 go test -race -coverprofile=coverage.out ./... 18:44:37 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:45:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:45:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:45:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:45:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:45:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:45:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.051s coverage: 27.6% of statements 18:45:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.056s coverage: 81.5% of statements 18:45:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:45:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:45:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:45:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.077s coverage: 86.0% of statements 18:45:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:45:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:45:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.129s coverage: 71.8% of statements 18:45:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:45:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.093s coverage: 14.4% of statements 18:45:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.846s coverage: 45.9% of statements 18:45:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.091s coverage: 68.5% of statements 18:45:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.108s coverage: 89.2% of statements 18:45:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.070s coverage: 5.5% of statements 18:45:56 GO111MODULE=on go vet ./... 18:45:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:45:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:45:56 ./bin/test-attribution-txt.sh 18:45:56 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:45:56 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:45:56 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:45:56 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:45:56 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:45:56 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:45:56 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:45:56 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:45:56 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:45:56 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 18:45:56 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:45:56 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:45:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:45:56 $ docker stop --time=1 9ac6d0c814585e756541fa8e0849c4c433d6991a936c83303c50dad0052c607f 18:45:58 $ docker rm -f --volumes 9ac6d0c814585e756541fa8e0849c4c433d6991a936c83303c50dad0052c607f [Pipeline] // withDockerContainer [Pipeline] sh 18:45:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:45:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:45:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:45:59 + ls -al . 18:45:59 total 376 18:45:59 drwxrwxr-x 11 jenkins jenkins 4096 May 16 18:44 . 18:45:59 drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:42 .. 18:45:59 -rw-rw-r-- 1 jenkins jenkins 140 May 16 18:43 .dockerignore 18:45:59 drwxrwxr-x 8 jenkins jenkins 4096 May 16 18:45 .git 18:45:59 drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:43 .github 18:45:59 -rw-rw-r-- 1 jenkins jenkins 137 May 16 18:43 .gitignore 18:45:59 -rw-rw-r-- 1 jenkins jenkins 42 May 16 18:43 .golangci.yml 18:45:59 drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:43 .semver 18:45:59 -rw-rw-r-- 1 jenkins jenkins 48109 May 16 18:43 CHANGELOG.md 18:45:59 -rw-rw-r-- 1 jenkins jenkins 677 May 16 18:43 GOVERNANCE.md 18:45:59 -rw-rw-r-- 1 jenkins jenkins 885 May 16 18:43 Jenkinsfile 18:45:59 -rw-rw-r-- 1 jenkins jenkins 11341 May 16 18:43 LICENSE 18:45:59 -rw-rw-r-- 1 jenkins jenkins 1842 May 16 18:43 Makefile 18:45:59 -rw-rw-r-- 1 jenkins jenkins 619 May 16 18:43 OWNERS.md 18:45:59 -rw-rw-r-- 1 jenkins jenkins 4933 May 16 18:43 README.md 18:45:59 -rw-rw-r-- 1 jenkins jenkins 5 May 16 18:43 VERSION 18:45:59 drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:43 bin 18:45:59 -rw-r--r-- 1 jenkins jenkins 122153 May 16 18:45 coverage.out 18:45:59 drwxrwxr-x 5 jenkins jenkins 4096 May 16 18:43 example 18:45:59 -rw-rw-r-- 1 jenkins jenkins 7070 May 16 18:43 go.mod 18:45:59 -rw-rw-r-- 1 jenkins jenkins 101044 May 16 18:43 go.sum 18:45:59 drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:43 internal 18:45:59 drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:43 openapi 18:45:59 drwxrwxr-x 6 jenkins jenkins 4096 May 16 18:43 pkg 18:45:59 drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:43 snap 18:45:59 -rw-rw-r-- 1 jenkins jenkins 222 May 16 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:00 + 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=c8c13f990e0c07c49300d3d7c1a42231ac011777 --label arch=amd64 --label version=0.0.0 . 18:46:00 Sending build context to Docker daemon 25.84MB 18:46:00 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 18:46:00 Step 2/23 : FROM ${BASE} AS builder 18:46:00 ---> 7155edf95c4b 18:46:00 Step 3/23 : ARG MAKE=make build 18:46:00 ---> Running in 536570175f05 18:46:00 Removing intermediate container 536570175f05 18:46:00 ---> af4cea9675a2 18:46:00 Step 4/23 : WORKDIR /device-sdk-go 18:46:00 ---> Running in c8af30acaf1b 18:46:00 Removing intermediate container c8af30acaf1b 18:46:00 ---> d118fbc85cc2 18:46:00 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:46:00 ---> Running in cd76788ab932 18:46:00 Removing intermediate container cd76788ab932 18:46:00 ---> 2dc02847a0e1 18:46:00 Step 6/23 : RUN apk add --update --no-cache make git 18:46:00 ---> Running in c23dba22461b 18:46:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:46:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:46:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-300 in /w/workspace/gexfoundry_device-sdk-go_PR-1574 [Pipeline] { [Pipeline] ws 18:46:01 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:46:01 OK: 264 MiB in 52 packages 18:46:01 Removing intermediate container c23dba22461b 18:46:01 ---> 1f435ad05f0a 18:46:01 Step 7/23 : COPY go.mod vendor* ./ 18:46:01 ---> 40aef0d408f1 18:46:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:01 ---> Running in 11d2e1cf0938 18:46:02 Removing intermediate container 11d2e1cf0938 18:46:02 ---> aab0a7f435ff 18:46:02 Step 9/23 : COPY . . 18:46:03 ---> 724fec35f179 18:46:03 Step 10/23 : RUN ${MAKE} 18:46:03 ---> Running in d528ef73c0c4 18:46:03 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 18:46:04 The recommended git tool is: git 18:46:13 using credential edgex-jenkins-ssh 18:46:13 Cloning the remote Git repository 18:46:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:46:13 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:46:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:46:14 > git --version # timeout=10 18:46:14 > git --version # 'git version 2.25.1' 18:46:14 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:46:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:46:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:46:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:46:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:46:19 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1574/head:refs/remotes/origin/PR-1574 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:46:20 Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 1b27e27c8c29fb56c9ef8fafdb70b0da03520bda 18:46:20 Merge succeeded, producing e7cffd66bb83ede5934d19cea675cde872c80c20 18:46:20 Checking out Revision e7cffd66bb83ede5934d19cea675cde872c80c20 (PR-1574) 18:46:20 > git config core.sparsecheckout # timeout=10 18:46:20 > git checkout -f 1b27e27c8c29fb56c9ef8fafdb70b0da03520bda # timeout=10 18:46:20 > git remote # timeout=10 18:46:20 > git config --get remote.origin.url # timeout=10 18:46:20 using GIT_SSH to set credentials SSH Credentials for GitHub 18:46:20 > git merge 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 18:46:20 > git rev-parse HEAD^{commit} # timeout=10 18:46:20 > git config core.sparsecheckout # timeout=10 18:46:20 > git checkout -f e7cffd66bb83ede5934d19cea675cde872c80c20 # timeout=10 18:46:24 Commit message: "Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD" 18:46:24 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:46:26 % Total % Received % Xferd Average Speed Time Time Time Current 18:46:26 Dload Upload Total Spent Left Speed 18:46:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 215k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh 18:46:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:46:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:46:27 + sudo tee /etc/docker/daemon.new 18:46:27 { 18:46:27 "registry-mirrors": [ 18:46:27 "https://nexus3.edgexfoundry.org:10001" 18:46:27 ], 18:46:27 "bip": "10.250.0.254/24", 18:46:27 "hosts": [ 18:46:27 "tcp://0.0.0.0:5555", 18:46:27 "unix:///var/run/docker.sock" 18:46:27 ], 18:46:27 "mtu": 1458, 18:46:27 "selinux-enabled": true, 18:46:27 "seccomp-profile": "/etc/docker/seccomp.json" 18:46:27 } [Pipeline] sh 18:46:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:46:27 + sudo service docker restart 18:46:35 Removing intermediate container d528ef73c0c4 18:46:35 ---> 8d9e2dec8340 18:46:35 Step 11/23 : FROM alpine:3.18 18:46:35 3.18: Pulling from library/alpine 18:46:35 619be1103602: Already exists 18:46:35 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 18:46:35 Status: Downloaded newer image for alpine:3.18 18:46:35 ---> d3782b16ccc9 18:46:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:46:35 ---> Running in 06bcdb81b9bd 18:46:35 Removing intermediate container 06bcdb81b9bd 18:46:35 ---> ffd0ad53f75b 18:46:35 Step 13/23 : RUN apk add --update --no-cache 18:46:35 ---> Running in 79bd1d403635 18:46:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:46:36 OK: 7 MiB in 15 packages 18:46:36 Removing intermediate container 79bd1d403635 18:46:36 ---> 1a32dadd51a2 18:46:36 Step 14/23 : WORKDIR / 18:46:36 ---> Running in 69da29008127 18:46:36 Removing intermediate container 69da29008127 18:46:36 ---> f35d39ba64e7 18:46:36 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:46:36 ---> 9da2cb0c017a 18:46:36 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:46:38 ---> c5821de9d67f 18:46:38 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:46:38 ---> 76e55895a8a8 18:46:38 Step 18/23 : EXPOSE 59999 18:46:38 ---> Running in 5b8d6a3764c0 18:46:38 Removing intermediate container 5b8d6a3764c0 18:46:38 ---> 7ba2c61d534c 18:46:38 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:46:38 ---> Running in be9ab489e612 18:46:38 Removing intermediate container be9ab489e612 18:46:38 ---> 0b3add0514a4 18:46:38 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:46:38 ---> Running in 542f0f0095a5 18:46:38 Removing intermediate container 542f0f0095a5 18:46:38 ---> 8149863ce7cd 18:46:38 Step 21/23 : LABEL arch=amd64 18:46:38 ---> Running in c8057903fe38 18:46:38 Removing intermediate container c8057903fe38 18:46:38 ---> 261a43070ce7 18:46:38 Step 22/23 : LABEL git_sha=c8c13f990e0c07c49300d3d7c1a42231ac011777 18:46:38 ---> Running in dd63359a5121 18:46:38 Removing intermediate container dd63359a5121 18:46:38 ---> e117836c193f 18:46:38 Step 23/23 : LABEL version=0.0.0 18:46:38 ---> Running in 93e3fef4ca3c 18:46:39 Removing intermediate container 93e3fef4ca3c 18:46:39 ---> 7c0eda12c86e 18:46:39 [Warning] One or more build-args [ARCH] were not consumed 18:46:39 Successfully built 7c0eda12c86e 18:46:39 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:39 18:46:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:39 latest: Pulling from edgex-lftools-log-publisher 18:46:39 5eb5b503b376: Pulling fs layer 18:46:39 5c69ac0246d0: Pulling fs layer 18:46:39 ec43610c2a17: Pulling fs layer 18:46:39 3a2ae6a8a46f: Pulling fs layer 18:46:39 33b1e0a273af: Pulling fs layer 18:46:39 5d3b04190fa2: Pulling fs layer 18:46:39 2f39f015ded8: Pulling fs layer 18:46:39 3a2ae6a8a46f: Waiting 18:46:39 33b1e0a273af: Waiting 18:46:39 5d3b04190fa2: Waiting 18:46:39 2f39f015ded8: Waiting 18:46:39 5c69ac0246d0: Verifying Checksum 18:46:39 5c69ac0246d0: Download complete 18:46:39 3a2ae6a8a46f: Verifying Checksum 18:46:39 3a2ae6a8a46f: Download complete 18:46:39 33b1e0a273af: Verifying Checksum 18:46:39 33b1e0a273af: Download complete 18:46:39 5d3b04190fa2: Verifying Checksum 18:46:39 5d3b04190fa2: Download complete 18:46:39 ec43610c2a17: Verifying Checksum 18:46:39 ec43610c2a17: Download complete 18:46:40 5eb5b503b376: Verifying Checksum 18:46:40 5eb5b503b376: Download complete 18:46:40 2f39f015ded8: Verifying Checksum 18:46:40 2f39f015ded8: Download complete 18:46:41 5eb5b503b376: Pull complete 18:46:41 5c69ac0246d0: Pull complete 18:46:42 ec43610c2a17: Pull complete 18:46:42 3a2ae6a8a46f: Pull complete 18:46:42 33b1e0a273af: Pull complete 18:46:42 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:46 provisioning config files... 18:46:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4477028836502985254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:46 2f39f015ded8: Pull complete 18:46:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:46:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 18:46:46 ---> ****-login.sh 18:46:46 nexus3.edgexfoundry.org:10001 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:46 prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container 18:46:46 $ 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-1574 -v /w/workspace/gexfoundry_device-sdk-go_PR-1574:/w/workspace/gexfoundry_device-sdk-go_PR-1574:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:47 Configure a credential helper to remove this warning. See 18:46:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:47 18:46:47 Login Succeeded 18:46:47 nexus3.edgexfoundry.org:10002 18:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:47 Configure a credential helper to remove this warning. See 18:46:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:47 18:46:47 Login Succeeded 18:46:47 nexus3.edgexfoundry.org:10003 18:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:48 Configure a credential helper to remove this warning. See 18:46:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:48 18:46:48 Login Succeeded 18:46:48 nexus3.edgexfoundry.org:10004 18:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:48 Configure a credential helper to remove this warning. See 18:46:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:48 18:46:48 Login Succeeded 18:46:48 ****.io 18:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:49 Configure a credential helper to remove this warning. See 18:46:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:49 18:46:49 Login Succeeded 18:46:49 ---> ****-login.sh ends 18:46:50 $ docker top 0bd070fea869905a0db074654aeff1d270b9ed4e8896fa2178221c1179e3fc03 -eo pid,comm [Pipeline] { [Pipeline] } 18:46:50 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 18:46:50 ---> job-cost.sh 18:46:50 lf-activate-venv: SKIPPING 18:46:50 INFO: No Stack... [Pipeline] echo 18:46:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:46:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:46:50 ========================================================= 18:46:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:46:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:50 INFO: Retrieving Pricing Info for: v3-standard-8 18:46:50 INFO: Archiving Costs [Pipeline] sh 18:46:50 + 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 . 18:46:51 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives/cost.csv 18:46:51 + cut -d, -f6 [Pipeline] lock 18:46:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] 18:46:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] did not exist. Created. 18:46:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:46:51 + echo total: 0.2199999988079071 [Pipeline] stash 18:46:51 Sending build context to Docker daemon 13.27MB 18:46:51 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:46:51 Step 2/10 : FROM ${BASE} AS builder 18:46:51 Stashed 1 file(s) [Pipeline] } 18:46:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:46:51 $ docker stop --time=1 0bd070fea869905a0db074654aeff1d270b9ed4e8896fa2178221c1179e3fc03 18:46:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:46:51 c6b39de5b339: Pulling fs layer 18:46:51 a69c41024577: Pulling fs layer 18:46:51 d6de4b400683: Pulling fs layer 18:46:51 35cb2a7552d0: Pulling fs layer 18:46:51 4f4fb700ef54: Pulling fs layer 18:46:51 464afbd9ba4c: Pulling fs layer 18:46:51 00f215d4a9da: Pulling fs layer 18:46:51 d496ad576159: Pulling fs layer 18:46:51 4f4fb700ef54: Waiting 18:46:51 35cb2a7552d0: Waiting 18:46:51 464afbd9ba4c: Waiting 18:46:51 00f215d4a9da: Waiting 18:46:51 d496ad576159: Waiting 18:46:51 a69c41024577: Verifying Checksum 18:46:51 a69c41024577: Download complete 18:46:51 35cb2a7552d0: Verifying Checksum 18:46:51 35cb2a7552d0: Download complete 18:46:51 4f4fb700ef54: Verifying Checksum 18:46:51 4f4fb700ef54: Download complete 18:46:51 464afbd9ba4c: Verifying Checksum 18:46:51 464afbd9ba4c: Download complete 18:46:51 c6b39de5b339: Download complete 18:46:52 d496ad576159: Verifying Checksum 18:46:52 d496ad576159: Download complete 18:46:52 $ docker rm -f --volumes 0bd070fea869905a0db074654aeff1d270b9ed4e8896fa2178221c1179e3fc03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:46:53 c6b39de5b339: Pull complete 18:46:54 a69c41024577: Pull complete 18:46:54 d6de4b400683: Verifying Checksum 18:46:54 d6de4b400683: Download complete 18:46:55 00f215d4a9da: Verifying Checksum 18:46:55 00f215d4a9da: Download complete 18:47:07 d6de4b400683: Pull complete 18:47:08 35cb2a7552d0: Pull complete 18:47:08 4f4fb700ef54: Pull complete 18:47:08 464afbd9ba4c: Pull complete 18:47:18 00f215d4a9da: Pull complete 18:47:20 d496ad576159: Pull complete 18:47:20 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 18:47:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:47:20 ---> f246e2811388 18:47:20 Step 3/10 : ARG MAKE=make build 18:47:21 ---> Running in 183666f7d495 18:47:21 Removing intermediate container 183666f7d495 18:47:21 ---> c44eb2c7d3ff 18:47:21 Step 4/10 : WORKDIR /device-sdk-go 18:47:21 ---> Running in 7e3495010906 18:47:21 Removing intermediate container 7e3495010906 18:47:21 ---> 405fc7ca43b9 18:47:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:47:21 ---> Running in 95647a82e4e3 18:47:22 Removing intermediate container 95647a82e4e3 18:47:22 ---> 405fbeef66a5 18:47:22 Step 6/10 : RUN apk add --update --no-cache make git 18:47:22 ---> Running in daa128720399 18:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:47:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:47:25 OK: 266 MiB in 52 packages 18:47:26 Removing intermediate container daa128720399 18:47:26 ---> d76199b1da70 18:47:26 Step 7/10 : COPY go.mod vendor* ./ 18:47:26 ---> 9bdd48da056a 18:47:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:47:27 ---> Running in a382639590c7 18:49:33 Removing intermediate container a382639590c7 18:49:33 ---> 20f2b4d98920 18:49:33 Step 9/10 : COPY . . 18:49:33 ---> c1f8cf0083c7 18:49:33 Step 10/10 : RUN ${MAKE} 18:49:33 ---> Running in 98861a8525bb 18:49:33 noop 18:49:33 Removing intermediate container 98861a8525bb 18:49:33 ---> ef229189ddf2 18:49:33 Successfully built ef229189ddf2 18:49:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:34 + docker inspect -f . ci-base-image-arm64 18:49:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:34 prd-ubuntu20.04-docker-arm64-4c-16g-300 does not seem to be running inside a container 18:49:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:49:35 $ docker top 3684de9f32d1b4d3e6ce01837940427ca32d21040fdfb8700a0f8b4055d39ba6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:36 + go version 18:49:36 go version go1.21.9 linux/arm64 [Pipeline] } 18:49:36 $ docker stop --time=1 3684de9f32d1b4d3e6ce01837940427ca32d21040fdfb8700a0f8b4055d39ba6 18:49:38 $ docker rm -f --volumes 3684de9f32d1b4d3e6ce01837940427ca32d21040fdfb8700a0f8b4055d39ba6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:39 + docker inspect -f . ci-base-image-arm64 18:49:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:39 prd-ubuntu20.04-docker-arm64-4c-16g-300 does not seem to be running inside a container 18:49:39 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:49:40 $ docker top 457e8ffdcad46fb7bbeefde08b53c6bf7b1fefdcc5a3b2831ab0279a60a487d6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:41 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 18:49:42 + make test 18:49:42 go test -race -coverprofile=coverage.out ./... 18:50:29 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:54:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:54:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:54:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:54:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:54:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:54:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.265s coverage: 27.6% of statements 18:54:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.334s coverage: 81.5% of statements 18:54:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:54:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:54:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.456s coverage: 86.0% of statements 18:54:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:54:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.867s coverage: 71.8% of statements 18:54:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.315s coverage: 14.4% of statements 18:54:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.960s coverage: 45.9% of statements 18:54:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:54:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:54:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.463s coverage: 68.5% of statements 18:54:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.534s coverage: 89.2% of statements 18:54:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:54:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.391s coverage: 5.5% of statements 18:54:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:54:58 GO111MODULE=on go vet ./... 18:59:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:59:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:59:19 ./bin/test-attribution-txt.sh 18:59:19 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 18:59:19 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 18:59:19 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 18:59:19 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 18:59:19 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 18:59:19 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 18:59:19 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 18:59:19 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 18:59:19 An attribution for golang.org/x/term is missing from Attribution.txt, please add 18:59:19 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 18:59:19 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 18:59:19 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 18:59:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:59:19 $ docker stop --time=1 457e8ffdcad46fb7bbeefde08b53c6bf7b1fefdcc5a3b2831ab0279a60a487d6 18:59:21 $ docker rm -f --volumes 457e8ffdcad46fb7bbeefde08b53c6bf7b1fefdcc5a3b2831ab0279a60a487d6 [Pipeline] // withDockerContainer [Pipeline] sh 18:59:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:59:24 Warning: overwriting stash ‘coverage-report’ 18:59:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:59:25 + ls -al . 18:59:25 total 372 18:59:25 drwxrwxr-x 10 jenkins jenkins 4096 May 16 18:49 . 18:59:25 drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:46 .. 18:59:25 -rw-rw-r-- 1 jenkins jenkins 140 May 16 18:46 .dockerignore 18:59:25 drwxrwxr-x 8 jenkins jenkins 4096 May 16 18:46 .git 18:59:25 drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:46 .github 18:59:25 -rw-rw-r-- 1 jenkins jenkins 137 May 16 18:46 .gitignore 18:59:25 -rw-rw-r-- 1 jenkins jenkins 42 May 16 18:46 .golangci.yml 18:59:25 -rw-rw-r-- 1 jenkins jenkins 48109 May 16 18:46 CHANGELOG.md 18:59:25 -rw-rw-r-- 1 jenkins jenkins 677 May 16 18:46 GOVERNANCE.md 18:59:25 -rw-rw-r-- 1 jenkins jenkins 885 May 16 18:46 Jenkinsfile 18:59:25 -rw-rw-r-- 1 jenkins jenkins 11341 May 16 18:46 LICENSE 18:59:25 -rw-rw-r-- 1 jenkins jenkins 1842 May 16 18:46 Makefile 18:59:25 -rw-rw-r-- 1 jenkins jenkins 619 May 16 18:46 OWNERS.md 18:59:25 -rw-rw-r-- 1 jenkins jenkins 4933 May 16 18:46 README.md 18:59:25 -rw-rw-r-- 1 jenkins jenkins 5 May 16 18:43 VERSION 18:59:25 drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:46 bin 18:59:25 -rw-r--r-- 1 jenkins jenkins 122153 May 16 18:54 coverage.out 18:59:25 drwxrwxr-x 5 jenkins jenkins 4096 May 16 18:46 example 18:59:25 -rw-rw-r-- 1 jenkins jenkins 7070 May 16 18:46 go.mod 18:59:25 -rw-rw-r-- 1 jenkins jenkins 101044 May 16 18:46 go.sum 18:59:25 drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:46 internal 18:59:25 drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:46 openapi 18:59:25 drwxrwxr-x 6 jenkins jenkins 4096 May 16 18:46 pkg 18:59:25 drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:46 snap 18:59:25 -rw-rw-r-- 1 jenkins jenkins 222 May 16 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:26 + 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=e7cffd66bb83ede5934d19cea675cde872c80c20 --label arch=arm64 --label version=0.0.0 . 18:59:26 Sending build context to Docker daemon 13.4MB 18:59:26 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 18:59:26 Step 2/23 : FROM ${BASE} AS builder 18:59:26 ---> ef229189ddf2 18:59:26 Step 3/23 : ARG MAKE=make build 18:59:26 ---> Running in cae7b9d192c1 18:59:27 Removing intermediate container cae7b9d192c1 18:59:27 ---> bbfa93605162 18:59:27 Step 4/23 : WORKDIR /device-sdk-go 18:59:27 ---> Running in b1661068d09c 18:59:27 Removing intermediate container b1661068d09c 18:59:27 ---> 9ce5d3ae0856 18:59:27 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:59:27 ---> Running in 1b7cbac65cc3 18:59:27 Removing intermediate container 1b7cbac65cc3 18:59:27 ---> db442f0b5af0 18:59:27 Step 6/23 : RUN apk add --update --no-cache make git 18:59:28 ---> Running in 2de8110f25a6 18:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:59:30 OK: 266 MiB in 52 packages 18:59:31 Removing intermediate container 2de8110f25a6 18:59:31 ---> 43d04e052c45 18:59:31 Step 7/23 : COPY go.mod vendor* ./ 18:59:32 ---> fde56e6d4d13 18:59:32 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:59:32 ---> Running in 8816a009eefa 18:59:34 Removing intermediate container 8816a009eefa 18:59:34 ---> 2d451881ad8b 18:59:34 Step 9/23 : COPY . . 18:59:36 ---> ac208975e56a 18:59:36 Step 10/23 : RUN ${MAKE} 18:59:36 ---> Running in 96a6d0e3354b 18:59:37 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 19:03:28 Removing intermediate container 96a6d0e3354b 19:03:28 ---> 7f4f53a10516 19:03:28 Step 11/23 : FROM alpine:3.18 19:03:28 3.18: Pulling from library/alpine 19:03:28 c6b39de5b339: Already exists 19:03:28 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 19:03:28 Status: Downloaded newer image for alpine:3.18 19:03:28 ---> 33abbf032149 19:03:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:03:28 ---> Running in 9e8daae7d70c 19:03:28 Removing intermediate container 9e8daae7d70c 19:03:28 ---> 4201a085757e 19:03:28 Step 13/23 : RUN apk add --update --no-cache 19:03:28 ---> Running in 59e6e481e457 19:03:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:03:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:03:31 OK: 8 MiB in 15 packages 19:03:31 Removing intermediate container 59e6e481e457 19:03:31 ---> 2d33f937f29d 19:03:31 Step 14/23 : WORKDIR / 19:03:31 ---> Running in 87e5be996ce5 19:03:32 Removing intermediate container 87e5be996ce5 19:03:32 ---> 6156de3bf409 19:03:32 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:03:32 ---> 6cbb3f502e2d 19:03:32 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:03:35 ---> f7d6155ccd1b 19:03:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:03:35 ---> 7c3257053f3c 19:03:35 Step 18/23 : EXPOSE 59999 19:03:35 ---> Running in 1f76080b4a02 19:03:36 Removing intermediate container 1f76080b4a02 19:03:36 ---> f67e4c5e6ea2 19:03:36 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:03:36 ---> Running in 9ad202a0e9b7 19:03:36 Removing intermediate container 9ad202a0e9b7 19:03:36 ---> aa93deeabb46 19:03:36 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:03:36 ---> Running in 7e8bb11c52c5 19:03:36 Removing intermediate container 7e8bb11c52c5 19:03:36 ---> 62f20e401e0d 19:03:36 Step 21/23 : LABEL arch=arm64 19:03:36 ---> Running in 3cce1cae1470 19:03:37 Removing intermediate container 3cce1cae1470 19:03:37 ---> 18033f2da795 19:03:37 Step 22/23 : LABEL git_sha=e7cffd66bb83ede5934d19cea675cde872c80c20 19:03:37 ---> Running in cb2afc658cdf 19:03:37 Removing intermediate container cb2afc658cdf 19:03:37 ---> 8573b5acbf12 19:03:37 Step 23/23 : LABEL version=0.0.0 19:03:37 ---> Running in b76c3355151d 19:03:37 Removing intermediate container b76c3355151d 19:03:37 ---> 01512e08b372 19:03:37 [Warning] One or more build-args [ARCH] were not consumed 19:03:37 Successfully built 01512e08b372 19:03:37 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:03:38 19:03:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:03:39 arm64: Pulling from edgex-lftools-log-publisher 19:03:39 8998bd30e6a1: Pulling fs layer 19:03:39 04944245beec: Pulling fs layer 19:03:39 699f458cf7ca: Pulling fs layer 19:03:39 765212b225bb: Pulling fs layer 19:03:39 f23df028b6ca: Pulling fs layer 19:03:39 d65c8cfc05b1: Pulling fs layer 19:03:39 2437ff75d9bd: Pulling fs layer 19:03:39 f23df028b6ca: Waiting 19:03:39 d65c8cfc05b1: Waiting 19:03:39 2437ff75d9bd: Waiting 19:03:39 765212b225bb: Waiting 19:03:39 04944245beec: Verifying Checksum 19:03:39 04944245beec: Download complete 19:03:39 765212b225bb: Verifying Checksum 19:03:39 765212b225bb: Download complete 19:03:39 f23df028b6ca: Verifying Checksum 19:03:39 f23df028b6ca: Download complete 19:03:39 d65c8cfc05b1: Verifying Checksum 19:03:39 d65c8cfc05b1: Download complete 19:03:39 699f458cf7ca: Verifying Checksum 19:03:39 699f458cf7ca: Download complete 19:03:39 8998bd30e6a1: Verifying Checksum 19:03:39 8998bd30e6a1: Download complete 19:03:42 2437ff75d9bd: Download complete 19:03:44 8998bd30e6a1: Pull complete 19:03:45 04944245beec: Pull complete 19:03:46 699f458cf7ca: Pull complete 19:03:46 765212b225bb: Pull complete 19:03:47 f23df028b6ca: Pull complete 19:03:47 d65c8cfc05b1: Pull complete 19:04:06 2437ff75d9bd: Pull complete 19:04:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:04:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:04:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:06 prd-ubuntu20.04-docker-arm64-4c-16g-300 does not seem to be running inside a container 19:04:06 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:04:09 $ docker top 993e4a78a701116c1ca9ee9e27a05179d3ae3df682746078c65dac10da9bc1fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:10 ---> job-cost.sh 19:04:10 lf-activate-venv: SKIPPING 19:04:10 INFO: No Stack... 19:04:10 INFO: Retrieving Pricing Info for: v3-standard-4 19:04:11 INFO: Archiving Costs [Pipeline] sh 19:04:12 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 19:04:12 + cut -d, -f6 [Pipeline] lock 19:04:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] 19:04:12 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] did not exist. Created. 19:04:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:04:13 /w/workspace/device-sdk-go/2@tmp/durable-413455f4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:04:13 + echo total: 0.10999999940395355 [Pipeline] stash 19:04:13 Warning: overwriting stash ‘stack-cost’ 19:04:14 Stashed 1 file(s) [Pipeline] } 19:04:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] [Pipeline] // lock [Pipeline] } 19:04:14 $ docker stop --time=1 993e4a78a701116c1ca9ee9e27a05179d3ae3df682746078c65dac10da9bc1fd 19:04:15 $ docker rm -f --volumes 993e4a78a701116c1ca9ee9e27a05179d3ae3df682746078c65dac10da9bc1fd [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 19:04:16 provisioning config files... 19:04:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/config6245291096369138083tmp [Pipeline] { [Pipeline] sh 19:04:16 + set +x 19:04:16 + curl -s https://codecov.io/bash 19:04:16 + bash -s -- 19:04:16 19:04:16 _____ _ 19:04:16 / ____| | | 19:04:16 | | ___ __| | ___ ___ _____ __ 19:04:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:04:16 | |___| (_) | (_| | __/ (_| (_) \ V / 19:04:16 \_____\___/ \__,_|\___|\___\___/ \_/ 19:04:16 Bash-1.0.6 19:04:16 19:04:16 19:04:16 ==> git version 2.25.1 found 19:04:16 ==> 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 19:04:16 Release-Date: 2020-01-08 19:04:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:04:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:04:16 ==> Jenkins CI detected. 19:04:16 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1574 19:04:16 project root: . 19:04:16 --> token set from env 19:04:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:04:16 ==> Running gcov in . (disable via -X gcov) 19:04:16 ==> Python coveragepy not found 19:04:16 ==> Searching for coverage reports in: 19:04:16 + . 19:04:16 -> Found 1 reports 19:04:16 ==> Detecting git/mercurial file structure 19:04:16 ==> Reading reports 19:04:16 + ./coverage.out bytes=122153 19:04:16 ==> Appending adjustments 19:04:16 https://docs.codecov.io/docs/fixing-reports 19:04:16 + Found adjustments 19:04:16 ==> Gzipping contents 19:04:16 20K /tmp/codecov.4tSS0G.gz 19:04:16 ==> Uploading reports 19:04:16 url: https://codecov.io 19:04:16 query: branch=PR-1574&commit=c8c13f990e0c07c49300d3d7c1a42231ac011777&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1574%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1574&job=&cmd_args= 19:04:16 -> Pinging Codecov 19:04:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1574&commit=c8c13f990e0c07c49300d3d7c1a42231ac011777&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1574%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1574&job=&cmd_args= 19:04:17 -> Uploading to 19:04:17 https://storage.googleapis.com/codecov/v4/raw/2024-05-16/7E55EF52A471D76F132DFD9A03CDDE97/c8c13f990e0c07c49300d3d7c1a42231ac011777/215c1326-d832-4d78-bcbd-1dddd436012a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T190417Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f749a7e6ca8ff208e3b2c7ae5a190ddf2ddf68a813786f7faaa69c6301b6e60 19:04:17 % Total % Received % Xferd Average Speed Time Time Time Current 19:04:17 Dload Upload Total Spent Left Speed 19:04:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16715 0 0 100 16715 0 71738 --:--:-- --:--:-- --:--:-- 71738 19:04:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c8c13f990e0c07c49300d3d7c1a42231ac011777 [Pipeline] } 19:04:17 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:04:18 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives ] 19:04:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives 19:04:18 total 16 19:04:18 drwxr-xr-x 3 root root 4096 May 16 18:46 . 19:04:18 drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:46 .. 19:04:18 drwxr-xr-x 2 root root 4096 May 16 18:46 cost 19:04:18 -rw-r--r-- 1 root root 86 May 16 18:46 cost.csv 19:04:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives 19:04:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives 19:04:18 total 16 19:04:18 drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:46 . 19:04:18 drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:46 .. 19:04:18 drwxr-xr-x 2 jenkins jenkins 4096 May 16 18:46 cost 19:04:18 -rw-r--r-- 1 jenkins jenkins 86 May 16 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:04:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:04:19 ---> package-listing.sh 19:04:19 ++ facter osfamily 19:04:19 ++ tr '[:upper:]' '[:lower:]' 19:04:19 + OS_FAMILY=debian 19:04:19 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1574 19:04:19 + START_PACKAGES=/tmp/packages_start.txt 19:04:19 + END_PACKAGES=/tmp/packages_end.txt 19:04:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:04:19 + PACKAGES=/tmp/packages_start.txt 19:04:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1574 ']' 19:04:19 + PACKAGES=/tmp/packages_end.txt 19:04:19 + case "${OS_FAMILY}" in 19:04:19 + dpkg -l 19:04:19 + grep '^ii' 19:04:19 + '[' -f /tmp/packages_start.txt ']' 19:04:19 + '[' -f /tmp/packages_end.txt ']' 19:04:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:04:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1574 ']' 19:04:19 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives/ 19:04:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives/ [Pipeline] echo 19:04:19 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-1574/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:04:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:20 prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container 19:04:20 $ 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-1574/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-1574 -v /w/workspace/gexfoundry_device-sdk-go_PR-1574:/w/workspace/gexfoundry_device-sdk-go_PR-1574:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1574@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 19:04:20 $ docker top a1a0f6f470cc6f2a86532190670d7cda45f1a0d17954b624ea4c5ff695f74e07 -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:21 + touch /tmp/pre-build-complete [Pipeline] sh 19:04:21 + mkdir -p /var/log/sysstat [Pipeline] sh 19:04:21 + ls /var/log/sa-host 19:04:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:04:21 provisioning config files... 19:04:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/config8597794198120924763tmp [Pipeline] { [Pipeline] echo 19:04:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:04:22 ---> create-netrc.sh [Pipeline] } 19:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:04:22 ---> python-tools-install.sh [Pipeline] echo 19:04:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:04:22 ---> sudo-logs.sh 19:04:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:04:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:04:23 ---> job-cost.sh 19:04:23 lf-activate-venv: SKIPPING 19:04:23 DEBUG: total: 0.2199999988079071 19:04:23 INFO: Retrieving Stack Cost... 19:04:23 INFO: Retrieving Pricing Info for: v3-standard-8 19:04:23 INFO: Archiving Costs [Pipeline] echo 19:04:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:04:24 ---> logs-deploy.sh 19:04:24 lf-activate-venv: SKIPPING 19:04:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1574/2 19:04:24 INFO: archiving workspace using pattern(s): 19:04:25 Archives upload complete. 19:04:25 INFO: archiving logs to Nexus