Pull request #1601 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of dovholuknf for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 119f0d3508c34fcb2e951725a389e94afb6ed809 rather than 7c513ceb045a678208efd060efc979cffebb0940 Obtained Jenkinsfile from 119f0d3508c34fcb2e951725a389e94afb6ed809 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-ssh6666619110008023903.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh9507332790100583102.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 590556114a56c6d90cc8043840e039c2f74196dc 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-1601/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-1601/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12938903182365739214.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-1601/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5449294746402060108.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh570786559455275831.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-1601/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-1601/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1391676738578896509.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 590556114a56c6d90cc8043840e039c2f74196dc 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-5855 in /w/workspace/gexfoundry_device-sdk-go_PR-1601 [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-1601 # 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 119f0d3508c34fcb2e951725a389e94afb6ed809 into PR head commit 7c513ceb045a678208efd060efc979cffebb0940 Merge succeeded, producing 7c513ceb045a678208efd060efc979cffebb0940 Checking out Revision 7c513ceb045a678208efd060efc979cffebb0940 (PR-1601) > 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/1601/head:refs/remotes/origin/PR-1601 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c513ceb045a678208efd060efc979cffebb0940 # 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 119f0d3508c34fcb2e951725a389e94afb6ed809 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c513ceb045a678208efd060efc979cffebb0940 # timeout=10 Commit message: "feat: update go-mod-bootstrap dep" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:44:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:44:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:44:59 ========================================================= 11:44:59 EdgeX Global Pipelines Version Info 11:44:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:45:00 ------------------- 11:45:00 stable info: 11:45:00 ------------------- 11:45:00 Commited By: Ginny Guan ginny@iotechsys.com 11:45:00 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 11:45:00 Message: update stable to v1.0.260 11:45:01 ------------------- 11:45:01 experimental info: 11:45:01 ------------------- 11:45:01 Commited By: Ginny Guan ginny@iotechsys.com 11:45:01 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 11:45:01 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:45:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:45:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:45:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:45:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:45:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:45:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:45:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:45:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:45:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:45:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:45:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:45:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1601 [Pipeline] echo 11:45:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1601 [Pipeline] echo 11:45:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1601 [Pipeline] echo 11:45:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c513ceb045a678208efd060efc979cffebb0940 [Pipeline] echo 11:45:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c513ce [Pipeline] echo 11:45:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:45:03 provisioning config files... 11:45:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp/config15392595466615242038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:45:04 ---> ****-login.sh 11:45:04 nexus3.edgexfoundry.org:10001 11:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:45:04 Configure a credential helper to remove this warning. See 11:45:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:45:04 11:45:04 Login Succeeded 11:45:04 nexus3.edgexfoundry.org:10002 11:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:45:04 Configure a credential helper to remove this warning. See 11:45:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:45:04 11:45:04 Login Succeeded 11:45:04 nexus3.edgexfoundry.org:10003 11:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:45:04 Configure a credential helper to remove this warning. See 11:45:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:45:04 11:45:04 Login Succeeded 11:45:04 nexus3.edgexfoundry.org:10004 11:45:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:45:05 Configure a credential helper to remove this warning. See 11:45:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:45:05 11:45:05 Login Succeeded 11:45:05 ****.io 11:45:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:45:05 Configure a credential helper to remove this warning. See 11:45:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:45:05 11:45:05 Login Succeeded 11:45:05 ---> ****-login.sh ends [Pipeline] } 11:45:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:45:06 + git rev-list -1 --merges 7c513ceb045a678208efd060efc979cffebb0940~1..7c513ceb045a678208efd060efc979cffebb0940 [Pipeline] echo 11:45:06 -----------> git rev-list -1 --merges 7c513ceb045a678208efd060efc979cffebb0940~1..7c513ceb045a678208efd060efc979cffebb0940 7c513ceb045a678208efd060efc979cffebb0940 [false] [Pipeline] sh 11:45:06 + git log --format=format:%s -1 7c513ceb045a678208efd060efc979cffebb0940 [Pipeline] echo 11:45:06 ========================================================= 11:45:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:45:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:45:06 + git log --format=format:%s -1 7c513ceb045a678208efd060efc979cffebb0940 [Pipeline] echo 11:45:06 [semverPrep] GIT_COMMIT: 7c513ceb045a678208efd060efc979cffebb0940, Commit Message: feat: update go-mod-bootstrap dep [Pipeline] echo 11:45:07 [semverPrep] This is not a build commit. [Pipeline] sh 11:45:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:45:07 + grep -v github /etc/ssh/ssh_known_hosts 11:45:07 + [ -e /tmp/ssh_known_hosts ] 11:45:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:45:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:45:07 + sudo tee -a /etc/ssh/ssh_known_hosts 11:45:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:45:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:45:07 11:45:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:45:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:45:08 0.1.4: Pulling from edgex-devops/py-git-semver 11:45:08 b85a868b505f: Pulling fs layer 11:45:08 e2be974225ed: Pulling fs layer 11:45:08 339a4e72a1f5: Pulling fs layer 11:45:08 988bab9f4d93: Pulling fs layer 11:45:08 1469e6f7b9e6: Pulling fs layer 11:45:08 eaf3925da568: Pulling fs layer 11:45:08 bab4dde63d76: Pulling fs layer 11:45:08 bde34c3a00c8: Pulling fs layer 11:45:08 b352a97aabf1: Pulling fs layer 11:45:08 4872d77fe225: Pulling fs layer 11:45:08 5851b861e8e6: Pulling fs layer 11:45:08 eaf3925da568: Waiting 11:45:08 b352a97aabf1: Waiting 11:45:08 1469e6f7b9e6: Waiting 11:45:08 bab4dde63d76: Waiting 11:45:08 bde34c3a00c8: Waiting 11:45:08 988bab9f4d93: Waiting 11:45:08 4872d77fe225: Waiting 11:45:08 5851b861e8e6: Waiting 11:45:08 e2be974225ed: Download complete 11:45:08 988bab9f4d93: Verifying Checksum 11:45:08 988bab9f4d93: Download complete 11:45:08 1469e6f7b9e6: Verifying Checksum 11:45:08 1469e6f7b9e6: Download complete 11:45:08 eaf3925da568: Verifying Checksum 11:45:08 eaf3925da568: Download complete 11:45:08 339a4e72a1f5: Verifying Checksum 11:45:08 339a4e72a1f5: Download complete 11:45:08 bde34c3a00c8: Verifying Checksum 11:45:08 bde34c3a00c8: Download complete 11:45:08 b352a97aabf1: Verifying Checksum 11:45:08 b352a97aabf1: Download complete 11:45:08 4872d77fe225: Download complete 11:45:08 5851b861e8e6: Download complete 11:45:08 b85a868b505f: Verifying Checksum 11:45:08 b85a868b505f: Download complete 11:45:08 bab4dde63d76: Verifying Checksum 11:45:08 bab4dde63d76: Download complete 11:45:09 b85a868b505f: Pull complete 11:45:09 e2be974225ed: Pull complete 11:45:09 339a4e72a1f5: Pull complete 11:45:10 988bab9f4d93: Pull complete 11:45:10 1469e6f7b9e6: Pull complete 11:45:10 eaf3925da568: Pull complete 11:45:11 bab4dde63d76: Pull complete 11:45:12 bde34c3a00c8: Pull complete 11:45:12 b352a97aabf1: Pull complete 11:45:12 4872d77fe225: Pull complete 11:45:12 5851b861e8e6: Pull complete 11:45:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:45:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:45:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:45:12 prd-ubuntu20.04-docker-8c-8g-5855 does not seem to be running inside a container 11:45:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1601 -v /w/workspace/gexfoundry_device-sdk-go_PR-1601:/w/workspace/gexfoundry_device-sdk-go_PR-1601:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:45:13 $ docker top 05cf0345c579d0120d02b40975d398c2d6fd8378233002c836ffd4fa58fb1f76 -eo pid,comm 11:45:13 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). 11:45:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:45:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:45:14 [ssh-agent] Looking for ssh-agent implementation... 11:45:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:45:14 $ docker exec 05cf0345c579d0120d02b40975d398c2d6fd8378233002c836ffd4fa58fb1f76 ssh-agent 11:45:14 SSH_AUTH_SOCK=/tmp/ssh-dJX0AwTqVd0G/agent.33 11:45:14 SSH_AGENT_PID=39 11:45:14 Running ssh-add (command line suppressed) 11:45:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp/private_key_4109382414599828682.key (/w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp/private_key_4109382414599828682.key) 11:45:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:45:14 + git tag --points-at HEAD [Pipeline] } 11:45:14 $ docker exec --env ******** --env ******** 05cf0345c579d0120d02b40975d398c2d6fd8378233002c836ffd4fa58fb1f76 ssh-agent -k 11:45:14 unset SSH_AUTH_SOCK; 11:45:14 unset SSH_AGENT_PID; 11:45:14 echo Agent pid 39 killed; 11:45:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:45:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:45:15 [ssh-agent] Looking for ssh-agent implementation... 11:45:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:45:15 $ docker exec 05cf0345c579d0120d02b40975d398c2d6fd8378233002c836ffd4fa58fb1f76 ssh-agent 11:45:15 SSH_AUTH_SOCK=/tmp/ssh-tZsbkbU9VmRQ/agent.72 11:45:15 SSH_AGENT_PID=78 11:45:15 Running ssh-add (command line suppressed) 11:45:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp/private_key_17731229972598816261.key (/w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp/private_key_17731229972598816261.key) 11:45:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:45:15 + git semver init 11:45:16 2024-07-18 11:45:15,954 [run_init] DEBUG init version:0.0.0 force:False 11:45:16 2024-07-18 11:45:15,955 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1601/.semver 11:45:16 2024-07-18 11:45:15,956 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1601/.semver 11:45:16 2024-07-18 11:45:15,956 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1601/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1601, universal_newlines=False, shell=None, istream=None) 11:45:17 2024-07-18 11:45:17,841 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1601/.git/info/exclude 11:45:17 2024-07-18 11:45:17,842 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1601/.semver/PR-1601 with force:False 11:45:17 2024-07-18 11:45:17,842 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1601/.semver/PR-1601 11:45:17 2024-07-18 11:45:17,848 [execute] INFO git cat-file --batch-check 11:45:17 2024-07-18 11:45:17,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1601/.semver, universal_newlines=False, shell=None, istream=) 11:45:17 2024-07-18 11:45:17,854 [execute] INFO git cat-file --batch 11:45:17 2024-07-18 11:45:17,854 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1601/.semver, universal_newlines=False, shell=None, istream=) 11:45:17 2024-07-18 11:45:17,859 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1601/.semver/PR-1601 11:45:17 0.0.0 [Pipeline] } 11:45:17 $ docker exec --env ******** --env ******** 05cf0345c579d0120d02b40975d398c2d6fd8378233002c836ffd4fa58fb1f76 ssh-agent -k 11:45:18 unset SSH_AUTH_SOCK; 11:45:18 unset SSH_AGENT_PID; 11:45:18 echo Agent pid 78 killed; 11:45:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:45:18 + git semver [Pipeline] } 11:45:18 $ docker stop --time=1 05cf0345c579d0120d02b40975d398c2d6fd8378233002c836ffd4fa58fb1f76 11:45:20 $ docker rm -f --volumes 05cf0345c579d0120d02b40975d398c2d6fd8378233002c836ffd4fa58fb1f76 [Pipeline] // withDockerContainer [Pipeline] sh 11:45:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:45:20 Stashed 1 file(s) [Pipeline] echo 11:45:20 [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 11:45:21 provisioning config files... 11:45:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp/config10914146052422577990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:45:21 ---> ****-login.sh 11:45:21 nexus3.edgexfoundry.org:10001 11:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:45:21 Configure a credential helper to remove this warning. See 11:45:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:45:21 11:45:21 Login Succeeded 11:45:21 nexus3.edgexfoundry.org:10002 11:45:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:45:21 Configure a credential helper to remove this warning. See 11:45:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:45:21 11:45:21 Login Succeeded 11:45:21 nexus3.edgexfoundry.org:10003 11:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:45:22 Configure a credential helper to remove this warning. See 11:45:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:45:22 11:45:22 Login Succeeded 11:45:22 nexus3.edgexfoundry.org:10004 11:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:45:22 Configure a credential helper to remove this warning. See 11:45:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:45:22 11:45:22 Login Succeeded 11:45:22 ****.io 11:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:45:22 Configure a credential helper to remove this warning. See 11:45:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:45:22 11:45:22 Login Succeeded 11:45:22 ---> ****-login.sh ends [Pipeline] } 11:45:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:45:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:45:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:45:22 ========================================================= 11:45:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:45:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:45:23 + 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 . 11:45:23 Sending build context to Docker daemon 25.16MB 11:45:23 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 11:45:23 Step 2/10 : FROM ${BASE} AS builder 11:45:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:45:23 619be1103602: Pulling fs layer 11:45:23 7862e08f4a3e: Pulling fs layer 11:45:23 5df492c9dc93: Pulling fs layer 11:45:23 7629e6793208: Pulling fs layer 11:45:23 4f4fb700ef54: Pulling fs layer 11:45:23 fb5054dd5b73: Pulling fs layer 11:45:23 eeca6798cff9: Pulling fs layer 11:45:23 aa269ceb94a6: Pulling fs layer 11:45:23 ada007ff1a6a: Pulling fs layer 11:45:23 fb5054dd5b73: Waiting 11:45:23 4f4fb700ef54: Waiting 11:45:23 7629e6793208: Waiting 11:45:23 ada007ff1a6a: Waiting 11:45:23 aa269ceb94a6: Waiting 11:45:23 eeca6798cff9: Waiting 11:45:23 7862e08f4a3e: Download complete 11:45:23 7629e6793208: Verifying Checksum 11:45:23 7629e6793208: Download complete 11:45:23 4f4fb700ef54: Download complete 11:45:23 fb5054dd5b73: Verifying Checksum 11:45:23 fb5054dd5b73: Download complete 11:45:23 619be1103602: Verifying Checksum 11:45:23 619be1103602: Download complete 11:45:23 eeca6798cff9: Verifying Checksum 11:45:23 eeca6798cff9: Download complete 11:45:23 619be1103602: Pull complete 11:45:23 7862e08f4a3e: Pull complete 11:45:23 ada007ff1a6a: Verifying Checksum 11:45:23 ada007ff1a6a: Download complete 11:45:24 5df492c9dc93: Verifying Checksum 11:45:24 5df492c9dc93: Download complete 11:45:24 aa269ceb94a6: Verifying Checksum 11:45:24 aa269ceb94a6: Download complete 11:45:26 5df492c9dc93: Pull complete 11:45:26 7629e6793208: Pull complete 11:45:26 4f4fb700ef54: Pull complete 11:45:26 fb5054dd5b73: Pull complete 11:45:27 eeca6798cff9: Pull complete 11:45:29 aa269ceb94a6: Pull complete 11:45:29 ada007ff1a6a: Pull complete 11:45:29 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 11:45:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:45:29 ---> f489d0715acc 11:45:29 Step 3/10 : ARG MAKE=make build 11:45:31 ---> Running in 8d7a5445db3f 11:45:31 Removing intermediate container 8d7a5445db3f 11:45:31 ---> f91498c7741d 11:45:31 Step 4/10 : WORKDIR /device-sdk-go 11:45:31 ---> Running in d0b85a32037c 11:45:31 Removing intermediate container d0b85a32037c 11:45:31 ---> 751d2e3b8ac5 11:45:31 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:45:31 ---> Running in d2e7c33eb9a2 11:45:31 Removing intermediate container d2e7c33eb9a2 11:45:31 ---> b9b4a424838f 11:45:31 Step 6/10 : RUN apk add --update --no-cache make git 11:45:31 ---> Running in ad816abc98b4 11:45:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:45:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:45:32 OK: 264 MiB in 52 packages 11:45:32 Removing intermediate container ad816abc98b4 11:45:32 ---> 0890e6018696 11:45:32 Step 7/10 : COPY go.mod vendor* ./ 11:45:32 ---> aabaaf63a7fb 11:45:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:45:32 ---> Running in b0104d96f468 11:45:36 Still waiting to schedule task 11:45:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:46:31 Removing intermediate container b0104d96f468 11:46:31 ---> 2ddb75fde117 11:46:31 Step 9/10 : COPY . . 11:46:31 ---> 0071f5ba3c08 11:46:31 Step 10/10 : RUN ${MAKE} 11:46:31 ---> Running in 3738a27aa92c 11:46:31 noop 11:46:31 Removing intermediate container 3738a27aa92c 11:46:31 ---> caea80806fbe 11:46:31 Successfully built caea80806fbe 11:46:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:32 + docker inspect -f . ci-base-image-x86_64 11:46:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:46:32 prd-ubuntu20.04-docker-8c-8g-5855 does not seem to be running inside a container 11:46:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1601 -v /w/workspace/gexfoundry_device-sdk-go_PR-1601:/w/workspace/gexfoundry_device-sdk-go_PR-1601:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:46:32 $ docker top ad51b1e0689a9149aeddf7cc68d6db5843d9220c1020668f08f0466f16013f19 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:33 + go version 11:46:33 go version go1.21.9 linux/amd64 [Pipeline] } 11:46:33 $ docker stop --time=1 ad51b1e0689a9149aeddf7cc68d6db5843d9220c1020668f08f0466f16013f19 11:46:34 $ docker rm -f --volumes ad51b1e0689a9149aeddf7cc68d6db5843d9220c1020668f08f0466f16013f19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:35 + docker inspect -f . ci-base-image-x86_64 11:46:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:46:35 prd-ubuntu20.04-docker-8c-8g-5855 does not seem to be running inside a container 11:46:35 $ 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-1601 -v /w/workspace/gexfoundry_device-sdk-go_PR-1601:/w/workspace/gexfoundry_device-sdk-go_PR-1601:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:46:35 $ docker top 113c4cfd2964538ec8c55df9f6205b1dac430a8730ae174a15cd25271730d9e8 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1601 [Pipeline] fileExists [Pipeline] sh 11:46:36 + make test 11:46:36 go test -race -coverprofile=coverage.out ./... 11:46:43 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:47:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5859 in /w/workspace/gexfoundry_device-sdk-go_PR-1601 [Pipeline] { [Pipeline] ws 11:47:03 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 11:47:03 The recommended git tool is: git 11:47:08 using credential edgex-jenkins-ssh 11:47:08 Cloning the remote Git repository 11:47:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:47:08 > git init /w/workspace/device-sdk-go/1 # timeout=10 11:47:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:47:09 > git --version # timeout=10 11:47:09 > git --version # 'git version 2.25.1' 11:47:09 using GIT_SSH to set credentials SSH Credentials for GitHub 11:47:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:47:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:47:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:47:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:47:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:47:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:47:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:47:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:47:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.020s coverage: 27.0% of statements 11:47:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.030s coverage: 80.0% of statements 11:47:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.051s coverage: 86.0% of statements 11:47:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:47:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:47:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:47:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.062s coverage: 55.2% of statements 11:47:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:47:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.033s coverage: 14.4% of statements 11:47:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.125s coverage: 44.6% of statements 11:47:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.050s coverage: 68.5% of statements 11:47:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.079s coverage: 89.2% of statements 11:47:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.059s coverage: 5.4% of statements 11:47:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:47:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:47:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:47:14 Merging remotes/origin/main commit 119f0d3508c34fcb2e951725a389e94afb6ed809 into PR head commit 7c513ceb045a678208efd060efc979cffebb0940 11:47:14 Merge succeeded, producing 7c513ceb045a678208efd060efc979cffebb0940 11:47:14 Checking out Revision 7c513ceb045a678208efd060efc979cffebb0940 (PR-1601) 11:47:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:47:13 using GIT_SSH to set credentials SSH Credentials for GitHub 11:47:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1601/head:refs/remotes/origin/PR-1601 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:47:14 > git config core.sparsecheckout # timeout=10 11:47:14 > git checkout -f 7c513ceb045a678208efd060efc979cffebb0940 # timeout=10 11:47:14 > git remote # timeout=10 11:47:14 > git config --get remote.origin.url # timeout=10 11:47:14 using GIT_SSH to set credentials SSH Credentials for GitHub 11:47:14 > git merge 119f0d3508c34fcb2e951725a389e94afb6ed809 # timeout=10 11:47:14 > git rev-parse HEAD^{commit} # timeout=10 11:47:14 > git config core.sparsecheckout # timeout=10 11:47:14 > git checkout -f 7c513ceb045a678208efd060efc979cffebb0940 # timeout=10 11:47:18 Commit message: "feat: update go-mod-bootstrap dep" 11:47:18 > git --version # timeout=10 11:47:18 > git --version # 'git version 2.25.1' 11:47:18 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:47:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:47:20 % Total % Received % Xferd Average Speed Time Time Time Current 11:47:20 Dload Upload Total Spent Left Speed 11:47:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 92956 [Pipeline] sh 11:47:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:47:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:47:21 + sudo tee /etc/docker/daemon.new 11:47:21 { 11:47:21 "registry-mirrors": [ 11:47:21 "https://nexus3.edgexfoundry.org:10001" 11:47:21 ], 11:47:21 "bip": "10.250.0.254/24", 11:47:21 "hosts": [ 11:47:21 "tcp://0.0.0.0:5555", 11:47:21 "unix:///var/run/docker.sock" 11:47:21 ], 11:47:21 "mtu": 1458, 11:47:21 "selinux-enabled": true, 11:47:21 "seccomp-profile": "/etc/docker/seccomp.json" 11:47:21 } [Pipeline] sh 11:47:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:47:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:47:40 provisioning config files... 11:47:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8164926239892897494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:47:40 ---> ****-login.sh 11:47:40 nexus3.edgexfoundry.org:10001 11:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:41 Configure a credential helper to remove this warning. See 11:47:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:41 11:47:41 Login Succeeded 11:47:41 nexus3.edgexfoundry.org:10002 11:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:42 Configure a credential helper to remove this warning. See 11:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:42 11:47:42 Login Succeeded 11:47:42 nexus3.edgexfoundry.org:10003 11:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:42 Configure a credential helper to remove this warning. See 11:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:42 11:47:42 Login Succeeded 11:47:42 nexus3.edgexfoundry.org:10004 11:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:42 Configure a credential helper to remove this warning. See 11:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:42 11:47:42 Login Succeeded 11:47:42 ****.io 11:47:42 GO111MODULE=on go vet ./... 11:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:47:43 Configure a credential helper to remove this warning. See 11:47:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:47:43 11:47:43 Login Succeeded 11:47:43 ---> ****-login.sh ends [Pipeline] } 11:47:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:47:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:47:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:47:43 ========================================================= 11:47:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:47:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47: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 . 11:47:44 Sending build context to Docker daemon 13.03MB 11:47:44 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 11:47:44 Step 2/10 : FROM ${BASE} AS builder 11:47:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:47:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:47:45 ./bin/test-attribution-txt.sh 11:47:45 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 11:47:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:47:45 c6b39de5b339: Pulling fs layer 11:47:45 a69c41024577: Pulling fs layer 11:47:45 d6de4b400683: Pulling fs layer 11:47:45 35cb2a7552d0: Pulling fs layer 11:47:45 4f4fb700ef54: Pulling fs layer 11:47:45 464afbd9ba4c: Pulling fs layer 11:47:45 00f215d4a9da: Pulling fs layer 11:47:45 d496ad576159: Pulling fs layer 11:47:45 464afbd9ba4c: Waiting 11:47:45 00f215d4a9da: Waiting 11:47:45 35cb2a7552d0: Waiting 11:47:45 4f4fb700ef54: Waiting 11:47:45 d496ad576159: Waiting 11:47:45 a69c41024577: Download complete 11:47:45 35cb2a7552d0: Verifying Checksum 11:47:45 35cb2a7552d0: Download complete 11:47:45 4f4fb700ef54: Verifying Checksum 11:47:45 4f4fb700ef54: Download complete 11:47:45 464afbd9ba4c: Verifying Checksum 11:47:45 464afbd9ba4c: Download complete 11:47:45 c6b39de5b339: Download complete 11:47:45 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 11:47:45 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 11:47:45 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 11:47:45 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 11:47:45 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 11:47:45 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 11:47:45 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 11:47:45 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 11:47:45 An attribution for golang.org/x/term is missing from Attribution.txt, please add 11:47:45 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 11:47:45 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 11:47:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:47:45 $ docker stop --time=1 113c4cfd2964538ec8c55df9f6205b1dac430a8730ae174a15cd25271730d9e8 11:47:45 d496ad576159: Download complete 11:47:46 c6b39de5b339: Pull complete 11:47:46 a69c41024577: Pull complete 11:47:47 d6de4b400683: Download complete 11:47:47 $ docker rm -f --volumes 113c4cfd2964538ec8c55df9f6205b1dac430a8730ae174a15cd25271730d9e8 11:47:48 00f215d4a9da: Verifying Checksum 11:47:48 00f215d4a9da: Download complete [Pipeline] // withDockerContainer [Pipeline] sh 11:47:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:47:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:47:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:47:49 + ls -al . 11:47:49 total 380 11:47:49 drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 11:46 . 11:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 11:44 .. 11:47:49 -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 11:44 .dockerignore 11:47:49 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 11:47 .git 11:47:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 11:44 .github 11:47:49 -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 11:44 .gitignore 11:47:49 -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 11:44 .golangci.yml 11:47:49 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 11:45 .semver 11:47:49 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 18 11:44 CHANGELOG.md 11:47:49 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 11:44 GOVERNANCE.md 11:47:49 -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 11:44 Jenkinsfile 11:47:49 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 11:44 LICENSE 11:47:49 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 18 11:44 Makefile 11:47:49 -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 11:44 OWNERS.md 11:47:49 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 18 11:44 README.md 11:47:49 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 11:45 VERSION 11:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 11:44 bin 11:47:49 -rw-r--r-- 1 jenkins jenkins 125163 Jul 18 11:47 coverage.out 11:47:49 drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 11:44 example 11:47:49 -rw-rw-r-- 1 jenkins jenkins 6995 Jul 18 11:44 go.mod 11:47:49 -rw-rw-r-- 1 jenkins jenkins 101458 Jul 18 11:44 go.sum 11:47:49 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 11:44 internal 11:47:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 11:44 openapi 11:47:49 drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 11:44 pkg 11:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 11:44 snap 11:47:49 -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 11:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:47:50 + 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=7c513ceb045a678208efd060efc979cffebb0940 --label arch=amd64 --label version=0.0.0 . 11:47:50 Sending build context to Docker daemon 25.28MB 11:47:50 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 11:47:50 Step 2/24 : FROM ${BASE} AS builder 11:47:50 ---> caea80806fbe 11:47:50 Step 3/24 : ARG MAKE=make build 11:47:50 ---> Running in 6225a6f43822 11:47:50 Removing intermediate container 6225a6f43822 11:47:50 ---> 3d039ed13372 11:47:50 Step 4/24 : WORKDIR /device-sdk-go 11:47:50 ---> Running in a48bf2770378 11:47:50 Removing intermediate container a48bf2770378 11:47:50 ---> 26a86768ad9f 11:47:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:47:50 ---> Running in f3946d41d0ea 11:47:50 Removing intermediate container f3946d41d0ea 11:47:50 ---> 8d3368f71699 11:47:50 Step 6/24 : RUN apk add --update --no-cache make git 11:47:50 ---> Running in 365a0a5b15a6 11:47:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:47:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:47:51 OK: 264 MiB in 52 packages 11:47:51 Removing intermediate container 365a0a5b15a6 11:47:51 ---> 3a261f6d1dcc 11:47:51 Step 7/24 : COPY go.mod vendor* ./ 11:47:51 ---> 84aec8d6efab 11:47:51 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:47:51 ---> Running in cce94c072154 11:47:52 Removing intermediate container cce94c072154 11:47:52 ---> 829f2350ad8e 11:47:52 Step 9/24 : COPY . . 11:47:53 ---> 0426c13e5e07 11:47:53 Step 10/24 : RUN ${MAKE} 11:47:53 ---> Running in 62912895e61b 11:47:53 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 11:48:00 d6de4b400683: Pull complete 11:48:00 35cb2a7552d0: Pull complete 11:48:01 4f4fb700ef54: Pull complete 11:48:01 464afbd9ba4c: Pull complete 11:48:11 00f215d4a9da: Pull complete 11:48:11 d496ad576159: Pull complete 11:48:11 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 11:48:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:48:11 ---> f246e2811388 11:48:11 Step 3/10 : ARG MAKE=make build 11:48:12 ---> Running in f8293a0a08cb 11:48:13 Removing intermediate container f8293a0a08cb 11:48:13 ---> 717e2ea0dee4 11:48:13 Step 4/10 : WORKDIR /device-sdk-go 11:48:13 ---> Running in 2a9a9c690f04 11:48:13 Removing intermediate container 2a9a9c690f04 11:48:13 ---> 78ac6eceb5d3 11:48:13 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:48:13 ---> Running in b78ca2dc18d6 11:48:13 Removing intermediate container b78ca2dc18d6 11:48:13 ---> dc2cca79a054 11:48:13 Step 6/10 : RUN apk add --update --no-cache make git 11:48:13 ---> Running in cf711418ee76 11:48:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:48:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:48:16 OK: 266 MiB in 52 packages 11:48:17 Removing intermediate container cf711418ee76 11:48:17 ---> 657a811602ec 11:48:17 Step 7/10 : COPY go.mod vendor* ./ 11:48:18 ---> 877098813135 11:48:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:48:18 ---> Running in 5d7c4efff00c 11:48:19 Removing intermediate container 62912895e61b 11:48:19 ---> 6bfe5208c843 11:48:19 Step 11/24 : FROM alpine:3.18 11:48:19 3.18: Pulling from library/alpine 11:48:19 73baa7ef167e: Pulling fs layer 11:48:19 73baa7ef167e: Verifying Checksum 11:48:19 73baa7ef167e: Download complete 11:48:19 73baa7ef167e: Pull complete 11:48:19 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 11:48:19 Status: Downloaded newer image for alpine:3.18 11:48:19 ---> 8fd7cac70a4a 11:48:19 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:48:19 ---> Running in f5714b2cb9e2 11:48:19 Removing intermediate container f5714b2cb9e2 11:48:19 ---> 3e47d4fda8c9 11:48:19 Step 13/24 : RUN apk add --update --no-cache dumb-init 11:48:19 ---> Running in 153492812a75 11:48:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:48:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:48:19 (1/1) Installing dumb-init (1.2.5-r2) 11:48:19 Executing busybox-1.36.1-r7.trigger 11:48:19 OK: 7 MiB in 16 packages 11:48:19 Removing intermediate container 153492812a75 11:48:19 ---> 7b03c14813da 11:48:19 Step 14/24 : RUN apk --no-cache upgrade 11:48:19 ---> Running in a5e004746f6e 11:48:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:48:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:48:20 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 11:48:20 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 11:48:20 OK: 7 MiB in 16 packages 11:48:20 Removing intermediate container a5e004746f6e 11:48:20 ---> 2965c8373332 11:48:20 Step 15/24 : WORKDIR / 11:48:20 ---> Running in 8db4da4fcb18 11:48:20 Removing intermediate container 8db4da4fcb18 11:48:20 ---> a637a7c77f82 11:48:20 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 11:48:20 ---> 9da95af2d9f8 11:48:20 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 11:48:21 ---> 569329ca5049 11:48:21 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 11:48:21 ---> 5b2d26260423 11:48:21 Step 19/24 : EXPOSE 59999 11:48:21 ---> Running in 9bc61e14d86e 11:48:21 Removing intermediate container 9bc61e14d86e 11:48:21 ---> 2b04abb48bf1 11:48:21 Step 20/24 : ENTRYPOINT ["/device-simple"] 11:48:21 ---> Running in 215a14b317c3 11:48:21 Removing intermediate container 215a14b317c3 11:48:21 ---> ced3ce503378 11:48:21 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:48:21 ---> Running in e47a4e9b6c0e 11:48:21 Removing intermediate container e47a4e9b6c0e 11:48:21 ---> 9a9482a22afb 11:48:21 Step 22/24 : LABEL arch=amd64 11:48:21 ---> Running in 4f70625a062f 11:48:21 Removing intermediate container 4f70625a062f 11:48:21 ---> 1bcbd7af7c7b 11:48:21 Step 23/24 : LABEL git_sha=7c513ceb045a678208efd060efc979cffebb0940 11:48:21 ---> Running in 393d0e9a8a2d 11:48:22 Removing intermediate container 393d0e9a8a2d 11:48:22 ---> 85b4edb866b6 11:48:22 Step 24/24 : LABEL version=0.0.0 11:48:22 ---> Running in 9002acaf89c6 11:48:22 Removing intermediate container 9002acaf89c6 11:48:22 ---> 6ba92fee8928 11:48:22 [Warning] One or more build-args [ARCH] were not consumed 11:48:22 Successfully built 6ba92fee8928 11:48:22 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:48:23 11:48:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:48:23 latest: Pulling from edgex-lftools-log-publisher 11:48:23 5eb5b503b376: Pulling fs layer 11:48:23 5c69ac0246d0: Pulling fs layer 11:48:23 ec43610c2a17: Pulling fs layer 11:48:23 3a2ae6a8a46f: Pulling fs layer 11:48:23 33b1e0a273af: Pulling fs layer 11:48:23 5d3b04190fa2: Pulling fs layer 11:48:23 2f39f015ded8: Pulling fs layer 11:48:23 2f39f015ded8: Waiting 11:48:23 3a2ae6a8a46f: Waiting 11:48:23 5c69ac0246d0: Verifying Checksum 11:48:23 5c69ac0246d0: Download complete 11:48:23 3a2ae6a8a46f: Verifying Checksum 11:48:23 3a2ae6a8a46f: Download complete 11:48:23 33b1e0a273af: Verifying Checksum 11:48:23 33b1e0a273af: Download complete 11:48:23 5d3b04190fa2: Download complete 11:48:23 ec43610c2a17: Verifying Checksum 11:48:23 ec43610c2a17: Download complete 11:48:23 5eb5b503b376: Verifying Checksum 11:48:24 2f39f015ded8: Download complete 11:48:24 5eb5b503b376: Pull complete 11:48:24 5c69ac0246d0: Pull complete 11:48:25 ec43610c2a17: Pull complete 11:48:25 3a2ae6a8a46f: Pull complete 11:48:25 33b1e0a273af: Pull complete 11:48:25 5d3b04190fa2: Pull complete 11:48:29 2f39f015ded8: Pull complete 11:48:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:48:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:48:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:48:30 prd-ubuntu20.04-docker-8c-8g-5855 does not seem to be running inside a container 11:48:30 $ 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-1601 -v /w/workspace/gexfoundry_device-sdk-go_PR-1601:/w/workspace/gexfoundry_device-sdk-go_PR-1601:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:48:31 $ docker top ba2e2b8a737c3f762d4ccef2445b1f3861a1efe61cc3717b63d729342231aa8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:48:31 ---> job-cost.sh 11:48:31 lf-activate-venv: SKIPPING 11:48:31 INFO: No Stack... 11:48:32 INFO: Retrieving Pricing Info for: v3-standard-8 11:48:32 INFO: Archiving Costs [Pipeline] sh 11:48:32 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1601/archives/cost.csv 11:48:32 + cut -d, -f6 [Pipeline] lock 11:48:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1601-1-stack-cost] 11:48:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1601-1-stack-cost] did not exist. Created. 11:48:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1601-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:48:33 + echo total: 0.2199999988079071 [Pipeline] stash 11:48:33 Stashed 1 file(s) [Pipeline] } 11:48:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1601-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:48:33 $ docker stop --time=1 ba2e2b8a737c3f762d4ccef2445b1f3861a1efe61cc3717b63d729342231aa8b 11:48:34 $ docker rm -f --volumes ba2e2b8a737c3f762d4ccef2445b1f3861a1efe61cc3717b63d729342231aa8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:50:09 Removing intermediate container 5d7c4efff00c 11:50:09 ---> 2ce1cff095f5 11:50:09 Step 9/10 : COPY . . 11:50:10 ---> e32c1a53fe44 11:50:10 Step 10/10 : RUN ${MAKE} 11:50:10 ---> Running in 6c2932a02972 11:50:11 noop 11:50:12 Removing intermediate container 6c2932a02972 11:50:12 ---> 0104ef7351d2 11:50:12 Successfully built 0104ef7351d2 11:50:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:13 + docker inspect -f . ci-base-image-arm64 11:50:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:50:13 prd-ubuntu20.04-docker-arm64-4c-16g-5859 does not seem to be running inside a container 11:50:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:50:14 $ docker top 1ffe86cfb6cadd67f614189d1b311f85c0de56475da845600fa339ae736f4875 -eo pid,comm [Pipeline] { [Pipeline] sh 11:50:15 + go version 11:50:15 go version go1.21.9 linux/arm64 [Pipeline] } 11:50:15 $ docker stop --time=1 1ffe86cfb6cadd67f614189d1b311f85c0de56475da845600fa339ae736f4875 11:50:17 $ docker rm -f --volumes 1ffe86cfb6cadd67f614189d1b311f85c0de56475da845600fa339ae736f4875 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:18 + docker inspect -f . ci-base-image-arm64 11:50:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:50:18 prd-ubuntu20.04-docker-arm64-4c-16g-5859 does not seem to be running inside a container 11:50:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:50:19 $ docker top 2054c88f310b53bc7fe9afec6881b4ed7a08f9c160366f07d35cfc6f04f547cc -eo pid,comm [Pipeline] { [Pipeline] sh 11:50:20 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 11:50:21 + make test 11:50:21 go test -race -coverprofile=coverage.out ./... 11:51:08 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:55:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 11:55:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 11:55:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 11:55:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 11:55:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 11:55:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.124s coverage: 27.0% of statements 11:55:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.174s coverage: 80.0% of statements 11:55:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 11:55:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 11:55:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.314s coverage: 86.0% of statements 11:55:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 11:55:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.526s coverage: 55.2% of statements 11:56:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.181s coverage: 14.4% of statements 11:56:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.852s coverage: 44.6% of statements 11:56:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:56:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 11:56:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.315s coverage: 68.5% of statements 11:56:08 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.430s coverage: 89.2% of statements 11:56:14 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 11:56:15 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.266s coverage: 5.4% of statements 11:56:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:56:16 GO111MODULE=on go vet ./... 12:00:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:00:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:00:23 ./bin/test-attribution-txt.sh 12:00:24 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 12:00:24 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 12:00:24 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 12:00:24 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 12:00:24 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 12:00:24 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 12:00:24 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 12:00:24 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 12:00:25 An attribution for golang.org/x/term is missing from Attribution.txt, please add 12:00:25 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 12:00:25 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 12:00:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:00:25 $ docker stop --time=1 2054c88f310b53bc7fe9afec6881b4ed7a08f9c160366f07d35cfc6f04f547cc 12:00:28 $ docker rm -f --volumes 2054c88f310b53bc7fe9afec6881b4ed7a08f9c160366f07d35cfc6f04f547cc [Pipeline] // withDockerContainer [Pipeline] sh 12:00:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:00:31 Warning: overwriting stash ‘coverage-report’ 12:00:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:00:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:00:32 + ls -al . 12:00:32 total 376 12:00:32 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 11:50 . 12:00:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 11:47 .. 12:00:32 -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 11:47 .dockerignore 12:00:32 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 11:47 .git 12:00:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 11:47 .github 12:00:32 -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 11:47 .gitignore 12:00:32 -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 11:47 .golangci.yml 12:00:32 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 18 11:47 CHANGELOG.md 12:00:32 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 11:47 GOVERNANCE.md 12:00:32 -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 11:47 Jenkinsfile 12:00:32 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 11:47 LICENSE 12:00:32 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 18 11:47 Makefile 12:00:32 -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 11:47 OWNERS.md 12:00:32 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 18 11:47 README.md 12:00:32 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 11:45 VERSION 12:00:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 11:47 bin 12:00:32 -rw-r--r-- 1 jenkins jenkins 125161 Jul 18 11:56 coverage.out 12:00:32 drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 11:47 example 12:00:32 -rw-rw-r-- 1 jenkins jenkins 6995 Jul 18 11:47 go.mod 12:00:32 -rw-rw-r-- 1 jenkins jenkins 101458 Jul 18 11:47 go.sum 12:00:32 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 11:47 internal 12:00:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 11:47 openapi 12:00:32 drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 11:47 pkg 12:00:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 11:47 snap 12:00:32 -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 11:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:33 + 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=7c513ceb045a678208efd060efc979cffebb0940 --label arch=arm64 --label version=0.0.0 . 12:00:33 Sending build context to Docker daemon 13.15MB 12:00:33 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 12:00:33 Step 2/24 : FROM ${BASE} AS builder 12:00:33 ---> 0104ef7351d2 12:00:33 Step 3/24 : ARG MAKE=make build 12:00:34 ---> Running in 412085c00ddd 12:00:34 Removing intermediate container 412085c00ddd 12:00:34 ---> 2719697cf500 12:00:34 Step 4/24 : WORKDIR /device-sdk-go 12:00:34 ---> Running in 355eb736da55 12:00:34 Removing intermediate container 355eb736da55 12:00:34 ---> 020121bcbfae 12:00:34 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:00:34 ---> Running in 05303a60eaa6 12:00:34 Removing intermediate container 05303a60eaa6 12:00:34 ---> 03e2c03bab2d 12:00:34 Step 6/24 : RUN apk add --update --no-cache make git 12:00:35 ---> Running in 309eff62c340 12:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:00:37 OK: 266 MiB in 52 packages 12:00:38 Removing intermediate container 309eff62c340 12:00:38 ---> 46b37875fbc6 12:00:38 Step 7/24 : COPY go.mod vendor* ./ 12:00:39 ---> c2a871846890 12:00:39 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:00:39 ---> Running in 417edff1ef41 12:00:41 Removing intermediate container 417edff1ef41 12:00:41 ---> da9d8af4a093 12:00:41 Step 9/24 : COPY . . 12:00:43 ---> 5ca5bebf7124 12:00:43 Step 10/24 : RUN ${MAKE} 12:00:43 ---> Running in b6317128be66 12:00:43 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 12:04:35 Removing intermediate container b6317128be66 12:04:35 ---> a04633f40382 12:04:35 Step 11/24 : FROM alpine:3.18 12:04:35 3.18: Pulling from library/alpine 12:04:35 5c905c7ebe2f: Pulling fs layer 12:04:35 5c905c7ebe2f: Download complete 12:04:35 5c905c7ebe2f: Pull complete 12:04:35 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 12:04:35 Status: Downloaded newer image for alpine:3.18 12:04:35 ---> dec292d02e07 12:04:35 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 12:04:35 ---> Running in 6356bb287a83 12:04:35 Removing intermediate container 6356bb287a83 12:04:35 ---> 940ad110f14b 12:04:35 Step 13/24 : RUN apk add --update --no-cache dumb-init 12:04:35 ---> Running in 837c9123d442 12:04:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:04:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:04:35 (1/1) Installing dumb-init (1.2.5-r2) 12:04:35 Executing busybox-1.36.1-r7.trigger 12:04:35 OK: 8 MiB in 16 packages 12:04:35 Removing intermediate container 837c9123d442 12:04:35 ---> d48dbf014361 12:04:35 Step 14/24 : RUN apk --no-cache upgrade 12:04:35 ---> Running in 87ca3d564b17 12:04:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:04:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:04:35 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 12:04:35 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 12:04:35 OK: 8 MiB in 16 packages 12:04:35 Removing intermediate container 87ca3d564b17 12:04:35 ---> be49b6785e5a 12:04:35 Step 15/24 : WORKDIR / 12:04:35 ---> Running in 098ae110876a 12:04:35 Removing intermediate container 098ae110876a 12:04:35 ---> b754054db527 12:04:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 12:04:35 ---> 1b9feab854de 12:04:35 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 12:04:37 ---> ca3d35d0e21d 12:04:37 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 12:04:37 ---> 87f1ac58f4cf 12:04:37 Step 19/24 : EXPOSE 59999 12:04:37 ---> Running in ba5d108a072c 12:04:38 Removing intermediate container ba5d108a072c 12:04:38 ---> 02b0af7b0405 12:04:38 Step 20/24 : ENTRYPOINT ["/device-simple"] 12:04:38 ---> Running in c7a81c031f59 12:04:38 Removing intermediate container c7a81c031f59 12:04:38 ---> 4b5f748c7907 12:04:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:04:38 ---> Running in a287ee64ba09 12:04:38 Removing intermediate container a287ee64ba09 12:04:38 ---> e7f13ec64bc7 12:04:38 Step 22/24 : LABEL arch=arm64 12:04:39 ---> Running in 14af196c1497 12:04:39 Removing intermediate container 14af196c1497 12:04:39 ---> dc558873738e 12:04:39 Step 23/24 : LABEL git_sha=7c513ceb045a678208efd060efc979cffebb0940 12:04:39 ---> Running in 2328e82f259d 12:04:39 Removing intermediate container 2328e82f259d 12:04:39 ---> 2deb9b468f55 12:04:39 Step 24/24 : LABEL version=0.0.0 12:04:39 ---> Running in 726b580f58a1 12:04:40 Removing intermediate container 726b580f58a1 12:04:40 ---> a885e435daf0 12:04:40 [Warning] One or more build-args [ARCH] were not consumed 12:04:40 Successfully built a885e435daf0 12:04:40 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:04:41 12:04:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:04:41 arm64: Pulling from edgex-lftools-log-publisher 12:04:41 8998bd30e6a1: Pulling fs layer 12:04:41 04944245beec: Pulling fs layer 12:04:41 699f458cf7ca: Pulling fs layer 12:04:41 765212b225bb: Pulling fs layer 12:04:41 f23df028b6ca: Pulling fs layer 12:04:41 d65c8cfc05b1: Pulling fs layer 12:04:41 2437ff75d9bd: Pulling fs layer 12:04:41 765212b225bb: Waiting 12:04:41 f23df028b6ca: Waiting 12:04:41 d65c8cfc05b1: Waiting 12:04:41 2437ff75d9bd: Waiting 12:04:41 04944245beec: Verifying Checksum 12:04:41 04944245beec: Download complete 12:04:41 765212b225bb: Verifying Checksum 12:04:41 765212b225bb: Download complete 12:04:41 f23df028b6ca: Verifying Checksum 12:04:41 f23df028b6ca: Download complete 12:04:41 d65c8cfc05b1: Verifying Checksum 12:04:41 d65c8cfc05b1: Download complete 12:04:42 699f458cf7ca: Verifying Checksum 12:04:42 699f458cf7ca: Download complete 12:04:42 8998bd30e6a1: Verifying Checksum 12:04:42 8998bd30e6a1: Download complete 12:04:45 2437ff75d9bd: Verifying Checksum 12:04:45 2437ff75d9bd: Download complete 12:04:47 8998bd30e6a1: Pull complete 12:04:47 04944245beec: Pull complete 12:04:49 699f458cf7ca: Pull complete 12:04:49 765212b225bb: Pull complete 12:04:50 f23df028b6ca: Pull complete 12:04:50 d65c8cfc05b1: Pull complete 12:05:08 2437ff75d9bd: Pull complete 12:05:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:05:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:05:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:09 prd-ubuntu20.04-docker-arm64-4c-16g-5859 does not seem to be running inside a container 12:05:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:05:12 $ docker top 0ca9c262b3bf84e5faa1be037407fbc74d7fc84437b92a62e4c9acb56b18782b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:13 ---> job-cost.sh 12:05:13 lf-activate-venv: SKIPPING 12:05:13 INFO: No Stack... 12:05:13 INFO: Retrieving Pricing Info for: v3-standard-4 12:05:14 INFO: Archiving Costs [Pipeline] sh 12:05:15 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 12:05:15 + cut -d, -f6 [Pipeline] lock 12:05:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1601-1-stack-cost] 12:05:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1601-1-stack-cost] did not exist. Created. 12:05:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1601-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:16 /w/workspace/device-sdk-go/1@tmp/durable-96168f03/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:05:17 + echo total: 0.10999999940395355 [Pipeline] stash 12:05:17 Warning: overwriting stash ‘stack-cost’ 12:05:17 Stashed 1 file(s) [Pipeline] } 12:05:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1601-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:17 $ docker stop --time=1 0ca9c262b3bf84e5faa1be037407fbc74d7fc84437b92a62e4c9acb56b18782b 12:05:18 $ docker rm -f --volumes 0ca9c262b3bf84e5faa1be037407fbc74d7fc84437b92a62e4c9acb56b18782b [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 12:05:20 provisioning config files... 12:05:20 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp/config2985238873351414221tmp [Pipeline] { [Pipeline] sh 12:05:20 + set +x 12:05:20 + curl+ -s https://codecov.io/bash 12:05:20 bash -s -- 12:05:20 12:05:20 _____ _ 12:05:20 / ____| | | 12:05:20 | | ___ __| | ___ ___ _____ __ 12:05:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:05:20 | |___| (_) | (_| | __/ (_| (_) \ V / 12:05:20 \_____\___/ \__,_|\___|\___\___/ \_/ 12:05:20 Bash-1.0.6 12:05:20 12:05:20 12:05:20 ==> git version 2.25.1 found 12:05:20 ==> 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 12:05:20 Release-Date: 2020-01-08 12:05:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:05:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:05:20 ==> Jenkins CI detected. 12:05:20 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1601 12:05:20 project root: . 12:05:20 --> token set from env 12:05:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:05:20 ==> Running gcov in . (disable via -X gcov) 12:05:20 ==> Python coveragepy not found 12:05:20 ==> Searching for coverage reports in: 12:05:20 + . 12:05:20 -> Found 1 reports 12:05:20 ==> Detecting git/mercurial file structure 12:05:20 ==> Reading reports 12:05:20 + ./coverage.out bytes=125161 12:05:20 ==> Appending adjustments 12:05:20 https://docs.codecov.io/docs/fixing-reports 12:05:21 + Found adjustments 12:05:21 ==> Gzipping contents 12:05:21 20K /tmp/codecov.4IBuir.gz 12:05:21 ==> Uploading reports 12:05:21 url: https://codecov.io 12:05:21 query: branch=PR-1601&commit=7c513ceb045a678208efd060efc979cffebb0940&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1601%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1601&job=&cmd_args= 12:05:21 -> Pinging Codecov 12:05:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1601&commit=7c513ceb045a678208efd060efc979cffebb0940&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1601%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1601&job=&cmd_args= 12:05:21 -> Uploading to 12:05:21 https://storage.googleapis.com/codecov/v4/raw/2024-07-18/7E55EF52A471D76F132DFD9A03CDDE97/7c513ceb045a678208efd060efc979cffebb0940/f6052d88-3e2c-409a-840a-22d2c04d245d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240718%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240718T120521Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb5c6ac9f483600fee8ff6de22ad9572965cd42b1965e21ab00b99e52119d3f9 12:05:21 % Total % Received % Xferd Average Speed Time Time Time Current 12:05:21 Dload Upload Total Spent Left Speed 12:05:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17071 0 0 100 17071 0 83273 --:--:-- --:--:-- --:--:-- 82868 100 17071 0 0 100 17071 0 72029 --:--:-- --:--:-- --:--:-- 71726 12:05:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7c513ceb045a678208efd060efc979cffebb0940 [Pipeline] } 12:05:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:05:24 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1601/archives ] 12:05:24 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1601/archives 12:05:24 total 16 12:05:24 drwxr-xr-x 3 root root 4096 Jul 18 11:48 . 12:05:24 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 11:48 .. 12:05:24 drwxr-xr-x 2 root root 4096 Jul 18 11:48 cost 12:05:24 -rw-r--r-- 1 root root 86 Jul 18 11:48 cost.csv 12:05:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1601/archives 12:05:24 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1601/archives 12:05:24 total 16 12:05:24 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 11:48 . 12:05:24 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 11:48 .. 12:05:24 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 11:48 cost 12:05:24 -rw-r--r-- 1 jenkins jenkins 86 Jul 18 11:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:05:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:05:25 ---> package-listing.sh 12:05:25 ++ facter osfamily 12:05:25 ++ tr '[:upper:]' '[:lower:]' 12:05:25 + OS_FAMILY=debian 12:05:25 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1601 12:05:25 + START_PACKAGES=/tmp/packages_start.txt 12:05:25 + END_PACKAGES=/tmp/packages_end.txt 12:05:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:05:25 + PACKAGES=/tmp/packages_start.txt 12:05:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1601 ']' 12:05:25 + PACKAGES=/tmp/packages_end.txt 12:05:25 + case "${OS_FAMILY}" in 12:05:25 + dpkg -l 12:05:25 + grep '^ii' 12:05:25 + '[' -f /tmp/packages_start.txt ']' 12:05:25 + '[' -f /tmp/packages_end.txt ']' 12:05:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:05:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1601 ']' 12:05:25 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1601/archives/ 12:05:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1601/archives/ [Pipeline] echo 12:05:25 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-1601/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:05:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:26 prd-ubuntu20.04-docker-8c-8g-5855 does not seem to be running inside a container 12:05:26 $ 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-1601/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-1601 -v /w/workspace/gexfoundry_device-sdk-go_PR-1601:/w/workspace/gexfoundry_device-sdk-go_PR-1601:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1601@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 12:05:30 $ docker top 2285d8e76d5e7e3f6d094498716682b1dcbdf4ba86d6d180f4bebcb22cd0410c -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:36 + touch /tmp/pre-build-complete [Pipeline] sh 12:05:37 + mkdir -p /var/log/sysstat [Pipeline] sh 12:05:37 + ls /var/log/sa-host 12:05:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:37 provisioning config files... 12:05:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1601@tmp/config3624103379149592850tmp [Pipeline] { [Pipeline] echo 12:05:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:05:37 ---> create-netrc.sh [Pipeline] } 12:05:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:05:38 ---> python-tools-install.sh [Pipeline] echo 12:05:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:05:38 ---> sudo-logs.sh 12:05:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:05:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:05:39 ---> job-cost.sh 12:05:39 lf-activate-venv: SKIPPING 12:05:39 DEBUG: total: 0.2199999988079071 12:05:39 INFO: Retrieving Stack Cost... 12:05:39 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:40 INFO: Archiving Costs [Pipeline] echo 12:05:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:05:40 ---> logs-deploy.sh 12:05:40 lf-activate-venv: SKIPPING 12:05:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1601/1 12:05:40 INFO: archiving workspace using pattern(s): 12:05:41 Archives upload complete. 12:05:41 INFO: archiving logs to Nexus