Pull request #1572 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f8810c2ac5be4d8f0304e32207b2124d43a5b36+decf7a4867f03271291a6465384c5ba130c9fec8 (c0c4afe5961c5acda98bc029e2b2edd35ce1d30b) 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-ssh1587349284472154163.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-ssh14709691908991664087.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1572/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1572/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4654294614941327824.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1572/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2215342099515536971.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8532452372759825730.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1572/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1572/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16586835786724596157.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1807 in /w/workspace/gexfoundry_device-sdk-go_PR-1572 [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-1572 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit decf7a4867f03271291a6465384c5ba130c9fec8 into PR head commit 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 Merge succeeded, producing 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 Checking out Revision 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 (PR-1572) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1572/head:refs/remotes/origin/PR-1572 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 # 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 decf7a4867f03271291a6465384c5ba130c9fec8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:55:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:55:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:55:59 ========================================================= 04:55:59 EdgeX Global Pipelines Version Info 04:55:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:55:59 ------------------- 04:55:59 stable info: 04:55:59 ------------------- 04:55:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:55:59 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:55:59 Message: update stable to v1.0.258 04:56:00 ------------------- 04:56:00 experimental info: 04:56:00 ------------------- 04:56:00 Commited By: **** collab-it+edgex@linuxfoundation.org 04:56:00 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:56:00 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:56:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:56:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:56:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:56:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:56:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:56:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:56:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:56:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:56:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1572 [Pipeline] echo 04:56:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1572 [Pipeline] echo 04:56:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1572 [Pipeline] echo 04:56:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 [Pipeline] echo 04:56:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f8810c [Pipeline] echo 04:56:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:56:02 provisioning config files... 04:56:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp/config5145270967784897616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:02 ---> ****-login.sh 04:56:02 nexus3.edgexfoundry.org:10001 04:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:02 Configure a credential helper to remove this warning. See 04:56:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:02 04:56:02 Login Succeeded 04:56:02 nexus3.edgexfoundry.org:10002 04:56:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:03 Configure a credential helper to remove this warning. See 04:56:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:03 04:56:03 Login Succeeded 04:56:03 nexus3.edgexfoundry.org:10003 04:56:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:03 Configure a credential helper to remove this warning. See 04:56:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:03 04:56:03 Login Succeeded 04:56:03 nexus3.edgexfoundry.org:10004 04:56:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:03 Configure a credential helper to remove this warning. See 04:56:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:03 04:56:03 Login Succeeded 04:56:03 ****.io 04:56:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:03 Configure a credential helper to remove this warning. See 04:56:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:03 04:56:03 Login Succeeded 04:56:03 ---> ****-login.sh ends [Pipeline] } 04:56:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:56:04 + git rev-list -1 --merges 5f8810c2ac5be4d8f0304e32207b2124d43a5b36~1..5f8810c2ac5be4d8f0304e32207b2124d43a5b36 [Pipeline] echo 04:56:04 -----------> git rev-list -1 --merges 5f8810c2ac5be4d8f0304e32207b2124d43a5b36~1..5f8810c2ac5be4d8f0304e32207b2124d43a5b36 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 [false] [Pipeline] sh 04:56:04 + git log --format=format:%s -1 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 [Pipeline] echo 04:56:04 ========================================================= 04:56:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:56:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:56:05 + git log --format=format:%s -1 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 [Pipeline] echo 04:56:05 [semverPrep] GIT_COMMIT: 5f8810c2ac5be4d8f0304e32207b2124d43a5b36, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:56:05 [semverPrep] This is not a build commit. [Pipeline] sh 04:56:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:56:05 + grep -v github /etc/ssh/ssh_known_hosts 04:56:05 + [ -e /tmp/ssh_known_hosts ] 04:56:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:56:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:56:05 + sudo tee -a /etc/ssh/ssh_known_hosts 04:56:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:56:06 04:56:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:56:06 0.1.4: Pulling from edgex-devops/py-git-semver 04:56:06 b85a868b505f: Pulling fs layer 04:56:06 e2be974225ed: Pulling fs layer 04:56:06 339a4e72a1f5: Pulling fs layer 04:56:06 988bab9f4d93: Pulling fs layer 04:56:06 1469e6f7b9e6: Pulling fs layer 04:56:06 eaf3925da568: Pulling fs layer 04:56:06 bab4dde63d76: Pulling fs layer 04:56:06 bde34c3a00c8: Pulling fs layer 04:56:06 b352a97aabf1: Pulling fs layer 04:56:06 4872d77fe225: Pulling fs layer 04:56:06 5851b861e8e6: Pulling fs layer 04:56:06 988bab9f4d93: Waiting 04:56:06 eaf3925da568: Waiting 04:56:06 bab4dde63d76: Waiting 04:56:06 bde34c3a00c8: Waiting 04:56:06 1469e6f7b9e6: Waiting 04:56:06 b352a97aabf1: Waiting 04:56:06 4872d77fe225: Waiting 04:56:06 5851b861e8e6: Waiting 04:56:06 e2be974225ed: Verifying Checksum 04:56:06 e2be974225ed: Download complete 04:56:06 988bab9f4d93: Verifying Checksum 04:56:06 988bab9f4d93: Download complete 04:56:06 1469e6f7b9e6: Verifying Checksum 04:56:06 1469e6f7b9e6: Download complete 04:56:06 eaf3925da568: Verifying Checksum 04:56:06 eaf3925da568: Download complete 04:56:06 339a4e72a1f5: Verifying Checksum 04:56:06 339a4e72a1f5: Download complete 04:56:06 bde34c3a00c8: Verifying Checksum 04:56:06 bde34c3a00c8: Download complete 04:56:06 b352a97aabf1: Download complete 04:56:06 4872d77fe225: Download complete 04:56:06 5851b861e8e6: Download complete 04:56:06 b85a868b505f: Verifying Checksum 04:56:06 b85a868b505f: Download complete 04:56:07 bab4dde63d76: Verifying Checksum 04:56:07 bab4dde63d76: Download complete 04:56:08 b85a868b505f: Pull complete 04:56:08 e2be974225ed: Pull complete 04:56:08 339a4e72a1f5: Pull complete 04:56:08 988bab9f4d93: Pull complete 04:56:08 1469e6f7b9e6: Pull complete 04:56:08 eaf3925da568: Pull complete 04:56:10 bab4dde63d76: Pull complete 04:56:10 bde34c3a00c8: Pull complete 04:56:10 b352a97aabf1: Pull complete 04:56:10 4872d77fe225: Pull complete 04:56:10 5851b861e8e6: Pull complete 04:56:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:56:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:56:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:11 prd-ubuntu20.04-docker-8c-8g-1807 does not seem to be running inside a container 04:56:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1572 -v /w/workspace/gexfoundry_device-sdk-go_PR-1572:/w/workspace/gexfoundry_device-sdk-go_PR-1572:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:56:12 $ docker top 8a3e4c914e54d6ad3ebb5405b3eabbf8005597fa3a3d1eb0778cf6cfaa690d75 -eo pid,comm 04:56:12 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). 04:56:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:56:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:56:12 [ssh-agent] Looking for ssh-agent implementation... 04:56:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:56:12 $ docker exec 8a3e4c914e54d6ad3ebb5405b3eabbf8005597fa3a3d1eb0778cf6cfaa690d75 ssh-agent 04:56:12 SSH_AUTH_SOCK=/tmp/ssh-wF2X4yMPotzD/agent.32 04:56:12 SSH_AGENT_PID=38 04:56:12 Running ssh-add (command line suppressed) 04:56:12 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp/private_key_7628430027964893422.key (/w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp/private_key_7628430027964893422.key) 04:56:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:56:13 + git tag --points-at HEAD [Pipeline] } 04:56:13 $ docker exec --env ******** --env ******** 8a3e4c914e54d6ad3ebb5405b3eabbf8005597fa3a3d1eb0778cf6cfaa690d75 ssh-agent -k 04:56:13 unset SSH_AUTH_SOCK; 04:56:13 unset SSH_AGENT_PID; 04:56:13 echo Agent pid 38 killed; 04:56:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:56:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:56:13 [ssh-agent] Looking for ssh-agent implementation... 04:56:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:56:13 $ docker exec 8a3e4c914e54d6ad3ebb5405b3eabbf8005597fa3a3d1eb0778cf6cfaa690d75 ssh-agent 04:56:13 SSH_AUTH_SOCK=/tmp/ssh-uGkEy2GEeduy/agent.71 04:56:13 SSH_AGENT_PID=77 04:56:13 Running ssh-add (command line suppressed) 04:56:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp/private_key_2641044983349153045.key (/w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp/private_key_2641044983349153045.key) 04:56:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:56:14 + git semver init 04:56:14 2024-04-01 04:56:14,351 [run_init] DEBUG init version:0.0.0 force:False 04:56:14 2024-04-01 04:56:14,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1572/.semver 04:56:14 2024-04-01 04:56:14,352 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1572/.semver 04:56:14 2024-04-01 04:56:14,353 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1572/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1572, universal_newlines=False, shell=None, istream=None) 04:56:15 2024-04-01 04:56:15,573 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1572/.git/info/exclude 04:56:15 2024-04-01 04:56:15,573 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1572/.semver/PR-1572 with force:False 04:56:15 2024-04-01 04:56:15,574 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1572/.semver/PR-1572 04:56:15 2024-04-01 04:56:15,578 [execute] INFO git cat-file --batch-check 04:56:15 2024-04-01 04:56:15,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1572/.semver, universal_newlines=False, shell=None, istream=) 04:56:15 2024-04-01 04:56:15,584 [execute] INFO git cat-file --batch 04:56:15 2024-04-01 04:56:15,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1572/.semver, universal_newlines=False, shell=None, istream=) 04:56:15 2024-04-01 04:56:15,590 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1572/.semver/PR-1572 04:56:15 0.0.0 [Pipeline] } 04:56:15 $ docker exec --env ******** --env ******** 8a3e4c914e54d6ad3ebb5405b3eabbf8005597fa3a3d1eb0778cf6cfaa690d75 ssh-agent -k 04:56:15 unset SSH_AUTH_SOCK; 04:56:15 unset SSH_AGENT_PID; 04:56:15 echo Agent pid 77 killed; 04:56:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:56:16 + git semver [Pipeline] } 04:56:16 $ docker stop --time=1 8a3e4c914e54d6ad3ebb5405b3eabbf8005597fa3a3d1eb0778cf6cfaa690d75 04:56:17 $ docker rm -f --volumes 8a3e4c914e54d6ad3ebb5405b3eabbf8005597fa3a3d1eb0778cf6cfaa690d75 [Pipeline] // withDockerContainer [Pipeline] sh 04:56:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:56:18 Stashed 1 file(s) [Pipeline] echo 04:56:18 [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 04:56:19 provisioning config files... 04:56:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp/config1236409561824139269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:19 ---> ****-login.sh 04:56:19 nexus3.edgexfoundry.org:10001 04:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:19 Configure a credential helper to remove this warning. See 04:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:19 04:56:19 Login Succeeded 04:56:19 nexus3.edgexfoundry.org:10002 04:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:19 Configure a credential helper to remove this warning. See 04:56:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:19 04:56:19 Login Succeeded 04:56:19 nexus3.edgexfoundry.org:10003 04:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:20 Configure a credential helper to remove this warning. See 04:56:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:20 04:56:20 Login Succeeded 04:56:20 nexus3.edgexfoundry.org:10004 04:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:20 Configure a credential helper to remove this warning. See 04:56:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:20 04:56:20 Login Succeeded 04:56:20 ****.io 04:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:56:20 Configure a credential helper to remove this warning. See 04:56:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:56:20 04:56:20 Login Succeeded 04:56:20 ---> ****-login.sh ends [Pipeline] } 04:56:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:56:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:56:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:56:20 ========================================================= 04:56:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:56:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:21 + 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 . 04:56:21 Sending build context to Docker daemon 22.12MB 04:56:21 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:56:21 Step 2/10 : FROM ${BASE} AS builder 04:56:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:56:21 7264a8db6415: Pulling fs layer 04:56:21 c4d48a809fc2: Pulling fs layer 04:56:21 4f1c88b9dad5: Pulling fs layer 04:56:21 ad3a456e5733: Pulling fs layer 04:56:21 69c7f0334f64: Pulling fs layer 04:56:21 ad3a456e5733: Waiting 04:56:21 1f1c1a5573a3: Pulling fs layer 04:56:21 ce7588e14bc9: Pulling fs layer 04:56:21 69c7f0334f64: Waiting 04:56:21 b5e4710f87ac: Pulling fs layer 04:56:21 1f1c1a5573a3: Waiting 04:56:21 ce7588e14bc9: Waiting 04:56:21 b5e4710f87ac: Waiting 04:56:21 c4d48a809fc2: Verifying Checksum 04:56:21 c4d48a809fc2: Download complete 04:56:21 ad3a456e5733: Verifying Checksum 04:56:21 ad3a456e5733: Download complete 04:56:21 69c7f0334f64: Verifying Checksum 04:56:21 69c7f0334f64: Download complete 04:56:21 7264a8db6415: Verifying Checksum 04:56:21 7264a8db6415: Download complete 04:56:21 1f1c1a5573a3: Verifying Checksum 04:56:21 1f1c1a5573a3: Download complete 04:56:21 7264a8db6415: Pull complete 04:56:21 c4d48a809fc2: Pull complete 04:56:21 b5e4710f87ac: Verifying Checksum 04:56:21 b5e4710f87ac: Download complete 04:56:21 4f1c88b9dad5: Download complete 04:56:22 ce7588e14bc9: Verifying Checksum 04:56:22 ce7588e14bc9: Download complete 04:56:25 4f1c88b9dad5: Pull complete 04:56:25 ad3a456e5733: Pull complete 04:56:25 69c7f0334f64: Pull complete 04:56:25 1f1c1a5573a3: Pull complete 04:56:27 ce7588e14bc9: Pull complete 04:56:27 b5e4710f87ac: Pull complete 04:56:27 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:56:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:56:27 ---> 88b5674ff536 04:56:27 Step 3/10 : ARG MAKE=make build 04:56:29 ---> Running in bd5f07dd9f2d 04:56:29 Removing intermediate container bd5f07dd9f2d 04:56:29 ---> 00affc7d648e 04:56:29 Step 4/10 : WORKDIR /device-sdk-go 04:56:29 ---> Running in 5d4b49e4d019 04:56:29 Removing intermediate container 5d4b49e4d019 04:56:29 ---> b9f75f48d8f6 04:56:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:56:29 ---> Running in 2da575620b3a 04:56:29 Removing intermediate container 2da575620b3a 04:56:29 ---> ed202549fc53 04:56:29 Step 6/10 : RUN apk add --update --no-cache make git 04:56:29 ---> Running in 38361bf4bbf3 04:56:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:56:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:56:30 OK: 264 MiB in 52 packages 04:56:30 Removing intermediate container 38361bf4bbf3 04:56:30 ---> 5cf5a703ad00 04:56:30 Step 7/10 : COPY go.mod vendor* ./ 04:56:30 ---> 0e9a53392723 04:56:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:30 ---> Running in c966feef4b6c 04:56:34 Still waiting to schedule task 04:56:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:57:26 Removing intermediate container c966feef4b6c 04:57:26 ---> f04e894d082c 04:57:26 Step 9/10 : COPY . . 04:57:26 ---> 6a76a022aa02 04:57:26 Step 10/10 : RUN ${MAKE} 04:57:26 ---> Running in fbdc7bf37150 04:57:26 noop 04:57:26 Removing intermediate container fbdc7bf37150 04:57:26 ---> d5ea7b0100ba 04:57:26 Successfully built d5ea7b0100ba 04:57:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:27 + docker inspect -f . ci-base-image-x86_64 04:57:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:27 prd-ubuntu20.04-docker-8c-8g-1807 does not seem to be running inside a container 04:57:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1572 -v /w/workspace/gexfoundry_device-sdk-go_PR-1572:/w/workspace/gexfoundry_device-sdk-go_PR-1572:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:57:28 $ docker top 0636d4b7d7072fc454e580c581cc464ebe31f661adf8e8440aa6ba9679ce4490 -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:28 + go version 04:57:28 go version go1.21.0 linux/amd64 [Pipeline] } 04:57:28 $ docker stop --time=1 0636d4b7d7072fc454e580c581cc464ebe31f661adf8e8440aa6ba9679ce4490 04:57:29 $ docker rm -f --volumes 0636d4b7d7072fc454e580c581cc464ebe31f661adf8e8440aa6ba9679ce4490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:30 + docker inspect -f . ci-base-image-x86_64 04:57:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:30 prd-ubuntu20.04-docker-8c-8g-1807 does not seem to be running inside a container 04:57:30 $ 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-1572 -v /w/workspace/gexfoundry_device-sdk-go_PR-1572:/w/workspace/gexfoundry_device-sdk-go_PR-1572:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:57:30 $ docker top a878e5f63d50911206c2ba49562f8b57c6747efd84dd22df54a4df59b649be1a -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1572 [Pipeline] fileExists [Pipeline] sh 04:57:31 + make test 04:57:31 go test -race -coverprofile=coverage.out ./... 04:57:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:58:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1808 in /w/workspace/gexfoundry_device-sdk-go_PR-1572 [Pipeline] { [Pipeline] ws 04:58:05 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:58:05 The recommended git tool is: git 04:58:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:58:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:58:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:58:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:58:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:58:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements 04:58:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.058s coverage: 81.5% of statements 04:58:10 using credential edgex-jenkins-ssh 04:58:10 Cloning the remote Git repository 04:58:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:58:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:58:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:58:10 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:58:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:58:11 > git --version # timeout=10 04:58:11 > git --version # 'git version 2.25.1' 04:58:11 using GIT_SSH to set credentials SSH Credentials for GitHub 04:58:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:58:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:58:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.058s coverage: 86.0% of statements 04:58:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:58:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:58:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.098s coverage: 71.8% of statements 04:58:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:58:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:58:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:58:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:58:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:58:14 using GIT_SSH to set credentials SSH Credentials for GitHub 04:58:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1572/head:refs/remotes/origin/PR-1572 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:58:15 Merging remotes/origin/main commit decf7a4867f03271291a6465384c5ba130c9fec8 into PR head commit 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 04:58:15 Merge succeeded, producing 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 04:58:15 Checking out Revision 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 (PR-1572) 04:58:15 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:58:16 > git --version # timeout=10 04:58:16 > git --version # 'git version 2.25.1' 04:58:16 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:58:15 > git config core.sparsecheckout # timeout=10 04:58:15 > git checkout -f 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 # timeout=10 04:58:15 > git remote # timeout=10 04:58:15 > git config --get remote.origin.url # timeout=10 04:58:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:58:15 > git merge decf7a4867f03271291a6465384c5ba130c9fec8 # timeout=10 04:58:15 > git rev-parse HEAD^{commit} # timeout=10 04:58:15 > git config core.sparsecheckout # timeout=10 04:58:15 > git checkout -f 5f8810c2ac5be4d8f0304e32207b2124d43a5b36 # timeout=10 04:58:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.4% of statements 04:58:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.711s coverage: 45.9% of statements 04:58:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.070s coverage: 68.5% of statements 04:58:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.095s coverage: 89.2% of statements 04:58:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.061s coverage: 5.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:58:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:58:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:58:21 Dload Upload Total Spent Left Speed 04:58:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 117k [Pipeline] sh 04:58:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:58:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:58:21 + sudo tee /etc/docker/daemon.new 04:58:21 { 04:58:21 "registry-mirrors": [ 04:58:21 "https://nexus3.edgexfoundry.org:10001" 04:58:21 ], 04:58:21 "bip": "10.250.0.254/24", 04:58:21 "hosts": [ 04:58:21 "tcp://0.0.0.0:5555", 04:58:21 "unix:///var/run/docker.sock" 04:58:21 ], 04:58:21 "mtu": 1458, 04:58:21 "selinux-enabled": true, 04:58:21 "seccomp-profile": "/etc/docker/seccomp.json" 04:58:21 } [Pipeline] sh 04:58:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:58:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:58:40 provisioning config files... 04:58:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13514697595366605412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:41 ---> ****-login.sh 04:58:41 nexus3.edgexfoundry.org:10001 04:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:41 Configure a credential helper to remove this warning. See 04:58:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:41 04:58:41 Login Succeeded 04:58:41 nexus3.edgexfoundry.org:10002 04:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:42 Configure a credential helper to remove this warning. See 04:58:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:42 04:58:42 Login Succeeded 04:58:42 nexus3.edgexfoundry.org:10003 04:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:42 Configure a credential helper to remove this warning. See 04:58:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:42 04:58:42 Login Succeeded 04:58:42 nexus3.edgexfoundry.org:10004 04:58:42 GO111MODULE=on go vet ./... 04:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:43 Configure a credential helper to remove this warning. See 04:58:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:43 04:58:43 Login Succeeded 04:58:43 ****.io 04:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:58:43 Configure a credential helper to remove this warning. See 04:58:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:58:43 04:58:43 Login Succeeded 04:58:43 ---> ****-login.sh ends [Pipeline] } 04:58:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:58:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:58:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:58:44 ========================================================= 04:58:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:58:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:44 + 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 . 04:58:45 Sending build context to Docker daemon 11.47MB 04:58:45 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:58:45 Step 2/10 : FROM ${BASE} AS builder 04:58:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:58:45 9fda8d8052c6: Pulling fs layer 04:58:45 5d54e960e981: Pulling fs layer 04:58:45 c4a7e357bf2a: Pulling fs layer 04:58:45 f0e02332f6b5: Pulling fs layer 04:58:45 872ee5b61b7b: Pulling fs layer 04:58:45 0c6a40ed1a82: Pulling fs layer 04:58:45 94ae7d8d031c: Pulling fs layer 04:58:45 f0e02332f6b5: Waiting 04:58:45 872ee5b61b7b: Waiting 04:58:45 0c6a40ed1a82: Waiting 04:58:45 94ae7d8d031c: Waiting 04:58:45 5d54e960e981: Download complete 04:58:45 f0e02332f6b5: Verifying Checksum 04:58:45 f0e02332f6b5: Download complete 04:58:45 872ee5b61b7b: Download complete 04:58:45 9fda8d8052c6: Verifying Checksum 04:58:45 9fda8d8052c6: Download complete 04:58:45 94ae7d8d031c: Verifying Checksum 04:58:45 94ae7d8d031c: Download complete 04:58:46 9fda8d8052c6: Pull complete 04:58:46 5d54e960e981: Pull complete 04:58:47 c4a7e357bf2a: Verifying Checksum 04:58:47 c4a7e357bf2a: Download complete 04:58:48 0c6a40ed1a82: Verifying Checksum 04:58:48 0c6a40ed1a82: Download complete 04:58:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:58:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:58:48 ./bin/test-attribution-txt.sh 04:58:48 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:58:48 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:58:48 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:58:48 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:58:48 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:58:48 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:58:48 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:58:48 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:58:48 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:58:48 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 04:58:48 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:58:48 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:58:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:58:48 $ docker stop --time=1 a878e5f63d50911206c2ba49562f8b57c6747efd84dd22df54a4df59b649be1a 04:58:50 $ docker rm -f --volumes a878e5f63d50911206c2ba49562f8b57c6747efd84dd22df54a4df59b649be1a [Pipeline] // withDockerContainer [Pipeline] sh 04:58:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:58:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:58:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:58:52 + ls -al . 04:58:52 total 376 04:58:52 drwxrwxr-x 11 jenkins jenkins 4096 Apr 1 04:57 . 04:58:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 04:55 .. 04:58:52 -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 04:55 .dockerignore 04:58:52 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 04:58 .git 04:58:52 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 04:55 .github 04:58:52 -rw-rw-r-- 1 jenkins jenkins 137 Apr 1 04:55 .gitignore 04:58:52 -rw-rw-r-- 1 jenkins jenkins 42 Apr 1 04:55 .golangci.yml 04:58:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 04:56 .semver 04:58:52 -rw-rw-r-- 1 jenkins jenkins 48109 Apr 1 04:55 CHANGELOG.md 04:58:52 -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 04:55 GOVERNANCE.md 04:58:52 -rw-rw-r-- 1 jenkins jenkins 885 Apr 1 04:55 Jenkinsfile 04:58:52 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 1 04:55 LICENSE 04:58:52 -rw-rw-r-- 1 jenkins jenkins 1842 Apr 1 04:55 Makefile 04:58:52 -rw-rw-r-- 1 jenkins jenkins 619 Apr 1 04:55 OWNERS.md 04:58:52 -rw-rw-r-- 1 jenkins jenkins 4933 Apr 1 04:55 README.md 04:58:52 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 04:56 VERSION 04:58:52 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 04:55 bin 04:58:52 -rw-r--r-- 1 jenkins jenkins 122155 Apr 1 04:58 coverage.out 04:58:52 drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 04:55 example 04:58:52 -rw-rw-r-- 1 jenkins jenkins 7112 Apr 1 04:55 go.mod 04:58:52 -rw-rw-r-- 1 jenkins jenkins 101224 Apr 1 04:55 go.sum 04:58:52 drwxrwxr-x 12 jenkins jenkins 4096 Apr 1 04:55 internal 04:58:52 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 04:55 openapi 04:58:52 drwxrwxr-x 6 jenkins jenkins 4096 Apr 1 04:55 pkg 04:58:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 04:55 snap 04:58:52 -rw-rw-r-- 1 jenkins jenkins 222 Apr 1 04:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:52 + 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=5f8810c2ac5be4d8f0304e32207b2124d43a5b36 --label arch=amd64 --label version=0.0.0 . 04:58:52 Sending build context to Docker daemon 22.24MB 04:58:52 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:58:52 Step 2/23 : FROM ${BASE} AS builder 04:58:52 ---> d5ea7b0100ba 04:58:52 Step 3/23 : ARG MAKE=make build 04:58:52 ---> Running in eabbfea0c156 04:58:53 Removing intermediate container eabbfea0c156 04:58:53 ---> 5f8f80b0b2a9 04:58:53 Step 4/23 : WORKDIR /device-sdk-go 04:58:53 ---> Running in b70b13354d0e 04:58:53 Removing intermediate container b70b13354d0e 04:58:53 ---> 8d6ef5e6b739 04:58:53 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:58:53 ---> Running in 4fac4db1dd06 04:58:53 Removing intermediate container 4fac4db1dd06 04:58:53 ---> c5e9e857bc4e 04:58:53 Step 6/23 : RUN apk add --update --no-cache make git 04:58:53 ---> Running in 7922d575e229 04:58:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:58:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:58:53 OK: 264 MiB in 52 packages 04:58:54 Removing intermediate container 7922d575e229 04:58:54 ---> 49d6de74cf84 04:58:54 Step 7/23 : COPY go.mod vendor* ./ 04:58:54 ---> 0b2d85d9f349 04:58:54 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:58:54 ---> Running in bfb4dfdd7118 04:58:54 Removing intermediate container bfb4dfdd7118 04:58:54 ---> 316103aeccc6 04:58:54 Step 9/23 : COPY . . 04:58:55 ---> 13613737dcee 04:58:55 Step 10/23 : RUN ${MAKE} 04:58:55 ---> Running in df2d9b2cdf30 04:58:55 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 04:59:00 c4a7e357bf2a: Pull complete 04:59:00 f0e02332f6b5: Pull complete 04:59:00 872ee5b61b7b: Pull complete 04:59:08 0c6a40ed1a82: Pull complete 04:59:10 94ae7d8d031c: Pull complete 04:59:10 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:59:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:59:10 ---> 86de565de09d 04:59:10 Step 3/10 : ARG MAKE=make build 04:59:12 ---> Running in be73ade20d42 04:59:12 Removing intermediate container be73ade20d42 04:59:12 ---> 7698dc76461e 04:59:12 Step 4/10 : WORKDIR /device-sdk-go 04:59:12 ---> Running in 38dc345086d1 04:59:12 Removing intermediate container 38dc345086d1 04:59:12 ---> c97d9c26abbc 04:59:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:59:12 ---> Running in 7b6927dd20c0 04:59:13 Removing intermediate container 7b6927dd20c0 04:59:13 ---> 1d1ebd93999e 04:59:13 Step 6/10 : RUN apk add --update --no-cache make git 04:59:13 ---> Running in a1004462c820 04:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:59:15 OK: 266 MiB in 52 packages 04:59:16 Removing intermediate container a1004462c820 04:59:16 ---> 5627aee050ff 04:59:16 Step 7/10 : COPY go.mod vendor* ./ 04:59:17 ---> dbb2cb4ec1f6 04:59:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:59:17 ---> Running in 7fa9cc70f79c 04:59:22 Removing intermediate container df2d9b2cdf30 04:59:22 ---> 1e7c2df4520d 04:59:22 Step 11/23 : FROM alpine:3.18 04:59:22 3.18: Pulling from library/alpine 04:59:22 619be1103602: Pulling fs layer 04:59:22 619be1103602: Verifying Checksum 04:59:22 619be1103602: Download complete 04:59:22 619be1103602: Pull complete 04:59:22 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 04:59:22 Status: Downloaded newer image for alpine:3.18 04:59:22 ---> d3782b16ccc9 04:59:22 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:59:22 ---> Running in 2eca7b8e4ff9 04:59:22 Removing intermediate container 2eca7b8e4ff9 04:59:22 ---> c4efef7cbd09 04:59:22 Step 13/23 : RUN apk add --update --no-cache 04:59:22 ---> Running in 197e4f15cd33 04:59:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:59:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:59:23 OK: 7 MiB in 15 packages 04:59:23 Removing intermediate container 197e4f15cd33 04:59:23 ---> 43aa6d44152a 04:59:23 Step 14/23 : WORKDIR / 04:59:23 ---> Running in e589d96eaaf8 04:59:23 Removing intermediate container e589d96eaaf8 04:59:23 ---> c8ca839efb12 04:59:23 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:59:24 ---> d9f1792491f8 04:59:24 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:59:24 ---> a561f436e9f8 04:59:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:59:24 ---> 2901ad45ed64 04:59:24 Step 18/23 : EXPOSE 59999 04:59:24 ---> Running in f98838167079 04:59:24 Removing intermediate container f98838167079 04:59:24 ---> a4ab70e091d3 04:59:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:59:24 ---> Running in 4bb906ba60a6 04:59:24 Removing intermediate container 4bb906ba60a6 04:59:24 ---> a2fd26d61f1f 04:59:24 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:59:24 ---> Running in 32a702e93b98 04:59:24 Removing intermediate container 32a702e93b98 04:59:24 ---> 1f86d39cf3b9 04:59:24 Step 21/23 : LABEL arch=amd64 04:59:25 ---> Running in f4867218df81 04:59:25 Removing intermediate container f4867218df81 04:59:25 ---> 45a47bafa479 04:59:25 Step 22/23 : LABEL git_sha=5f8810c2ac5be4d8f0304e32207b2124d43a5b36 04:59:25 ---> Running in 9afade66ffe4 04:59:25 Removing intermediate container 9afade66ffe4 04:59:25 ---> 3938d099a3b6 04:59:25 Step 23/23 : LABEL version=0.0.0 04:59:25 ---> Running in 5baa9d6b204c 04:59:25 Removing intermediate container 5baa9d6b204c 04:59:25 ---> 7ea7a276f17e 04:59:25 [Warning] One or more build-args [ARCH] were not consumed 04:59:25 Successfully built 7ea7a276f17e 04:59:25 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:59:26 04:59:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:59:26 latest: Pulling from edgex-lftools-log-publisher 04:59:26 5eb5b503b376: Pulling fs layer 04:59:26 5c69ac0246d0: Pulling fs layer 04:59:26 ec43610c2a17: Pulling fs layer 04:59:26 3a2ae6a8a46f: Pulling fs layer 04:59:26 33b1e0a273af: Pulling fs layer 04:59:26 5d3b04190fa2: Pulling fs layer 04:59:26 2f39f015ded8: Pulling fs layer 04:59:26 33b1e0a273af: Waiting 04:59:26 5d3b04190fa2: Waiting 04:59:26 2f39f015ded8: Waiting 04:59:26 3a2ae6a8a46f: Waiting 04:59:26 5c69ac0246d0: Verifying Checksum 04:59:26 5c69ac0246d0: Download complete 04:59:26 3a2ae6a8a46f: Download complete 04:59:26 33b1e0a273af: Verifying Checksum 04:59:26 33b1e0a273af: Download complete 04:59:26 5d3b04190fa2: Verifying Checksum 04:59:26 5d3b04190fa2: Download complete 04:59:26 ec43610c2a17: Verifying Checksum 04:59:26 ec43610c2a17: Download complete 04:59:27 5eb5b503b376: Verifying Checksum 04:59:27 5eb5b503b376: Download complete 04:59:27 2f39f015ded8: Verifying Checksum 04:59:27 2f39f015ded8: Download complete 04:59:28 5eb5b503b376: Pull complete 04:59:28 5c69ac0246d0: Pull complete 04:59:28 ec43610c2a17: Pull complete 04:59:28 3a2ae6a8a46f: Pull complete 04:59:28 33b1e0a273af: Pull complete 04:59:28 5d3b04190fa2: Pull complete 04:59:33 2f39f015ded8: Pull complete 04:59:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:59:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:59:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:33 prd-ubuntu20.04-docker-8c-8g-1807 does not seem to be running inside a container 04:59:33 $ 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-1572 -v /w/workspace/gexfoundry_device-sdk-go_PR-1572:/w/workspace/gexfoundry_device-sdk-go_PR-1572:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1572@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 04:59:34 $ docker top e6340c8126cf91ba4586838f13acefb685beb87ca0b49c000cafe8a1e70eca9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:35 ---> job-cost.sh 04:59:35 lf-activate-venv: SKIPPING 04:59:35 INFO: No Stack... 04:59:38 INFO: Retrieving Pricing Info for: v3-standard-8 04:59:38 INFO: Archiving Costs [Pipeline] sh 04:59:38 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1572/archives/cost.csv 04:59:38 + cut -d, -f6 [Pipeline] lock 04:59:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1572-1-stack-cost] 04:59:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1572-1-stack-cost] did not exist. Created. 04:59:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1572-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:59:39 + echo total: 0.2199999988079071 [Pipeline] stash 04:59:39 Stashed 1 file(s) [Pipeline] } 04:59:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1572-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:59:39 $ docker stop --time=1 e6340c8126cf91ba4586838f13acefb685beb87ca0b49c000cafe8a1e70eca9e 04:59:40 $ docker rm -f --volumes e6340c8126cf91ba4586838f13acefb685beb87ca0b49c000cafe8a1e70eca9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:01:08 Removing intermediate container 7fa9cc70f79c 05:01:08 ---> 0684b8122faa 05:01:08 Step 9/10 : COPY . . 05:01:09 ---> 65e19221644f 05:01:09 Step 10/10 : RUN ${MAKE} 05:01:09 ---> Running in d81f459dfeda 05:01:10 noop 05:01:10 Removing intermediate container d81f459dfeda 05:01:10 ---> d07fa4c915dd 05:01:10 Successfully built d07fa4c915dd 05:01:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:11 + docker inspect -f . ci-base-image-arm64 05:01:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:11 prd-ubuntu20.04-docker-arm64-4c-16g-1808 does not seem to be running inside a container 05:01:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:01:12 $ docker top 1ae8dc6434a2c1a89abe776e057435b7dd8a71e40db85a633f6bc4693652be59 -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:13 + go version 05:01:13 go version go1.21.0 linux/arm64 [Pipeline] } 05:01:13 $ docker stop --time=1 1ae8dc6434a2c1a89abe776e057435b7dd8a71e40db85a633f6bc4693652be59 05:01:15 $ docker rm -f --volumes 1ae8dc6434a2c1a89abe776e057435b7dd8a71e40db85a633f6bc4693652be59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:16 + docker inspect -f . ci-base-image-arm64 05:01:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:16 prd-ubuntu20.04-docker-arm64-4c-16g-1808 does not seem to be running inside a container 05:01:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:01:17 $ docker top 6176c38e3d74c63dd9f48a5e304ad0b61b7b70f40d720e3d22baced46192c866 -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:18 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 05:01:18 + make test 05:01:19 go test -race -coverprofile=coverage.out ./... 05:01:51 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:04:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:04:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:04:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:04:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:04:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:04:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.227s coverage: 27.6% of statements 05:04:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.250s coverage: 81.5% of statements 05:04:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:04:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:04:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.328s coverage: 86.0% of statements 05:04:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:04:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.478s coverage: 71.8% of statements 05:04:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.306s coverage: 14.4% of statements 05:04:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.436s coverage: 45.9% of statements 05:04:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:04:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:04:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.394s coverage: 68.5% of statements 05:04:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.418s coverage: 89.2% of statements 05:04:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:04:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.307s coverage: 5.5% of statements 05:04:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:04:50 GO111MODULE=on go vet ./... 05:07:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:07:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:07:42 ./bin/test-attribution-txt.sh 05:07:42 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:07:42 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:07:42 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:07:42 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:07:42 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:07:42 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:07:42 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:07:42 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:07:42 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:07:42 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 05:07:42 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:07:42 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:07:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:07:42 $ docker stop --time=1 6176c38e3d74c63dd9f48a5e304ad0b61b7b70f40d720e3d22baced46192c866 05:07:44 $ docker rm -f --volumes 6176c38e3d74c63dd9f48a5e304ad0b61b7b70f40d720e3d22baced46192c866 [Pipeline] // withDockerContainer [Pipeline] sh 05:07:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:07:46 Warning: overwriting stash ‘coverage-report’ 05:07:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:07:48 + ls -al . 05:07:48 total 372 05:07:48 drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 05:01 . 05:07:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 04:58 .. 05:07:48 -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 04:58 .dockerignore 05:07:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 04:58 .git 05:07:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 04:58 .github 05:07:48 -rw-rw-r-- 1 jenkins jenkins 137 Apr 1 04:58 .gitignore 05:07:48 -rw-rw-r-- 1 jenkins jenkins 42 Apr 1 04:58 .golangci.yml 05:07:48 -rw-rw-r-- 1 jenkins jenkins 48109 Apr 1 04:58 CHANGELOG.md 05:07:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 04:58 GOVERNANCE.md 05:07:48 -rw-rw-r-- 1 jenkins jenkins 885 Apr 1 04:58 Jenkinsfile 05:07:48 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 1 04:58 LICENSE 05:07:48 -rw-rw-r-- 1 jenkins jenkins 1842 Apr 1 04:58 Makefile 05:07:48 -rw-rw-r-- 1 jenkins jenkins 619 Apr 1 04:58 OWNERS.md 05:07:48 -rw-rw-r-- 1 jenkins jenkins 4933 Apr 1 04:58 README.md 05:07:48 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 04:56 VERSION 05:07:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 04:58 bin 05:07:48 -rw-r--r-- 1 jenkins jenkins 122153 Apr 1 05:04 coverage.out 05:07:48 drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 04:58 example 05:07:48 -rw-rw-r-- 1 jenkins jenkins 7112 Apr 1 04:58 go.mod 05:07:48 -rw-rw-r-- 1 jenkins jenkins 101224 Apr 1 04:58 go.sum 05:07:48 drwxrwxr-x 12 jenkins jenkins 4096 Apr 1 04:58 internal 05:07:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 04:58 openapi 05:07:48 drwxrwxr-x 6 jenkins jenkins 4096 Apr 1 04:58 pkg 05:07:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 04:58 snap 05:07:48 -rw-rw-r-- 1 jenkins jenkins 222 Apr 1 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:48 + 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=5f8810c2ac5be4d8f0304e32207b2124d43a5b36 --label arch=arm64 --label version=0.0.0 . 05:07:49 Sending build context to Docker daemon 11.59MB 05:07:49 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:07:49 Step 2/23 : FROM ${BASE} AS builder 05:07:49 ---> d07fa4c915dd 05:07:49 Step 3/23 : ARG MAKE=make build 05:07:49 ---> Running in 911a6e3757e1 05:07:49 Removing intermediate container 911a6e3757e1 05:07:49 ---> ab4e48f804d2 05:07:49 Step 4/23 : WORKDIR /device-sdk-go 05:07:49 ---> Running in d38573e986ec 05:07:50 Removing intermediate container d38573e986ec 05:07:50 ---> 53e8cf321c0a 05:07:50 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:07:50 ---> Running in 8b75d63262ea 05:07:50 Removing intermediate container 8b75d63262ea 05:07:50 ---> 4c1c4c25eca2 05:07:50 Step 6/23 : RUN apk add --update --no-cache make git 05:07:50 ---> Running in 28b31e1af272 05:07:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:07:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:07:53 OK: 266 MiB in 52 packages 05:07:54 Removing intermediate container 28b31e1af272 05:07:54 ---> 98d3060377e4 05:07:54 Step 7/23 : COPY go.mod vendor* ./ 05:07:54 ---> b9ff6e5eba96 05:07:54 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:54 ---> Running in 3a31a87b3230 05:07:56 Removing intermediate container 3a31a87b3230 05:07:56 ---> 29b7ef6b44c4 05:07:56 Step 9/23 : COPY . . 05:07:58 ---> 07e2cbc03ab0 05:07:58 Step 10/23 : RUN ${MAKE} 05:07:58 ---> Running in d16d7fc59d8a 05:07:59 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 05:10:35 Removing intermediate container d16d7fc59d8a 05:10:35 ---> bf3a001a4697 05:10:35 Step 11/23 : FROM alpine:3.18 05:10:35 3.18: Pulling from library/alpine 05:10:35 c6b39de5b339: Pulling fs layer 05:10:35 c6b39de5b339: Verifying Checksum 05:10:35 c6b39de5b339: Download complete 05:10:35 c6b39de5b339: Pull complete 05:10:35 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 05:10:35 Status: Downloaded newer image for alpine:3.18 05:10:35 ---> 33abbf032149 05:10:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:10:35 ---> Running in 24b4e95504e1 05:10:35 Removing intermediate container 24b4e95504e1 05:10:35 ---> a4e8ade1d136 05:10:35 Step 13/23 : RUN apk add --update --no-cache 05:10:35 ---> Running in 5ad190c68c61 05:10:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:10:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:10:35 OK: 8 MiB in 15 packages 05:10:35 Removing intermediate container 5ad190c68c61 05:10:35 ---> 0479cb123fac 05:10:35 Step 14/23 : WORKDIR / 05:10:35 ---> Running in ded502f530cb 05:10:35 Removing intermediate container ded502f530cb 05:10:35 ---> 392cce3a073d 05:10:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:10:35 ---> f6d7c2d4cae9 05:10:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:10:37 ---> 3ce29d01f7b4 05:10:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:10:37 ---> 6c302b1203c3 05:10:37 Step 18/23 : EXPOSE 59999 05:10:37 ---> Running in 0a8d1f6e5ddf 05:10:37 Removing intermediate container 0a8d1f6e5ddf 05:10:37 ---> 60191dec9216 05:10:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:10:37 ---> Running in 8ea85e3a4a5d 05:10:38 Removing intermediate container 8ea85e3a4a5d 05:10:38 ---> 43f02039441a 05:10:38 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:10:38 ---> Running in 27d691d18e38 05:10:38 Removing intermediate container 27d691d18e38 05:10:38 ---> a817c97af95a 05:10:38 Step 21/23 : LABEL arch=arm64 05:10:38 ---> Running in f9e49fef8315 05:10:38 Removing intermediate container f9e49fef8315 05:10:38 ---> b3dc1b2e7262 05:10:38 Step 22/23 : LABEL git_sha=5f8810c2ac5be4d8f0304e32207b2124d43a5b36 05:10:38 ---> Running in 9b2940a74272 05:10:39 Removing intermediate container 9b2940a74272 05:10:39 ---> 71fbbafc844c 05:10:39 Step 23/23 : LABEL version=0.0.0 05:10:39 ---> Running in bfdf2eea2ed9 05:10:39 Removing intermediate container bfdf2eea2ed9 05:10:39 ---> be0a8733d324 05:10:39 [Warning] One or more build-args [ARCH] were not consumed 05:10:39 Successfully built be0a8733d324 05:10:39 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:40 05:10:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:10:40 arm64: Pulling from edgex-lftools-log-publisher 05:10:40 8998bd30e6a1: Pulling fs layer 05:10:40 04944245beec: Pulling fs layer 05:10:40 699f458cf7ca: Pulling fs layer 05:10:40 765212b225bb: Pulling fs layer 05:10:40 f23df028b6ca: Pulling fs layer 05:10:40 d65c8cfc05b1: Pulling fs layer 05:10:40 2437ff75d9bd: Pulling fs layer 05:10:40 d65c8cfc05b1: Waiting 05:10:40 f23df028b6ca: Waiting 05:10:40 2437ff75d9bd: Waiting 05:10:40 765212b225bb: Waiting 05:10:41 04944245beec: Verifying Checksum 05:10:41 04944245beec: Download complete 05:10:41 765212b225bb: Verifying Checksum 05:10:41 765212b225bb: Download complete 05:10:41 f23df028b6ca: Verifying Checksum 05:10:41 f23df028b6ca: Download complete 05:10:41 d65c8cfc05b1: Verifying Checksum 05:10:41 d65c8cfc05b1: Download complete 05:10:41 699f458cf7ca: Verifying Checksum 05:10:41 699f458cf7ca: Download complete 05:10:41 8998bd30e6a1: Download complete 05:10:44 2437ff75d9bd: Verifying Checksum 05:10:44 2437ff75d9bd: Download complete 05:10:46 8998bd30e6a1: Pull complete 05:10:46 04944245beec: Pull complete 05:10:48 699f458cf7ca: Pull complete 05:10:48 765212b225bb: Pull complete 05:10:49 f23df028b6ca: Pull complete 05:10:49 d65c8cfc05b1: Pull complete 05:11:07 2437ff75d9bd: Pull complete 05:11:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:11:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:08 prd-ubuntu20.04-docker-arm64-4c-16g-1808 does not seem to be running inside a container 05:11:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:11:10 $ docker top a816b96d36e1613b5f3ea15d49c210e1527c70449bfd6a89162933f4211e4196 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:11 ---> job-cost.sh 05:11:11 lf-activate-venv: SKIPPING 05:11:11 INFO: No Stack... 05:11:12 INFO: Retrieving Pricing Info for: v3-standard-4 05:11:13 INFO: Archiving Costs [Pipeline] sh 05:11:14 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:11:14 + cut -d, -f6 [Pipeline] lock 05:11:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1572-1-stack-cost] 05:11:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1572-1-stack-cost] did not exist. Created. 05:11:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1572-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:14 /w/workspace/device-sdk-go/1@tmp/durable-2559a179/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:11:15 + echo total: 0.10999999940395355 [Pipeline] stash 05:11:15 Warning: overwriting stash ‘stack-cost’ 05:11:15 Stashed 1 file(s) [Pipeline] } 05:11:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1572-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:15 $ docker stop --time=1 a816b96d36e1613b5f3ea15d49c210e1527c70449bfd6a89162933f4211e4196 05:11:17 $ docker rm -f --volumes a816b96d36e1613b5f3ea15d49c210e1527c70449bfd6a89162933f4211e4196 [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 05:11:18 provisioning config files... 05:11:18 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp/config15367654640719502192tmp [Pipeline] { [Pipeline] sh 05:11:18 + set +x 05:11:18 + bash -s -- 05:11:18 + curl -s https://codecov.io/bash 05:11:18 05:11:18 _____ _ 05:11:18 / ____| | | 05:11:18 | | ___ __| | ___ ___ _____ __ 05:11:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:11:18 | |___| (_) | (_| | __/ (_| (_) \ V / 05:11:18 \_____\___/ \__,_|\___|\___\___/ \_/ 05:11:18 Bash-1.0.6 05:11:18 05:11:18 05:11:18 ==> git version 2.25.1 found 05:11:18 ==> 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 05:11:18 Release-Date: 2020-01-08 05:11:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:11:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:11:18 ==> Jenkins CI detected. 05:11:18 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1572 05:11:18 project root: . 05:11:18 --> token set from env 05:11:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:11:18 ==> Running gcov in . (disable via -X gcov) 05:11:18 ==> Python coveragepy not found 05:11:18 ==> Searching for coverage reports in: 05:11:18 + . 05:11:18 -> Found 1 reports 05:11:18 ==> Detecting git/mercurial file structure 05:11:18 ==> Reading reports 05:11:19 + ./coverage.out bytes=122153 05:11:19 ==> Appending adjustments 05:11:19 https://docs.codecov.io/docs/fixing-reports 05:11:19 + Found adjustments 05:11:19 ==> Gzipping contents 05:11:19 20K /tmp/codecov.N7Oygl.gz 05:11:19 ==> Uploading reports 05:11:19 url: https://codecov.io 05:11:19 query: branch=PR-1572&commit=5f8810c2ac5be4d8f0304e32207b2124d43a5b36&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1572%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1572&job=&cmd_args= 05:11:19 -> Pinging Codecov 05:11:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1572&commit=5f8810c2ac5be4d8f0304e32207b2124d43a5b36&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1572%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1572&job=&cmd_args= 05:11:19 -> Uploading to 05:11:19 https://storage.googleapis.com/codecov/v4/raw/2024-04-01/7E55EF52A471D76F132DFD9A03CDDE97/5f8810c2ac5be4d8f0304e32207b2124d43a5b36/280e4bea-5c96-4c22-993b-1f6d7aa032ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240401T051119Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad11db079fd848424a0ee38b4ed392d3e99324f890507ca983c1749853ebcead 05:11:19 % Total % Received % Xferd Average Speed Time Time Time Current 05:11:19 Dload Upload Total Spent Left Speed 05:11:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16715 0 0 100 16715 0 57637 --:--:-- --:--:-- --:--:-- 57637 05:11:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5f8810c2ac5be4d8f0304e32207b2124d43a5b36 [Pipeline] } 05:11:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:11:22 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1572/archives ] 05:11:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1572/archives 05:11:22 total 16 05:11:22 drwxr-xr-x 3 root root 4096 Apr 1 04:59 . 05:11:22 drwxrwxr-x 12 jenkins jenkins 4096 Apr 1 04:59 .. 05:11:22 drwxr-xr-x 2 root root 4096 Apr 1 04:59 cost 05:11:22 -rw-r--r-- 1 root root 86 Apr 1 04:59 cost.csv 05:11:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1572/archives 05:11:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1572/archives 05:11:22 total 16 05:11:22 drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 04:59 . 05:11:22 drwxrwxr-x 12 jenkins jenkins 4096 Apr 1 04:59 .. 05:11:22 drwxr-xr-x 2 jenkins jenkins 4096 Apr 1 04:59 cost 05:11:22 -rw-r--r-- 1 jenkins jenkins 86 Apr 1 04:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:11:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:11:23 ---> package-listing.sh 05:11:23 ++ facter osfamily 05:11:23 ++ tr '[:upper:]' '[:lower:]' 05:11:23 + OS_FAMILY=debian 05:11:23 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1572 05:11:23 + START_PACKAGES=/tmp/packages_start.txt 05:11:23 + END_PACKAGES=/tmp/packages_end.txt 05:11:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:11:23 + PACKAGES=/tmp/packages_start.txt 05:11:23 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1572 ']' 05:11:23 + PACKAGES=/tmp/packages_end.txt 05:11:23 + case "${OS_FAMILY}" in 05:11:23 + dpkg -l 05:11:23 + grep '^ii' 05:11:23 + '[' -f /tmp/packages_start.txt ']' 05:11:23 + '[' -f /tmp/packages_end.txt ']' 05:11:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:11:23 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1572 ']' 05:11:23 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1572/archives/ 05:11:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1572/archives/ [Pipeline] echo 05:11:23 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-1572/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:11:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:24 prd-ubuntu20.04-docker-8c-8g-1807 does not seem to be running inside a container 05:11:24 $ 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-1572/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-1572 -v /w/workspace/gexfoundry_device-sdk-go_PR-1572:/w/workspace/gexfoundry_device-sdk-go_PR-1572:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:11:24 $ docker top ef0b383743de736db74dd03d4ca870be41e74afa0f47418e1aeb49bd598f8285 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:25 + touch /tmp/pre-build-complete [Pipeline] sh 05:11:25 + mkdir -p /var/log/sysstat [Pipeline] sh 05:11:25 + ls /var/log/sa-host 05:11:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:26 provisioning config files... 05:11:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1572@tmp/config4802053240166404716tmp [Pipeline] { [Pipeline] echo 05:11:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:11:26 ---> create-netrc.sh [Pipeline] } 05:11:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:11:27 ---> python-tools-install.sh [Pipeline] echo 05:11:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:11:27 ---> sudo-logs.sh 05:11:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:11:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:11:27 ---> job-cost.sh 05:11:27 lf-activate-venv: SKIPPING 05:11:27 DEBUG: total: 0.2199999988079071 05:11:27 INFO: Retrieving Stack Cost... 05:11:28 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:29 INFO: Archiving Costs [Pipeline] echo 05:11:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:11:29 ---> logs-deploy.sh 05:11:29 lf-activate-venv: SKIPPING 05:11:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1572/1 05:11:29 INFO: archiving workspace using pattern(s): 05:11:30 Archives upload complete. 05:11:30 INFO: archiving logs to Nexus