Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 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-ssh4965318273982632411.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-ssh13354344638572306692.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-ssh18143902350544840425.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-ssh979437860283253337.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-ssh6917635983401191077.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 ‘prd-ubuntu20.04-docker-8c-8g-5214’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5216 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 Avoid second fetch Checking out Revision f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 # timeout=10 Commit message: "Merge pull request #1564 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.21" > git rev-list --no-walk 4f47f79f53f1840767b32d78ce83479da4d392c8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:23:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:23:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:23:06 ========================================================= 06:23:06 EdgeX Global Pipelines Version Info 06:23:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:23:07 ------------------- 06:23:07 stable info: 06:23:07 ------------------- 06:23:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:23:07 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 06:23:07 Message: update stable to v1.0.258 06:23:07 ------------------- 06:23:07 experimental info: 06:23:07 ------------------- 06:23:07 Commited By: **** collab-it+edgex@linuxfoundation.org 06:23:07 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 06:23:07 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:23:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:23:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:23:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:23:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f05d4df [Pipeline] echo 06:23:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:23:08 provisioning config files... 06:23:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16263023899973820439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:09 ---> ****-login.sh 06:23:09 nexus3.edgexfoundry.org:10001 06:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:09 Configure a credential helper to remove this warning. See 06:23:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:09 06:23:09 Login Succeeded 06:23:09 nexus3.edgexfoundry.org:10002 06:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:09 Configure a credential helper to remove this warning. See 06:23:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:09 06:23:09 Login Succeeded 06:23:09 nexus3.edgexfoundry.org:10003 06:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:09 Configure a credential helper to remove this warning. See 06:23:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:09 06:23:09 Login Succeeded 06:23:09 nexus3.edgexfoundry.org:10004 06:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:09 Configure a credential helper to remove this warning. See 06:23:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:09 06:23:09 Login Succeeded 06:23:09 ****.io 06:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:10 Configure a credential helper to remove this warning. See 06:23:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:10 06:23:10 Login Succeeded 06:23:10 ---> ****-login.sh ends [Pipeline] } 06:23:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:23:10 + git rev-list -1 --merges f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2~1..f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 [Pipeline] echo 06:23:10 -----------> git rev-list -1 --merges f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2~1..f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 06:23:10 f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 [false] [Pipeline] sh 06:23:11 + git log --format=format:%s -1 f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 [Pipeline] echo 06:23:11 ========================================================= 06:23:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:23:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:23:11 + git log --format=format:%s -1 f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 [Pipeline] echo 06:23:11 [semverPrep] GIT_COMMIT: f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2, Commit Message: Merge pull request #1564 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.21 [Pipeline] echo 06:23:11 [semverPrep] This is not a build commit. [Pipeline] sh 06:23:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:23:11 + grep -v github /etc/ssh/ssh_known_hosts 06:23:11 + [ -e /tmp/ssh_known_hosts ] 06:23:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:23:11 + + sudo tee -a /etc/ssh/ssh_known_hosts 06:23:11 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:23:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:23:12 06:23:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:23:12 0.1.4: Pulling from edgex-devops/py-git-semver 06:23:12 b85a868b505f: Pulling fs layer 06:23:12 e2be974225ed: Pulling fs layer 06:23:12 339a4e72a1f5: Pulling fs layer 06:23:12 988bab9f4d93: Pulling fs layer 06:23:12 1469e6f7b9e6: Pulling fs layer 06:23:12 eaf3925da568: Pulling fs layer 06:23:12 bab4dde63d76: Pulling fs layer 06:23:12 bde34c3a00c8: Pulling fs layer 06:23:12 b352a97aabf1: Pulling fs layer 06:23:12 4872d77fe225: Pulling fs layer 06:23:12 5851b861e8e6: Pulling fs layer 06:23:12 4872d77fe225: Waiting 06:23:12 bab4dde63d76: Waiting 06:23:12 b352a97aabf1: Waiting 06:23:12 988bab9f4d93: Waiting 06:23:12 5851b861e8e6: Waiting 06:23:12 eaf3925da568: Waiting 06:23:12 1469e6f7b9e6: Waiting 06:23:12 bde34c3a00c8: Waiting 06:23:12 e2be974225ed: Verifying Checksum 06:23:12 e2be974225ed: Download complete 06:23:12 988bab9f4d93: Verifying Checksum 06:23:12 988bab9f4d93: Download complete 06:23:12 1469e6f7b9e6: Download complete 06:23:12 eaf3925da568: Verifying Checksum 06:23:12 eaf3925da568: Download complete 06:23:12 339a4e72a1f5: Verifying Checksum 06:23:12 339a4e72a1f5: Download complete 06:23:12 bde34c3a00c8: Download complete 06:23:12 b352a97aabf1: Verifying Checksum 06:23:12 b352a97aabf1: Download complete 06:23:12 4872d77fe225: Verifying Checksum 06:23:12 4872d77fe225: Download complete 06:23:12 5851b861e8e6: Verifying Checksum 06:23:12 5851b861e8e6: Download complete 06:23:12 b85a868b505f: Download complete 06:23:13 bab4dde63d76: Verifying Checksum 06:23:13 bab4dde63d76: Download complete 06:23:13 b85a868b505f: Pull complete 06:23:14 e2be974225ed: Pull complete 06:23:14 339a4e72a1f5: Pull complete 06:23:14 988bab9f4d93: Pull complete 06:23:15 1469e6f7b9e6: Pull complete 06:23:15 eaf3925da568: Pull complete 06:23:16 bab4dde63d76: Pull complete 06:23:16 bde34c3a00c8: Pull complete 06:23:16 b352a97aabf1: Pull complete 06:23:16 4872d77fe225: Pull complete 06:23:16 5851b861e8e6: Pull complete 06:23:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:23:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:23:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:17 prd-ubuntu20.04-docker-8c-8g-5216 does not seem to be running inside a container 06:23:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:23:19 $ docker top 18c08d01e8676858a43b8b5413b9afce311a50191c1d9c65ff37c91c68d4024a -eo pid,comm 06:23:19 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). 06:23:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:23:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:23:19 [ssh-agent] Looking for ssh-agent implementation... 06:23:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:23:19 $ docker exec 18c08d01e8676858a43b8b5413b9afce311a50191c1d9c65ff37c91c68d4024a ssh-agent 06:23:19 SSH_AUTH_SOCK=/tmp/ssh-6QFrWdNjt76X/agent.31 06:23:19 SSH_AGENT_PID=37 06:23:19 Running ssh-add (command line suppressed) 06:23:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11785429332420505394.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11785429332420505394.key) 06:23:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:23:20 + git tag --points-at HEAD [Pipeline] } 06:23:20 $ docker exec --env ******** --env ******** 18c08d01e8676858a43b8b5413b9afce311a50191c1d9c65ff37c91c68d4024a ssh-agent -k 06:23:20 unset SSH_AUTH_SOCK; 06:23:20 unset SSH_AGENT_PID; 06:23:20 echo Agent pid 37 killed; 06:23:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:23:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:23:20 [ssh-agent] Looking for ssh-agent implementation... 06:23:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:23:20 $ docker exec 18c08d01e8676858a43b8b5413b9afce311a50191c1d9c65ff37c91c68d4024a ssh-agent 06:23:20 SSH_AUTH_SOCK=/tmp/ssh-SAqGymY4VIRW/agent.69 06:23:20 SSH_AGENT_PID=75 06:23:20 Running ssh-add (command line suppressed) 06:23:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8077357052874303145.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8077357052874303145.key) 06:23:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:23:20 + git semver init 06:23:21 2024-03-08 06:23:21,144 [run_init] DEBUG init version:0.0.0 force:False 06:23:21 2024-03-08 06:23:21,145 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:23:21 2024-03-08 06:23:21,145 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:23:21 2024-03-08 06:23:21,146 [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) 06:23:22 2024-03-08 06:23:22,272 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:23:22 2024-03-08 06:23:22,272 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:23:22 2024-03-08 06:23:22,272 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:23:22 2024-03-08 06:23:22,273 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:23:22 3.2.0-dev.10 [Pipeline] } 06:23:22 $ docker exec --env ******** --env ******** 18c08d01e8676858a43b8b5413b9afce311a50191c1d9c65ff37c91c68d4024a ssh-agent -k 06:23:22 unset SSH_AUTH_SOCK; 06:23:22 unset SSH_AGENT_PID; 06:23:22 echo Agent pid 75 killed; 06:23:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:23:23 + git semver [Pipeline] } 06:23:23 $ docker stop --time=1 18c08d01e8676858a43b8b5413b9afce311a50191c1d9c65ff37c91c68d4024a 06:23:24 $ docker rm -f --volumes 18c08d01e8676858a43b8b5413b9afce311a50191c1d9c65ff37c91c68d4024a [Pipeline] // withDockerContainer [Pipeline] sh 06:23:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:23:25 Stashed 1 file(s) [Pipeline] echo 06:23:25 [edgeXSemver]: initialized semver on version 3.2.0-dev.10 [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 06:23:25 provisioning config files... 06:23:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9213274807150709315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:25 ---> ****-login.sh 06:23:25 nexus3.edgexfoundry.org:10001 06:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:25 Configure a credential helper to remove this warning. See 06:23:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:25 06:23:25 Login Succeeded 06:23:25 nexus3.edgexfoundry.org:10002 06:23:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:25 Configure a credential helper to remove this warning. See 06:23:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:25 06:23:25 Login Succeeded 06:23:25 nexus3.edgexfoundry.org:10003 06:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:26 Configure a credential helper to remove this warning. See 06:23:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:26 06:23:26 Login Succeeded 06:23:26 nexus3.edgexfoundry.org:10004 06:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:26 Configure a credential helper to remove this warning. See 06:23:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:26 06:23:26 Login Succeeded 06:23:26 ****.io 06:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:26 Configure a credential helper to remove this warning. See 06:23:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:26 06:23:26 Login Succeeded 06:23:26 ---> ****-login.sh ends [Pipeline] } 06:23:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:23:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:23:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:23:26 ========================================================= 06:23:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:23:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:27 + 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 . 06:23:27 Sending build context to Docker daemon 21.95MB 06:23:27 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:23:27 Step 2/10 : FROM ${BASE} AS builder 06:23:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:23:27 7264a8db6415: Pulling fs layer 06:23:27 c4d48a809fc2: Pulling fs layer 06:23:27 4f1c88b9dad5: Pulling fs layer 06:23:27 ad3a456e5733: Pulling fs layer 06:23:27 69c7f0334f64: Pulling fs layer 06:23:27 1f1c1a5573a3: Pulling fs layer 06:23:27 ce7588e14bc9: Pulling fs layer 06:23:27 b5e4710f87ac: Pulling fs layer 06:23:27 ad3a456e5733: Waiting 06:23:27 69c7f0334f64: Waiting 06:23:27 1f1c1a5573a3: Waiting 06:23:27 ce7588e14bc9: Waiting 06:23:27 b5e4710f87ac: Waiting 06:23:27 c4d48a809fc2: Download complete 06:23:27 ad3a456e5733: Verifying Checksum 06:23:27 ad3a456e5733: Download complete 06:23:27 69c7f0334f64: Verifying Checksum 06:23:27 69c7f0334f64: Download complete 06:23:27 7264a8db6415: Verifying Checksum 06:23:27 7264a8db6415: Download complete 06:23:27 1f1c1a5573a3: Verifying Checksum 06:23:27 1f1c1a5573a3: Download complete 06:23:27 7264a8db6415: Pull complete 06:23:27 b5e4710f87ac: Verifying Checksum 06:23:27 b5e4710f87ac: Download complete 06:23:27 c4d48a809fc2: Pull complete 06:23:27 4f1c88b9dad5: Download complete 06:23:28 ce7588e14bc9: Verifying Checksum 06:23:28 ce7588e14bc9: Download complete 06:23:31 4f1c88b9dad5: Pull complete 06:23:31 ad3a456e5733: Pull complete 06:23:31 69c7f0334f64: Pull complete 06:23:31 1f1c1a5573a3: Pull complete 06:23:33 ce7588e14bc9: Pull complete 06:23:33 b5e4710f87ac: Pull complete 06:23:33 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 06:23:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:23:33 ---> 88b5674ff536 06:23:33 Step 3/10 : ARG MAKE=make build 06:23:36 ---> Running in dd70b4d26d11 06:23:36 Removing intermediate container dd70b4d26d11 06:23:36 ---> a279df82bb1f 06:23:36 Step 4/10 : WORKDIR /device-sdk-go 06:23:36 ---> Running in 4b106bb2fc9f 06:23:36 Removing intermediate container 4b106bb2fc9f 06:23:36 ---> 7b5e51811368 06:23:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:23:36 ---> Running in 5c54c79f3a85 06:23:36 Removing intermediate container 5c54c79f3a85 06:23:36 ---> e22721f57cf7 06:23:36 Step 6/10 : RUN apk add --update --no-cache make git 06:23:36 ---> Running in 4363a5a60277 06:23:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:23:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:23:37 OK: 264 MiB in 52 packages 06:23:38 Removing intermediate container 4363a5a60277 06:23:38 ---> 8cc38c363e08 06:23:38 Step 7/10 : COPY go.mod vendor* ./ 06:23:38 ---> 4c042e21acaf 06:23:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:23:38 ---> Running in 1b0e0909093d 06:23:40 Still waiting to schedule task 06:23:40 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:24:04 Removing intermediate container 1b0e0909093d 06:24:04 ---> 6dcd6a97e5bb 06:24:04 Step 9/10 : COPY . . 06:24:04 ---> 3b857e5d9814 06:24:04 Step 10/10 : RUN ${MAKE} 06:24:04 ---> Running in e8fedc769cff 06:24:04 noop 06:24:04 Removing intermediate container e8fedc769cff 06:24:04 ---> ca71b4ea5bea 06:24:04 Successfully built ca71b4ea5bea 06:24:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:05 + docker inspect -f . ci-base-image-x86_64 06:24:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:05 prd-ubuntu20.04-docker-8c-8g-5216 does not seem to be running inside a container 06:24:05 $ 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 ******** ci-base-image-x86_64 cat 06:24:05 $ docker top c047677b9fad86749c14278e4b2a56a5e5d290a7c71271c8dac121364e06e911 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:06 + go version 06:24:06 go version go1.21.0 linux/amd64 [Pipeline] } 06:24:06 $ docker stop --time=1 c047677b9fad86749c14278e4b2a56a5e5d290a7c71271c8dac121364e06e911 06:24:07 $ docker rm -f --volumes c047677b9fad86749c14278e4b2a56a5e5d290a7c71271c8dac121364e06e911 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:07 + docker inspect -f . ci-base-image-x86_64 06:24:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:08 prd-ubuntu20.04-docker-8c-8g-5216 does not seem to be running inside a container 06:24:08 $ 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 ******** ci-base-image-x86_64 cat 06:24:08 $ docker top 8729dce7b89f465f8893ae578d6670e0adc9c976250d4c8f4641aeac595ec2e0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:24:09 + make test 06:24:09 go test -race -coverprofile=coverage.out ./... 06:24:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:24:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:24:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:24:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:24:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:24:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:24:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:24:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:24:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:24:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.061s coverage: 27.6% of statements 06:24:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.055s coverage: 81.5% of statements 06:24:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.059s coverage: 86.0% of statements 06:24:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.078s coverage: 71.8% of statements 06:24:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:24:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:24:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:24:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.056s coverage: 14.4% of statements 06:24:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.642s coverage: 45.9% of statements 06:24:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.072s coverage: 68.5% of statements 06:24:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.107s coverage: 89.2% of statements 06:24:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements 06:24:56 GO111MODULE=on go vet ./... 06:24:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:24:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:24:57 ./bin/test-attribution-txt.sh 06:24:57 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 06:24:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:24:58 $ docker stop --time=1 8729dce7b89f465f8893ae578d6670e0adc9c976250d4c8f4641aeac595ec2e0 06:25:00 $ docker rm -f --volumes 8729dce7b89f465f8893ae578d6670e0adc9c976250d4c8f4641aeac595ec2e0 [Pipeline] // withDockerContainer [Pipeline] sh 06:25:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:25:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:25:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:25:02 + ls -al . 06:25:02 total 308 06:25:02 drwxrwxr-x 11 jenkins jenkins 4096 Mar 8 06:24 . 06:25:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 06:23 .. 06:25:02 -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 06:23 .dockerignore 06:25:02 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 06:24 .git 06:25:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 06:23 .github 06:25:02 -rw-rw-r-- 1 jenkins jenkins 137 Mar 8 06:23 .gitignore 06:25:02 -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 06:23 .golangci.yml 06:25:02 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 06:23 .semver 06:25:02 -rw-rw-r-- 1 jenkins jenkins 48109 Mar 8 06:23 CHANGELOG.md 06:25:02 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 06:23 GOVERNANCE.md 06:25:02 -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 06:23 Jenkinsfile 06:25:02 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 06:23 LICENSE 06:25:02 -rw-rw-r-- 1 jenkins jenkins 1842 Mar 8 06:23 Makefile 06:25:02 -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 06:23 OWNERS.md 06:25:02 -rw-rw-r-- 1 jenkins jenkins 4933 Mar 8 06:23 README.md 06:25:02 -rw-rw-r-- 1 jenkins jenkins 12 Mar 8 06:23 VERSION 06:25:02 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 06:23 bin 06:25:02 -rw-r--r-- 1 jenkins jenkins 122153 Mar 8 06:24 coverage.out 06:25:02 drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 06:23 example 06:25:02 -rw-rw-r-- 1 jenkins jenkins 3768 Mar 8 06:23 go.mod 06:25:02 -rw-rw-r-- 1 jenkins jenkins 35399 Mar 8 06:23 go.sum 06:25:02 drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 06:23 internal 06:25:02 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 06:23 openapi 06:25:02 drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 06:23 pkg 06:25:02 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 06:23 snap 06:25:02 -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 06:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:02 + 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=f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 --label arch=amd64 --label version=3.2.0-dev.10 . 06:25:02 Sending build context to Docker daemon 22.07MB 06:25:02 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:25:02 Step 2/23 : FROM ${BASE} AS builder 06:25:02 ---> ca71b4ea5bea 06:25:02 Step 3/23 : ARG MAKE=make build 06:25:02 ---> Running in ad4ba3205bcd 06:25:02 Removing intermediate container ad4ba3205bcd 06:25:02 ---> 482c0f44e991 06:25:02 Step 4/23 : WORKDIR /device-sdk-go 06:25:02 ---> Running in 765f12ec822a 06:25:02 Removing intermediate container 765f12ec822a 06:25:02 ---> ab4cd846bde6 06:25:02 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:25:02 ---> Running in 6f42c94d0714 06:25:02 Removing intermediate container 6f42c94d0714 06:25:02 ---> 0279fc210286 06:25:02 Step 6/23 : RUN apk add --update --no-cache make git 06:25:02 ---> Running in 129bf014346e 06:25:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:25:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:25:03 OK: 264 MiB in 52 packages 06:25:04 Removing intermediate container 129bf014346e 06:25:04 ---> 7d6a9dcc01e0 06:25:04 Step 7/23 : COPY go.mod vendor* ./ 06:25:04 ---> ddd78cad90af 06:25:04 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:25:04 ---> Running in 9e22028e1c96 06:25:04 Removing intermediate container 9e22028e1c96 06:25:04 ---> 87eb07cee9dd 06:25:04 Step 9/23 : COPY . . 06:25:05 ---> a417d7e8badc 06:25:05 Step 10/23 : RUN ${MAKE} 06:25:05 ---> Running in 23f1841e081c 06:25:05 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.10" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:25:23 Removing intermediate container 23f1841e081c 06:25:23 ---> 11fbd8adfd48 06:25:23 Step 11/23 : FROM alpine:3.18 06:25:23 3.18: Pulling from library/alpine 06:25:23 619be1103602: Pulling fs layer 06:25:23 619be1103602: Verifying Checksum 06:25:23 619be1103602: Download complete 06:25:23 619be1103602: Pull complete 06:25:23 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 06:25:23 Status: Downloaded newer image for alpine:3.18 06:25:23 ---> d3782b16ccc9 06:25:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:25:23 ---> Running in 5e26ce5b8eb2 06:25:23 Removing intermediate container 5e26ce5b8eb2 06:25:23 ---> c91f70d53fe5 06:25:23 Step 13/23 : RUN apk add --update --no-cache 06:25:23 ---> Running in d261d53dec86 06:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:25:24 OK: 7 MiB in 15 packages 06:25:24 Removing intermediate container d261d53dec86 06:25:24 ---> 9bc2589be581 06:25:24 Step 14/23 : WORKDIR / 06:25:24 ---> Running in 58a2613b3ac6 06:25:24 Removing intermediate container 58a2613b3ac6 06:25:24 ---> d2524c7feef4 06:25:24 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:25:24 ---> a00fa901228d 06:25:24 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:25:25 ---> 0c35b2606ecd 06:25:25 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:25:25 ---> f7e4a6c99b1c 06:25:25 Step 18/23 : EXPOSE 59999 06:25:25 ---> Running in 326db103076b 06:25:25 Removing intermediate container 326db103076b 06:25:25 ---> f48e35bcc775 06:25:25 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:25:25 ---> Running in 1bde8d256e18 06:25:25 Removing intermediate container 1bde8d256e18 06:25:25 ---> 901f68437e75 06:25:25 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:25:25 ---> Running in abeaad2a2fd7 06:25:26 Removing intermediate container abeaad2a2fd7 06:25:26 ---> 3b074299cc71 06:25:26 Step 21/23 : LABEL arch=amd64 06:25:26 ---> Running in 76401d13c03b 06:25:26 Removing intermediate container 76401d13c03b 06:25:26 ---> cde11f91beb7 06:25:26 Step 22/23 : LABEL git_sha=f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 06:25:26 ---> Running in c91b3b710cc9 06:25:26 Removing intermediate container c91b3b710cc9 06:25:26 ---> a4944e97a25b 06:25:26 Step 23/23 : LABEL version=3.2.0-dev.10 06:25:26 ---> Running in d0c398805fee 06:25:26 Removing intermediate container d0c398805fee 06:25:26 ---> 0b1961bd97dc 06:25:26 [Warning] One or more build-args [ARCH] were not consumed 06:25:26 Successfully built 0b1961bd97dc 06:25:26 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:25:27 06:25:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:25:27 latest: Pulling from edgex-lftools-log-publisher 06:25:27 5eb5b503b376: Pulling fs layer 06:25:27 5c69ac0246d0: Pulling fs layer 06:25:27 ec43610c2a17: Pulling fs layer 06:25:27 3a2ae6a8a46f: Pulling fs layer 06:25:27 33b1e0a273af: Pulling fs layer 06:25:27 5d3b04190fa2: Pulling fs layer 06:25:27 2f39f015ded8: Pulling fs layer 06:25:27 33b1e0a273af: Waiting 06:25:27 5d3b04190fa2: Waiting 06:25:27 2f39f015ded8: Waiting 06:25:27 3a2ae6a8a46f: Waiting 06:25:27 5c69ac0246d0: Verifying Checksum 06:25:27 5c69ac0246d0: Download complete 06:25:27 3a2ae6a8a46f: Verifying Checksum 06:25:27 3a2ae6a8a46f: Download complete 06:25:27 33b1e0a273af: Verifying Checksum 06:25:27 33b1e0a273af: Download complete 06:25:27 5d3b04190fa2: Verifying Checksum 06:25:27 5d3b04190fa2: Download complete 06:25:27 ec43610c2a17: Verifying Checksum 06:25:27 ec43610c2a17: Download complete 06:25:27 5eb5b503b376: Verifying Checksum 06:25:27 5eb5b503b376: Download complete 06:25:28 2f39f015ded8: Download complete 06:25:28 5eb5b503b376: Pull complete 06:25:29 5c69ac0246d0: Pull complete 06:25:29 ec43610c2a17: Pull complete 06:25:29 3a2ae6a8a46f: Pull complete 06:25:29 33b1e0a273af: Pull complete 06:25:29 5d3b04190fa2: Pull complete 06:25:34 2f39f015ded8: Pull complete 06:25:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:25:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:25:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:25:34 prd-ubuntu20.04-docker-8c-8g-5216 does not seem to be running inside a container 06:25:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:25:39 $ docker top c48e36fef68fde7ab51449c9b8e8f5b437e5907b2d5c42eae7153e88c685e1c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:25:39 ---> job-cost.sh 06:25:39 lf-activate-venv: SKIPPING 06:25:39 INFO: No Stack... 06:25:39 INFO: Retrieving Pricing Info for: v3-standard-8 06:25:40 INFO: Archiving Costs [Pipeline] sh 06:25:40 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:25:40 + cut -d, -f6 [Pipeline] lock 06:25:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-281-stack-cost] 06:25:40 Resource [jenkins-edgexfoundry-device-sdk-go-main-281-stack-cost] did not exist. Created. 06:25:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-281-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:25:40 + echo total: 0.2199999988079071 [Pipeline] stash 06:25:40 Stashed 1 file(s) [Pipeline] } 06:25:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-281-stack-cost] [Pipeline] // lock [Pipeline] } 06:25:40 $ docker stop --time=1 c48e36fef68fde7ab51449c9b8e8f5b437e5907b2d5c42eae7153e88c685e1c1 06:25:42 $ docker rm -f --volumes c48e36fef68fde7ab51449c9b8e8f5b437e5907b2d5c42eae7153e88c685e1c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:25:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5223 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:25:57 Running in /w/workspace/device-sdk-go/281 [Pipeline] { [Pipeline] checkout 06:25:59 The recommended git tool is: git 06:26:04 using credential edgex-jenkins-ssh 06:26:04 Cloning the remote Git repository 06:26:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:26:04 > git init /w/workspace/device-sdk-go/281 # timeout=10 06:26:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:26:04 > git --version # timeout=10 06:26:04 > git --version # 'git version 2.25.1' 06:26:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:26:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:08 Avoid second fetch 06:26:08 Checking out Revision f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 (main) 06:26:09 Commit message: "Merge pull request #1564 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.21" 06:26:08 > git config core.sparsecheckout # timeout=10 06:26:08 > git checkout -f f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:26:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:26:10 % Total % Received % Xferd Average Speed Time Time Time Current 06:26:10 Dload Upload Total Spent Left Speed 06:26:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 06:26:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:26:11 + sudo tee /etc/docker/daemon.new 06:26:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:26:11 { 06:26:11 "registry-mirrors": [ 06:26:11 "https://nexus3.edgexfoundry.org:10001" 06:26:11 ], 06:26:11 "bip": "10.250.0.254/24", 06:26:11 "hosts": [ 06:26:11 "tcp://0.0.0.0:5555", 06:26:11 "unix:///var/run/docker.sock" 06:26:11 ], 06:26:11 "mtu": 1458, 06:26:11 "selinux-enabled": true, 06:26:11 "seccomp-profile": "/etc/docker/seccomp.json" 06:26:11 } [Pipeline] sh 06:26:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:26:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:26:30 provisioning config files... 06:26:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/281@tmp/config11852147163534597126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:30 ---> ****-login.sh 06:26:30 nexus3.edgexfoundry.org:10001 06:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:26:31 Configure a credential helper to remove this warning. See 06:26:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:26:31 06:26:31 Login Succeeded 06:26:31 nexus3.edgexfoundry.org:10002 06:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:26:31 Configure a credential helper to remove this warning. See 06:26:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:26:31 06:26:31 Login Succeeded 06:26:31 nexus3.edgexfoundry.org:10003 06:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:26:32 Configure a credential helper to remove this warning. See 06:26:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:26:32 06:26:32 Login Succeeded 06:26:32 nexus3.edgexfoundry.org:10004 06:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:26:32 Configure a credential helper to remove this warning. See 06:26:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:26:32 06:26:32 Login Succeeded 06:26:32 ****.io 06:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:26:33 Configure a credential helper to remove this warning. See 06:26:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:26:33 06:26:33 Login Succeeded 06:26:33 ---> ****-login.sh ends [Pipeline] } 06:26:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:26:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:26:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:26:33 ========================================================= 06:26:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:26:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:34 + 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 . 06:26:34 Sending build context to Docker daemon 11.38MB 06:26:34 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:26:34 Step 2/10 : FROM ${BASE} AS builder 06:26:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:26:34 9fda8d8052c6: Pulling fs layer 06:26:34 5d54e960e981: Pulling fs layer 06:26:34 c4a7e357bf2a: Pulling fs layer 06:26:34 f0e02332f6b5: Pulling fs layer 06:26:34 872ee5b61b7b: Pulling fs layer 06:26:34 0c6a40ed1a82: Pulling fs layer 06:26:34 94ae7d8d031c: Pulling fs layer 06:26:34 f0e02332f6b5: Waiting 06:26:34 872ee5b61b7b: Waiting 06:26:34 0c6a40ed1a82: Waiting 06:26:34 94ae7d8d031c: Waiting 06:26:35 5d54e960e981: Verifying Checksum 06:26:35 5d54e960e981: Download complete 06:26:35 f0e02332f6b5: Verifying Checksum 06:26:35 f0e02332f6b5: Download complete 06:26:35 872ee5b61b7b: Verifying Checksum 06:26:35 872ee5b61b7b: Download complete 06:26:35 9fda8d8052c6: Verifying Checksum 06:26:35 9fda8d8052c6: Download complete 06:26:35 94ae7d8d031c: Verifying Checksum 06:26:35 94ae7d8d031c: Download complete 06:26:35 9fda8d8052c6: Pull complete 06:26:36 5d54e960e981: Pull complete 06:26:36 c4a7e357bf2a: Verifying Checksum 06:26:36 c4a7e357bf2a: Download complete 06:26:38 0c6a40ed1a82: Verifying Checksum 06:26:38 0c6a40ed1a82: Download complete 06:26:50 c4a7e357bf2a: Pull complete 06:26:50 f0e02332f6b5: Pull complete 06:26:50 872ee5b61b7b: Pull complete 06:26:58 0c6a40ed1a82: Pull complete 06:27:00 94ae7d8d031c: Pull complete 06:27:00 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 06:27:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:27:00 ---> 86de565de09d 06:27:00 Step 3/10 : ARG MAKE=make build 06:27:02 ---> Running in c8f020129664 06:27:02 Removing intermediate container c8f020129664 06:27:02 ---> 588baa2d39ac 06:27:02 Step 4/10 : WORKDIR /device-sdk-go 06:27:02 ---> Running in c3c594db33e6 06:27:02 Removing intermediate container c3c594db33e6 06:27:02 ---> d9f62b9dd2b2 06:27:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:27:02 ---> Running in 0575f195f294 06:27:03 Removing intermediate container 0575f195f294 06:27:03 ---> 37daa82bad8a 06:27:03 Step 6/10 : RUN apk add --update --no-cache make git 06:27:03 ---> Running in 8f3c27e72cba 06:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:27:05 OK: 266 MiB in 52 packages 06:27:06 Removing intermediate container 8f3c27e72cba 06:27:06 ---> 33efe9a19d22 06:27:06 Step 7/10 : COPY go.mod vendor* ./ 06:27:07 ---> 8d572cb24186 06:27:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:27:07 ---> Running in 4e8bd283e79a 06:28:15 Removing intermediate container 4e8bd283e79a 06:28:15 ---> bae8eced4520 06:28:15 Step 9/10 : COPY . . 06:28:15 ---> 4bb4600f0557 06:28:15 Step 10/10 : RUN ${MAKE} 06:28:15 ---> Running in 0ea776c0bc76 06:28:15 noop 06:28:15 Removing intermediate container 0ea776c0bc76 06:28:15 ---> 277d6afc5a73 06:28:15 Successfully built 277d6afc5a73 06:28:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:15 + docker inspect -f . ci-base-image-arm64 06:28:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:16 prd-ubuntu20.04-docker-arm64-4c-16g-5223 does not seem to be running inside a container 06:28:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/281 -v /w/workspace/device-sdk-go/281:/w/workspace/device-sdk-go/281:rw,z -v /w/workspace/device-sdk-go/281@tmp:/w/workspace/device-sdk-go/281@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 06:28:17 $ docker top ade10812caf9c7c084b46463fa466380a55d803d1c53b3a5532b1cba8a4c05f4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:18 + go version 06:28:18 go version go1.21.0 linux/arm64 [Pipeline] } 06:28:18 $ docker stop --time=1 ade10812caf9c7c084b46463fa466380a55d803d1c53b3a5532b1cba8a4c05f4 06:28:20 $ docker rm -f --volumes ade10812caf9c7c084b46463fa466380a55d803d1c53b3a5532b1cba8a4c05f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:20 + docker inspect -f . ci-base-image-arm64 06:28:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:21 prd-ubuntu20.04-docker-arm64-4c-16g-5223 does not seem to be running inside a container 06:28:21 $ 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/281 -v /w/workspace/device-sdk-go/281:/w/workspace/device-sdk-go/281:rw,z -v /w/workspace/device-sdk-go/281@tmp:/w/workspace/device-sdk-go/281@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 06:28:22 $ docker top 246de760206b150a67c9beccfbd411fa3cfa75173020f92dbfac2d139ef123d0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:23 + git config --global --add safe.directory /w/workspace/device-sdk-go/281 [Pipeline] fileExists [Pipeline] sh 06:28:24 + make test 06:28:24 go test -race -coverprofile=coverage.out ./... 06:29:03 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:30:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:30:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:30:54 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:30:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:30:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:30:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.217s coverage: 27.6% of statements 06:31:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.277s coverage: 81.5% of statements 06:31:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:31:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:31:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.354s coverage: 86.0% of statements 06:31:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:31:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.538s coverage: 71.8% of statements 06:31:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.271s coverage: 14.4% of statements 06:31:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.881s coverage: 45.9% of statements 06:31:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:31:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:31:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.411s coverage: 68.5% of statements 06:31:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.455s coverage: 89.2% of statements 06:31:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:31:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.229s coverage: 5.5% of statements 06:31:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:31:29 GO111MODULE=on go vet ./... 06:33:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:33:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:33:35 ./bin/test-attribution-txt.sh 06:33:35 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 06:33:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:33:35 $ docker stop --time=1 246de760206b150a67c9beccfbd411fa3cfa75173020f92dbfac2d139ef123d0 06:33:37 $ docker rm -f --volumes 246de760206b150a67c9beccfbd411fa3cfa75173020f92dbfac2d139ef123d0 [Pipeline] // withDockerContainer [Pipeline] sh 06:33:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:33:39 Warning: overwriting stash ‘coverage-report’ 06:33:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:33:40 + ls -al . 06:33:40 total 304 06:33:40 drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 06:28 . 06:33:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 06:26 .. 06:33:40 -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 06:26 .dockerignore 06:33:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 06:26 .git 06:33:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 06:26 .github 06:33:40 -rw-rw-r-- 1 jenkins jenkins 137 Mar 8 06:26 .gitignore 06:33:40 -rw-rw-r-- 1 jenkins jenkins 42 Mar 8 06:26 .golangci.yml 06:33:40 -rw-rw-r-- 1 jenkins jenkins 48109 Mar 8 06:26 CHANGELOG.md 06:33:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 06:26 GOVERNANCE.md 06:33:40 -rw-rw-r-- 1 jenkins jenkins 885 Mar 8 06:26 Jenkinsfile 06:33:40 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 06:26 LICENSE 06:33:40 -rw-rw-r-- 1 jenkins jenkins 1842 Mar 8 06:26 Makefile 06:33:40 -rw-rw-r-- 1 jenkins jenkins 619 Mar 8 06:26 OWNERS.md 06:33:40 -rw-rw-r-- 1 jenkins jenkins 4933 Mar 8 06:26 README.md 06:33:40 -rw-rw-r-- 1 jenkins jenkins 12 Mar 8 06:23 VERSION 06:33:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 06:26 bin 06:33:40 -rw-r--r-- 1 jenkins jenkins 122153 Mar 8 06:31 coverage.out 06:33:40 drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 06:26 example 06:33:40 -rw-rw-r-- 1 jenkins jenkins 3768 Mar 8 06:26 go.mod 06:33:40 -rw-rw-r-- 1 jenkins jenkins 35399 Mar 8 06:26 go.sum 06:33:40 drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 06:26 internal 06:33:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 06:26 openapi 06:33:40 drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 06:26 pkg 06:33:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 06:26 snap 06:33:40 -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 06:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:41 + 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=f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 --label arch=arm64 --label version=3.2.0-dev.10 . 06:33:41 Sending build context to Docker daemon 11.5MB 06:33:41 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 06:33:41 Step 2/23 : FROM ${BASE} AS builder 06:33:41 ---> 277d6afc5a73 06:33:41 Step 3/23 : ARG MAKE=make build 06:33:41 ---> Running in f47c883016fe 06:33:42 Removing intermediate container f47c883016fe 06:33:42 ---> b452b9cb9911 06:33:42 Step 4/23 : WORKDIR /device-sdk-go 06:33:42 ---> Running in de6fb4397ddb 06:33:42 Removing intermediate container de6fb4397ddb 06:33:42 ---> f6c07bd995c6 06:33:42 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:33:42 ---> Running in 2133d9547780 06:33:43 Removing intermediate container 2133d9547780 06:33:43 ---> dcd81c47aa8b 06:33:43 Step 6/23 : RUN apk add --update --no-cache make git 06:33:43 ---> Running in 00c4c9a814d8 06:33:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:33:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:33:45 OK: 266 MiB in 52 packages 06:33:46 Removing intermediate container 00c4c9a814d8 06:33:46 ---> ee91cb36ce4b 06:33:46 Step 7/23 : COPY go.mod vendor* ./ 06:33:47 ---> 95e0ddae20ea 06:33:47 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:33:47 ---> Running in cea3b482a29c 06:33:49 Removing intermediate container cea3b482a29c 06:33:49 ---> 8480ed152a3b 06:33:49 Step 9/23 : COPY . . 06:33:50 ---> 1d464411fe03 06:33:50 Step 10/23 : RUN ${MAKE} 06:33:50 ---> Running in 80327c756fdd 06:33:51 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.10" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:35:43 Removing intermediate container 80327c756fdd 06:35:43 ---> 2d8885ec307d 06:35:43 Step 11/23 : FROM alpine:3.18 06:35:43 3.18: Pulling from library/alpine 06:35:43 c6b39de5b339: Pulling fs layer 06:35:43 c6b39de5b339: Download complete 06:35:43 c6b39de5b339: Pull complete 06:35:43 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 06:35:43 Status: Downloaded newer image for alpine:3.18 06:35:43 ---> 33abbf032149 06:35:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:35:43 ---> Running in ce1913f01d5a 06:35:43 Removing intermediate container ce1913f01d5a 06:35:43 ---> 30ef723cc7fb 06:35:43 Step 13/23 : RUN apk add --update --no-cache 06:35:43 ---> Running in 8d98535469fa 06:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:35:43 OK: 8 MiB in 15 packages 06:35:43 Removing intermediate container 8d98535469fa 06:35:43 ---> 968df77ed5df 06:35:43 Step 14/23 : WORKDIR / 06:35:43 ---> Running in 08809a13ac30 06:35:43 Removing intermediate container 08809a13ac30 06:35:43 ---> 785bd4b15557 06:35:43 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:35:43 ---> 7d16e2d62903 06:35:43 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:35:43 ---> c329edba5ce0 06:35:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:35:44 ---> 3b2baae7da26 06:35:44 Step 18/23 : EXPOSE 59999 06:35:44 ---> Running in c20165384e84 06:35:44 Removing intermediate container c20165384e84 06:35:44 ---> 434197765394 06:35:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:35:45 ---> Running in d85e0fab1c7b 06:35:45 Removing intermediate container d85e0fab1c7b 06:35:45 ---> a9f2b6093da3 06:35:45 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:35:45 ---> Running in e9e9ecc0696e 06:35:45 Removing intermediate container e9e9ecc0696e 06:35:45 ---> a074a0f76e71 06:35:45 Step 21/23 : LABEL arch=arm64 06:35:45 ---> Running in c8f14b900e71 06:35:45 Removing intermediate container c8f14b900e71 06:35:45 ---> 2429e2f24af0 06:35:45 Step 22/23 : LABEL git_sha=f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 06:35:46 ---> Running in f0c322c91459 06:35:46 Removing intermediate container f0c322c91459 06:35:46 ---> 260c33808053 06:35:46 Step 23/23 : LABEL version=3.2.0-dev.10 06:35:46 ---> Running in adf9ef682763 06:35:46 Removing intermediate container adf9ef682763 06:35:46 ---> 5aded12d3ff0 06:35:46 [Warning] One or more build-args [ARCH] were not consumed 06:35:46 Successfully built 5aded12d3ff0 06:35:46 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:35:47 06:35:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:35:47 arm64: Pulling from edgex-lftools-log-publisher 06:35:47 8998bd30e6a1: Pulling fs layer 06:35:47 04944245beec: Pulling fs layer 06:35:47 699f458cf7ca: Pulling fs layer 06:35:47 765212b225bb: Pulling fs layer 06:35:47 f23df028b6ca: Pulling fs layer 06:35:47 d65c8cfc05b1: Pulling fs layer 06:35:47 2437ff75d9bd: Pulling fs layer 06:35:47 765212b225bb: Waiting 06:35:47 f23df028b6ca: Waiting 06:35:47 d65c8cfc05b1: Waiting 06:35:47 2437ff75d9bd: Waiting 06:35:47 04944245beec: Verifying Checksum 06:35:47 04944245beec: Download complete 06:35:48 765212b225bb: Verifying Checksum 06:35:48 765212b225bb: Download complete 06:35:48 f23df028b6ca: Download complete 06:35:48 d65c8cfc05b1: Verifying Checksum 06:35:48 d65c8cfc05b1: Download complete 06:35:48 699f458cf7ca: Verifying Checksum 06:35:48 699f458cf7ca: Download complete 06:35:48 8998bd30e6a1: Verifying Checksum 06:35:48 8998bd30e6a1: Download complete 06:35:51 2437ff75d9bd: Verifying Checksum 06:35:51 2437ff75d9bd: Download complete 06:35:53 8998bd30e6a1: Pull complete 06:35:53 04944245beec: Pull complete 06:35:55 699f458cf7ca: Pull complete 06:35:55 765212b225bb: Pull complete 06:35:56 f23df028b6ca: Pull complete 06:35:56 d65c8cfc05b1: Pull complete 06:36:14 2437ff75d9bd: Pull complete 06:36:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:36:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:36:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:15 prd-ubuntu20.04-docker-arm64-4c-16g-5223 does not seem to be running inside a container 06:36:15 $ 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/281 -v /w/workspace/device-sdk-go/281:/w/workspace/device-sdk-go/281:rw,z -v /w/workspace/device-sdk-go/281@tmp:/w/workspace/device-sdk-go/281@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 06:36:17 $ docker top 6096947d8731eb2602fc1dfd97b3c7f30858186a73e428794cfd41cac574e07b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:18 ---> job-cost.sh 06:36:18 lf-activate-venv: SKIPPING 06:36:18 INFO: No Stack... 06:36:18 INFO: Retrieving Pricing Info for: v3-standard-4 06:36:19 INFO: Archiving Costs [Pipeline] sh 06:36:20 + cat /w/workspace/device-sdk-go/281/archives/cost.csv 06:36:20 + cut -d, -f6 [Pipeline] lock 06:36:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-281-stack-cost] 06:36:20 Resource [jenkins-edgexfoundry-device-sdk-go-main-281-stack-cost] did not exist. Created. 06:36:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-281-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:20 /w/workspace/device-sdk-go/281@tmp/durable-77cadc14/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:36:21 + echo total: 0.10999999940395355 [Pipeline] stash 06:36:21 Warning: overwriting stash ‘stack-cost’ 06:36:21 Stashed 1 file(s) [Pipeline] } 06:36:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-281-stack-cost] [Pipeline] // lock [Pipeline] } 06:36:21 $ docker stop --time=1 6096947d8731eb2602fc1dfd97b3c7f30858186a73e428794cfd41cac574e07b 06:36:22 $ docker rm -f --volumes 6096947d8731eb2602fc1dfd97b3c7f30858186a73e428794cfd41cac574e07b [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 06:36:24 provisioning config files... 06:36:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15512830654917218086tmp [Pipeline] { [Pipeline] sh 06:36:24 + set +x 06:36:24 + curl -s https://codecov.io/bash 06:36:24 + bash -s -- 06:36:24 06:36:24 _____ _ 06:36:24 / ____| | | 06:36:24 | | ___ __| | ___ ___ _____ __ 06:36:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:36:24 | |___| (_) | (_| | __/ (_| (_) \ V / 06:36:24 \_____\___/ \__,_|\___|\___\___/ \_/ 06:36:24 Bash-1.0.6 06:36:24 06:36:24 06:36:24 ==> git version 2.25.1 found 06:36:24 ==> 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 06:36:24 Release-Date: 2020-01-08 06:36:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:36:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:36:24 ==> Jenkins CI detected. 06:36:24 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:36:24 project root: . 06:36:24 --> token set from env 06:36:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:36:24 ==> Running gcov in . (disable via -X gcov) 06:36:24 ==> Python coveragepy not found 06:36:24 ==> Searching for coverage reports in: 06:36:24 + . 06:36:24 -> Found 1 reports 06:36:24 ==> Detecting git/mercurial file structure 06:36:24 ==> Reading reports 06:36:24 + ./coverage.out bytes=122153 06:36:24 ==> Appending adjustments 06:36:24 https://docs.codecov.io/docs/fixing-reports 06:36:24 + Found adjustments 06:36:24 ==> Gzipping contents 06:36:24 20K /tmp/codecov.hAhwlq.gz 06:36:24 ==> Uploading reports 06:36:24 url: https://codecov.io 06:36:24 query: branch=main&commit=f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2&build=281&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F281%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:36:24 -> Pinging Codecov 06:36:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2&build=281&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F281%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:36:25 -> Uploading to 06:36:25 https://storage.googleapis.com/codecov/v4/raw/2024-03-08/7E55EF52A471D76F132DFD9A03CDDE97/f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2/564ec7eb-8dd3-4c0f-aca4-488144b19b35.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240308T063624Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b750945d857cf6c805ddc572a81986574d3a9ac68d10bc3bef3ef921bf16aa74 06:36:25 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:25 Dload Upload Total Spent Left Speed 06:36:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 57352 --:--:-- --:--:-- --:--:-- 57352 06:36:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 [Pipeline] } 06:36:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:36:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:36:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:36:26 06:36:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:36:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:36:31 df9b9388f04a: Pulling fs layer 06:36:31 52dc419b0ee2: Pulling fs layer 06:36:31 25bc292e5bac: Pulling fs layer 06:36:31 114826534d7a: Pulling fs layer 06:36:31 4657fd5d0bcf: Pulling fs layer 06:36:31 6ad1cebc031e: Pulling fs layer 06:36:31 8a3aa393b2d8: Pulling fs layer 06:36:31 114826534d7a: Waiting 06:36:31 8a3aa393b2d8: Waiting 06:36:31 6ad1cebc031e: Waiting 06:36:31 4657fd5d0bcf: Waiting 06:36:31 25bc292e5bac: Verifying Checksum 06:36:31 25bc292e5bac: Download complete 06:36:31 52dc419b0ee2: Verifying Checksum 06:36:31 52dc419b0ee2: Download complete 06:36:31 4657fd5d0bcf: Download complete 06:36:31 df9b9388f04a: Download complete 06:36:31 6ad1cebc031e: Verifying Checksum 06:36:31 6ad1cebc031e: Download complete 06:36:32 114826534d7a: Verifying Checksum 06:36:32 114826534d7a: Download complete 06:36:32 8a3aa393b2d8: Verifying Checksum 06:36:32 8a3aa393b2d8: Download complete 06:36:32 df9b9388f04a: Pull complete 06:36:35 52dc419b0ee2: Pull complete 06:36:37 25bc292e5bac: Pull complete 06:36:52 114826534d7a: Pull complete 06:36:52 4657fd5d0bcf: Pull complete 06:36:52 6ad1cebc031e: Pull complete 06:36:55 8a3aa393b2d8: Pull complete 06:36:55 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:36:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:36:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:55 prd-ubuntu20.04-docker-8c-8g-5216 does not seem to be running inside a container 06:36:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:37:05 $ docker top 5f281f858ba6002823028593aa66c5f11ca6b28bb804a2d61fc12576b795d3f1 -eo pid,comm [Pipeline] { [Pipeline] echo 06:37:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 06:37:05 + set -o pipefail 06:37:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 06:37:12 06:37:12 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 06:37:12 06:37:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/b83974bf-57eb-465d-90ee-e1b9a7b6f237 06:37:12 06:37:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:37:12 06:37:12 06:37:12 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:37:12 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:37:12 More details here: https://snyk.co/ue1NS [Pipeline] } 06:37:12 $ docker stop --time=1 5f281f858ba6002823028593aa66c5f11ca6b28bb804a2d61fc12576b795d3f1 06:37:18 $ docker rm -f --volumes 5f281f858ba6002823028593aa66c5f11ca6b28bb804a2d61fc12576b795d3f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 06:37:18 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:18 provisioning config files... 06:37:18 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6497088838645056815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:19 --> edgex-publish-swagger.sh 06:37:19 === Publish openapi/v3 API === 06:37:19 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 06:37:19 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 06:37:19 % Total % Received % Xferd Average Speed Time Time Time Current 06:37:19 Dload Upload Total Spent Left Speed 06:37:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23854 100 180 100 23674 433 57045 --:--:-- --:--:-- --:--:-- 57341 06:37:19 {"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":{}} 06:37:19 [Pipeline] } 06:37:19 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 06:37:20 + git log --format=format:%s -1 f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 [Pipeline] sh 06:37:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:37:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:37:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:21 prd-ubuntu20.04-docker-8c-8g-5216 does not seem to be running inside a container 06:37:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:37:21 $ docker top e776908103d29a0f54c00e489cc164dfc44bb3087aeab37786f4b5704c357f30 -eo pid,comm 06:37:21 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). 06:37:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:37:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:37:21 [ssh-agent] Looking for ssh-agent implementation... 06:37:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:37:21 $ docker exec e776908103d29a0f54c00e489cc164dfc44bb3087aeab37786f4b5704c357f30 ssh-agent 06:37:22 SSH_AUTH_SOCK=/tmp/ssh-vfwzgLB4OKdi/agent.32 06:37:22 SSH_AGENT_PID=38 06:37:22 Running ssh-add (command line suppressed) 06:37:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11456269849919767464.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11456269849919767464.key) 06:37:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:37:22 + git semver tag 06:37:22 2024-03-08 06:37:22,717 [run_tag] DEBUG tag force:False 06:37:22 2024-03-08 06:37:22,717 [check_head_tag] DEBUG check head tag 06:37:22 2024-03-08 06:37:22,718 [execute] INFO git cat-file --batch-check 06:37:22 2024-03-08 06:37:22,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:37:22 2024-03-08 06:37:22,722 [execute] INFO git cat-file --batch 06:37:22 2024-03-08 06:37:22,722 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:37:22 2024-03-08 06:37:22,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:37:22 2024-03-08 06:37:22,741 [execute] INFO git tag -a v3.2.0-dev.10 -m v3.2.0-dev.10 06:37:22 2024-03-08 06:37:22,742 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.10', '-m', 'v3.2.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:37:22 2024-03-08 06:37:22,746 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:37:22 3.2.0-dev.10 [Pipeline] } 06:37:22 $ docker exec --env ******** --env ******** e776908103d29a0f54c00e489cc164dfc44bb3087aeab37786f4b5704c357f30 ssh-agent -k 06:37:22 unset SSH_AUTH_SOCK; 06:37:22 unset SSH_AGENT_PID; 06:37:22 echo Agent pid 38 killed; 06:37:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:37:23 + git semver [Pipeline] } 06:37:23 $ docker stop --time=1 e776908103d29a0f54c00e489cc164dfc44bb3087aeab37786f4b5704c357f30 06:37:25 $ docker rm -f --volumes e776908103d29a0f54c00e489cc164dfc44bb3087aeab37786f4b5704c357f30 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:37:25 06:37:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:37:26 0.23.1-centos7: Pulling from edgex-lftools 06:37:26 ab5ef0e58194: Pulling fs layer 06:37:26 9712f1f96733: Pulling fs layer 06:37:26 63f879dbbcfc: Pulling fs layer 06:37:26 0d9ebad4ef96: Pulling fs layer 06:37:26 e9a5061849ea: Pulling fs layer 06:37:26 d747dcd14b5f: Pulling fs layer 06:37:26 2de7ff778b66: Pulling fs layer 06:37:26 e9a5061849ea: Waiting 06:37:26 d747dcd14b5f: Waiting 06:37:26 0d9ebad4ef96: Waiting 06:37:26 9712f1f96733: Download complete 06:37:26 63f879dbbcfc: Verifying Checksum 06:37:26 63f879dbbcfc: Download complete 06:37:26 e9a5061849ea: Verifying Checksum 06:37:26 e9a5061849ea: Download complete 06:37:26 d747dcd14b5f: Verifying Checksum 06:37:26 d747dcd14b5f: Download complete 06:37:26 0d9ebad4ef96: Verifying Checksum 06:37:26 0d9ebad4ef96: Download complete 06:37:26 ab5ef0e58194: Verifying Checksum 06:37:26 ab5ef0e58194: Download complete 06:37:26 2de7ff778b66: Verifying Checksum 06:37:26 2de7ff778b66: Download complete 06:37:29 ab5ef0e58194: Pull complete 06:37:30 9712f1f96733: Pull complete 06:37:31 63f879dbbcfc: Pull complete 06:37:35 0d9ebad4ef96: Pull complete 06:37:36 e9a5061849ea: Pull complete 06:37:37 d747dcd14b5f: Pull complete 06:37:39 2de7ff778b66: Pull complete 06:37:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:37:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:37:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:40 prd-ubuntu20.04-docker-8c-8g-5216 does not seem to be running inside a container 06:37:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:38:16 $ docker top 0252daac278d40d2d81cb220e3768a9d1128c201f923167dbddc16c371bba3b2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:38:17 provisioning config files... 06:38:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17955210997122723032tmp 06:38:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9497108066277982291tmp 06:38:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2492629769954893562tmp [Pipeline] { [Pipeline] echo 06:38:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:38:17 ---> sigul-configuration.sh 06:38:17 gpg: directory `/root/.gnupg' created 06:38:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:38:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:38:17 gpg: keyring `/root/.gnupg/secring.gpg' created 06:38:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:38:17 gpg: CAST5 encrypted data 06:38:17 gpg: encrypted with 1 passphrase 06:38:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:38:17 + mkdir /home/jenkins 06:38:17 + mkdir /home/jenkins/sigul [Pipeline] sh 06:38:18 + 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 06:38:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:38:18 ---> sigul-install.sh 06:38:18 Sigul already installed; skipping installation. [Pipeline] sh 06:38:18 + git tag --list 06:38:18 0.7.1 06:38:18 delhi-tag 06:38:18 v1.0.0 06:38:18 v1.1.0 06:38:18 v1.1.1 06:38:18 v1.1.2 06:38:18 v1.2.0 06:38:18 v1.2.1 06:38:18 v1.2.2 06:38:18 v1.2.3 06:38:18 v1.3.0 06:38:18 v1.4.0 06:38:18 v2.0.0 06:38:18 v2.1.0 06:38:18 v2.1.1 06:38:18 v2.2.0 06:38:18 v2.3.0 06:38:18 v2.3.1 06:38:18 v3.0 06:38:18 v3.0.0 06:38:18 v3.0.1-dev.1 06:38:18 v3.1 06:38:18 v3.1.0 06:38:18 v3.1.0-dev.1 06:38:18 v3.1.0-dev.10 06:38:18 v3.1.0-dev.11 06:38:18 v3.1.0-dev.12 06:38:18 v3.1.0-dev.13 06:38:18 v3.1.0-dev.14 06:38:18 v3.1.0-dev.15 06:38:18 v3.1.0-dev.16 06:38:18 v3.1.0-dev.17 06:38:18 v3.1.0-dev.18 06:38:18 v3.1.0-dev.19 06:38:18 v3.1.0-dev.2 06:38:18 v3.1.0-dev.20 06:38:18 v3.1.0-dev.21 06:38:18 v3.1.0-dev.22 06:38:18 v3.1.0-dev.23 06:38:18 v3.1.0-dev.24 06:38:18 v3.1.0-dev.25 06:38:18 v3.1.0-dev.26 06:38:18 v3.1.0-dev.27 06:38:18 v3.1.0-dev.28 06:38:18 v3.1.0-dev.29 06:38:18 v3.1.0-dev.3 06:38:18 v3.1.0-dev.30 06:38:18 v3.1.0-dev.31 06:38:18 v3.1.0-dev.32 06:38:18 v3.1.0-dev.33 06:38:18 v3.1.0-dev.34 06:38:18 v3.1.0-dev.35 06:38:18 v3.1.0-dev.36 06:38:18 v3.1.0-dev.37 06:38:18 v3.1.0-dev.38 06:38:18 v3.1.0-dev.39 06:38:18 v3.1.0-dev.4 06:38:18 v3.1.0-dev.40 06:38:18 v3.1.0-dev.41 06:38:18 v3.1.0-dev.5 06:38:18 v3.1.0-dev.6 06:38:18 v3.1.0-dev.7 06:38:18 v3.1.0-dev.8 06:38:18 v3.1.0-dev.9 06:38:18 v3.2.0-dev.1 06:38:18 v3.2.0-dev.10 06:38:18 v3.2.0-dev.2 06:38:18 v3.2.0-dev.3 06:38:18 v3.2.0-dev.4 06:38:18 v3.2.0-dev.5 06:38:18 v3.2.0-dev.6 06:38:18 v3.2.0-dev.7 06:38:18 v3.2.0-dev.8 06:38:18 v3.2.0-dev.9 [Pipeline] sh 06:38:19 + lftools sign git-tag v3.2.0-dev.10 06:38:19 Signing Git tag with Sigul... 06:38:19 Signing v3.2.0-dev.10 [Pipeline] echo 06:38:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:38:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:38:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:38:20 $ docker stop --time=1 0252daac278d40d2d81cb220e3768a9d1128c201f923167dbddc16c371bba3b2 06:38:28 $ docker rm -f --volumes 0252daac278d40d2d81cb220e3768a9d1128c201f923167dbddc16c371bba3b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:38:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:38:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:38:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:29 prd-ubuntu20.04-docker-8c-8g-5216 does not seem to be running inside a container 06:38: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:38:34 $ docker top 2d8f95d39e6fd6c26a70169cf6456b5b76d934402ecb9796b7ce69434eb31783 -eo pid,comm 06:38:34 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). 06:38:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:38:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:38:34 [ssh-agent] Looking for ssh-agent implementation... 06:38:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:38:34 $ docker exec 2d8f95d39e6fd6c26a70169cf6456b5b76d934402ecb9796b7ce69434eb31783 ssh-agent 06:38:35 SSH_AUTH_SOCK=/tmp/ssh-2FEFyGmQclbL/agent.13 06:38:35 SSH_AGENT_PID=19 06:38:35 Running ssh-add (command line suppressed) 06:38:35 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_827713719059884969.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_827713719059884969.key) 06:38:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:38:35 + git semver bump pre 06:38:36 2024-03-08 06:38:35,961 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:38:36 2024-03-08 06:38:35,962 [bump_version] DEBUG bumping version:3.2.0-dev.10 on axis:pre with prefix:dev 06:38:36 2024-03-08 06:38:35,962 [bump_version] DEBUG bumped version:3.2.0-dev.11 06:38:36 2024-03-08 06:38:35,962 [write_version] DEBUG write version:3.2.0-dev.11 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:38:36 2024-03-08 06:38:35,962 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:38:36 2024-03-08 06:38:35,962 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:38:36 2024-03-08 06:38:35,966 [execute] INFO git cat-file --batch-check 06:38:36 2024-03-08 06:38:35,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:38:36 2024-03-08 06:38:35,973 [execute] INFO git cat-file --batch 06:38:36 2024-03-08 06:38:35,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:38:36 2024-03-08 06:38:35,982 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:38:36 3.2.0-dev.11 [Pipeline] } 06:38:36 $ docker exec --env ******** --env ******** 2d8f95d39e6fd6c26a70169cf6456b5b76d934402ecb9796b7ce69434eb31783 ssh-agent -k 06:38:36 unset SSH_AUTH_SOCK; 06:38:36 unset SSH_AGENT_PID; 06:38:36 echo Agent pid 19 killed; 06:38:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:38:36 + git semver [Pipeline] } 06:38:37 $ docker stop --time=1 2d8f95d39e6fd6c26a70169cf6456b5b76d934402ecb9796b7ce69434eb31783 06:38:39 $ docker rm -f --volumes 2d8f95d39e6fd6c26a70169cf6456b5b76d934402ecb9796b7ce69434eb31783 [Pipeline] // withDockerContainer [Pipeline] sh 06:38:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:38:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:38:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:40 prd-ubuntu20.04-docker-8c-8g-5216 does not seem to be running inside a container 06:38:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:38:40 $ docker top 80e2ff32927d78971113aa58b83d1e64261f6223c628e7ddf14164bb94311a7c -eo pid,comm 06:38:40 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). 06:38:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:38:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:38:40 [ssh-agent] Looking for ssh-agent implementation... 06:38:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:38:41 $ docker exec 80e2ff32927d78971113aa58b83d1e64261f6223c628e7ddf14164bb94311a7c ssh-agent 06:38:41 SSH_AUTH_SOCK=/tmp/ssh-micwhyU1GBXc/agent.32 06:38:41 SSH_AGENT_PID=38 06:38:41 Running ssh-add (command line suppressed) 06:38:41 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5710444536722741017.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5710444536722741017.key) 06:38:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:38:41 + git semver push 06:38:41 2024-03-08 06:38:41,858 [run_push] DEBUG push 06:38:41 2024-03-08 06:38:41,860 [execute] INFO git cat-file --batch-check 06:38:41 2024-03-08 06:38:41,860 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:38:41 2024-03-08 06:38:41,865 [execute] INFO git rev-list 13ddb5f2bf2115d81fa42e5b187c8dd5cfb2ab18 -- 06:38:41 2024-03-08 06:38:41,866 [execute] DEBUG Popen(['git', 'rev-list', '13ddb5f2bf2115d81fa42e5b187c8dd5cfb2ab18', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:38:41 2024-03-08 06:38:41,881 [execute] INFO git fetch -v origin 06:38:41 2024-03-08 06:38:41,882 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:38:42 2024-03-08 06:38:42,372 [run_push] DEBUG no remote changes detected 06:38:42 2024-03-08 06:38:42,372 [execute] INFO git push origin semver 06:38:42 2024-03-08 06:38:42,373 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:38:43 2024-03-08 06:38:43,151 [run_push] DEBUG push all version tags 06:38:43 2024-03-08 06:38:43,152 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:38:43 2024-03-08 06:38:43,152 [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) 06:38:43 2024-03-08 06:38:43,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:38:43 3.2.0-dev.11 [Pipeline] } 06:38:43 $ docker exec --env ******** --env ******** 80e2ff32927d78971113aa58b83d1e64261f6223c628e7ddf14164bb94311a7c ssh-agent -k 06:38:44 unset SSH_AUTH_SOCK; 06:38:44 unset SSH_AGENT_PID; 06:38:44 echo Agent pid 38 killed; 06:38:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:38:44 + git semver [Pipeline] } 06:38:45 $ docker stop --time=1 80e2ff32927d78971113aa58b83d1e64261f6223c628e7ddf14164bb94311a7c 06:38:47 $ docker rm -f --volumes 80e2ff32927d78971113aa58b83d1e64261f6223c628e7ddf14164bb94311a7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:38:49 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:38:49 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:38:49 total 16 06:38:49 drwxr-xr-x 3 root root 4096 Mar 8 06:25 . 06:38:49 drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 06:38 .. 06:38:49 drwxr-xr-x 2 root root 4096 Mar 8 06:25 cost 06:38:49 -rw-r--r-- 1 root root 85 Mar 8 06:25 cost.csv 06:38:49 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:38:49 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:38:49 total 16 06:38:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 06:25 . 06:38:49 drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 06:38 .. 06:38:49 drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 06:25 cost 06:38:49 -rw-r--r-- 1 jenkins jenkins 85 Mar 8 06:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:38:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:38:50 ---> package-listing.sh 06:38:50 ++ facter osfamily 06:38:50 ++ tr '[:upper:]' '[:lower:]' 06:38:50 + OS_FAMILY=debian 06:38:50 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:38:50 + START_PACKAGES=/tmp/packages_start.txt 06:38:50 + END_PACKAGES=/tmp/packages_end.txt 06:38:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:38:50 + PACKAGES=/tmp/packages_start.txt 06:38:50 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:38:50 + PACKAGES=/tmp/packages_end.txt 06:38:50 + case "${OS_FAMILY}" in 06:38:50 + dpkg -l 06:38:50 + grep '^ii' 06:38:50 + '[' -f /tmp/packages_start.txt ']' 06:38:50 + '[' -f /tmp/packages_end.txt ']' 06:38:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:38:50 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:38:50 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:38:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 06:38:50 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 06:38:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:38:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:51 prd-ubuntu20.04-docker-8c-8g-5216 does not seem to be running inside a container 06:38:51 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:38:52 $ docker top 2945762ba4840a49e96b72d41358b161be554173aad0f696d30a8239b2e1dc35 -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:52 + touch /tmp/pre-build-complete [Pipeline] sh 06:38:52 + mkdir -p /var/log/sysstat [Pipeline] sh 06:38:53 + ls /var/log/sa-host 06:38:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:38:53 provisioning config files... 06:38:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14865739205406512801tmp [Pipeline] { [Pipeline] echo 06:38:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:38:53 ---> create-netrc.sh [Pipeline] } 06:38:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:38:54 ---> python-tools-install.sh [Pipeline] echo 06:38:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:38:54 ---> sudo-logs.sh 06:38:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:38:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:38:54 ---> job-cost.sh 06:38:54 lf-activate-venv: SKIPPING 06:38:54 DEBUG: total: 0.2199999988079071 06:38:54 INFO: Retrieving Stack Cost... 06:38:55 INFO: Retrieving Pricing Info for: v3-standard-8 06:38:55 INFO: Archiving Costs [Pipeline] echo 06:38:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:38:56 ---> logs-deploy.sh 06:38:56 lf-activate-venv: SKIPPING 06:38:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/281 06:38:56 INFO: archiving workspace using pattern(s): 06:38:56 Archives upload complete. 06:38:56 INFO: archiving logs to Nexus