Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 97b36af7baff2da76e29dc2359062fa76ab64ed3 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-ssh7003264130138424291.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7328806752091207597.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16464076296974606932.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9327214646804001724.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9363759164482331014.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-257’ Running on prd-ubuntu20.04-docker-8c-8g-260 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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 Avoid second fetch Checking out Revision 97b36af7baff2da76e29dc2359062fa76ab64ed3 (main) Commit message: "fix: Set proper transform flag for Set command (#1578)" > git config core.sparsecheckout # timeout=10 > git checkout -f 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 > git rev-list --no-walk f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:12:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:12:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:12:00 ========================================================= 05:12:00 EdgeX Global Pipelines Version Info 05:12:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:12:01 ------------------- 05:12:01 stable info: 05:12:01 ------------------- 05:12:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:12:01 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:12:01 Message: update stable to v1.0.258 05:12:02 ------------------- 05:12:02 experimental info: 05:12:02 ------------------- 05:12:02 Commited By: **** collab-it+edgex@linuxfoundation.org 05:12:02 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:12:02 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:12:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:12:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:12:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:12:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:12:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97b36af7baff2da76e29dc2359062fa76ab64ed3 [Pipeline] echo 05:12:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97b36af [Pipeline] echo 05:12:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:03 provisioning config files... 05:12:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16219269746219873160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:03 ---> ****-login.sh 05:12:03 nexus3.edgexfoundry.org:10001 05:12:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:03 Configure a credential helper to remove this warning. See 05:12:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:03 05:12:03 Login Succeeded 05:12:03 nexus3.edgexfoundry.org:10002 05:12:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:04 Configure a credential helper to remove this warning. See 05:12:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:04 05:12:04 Login Succeeded 05:12:04 nexus3.edgexfoundry.org:10003 05:12:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:04 Configure a credential helper to remove this warning. See 05:12:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:04 05:12:04 Login Succeeded 05:12:04 nexus3.edgexfoundry.org:10004 05:12:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:04 Configure a credential helper to remove this warning. See 05:12:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:04 05:12:04 Login Succeeded 05:12:04 ****.io 05:12:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:04 Configure a credential helper to remove this warning. See 05:12:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:04 05:12:04 Login Succeeded 05:12:04 ---> ****-login.sh ends [Pipeline] } 05:12:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:12:04 + git rev-list -1 --merges 97b36af7baff2da76e29dc2359062fa76ab64ed3~1..97b36af7baff2da76e29dc2359062fa76ab64ed3 [Pipeline] echo 05:12:05 -----------> git rev-list -1 --merges 97b36af7baff2da76e29dc2359062fa76ab64ed3~1..97b36af7baff2da76e29dc2359062fa76ab64ed3 97b36af7baff2da76e29dc2359062fa76ab64ed3 [false] [Pipeline] sh 05:12:05 + git log --format=format:%s -1 97b36af7baff2da76e29dc2359062fa76ab64ed3 [Pipeline] echo 05:12:05 ========================================================= 05:12:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:12:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:05 + git log --format=format:%s -1 97b36af7baff2da76e29dc2359062fa76ab64ed3 [Pipeline] echo 05:12:05 [semverPrep] GIT_COMMIT: 97b36af7baff2da76e29dc2359062fa76ab64ed3, Commit Message: fix: Set proper transform flag for Set command (#1578) [Pipeline] echo 05:12:05 [semverPrep] This is not a build commit. [Pipeline] sh 05:12:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:12:06 + grep -v github /etc/ssh/ssh_known_hosts 05:12:06 + [ -e /tmp/ssh_known_hosts ] 05:12:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:12:06 + + sudo teeecho -a /etc/ssh/ssh_known_hosts 05:12:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:12:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:06 05:12:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:06 0.1.4: Pulling from edgex-devops/py-git-semver 05:12:06 b85a868b505f: Pulling fs layer 05:12:06 e2be974225ed: Pulling fs layer 05:12:06 339a4e72a1f5: Pulling fs layer 05:12:06 988bab9f4d93: Pulling fs layer 05:12:06 1469e6f7b9e6: Pulling fs layer 05:12:06 eaf3925da568: Pulling fs layer 05:12:06 bab4dde63d76: Pulling fs layer 05:12:06 bde34c3a00c8: Pulling fs layer 05:12:06 1469e6f7b9e6: Waiting 05:12:06 988bab9f4d93: Waiting 05:12:06 eaf3925da568: Waiting 05:12:06 b352a97aabf1: Pulling fs layer 05:12:06 4872d77fe225: Pulling fs layer 05:12:06 b352a97aabf1: Waiting 05:12:06 bde34c3a00c8: Waiting 05:12:06 5851b861e8e6: Pulling fs layer 05:12:06 4872d77fe225: Waiting 05:12:06 5851b861e8e6: Waiting 05:12:06 e2be974225ed: Verifying Checksum 05:12:06 e2be974225ed: Download complete 05:12:06 988bab9f4d93: Verifying Checksum 05:12:06 988bab9f4d93: Download complete 05:12:06 1469e6f7b9e6: Verifying Checksum 05:12:06 1469e6f7b9e6: Download complete 05:12:06 eaf3925da568: Verifying Checksum 05:12:06 eaf3925da568: Download complete 05:12:06 339a4e72a1f5: Verifying Checksum 05:12:06 339a4e72a1f5: Download complete 05:12:07 bde34c3a00c8: Verifying Checksum 05:12:07 bde34c3a00c8: Download complete 05:12:07 b352a97aabf1: Verifying Checksum 05:12:07 b352a97aabf1: Download complete 05:12:07 4872d77fe225: Verifying Checksum 05:12:07 4872d77fe225: Download complete 05:12:07 5851b861e8e6: Verifying Checksum 05:12:07 5851b861e8e6: Download complete 05:12:07 b85a868b505f: Verifying Checksum 05:12:07 b85a868b505f: Download complete 05:12:07 bab4dde63d76: Download complete 05:12:08 b85a868b505f: Pull complete 05:12:08 e2be974225ed: Pull complete 05:12:08 339a4e72a1f5: Pull complete 05:12:08 988bab9f4d93: Pull complete 05:12:08 1469e6f7b9e6: Pull complete 05:12:09 eaf3925da568: Pull complete 05:12:11 bab4dde63d76: Pull complete 05:12:11 bde34c3a00c8: Pull complete 05:12:11 b352a97aabf1: Pull complete 05:12:11 4872d77fe225: Pull complete 05:12:11 5851b861e8e6: Pull complete 05:12:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:12:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:13 prd-ubuntu20.04-docker-8c-8g-260 does not seem to be running inside a container 05:12:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:12:17 $ docker top 40ff2c9ec85252468aeb63adf5015130b41166f704fcfd25927316f55f6e2601 -eo pid,comm 05:12:17 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). 05:12:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:12:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:17 [ssh-agent] Looking for ssh-agent implementation... 05:12:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:17 $ docker exec 40ff2c9ec85252468aeb63adf5015130b41166f704fcfd25927316f55f6e2601 ssh-agent 05:12:17 SSH_AUTH_SOCK=/tmp/ssh-GcwhkkQRstqE/agent.32 05:12:17 SSH_AGENT_PID=38 05:12:17 Running ssh-add (command line suppressed) 05:12:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_242357797005704035.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_242357797005704035.key) 05:12:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:18 + git tag --points-at HEAD [Pipeline] } 05:12:18 $ docker exec --env ******** --env ******** 40ff2c9ec85252468aeb63adf5015130b41166f704fcfd25927316f55f6e2601 ssh-agent -k 05:12:18 unset SSH_AUTH_SOCK; 05:12:18 unset SSH_AGENT_PID; 05:12:18 echo Agent pid 38 killed; 05:12:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:12:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:18 [ssh-agent] Looking for ssh-agent implementation... 05:12:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:18 $ docker exec 40ff2c9ec85252468aeb63adf5015130b41166f704fcfd25927316f55f6e2601 ssh-agent 05:12:18 SSH_AUTH_SOCK=/tmp/ssh-lhX5PvgppI4K/agent.71 05:12:18 SSH_AGENT_PID=77 05:12:18 Running ssh-add (command line suppressed) 05:12:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17902995216196949912.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17902995216196949912.key) 05:12:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:19 + git semver init 05:12:19 2024-05-16 05:12:19,339 [run_init] DEBUG init version:0.0.0 force:False 05:12:19 2024-05-16 05:12:19,340 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:12:19 2024-05-16 05:12:19,340 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:12:19 2024-05-16 05:12:19,340 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:12:20 2024-05-16 05:12:20,594 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:12:20 2024-05-16 05:12:20,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:12:20 2024-05-16 05:12:20,595 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:12:20 2024-05-16 05:12:20,595 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:12:20 3.2.0-dev.13 [Pipeline] } 05:12:20 $ docker exec --env ******** --env ******** 40ff2c9ec85252468aeb63adf5015130b41166f704fcfd25927316f55f6e2601 ssh-agent -k 05:12:20 unset SSH_AUTH_SOCK; 05:12:20 unset SSH_AGENT_PID; 05:12:20 echo Agent pid 77 killed; 05:12:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:12:21 + git semver [Pipeline] } 05:12:21 $ docker stop --time=1 40ff2c9ec85252468aeb63adf5015130b41166f704fcfd25927316f55f6e2601 05:12:22 $ docker rm -f --volumes 40ff2c9ec85252468aeb63adf5015130b41166f704fcfd25927316f55f6e2601 [Pipeline] // withDockerContainer [Pipeline] sh 05:12:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:12:23 Stashed 1 file(s) [Pipeline] echo 05:12:23 [edgeXSemver]: initialized semver on version 3.2.0-dev.13 [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 05:12:23 provisioning config files... 05:12:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14590846941036247836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:23 ---> ****-login.sh 05:12:23 nexus3.edgexfoundry.org:10001 05:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:23 Configure a credential helper to remove this warning. See 05:12:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:23 05:12:23 Login Succeeded 05:12:23 nexus3.edgexfoundry.org:10002 05:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:23 Configure a credential helper to remove this warning. See 05:12:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:23 05:12:23 Login Succeeded 05:12:23 nexus3.edgexfoundry.org:10003 05:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:24 Configure a credential helper to remove this warning. See 05:12:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:24 05:12:24 Login Succeeded 05:12:24 nexus3.edgexfoundry.org:10004 05:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:24 Configure a credential helper to remove this warning. See 05:12:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:24 05:12:24 Login Succeeded 05:12:24 ****.io 05:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:24 Configure a credential helper to remove this warning. See 05:12:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:24 05:12:24 Login Succeeded 05:12:24 ---> ****-login.sh ends [Pipeline] } 05:12:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:12:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:12:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:12:24 ========================================================= 05:12:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:12:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:24 + 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 . 05:12:24 Sending build context to Docker daemon 25.7MB 05:12:24 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:12:24 Step 2/10 : FROM ${BASE} AS builder 05:12:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:12:25 619be1103602: Pulling fs layer 05:12:25 7862e08f4a3e: Pulling fs layer 05:12:25 5df492c9dc93: Pulling fs layer 05:12:25 7629e6793208: Pulling fs layer 05:12:25 4f4fb700ef54: Pulling fs layer 05:12:25 fb5054dd5b73: Pulling fs layer 05:12:25 eeca6798cff9: Pulling fs layer 05:12:25 aa269ceb94a6: Pulling fs layer 05:12:25 ada007ff1a6a: Pulling fs layer 05:12:25 7629e6793208: Waiting 05:12:25 4f4fb700ef54: Waiting 05:12:25 ada007ff1a6a: Waiting 05:12:25 aa269ceb94a6: Waiting 05:12:25 fb5054dd5b73: Waiting 05:12:25 eeca6798cff9: Waiting 05:12:25 7862e08f4a3e: Verifying Checksum 05:12:25 7862e08f4a3e: Download complete 05:12:25 7629e6793208: Verifying Checksum 05:12:25 7629e6793208: Download complete 05:12:25 4f4fb700ef54: Download complete 05:12:25 fb5054dd5b73: Download complete 05:12:25 619be1103602: Download complete 05:12:25 eeca6798cff9: Verifying Checksum 05:12:25 eeca6798cff9: Download complete 05:12:25 619be1103602: Pull complete 05:12:25 ada007ff1a6a: Verifying Checksum 05:12:25 ada007ff1a6a: Download complete 05:12:25 7862e08f4a3e: Pull complete 05:12:25 5df492c9dc93: Verifying Checksum 05:12:25 5df492c9dc93: Download complete 05:12:25 aa269ceb94a6: Verifying Checksum 05:12:25 aa269ceb94a6: Download complete 05:12:28 5df492c9dc93: Pull complete 05:12:28 7629e6793208: Pull complete 05:12:28 4f4fb700ef54: Pull complete 05:12:28 fb5054dd5b73: Pull complete 05:12:28 eeca6798cff9: Pull complete 05:12:31 aa269ceb94a6: Pull complete 05:12:31 ada007ff1a6a: Pull complete 05:12:31 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:12:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:12:31 ---> f489d0715acc 05:12:31 Step 3/10 : ARG MAKE=make build 05:12:36 ---> Running in cf5910fe8e11 05:12:36 Removing intermediate container cf5910fe8e11 05:12:36 ---> 9524c229ec46 05:12:36 Step 4/10 : WORKDIR /device-sdk-go 05:12:36 ---> Running in 9745fe73f5d7 05:12:36 Removing intermediate container 9745fe73f5d7 05:12:36 ---> b3dad3496a42 05:12:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:12:36 ---> Running in 3ddf5f8a54e6 05:12:36 Removing intermediate container 3ddf5f8a54e6 05:12:36 ---> b6ba12e04a12 05:12:36 Step 6/10 : RUN apk add --update --no-cache make git 05:12:36 ---> Running in d01ba934a3f4 05:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:12:37 OK: 264 MiB in 52 packages 05:12:37 Removing intermediate container d01ba934a3f4 05:12:37 ---> 42ab1d4c693d 05:12:37 Step 7/10 : COPY go.mod vendor* ./ 05:12:37 ---> 7cd7d048831e 05:12:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:37 ---> Running in da76328c4752 05:12:38 Still waiting to schedule task 05:12:38 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-259’ 05:13:34 Removing intermediate container da76328c4752 05:13:34 ---> b92eb8daecb4 05:13:34 Step 9/10 : COPY . . 05:13:34 ---> 586b62aad651 05:13:34 Step 10/10 : RUN ${MAKE} 05:13:34 ---> Running in 7971f1152795 05:13:34 noop 05:13:34 Removing intermediate container 7971f1152795 05:13:34 ---> 2adf3b5a2417 05:13:34 Successfully built 2adf3b5a2417 05:13:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:34 + docker inspect -f . ci-base-image-x86_64 05:13:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:34 prd-ubuntu20.04-docker-8c-8g-260 does not seem to be running inside a container 05:13:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat 05:13:34 $ docker top 26d1975503c6694e2e87679599577b3c2f82fc789b856ec7b9ecf2efa2d0fa4e -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:35 + go version 05:13:35 go version go1.21.9 linux/amd64 [Pipeline] } 05:13:35 $ docker stop --time=1 26d1975503c6694e2e87679599577b3c2f82fc789b856ec7b9ecf2efa2d0fa4e 05:13:36 $ docker rm -f --volumes 26d1975503c6694e2e87679599577b3c2f82fc789b856ec7b9ecf2efa2d0fa4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:36 + docker inspect -f . ci-base-image-x86_64 05:13:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:36 prd-ubuntu20.04-docker-8c-8g-260 does not seem to be running inside a container 05:13:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat 05:13:37 $ docker top bf61935cb96a9d529f69ea3b1593f25e9876585b3129628f4226b8340216e764 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:13:39 + make test 05:13:39 go test -race -coverprofile=coverage.out ./... 05:13:46 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:14:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:14:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:14:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:14:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:14:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:14:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.038s coverage: 27.6% of statements 05:14:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.060s coverage: 81.5% of statements 05:14:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:14:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:14:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.060s coverage: 86.0% of statements 05:14:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:14:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:14:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:14:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.107s coverage: 71.8% of statements 05:14:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:14:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.4% of statements 05:14:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.984s coverage: 45.9% of statements 05:14:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.074s coverage: 68.5% of statements 05:14:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.107s coverage: 89.2% of statements 05:14:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.068s coverage: 5.5% of statements 05:14:56 GO111MODULE=on go vet ./... 05:15:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:15:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:15:00 ./bin/test-attribution-txt.sh 05:15:00 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:15:00 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:15:00 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:15:00 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:15:00 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:15:00 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:15:00 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:15:00 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:15:00 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:15:00 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 05:15:00 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:15:00 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:15:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:15:00 $ docker stop --time=1 bf61935cb96a9d529f69ea3b1593f25e9876585b3129628f4226b8340216e764 05:15:10 $ docker rm -f --volumes bf61935cb96a9d529f69ea3b1593f25e9876585b3129628f4226b8340216e764 [Pipeline] // withDockerContainer [Pipeline] sh 05:15:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:15:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:15:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:15:11 + ls -al . 05:15:11 total 376 05:15:11 drwxrwxr-x 11 jenkins jenkins 4096 May 16 05:13 . 05:15:11 drwxrwxr-x 4 jenkins jenkins 4096 May 16 05:11 .. 05:15:11 -rw-rw-r-- 1 jenkins jenkins 140 May 16 05:11 .dockerignore 05:15:11 drwxrwxr-x 8 jenkins jenkins 4096 May 16 05:14 .git 05:15:11 drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:11 .github 05:15:11 -rw-rw-r-- 1 jenkins jenkins 137 May 16 05:11 .gitignore 05:15:11 -rw-rw-r-- 1 jenkins jenkins 42 May 16 05:11 .golangci.yml 05:15:11 drwxr-xr-x 3 jenkins jenkins 4096 May 16 05:12 .semver 05:15:11 -rw-rw-r-- 1 jenkins jenkins 48109 May 16 05:11 CHANGELOG.md 05:15:11 -rw-rw-r-- 1 jenkins jenkins 677 May 16 05:11 GOVERNANCE.md 05:15:11 -rw-rw-r-- 1 jenkins jenkins 885 May 16 05:11 Jenkinsfile 05:15:11 -rw-rw-r-- 1 jenkins jenkins 11341 May 16 05:11 LICENSE 05:15:11 -rw-rw-r-- 1 jenkins jenkins 1842 May 16 05:11 Makefile 05:15:11 -rw-rw-r-- 1 jenkins jenkins 619 May 16 05:11 OWNERS.md 05:15:11 -rw-rw-r-- 1 jenkins jenkins 4933 May 16 05:11 README.md 05:15:11 -rw-rw-r-- 1 jenkins jenkins 12 May 16 05:12 VERSION 05:15:11 drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:11 bin 05:15:11 -rw-r--r-- 1 jenkins jenkins 122154 May 16 05:14 coverage.out 05:15:11 drwxrwxr-x 5 jenkins jenkins 4096 May 16 05:11 example 05:15:11 -rw-rw-r-- 1 jenkins jenkins 7070 May 16 05:11 go.mod 05:15:11 -rw-rw-r-- 1 jenkins jenkins 100964 May 16 05:11 go.sum 05:15:11 drwxrwxr-x 12 jenkins jenkins 4096 May 16 05:11 internal 05:15:11 drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:11 openapi 05:15:11 drwxrwxr-x 6 jenkins jenkins 4096 May 16 05:11 pkg 05:15:11 drwxrwxr-x 4 jenkins jenkins 4096 May 16 05:11 snap 05:15:11 -rw-rw-r-- 1 jenkins jenkins 222 May 16 05:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:11 + 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=97b36af7baff2da76e29dc2359062fa76ab64ed3 --label arch=amd64 --label version=3.2.0-dev.13 . 05:15:11 Sending build context to Docker daemon 25.83MB 05:15:11 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:15:11 Step 2/23 : FROM ${BASE} AS builder 05:15:11 ---> 2adf3b5a2417 05:15:11 Step 3/23 : ARG MAKE=make build 05:15:12 ---> Running in 215187666e18 05:15:13 Removing intermediate container 215187666e18 05:15:13 ---> 85d8def76373 05:15:13 Step 4/23 : WORKDIR /device-sdk-go 05:15:13 ---> Running in 2f15a3b675a8 05:15:13 Removing intermediate container 2f15a3b675a8 05:15:13 ---> d9eaddf74a28 05:15:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:15:13 ---> Running in eec93115165a 05:15:13 Removing intermediate container eec93115165a 05:15:13 ---> e77357fd248c 05:15:13 Step 6/23 : RUN apk add --update --no-cache make git 05:15:13 ---> Running in b2a97da4d59a 05:15:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:15:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:15:13 OK: 264 MiB in 52 packages 05:15:14 Removing intermediate container b2a97da4d59a 05:15:14 ---> 4061824bef76 05:15:14 Step 7/23 : COPY go.mod vendor* ./ 05:15:14 ---> d23c316011fc 05:15:14 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:14 ---> Running in ed166d191764 05:15:14 Removing intermediate container ed166d191764 05:15:14 ---> 5c5c38b7495c 05:15:14 Step 9/23 : COPY . . 05:15:16 ---> 2211ae4571eb 05:15:16 Step 10/23 : RUN ${MAKE} 05:15:16 ---> Running in d1ed5db9f2eb 05:15:16 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.13" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:15:48 Removing intermediate container d1ed5db9f2eb 05:15:48 ---> 1791ddca2668 05:15:48 Step 11/23 : FROM alpine:3.18 05:15:48 3.18: Pulling from library/alpine 05:15:48 619be1103602: Already exists 05:15:48 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 05:15:48 Status: Downloaded newer image for alpine:3.18 05:15:48 ---> d3782b16ccc9 05:15:48 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:15:48 ---> Running in f54afb9ea100 05:15:48 Removing intermediate container f54afb9ea100 05:15:48 ---> 5679ce3df446 05:15:48 Step 13/23 : RUN apk add --update --no-cache 05:15:48 ---> Running in b9fefb906dbd 05:15:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:15:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:15:49 OK: 7 MiB in 15 packages 05:15:49 Removing intermediate container b9fefb906dbd 05:15:49 ---> d49fef890628 05:15:49 Step 14/23 : WORKDIR / 05:15:49 ---> Running in 288302e03cd5 05:15:49 Removing intermediate container 288302e03cd5 05:15:49 ---> d3000967d63f 05:15:49 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:15:49 ---> 682910d9ad70 05:15:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:15:50 ---> 9af603b311df 05:15:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:15:50 ---> e87e90fab774 05:15:50 Step 18/23 : EXPOSE 59999 05:15:50 ---> Running in dd8ec0a09a8c 05:15:50 Removing intermediate container dd8ec0a09a8c 05:15:50 ---> b9bb2d45a290 05:15:50 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:15:50 ---> Running in 683bbc96d989 05:15:50 Removing intermediate container 683bbc96d989 05:15:50 ---> 577ad2af151b 05:15:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:15:50 ---> Running in d0159c70793f 05:15:51 Removing intermediate container d0159c70793f 05:15:51 ---> 50be6664d3cd 05:15:51 Step 21/23 : LABEL arch=amd64 05:15:51 ---> Running in 51f009f33a01 05:15:51 Removing intermediate container 51f009f33a01 05:15:51 ---> 50dedb91b80c 05:15:51 Step 22/23 : LABEL git_sha=97b36af7baff2da76e29dc2359062fa76ab64ed3 05:15:51 ---> Running in 2a7313cad686 05:15:51 Removing intermediate container 2a7313cad686 05:15:51 ---> ba223b9f6de2 05:15:51 Step 23/23 : LABEL version=3.2.0-dev.13 05:15:51 ---> Running in d18b6ad2bc4d 05:15:51 Removing intermediate container d18b6ad2bc4d 05:15:51 ---> c7273e08f313 05:15:51 [Warning] One or more build-args [ARCH] were not consumed 05:15:51 Successfully built c7273e08f313 05:15:51 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 05:15:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:51 05:15:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:52 latest: Pulling from edgex-lftools-log-publisher 05:15:52 5eb5b503b376: Pulling fs layer 05:15:52 5c69ac0246d0: Pulling fs layer 05:15:52 ec43610c2a17: Pulling fs layer 05:15:52 3a2ae6a8a46f: Pulling fs layer 05:15:52 33b1e0a273af: Pulling fs layer 05:15:52 5d3b04190fa2: Pulling fs layer 05:15:52 2f39f015ded8: Pulling fs layer 05:15:52 3a2ae6a8a46f: Waiting 05:15:52 33b1e0a273af: Waiting 05:15:52 5d3b04190fa2: Waiting 05:15:52 2f39f015ded8: Waiting 05:15:52 5c69ac0246d0: Verifying Checksum 05:15:52 5c69ac0246d0: Download complete 05:15:52 3a2ae6a8a46f: Verifying Checksum 05:15:52 3a2ae6a8a46f: Download complete 05:15:52 33b1e0a273af: Verifying Checksum 05:15:52 33b1e0a273af: Download complete 05:15:52 ec43610c2a17: Verifying Checksum 05:15:52 ec43610c2a17: Download complete 05:15:52 5d3b04190fa2: Verifying Checksum 05:15:52 5d3b04190fa2: Download complete 05:15:52 5eb5b503b376: Download complete 05:15:53 2f39f015ded8: Download complete 05:15:53 5eb5b503b376: Pull complete 05:15:53 5c69ac0246d0: Pull complete 05:15:54 ec43610c2a17: Pull complete 05:15:54 3a2ae6a8a46f: Pull complete 05:15:54 33b1e0a273af: Pull complete 05:15:54 5d3b04190fa2: Pull complete 05:15:58 2f39f015ded8: Pull complete 05:15:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:15:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:58 prd-ubuntu20.04-docker-8c-8g-260 does not seem to be running inside a container 05:15:58 $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:16:04 $ docker top a9455e1c3f12f4db58d7d77f9e32e58ac33dc63dd85399ac0dac4dd4c25eca49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:05 ---> job-cost.sh 05:16:05 lf-activate-venv: SKIPPING 05:16:05 INFO: No Stack... 05:16:05 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:05 INFO: Archiving Costs [Pipeline] sh 05:16:06 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:16:06 + cut -d, -f6 [Pipeline] lock 05:16:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-284-stack-cost] 05:16:06 Resource [jenkins-edgexfoundry-device-sdk-go-main-284-stack-cost] did not exist. Created. 05:16:06 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-284-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:06 + echo total: 0.2199999988079071 [Pipeline] stash 05:16:06 Stashed 1 file(s) [Pipeline] } 05:16:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-284-stack-cost] [Pipeline] // lock [Pipeline] } 05:16:06 $ docker stop --time=1 a9455e1c3f12f4db58d7d77f9e32e58ac33dc63dd85399ac0dac4dd4c25eca49 05:16:07 $ docker rm -f --volumes a9455e1c3f12f4db58d7d77f9e32e58ac33dc63dd85399ac0dac4dd4c25eca49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:16:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-261 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:16:20 Running in /w/workspace/device-sdk-go/284 [Pipeline] { [Pipeline] checkout 05:16:23 The recommended git tool is: git 05:16:28 using credential edgex-jenkins-ssh 05:16:28 Cloning the remote Git repository 05:16:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:16:28 > git init /w/workspace/device-sdk-go/284 # timeout=10 05:16:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:16:28 > git --version # timeout=10 05:16:28 > git --version # 'git version 2.25.1' 05:16:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:16:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:16:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:16:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:16:32 Avoid second fetch 05:16:32 Checking out Revision 97b36af7baff2da76e29dc2359062fa76ab64ed3 (main) 05:16:32 > git config core.sparsecheckout # timeout=10 05:16:33 > git checkout -f 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 05:16:33 Commit message: "fix: Set proper transform flag for Set command (#1578)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:16:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:16:38 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:38 Dload Upload Total Spent Left Speed 05:16:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 05:16:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:16:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 05:16:39 sudo tee /etc/docker/daemon.new 05:16:39 { 05:16:39 "registry-mirrors": [ 05:16:39 "https://nexus3.edgexfoundry.org:10001" 05:16:39 ], 05:16:39 "bip": "10.250.0.254/24", 05:16:39 "hosts": [ 05:16:39 "tcp://0.0.0.0:5555", 05:16:39 "unix:///var/run/docker.sock" 05:16:39 ], 05:16:39 "mtu": 1458, 05:16:39 "selinux-enabled": true, 05:16:39 "seccomp-profile": "/etc/docker/seccomp.json" 05:16:39 } [Pipeline] sh 05:16:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:16:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:58 provisioning config files... 05:16:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/284@tmp/config2124344171553652200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:58 ---> ****-login.sh 05:16:58 nexus3.edgexfoundry.org:10001 05:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:16:59 Configure a credential helper to remove this warning. See 05:16:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:16:59 05:16:59 Login Succeeded 05:16:59 nexus3.edgexfoundry.org:10002 05:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:16:59 Configure a credential helper to remove this warning. See 05:16:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:16:59 05:16:59 Login Succeeded 05:16:59 nexus3.edgexfoundry.org:10003 05:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:17:00 Configure a credential helper to remove this warning. See 05:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:17:00 05:17:00 Login Succeeded 05:17:00 nexus3.edgexfoundry.org:10004 05:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:17:00 Configure a credential helper to remove this warning. See 05:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:17:00 05:17:00 Login Succeeded 05:17:00 ****.io 05:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:17:00 Configure a credential helper to remove this warning. See 05:17:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:17:00 05:17:00 Login Succeeded 05:17:00 ---> ****-login.sh ends [Pipeline] } 05:17:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:17:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:17:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:17:01 ========================================================= 05:17:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:17:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:01 + 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 . 05:17:02 Sending build context to Docker daemon 13.27MB 05:17:02 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:17:02 Step 2/10 : FROM ${BASE} AS builder 05:17:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:17:02 c6b39de5b339: Pulling fs layer 05:17:02 a69c41024577: Pulling fs layer 05:17:02 d6de4b400683: Pulling fs layer 05:17:02 35cb2a7552d0: Pulling fs layer 05:17:02 4f4fb700ef54: Pulling fs layer 05:17:02 464afbd9ba4c: Pulling fs layer 05:17:02 00f215d4a9da: Pulling fs layer 05:17:02 d496ad576159: Pulling fs layer 05:17:02 4f4fb700ef54: Waiting 05:17:02 464afbd9ba4c: Waiting 05:17:02 00f215d4a9da: Waiting 05:17:02 d496ad576159: Waiting 05:17:02 35cb2a7552d0: Waiting 05:17:02 a69c41024577: Download complete 05:17:02 35cb2a7552d0: Verifying Checksum 05:17:02 35cb2a7552d0: Download complete 05:17:02 4f4fb700ef54: Verifying Checksum 05:17:02 4f4fb700ef54: Download complete 05:17:02 c6b39de5b339: Verifying Checksum 05:17:02 c6b39de5b339: Download complete 05:17:02 464afbd9ba4c: Download complete 05:17:02 d496ad576159: Verifying Checksum 05:17:02 d496ad576159: Download complete 05:17:03 c6b39de5b339: Pull complete 05:17:03 a69c41024577: Pull complete 05:17:04 d6de4b400683: Verifying Checksum 05:17:04 d6de4b400683: Download complete 05:17:05 00f215d4a9da: Verifying Checksum 05:17:05 00f215d4a9da: Download complete 05:17:17 d6de4b400683: Pull complete 05:17:17 35cb2a7552d0: Pull complete 05:17:18 4f4fb700ef54: Pull complete 05:17:18 464afbd9ba4c: Pull complete 05:17:26 00f215d4a9da: Pull complete 05:17:28 d496ad576159: Pull complete 05:17:28 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:17:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:17:28 ---> f246e2811388 05:17:28 Step 3/10 : ARG MAKE=make build 05:17:30 ---> Running in 12b8037c2b9a 05:17:30 Removing intermediate container 12b8037c2b9a 05:17:30 ---> 9c1538ee1d05 05:17:30 Step 4/10 : WORKDIR /device-sdk-go 05:17:30 ---> Running in 7e95ab9e8076 05:17:31 Removing intermediate container 7e95ab9e8076 05:17:31 ---> 8605830d8498 05:17:31 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:17:31 ---> Running in d0b22d0aa783 05:17:31 Removing intermediate container d0b22d0aa783 05:17:31 ---> 2f082b83edd5 05:17:31 Step 6/10 : RUN apk add --update --no-cache make git 05:17:31 ---> Running in c39dc6418a1e 05:17:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:17:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:17:33 OK: 266 MiB in 52 packages 05:17:34 Removing intermediate container c39dc6418a1e 05:17:34 ---> 5d890bd11700 05:17:34 Step 7/10 : COPY go.mod vendor* ./ 05:17:34 ---> af8a1e6578f4 05:17:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:17:34 ---> Running in 33abe8b749cb 05:19:26 Removing intermediate container 33abe8b749cb 05:19:26 ---> 05876c653b85 05:19:26 Step 9/10 : COPY . . 05:19:26 ---> 12eba9d0e2f6 05:19:26 Step 10/10 : RUN ${MAKE} 05:19:26 ---> Running in b5b8e7150e7c 05:19:26 noop 05:19:26 Removing intermediate container b5b8e7150e7c 05:19:26 ---> bf3c30feb723 05:19:26 Successfully built bf3c30feb723 05:19:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:27 + docker inspect -f . ci-base-image-arm64 05:19:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:27 prd-ubuntu20.04-docker-arm64-4c-16g-261 does not seem to be running inside a container 05:19:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/284 -v /w/workspace/device-sdk-go/284:/w/workspace/device-sdk-go/284:rw,z -v /w/workspace/device-sdk-go/284@tmp:/w/workspace/device-sdk-go/284@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 ******** ci-base-image-arm64 cat 05:19:28 $ docker top db51316d2d915853a67ff43e04dc341ded3c0da2ffec8b7cb297d17cfa95f3eb -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:29 + go version 05:19:29 go version go1.21.9 linux/arm64 [Pipeline] } 05:19:29 $ docker stop --time=1 db51316d2d915853a67ff43e04dc341ded3c0da2ffec8b7cb297d17cfa95f3eb 05:19:30 $ docker rm -f --volumes db51316d2d915853a67ff43e04dc341ded3c0da2ffec8b7cb297d17cfa95f3eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:31 + docker inspect -f . ci-base-image-arm64 05:19:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:31 prd-ubuntu20.04-docker-arm64-4c-16g-261 does not seem to be running inside a container 05:19:31 $ 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/284 -v /w/workspace/device-sdk-go/284:/w/workspace/device-sdk-go/284:rw,z -v /w/workspace/device-sdk-go/284@tmp:/w/workspace/device-sdk-go/284@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 ******** ci-base-image-arm64 cat 05:19:33 $ docker top af68b50b8dd47b92b66a2f7e6be185a8ff8c9f2c0dd5e4933d45cbaa77d21523 -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:33 + git config --global --add safe.directory /w/workspace/device-sdk-go/284 [Pipeline] fileExists [Pipeline] sh 05:19:34 + make test 05:19:34 go test -race -coverprofile=coverage.out ./... 05:20:13 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:23:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:23:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:23:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:23:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:23:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:23:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.261s coverage: 27.6% of statements 05:23:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.273s coverage: 81.5% of statements 05:23:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:23:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:23:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.445s coverage: 86.0% of statements 05:23:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:23:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.615s coverage: 71.8% of statements 05:23:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.329s coverage: 14.4% of statements 05:23:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.517s coverage: 45.9% of statements 05:23:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:23:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:23:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.387s coverage: 68.5% of statements 05:23:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.463s coverage: 89.2% of statements 05:24:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:24:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.330s coverage: 5.5% of statements 05:24:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:24:05 GO111MODULE=on go vet ./... 05:27:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:27:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:27:42 ./bin/test-attribution-txt.sh 05:27:42 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:27:42 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:27:42 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:27:42 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:27:42 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:27:42 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:27:42 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:27:42 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:27:42 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:27:42 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 05:27:42 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:27:42 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:27:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:27:42 $ docker stop --time=1 af68b50b8dd47b92b66a2f7e6be185a8ff8c9f2c0dd5e4933d45cbaa77d21523 05:27:44 $ docker rm -f --volumes af68b50b8dd47b92b66a2f7e6be185a8ff8c9f2c0dd5e4933d45cbaa77d21523 [Pipeline] // withDockerContainer [Pipeline] sh 05:27:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:27:46 Warning: overwriting stash ‘coverage-report’ 05:27:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:27:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:27:47 + ls -al . 05:27:47 total 372 05:27:47 drwxrwxr-x 10 jenkins jenkins 4096 May 16 05:19 . 05:27:47 drwxrwxr-x 4 jenkins jenkins 4096 May 16 05:16 .. 05:27:47 -rw-rw-r-- 1 jenkins jenkins 140 May 16 05:16 .dockerignore 05:27:47 drwxrwxr-x 8 jenkins jenkins 4096 May 16 05:16 .git 05:27:47 drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:16 .github 05:27:47 -rw-rw-r-- 1 jenkins jenkins 137 May 16 05:16 .gitignore 05:27:47 -rw-rw-r-- 1 jenkins jenkins 42 May 16 05:16 .golangci.yml 05:27:47 -rw-rw-r-- 1 jenkins jenkins 48109 May 16 05:16 CHANGELOG.md 05:27:47 -rw-rw-r-- 1 jenkins jenkins 677 May 16 05:16 GOVERNANCE.md 05:27:47 -rw-rw-r-- 1 jenkins jenkins 885 May 16 05:16 Jenkinsfile 05:27:47 -rw-rw-r-- 1 jenkins jenkins 11341 May 16 05:16 LICENSE 05:27:47 -rw-rw-r-- 1 jenkins jenkins 1842 May 16 05:16 Makefile 05:27:47 -rw-rw-r-- 1 jenkins jenkins 619 May 16 05:16 OWNERS.md 05:27:47 -rw-rw-r-- 1 jenkins jenkins 4933 May 16 05:16 README.md 05:27:47 -rw-rw-r-- 1 jenkins jenkins 12 May 16 05:12 VERSION 05:27:47 drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:16 bin 05:27:47 -rw-r--r-- 1 jenkins jenkins 122153 May 16 05:24 coverage.out 05:27:47 drwxrwxr-x 5 jenkins jenkins 4096 May 16 05:16 example 05:27:47 -rw-rw-r-- 1 jenkins jenkins 7070 May 16 05:16 go.mod 05:27:47 -rw-rw-r-- 1 jenkins jenkins 100964 May 16 05:16 go.sum 05:27:47 drwxrwxr-x 12 jenkins jenkins 4096 May 16 05:16 internal 05:27:47 drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:16 openapi 05:27:47 drwxrwxr-x 6 jenkins jenkins 4096 May 16 05:16 pkg 05:27:47 drwxrwxr-x 4 jenkins jenkins 4096 May 16 05:16 snap 05:27:47 -rw-rw-r-- 1 jenkins jenkins 222 May 16 05:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:48 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=97b36af7baff2da76e29dc2359062fa76ab64ed3 --label arch=arm64 --label version=3.2.0-dev.13 . 05:27:48 Sending build context to Docker daemon 13.39MB 05:27:48 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:27:48 Step 2/23 : FROM ${BASE} AS builder 05:27:48 ---> bf3c30feb723 05:27:48 Step 3/23 : ARG MAKE=make build 05:27:49 ---> Running in 23199f521ae5 05:27:49 Removing intermediate container 23199f521ae5 05:27:49 ---> 760b2365e292 05:27:49 Step 4/23 : WORKDIR /device-sdk-go 05:27:49 ---> Running in 1970e27446ea 05:27:49 Removing intermediate container 1970e27446ea 05:27:49 ---> 54f033aa5e63 05:27:49 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:27:49 ---> Running in 5a193c62726b 05:27:50 Removing intermediate container 5a193c62726b 05:27:50 ---> 7b14ca7b0023 05:27:50 Step 6/23 : RUN apk add --update --no-cache make git 05:27:50 ---> Running in b3c54b4cb5a3 05:27:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:27:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:27:52 OK: 266 MiB in 52 packages 05:27:53 Removing intermediate container b3c54b4cb5a3 05:27:53 ---> 9505676be472 05:27:53 Step 7/23 : COPY go.mod vendor* ./ 05:27:53 ---> ff9ed6f6d91b 05:27:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:27:53 ---> Running in 5b31445c9ffa 05:27:55 Removing intermediate container 5b31445c9ffa 05:27:55 ---> 34103deae3da 05:27:55 Step 9/23 : COPY . . 05:27:57 ---> b7babb220fdc 05:27:57 Step 10/23 : RUN ${MAKE} 05:27:57 ---> Running in 77955a6fe3c5 05:27:58 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.13" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:31:20 Removing intermediate container 77955a6fe3c5 05:31:20 ---> 922f3f81ab49 05:31:20 Step 11/23 : FROM alpine:3.18 05:31:20 3.18: Pulling from library/alpine 05:31:20 c6b39de5b339: Already exists 05:31:20 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 05:31:20 Status: Downloaded newer image for alpine:3.18 05:31:20 ---> 33abbf032149 05:31:20 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:31:20 ---> Running in a05185d27728 05:31:20 Removing intermediate container a05185d27728 05:31:20 ---> cfd54c444858 05:31:20 Step 13/23 : RUN apk add --update --no-cache 05:31:20 ---> Running in 274ad0b6b243 05:31:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:31:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:31:20 OK: 8 MiB in 15 packages 05:31:20 Removing intermediate container 274ad0b6b243 05:31:20 ---> ebafb3d85819 05:31:20 Step 14/23 : WORKDIR / 05:31:20 ---> Running in 9c23fd71ba42 05:31:20 Removing intermediate container 9c23fd71ba42 05:31:20 ---> 68b91a30ad60 05:31:20 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:31:20 ---> cf31a0b4755c 05:31:20 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:31:20 ---> 6044fa38bff4 05:31:20 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:31:20 ---> 5e7a0d72e96c 05:31:20 Step 18/23 : EXPOSE 59999 05:31:20 ---> Running in cb154d987f4f 05:31:20 Removing intermediate container cb154d987f4f 05:31:20 ---> 395e890da2e4 05:31:20 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:31:20 ---> Running in 84674b02e995 05:31:20 Removing intermediate container 84674b02e995 05:31:20 ---> cbd191a95734 05:31:20 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:31:20 ---> Running in db9562105706 05:31:21 Removing intermediate container db9562105706 05:31:21 ---> ab8d7c1f396c 05:31:21 Step 21/23 : LABEL arch=arm64 05:31:21 ---> Running in 98716fc1658d 05:31:21 Removing intermediate container 98716fc1658d 05:31:21 ---> f88a1d1d1827 05:31:21 Step 22/23 : LABEL git_sha=97b36af7baff2da76e29dc2359062fa76ab64ed3 05:31:21 ---> Running in 7dad2becba04 05:31:21 Removing intermediate container 7dad2becba04 05:31:21 ---> 8597d971387d 05:31:21 Step 23/23 : LABEL version=3.2.0-dev.13 05:31:21 ---> Running in 671b6ed11212 05:31:22 Removing intermediate container 671b6ed11212 05:31:22 ---> 02475e41a5d5 05:31:22 [Warning] One or more build-args [ARCH] were not consumed 05:31:22 Successfully built 02475e41a5d5 05:31:22 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 05:31:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:31:22 05:31:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:31:22 arm64: Pulling from edgex-lftools-log-publisher 05:31:22 8998bd30e6a1: Pulling fs layer 05:31:22 04944245beec: Pulling fs layer 05:31:22 699f458cf7ca: Pulling fs layer 05:31:22 765212b225bb: Pulling fs layer 05:31:22 f23df028b6ca: Pulling fs layer 05:31:22 d65c8cfc05b1: Pulling fs layer 05:31:22 2437ff75d9bd: Pulling fs layer 05:31:22 f23df028b6ca: Waiting 05:31:22 d65c8cfc05b1: Waiting 05:31:22 2437ff75d9bd: Waiting 05:31:22 765212b225bb: Waiting 05:31:23 04944245beec: Verifying Checksum 05:31:23 04944245beec: Download complete 05:31:23 765212b225bb: Verifying Checksum 05:31:23 765212b225bb: Download complete 05:31:23 f23df028b6ca: Verifying Checksum 05:31:23 f23df028b6ca: Download complete 05:31:23 d65c8cfc05b1: Verifying Checksum 05:31:23 d65c8cfc05b1: Download complete 05:31:23 699f458cf7ca: Verifying Checksum 05:31:23 699f458cf7ca: Download complete 05:31:23 8998bd30e6a1: Verifying Checksum 05:31:23 8998bd30e6a1: Download complete 05:31:26 2437ff75d9bd: Verifying Checksum 05:31:26 2437ff75d9bd: Download complete 05:31:28 8998bd30e6a1: Pull complete 05:31:28 04944245beec: Pull complete 05:31:30 699f458cf7ca: Pull complete 05:31:30 765212b225bb: Pull complete 05:31:31 f23df028b6ca: Pull complete 05:31:31 d65c8cfc05b1: Pull complete 05:31:49 2437ff75d9bd: Pull complete 05:31:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:31:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:31:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:49 prd-ubuntu20.04-docker-arm64-4c-16g-261 does not seem to be running inside a container 05:31:49 $ 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/284 -v /w/workspace/device-sdk-go/284:/w/workspace/device-sdk-go/284:rw,z -v /w/workspace/device-sdk-go/284@tmp:/w/workspace/device-sdk-go/284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:31:52 $ docker top 17ec10132ce8b48edaff07564024958bdf9bdabd1e6e78b167b8c0aa22dfd7a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:53 ---> job-cost.sh 05:31:53 lf-activate-venv: SKIPPING 05:31:53 INFO: No Stack... 05:31:53 INFO: Retrieving Pricing Info for: v3-standard-4 05:31:54 INFO: Archiving Costs [Pipeline] sh 05:31:54 + cat /w/workspace/device-sdk-go/284/archives/cost.csv 05:31:54 + cut -d, -f6 [Pipeline] lock 05:31:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-284-stack-cost] 05:31:55 Resource [jenkins-edgexfoundry-device-sdk-go-main-284-stack-cost] did not exist. Created. 05:31:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-284-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:31:55 /w/workspace/device-sdk-go/284@tmp/durable-3ac6dc59/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:31:56 + echo total: 0.10999999940395355 [Pipeline] stash 05:31:56 Warning: overwriting stash ‘stack-cost’ 05:31:56 Stashed 1 file(s) [Pipeline] } 05:31:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-284-stack-cost] [Pipeline] // lock [Pipeline] } 05:31:56 $ docker stop --time=1 17ec10132ce8b48edaff07564024958bdf9bdabd1e6e78b167b8c0aa22dfd7a2 05:31:58 $ docker rm -f --volumes 17ec10132ce8b48edaff07564024958bdf9bdabd1e6e78b167b8c0aa22dfd7a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:31:58 provisioning config files... 05:31:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1652098230099260817tmp [Pipeline] { [Pipeline] sh 05:31:58 + set +x 05:31:58 + curl -s https://codecov.io/bash 05:31:58 + bash -s -- 05:31:58 05:31:58 _____ _ 05:31:58 / ____| | | 05:31:58 | | ___ __| | ___ ___ _____ __ 05:31:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:31:58 | |___| (_) | (_| | __/ (_| (_) \ V / 05:31:58 \_____\___/ \__,_|\___|\___\___/ \_/ 05:31:58 Bash-1.0.6 05:31:58 05:31:58 05:31:58 ==> git version 2.25.1 found 05:31:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:31:58 Release-Date: 2020-01-08 05:31:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:31:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:31:58 ==> Jenkins CI detected. 05:31:58 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:31:58 project root: . 05:31:58 --> token set from env 05:31:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:31:58 ==> Running gcov in . (disable via -X gcov) 05:31:58 ==> Python coveragepy not found 05:31:58 ==> Searching for coverage reports in: 05:31:58 + . 05:31:58 -> Found 1 reports 05:31:58 ==> Detecting git/mercurial file structure 05:31:59 ==> Reading reports 05:31:59 + ./coverage.out bytes=122153 05:31:59 ==> Appending adjustments 05:31:59 https://docs.codecov.io/docs/fixing-reports 05:31:59 + Found adjustments 05:31:59 ==> Gzipping contents 05:31:59 20K /tmp/codecov.TxAtbk.gz 05:31:59 ==> Uploading reports 05:31:59 url: https://codecov.io 05:31:59 query: branch=main&commit=97b36af7baff2da76e29dc2359062fa76ab64ed3&build=284&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F284%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:31:59 -> Pinging Codecov 05:31:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=97b36af7baff2da76e29dc2359062fa76ab64ed3&build=284&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F284%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:31:59 -> Uploading to 05:31:59 https://storage.googleapis.com/codecov/v4/raw/2024-05-16/7E55EF52A471D76F132DFD9A03CDDE97/97b36af7baff2da76e29dc2359062fa76ab64ed3/6acb9bbc-df93-401b-977f-bb3ad025cfa8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T053159Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=654798d053d41391bc1b6da2693213ed92a5b760f7e5455376eed0dc54bbb2c2 05:31:59 % Total % Received % Xferd Average Speed Time Time Time Current 05:31:59 Dload Upload Total Spent Left Speed 05:31:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 80903 --:--:-- --:--:-- --:--:-- 80514 100 16747 0 0 100 16747 0 65933 --:--:-- --:--:-- --:--:-- 65674 05:31:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/97b36af7baff2da76e29dc2359062fa76ab64ed3 [Pipeline] } 05:31:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:31:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:31:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:32:00 05:32:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:32:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:32:00 df9b9388f04a: Pulling fs layer 05:32:00 52dc419b0ee2: Pulling fs layer 05:32:00 25bc292e5bac: Pulling fs layer 05:32:00 114826534d7a: Pulling fs layer 05:32:00 4657fd5d0bcf: Pulling fs layer 05:32:00 6ad1cebc031e: Pulling fs layer 05:32:00 8a3aa393b2d8: Pulling fs layer 05:32:00 114826534d7a: Waiting 05:32:00 6ad1cebc031e: Waiting 05:32:00 4657fd5d0bcf: Waiting 05:32:00 8a3aa393b2d8: Waiting 05:32:00 25bc292e5bac: Download complete 05:32:00 52dc419b0ee2: Verifying Checksum 05:32:00 52dc419b0ee2: Download complete 05:32:00 4657fd5d0bcf: Verifying Checksum 05:32:00 4657fd5d0bcf: Download complete 05:32:00 df9b9388f04a: Download complete 05:32:00 df9b9388f04a: Pull complete 05:32:00 6ad1cebc031e: Verifying Checksum 05:32:00 6ad1cebc031e: Download complete 05:32:00 52dc419b0ee2: Pull complete 05:32:00 25bc292e5bac: Pull complete 05:32:01 114826534d7a: Verifying Checksum 05:32:01 114826534d7a: Download complete 05:32:01 8a3aa393b2d8: Verifying Checksum 05:32:01 8a3aa393b2d8: Download complete 05:32:04 114826534d7a: Pull complete 05:32:04 4657fd5d0bcf: Pull complete 05:32:05 6ad1cebc031e: Pull complete 05:32:08 8a3aa393b2d8: Pull complete 05:32:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:32:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:32:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:08 prd-ubuntu20.04-docker-8c-8g-260 does not seem to be running inside a container 05:32:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:32:13 $ docker top cf50cfbd74d70cf7a94f8b41d0819ba46af7ea4135375fbfdc20680d5f6eb915 -eo pid,comm [Pipeline] { [Pipeline] echo 05:32:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:32:13 + set -o pipefail 05:32:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:32:20 05:32:20 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:32:20 05:32:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/67e9fb07-d6e3-44b0-b63b-68617ebb5ac8 05:32:20 05:32:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:32:20 05:32:21 05:32:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:32:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:32:21 More details here: https://snyk.co/ue1NS [Pipeline] } 05:32:21 $ docker stop --time=1 cf50cfbd74d70cf7a94f8b41d0819ba46af7ea4135375fbfdc20680d5f6eb915 05:32:26 $ docker rm -f --volumes cf50cfbd74d70cf7a94f8b41d0819ba46af7ea4135375fbfdc20680d5f6eb915 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] echo 05:32:27 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:32:27 provisioning config files... 05:32:27 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10436523825594073683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:32:27 --> edgex-publish-swagger.sh 05:32:27 === Publish openapi/v3 API === 05:32:27 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:32:27 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:32:27 % Total % Received % Xferd Average Speed Time Time Time Current 05:32:27 Dload Upload Total Spent Left Speed 05:32:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23854 100 180 100 23674 190 25025 --:--:-- --:--:-- --:--:-- 25189 100 23854 100 180 100 23674 190 25025 --:--:-- --:--:-- --:--:-- 25189 05:32:28 {"code":403,"message":"This public API is blocked because you have exceeded your current plan's limits","messageCode":"PUBLIC_API_BLOCKED_UPGRADE_OR_DELETE","messageProperties":{}} 05:32:28 [Pipeline] } 05:32:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:32:28 + git log --format=format:%s -1 97b36af7baff2da76e29dc2359062fa76ab64ed3 [Pipeline] sh 05:32:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:32:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:32:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:29 prd-ubuntu20.04-docker-8c-8g-260 does not seem to be running inside a container 05:32:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:32:29 $ docker top 38a3b2d1f9a46aaeefd4817a22ca25e8777a9474438b7346b32d9ca686d517cc -eo pid,comm 05:32:30 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). 05:32:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:32:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:30 [ssh-agent] Looking for ssh-agent implementation... 05:32:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:30 $ docker exec 38a3b2d1f9a46aaeefd4817a22ca25e8777a9474438b7346b32d9ca686d517cc ssh-agent 05:32:30 SSH_AUTH_SOCK=/tmp/ssh-HUXJTDefJumA/agent.32 05:32:30 SSH_AGENT_PID=38 05:32:30 Running ssh-add (command line suppressed) 05:32:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4329892394144628492.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4329892394144628492.key) 05:32:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:30 + git semver tag 05:32:30 2024-05-16 05:32:30,890 [run_tag] DEBUG tag force:False 05:32:30 2024-05-16 05:32:30,890 [check_head_tag] DEBUG check head tag 05:32:30 2024-05-16 05:32:30,891 [execute] INFO git cat-file --batch-check 05:32:30 2024-05-16 05:32:30,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:32:30 2024-05-16 05:32:30,894 [execute] INFO git cat-file --batch 05:32:30 2024-05-16 05:32:30,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:32:30 2024-05-16 05:32:30,925 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:32:30 2024-05-16 05:32:30,925 [execute] INFO git tag -a v3.2.0-dev.13 -m v3.2.0-dev.13 05:32:30 2024-05-16 05:32:30,925 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.13', '-m', 'v3.2.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:32:30 2024-05-16 05:32:30,930 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:32:30 3.2.0-dev.13 [Pipeline] } 05:32:30 $ docker exec --env ******** --env ******** 38a3b2d1f9a46aaeefd4817a22ca25e8777a9474438b7346b32d9ca686d517cc ssh-agent -k 05:32:31 unset SSH_AUTH_SOCK; 05:32:31 unset SSH_AGENT_PID; 05:32:31 echo Agent pid 38 killed; 05:32:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:32:31 + git semver [Pipeline] } 05:32:31 $ docker stop --time=1 38a3b2d1f9a46aaeefd4817a22ca25e8777a9474438b7346b32d9ca686d517cc 05:32:32 $ docker rm -f --volumes 38a3b2d1f9a46aaeefd4817a22ca25e8777a9474438b7346b32d9ca686d517cc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:32:33 05:32:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:32:33 0.23.1-centos7: Pulling from edgex-lftools 05:32:33 ab5ef0e58194: Pulling fs layer 05:32:33 9712f1f96733: Pulling fs layer 05:32:33 63f879dbbcfc: Pulling fs layer 05:32:33 0d9ebad4ef96: Pulling fs layer 05:32:33 e9a5061849ea: Pulling fs layer 05:32:33 d747dcd14b5f: Pulling fs layer 05:32:33 2de7ff778b66: Pulling fs layer 05:32:33 e9a5061849ea: Waiting 05:32:33 2de7ff778b66: Waiting 05:32:33 d747dcd14b5f: Waiting 05:32:33 0d9ebad4ef96: Waiting 05:32:33 9712f1f96733: Verifying Checksum 05:32:33 9712f1f96733: Download complete 05:32:34 63f879dbbcfc: Verifying Checksum 05:32:34 63f879dbbcfc: Download complete 05:32:34 ab5ef0e58194: Download complete 05:32:34 d747dcd14b5f: Verifying Checksum 05:32:34 d747dcd14b5f: Download complete 05:32:34 0d9ebad4ef96: Verifying Checksum 05:32:34 0d9ebad4ef96: Download complete 05:32:34 e9a5061849ea: Verifying Checksum 05:32:34 e9a5061849ea: Download complete 05:32:34 2de7ff778b66: Verifying Checksum 05:32:34 2de7ff778b66: Download complete 05:32:36 ab5ef0e58194: Pull complete 05:32:36 9712f1f96733: Pull complete 05:32:37 63f879dbbcfc: Pull complete 05:32:41 0d9ebad4ef96: Pull complete 05:32:41 e9a5061849ea: Pull complete 05:32:41 d747dcd14b5f: Pull complete 05:32:42 2de7ff778b66: Pull complete 05:32:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:32:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:32:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:42 prd-ubuntu20.04-docker-8c-8g-260 does not seem to be running inside a container 05:32:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:32:49 $ docker top 8222256c280aad206374a3374c0a248480d4c04e3b43ec762da840dc70339691 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:32:49 provisioning config files... 05:32:49 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9003505523187747979tmp 05:32:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14458259028640668265tmp 05:32:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config857586253914823414tmp [Pipeline] { [Pipeline] echo 05:32:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:32:50 ---> sigul-configuration.sh 05:32:50 gpg: directory `/root/.gnupg' created 05:32:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:32:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:32:50 gpg: keyring `/root/.gnupg/secring.gpg' created 05:32:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:32:50 gpg: CAST5 encrypted data 05:32:50 gpg: encrypted with 1 passphrase 05:32:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:32:50 + mkdir /home/jenkins 05:32:50 + mkdir /home/jenkins/sigul [Pipeline] sh 05:32:51 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:32:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:32:51 ---> sigul-install.sh 05:32:51 Sigul already installed; skipping installation. [Pipeline] sh 05:32:51 + git tag --list 05:32:51 0.7.1 05:32:51 delhi-tag 05:32:51 v1.0.0 05:32:51 v1.1.0 05:32:51 v1.1.1 05:32:51 v1.1.2 05:32:51 v1.2.0 05:32:51 v1.2.1 05:32:51 v1.2.2 05:32:51 v1.2.3 05:32:51 v1.3.0 05:32:51 v1.4.0 05:32:51 v2.0.0 05:32:51 v2.1.0 05:32:51 v2.1.1 05:32:51 v2.2.0 05:32:51 v2.3.0 05:32:51 v2.3.1 05:32:51 v3.0 05:32:51 v3.0.0 05:32:51 v3.0.1-dev.1 05:32:51 v3.1 05:32:51 v3.1.0 05:32:51 v3.1.0-dev.1 05:32:51 v3.1.0-dev.10 05:32:51 v3.1.0-dev.11 05:32:51 v3.1.0-dev.12 05:32:51 v3.1.0-dev.13 05:32:51 v3.1.0-dev.14 05:32:51 v3.1.0-dev.15 05:32:51 v3.1.0-dev.16 05:32:51 v3.1.0-dev.17 05:32:51 v3.1.0-dev.18 05:32:51 v3.1.0-dev.19 05:32:51 v3.1.0-dev.2 05:32:51 v3.1.0-dev.20 05:32:51 v3.1.0-dev.21 05:32:51 v3.1.0-dev.22 05:32:51 v3.1.0-dev.23 05:32:51 v3.1.0-dev.24 05:32:51 v3.1.0-dev.25 05:32:51 v3.1.0-dev.26 05:32:51 v3.1.0-dev.27 05:32:51 v3.1.0-dev.28 05:32:51 v3.1.0-dev.29 05:32:51 v3.1.0-dev.3 05:32:51 v3.1.0-dev.30 05:32:51 v3.1.0-dev.31 05:32:51 v3.1.0-dev.32 05:32:51 v3.1.0-dev.33 05:32:51 v3.1.0-dev.34 05:32:51 v3.1.0-dev.35 05:32:51 v3.1.0-dev.36 05:32:51 v3.1.0-dev.37 05:32:51 v3.1.0-dev.38 05:32:51 v3.1.0-dev.39 05:32:51 v3.1.0-dev.4 05:32:51 v3.1.0-dev.40 05:32:51 v3.1.0-dev.41 05:32:51 v3.1.0-dev.5 05:32:51 v3.1.0-dev.6 05:32:51 v3.1.0-dev.7 05:32:51 v3.1.0-dev.8 05:32:51 v3.1.0-dev.9 05:32:51 v3.1.1 05:32:51 v3.1.1-dev.1 05:32:51 v3.2.0-dev.1 05:32:51 v3.2.0-dev.10 05:32:51 v3.2.0-dev.11 05:32:51 v3.2.0-dev.12 05:32:51 v3.2.0-dev.13 05:32:51 v3.2.0-dev.2 05:32:51 v3.2.0-dev.3 05:32:51 v3.2.0-dev.4 05:32:51 v3.2.0-dev.5 05:32:51 v3.2.0-dev.6 05:32:51 v3.2.0-dev.7 05:32:51 v3.2.0-dev.8 05:32:51 v3.2.0-dev.9 [Pipeline] sh 05:32:51 + lftools sign git-tag v3.2.0-dev.13 05:32:52 Signing Git tag with Sigul... 05:32:52 Signing v3.2.0-dev.13 [Pipeline] echo 05:32:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:32:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:32:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:32:53 $ docker stop --time=1 8222256c280aad206374a3374c0a248480d4c04e3b43ec762da840dc70339691 05:32:54 $ docker rm -f --volumes 8222256c280aad206374a3374c0a248480d4c04e3b43ec762da840dc70339691 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:32:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:32:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:32:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:55 prd-ubuntu20.04-docker-8c-8g-260 does not seem to be running inside a container 05:32:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:32:55 $ docker top fdccb5da39a257a66067ba51404176118414b53c296ab60e9dd31e94ab1919ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:32:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:55 [ssh-agent] Looking for ssh-agent implementation... 05:32:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:55 $ docker exec fdccb5da39a257a66067ba51404176118414b53c296ab60e9dd31e94ab1919ae ssh-agent 05:32:55 SSH_AUTH_SOCK=/tmp/ssh-rGnyi5oY4c13/agent.32 05:32:55 SSH_AGENT_PID=38 05:32:55 Running ssh-add (command line suppressed) 05:32:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13290317319104695843.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13290317319104695843.key) 05:32:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:56 + git semver bump pre 05:32:56 2024-05-16 05:32:56,548 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:32:56 2024-05-16 05:32:56,548 [bump_version] DEBUG bumping version:3.2.0-dev.13 on axis:pre with prefix:dev 05:32:56 2024-05-16 05:32:56,548 [bump_version] DEBUG bumped version:3.2.0-dev.14 05:32:56 2024-05-16 05:32:56,548 [write_version] DEBUG write version:3.2.0-dev.14 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:32:56 2024-05-16 05:32:56,548 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:32:56 2024-05-16 05:32:56,548 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:32:56 2024-05-16 05:32:56,550 [execute] INFO git cat-file --batch-check 05:32:56 2024-05-16 05:32:56,550 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:32:56 2024-05-16 05:32:56,555 [execute] INFO git cat-file --batch 05:32:56 2024-05-16 05:32:56,555 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:32:56 2024-05-16 05:32:56,560 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:32:56 3.2.0-dev.14 [Pipeline] } 05:32:56 $ docker exec --env ******** --env ******** fdccb5da39a257a66067ba51404176118414b53c296ab60e9dd31e94ab1919ae ssh-agent -k 05:32:56 unset SSH_AUTH_SOCK; 05:32:56 unset SSH_AGENT_PID; 05:32:56 echo Agent pid 38 killed; 05:32:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:32:57 + git semver [Pipeline] } 05:32:57 $ docker stop --time=1 fdccb5da39a257a66067ba51404176118414b53c296ab60e9dd31e94ab1919ae 05:32:58 $ docker rm -f --volumes fdccb5da39a257a66067ba51404176118414b53c296ab60e9dd31e94ab1919ae [Pipeline] // withDockerContainer [Pipeline] sh 05:32:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:32:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:32:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:59 prd-ubuntu20.04-docker-8c-8g-260 does not seem to be running inside a container 05:32:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:32:59 $ docker top 93b9130a564b89d2dd0a6fbc39810c585cb4cb22f143ff56912413039b9eeef4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:32:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:59 [ssh-agent] Looking for ssh-agent implementation... 05:32:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:59 $ docker exec 93b9130a564b89d2dd0a6fbc39810c585cb4cb22f143ff56912413039b9eeef4 ssh-agent 05:33:00 SSH_AUTH_SOCK=/tmp/ssh-Mp8dXL8DYsYy/agent.32 05:33:00 SSH_AGENT_PID=38 05:33:00 Running ssh-add (command line suppressed) 05:33:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15084429169403210827.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15084429169403210827.key) 05:33:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:33:00 + git semver push 05:33:00 2024-05-16 05:33:00,635 [run_push] DEBUG push 05:33:00 2024-05-16 05:33:00,636 [execute] INFO git cat-file --batch-check 05:33:00 2024-05-16 05:33:00,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:33:00 2024-05-16 05:33:00,641 [execute] INFO git rev-list ade56d54301df3d0441aa2a924c398509160793b -- 05:33:00 2024-05-16 05:33:00,641 [execute] DEBUG Popen(['git', 'rev-list', 'ade56d54301df3d0441aa2a924c398509160793b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:33:00 2024-05-16 05:33:00,657 [execute] INFO git fetch -v origin 05:33:00 2024-05-16 05:33:00,657 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:33:01 2024-05-16 05:33:01,116 [run_push] DEBUG no remote changes detected 05:33:01 2024-05-16 05:33:01,117 [execute] INFO git push origin semver 05:33:01 2024-05-16 05:33:01,117 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:33:02 2024-05-16 05:33:01,880 [run_push] DEBUG push all version tags 05:33:02 2024-05-16 05:33:01,881 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:33:02 2024-05-16 05:33:01,881 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:33:02 2024-05-16 05:33:02,572 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:33:02 3.2.0-dev.14 [Pipeline] } 05:33:02 $ docker exec --env ******** --env ******** 93b9130a564b89d2dd0a6fbc39810c585cb4cb22f143ff56912413039b9eeef4 ssh-agent -k 05:33:02 unset SSH_AUTH_SOCK; 05:33:02 unset SSH_AGENT_PID; 05:33:02 echo Agent pid 38 killed; 05:33:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:33:03 + git semver [Pipeline] } 05:33:03 $ docker stop --time=1 93b9130a564b89d2dd0a6fbc39810c585cb4cb22f143ff56912413039b9eeef4 05:33:04 $ docker rm -f --volumes 93b9130a564b89d2dd0a6fbc39810c585cb4cb22f143ff56912413039b9eeef4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 05:33:05 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:33:05 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:33:05 total 16 05:33:05 drwxr-xr-x 3 root root 4096 May 16 05:16 . 05:33:05 drwxrwxr-x 12 jenkins jenkins 4096 May 16 05:32 .. 05:33:05 drwxr-xr-x 2 root root 4096 May 16 05:16 cost 05:33:05 -rw-r--r-- 1 root root 85 May 16 05:16 cost.csv 05:33:05 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:33:05 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:33:05 total 16 05:33:05 drwxr-xr-x 3 jenkins jenkins 4096 May 16 05:16 . 05:33:05 drwxrwxr-x 12 jenkins jenkins 4096 May 16 05:32 .. 05:33:05 drwxr-xr-x 2 jenkins jenkins 4096 May 16 05:16 cost 05:33:05 -rw-r--r-- 1 jenkins jenkins 85 May 16 05:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:33:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:33:06 ---> package-listing.sh 05:33:06 ++ facter osfamily 05:33:06 ++ tr '[:upper:]' '[:lower:]' 05:33:06 + OS_FAMILY=debian 05:33:06 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:33:06 + START_PACKAGES=/tmp/packages_start.txt 05:33:06 + END_PACKAGES=/tmp/packages_end.txt 05:33:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:33:06 + PACKAGES=/tmp/packages_start.txt 05:33:06 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:33:06 + PACKAGES=/tmp/packages_end.txt 05:33:06 + case "${OS_FAMILY}" in 05:33:06 + dpkg -l 05:33:06 + grep '^ii' 05:33:06 + '[' -f /tmp/packages_start.txt ']' 05:33:06 + '[' -f /tmp/packages_end.txt ']' 05:33:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:33:06 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:33:06 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:33:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:33:06 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:33:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:07 prd-ubuntu20.04-docker-8c-8g-260 does not seem to be running inside a container 05:33:07 $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:33:07 $ docker top 80d60b002b0d49de0c1af7faadedc26733ce9d2239b22f4905d13173059d5f52 -eo pid,comm [Pipeline] { [Pipeline] sh 05:33:08 + touch /tmp/pre-build-complete [Pipeline] sh 05:33:08 + mkdir -p /var/log/sysstat [Pipeline] sh 05:33:08 + ls /var/log/sa-host 05:33:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:33:09 provisioning config files... 05:33:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5901904122571874613tmp [Pipeline] { [Pipeline] echo 05:33:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:33:09 ---> create-netrc.sh [Pipeline] } 05:33:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:33:09 ---> python-tools-install.sh [Pipeline] echo 05:33:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:33:10 ---> sudo-logs.sh 05:33:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:33:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:33:10 ---> job-cost.sh 05:33:10 lf-activate-venv: SKIPPING 05:33:10 DEBUG: total: 0.2199999988079071 05:33:10 INFO: Retrieving Stack Cost... 05:33:10 INFO: Retrieving Pricing Info for: v3-standard-8 05:33:11 INFO: Archiving Costs [Pipeline] echo 05:33:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:33:11 ---> logs-deploy.sh 05:33:11 lf-activate-venv: SKIPPING 05:33:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/284 05:33:11 INFO: archiving workspace using pattern(s): 05:33:12 Archives upload complete. 05:33:12 INFO: archiving logs to Nexus