Pull request #1594 updated 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 jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 33ecc5a268fe7e18559a7952ab1e0073b5b2df72+bdc8a901b9fa238d162cc246fc149b12f5353730 (dae867c4a497c90e0f9ff04388eb143056dad427) 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-ssh11943938148158716823.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-ssh17609493754802465247.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1594/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1594/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14582987566040221092.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 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-ssh1038705934498739509.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1594/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1594/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14096272204540165574.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5613 in /w/workspace/gexfoundry_device-sdk-go_PR-1594 [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-1594 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 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/1594/head:refs/remotes/origin/PR-1594 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bdc8a901b9fa238d162cc246fc149b12f5353730 into PR head commit 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 Merge succeeded, producing 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 Checking out Revision 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 (PR-1594) > git config core.sparsecheckout # timeout=10 > git checkout -f 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 # 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 bdc8a901b9fa238d162cc246fc149b12f5353730 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 # timeout=10 Commit message: "feat: Add /profilescan API" First time build. Skipping changelog. > git rev-list --no-walk d8a40c0890ccea5e20f95572cd1093eff0cfc096 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:54:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:54:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:54:11 ========================================================= 07:54:11 EdgeX Global Pipelines Version Info 07:54:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:54:12 ------------------- 07:54:12 stable info: 07:54:12 ------------------- 07:54:12 Commited By: Ginny Guan ginny@iotechsys.com 07:54:12 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 07:54:12 Message: update stable to v1.0.260 07:54:13 ------------------- 07:54:13 experimental info: 07:54:13 ------------------- 07:54:13 Commited By: Ginny Guan ginny@iotechsys.com 07:54:13 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 07:54:13 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1594 [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1594 [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1594 [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33ecc5a [Pipeline] echo 07:54:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:54:14 provisioning config files... 07:54:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config16999612604647934269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:54:14 ---> ****-login.sh 07:54:14 nexus3.edgexfoundry.org:10001 07:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:54:14 Configure a credential helper to remove this warning. See 07:54:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:54:14 07:54:14 Login Succeeded 07:54:14 nexus3.edgexfoundry.org:10002 07:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:54:14 Configure a credential helper to remove this warning. See 07:54:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:54:14 07:54:14 Login Succeeded 07:54:14 nexus3.edgexfoundry.org:10003 07:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:54:14 Configure a credential helper to remove this warning. See 07:54:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:54:14 07:54:14 Login Succeeded 07:54:14 nexus3.edgexfoundry.org:10004 07:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:54:15 Configure a credential helper to remove this warning. See 07:54:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:54:15 07:54:15 Login Succeeded 07:54:15 ****.io 07:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:54:15 Configure a credential helper to remove this warning. See 07:54:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:54:15 07:54:15 Login Succeeded 07:54:15 ---> ****-login.sh ends [Pipeline] } 07:54:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:54:15 + git rev-list -1 --merges 33ecc5a268fe7e18559a7952ab1e0073b5b2df72~1..33ecc5a268fe7e18559a7952ab1e0073b5b2df72 [Pipeline] echo 07:54:15 -----------> git rev-list -1 --merges 33ecc5a268fe7e18559a7952ab1e0073b5b2df72~1..33ecc5a268fe7e18559a7952ab1e0073b5b2df72 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 [false] [Pipeline] sh 07:54:16 + git log --format=format:%s -1 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 [Pipeline] echo 07:54:16 ========================================================= 07:54:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:54:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:54:16 + git log --format=format:%s -1 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 [Pipeline] echo 07:54:16 [semverPrep] GIT_COMMIT: 33ecc5a268fe7e18559a7952ab1e0073b5b2df72, Commit Message: feat: Add /profilescan API [Pipeline] echo 07:54:16 [semverPrep] This is not a build commit. [Pipeline] sh 07:54:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:54:16 + grep -v github /etc/ssh/ssh_known_hosts 07:54:16 + [ -e /tmp/ssh_known_hosts ] 07:54:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:54:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:54:16 + sudo tee -a /etc/ssh/ssh_known_hosts 07:54:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:54:17 07:54:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:54:17 0.1.4: Pulling from edgex-devops/py-git-semver 07:54:17 b85a868b505f: Pulling fs layer 07:54:17 e2be974225ed: Pulling fs layer 07:54:17 339a4e72a1f5: Pulling fs layer 07:54:17 988bab9f4d93: Pulling fs layer 07:54:17 1469e6f7b9e6: Pulling fs layer 07:54:17 eaf3925da568: Pulling fs layer 07:54:17 bab4dde63d76: Pulling fs layer 07:54:17 bde34c3a00c8: Pulling fs layer 07:54:17 b352a97aabf1: Pulling fs layer 07:54:17 4872d77fe225: Pulling fs layer 07:54:17 5851b861e8e6: Pulling fs layer 07:54:17 bab4dde63d76: Waiting 07:54:17 bde34c3a00c8: Waiting 07:54:17 b352a97aabf1: Waiting 07:54:17 4872d77fe225: Waiting 07:54:17 5851b861e8e6: Waiting 07:54:17 988bab9f4d93: Waiting 07:54:17 eaf3925da568: Waiting 07:54:17 1469e6f7b9e6: Waiting 07:54:17 e2be974225ed: Verifying Checksum 07:54:17 e2be974225ed: Download complete 07:54:17 988bab9f4d93: Download complete 07:54:17 1469e6f7b9e6: Verifying Checksum 07:54:17 1469e6f7b9e6: Download complete 07:54:17 339a4e72a1f5: Verifying Checksum 07:54:17 339a4e72a1f5: Download complete 07:54:17 eaf3925da568: Verifying Checksum 07:54:17 eaf3925da568: Download complete 07:54:17 bde34c3a00c8: Download complete 07:54:17 b352a97aabf1: Download complete 07:54:17 4872d77fe225: Download complete 07:54:17 5851b861e8e6: Download complete 07:54:17 b85a868b505f: Verifying Checksum 07:54:17 b85a868b505f: Download complete 07:54:18 bab4dde63d76: Verifying Checksum 07:54:18 bab4dde63d76: Download complete 07:54:19 b85a868b505f: Pull complete 07:54:19 e2be974225ed: Pull complete 07:54:19 339a4e72a1f5: Pull complete 07:54:19 988bab9f4d93: Pull complete 07:54:20 1469e6f7b9e6: Pull complete 07:54:20 eaf3925da568: Pull complete 07:54:22 bab4dde63d76: Pull complete 07:54:22 bde34c3a00c8: Pull complete 07:54:22 b352a97aabf1: Pull complete 07:54:22 4872d77fe225: Pull complete 07:54:22 5851b861e8e6: Pull complete 07:54:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:54:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:54:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:22 prd-ubuntu20.04-docker-8c-8g-5613 does not seem to be running inside a container 07:54:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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-devops/py-git-semver:0.1.4 cat 07:54:26 $ docker top ad57427739dd2d90cb80a4e3208a6a9b748ea8b2cab88b7541f6122549a18ccc -eo pid,comm 07:54:26 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). 07:54:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:54:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:54:26 [ssh-agent] Looking for ssh-agent implementation... 07:54:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:54:26 $ docker exec ad57427739dd2d90cb80a4e3208a6a9b748ea8b2cab88b7541f6122549a18ccc ssh-agent 07:54:26 SSH_AUTH_SOCK=/tmp/ssh-KDEElFluktvQ/agent.32 07:54:26 SSH_AGENT_PID=38 07:54:26 Running ssh-add (command line suppressed) 07:54:26 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_3263848887427165898.key (/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_3263848887427165898.key) 07:54:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:54:26 + git tag --points-at HEAD [Pipeline] } 07:54:26 $ docker exec --env ******** --env ******** ad57427739dd2d90cb80a4e3208a6a9b748ea8b2cab88b7541f6122549a18ccc ssh-agent -k 07:54:26 unset SSH_AUTH_SOCK; 07:54:26 unset SSH_AGENT_PID; 07:54:26 echo Agent pid 38 killed; 07:54:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:54:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:54:26 [ssh-agent] Looking for ssh-agent implementation... 07:54:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:54:26 $ docker exec ad57427739dd2d90cb80a4e3208a6a9b748ea8b2cab88b7541f6122549a18ccc ssh-agent 07:54:27 SSH_AUTH_SOCK=/tmp/ssh-PeouBNiyk3Jz/agent.71 07:54:27 SSH_AGENT_PID=77 07:54:27 Running ssh-add (command line suppressed) 07:54:27 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_15958854084317247507.key (/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_15958854084317247507.key) 07:54:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:54:27 + git semver init 07:54:27 2024-07-15 07:54:27,680 [run_init] DEBUG init version:0.0.0 force:False 07:54:27 2024-07-15 07:54:27,680 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver 07:54:27 2024-07-15 07:54:27,681 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver 07:54:27 2024-07-15 07:54:27,681 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594, universal_newlines=False, shell=None, istream=None) 07:54:30 2024-07-15 07:54:29,781 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.git/info/exclude 07:54:30 2024-07-15 07:54:29,781 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 with force:False 07:54:30 2024-07-15 07:54:29,781 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 07:54:30 2024-07-15 07:54:29,785 [execute] INFO git cat-file --batch-check 07:54:30 2024-07-15 07:54:29,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver, universal_newlines=False, shell=None, istream=) 07:54:30 2024-07-15 07:54:29,791 [execute] INFO git cat-file --batch 07:54:30 2024-07-15 07:54:29,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver, universal_newlines=False, shell=None, istream=) 07:54:30 2024-07-15 07:54:29,797 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 07:54:30 0.0.0 [Pipeline] } 07:54:30 $ docker exec --env ******** --env ******** ad57427739dd2d90cb80a4e3208a6a9b748ea8b2cab88b7541f6122549a18ccc ssh-agent -k 07:54:30 unset SSH_AUTH_SOCK; 07:54:30 unset SSH_AGENT_PID; 07:54:30 echo Agent pid 77 killed; 07:54:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:54:35 + git semver [Pipeline] } 07:54:35 $ docker stop --time=1 ad57427739dd2d90cb80a4e3208a6a9b748ea8b2cab88b7541f6122549a18ccc 07:54:36 $ docker rm -f --volumes ad57427739dd2d90cb80a4e3208a6a9b748ea8b2cab88b7541f6122549a18ccc [Pipeline] // withDockerContainer [Pipeline] sh 07:54:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:54:37 Stashed 1 file(s) [Pipeline] echo 07:54:37 [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 07:54:37 provisioning config files... 07:54:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config11025575527623513772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:54:37 ---> ****-login.sh 07:54:37 nexus3.edgexfoundry.org:10001 07:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:54:37 Configure a credential helper to remove this warning. See 07:54:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:54:37 07:54:37 Login Succeeded 07:54:37 nexus3.edgexfoundry.org:10002 07:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:54:37 Configure a credential helper to remove this warning. See 07:54:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:54:37 07:54:37 Login Succeeded 07:54:37 nexus3.edgexfoundry.org:10003 07:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:54:38 Configure a credential helper to remove this warning. See 07:54:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:54:38 07:54:38 Login Succeeded 07:54:38 nexus3.edgexfoundry.org:10004 07:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:54:38 Configure a credential helper to remove this warning. See 07:54:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:54:38 07:54:38 Login Succeeded 07:54:38 ****.io 07:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:54:38 Configure a credential helper to remove this warning. See 07:54:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:54:38 07:54:38 Login Succeeded 07:54:38 ---> ****-login.sh ends [Pipeline] } 07:54:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:54:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:54:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:54:38 ========================================================= 07:54:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:54:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:38 + 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 . 07:54:38 Sending build context to Docker daemon 25.16MB 07:54:38 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:54:38 Step 2/10 : FROM ${BASE} AS builder 07:54:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:54:39 619be1103602: Pulling fs layer 07:54:39 7862e08f4a3e: Pulling fs layer 07:54:39 5df492c9dc93: Pulling fs layer 07:54:39 7629e6793208: Pulling fs layer 07:54:39 4f4fb700ef54: Pulling fs layer 07:54:39 fb5054dd5b73: Pulling fs layer 07:54:39 eeca6798cff9: Pulling fs layer 07:54:39 aa269ceb94a6: Pulling fs layer 07:54:39 ada007ff1a6a: Pulling fs layer 07:54:39 fb5054dd5b73: Waiting 07:54:39 eeca6798cff9: Waiting 07:54:39 aa269ceb94a6: Waiting 07:54:39 ada007ff1a6a: Waiting 07:54:39 7629e6793208: Waiting 07:54:39 4f4fb700ef54: Waiting 07:54:39 7862e08f4a3e: Download complete 07:54:39 7629e6793208: Verifying Checksum 07:54:39 7629e6793208: Download complete 07:54:39 4f4fb700ef54: Verifying Checksum 07:54:39 4f4fb700ef54: Download complete 07:54:39 fb5054dd5b73: Verifying Checksum 07:54:39 fb5054dd5b73: Download complete 07:54:39 619be1103602: Download complete 07:54:39 eeca6798cff9: Verifying Checksum 07:54:39 eeca6798cff9: Download complete 07:54:39 619be1103602: Pull complete 07:54:39 ada007ff1a6a: Verifying Checksum 07:54:39 ada007ff1a6a: Download complete 07:54:39 7862e08f4a3e: Pull complete 07:54:39 5df492c9dc93: Verifying Checksum 07:54:39 5df492c9dc93: Download complete 07:54:40 aa269ceb94a6: Verifying Checksum 07:54:40 aa269ceb94a6: Download complete 07:54:43 5df492c9dc93: Pull complete 07:54:43 7629e6793208: Pull complete 07:54:43 4f4fb700ef54: Pull complete 07:54:43 fb5054dd5b73: Pull complete 07:54:43 eeca6798cff9: Pull complete 07:54:45 aa269ceb94a6: Pull complete 07:54:45 ada007ff1a6a: Pull complete 07:54:45 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 07:54:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:54:45 ---> f489d0715acc 07:54:45 Step 3/10 : ARG MAKE=make build 07:54:51 ---> Running in 791aaa839c2a 07:54:51 Removing intermediate container 791aaa839c2a 07:54:51 ---> 1ee80fcd0a37 07:54:51 Step 4/10 : WORKDIR /device-sdk-go 07:54:51 ---> Running in 8bcc5c43c380 07:54:51 Removing intermediate container 8bcc5c43c380 07:54:51 ---> 0dd631514047 07:54:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:54:51 ---> Running in 347fd37e792e 07:54:51 Removing intermediate container 347fd37e792e 07:54:51 ---> c9dd7f671462 07:54:51 Step 6/10 : RUN apk add --update --no-cache make git 07:54:51 ---> Running in e3313f014b3e 07:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:54:51 OK: 264 MiB in 52 packages 07:54:51 Removing intermediate container e3313f014b3e 07:54:51 ---> 062d153b2990 07:54:51 Step 7/10 : COPY go.mod vendor* ./ 07:54:52 ---> 58857cc95700 07:54:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:54:52 ---> Running in fd6731a490e0 07:54:52 Still waiting to schedule task 07:54:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:56:13 Removing intermediate container fd6731a490e0 07:56:13 ---> 4332afa1b721 07:56:13 Step 9/10 : COPY . . 07:56:13 ---> d77e23ffdabd 07:56:13 Step 10/10 : RUN ${MAKE} 07:56:13 ---> Running in 7527f3584ef0 07:56:13 noop 07:56:13 Removing intermediate container 7527f3584ef0 07:56:13 ---> 71e05e033f31 07:56:13 Successfully built 71e05e033f31 07:56:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:13 + docker inspect -f . ci-base-image-x86_64 07:56:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:13 prd-ubuntu20.04-docker-8c-8g-5613 does not seem to be running inside a container 07:56:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:56:14 $ docker top ece1991bdc5d8690fa0bdf812d6e6b62f666d30c0e87770ffcded97e001bab14 -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:14 + go version 07:56:14 go version go1.21.9 linux/amd64 [Pipeline] } 07:56:14 $ docker stop --time=1 ece1991bdc5d8690fa0bdf812d6e6b62f666d30c0e87770ffcded97e001bab14 07:56:15 $ docker rm -f --volumes ece1991bdc5d8690fa0bdf812d6e6b62f666d30c0e87770ffcded97e001bab14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:16 + docker inspect -f . ci-base-image-x86_64 07:56:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:16 prd-ubuntu20.04-docker-8c-8g-5613 does not seem to be running inside a container 07:56:16 $ 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-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:56:16 $ docker top acdd50e1d4b1eb32f86e96da8209a7dfc3685b730fb5192cffe30b824be2a4d4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:17 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1594 [Pipeline] fileExists [Pipeline] sh 07:56:17 + make test 07:56:17 go test -race -coverprofile=coverage.out ./... 07:56:25 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:56:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5614 in /w/workspace/gexfoundry_device-sdk-go_PR-1594 [Pipeline] { [Pipeline] ws 07:56:28 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 07:56:31 The recommended git tool is: git 07:56:38 using credential edgex-jenkins-ssh 07:56:39 Cloning the remote Git repository 07:56:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:56:39 > git init /w/workspace/device-sdk-go/5 # timeout=10 07:56:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:56:39 > git --version # timeout=10 07:56:39 > git --version # 'git version 2.25.1' 07:56:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:56:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:56:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:56:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:56:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:56:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:56:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:56:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1594/head:refs/remotes/origin/PR-1594 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:56:45 Merging remotes/origin/main commit bdc8a901b9fa238d162cc246fc149b12f5353730 into PR head commit 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 07:56:46 Merge succeeded, producing 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 07:56:46 Checking out Revision 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 (PR-1594) 07:56:45 > git config core.sparsecheckout # timeout=10 07:56:45 > git checkout -f 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 # timeout=10 07:56:46 > git remote # timeout=10 07:56:46 > git config --get remote.origin.url # timeout=10 07:56:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:56:46 > git merge bdc8a901b9fa238d162cc246fc149b12f5353730 # timeout=10 07:56:46 > git rev-parse HEAD^{commit} # timeout=10 07:56:46 > git config core.sparsecheckout # timeout=10 07:56:46 > git checkout -f 33ecc5a268fe7e18559a7952ab1e0073b5b2df72 # timeout=10 07:56:50 Commit message: "feat: Add /profilescan API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:56:51 % Total % Received % Xferd Average Speed Time Time Time Current 07:56:51 Dload Upload Total Spent Left Speed 07:56:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 07:56:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:56:52 + sudo tee /etc/docker/daemon.new 07:56:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:56:52 { 07:56:52 "registry-mirrors": [ 07:56:52 "https://nexus3.edgexfoundry.org:10001" 07:56:52 ], 07:56:52 "bip": "10.250.0.254/24", 07:56:52 "hosts": [ 07:56:52 "tcp://0.0.0.0:5555", 07:56:52 "unix:///var/run/docker.sock" 07:56:52 ], 07:56:52 "mtu": 1458, 07:56:52 "selinux-enabled": true, 07:56:52 "seccomp-profile": "/etc/docker/seccomp.json" 07:56:52 } [Pipeline] sh 07:56:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:56:53 + sudo service docker restart 07:57:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:57:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:57:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:57:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:57:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:57:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.023s coverage: 27.0% of statements 07:57:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.030s coverage: 80.0% of statements 07:57:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:57:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:57:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:57:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements 07:57:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:57:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:57:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.072s coverage: 55.2% of statements 07:57:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:57:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.031s coverage: 14.4% of statements 07:57:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.020s coverage: 44.6% of statements 07:57:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.039s coverage: 68.5% of statements 07:57:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.087s coverage: 89.2% of statements 07:57:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.054s coverage: 5.4% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:57:11 provisioning config files... 07:57:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config12787327861848938229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:57:11 ---> ****-login.sh 07:57:11 nexus3.edgexfoundry.org:10001 07:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:57:12 Configure a credential helper to remove this warning. See 07:57:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:57:12 07:57:12 Login Succeeded 07:57:12 nexus3.edgexfoundry.org:10002 07:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:57:12 Configure a credential helper to remove this warning. See 07:57:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:57:12 07:57:12 Login Succeeded 07:57:12 nexus3.edgexfoundry.org:10003 07:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:57:13 Configure a credential helper to remove this warning. See 07:57:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:57:13 07:57:13 Login Succeeded 07:57:13 nexus3.edgexfoundry.org:10004 07:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:57:13 Configure a credential helper to remove this warning. See 07:57:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:57:13 07:57:13 Login Succeeded 07:57:13 ****.io 07:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:57:14 Configure a credential helper to remove this warning. See 07:57:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:57:14 07:57:14 Login Succeeded 07:57:14 ---> ****-login.sh ends [Pipeline] } 07:57:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:57:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:57:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:57:14 ========================================================= 07:57:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:57:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:14 + 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 . 07:57:15 Sending build context to Docker daemon 13.07MB 07:57:15 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:57:15 Step 2/10 : FROM ${BASE} AS builder 07:57:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:57:15 c6b39de5b339: Pulling fs layer 07:57:15 a69c41024577: Pulling fs layer 07:57:15 d6de4b400683: Pulling fs layer 07:57:15 35cb2a7552d0: Pulling fs layer 07:57:15 4f4fb700ef54: Pulling fs layer 07:57:15 464afbd9ba4c: Pulling fs layer 07:57:15 00f215d4a9da: Pulling fs layer 07:57:15 d496ad576159: Pulling fs layer 07:57:15 464afbd9ba4c: Waiting 07:57:15 00f215d4a9da: Waiting 07:57:15 d496ad576159: Waiting 07:57:15 4f4fb700ef54: Waiting 07:57:15 35cb2a7552d0: Waiting 07:57:15 a69c41024577: Verifying Checksum 07:57:15 a69c41024577: Download complete 07:57:15 35cb2a7552d0: Verifying Checksum 07:57:15 35cb2a7552d0: Download complete 07:57:15 4f4fb700ef54: Verifying Checksum 07:57:15 4f4fb700ef54: Download complete 07:57:15 c6b39de5b339: Verifying Checksum 07:57:15 c6b39de5b339: Download complete 07:57:15 464afbd9ba4c: Verifying Checksum 07:57:15 464afbd9ba4c: Download complete 07:57:16 d496ad576159: Verifying Checksum 07:57:16 d496ad576159: Download complete 07:57:16 c6b39de5b339: Pull complete 07:57:17 a69c41024577: Pull complete 07:57:17 d6de4b400683: Verifying Checksum 07:57:17 d6de4b400683: Download complete 07:57:18 00f215d4a9da: Verifying Checksum 07:57:18 00f215d4a9da: Download complete 07:57:31 d6de4b400683: Pull complete 07:57:31 35cb2a7552d0: Pull complete 07:57:31 4f4fb700ef54: Pull complete 07:57:31 464afbd9ba4c: Pull complete 07:57:36 GO111MODULE=on go vet ./... 07:57:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:57:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:57:38 ./bin/test-attribution-txt.sh 07:57:38 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 07:57:38 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 07:57:38 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 07:57:38 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 07:57:38 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 07:57:38 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 07:57:38 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 07:57:38 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 07:57:38 An attribution for golang.org/x/term is missing from Attribution.txt, please add 07:57:38 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 07:57:38 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 07:57:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:57:38 $ docker stop --time=1 acdd50e1d4b1eb32f86e96da8209a7dfc3685b730fb5192cffe30b824be2a4d4 07:57:39 00f215d4a9da: Pull complete 07:57:40 d496ad576159: Pull complete 07:57:40 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 07:57:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:57:40 ---> f246e2811388 07:57:40 Step 3/10 : ARG MAKE=make build 07:57:42 ---> Running in a4d95a61fabb 07:57:42 Removing intermediate container a4d95a61fabb 07:57:42 ---> 3f5ab49cd51e 07:57:42 Step 4/10 : WORKDIR /device-sdk-go 07:57:43 ---> Running in 70a1e357bed1 07:57:43 Removing intermediate container 70a1e357bed1 07:57:43 ---> d9673041e749 07:57:43 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:57:43 ---> Running in c99ef1cea925 07:57:43 Removing intermediate container c99ef1cea925 07:57:43 ---> 885920fd3deb 07:57:43 Step 6/10 : RUN apk add --update --no-cache make git 07:57:43 ---> Running in c062539d5e29 07:57:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:57:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:57:45 $ docker rm -f --volumes acdd50e1d4b1eb32f86e96da8209a7dfc3685b730fb5192cffe30b824be2a4d4 [Pipeline] // withDockerContainer [Pipeline] sh 07:57:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:57:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 07:57:46 OK: 266 MiB in 52 packages [Pipeline] sh 07:57:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:57:46 Removing intermediate container c062539d5e29 07:57:46 ---> ca86eb715663 07:57:46 Step 7/10 : COPY go.mod vendor* ./ 07:57:46 + ls -al . 07:57:46 total 380 07:57:46 drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 07:56 . 07:57:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 07:54 .. 07:57:46 -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 07:54 .dockerignore 07:57:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 07:57 .git 07:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 07:54 .github 07:57:46 -rw-rw-r-- 1 jenkins jenkins 137 Jul 15 07:54 .gitignore 07:57:46 -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 07:54 .golangci.yml 07:57:46 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 07:54 .semver 07:57:46 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 15 07:54 CHANGELOG.md 07:57:46 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 07:54 GOVERNANCE.md 07:57:46 -rw-rw-r-- 1 jenkins jenkins 885 Jul 15 07:54 Jenkinsfile 07:57:46 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 07:54 LICENSE 07:57:46 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 15 07:54 Makefile 07:57:46 -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 07:54 OWNERS.md 07:57:46 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 15 07:54 README.md 07:57:46 -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 07:54 VERSION 07:57:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 07:54 bin 07:57:46 -rw-r--r-- 1 jenkins jenkins 125161 Jul 15 07:57 coverage.out 07:57:46 drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 07:54 example 07:57:46 -rw-rw-r-- 1 jenkins jenkins 7103 Jul 15 07:54 go.mod 07:57:46 -rw-rw-r-- 1 jenkins jenkins 102085 Jul 15 07:54 go.sum 07:57:46 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 07:54 internal 07:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 07:54 openapi 07:57:46 drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 07:54 pkg 07:57:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 07:54 snap 07:57:46 -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 07:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:47 + 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=33ecc5a268fe7e18559a7952ab1e0073b5b2df72 --label arch=amd64 --label version=0.0.0 . 07:57:47 Sending build context to Docker daemon 25.29MB 07:57:47 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 07:57:47 Step 2/24 : FROM ${BASE} AS builder 07:57:47 ---> 71e05e033f31 07:57:47 Step 3/24 : ARG MAKE=make build 07:57:47 ---> 9b502a18d9fa 07:57:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:57:47 ---> Running in 03d4a934ed73 07:57:48 ---> Running in dd3867fe7db0 07:57:48 Removing intermediate container dd3867fe7db0 07:57:48 ---> 691b66497f4b 07:57:48 Step 4/24 : WORKDIR /device-sdk-go 07:57:48 ---> Running in 6196b2db5a94 07:57:48 Removing intermediate container 6196b2db5a94 07:57:48 ---> 06d1d472c950 07:57:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:57:48 ---> Running in d0bc99c9f3f5 07:57:48 Removing intermediate container d0bc99c9f3f5 07:57:48 ---> 3bee7ef47e81 07:57:48 Step 6/24 : RUN apk add --update --no-cache make git 07:57:48 ---> Running in c1a0be3d6945 07:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:57:49 OK: 264 MiB in 52 packages 07:57:49 Removing intermediate container c1a0be3d6945 07:57:49 ---> d403c771c797 07:57:49 Step 7/24 : COPY go.mod vendor* ./ 07:57:49 ---> df8732a22817 07:57:49 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:57:49 ---> Running in a38c66f48101 07:57:50 Removing intermediate container a38c66f48101 07:57:50 ---> 033828bcc2a5 07:57:50 Step 9/24 : COPY . . 07:57:51 ---> 3040d5754d7a 07:57:51 Step 10/24 : RUN ${MAKE} 07:57:51 ---> Running in bbcb935bb8e9 07:57:51 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 07:58:23 Removing intermediate container bbcb935bb8e9 07:58:23 ---> 098255fe38b5 07:58:23 Step 11/24 : FROM alpine:3.18 07:58:23 3.18: Pulling from library/alpine 07:58:24 73baa7ef167e: Pulling fs layer 07:58:24 73baa7ef167e: Verifying Checksum 07:58:24 73baa7ef167e: Download complete 07:58:24 73baa7ef167e: Pull complete 07:58:24 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 07:58:24 Status: Downloaded newer image for alpine:3.18 07:58:24 ---> 8fd7cac70a4a 07:58:24 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:58:24 ---> Running in 0f632ad76313 07:58:24 Removing intermediate container 0f632ad76313 07:58:24 ---> 6939aa6fd4dc 07:58:24 Step 13/24 : RUN apk add --update --no-cache dumb-init 07:58:24 ---> Running in eff1cc4a9d53 07:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:58:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:58:25 (1/1) Installing dumb-init (1.2.5-r2) 07:58:25 Executing busybox-1.36.1-r7.trigger 07:58:25 OK: 7 MiB in 16 packages 07:58:25 Removing intermediate container eff1cc4a9d53 07:58:25 ---> 2471ffc179f3 07:58:25 Step 14/24 : RUN apk --no-cache upgrade 07:58:25 ---> Running in c04c9a296455 07:58:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:58:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:58:26 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 07:58:26 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 07:58:26 OK: 7 MiB in 16 packages 07:58:26 Removing intermediate container c04c9a296455 07:58:26 ---> 114d3b467bb2 07:58:26 Step 15/24 : WORKDIR / 07:58:26 ---> Running in 27b8dd53986e 07:58:26 Removing intermediate container 27b8dd53986e 07:58:26 ---> 6e6b7e53d27f 07:58:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:58:27 ---> 7508798d47e7 07:58:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:58:28 ---> 1278d240bb44 07:58:28 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:58:28 ---> 8033f9af1071 07:58:28 Step 19/24 : EXPOSE 59999 07:58:28 ---> Running in 9f36958eeea9 07:58:28 Removing intermediate container 9f36958eeea9 07:58:28 ---> c8d3f797099d 07:58:28 Step 20/24 : ENTRYPOINT ["/device-simple"] 07:58:28 ---> Running in 096cd0584e4c 07:58:28 Removing intermediate container 096cd0584e4c 07:58:28 ---> e487c396d4fd 07:58:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:58:28 ---> Running in ebc394ae5e87 07:58:28 Removing intermediate container ebc394ae5e87 07:58:28 ---> b64984a34cf5 07:58:28 Step 22/24 : LABEL arch=amd64 07:58:28 ---> Running in 8fa04beec48d 07:58:28 Removing intermediate container 8fa04beec48d 07:58:28 ---> 078f305fbd8d 07:58:28 Step 23/24 : LABEL git_sha=33ecc5a268fe7e18559a7952ab1e0073b5b2df72 07:58:28 ---> Running in 9b3061c5eaf8 07:58:28 Removing intermediate container 9b3061c5eaf8 07:58:28 ---> d0f7bd785214 07:58:28 Step 24/24 : LABEL version=0.0.0 07:58:28 ---> Running in 9b47535fc30e 07:58:28 Removing intermediate container 9b47535fc30e 07:58:28 ---> 7a3f58a6a66f 07:58:28 [Warning] One or more build-args [ARCH] were not consumed 07:58:29 Successfully built 7a3f58a6a66f 07:58:29 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 07:58:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:29 07:58:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:30 latest: Pulling from edgex-lftools-log-publisher 07:58:30 5eb5b503b376: Pulling fs layer 07:58:30 5c69ac0246d0: Pulling fs layer 07:58:30 ec43610c2a17: Pulling fs layer 07:58:30 3a2ae6a8a46f: Pulling fs layer 07:58:30 33b1e0a273af: Pulling fs layer 07:58:30 5d3b04190fa2: Pulling fs layer 07:58:30 2f39f015ded8: Pulling fs layer 07:58:30 33b1e0a273af: Waiting 07:58:30 2f39f015ded8: Waiting 07:58:30 5d3b04190fa2: Waiting 07:58:30 3a2ae6a8a46f: Waiting 07:58:30 5c69ac0246d0: Verifying Checksum 07:58:30 5c69ac0246d0: Download complete 07:58:30 3a2ae6a8a46f: Verifying Checksum 07:58:30 3a2ae6a8a46f: Download complete 07:58:30 33b1e0a273af: Verifying Checksum 07:58:30 33b1e0a273af: Download complete 07:58:30 ec43610c2a17: Verifying Checksum 07:58:30 ec43610c2a17: Download complete 07:58:30 5d3b04190fa2: Verifying Checksum 07:58:30 5d3b04190fa2: Download complete 07:58:30 5eb5b503b376: Verifying Checksum 07:58:30 5eb5b503b376: Download complete 07:58:30 2f39f015ded8: Download complete 07:58:31 5eb5b503b376: Pull complete 07:58:31 5c69ac0246d0: Pull complete 07:58:31 ec43610c2a17: Pull complete 07:58:31 3a2ae6a8a46f: Pull complete 07:58:32 33b1e0a273af: Pull complete 07:58:32 5d3b04190fa2: Pull complete 07:58:40 2f39f015ded8: Pull complete 07:58:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:58:42 prd-ubuntu20.04-docker-8c-8g-5613 does not seem to be running inside a container 07:58:42 $ 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-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:58:42 $ docker top 26951b561be406775fb3a4f411dc787ed90dd8784e25a1a8fb0c7b5f0e198baf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:43 ---> job-cost.sh 07:58:43 lf-activate-venv: SKIPPING 07:58:43 INFO: No Stack... 07:58:43 INFO: Retrieving Pricing Info for: v3-standard-8 07:58:43 INFO: Archiving Costs [Pipeline] sh 07:58:44 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/cost.csv 07:58:44 + cut -d, -f6 [Pipeline] lock 07:58:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-5-stack-cost] 07:58:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1594-5-stack-cost] did not exist. Created. 07:58:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:58:44 + echo total: 0.2199999988079071 [Pipeline] stash 07:58:44 Stashed 1 file(s) [Pipeline] } 07:58:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-5-stack-cost] [Pipeline] // lock [Pipeline] } 07:58:44 $ docker stop --time=1 26951b561be406775fb3a4f411dc787ed90dd8784e25a1a8fb0c7b5f0e198baf 07:58:45 $ docker rm -f --volumes 26951b561be406775fb3a4f411dc787ed90dd8784e25a1a8fb0c7b5f0e198baf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:59:39 Removing intermediate container 03d4a934ed73 07:59:39 ---> 81fc224e4cab 07:59:39 Step 9/10 : COPY . . 07:59:39 ---> 19aa68361103 07:59:39 Step 10/10 : RUN ${MAKE} 07:59:39 ---> Running in d26e3b1ecd37 07:59:39 noop 07:59:39 Removing intermediate container d26e3b1ecd37 07:59:39 ---> 665a2514c4f3 07:59:39 Successfully built 665a2514c4f3 07:59:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:39 + docker inspect -f . ci-base-image-arm64 07:59:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:59:39 prd-ubuntu20.04-docker-arm64-4c-16g-5614 does not seem to be running inside a container 07:59:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:59:40 $ docker top 7f60b12588e87c884b14dde99021b27b85fff4531384200f31c87e02e357b818 -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:41 + go version 07:59:41 go version go1.21.9 linux/arm64 [Pipeline] } 07:59:41 $ docker stop --time=1 7f60b12588e87c884b14dde99021b27b85fff4531384200f31c87e02e357b818 07:59:43 $ docker rm -f --volumes 7f60b12588e87c884b14dde99021b27b85fff4531384200f31c87e02e357b818 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:44 + docker inspect -f . ci-base-image-arm64 07:59:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:59:44 prd-ubuntu20.04-docker-arm64-4c-16g-5614 does not seem to be running inside a container 07:59:44 $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:59:45 $ docker top 632ea591c1f4a2f8110f0de5f3e095d57a85d2ed5858e04312724de87c918da4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:46 + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh 07:59:46 + make test 07:59:46 go test -race -coverprofile=coverage.out ./... 08:00:27 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 08:03:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 08:03:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 08:03:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 08:03:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 08:03:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 08:03:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.121s coverage: 27.0% of statements 08:03:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.166s coverage: 80.0% of statements 08:04:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 08:04:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 08:04:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.263s coverage: 86.0% of statements 08:04:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 08:04:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.438s coverage: 55.2% of statements 08:04:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.185s coverage: 14.4% of statements 08:04:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.720s coverage: 44.6% of statements 08:04:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 08:04:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 08:04:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.307s coverage: 68.5% of statements 08:04:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.425s coverage: 89.2% of statements 08:04:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 08:04:23 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.243s coverage: 5.4% of statements 08:04:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:04:24 GO111MODULE=on go vet ./... 08:08:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:08:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:08:16 ./bin/test-attribution-txt.sh 08:08:16 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 08:08:16 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 08:08:16 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 08:08:16 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 08:08:16 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 08:08:16 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 08:08:16 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 08:08:16 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 08:08:16 An attribution for golang.org/x/term is missing from Attribution.txt, please add 08:08:16 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 08:08:16 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 08:08:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:08:16 $ docker stop --time=1 632ea591c1f4a2f8110f0de5f3e095d57a85d2ed5858e04312724de87c918da4 08:08:18 $ docker rm -f --volumes 632ea591c1f4a2f8110f0de5f3e095d57a85d2ed5858e04312724de87c918da4 [Pipeline] // withDockerContainer [Pipeline] sh 08:08:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:08:20 Warning: overwriting stash ‘coverage-report’ 08:08:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:08:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:08:22 + ls -al . 08:08:22 total 376 08:08:22 drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 07:59 . 08:08:22 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 07:56 .. 08:08:22 -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 07:56 .dockerignore 08:08:22 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 07:56 .git 08:08:22 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 07:56 .github 08:08:22 -rw-rw-r-- 1 jenkins jenkins 137 Jul 15 07:56 .gitignore 08:08:22 -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 07:56 .golangci.yml 08:08:22 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 15 07:56 CHANGELOG.md 08:08:22 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 07:56 GOVERNANCE.md 08:08:22 -rw-rw-r-- 1 jenkins jenkins 885 Jul 15 07:56 Jenkinsfile 08:08:22 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 07:56 LICENSE 08:08:22 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 15 07:56 Makefile 08:08:22 -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 07:56 OWNERS.md 08:08:22 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 15 07:56 README.md 08:08:22 -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 07:54 VERSION 08:08:22 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 07:56 bin 08:08:22 -rw-r--r-- 1 jenkins jenkins 125161 Jul 15 08:04 coverage.out 08:08:22 drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 07:56 example 08:08:22 -rw-rw-r-- 1 jenkins jenkins 7103 Jul 15 07:56 go.mod 08:08:22 -rw-rw-r-- 1 jenkins jenkins 102085 Jul 15 07:56 go.sum 08:08:22 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 07:56 internal 08:08:22 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 07:56 openapi 08:08:22 drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 07:56 pkg 08:08:22 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 07:56 snap 08:08:22 -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 07:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:08:22 + 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=33ecc5a268fe7e18559a7952ab1e0073b5b2df72 --label arch=arm64 --label version=0.0.0 . 08:08:23 Sending build context to Docker daemon 13.19MB 08:08:23 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 08:08:23 Step 2/24 : FROM ${BASE} AS builder 08:08:23 ---> 665a2514c4f3 08:08:23 Step 3/24 : ARG MAKE=make build 08:08:23 ---> Running in e7170a98ee38 08:08:23 Removing intermediate container e7170a98ee38 08:08:23 ---> d42a956f809a 08:08:23 Step 4/24 : WORKDIR /device-sdk-go 08:08:23 ---> Running in 1fe9dcadb2f7 08:08:23 Removing intermediate container 1fe9dcadb2f7 08:08:23 ---> 12e51a4288d3 08:08:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:08:23 ---> Running in 148a0e3870a1 08:08:24 Removing intermediate container 148a0e3870a1 08:08:24 ---> 1ffb9d8f66a3 08:08:24 Step 6/24 : RUN apk add --update --no-cache make git 08:08:24 ---> Running in 42a81998d64a 08:08:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:08:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:08:27 OK: 266 MiB in 52 packages 08:08:27 Removing intermediate container 42a81998d64a 08:08:27 ---> c09bbb6a44c9 08:08:27 Step 7/24 : COPY go.mod vendor* ./ 08:08:28 ---> e86283f82414 08:08:28 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:08:28 ---> Running in a1a29ac03dcc 08:08:30 Removing intermediate container a1a29ac03dcc 08:08:30 ---> 170a244230f4 08:08:30 Step 9/24 : COPY . . 08:08:32 ---> 7293db517b3a 08:08:32 Step 10/24 : RUN ${MAKE} 08:08:32 ---> Running in b3712e245567 08:08:33 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 08:11:54 Removing intermediate container b3712e245567 08:11:54 ---> 3ad63cb501a9 08:11:54 Step 11/24 : FROM alpine:3.18 08:11:54 3.18: Pulling from library/alpine 08:11:54 5c905c7ebe2f: Pulling fs layer 08:11:54 5c905c7ebe2f: Verifying Checksum 08:11:54 5c905c7ebe2f: Download complete 08:11:54 5c905c7ebe2f: Pull complete 08:11:54 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 08:11:54 Status: Downloaded newer image for alpine:3.18 08:11:54 ---> dec292d02e07 08:11:54 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:11:54 ---> Running in 6ee955b78dc6 08:11:54 Removing intermediate container 6ee955b78dc6 08:11:54 ---> 9e9c9e49fad8 08:11:54 Step 13/24 : RUN apk add --update --no-cache dumb-init 08:11:54 ---> Running in aadd997e2113 08:11:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:11:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:11:54 (1/1) Installing dumb-init (1.2.5-r2) 08:11:54 Executing busybox-1.36.1-r7.trigger 08:11:54 OK: 8 MiB in 16 packages 08:11:54 Removing intermediate container aadd997e2113 08:11:54 ---> b417e22f75ff 08:11:54 Step 14/24 : RUN apk --no-cache upgrade 08:11:54 ---> Running in ec9f0492ed68 08:11:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:11:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:11:57 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 08:11:57 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 08:11:57 OK: 8 MiB in 16 packages 08:11:58 Removing intermediate container ec9f0492ed68 08:11:58 ---> 7d501f32d884 08:11:58 Step 15/24 : WORKDIR / 08:11:58 ---> Running in af59b0d0cce8 08:11:58 Removing intermediate container af59b0d0cce8 08:11:58 ---> 7988aa1a34be 08:11:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:11:58 ---> f0f930003d03 08:11:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:12:01 ---> d141a4455be5 08:12:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:12:01 ---> 3b186b050d10 08:12:01 Step 19/24 : EXPOSE 59999 08:12:01 ---> Running in f8a7c12ee6d2 08:12:01 Removing intermediate container f8a7c12ee6d2 08:12:01 ---> 98390a680f7b 08:12:01 Step 20/24 : ENTRYPOINT ["/device-simple"] 08:12:02 ---> Running in c974cc1f9d1e 08:12:02 Removing intermediate container c974cc1f9d1e 08:12:02 ---> 9aa4ba11f8ac 08:12:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:12:02 ---> Running in cbe96da8e52d 08:12:02 Removing intermediate container cbe96da8e52d 08:12:02 ---> 4ed75b8a9ff7 08:12:02 Step 22/24 : LABEL arch=arm64 08:12:02 ---> Running in 0cc0ef2e1100 08:12:03 Removing intermediate container 0cc0ef2e1100 08:12:03 ---> 218f2929605b 08:12:03 Step 23/24 : LABEL git_sha=33ecc5a268fe7e18559a7952ab1e0073b5b2df72 08:12:03 ---> Running in 72ca90f6e251 08:12:03 Removing intermediate container 72ca90f6e251 08:12:03 ---> 311caffd6eaa 08:12:03 Step 24/24 : LABEL version=0.0.0 08:12:03 ---> Running in 4e51d048da6d 08:12:03 Removing intermediate container 4e51d048da6d 08:12:03 ---> dd607d95efb3 08:12:03 [Warning] One or more build-args [ARCH] were not consumed 08:12:03 Successfully built dd607d95efb3 08:12:03 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 08:12:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:12:04 08:12:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:12:04 arm64: Pulling from edgex-lftools-log-publisher 08:12:04 8998bd30e6a1: Pulling fs layer 08:12:04 04944245beec: Pulling fs layer 08:12:04 699f458cf7ca: Pulling fs layer 08:12:04 765212b225bb: Pulling fs layer 08:12:04 f23df028b6ca: Pulling fs layer 08:12:04 d65c8cfc05b1: Pulling fs layer 08:12:04 2437ff75d9bd: Pulling fs layer 08:12:04 f23df028b6ca: Waiting 08:12:04 d65c8cfc05b1: Waiting 08:12:04 2437ff75d9bd: Waiting 08:12:04 765212b225bb: Waiting 08:12:04 04944245beec: Verifying Checksum 08:12:04 04944245beec: Download complete 08:12:04 765212b225bb: Verifying Checksum 08:12:04 765212b225bb: Download complete 08:12:04 f23df028b6ca: Verifying Checksum 08:12:04 f23df028b6ca: Download complete 08:12:04 d65c8cfc05b1: Verifying Checksum 08:12:04 d65c8cfc05b1: Download complete 08:12:05 699f458cf7ca: Verifying Checksum 08:12:05 699f458cf7ca: Download complete 08:12:05 8998bd30e6a1: Verifying Checksum 08:12:05 8998bd30e6a1: Download complete 08:12:08 2437ff75d9bd: Verifying Checksum 08:12:08 2437ff75d9bd: Download complete 08:12:09 8998bd30e6a1: Pull complete 08:12:10 04944245beec: Pull complete 08:12:12 699f458cf7ca: Pull complete 08:12:12 765212b225bb: Pull complete 08:12:12 f23df028b6ca: Pull complete 08:12:13 d65c8cfc05b1: Pull complete 08:12:31 2437ff75d9bd: Pull complete 08:12:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:12:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:12:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:12:31 prd-ubuntu20.04-docker-arm64-4c-16g-5614 does not seem to be running inside a container 08:12:31 $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:12:34 $ docker top daa14e6550baec31be6d93cee79f8b7e4dfe60a3ddf5e6de5f939c11f7f70a1f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:35 ---> job-cost.sh 08:12:35 lf-activate-venv: SKIPPING 08:12:35 INFO: No Stack... 08:12:35 INFO: Retrieving Pricing Info for: v3-standard-4 08:12:36 INFO: Archiving Costs [Pipeline] sh 08:12:36 + cat /w/workspace/device-sdk-go/5/archives/cost.csv 08:12:36 + cut -d, -f6 [Pipeline] lock 08:12:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-5-stack-cost] 08:12:36 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1594-5-stack-cost] did not exist. Created. 08:12:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:12:37 /w/workspace/device-sdk-go/5@tmp/durable-b46dc008/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:12:37 + echo total: 0.10999999940395355 [Pipeline] stash 08:12:37 Warning: overwriting stash ‘stack-cost’ 08:12:38 Stashed 1 file(s) [Pipeline] } 08:12:38 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-5-stack-cost] [Pipeline] // lock [Pipeline] } 08:12:38 $ docker stop --time=1 daa14e6550baec31be6d93cee79f8b7e4dfe60a3ddf5e6de5f939c11f7f70a1f 08:12:39 $ docker rm -f --volumes daa14e6550baec31be6d93cee79f8b7e4dfe60a3ddf5e6de5f939c11f7f70a1f [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 08:12:40 provisioning config files... 08:12:40 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config938324936361526941tmp [Pipeline] { [Pipeline] sh 08:12:40 + set +x 08:12:40 + curl -s https://codecov.io/bash 08:12:40 + bash -s -- 08:12:40 08:12:40 _____ _ 08:12:40 / ____| | | 08:12:40 | | ___ __| | ___ ___ _____ __ 08:12:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:12:40 | |___| (_) | (_| | __/ (_| (_) \ V / 08:12:40 \_____\___/ \__,_|\___|\___\___/ \_/ 08:12:40 Bash-1.0.6 08:12:40 08:12:40 08:12:40 ==> git version 2.25.1 found 08:12:40 ==> 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 08:12:40 Release-Date: 2020-01-08 08:12:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:12:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:12:40 ==> Jenkins CI detected. 08:12:40 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1594 08:12:40 project root: . 08:12:40 --> token set from env 08:12:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:12:40 ==> Running gcov in . (disable via -X gcov) 08:12:40 ==> Python coveragepy not found 08:12:40 ==> Searching for coverage reports in: 08:12:40 + . 08:12:40 -> Found 1 reports 08:12:40 ==> Detecting git/mercurial file structure 08:12:40 ==> Reading reports 08:12:40 + ./coverage.out bytes=125161 08:12:40 ==> Appending adjustments 08:12:40 https://docs.codecov.io/docs/fixing-reports 08:12:40 + Found adjustments 08:12:40 ==> Gzipping contents 08:12:40 20K /tmp/codecov.i7PjoQ.gz 08:12:40 ==> Uploading reports 08:12:40 url: https://codecov.io 08:12:40 query: branch=PR-1594&commit=33ecc5a268fe7e18559a7952ab1e0073b5b2df72&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1594%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1594&job=&cmd_args= 08:12:40 -> Pinging Codecov 08:12:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1594&commit=33ecc5a268fe7e18559a7952ab1e0073b5b2df72&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1594%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1594&job=&cmd_args= 08:12:41 -> Uploading to 08:12:41 https://storage.googleapis.com/codecov/v4/raw/2024-07-15/7E55EF52A471D76F132DFD9A03CDDE97/33ecc5a268fe7e18559a7952ab1e0073b5b2df72/e8dd36bc-3018-4b0a-bcfa-63a4b92c4c04.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240715%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240715T081240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e8e0bb07ddfe009a0c68dd8634b5272c92e3bee4e04684c4f7a712d1f07d584 08:12:41 % Total % Received % Xferd Average Speed Time Time Time Current 08:12:41 Dload Upload Total Spent Left Speed 08:12:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17072 0 0 100 17072 0 65915 --:--:-- --:--:-- --:--:-- 65661 100 17072 0 0 100 17072 0 65915 --:--:-- --:--:-- --:--:-- 65661 08:12:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/33ecc5a268fe7e18559a7952ab1e0073b5b2df72 [Pipeline] } 08:12:41 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 08:12:43 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives ] 08:12:43 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives 08:12:43 total 16 08:12:43 drwxr-xr-x 3 root root 4096 Jul 15 07:58 . 08:12:43 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 07:58 .. 08:12:43 drwxr-xr-x 2 root root 4096 Jul 15 07:58 cost 08:12:43 -rw-r--r-- 1 root root 86 Jul 15 07:58 cost.csv 08:12:43 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives 08:12:43 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives 08:12:43 total 16 08:12:43 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 07:58 . 08:12:43 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 07:58 .. 08:12:43 drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 07:58 cost 08:12:43 -rw-r--r-- 1 jenkins jenkins 86 Jul 15 07:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:12:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:12:44 ---> package-listing.sh 08:12:44 ++ facter osfamily 08:12:44 ++ tr '[:upper:]' '[:lower:]' 08:12:44 + OS_FAMILY=debian 08:12:44 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1594 08:12:44 + START_PACKAGES=/tmp/packages_start.txt 08:12:44 + END_PACKAGES=/tmp/packages_end.txt 08:12:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:12:44 + PACKAGES=/tmp/packages_start.txt 08:12:44 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1594 ']' 08:12:44 + PACKAGES=/tmp/packages_end.txt 08:12:44 + case "${OS_FAMILY}" in 08:12:44 + dpkg -l 08:12:44 + grep '^ii' 08:12:44 + '[' -f /tmp/packages_start.txt ']' 08:12:44 + '[' -f /tmp/packages_end.txt ']' 08:12:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:12:44 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1594 ']' 08:12:44 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/ 08:12:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/ [Pipeline] echo 08:12:44 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-1594/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:12:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:12:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:12:45 prd-ubuntu20.04-docker-8c-8g-5613 does not seem to be running inside a container 08:12:45 $ 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-1594/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-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:12:45 $ docker top 873370e5ae17ba3a84036857b8d5a912d04ddbccd78635eb23fff5427584f0c8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:12:46 + touch /tmp/pre-build-complete [Pipeline] sh 08:12:46 + mkdir -p /var/log/sysstat [Pipeline] sh 08:12:46 + ls /var/log/sa-host 08:12:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:12:47 provisioning config files... 08:12:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config4488878918797688635tmp [Pipeline] { [Pipeline] echo 08:12:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:12:47 ---> create-netrc.sh [Pipeline] } 08:12:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:12:47 ---> python-tools-install.sh [Pipeline] echo 08:12:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:12:48 ---> sudo-logs.sh 08:12:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:12:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:12:48 ---> job-cost.sh 08:12:48 lf-activate-venv: SKIPPING 08:12:48 DEBUG: total: 0.2199999988079071 08:12:48 INFO: Retrieving Stack Cost... 08:12:49 INFO: Retrieving Pricing Info for: v3-standard-8 08:12:50 INFO: Archiving Costs [Pipeline] echo 08:12:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:12:50 ---> logs-deploy.sh 08:12:50 lf-activate-venv: SKIPPING 08:12:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1594/5 08:12:50 INFO: archiving workspace using pattern(s): 08:12:51 Archives upload complete. 08:12:51 INFO: archiving logs to Nexus