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 [2024-05-16T18:43:05.605Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-16T18:43:05.681Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-16T18:43:05.705Z] ========================================================= [2024-05-16T18:43:05.705Z] EdgeX Global Pipelines Version Info [2024-05-16T18:43:05.705Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:43:06.459Z] ------------------- [2024-05-16T18:43:06.459Z] stable info: [2024-05-16T18:43:06.459Z] ------------------- [2024-05-16T18:43:06.459Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-16T18:43:06.459Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T18:43:06.459Z] Message: update stable to v1.0.258 [2024-05-16T18:43:07.028Z] ------------------- [2024-05-16T18:43:07.028Z] experimental info: [2024-05-16T18:43:07.028Z] ------------------- [2024-05-16T18:43:07.028Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-16T18:43:07.028Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T18:43:07.028Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-16T18:43:07.098Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-05-16T18:43:07.120Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-05-16T18:43:07.139Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-16T18:43:07.162Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-16T18:43:07.185Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-16T18:43:07.208Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-16T18:43:07.228Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-16T18:43:07.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-05-16T18:43:07.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-16T18:43:07.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-16T18:43:07.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-16T18:43:07.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-05-16T18:43:07.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-16T18:43:07.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-16T18:43:07.406Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T18:43:07.424Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T18:43:07.442Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T18:43:07.468Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T18:43:07.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-16T18:43:07.517Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-16T18:43:07.545Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-16T18:43:07.573Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-05-16T18:43:07.598Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-16T18:43:07.624Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-16T18:43:07.652Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-16T18:43:07.676Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-16T18:43:07.698Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-16T18:43:07.720Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1574 [Pipeline] echo [2024-05-16T18:43:07.743Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1574 [Pipeline] echo [2024-05-16T18:43:07.765Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1574 [Pipeline] echo [2024-05-16T18:43:07.789Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8c13f990e0c07c49300d3d7c1a42231ac011777 [Pipeline] echo [2024-05-16T18:43:07.811Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8c13f9 [Pipeline] echo [2024-05-16T18:43:07.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T18:43:07.885Z] provisioning config files... [2024-05-16T18:43:07.901Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/config1505877366127071805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:43:08.239Z] ---> ****-login.sh [2024-05-16T18:43:08.239Z] nexus3.edgexfoundry.org:10001 [2024-05-16T18:43:08.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:08.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:08.499Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:08.499Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:08.499Z] [2024-05-16T18:43:08.499Z] Login Succeeded [2024-05-16T18:43:08.499Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:43:08.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:08.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:08.762Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:08.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:08.762Z] [2024-05-16T18:43:08.762Z] Login Succeeded [2024-05-16T18:43:08.762Z] nexus3.edgexfoundry.org:10003 [2024-05-16T18:43:08.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:08.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:08.762Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:08.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:08.762Z] [2024-05-16T18:43:08.762Z] Login Succeeded [2024-05-16T18:43:08.762Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:43:08.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:08.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:08.762Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:08.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:08.762Z] [2024-05-16T18:43:08.762Z] Login Succeeded [2024-05-16T18:43:08.762Z] ****.io [2024-05-16T18:43:09.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:09.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:09.024Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:09.024Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:09.024Z] [2024-05-16T18:43:09.024Z] Login Succeeded [2024-05-16T18:43:09.024Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T18:43:09.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-16T18:43:09.446Z] + git rev-list -1 --merges c8c13f990e0c07c49300d3d7c1a42231ac011777~1..c8c13f990e0c07c49300d3d7c1a42231ac011777 [Pipeline] echo [2024-05-16T18:43:09.478Z] -----------> git rev-list -1 --merges c8c13f990e0c07c49300d3d7c1a42231ac011777~1..c8c13f990e0c07c49300d3d7c1a42231ac011777 c8c13f990e0c07c49300d3d7c1a42231ac011777 [2024-05-16T18:43:09.478Z] c8c13f990e0c07c49300d3d7c1a42231ac011777 [false] [Pipeline] sh [2024-05-16T18:43:09.782Z] + git log --format=format:%s -1 c8c13f990e0c07c49300d3d7c1a42231ac011777 [Pipeline] echo [2024-05-16T18:43:09.798Z] ========================================================= [2024-05-16T18:43:09.798Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-16T18:43:09.798Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T18:43:10.146Z] + git log --format=format:%s -1 c8c13f990e0c07c49300d3d7c1a42231ac011777 [Pipeline] echo [2024-05-16T18:43:10.159Z] [semverPrep] GIT_COMMIT: c8c13f990e0c07c49300d3d7c1a42231ac011777, Commit Message: Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD [Pipeline] echo [2024-05-16T18:43:10.174Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-16T18:43:10.535Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-16T18:43:10.535Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-16T18:43:10.535Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-16T18:43:10.536Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-16T18:43:10.536Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2024-05-16T18:43:10.536Z] tee -a /etc/ssh/ssh_known_hosts [2024-05-16T18:43:10.536Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:43:10.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:43:10.894Z] [2024-05-16T18:43:10.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:43:11.197Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:43:11.197Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-16T18:43:11.198Z] b85a868b505f: Pulling fs layer [2024-05-16T18:43:11.198Z] e2be974225ed: Pulling fs layer [2024-05-16T18:43:11.198Z] 339a4e72a1f5: Pulling fs layer [2024-05-16T18:43:11.198Z] 988bab9f4d93: Pulling fs layer [2024-05-16T18:43:11.198Z] 1469e6f7b9e6: Pulling fs layer [2024-05-16T18:43:11.198Z] eaf3925da568: Pulling fs layer [2024-05-16T18:43:11.198Z] bab4dde63d76: Pulling fs layer [2024-05-16T18:43:11.198Z] bde34c3a00c8: Pulling fs layer [2024-05-16T18:43:11.198Z] b352a97aabf1: Pulling fs layer [2024-05-16T18:43:11.198Z] 4872d77fe225: Pulling fs layer [2024-05-16T18:43:11.198Z] 5851b861e8e6: Pulling fs layer [2024-05-16T18:43:11.198Z] bab4dde63d76: Waiting [2024-05-16T18:43:11.198Z] bde34c3a00c8: Waiting [2024-05-16T18:43:11.198Z] b352a97aabf1: Waiting [2024-05-16T18:43:11.198Z] 4872d77fe225: Waiting [2024-05-16T18:43:11.198Z] 5851b861e8e6: Waiting [2024-05-16T18:43:11.198Z] 988bab9f4d93: Waiting [2024-05-16T18:43:11.198Z] 1469e6f7b9e6: Waiting [2024-05-16T18:43:11.198Z] eaf3925da568: Waiting [2024-05-16T18:43:11.198Z] e2be974225ed: Verifying Checksum [2024-05-16T18:43:11.198Z] e2be974225ed: Download complete [2024-05-16T18:43:11.198Z] 988bab9f4d93: Verifying Checksum [2024-05-16T18:43:11.198Z] 988bab9f4d93: Download complete [2024-05-16T18:43:11.198Z] 1469e6f7b9e6: Verifying Checksum [2024-05-16T18:43:11.198Z] 1469e6f7b9e6: Download complete [2024-05-16T18:43:11.458Z] eaf3925da568: Download complete [2024-05-16T18:43:11.459Z] 339a4e72a1f5: Verifying Checksum [2024-05-16T18:43:11.459Z] 339a4e72a1f5: Download complete [2024-05-16T18:43:11.459Z] bde34c3a00c8: Verifying Checksum [2024-05-16T18:43:11.459Z] bde34c3a00c8: Download complete [2024-05-16T18:43:11.459Z] b352a97aabf1: Verifying Checksum [2024-05-16T18:43:11.459Z] b352a97aabf1: Download complete [2024-05-16T18:43:11.459Z] 4872d77fe225: Download complete [2024-05-16T18:43:11.459Z] 5851b861e8e6: Verifying Checksum [2024-05-16T18:43:11.459Z] 5851b861e8e6: Download complete [2024-05-16T18:43:11.459Z] b85a868b505f: Verifying Checksum [2024-05-16T18:43:11.459Z] b85a868b505f: Download complete [2024-05-16T18:43:12.029Z] bab4dde63d76: Verifying Checksum [2024-05-16T18:43:12.029Z] bab4dde63d76: Download complete [2024-05-16T18:43:12.965Z] b85a868b505f: Pull complete [2024-05-16T18:43:12.965Z] e2be974225ed: Pull complete [2024-05-16T18:43:13.534Z] 339a4e72a1f5: Pull complete [2024-05-16T18:43:13.534Z] 988bab9f4d93: Pull complete [2024-05-16T18:43:13.793Z] 1469e6f7b9e6: Pull complete [2024-05-16T18:43:13.793Z] eaf3925da568: Pull complete [2024-05-16T18:43:15.696Z] bab4dde63d76: Pull complete [2024-05-16T18:43:15.696Z] bde34c3a00c8: Pull complete [2024-05-16T18:43:15.696Z] b352a97aabf1: Pull complete [2024-05-16T18:43:15.696Z] 4872d77fe225: Pull complete [2024-05-16T18:43:15.956Z] 5851b861e8e6: Pull complete [2024-05-16T18:43:15.956Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-16T18:43:15.956Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:43:15.956Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:43:16.090Z] prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container [2024-05-16T18:43:16.125Z] $ 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 [2024-05-16T18:43:19.279Z] $ docker top e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 -eo pid,comm [2024-05-16T18:43:19.325Z] 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). [2024-05-16T18:43:19.325Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-16T18:43:19.382Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T18:43:19.382Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T18:43:19.487Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T18:43:19.495Z] $ docker exec e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 ssh-agent [2024-05-16T18:43:19.598Z] SSH_AUTH_SOCK=/tmp/ssh-WeesKflgjBsY/agent.31 [2024-05-16T18:43:19.598Z] SSH_AGENT_PID=37 [2024-05-16T18:43:19.603Z] Running ssh-add (command line suppressed) [2024-05-16T18:43:19.707Z] 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) [2024-05-16T18:43:19.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T18:43:20.002Z] + git tag --points-at HEAD [Pipeline] } [2024-05-16T18:43:20.018Z] $ docker exec --env ******** --env ******** e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 ssh-agent -k [2024-05-16T18:43:20.114Z] unset SSH_AUTH_SOCK; [2024-05-16T18:43:20.115Z] unset SSH_AGENT_PID; [2024-05-16T18:43:20.115Z] echo Agent pid 37 killed; [2024-05-16T18:43:20.118Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-16T18:43:20.159Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T18:43:20.159Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T18:43:20.263Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T18:43:20.271Z] $ docker exec e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 ssh-agent [2024-05-16T18:43:20.370Z] SSH_AUTH_SOCK=/tmp/ssh-uBmC5vDOdLbV/agent.70 [2024-05-16T18:43:20.370Z] SSH_AGENT_PID=76 [2024-05-16T18:43:20.374Z] Running ssh-add (command line suppressed) [2024-05-16T18:43:20.474Z] 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) [2024-05-16T18:43:20.480Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T18:43:20.773Z] + git semver init [2024-05-16T18:43:21.032Z] 2024-05-16 18:43:20,949 [run_init] DEBUG init version:0.0.0 force:False [2024-05-16T18:43:21.032Z] 2024-05-16 18:43:20,950 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1574/.semver [2024-05-16T18:43:21.032Z] 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 [2024-05-16T18:43:21.032Z] 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) [2024-05-16T18:43:22.412Z] 2024-05-16 18:43:22,188 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574/.git/info/exclude [2024-05-16T18:43:22.412Z] 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 [2024-05-16T18:43:22.412Z] 2024-05-16 18:43:22,189 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574/.semver/PR-1574 [2024-05-16T18:43:22.412Z] 2024-05-16 18:43:22,193 [execute] INFO git cat-file --batch-check [2024-05-16T18:43:22.412Z] 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=) [2024-05-16T18:43:22.412Z] 2024-05-16 18:43:22,199 [execute] INFO git cat-file --batch [2024-05-16T18:43:22.412Z] 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=) [2024-05-16T18:43:22.412Z] 2024-05-16 18:43:22,204 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1574/.semver/PR-1574 [2024-05-16T18:43:22.412Z] 0.0.0 [Pipeline] } [2024-05-16T18:43:22.427Z] $ docker exec --env ******** --env ******** e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 ssh-agent -k [2024-05-16T18:43:22.527Z] unset SSH_AUTH_SOCK; [2024-05-16T18:43:22.528Z] unset SSH_AGENT_PID; [2024-05-16T18:43:22.528Z] echo Agent pid 76 killed; [2024-05-16T18:43:22.533Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-16T18:43:22.862Z] + git semver [Pipeline] } [2024-05-16T18:43:23.138Z] $ docker stop --time=1 e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 [2024-05-16T18:43:24.422Z] $ docker rm -f --volumes e58bbfe52a34da274419a0e1c09ee5898cd59171dddec8cec4ac7a80d9019623 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T18:43:24.762Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-16T18:43:25.010Z] Stashed 1 file(s) [Pipeline] echo [2024-05-16T18:43:25.014Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T18:43:25.201Z] provisioning config files... [2024-05-16T18:43:25.211Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/config16593083829014917845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:43:25.507Z] ---> ****-login.sh [2024-05-16T18:43:25.507Z] nexus3.edgexfoundry.org:10001 [2024-05-16T18:43:25.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:25.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:25.507Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:25.507Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:25.507Z] [2024-05-16T18:43:25.507Z] Login Succeeded [2024-05-16T18:43:25.507Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:43:25.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:25.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:25.507Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:25.507Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:25.507Z] [2024-05-16T18:43:25.507Z] Login Succeeded [2024-05-16T18:43:25.507Z] nexus3.edgexfoundry.org:10003 [2024-05-16T18:43:25.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:25.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:25.769Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:25.769Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:25.769Z] [2024-05-16T18:43:25.769Z] Login Succeeded [2024-05-16T18:43:25.769Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:43:25.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:25.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:25.769Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:25.769Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:25.769Z] [2024-05-16T18:43:25.769Z] Login Succeeded [2024-05-16T18:43:25.769Z] ****.io [2024-05-16T18:43:26.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:43:26.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:43:26.030Z] Configure a credential helper to remove this warning. See [2024-05-16T18:43:26.030Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:43:26.030Z] [2024-05-16T18:43:26.030Z] Login Succeeded [2024-05-16T18:43:26.292Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T18:43:26.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T18:43:26.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:43:26.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:43:26.437Z] ========================================================= [2024-05-16T18:43:26.437Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-16T18:43:26.437Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:43:26.787Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-16T18:43:26.787Z] Sending build context to Docker daemon 25.72MB [2024-05-16T18:43:26.787Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:43:26.787Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T18:43:27.047Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-16T18:43:27.047Z] 619be1103602: Pulling fs layer [2024-05-16T18:43:27.047Z] 7862e08f4a3e: Pulling fs layer [2024-05-16T18:43:27.047Z] 5df492c9dc93: Pulling fs layer [2024-05-16T18:43:27.047Z] 7629e6793208: Pulling fs layer [2024-05-16T18:43:27.047Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T18:43:27.047Z] fb5054dd5b73: Pulling fs layer [2024-05-16T18:43:27.047Z] eeca6798cff9: Pulling fs layer [2024-05-16T18:43:27.047Z] aa269ceb94a6: Pulling fs layer [2024-05-16T18:43:27.047Z] ada007ff1a6a: Pulling fs layer [2024-05-16T18:43:27.047Z] 4f4fb700ef54: Waiting [2024-05-16T18:43:27.047Z] fb5054dd5b73: Waiting [2024-05-16T18:43:27.047Z] aa269ceb94a6: Waiting [2024-05-16T18:43:27.047Z] ada007ff1a6a: Waiting [2024-05-16T18:43:27.047Z] eeca6798cff9: Waiting [2024-05-16T18:43:27.047Z] 7629e6793208: Waiting [2024-05-16T18:43:27.047Z] 7862e08f4a3e: Verifying Checksum [2024-05-16T18:43:27.047Z] 7862e08f4a3e: Download complete [2024-05-16T18:43:27.047Z] 7629e6793208: Verifying Checksum [2024-05-16T18:43:27.047Z] 7629e6793208: Download complete [2024-05-16T18:43:27.047Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T18:43:27.047Z] 4f4fb700ef54: Download complete [2024-05-16T18:43:27.047Z] fb5054dd5b73: Download complete [2024-05-16T18:43:27.047Z] 619be1103602: Verifying Checksum [2024-05-16T18:43:27.047Z] 619be1103602: Download complete [2024-05-16T18:43:27.047Z] eeca6798cff9: Verifying Checksum [2024-05-16T18:43:27.047Z] eeca6798cff9: Download complete [2024-05-16T18:43:27.308Z] 619be1103602: Pull complete [2024-05-16T18:43:27.567Z] 7862e08f4a3e: Pull complete [2024-05-16T18:43:27.567Z] ada007ff1a6a: Verifying Checksum [2024-05-16T18:43:27.567Z] ada007ff1a6a: Download complete [2024-05-16T18:43:27.828Z] 5df492c9dc93: Download complete [2024-05-16T18:43:28.393Z] aa269ceb94a6: Verifying Checksum [2024-05-16T18:43:28.393Z] aa269ceb94a6: Download complete [2024-05-16T18:43:31.674Z] 5df492c9dc93: Pull complete [2024-05-16T18:43:31.674Z] 7629e6793208: Pull complete [2024-05-16T18:43:31.674Z] 4f4fb700ef54: Pull complete [2024-05-16T18:43:31.674Z] fb5054dd5b73: Pull complete [2024-05-16T18:43:31.674Z] eeca6798cff9: Pull complete [2024-05-16T18:43:34.200Z] aa269ceb94a6: Pull complete [2024-05-16T18:43:34.200Z] ada007ff1a6a: Pull complete [2024-05-16T18:43:34.464Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-16T18:43:34.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-16T18:43:34.464Z] ---> f489d0715acc [2024-05-16T18:43:34.464Z] Step 3/10 : ARG MAKE=make build [2024-05-16T18:43:38.658Z] ---> Running in 6224eef9e7c2 [2024-05-16T18:43:38.658Z] Removing intermediate container 6224eef9e7c2 [2024-05-16T18:43:38.658Z] ---> b2a912b95d69 [2024-05-16T18:43:38.658Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-16T18:43:38.658Z] ---> Running in 641a06cf6f96 [2024-05-16T18:43:38.658Z] Removing intermediate container 641a06cf6f96 [2024-05-16T18:43:38.658Z] ---> 26e6b04c8c21 [2024-05-16T18:43:38.658Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-16T18:43:38.658Z] ---> Running in d920d7b7c2ff [2024-05-16T18:43:38.658Z] Removing intermediate container d920d7b7c2ff [2024-05-16T18:43:38.658Z] ---> 74a2536e17eb [2024-05-16T18:43:38.658Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-16T18:43:38.658Z] ---> Running in 4796fffa9015 [2024-05-16T18:43:38.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T18:43:39.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:43:39.434Z] OK: 264 MiB in 52 packages [2024-05-16T18:43:39.692Z] Removing intermediate container 4796fffa9015 [2024-05-16T18:43:39.692Z] ---> e1e61bf2fa78 [2024-05-16T18:43:39.692Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T18:43:39.949Z] ---> a0e9d18bc1c8 [2024-05-16T18:43:39.949Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:43:39.949Z] ---> Running in 8e37abf71218 [2024-05-16T18:43:40.147Z] Still waiting to schedule task [2024-05-16T18:43:40.147Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-16T18:44:26.643Z] Removing intermediate container 8e37abf71218 [2024-05-16T18:44:26.643Z] ---> b985d03cf5fb [2024-05-16T18:44:26.643Z] Step 9/10 : COPY . . [2024-05-16T18:44:26.643Z] ---> 8f6521b3421d [2024-05-16T18:44:26.643Z] Step 10/10 : RUN ${MAKE} [2024-05-16T18:44:26.643Z] ---> Running in bb48a0f7c47b [2024-05-16T18:44:26.643Z] noop [2024-05-16T18:44:26.643Z] Removing intermediate container bb48a0f7c47b [2024-05-16T18:44:26.643Z] ---> 7155edf95c4b [2024-05-16T18:44:26.643Z] Successfully built 7155edf95c4b [2024-05-16T18:44:26.643Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:44:27.043Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T18:44:27.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:44:27.119Z] prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container [2024-05-16T18:44:27.152Z] $ 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 [2024-05-16T18:44:27.497Z] $ docker top 919b25ef6316b917a90f6e4a6fc6061f26703aee7b199120ff459cb13cbc11cf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:44:27.842Z] + go version [2024-05-16T18:44:27.842Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-16T18:44:27.854Z] $ docker stop --time=1 919b25ef6316b917a90f6e4a6fc6061f26703aee7b199120ff459cb13cbc11cf [2024-05-16T18:44:29.135Z] $ 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 [2024-05-16T18:44:29.569Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T18:44:29.569Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:44:29.653Z] prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container [2024-05-16T18:44:29.686Z] $ 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 [2024-05-16T18:44:30.012Z] $ docker top 9ac6d0c814585e756541fa8e0849c4c433d6991a936c83303c50dad0052c607f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:44:30.364Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1574 [Pipeline] fileExists [Pipeline] sh [2024-05-16T18:44:30.666Z] + make test [2024-05-16T18:44:30.666Z] go test -race -coverprofile=coverage.out ./... [2024-05-16T18:44:37.239Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-16T18:45:16.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-16T18:45:16.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-16T18:45:16.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-16T18:45:16.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-16T18:45:16.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-16T18:45:16.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.051s coverage: 27.6% of statements [2024-05-16T18:45:16.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.056s coverage: 81.5% of statements [2024-05-16T18:45:16.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-16T18:45:16.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-16T18:45:16.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-16T18:45:16.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.077s coverage: 86.0% of statements [2024-05-16T18:45:16.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-16T18:45:16.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-16T18:45:16.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.129s coverage: 71.8% of statements [2024-05-16T18:45:16.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-16T18:45:17.672Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.093s coverage: 14.4% of statements [2024-05-16T18:45:17.673Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.846s coverage: 45.9% of statements [2024-05-16T18:45:17.673Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.091s coverage: 68.5% of statements [2024-05-16T18:45:17.673Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.108s coverage: 89.2% of statements [2024-05-16T18:45:17.673Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.070s coverage: 5.5% of statements [2024-05-16T18:45:56.395Z] GO111MODULE=on go vet ./... [2024-05-16T18:45:56.395Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T18:45:56.395Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T18:45:56.395Z] ./bin/test-attribution-txt.sh [2024-05-16T18:45:56.395Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T18:45:56.395Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T18:45:56.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T18:45:56.426Z] $ docker stop --time=1 9ac6d0c814585e756541fa8e0849c4c433d6991a936c83303c50dad0052c607f [2024-05-16T18:45:58.430Z] $ docker rm -f --volumes 9ac6d0c814585e756541fa8e0849c4c433d6991a936c83303c50dad0052c607f [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T18:45:59.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T18:45:59.144Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-16T18:45:59.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T18:45:59.954Z] + ls -al . [2024-05-16T18:45:59.954Z] total 376 [2024-05-16T18:45:59.954Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 18:44 . [2024-05-16T18:45:59.954Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:42 .. [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 18:43 .dockerignore [2024-05-16T18:45:59.954Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 18:45 .git [2024-05-16T18:45:59.954Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:43 .github [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 137 May 16 18:43 .gitignore [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 18:43 .golangci.yml [2024-05-16T18:45:59.954Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:43 .semver [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 16 18:43 CHANGELOG.md [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 18:43 GOVERNANCE.md [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 885 May 16 18:43 Jenkinsfile [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 16 18:43 LICENSE [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 16 18:43 Makefile [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 619 May 16 18:43 OWNERS.md [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 16 18:43 README.md [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 18:43 VERSION [2024-05-16T18:45:59.954Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:43 bin [2024-05-16T18:45:59.954Z] -rw-r--r-- 1 jenkins jenkins 122153 May 16 18:45 coverage.out [2024-05-16T18:45:59.954Z] drwxrwxr-x 5 jenkins jenkins 4096 May 16 18:43 example [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 7070 May 16 18:43 go.mod [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 101044 May 16 18:43 go.sum [2024-05-16T18:45:59.954Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:43 internal [2024-05-16T18:45:59.954Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:43 openapi [2024-05-16T18:45:59.954Z] drwxrwxr-x 6 jenkins jenkins 4096 May 16 18:43 pkg [2024-05-16T18:45:59.954Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:43 snap [2024-05-16T18:45:59.954Z] -rw-rw-r-- 1 jenkins jenkins 222 May 16 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:46:00.269Z] + 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 . [2024-05-16T18:46:00.269Z] Sending build context to Docker daemon 25.84MB [2024-05-16T18:46:00.269Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:46:00.269Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-16T18:46:00.269Z] ---> 7155edf95c4b [2024-05-16T18:46:00.269Z] Step 3/23 : ARG MAKE=make build [2024-05-16T18:46:00.527Z] ---> Running in 536570175f05 [2024-05-16T18:46:00.527Z] Removing intermediate container 536570175f05 [2024-05-16T18:46:00.527Z] ---> af4cea9675a2 [2024-05-16T18:46:00.527Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-16T18:46:00.527Z] ---> Running in c8af30acaf1b [2024-05-16T18:46:00.527Z] Removing intermediate container c8af30acaf1b [2024-05-16T18:46:00.527Z] ---> d118fbc85cc2 [2024-05-16T18:46:00.527Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-16T18:46:00.527Z] ---> Running in cd76788ab932 [2024-05-16T18:46:00.786Z] Removing intermediate container cd76788ab932 [2024-05-16T18:46:00.786Z] ---> 2dc02847a0e1 [2024-05-16T18:46:00.786Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-16T18:46:00.786Z] ---> Running in c23dba22461b [2024-05-16T18:46:01.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T18:46:01.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:46:01.190Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-300 in /w/workspace/gexfoundry_device-sdk-go_PR-1574 [Pipeline] { [Pipeline] ws [2024-05-16T18:46:01.209Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-05-16T18:46:01.305Z] OK: 264 MiB in 52 packages [2024-05-16T18:46:01.872Z] Removing intermediate container c23dba22461b [2024-05-16T18:46:01.872Z] ---> 1f435ad05f0a [2024-05-16T18:46:01.872Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-16T18:46:01.872Z] ---> 40aef0d408f1 [2024-05-16T18:46:01.872Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:46:01.872Z] ---> Running in 11d2e1cf0938 [2024-05-16T18:46:02.808Z] Removing intermediate container 11d2e1cf0938 [2024-05-16T18:46:02.808Z] ---> aab0a7f435ff [2024-05-16T18:46:02.808Z] Step 9/23 : COPY . . [2024-05-16T18:46:03.068Z] ---> 724fec35f179 [2024-05-16T18:46:03.068Z] Step 10/23 : RUN ${MAKE} [2024-05-16T18:46:03.068Z] ---> Running in d528ef73c0c4 [2024-05-16T18:46:03.328Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-05-16T18:46:04.281Z] The recommended git tool is: git [2024-05-16T18:46:13.409Z] using credential edgex-jenkins-ssh [2024-05-16T18:46:13.446Z] Cloning the remote Git repository [2024-05-16T18:46:13.519Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-05-16T18:46:13.789Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-05-16T18:46:14.100Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-16T18:46:14.101Z] > git --version # timeout=10 [2024-05-16T18:46:14.152Z] > git --version # 'git version 2.25.1' [2024-05-16T18:46:14.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:46:14.441Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T18:46:18.104Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-16T18:46:18.133Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T18:46:19.361Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-16T18:46:19.417Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-16T18:46:19.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:46:19.452Z] > 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 [2024-05-16T18:46:20.059Z] Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 1b27e27c8c29fb56c9ef8fafdb70b0da03520bda [2024-05-16T18:46:20.541Z] Merge succeeded, producing e7cffd66bb83ede5934d19cea675cde872c80c20 [2024-05-16T18:46:20.542Z] Checking out Revision e7cffd66bb83ede5934d19cea675cde872c80c20 (PR-1574) [2024-05-16T18:46:20.083Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T18:46:20.174Z] > git checkout -f 1b27e27c8c29fb56c9ef8fafdb70b0da03520bda # timeout=10 [2024-05-16T18:46:20.314Z] > git remote # timeout=10 [2024-05-16T18:46:20.342Z] > git config --get remote.origin.url # timeout=10 [2024-05-16T18:46:20.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:46:20.393Z] > git merge 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 [2024-05-16T18:46:20.521Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-16T18:46:20.549Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T18:46:20.566Z] > git checkout -f e7cffd66bb83ede5934d19cea675cde872c80c20 # timeout=10 [2024-05-16T18:46:24.413Z] Commit message: "Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD" [2024-05-16T18:46:24.413Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T18:46:26.394Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-16T18:46:26.394Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T18:46:26.394Z] Dload Upload Total Spent Left Speed [2024-05-16T18:46:26.394Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 215k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2024-05-16T18:46:26.761Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-16T18:46:27.100Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-16T18:46:27.101Z] + sudo tee /etc/docker/daemon.new [2024-05-16T18:46:27.101Z] { [2024-05-16T18:46:27.101Z] "registry-mirrors": [ [2024-05-16T18:46:27.101Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-16T18:46:27.101Z] ], [2024-05-16T18:46:27.101Z] "bip": "10.250.0.254/24", [2024-05-16T18:46:27.101Z] "hosts": [ [2024-05-16T18:46:27.101Z] "tcp://0.0.0.0:5555", [2024-05-16T18:46:27.101Z] "unix:///var/run/docker.sock" [2024-05-16T18:46:27.101Z] ], [2024-05-16T18:46:27.101Z] "mtu": 1458, [2024-05-16T18:46:27.101Z] "selinux-enabled": true, [2024-05-16T18:46:27.101Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-16T18:46:27.101Z] } [Pipeline] sh [2024-05-16T18:46:27.444Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-16T18:46:27.782Z] + sudo service docker restart [2024-05-16T18:46:35.406Z] Removing intermediate container d528ef73c0c4 [2024-05-16T18:46:35.406Z] ---> 8d9e2dec8340 [2024-05-16T18:46:35.406Z] Step 11/23 : FROM alpine:3.18 [2024-05-16T18:46:35.406Z] 3.18: Pulling from library/alpine [2024-05-16T18:46:35.406Z] 619be1103602: Already exists [2024-05-16T18:46:35.665Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T18:46:35.665Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T18:46:35.665Z] ---> d3782b16ccc9 [2024-05-16T18:46:35.665Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-16T18:46:35.665Z] ---> Running in 06bcdb81b9bd [2024-05-16T18:46:35.665Z] Removing intermediate container 06bcdb81b9bd [2024-05-16T18:46:35.665Z] ---> ffd0ad53f75b [2024-05-16T18:46:35.665Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-16T18:46:35.665Z] ---> Running in 79bd1d403635 [2024-05-16T18:46:35.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T18:46:36.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:46:36.447Z] OK: 7 MiB in 15 packages [2024-05-16T18:46:36.706Z] Removing intermediate container 79bd1d403635 [2024-05-16T18:46:36.706Z] ---> 1a32dadd51a2 [2024-05-16T18:46:36.706Z] Step 14/23 : WORKDIR / [2024-05-16T18:46:36.706Z] ---> Running in 69da29008127 [2024-05-16T18:46:36.706Z] Removing intermediate container 69da29008127 [2024-05-16T18:46:36.706Z] ---> f35d39ba64e7 [2024-05-16T18:46:36.706Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-16T18:46:36.965Z] ---> 9da2cb0c017a [2024-05-16T18:46:36.965Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-16T18:46:38.340Z] ---> c5821de9d67f [2024-05-16T18:46:38.340Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-16T18:46:38.340Z] ---> 76e55895a8a8 [2024-05-16T18:46:38.340Z] Step 18/23 : EXPOSE 59999 [2024-05-16T18:46:38.340Z] ---> Running in 5b8d6a3764c0 [2024-05-16T18:46:38.601Z] Removing intermediate container 5b8d6a3764c0 [2024-05-16T18:46:38.601Z] ---> 7ba2c61d534c [2024-05-16T18:46:38.601Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-16T18:46:38.601Z] ---> Running in be9ab489e612 [2024-05-16T18:46:38.601Z] Removing intermediate container be9ab489e612 [2024-05-16T18:46:38.601Z] ---> 0b3add0514a4 [2024-05-16T18:46:38.601Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-16T18:46:38.601Z] ---> Running in 542f0f0095a5 [2024-05-16T18:46:38.601Z] Removing intermediate container 542f0f0095a5 [2024-05-16T18:46:38.601Z] ---> 8149863ce7cd [2024-05-16T18:46:38.601Z] Step 21/23 : LABEL arch=amd64 [2024-05-16T18:46:38.860Z] ---> Running in c8057903fe38 [2024-05-16T18:46:38.860Z] Removing intermediate container c8057903fe38 [2024-05-16T18:46:38.860Z] ---> 261a43070ce7 [2024-05-16T18:46:38.860Z] Step 22/23 : LABEL git_sha=c8c13f990e0c07c49300d3d7c1a42231ac011777 [2024-05-16T18:46:38.860Z] ---> Running in dd63359a5121 [2024-05-16T18:46:38.860Z] Removing intermediate container dd63359a5121 [2024-05-16T18:46:38.860Z] ---> e117836c193f [2024-05-16T18:46:38.860Z] Step 23/23 : LABEL version=0.0.0 [2024-05-16T18:46:38.860Z] ---> Running in 93e3fef4ca3c [2024-05-16T18:46:39.119Z] Removing intermediate container 93e3fef4ca3c [2024-05-16T18:46:39.120Z] ---> 7c0eda12c86e [2024-05-16T18:46:39.120Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T18:46:39.120Z] Successfully built 7c0eda12c86e [2024-05-16T18:46:39.120Z] 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 [2024-05-16T18:46:39.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:46:39.582Z] [2024-05-16T18:46:39.582Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:46:39.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:46:39.887Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-16T18:46:39.887Z] 5eb5b503b376: Pulling fs layer [2024-05-16T18:46:39.887Z] 5c69ac0246d0: Pulling fs layer [2024-05-16T18:46:39.887Z] ec43610c2a17: Pulling fs layer [2024-05-16T18:46:39.887Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-16T18:46:39.887Z] 33b1e0a273af: Pulling fs layer [2024-05-16T18:46:39.887Z] 5d3b04190fa2: Pulling fs layer [2024-05-16T18:46:39.887Z] 2f39f015ded8: Pulling fs layer [2024-05-16T18:46:39.887Z] 3a2ae6a8a46f: Waiting [2024-05-16T18:46:39.887Z] 33b1e0a273af: Waiting [2024-05-16T18:46:39.887Z] 5d3b04190fa2: Waiting [2024-05-16T18:46:39.887Z] 2f39f015ded8: Waiting [2024-05-16T18:46:39.887Z] 5c69ac0246d0: Verifying Checksum [2024-05-16T18:46:39.887Z] 5c69ac0246d0: Download complete [2024-05-16T18:46:39.887Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-16T18:46:39.887Z] 3a2ae6a8a46f: Download complete [2024-05-16T18:46:39.887Z] 33b1e0a273af: Verifying Checksum [2024-05-16T18:46:39.887Z] 33b1e0a273af: Download complete [2024-05-16T18:46:39.887Z] 5d3b04190fa2: Verifying Checksum [2024-05-16T18:46:39.887Z] 5d3b04190fa2: Download complete [2024-05-16T18:46:39.887Z] ec43610c2a17: Verifying Checksum [2024-05-16T18:46:39.887Z] ec43610c2a17: Download complete [2024-05-16T18:46:40.144Z] 5eb5b503b376: Verifying Checksum [2024-05-16T18:46:40.144Z] 5eb5b503b376: Download complete [2024-05-16T18:46:40.710Z] 2f39f015ded8: Verifying Checksum [2024-05-16T18:46:40.710Z] 2f39f015ded8: Download complete [2024-05-16T18:46:41.645Z] 5eb5b503b376: Pull complete [2024-05-16T18:46:41.645Z] 5c69ac0246d0: Pull complete [2024-05-16T18:46:42.212Z] ec43610c2a17: Pull complete [2024-05-16T18:46:42.212Z] 3a2ae6a8a46f: Pull complete [2024-05-16T18:46:42.472Z] 33b1e0a273af: Pull complete [2024-05-16T18:46:42.472Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T18:46:46.122Z] provisioning config files... [2024-05-16T18:46:46.162Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4477028836502985254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:46:46.657Z] 2f39f015ded8: Pull complete [2024-05-16T18:46:46.657Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-16T18:46:46.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:46:46.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [2024-05-16T18:46:46.668Z] ---> ****-login.sh [2024-05-16T18:46:46.668Z] nexus3.edgexfoundry.org:10001 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:46:46.753Z] prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container [2024-05-16T18:46:46.784Z] $ 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 [2024-05-16T18:46:47.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:46:47.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:46:47.269Z] Configure a credential helper to remove this warning. See [2024-05-16T18:46:47.269Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:46:47.269Z] [2024-05-16T18:46:47.269Z] Login Succeeded [2024-05-16T18:46:47.543Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:46:47.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:46:47.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:46:47.815Z] Configure a credential helper to remove this warning. See [2024-05-16T18:46:47.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:46:47.815Z] [2024-05-16T18:46:47.815Z] Login Succeeded [2024-05-16T18:46:47.815Z] nexus3.edgexfoundry.org:10003 [2024-05-16T18:46:48.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:46:48.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:46:48.392Z] Configure a credential helper to remove this warning. See [2024-05-16T18:46:48.392Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:46:48.392Z] [2024-05-16T18:46:48.392Z] Login Succeeded [2024-05-16T18:46:48.392Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:46:48.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:46:48.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:46:48.668Z] Configure a credential helper to remove this warning. See [2024-05-16T18:46:48.668Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:46:48.668Z] [2024-05-16T18:46:48.668Z] Login Succeeded [2024-05-16T18:46:48.668Z] ****.io [2024-05-16T18:46:48.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:46:49.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:46:49.213Z] Configure a credential helper to remove this warning. See [2024-05-16T18:46:49.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:46:49.213Z] [2024-05-16T18:46:49.213Z] Login Succeeded [2024-05-16T18:46:49.213Z] ---> ****-login.sh ends [2024-05-16T18:46:50.009Z] $ docker top 0bd070fea869905a0db074654aeff1d270b9ed4e8896fa2178221c1179e3fc03 -eo pid,comm [Pipeline] { [Pipeline] } [2024-05-16T18:46:50.078Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-05-16T18:46:50.397Z] ---> job-cost.sh [2024-05-16T18:46:50.397Z] lf-activate-venv: SKIPPING [2024-05-16T18:46:50.397Z] INFO: No Stack... [Pipeline] echo [2024-05-16T18:46:50.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:46:50.575Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:46:50.592Z] ========================================================= [2024-05-16T18:46:50.592Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-16T18:46:50.592Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:46:50.660Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T18:46:50.920Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T18:46:50.980Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-16T18:46:51.216Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives/cost.csv [2024-05-16T18:46:51.216Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T18:46:51.232Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] [2024-05-16T18:46:51.242Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] did not exist. Created. [2024-05-16T18:46:51.248Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T18:46:51.568Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-16T18:46:51.581Z] Sending build context to Docker daemon 13.27MB [2024-05-16T18:46:51.581Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:46:51.581Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T18:46:51.610Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T18:46:51.621Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T18:46:51.651Z] $ docker stop --time=1 0bd070fea869905a0db074654aeff1d270b9ed4e8896fa2178221c1179e3fc03 [2024-05-16T18:46:51.853Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-16T18:46:51.853Z] c6b39de5b339: Pulling fs layer [2024-05-16T18:46:51.853Z] a69c41024577: Pulling fs layer [2024-05-16T18:46:51.853Z] d6de4b400683: Pulling fs layer [2024-05-16T18:46:51.853Z] 35cb2a7552d0: Pulling fs layer [2024-05-16T18:46:51.853Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T18:46:51.853Z] 464afbd9ba4c: Pulling fs layer [2024-05-16T18:46:51.853Z] 00f215d4a9da: Pulling fs layer [2024-05-16T18:46:51.853Z] d496ad576159: Pulling fs layer [2024-05-16T18:46:51.853Z] 4f4fb700ef54: Waiting [2024-05-16T18:46:51.853Z] 35cb2a7552d0: Waiting [2024-05-16T18:46:51.853Z] 464afbd9ba4c: Waiting [2024-05-16T18:46:51.853Z] 00f215d4a9da: Waiting [2024-05-16T18:46:51.853Z] d496ad576159: Waiting [2024-05-16T18:46:51.853Z] a69c41024577: Verifying Checksum [2024-05-16T18:46:51.853Z] a69c41024577: Download complete [2024-05-16T18:46:51.853Z] 35cb2a7552d0: Verifying Checksum [2024-05-16T18:46:51.853Z] 35cb2a7552d0: Download complete [2024-05-16T18:46:51.853Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T18:46:51.853Z] 4f4fb700ef54: Download complete [2024-05-16T18:46:51.853Z] 464afbd9ba4c: Verifying Checksum [2024-05-16T18:46:51.853Z] 464afbd9ba4c: Download complete [2024-05-16T18:46:51.853Z] c6b39de5b339: Download complete [2024-05-16T18:46:52.454Z] d496ad576159: Verifying Checksum [2024-05-16T18:46:52.454Z] d496ad576159: Download complete [2024-05-16T18:46:52.794Z] $ docker rm -f --volumes 0bd070fea869905a0db074654aeff1d270b9ed4e8896fa2178221c1179e3fc03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-16T18:46:53.045Z] c6b39de5b339: Pull complete [2024-05-16T18:46:54.018Z] a69c41024577: Pull complete [2024-05-16T18:46:54.018Z] d6de4b400683: Verifying Checksum [2024-05-16T18:46:54.018Z] d6de4b400683: Download complete [2024-05-16T18:46:55.444Z] 00f215d4a9da: Verifying Checksum [2024-05-16T18:46:55.444Z] 00f215d4a9da: Download complete [2024-05-16T18:47:07.803Z] d6de4b400683: Pull complete [2024-05-16T18:47:08.073Z] 35cb2a7552d0: Pull complete [2024-05-16T18:47:08.341Z] 4f4fb700ef54: Pull complete [2024-05-16T18:47:08.610Z] 464afbd9ba4c: Pull complete [2024-05-16T18:47:18.731Z] 00f215d4a9da: Pull complete [2024-05-16T18:47:20.160Z] d496ad576159: Pull complete [2024-05-16T18:47:20.160Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-16T18:47:20.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-16T18:47:20.160Z] ---> f246e2811388 [2024-05-16T18:47:20.160Z] Step 3/10 : ARG MAKE=make build [2024-05-16T18:47:21.130Z] ---> Running in 183666f7d495 [2024-05-16T18:47:21.399Z] Removing intermediate container 183666f7d495 [2024-05-16T18:47:21.399Z] ---> c44eb2c7d3ff [2024-05-16T18:47:21.399Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-16T18:47:21.399Z] ---> Running in 7e3495010906 [2024-05-16T18:47:21.669Z] Removing intermediate container 7e3495010906 [2024-05-16T18:47:21.669Z] ---> 405fc7ca43b9 [2024-05-16T18:47:21.669Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-16T18:47:21.938Z] ---> Running in 95647a82e4e3 [2024-05-16T18:47:22.212Z] Removing intermediate container 95647a82e4e3 [2024-05-16T18:47:22.212Z] ---> 405fbeef66a5 [2024-05-16T18:47:22.212Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-16T18:47:22.212Z] ---> Running in daa128720399 [2024-05-16T18:47:23.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T18:47:24.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T18:47:25.635Z] OK: 266 MiB in 52 packages [2024-05-16T18:47:26.230Z] Removing intermediate container daa128720399 [2024-05-16T18:47:26.230Z] ---> d76199b1da70 [2024-05-16T18:47:26.230Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T18:47:26.818Z] ---> 9bdd48da056a [2024-05-16T18:47:26.818Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:47:27.088Z] ---> Running in a382639590c7 [2024-05-16T18:49:33.831Z] Removing intermediate container a382639590c7 [2024-05-16T18:49:33.831Z] ---> 20f2b4d98920 [2024-05-16T18:49:33.831Z] Step 9/10 : COPY . . [2024-05-16T18:49:33.831Z] ---> c1f8cf0083c7 [2024-05-16T18:49:33.831Z] Step 10/10 : RUN ${MAKE} [2024-05-16T18:49:33.831Z] ---> Running in 98861a8525bb [2024-05-16T18:49:33.831Z] noop [2024-05-16T18:49:33.831Z] Removing intermediate container 98861a8525bb [2024-05-16T18:49:33.831Z] ---> ef229189ddf2 [2024-05-16T18:49:33.831Z] Successfully built ef229189ddf2 [2024-05-16T18:49:33.831Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:49:34.202Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T18:49:34.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:49:34.454Z] prd-ubuntu20.04-docker-arm64-4c-16g-300 does not seem to be running inside a container [2024-05-16T18:49:34.525Z] $ 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 [2024-05-16T18:49:35.903Z] $ docker top 3684de9f32d1b4d3e6ce01837940427ca32d21040fdfb8700a0f8b4055d39ba6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:49:36.770Z] + go version [2024-05-16T18:49:36.770Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-16T18:49:36.791Z] $ docker stop --time=1 3684de9f32d1b4d3e6ce01837940427ca32d21040fdfb8700a0f8b4055d39ba6 [2024-05-16T18:49:38.518Z] $ 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 [2024-05-16T18:49:39.135Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T18:49:39.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:49:39.353Z] prd-ubuntu20.04-docker-arm64-4c-16g-300 does not seem to be running inside a container [2024-05-16T18:49:39.421Z] $ 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 [2024-05-16T18:49:40.844Z] $ docker top 457e8ffdcad46fb7bbeefde08b53c6bf7b1fefdcc5a3b2831ab0279a60a487d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:49:41.718Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-05-16T18:49:42.385Z] + make test [2024-05-16T18:49:42.385Z] go test -race -coverprofile=coverage.out ./... [2024-05-16T18:50:29.262Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-16T18:54:21.123Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-16T18:54:21.123Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-16T18:54:21.123Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-16T18:54:21.123Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-16T18:54:21.123Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-16T18:54:22.534Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.265s coverage: 27.6% of statements [2024-05-16T18:54:26.787Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.334s coverage: 81.5% of statements [2024-05-16T18:54:33.450Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-16T18:54:33.450Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-16T18:54:34.863Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.456s coverage: 86.0% of statements [2024-05-16T18:54:39.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-16T18:54:41.060Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.867s coverage: 71.8% of statements [2024-05-16T18:54:44.416Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.315s coverage: 14.4% of statements [2024-05-16T18:54:45.382Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.960s coverage: 45.9% of statements [2024-05-16T18:54:46.348Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-16T18:54:46.348Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-16T18:54:48.295Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.463s coverage: 68.5% of statements [2024-05-16T18:54:51.637Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.534s coverage: 89.2% of statements [2024-05-16T18:54:55.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-16T18:54:56.577Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.391s coverage: 5.5% of statements [2024-05-16T18:54:58.009Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-16T18:54:58.009Z] GO111MODULE=on go vet ./... [2024-05-16T18:59:19.840Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T18:59:19.840Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T18:59:19.840Z] ./bin/test-attribution-txt.sh [2024-05-16T18:59:19.840Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T18:59:19.840Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T18:59:19.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T18:59:19.878Z] $ docker stop --time=1 457e8ffdcad46fb7bbeefde08b53c6bf7b1fefdcc5a3b2831ab0279a60a487d6 [2024-05-16T18:59:21.853Z] $ docker rm -f --volumes 457e8ffdcad46fb7bbeefde08b53c6bf7b1fefdcc5a3b2831ab0279a60a487d6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T18:59:24.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T18:59:24.404Z] Warning: overwriting stash ‘coverage-report’ [2024-05-16T18:59:25.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T18:59:25.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T18:59:25.855Z] + ls -al . [2024-05-16T18:59:25.855Z] total 372 [2024-05-16T18:59:25.855Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 18:49 . [2024-05-16T18:59:25.855Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:46 .. [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 18:46 .dockerignore [2024-05-16T18:59:25.855Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 18:46 .git [2024-05-16T18:59:25.855Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:46 .github [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 137 May 16 18:46 .gitignore [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 18:46 .golangci.yml [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 16 18:46 CHANGELOG.md [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 18:46 GOVERNANCE.md [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 885 May 16 18:46 Jenkinsfile [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 16 18:46 LICENSE [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 16 18:46 Makefile [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 619 May 16 18:46 OWNERS.md [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 16 18:46 README.md [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 18:43 VERSION [2024-05-16T18:59:25.855Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 18:46 bin [2024-05-16T18:59:25.855Z] -rw-r--r-- 1 jenkins jenkins 122153 May 16 18:54 coverage.out [2024-05-16T18:59:25.855Z] drwxrwxr-x 5 jenkins jenkins 4096 May 16 18:46 example [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 7070 May 16 18:46 go.mod [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 101044 May 16 18:46 go.sum [2024-05-16T18:59:25.855Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:46 internal [2024-05-16T18:59:25.855Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 18:46 openapi [2024-05-16T18:59:25.855Z] drwxrwxr-x 6 jenkins jenkins 4096 May 16 18:46 pkg [2024-05-16T18:59:25.855Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 18:46 snap [2024-05-16T18:59:25.855Z] -rw-rw-r-- 1 jenkins jenkins 222 May 16 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:59:26.205Z] + 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 . [2024-05-16T18:59:26.788Z] Sending build context to Docker daemon 13.4MB [2024-05-16T18:59:26.789Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:59:26.789Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-16T18:59:26.789Z] ---> ef229189ddf2 [2024-05-16T18:59:26.789Z] Step 3/23 : ARG MAKE=make build [2024-05-16T18:59:26.789Z] ---> Running in cae7b9d192c1 [2024-05-16T18:59:27.371Z] Removing intermediate container cae7b9d192c1 [2024-05-16T18:59:27.371Z] ---> bbfa93605162 [2024-05-16T18:59:27.371Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-16T18:59:27.371Z] ---> Running in b1661068d09c [2024-05-16T18:59:27.639Z] Removing intermediate container b1661068d09c [2024-05-16T18:59:27.639Z] ---> 9ce5d3ae0856 [2024-05-16T18:59:27.639Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-16T18:59:27.639Z] ---> Running in 1b7cbac65cc3 [2024-05-16T18:59:27.905Z] Removing intermediate container 1b7cbac65cc3 [2024-05-16T18:59:27.905Z] ---> db442f0b5af0 [2024-05-16T18:59:27.905Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-16T18:59:28.178Z] ---> Running in 2de8110f25a6 [2024-05-16T18:59:29.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T18:59:29.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T18:59:30.680Z] OK: 266 MiB in 52 packages [2024-05-16T18:59:31.645Z] Removing intermediate container 2de8110f25a6 [2024-05-16T18:59:31.645Z] ---> 43d04e052c45 [2024-05-16T18:59:31.645Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-16T18:59:32.227Z] ---> fde56e6d4d13 [2024-05-16T18:59:32.227Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:59:32.227Z] ---> Running in 8816a009eefa [2024-05-16T18:59:34.805Z] Removing intermediate container 8816a009eefa [2024-05-16T18:59:34.805Z] ---> 2d451881ad8b [2024-05-16T18:59:34.805Z] Step 9/23 : COPY . . [2024-05-16T18:59:36.213Z] ---> ac208975e56a [2024-05-16T18:59:36.213Z] Step 10/23 : RUN ${MAKE} [2024-05-16T18:59:36.213Z] ---> Running in 96a6d0e3354b [2024-05-16T18:59:37.173Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-05-16T19:03:28.978Z] Removing intermediate container 96a6d0e3354b [2024-05-16T19:03:28.978Z] ---> 7f4f53a10516 [2024-05-16T19:03:28.978Z] Step 11/23 : FROM alpine:3.18 [2024-05-16T19:03:28.978Z] 3.18: Pulling from library/alpine [2024-05-16T19:03:28.978Z] c6b39de5b339: Already exists [2024-05-16T19:03:28.978Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T19:03:28.978Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T19:03:28.978Z] ---> 33abbf032149 [2024-05-16T19:03:28.978Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-16T19:03:28.978Z] ---> Running in 9e8daae7d70c [2024-05-16T19:03:28.978Z] Removing intermediate container 9e8daae7d70c [2024-05-16T19:03:28.978Z] ---> 4201a085757e [2024-05-16T19:03:28.978Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-16T19:03:28.978Z] ---> Running in 59e6e481e457 [2024-05-16T19:03:29.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T19:03:29.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T19:03:31.238Z] OK: 8 MiB in 15 packages [2024-05-16T19:03:31.825Z] Removing intermediate container 59e6e481e457 [2024-05-16T19:03:31.825Z] ---> 2d33f937f29d [2024-05-16T19:03:31.825Z] Step 14/23 : WORKDIR / [2024-05-16T19:03:31.825Z] ---> Running in 87e5be996ce5 [2024-05-16T19:03:32.092Z] Removing intermediate container 87e5be996ce5 [2024-05-16T19:03:32.092Z] ---> 6156de3bf409 [2024-05-16T19:03:32.092Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-16T19:03:32.677Z] ---> 6cbb3f502e2d [2024-05-16T19:03:32.677Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-16T19:03:35.262Z] ---> f7d6155ccd1b [2024-05-16T19:03:35.262Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-16T19:03:35.846Z] ---> 7c3257053f3c [2024-05-16T19:03:35.846Z] Step 18/23 : EXPOSE 59999 [2024-05-16T19:03:35.846Z] ---> Running in 1f76080b4a02 [2024-05-16T19:03:36.112Z] Removing intermediate container 1f76080b4a02 [2024-05-16T19:03:36.112Z] ---> f67e4c5e6ea2 [2024-05-16T19:03:36.112Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-16T19:03:36.112Z] ---> Running in 9ad202a0e9b7 [2024-05-16T19:03:36.379Z] Removing intermediate container 9ad202a0e9b7 [2024-05-16T19:03:36.379Z] ---> aa93deeabb46 [2024-05-16T19:03:36.379Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-16T19:03:36.647Z] ---> Running in 7e8bb11c52c5 [2024-05-16T19:03:36.914Z] Removing intermediate container 7e8bb11c52c5 [2024-05-16T19:03:36.914Z] ---> 62f20e401e0d [2024-05-16T19:03:36.914Z] Step 21/23 : LABEL arch=arm64 [2024-05-16T19:03:36.914Z] ---> Running in 3cce1cae1470 [2024-05-16T19:03:37.182Z] Removing intermediate container 3cce1cae1470 [2024-05-16T19:03:37.182Z] ---> 18033f2da795 [2024-05-16T19:03:37.182Z] Step 22/23 : LABEL git_sha=e7cffd66bb83ede5934d19cea675cde872c80c20 [2024-05-16T19:03:37.454Z] ---> Running in cb2afc658cdf [2024-05-16T19:03:37.721Z] Removing intermediate container cb2afc658cdf [2024-05-16T19:03:37.721Z] ---> 8573b5acbf12 [2024-05-16T19:03:37.721Z] Step 23/23 : LABEL version=0.0.0 [2024-05-16T19:03:37.721Z] ---> Running in b76c3355151d [2024-05-16T19:03:37.987Z] Removing intermediate container b76c3355151d [2024-05-16T19:03:37.987Z] ---> 01512e08b372 [2024-05-16T19:03:37.987Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T19:03:37.987Z] Successfully built 01512e08b372 [2024-05-16T19:03:37.987Z] 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 [2024-05-16T19:03:38.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T19:03:38.486Z] [2024-05-16T19:03:38.486Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T19:03:38.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T19:03:39.091Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-16T19:03:39.091Z] 8998bd30e6a1: Pulling fs layer [2024-05-16T19:03:39.091Z] 04944245beec: Pulling fs layer [2024-05-16T19:03:39.091Z] 699f458cf7ca: Pulling fs layer [2024-05-16T19:03:39.091Z] 765212b225bb: Pulling fs layer [2024-05-16T19:03:39.091Z] f23df028b6ca: Pulling fs layer [2024-05-16T19:03:39.091Z] d65c8cfc05b1: Pulling fs layer [2024-05-16T19:03:39.091Z] 2437ff75d9bd: Pulling fs layer [2024-05-16T19:03:39.091Z] f23df028b6ca: Waiting [2024-05-16T19:03:39.091Z] d65c8cfc05b1: Waiting [2024-05-16T19:03:39.091Z] 2437ff75d9bd: Waiting [2024-05-16T19:03:39.091Z] 765212b225bb: Waiting [2024-05-16T19:03:39.091Z] 04944245beec: Verifying Checksum [2024-05-16T19:03:39.091Z] 04944245beec: Download complete [2024-05-16T19:03:39.091Z] 765212b225bb: Verifying Checksum [2024-05-16T19:03:39.091Z] 765212b225bb: Download complete [2024-05-16T19:03:39.091Z] f23df028b6ca: Verifying Checksum [2024-05-16T19:03:39.091Z] f23df028b6ca: Download complete [2024-05-16T19:03:39.091Z] d65c8cfc05b1: Verifying Checksum [2024-05-16T19:03:39.091Z] d65c8cfc05b1: Download complete [2024-05-16T19:03:39.360Z] 699f458cf7ca: Verifying Checksum [2024-05-16T19:03:39.360Z] 699f458cf7ca: Download complete [2024-05-16T19:03:39.628Z] 8998bd30e6a1: Verifying Checksum [2024-05-16T19:03:39.628Z] 8998bd30e6a1: Download complete [2024-05-16T19:03:42.215Z] 2437ff75d9bd: Download complete [2024-05-16T19:03:44.806Z] 8998bd30e6a1: Pull complete [2024-05-16T19:03:45.074Z] 04944245beec: Pull complete [2024-05-16T19:03:46.486Z] 699f458cf7ca: Pull complete [2024-05-16T19:03:46.754Z] 765212b225bb: Pull complete [2024-05-16T19:03:47.715Z] f23df028b6ca: Pull complete [2024-05-16T19:03:47.983Z] d65c8cfc05b1: Pull complete [2024-05-16T19:04:06.193Z] 2437ff75d9bd: Pull complete [2024-05-16T19:04:06.193Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-16T19:04:06.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T19:04:06.193Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T19:04:06.422Z] prd-ubuntu20.04-docker-arm64-4c-16g-300 does not seem to be running inside a container [2024-05-16T19:04:06.487Z] $ 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 [2024-05-16T19:04:09.471Z] $ docker top 993e4a78a701116c1ca9ee9e27a05179d3ae3df682746078c65dac10da9bc1fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:10.361Z] ---> job-cost.sh [2024-05-16T19:04:10.361Z] lf-activate-venv: SKIPPING [2024-05-16T19:04:10.361Z] INFO: No Stack... [2024-05-16T19:04:10.946Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-16T19:04:11.904Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T19:04:12.545Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-05-16T19:04:12.546Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T19:04:12.603Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] [2024-05-16T19:04:12.612Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] did not exist. Created. [2024-05-16T19:04:12.619Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T19:04:13.287Z] /w/workspace/device-sdk-go/2@tmp/durable-413455f4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-16T19:04:13.931Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-16T19:04:13.959Z] Warning: overwriting stash ‘stack-cost’ [2024-05-16T19:04:14.068Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T19:04:14.077Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1574-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T19:04:14.104Z] $ docker stop --time=1 993e4a78a701116c1ca9ee9e27a05179d3ae3df682746078c65dac10da9bc1fd [2024-05-16T19:04:15.662Z] $ 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 [2024-05-16T19:04:16.160Z] provisioning config files... [2024-05-16T19:04:16.168Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/config6245291096369138083tmp [Pipeline] { [Pipeline] sh [2024-05-16T19:04:16.467Z] + set +x [2024-05-16T19:04:16.468Z] + curl -s https://codecov.io/bash [2024-05-16T19:04:16.468Z] + bash -s -- [2024-05-16T19:04:16.733Z] [2024-05-16T19:04:16.733Z] _____ _ [2024-05-16T19:04:16.733Z] / ____| | | [2024-05-16T19:04:16.733Z] | | ___ __| | ___ ___ _____ __ [2024-05-16T19:04:16.733Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-16T19:04:16.733Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-16T19:04:16.733Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-16T19:04:16.733Z] Bash-1.0.6 [2024-05-16T19:04:16.733Z] [2024-05-16T19:04:16.733Z] [2024-05-16T19:04:16.733Z] ==> git version 2.25.1 found [2024-05-16T19:04:16.733Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-05-16T19:04:16.733Z] Release-Date: 2020-01-08 [2024-05-16T19:04:16.733Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-16T19:04:16.733Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-16T19:04:16.733Z] ==> Jenkins CI detected. [2024-05-16T19:04:16.733Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1574 [2024-05-16T19:04:16.733Z] project root: . [2024-05-16T19:04:16.733Z] --> token set from env [2024-05-16T19:04:16.733Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-16T19:04:16.733Z] ==> Running gcov in . (disable via -X gcov) [2024-05-16T19:04:16.733Z] ==> Python coveragepy not found [2024-05-16T19:04:16.733Z] ==> Searching for coverage reports in: [2024-05-16T19:04:16.733Z] + . [2024-05-16T19:04:16.733Z] -> Found 1 reports [2024-05-16T19:04:16.733Z] ==> Detecting git/mercurial file structure [2024-05-16T19:04:16.733Z] ==> Reading reports [2024-05-16T19:04:16.733Z] + ./coverage.out bytes=122153 [2024-05-16T19:04:16.733Z] ==> Appending adjustments [2024-05-16T19:04:16.733Z] https://docs.codecov.io/docs/fixing-reports [2024-05-16T19:04:16.993Z] + Found adjustments [2024-05-16T19:04:16.993Z] ==> Gzipping contents [2024-05-16T19:04:16.993Z] 20K /tmp/codecov.4tSS0G.gz [2024-05-16T19:04:16.993Z] ==> Uploading reports [2024-05-16T19:04:16.993Z] url: https://codecov.io [2024-05-16T19:04:16.993Z] 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= [2024-05-16T19:04:16.993Z] -> Pinging Codecov [2024-05-16T19:04:16.993Z] 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= [2024-05-16T19:04:17.253Z] -> Uploading to [2024-05-16T19:04:17.253Z] 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 [2024-05-16T19:04:17.253Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T19:04:17.253Z] Dload Upload Total Spent Left Speed [2024-05-16T19:04:17.512Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16715 0 0 100 16715 0 71738 --:--:-- --:--:-- --:--:-- 71738 [2024-05-16T19:04:17.512Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c8c13f990e0c07c49300d3d7c1a42231ac011777 [Pipeline] } [2024-05-16T19:04:17.519Z] 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 [2024-05-16T19:04:18.391Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives ] [2024-05-16T19:04:18.391Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives [2024-05-16T19:04:18.391Z] total 16 [2024-05-16T19:04:18.391Z] drwxr-xr-x 3 root root 4096 May 16 18:46 . [2024-05-16T19:04:18.391Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:46 .. [2024-05-16T19:04:18.391Z] drwxr-xr-x 2 root root 4096 May 16 18:46 cost [2024-05-16T19:04:18.391Z] -rw-r--r-- 1 root root 86 May 16 18:46 cost.csv [2024-05-16T19:04:18.391Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives [2024-05-16T19:04:18.391Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives [2024-05-16T19:04:18.391Z] total 16 [2024-05-16T19:04:18.391Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:46 . [2024-05-16T19:04:18.391Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:46 .. [2024-05-16T19:04:18.391Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 18:46 cost [2024-05-16T19:04:18.391Z] -rw-r--r-- 1 jenkins jenkins 86 May 16 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:18.684Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:19.543Z] ---> package-listing.sh [2024-05-16T19:04:19.543Z] ++ facter osfamily [2024-05-16T19:04:19.543Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-16T19:04:19.803Z] + OS_FAMILY=debian [2024-05-16T19:04:19.803Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1574 [2024-05-16T19:04:19.803Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-16T19:04:19.803Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-16T19:04:19.803Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-16T19:04:19.803Z] + PACKAGES=/tmp/packages_start.txt [2024-05-16T19:04:19.803Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1574 ']' [2024-05-16T19:04:19.803Z] + PACKAGES=/tmp/packages_end.txt [2024-05-16T19:04:19.803Z] + case "${OS_FAMILY}" in [2024-05-16T19:04:19.803Z] + dpkg -l [2024-05-16T19:04:19.803Z] + grep '^ii' [2024-05-16T19:04:19.803Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-16T19:04:19.803Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-16T19:04:19.803Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-16T19:04:19.803Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1574 ']' [2024-05-16T19:04:19.803Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1574/archives/ [2024-05-16T19:04:19.803Z] + 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 [2024-05-16T19:04:19.814Z] 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 [2024-05-16T19:04:20.175Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T19:04:20.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T19:04:20.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T19:04:20.615Z] prd-ubuntu20.04-docker-8c-8g-296 does not seem to be running inside a container [2024-05-16T19:04:20.687Z] $ 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 [2024-05-16T19:04:20.882Z] $ docker top a1a0f6f470cc6f2a86532190670d7cda45f1a0d17954b624ea4c5ff695f74e07 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T19:04:21.244Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-16T19:04:21.532Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-16T19:04:21.817Z] + ls /var/log/sa-host [2024-05-16T19:04:21.817Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T19:04:21.896Z] provisioning config files... [2024-05-16T19:04:21.907Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1574@tmp/config8597794198120924763tmp [Pipeline] { [Pipeline] echo [2024-05-16T19:04:21.927Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:22.210Z] ---> create-netrc.sh [Pipeline] } [2024-05-16T19:04:22.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:22.555Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-16T19:04:22.564Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:22.850Z] ---> sudo-logs.sh [2024-05-16T19:04:22.850Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-16T19:04:22.881Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:23.160Z] ---> job-cost.sh [2024-05-16T19:04:23.160Z] lf-activate-venv: SKIPPING [2024-05-16T19:04:23.160Z] DEBUG: total: 0.2199999988079071 [2024-05-16T19:04:23.160Z] INFO: Retrieving Stack Cost... [2024-05-16T19:04:23.420Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T19:04:23.989Z] INFO: Archiving Costs [Pipeline] echo [2024-05-16T19:04:24.002Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T19:04:24.286Z] ---> logs-deploy.sh [2024-05-16T19:04:24.286Z] lf-activate-venv: SKIPPING [2024-05-16T19:04:24.286Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1574/2 [2024-05-16T19:04:24.286Z] INFO: archiving workspace using pattern(s): [2024-05-16T19:04:25.226Z] Archives upload complete. [2024-05-16T19:04:25.486Z] INFO: archiving logs to Nexus