Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f885853b7afeee748945214d1e34d19c3162505 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-ssh3729056430483641715.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10609689512732207621.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh15514933396332871203.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh9911394953044076799.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-ssh14681939447664900017.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8038 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1f885853b7afeee748945214d1e34d19c3162505 (main) Commit message: "feat: Add device last connected metrics (#1515)" > git config core.sparsecheckout # timeout=10 > git checkout -f 1f885853b7afeee748945214d1e34d19c3162505 # timeout=10 > git rev-list --no-walk b107614ee9e0a121be0cc16184ca73267025663e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:23:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:23:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:23:24 ========================================================= 15:23:24 EdgeX Global Pipelines Version Info 15:23:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:23:25 ------------------- 15:23:25 stable info: 15:23:25 ------------------- 15:23:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:23:25 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 15:23:25 Message: update stable to v1.0.254 15:23:26 ------------------- 15:23:26 experimental info: 15:23:26 ------------------- 15:23:26 Commited By: **** collab-it+edgex@linuxfoundation.org 15:23:26 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 15:23:26 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f88585 [Pipeline] echo 15:23:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:23:26 provisioning config files... 15:23:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2477882445446254812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:27 ---> docker-login.sh 15:23:27 nexus3.edgexfoundry.org:10001 15:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:27 Configure a credential helper to remove this warning. See 15:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:27 15:23:27 Login Succeeded 15:23:27 nexus3.edgexfoundry.org:10002 15:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:27 Configure a credential helper to remove this warning. See 15:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:27 15:23:27 Login Succeeded 15:23:27 nexus3.edgexfoundry.org:10003 15:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:27 Configure a credential helper to remove this warning. See 15:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:27 15:23:27 Login Succeeded 15:23:27 nexus3.edgexfoundry.org:10004 15:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:27 Configure a credential helper to remove this warning. See 15:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:27 15:23:27 Login Succeeded 15:23:27 docker.io 15:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:28 Configure a credential helper to remove this warning. See 15:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:28 15:23:28 Login Succeeded 15:23:28 ---> docker-login.sh ends [Pipeline] } 15:23:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:23:28 + git rev-list -1 --merges 1f885853b7afeee748945214d1e34d19c3162505~1..1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] echo 15:23:28 -----------> git rev-list -1 --merges 1f885853b7afeee748945214d1e34d19c3162505~1..1f885853b7afeee748945214d1e34d19c3162505 1f885853b7afeee748945214d1e34d19c3162505 [false] [Pipeline] sh 15:23:28 + git log --format=format:%s -1 1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] echo 15:23:28 ========================================================= 15:23:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:23:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:23:29 + git log --format=format:%s -1 1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] echo 15:23:29 [semverPrep] GIT_COMMIT: 1f885853b7afeee748945214d1e34d19c3162505, Commit Message: feat: Add device last connected metrics (#1515) [Pipeline] echo 15:23:29 [semverPrep] This is not a build commit. [Pipeline] sh 15:23:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:23:29 + grep -v github /etc/ssh/ssh_known_hosts 15:23:29 + [ -e /tmp/ssh_known_hosts ] 15:23:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:23:29 + sudo+ tee -a /etc/ssh/ssh_known_hosts 15:23:29 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:23:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:23:30 15:23:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:23:30 0.1.4: Pulling from edgex-devops/py-git-semver 15:23:30 b85a868b505f: Pulling fs layer 15:23:30 e2be974225ed: Pulling fs layer 15:23:30 339a4e72a1f5: Pulling fs layer 15:23:30 988bab9f4d93: Pulling fs layer 15:23:30 1469e6f7b9e6: Pulling fs layer 15:23:30 eaf3925da568: Pulling fs layer 15:23:30 bab4dde63d76: Pulling fs layer 15:23:30 bde34c3a00c8: Pulling fs layer 15:23:30 b352a97aabf1: Pulling fs layer 15:23:30 4872d77fe225: Pulling fs layer 15:23:30 5851b861e8e6: Pulling fs layer 15:23:30 988bab9f4d93: Waiting 15:23:30 bde34c3a00c8: Waiting 15:23:30 1469e6f7b9e6: Waiting 15:23:30 bab4dde63d76: Waiting 15:23:30 5851b861e8e6: Waiting 15:23:30 eaf3925da568: Waiting 15:23:30 e2be974225ed: Verifying Checksum 15:23:30 e2be974225ed: Download complete 15:23:30 988bab9f4d93: Verifying Checksum 15:23:30 988bab9f4d93: Download complete 15:23:30 1469e6f7b9e6: Verifying Checksum 15:23:30 1469e6f7b9e6: Download complete 15:23:30 eaf3925da568: Verifying Checksum 15:23:30 eaf3925da568: Download complete 15:23:30 339a4e72a1f5: Verifying Checksum 15:23:30 339a4e72a1f5: Download complete 15:23:30 bde34c3a00c8: Verifying Checksum 15:23:30 bde34c3a00c8: Download complete 15:23:30 b352a97aabf1: Download complete 15:23:30 4872d77fe225: Verifying Checksum 15:23:30 4872d77fe225: Download complete 15:23:30 5851b861e8e6: Verifying Checksum 15:23:30 5851b861e8e6: Download complete 15:23:30 b85a868b505f: Verifying Checksum 15:23:30 b85a868b505f: Download complete 15:23:31 bab4dde63d76: Verifying Checksum 15:23:31 bab4dde63d76: Download complete 15:23:32 b85a868b505f: Pull complete 15:23:32 e2be974225ed: Pull complete 15:23:32 339a4e72a1f5: Pull complete 15:23:32 988bab9f4d93: Pull complete 15:23:33 1469e6f7b9e6: Pull complete 15:23:33 eaf3925da568: Pull complete 15:23:35 bab4dde63d76: Pull complete 15:23:35 bde34c3a00c8: Pull complete 15:23:35 b352a97aabf1: Pull complete 15:23:35 4872d77fe225: Pull complete 15:23:35 5851b861e8e6: Pull complete 15:23:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:23:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:23:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:35 prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container 15:23:35 $ 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 15:23:37 $ docker top ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb -eo pid,comm 15:23:38 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). 15:23:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:23:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:38 [ssh-agent] Looking for ssh-agent implementation... 15:23:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:38 $ docker exec ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb ssh-agent 15:23:38 SSH_AUTH_SOCK=/tmp/ssh-DqaaUscvZeOn/agent.31 15:23:38 SSH_AGENT_PID=37 15:23:38 Running ssh-add (command line suppressed) 15:23:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12309774414679629945.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12309774414679629945.key) 15:23:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:38 + git tag --points-at HEAD [Pipeline] } 15:23:38 $ docker exec --env ******** --env ******** ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb ssh-agent -k 15:23:38 unset SSH_AUTH_SOCK; 15:23:38 unset SSH_AGENT_PID; 15:23:38 echo Agent pid 37 killed; 15:23:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:23:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:38 [ssh-agent] Looking for ssh-agent implementation... 15:23:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:39 $ docker exec ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb ssh-agent 15:23:39 SSH_AUTH_SOCK=/tmp/ssh-ko5SLuLzufgV/agent.69 15:23:39 SSH_AGENT_PID=75 15:23:39 Running ssh-add (command line suppressed) 15:23:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_832699485904481374.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_832699485904481374.key) 15:23:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:39 + git semver init 15:23:39 2023-09-27 15:23:39,755 [run_init] DEBUG init version:0.0.0 force:False 15:23:39 2023-09-27 15:23:39,756 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:23:39 2023-09-27 15:23:39,756 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:23:39 2023-09-27 15:23:39,756 [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) 15:23:41 2023-09-27 15:23:40,868 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:23:41 2023-09-27 15:23:40,869 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:23:41 2023-09-27 15:23:40,869 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:23:41 2023-09-27 15:23:40,869 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:23:41 3.1.0-dev.32 [Pipeline] } 15:23:41 $ docker exec --env ******** --env ******** ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb ssh-agent -k 15:23:41 unset SSH_AUTH_SOCK; 15:23:41 unset SSH_AGENT_PID; 15:23:41 echo Agent pid 75 killed; 15:23:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:23:41 + git semver [Pipeline] } 15:23:41 $ docker stop --time=1 ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb 15:23:43 $ docker rm -f --volumes ddb72240233330dd8a64cb31c6e6b33a38720a642c55afcefe0c8e2fc8ae6cbb [Pipeline] // withDockerContainer [Pipeline] sh 15:23:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:23:43 Stashed 1 file(s) [Pipeline] echo 15:23:43 [edgeXSemver]: initialized semver on version 3.1.0-dev.32 [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 15:23:43 provisioning config files... 15:23:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4607678982548540290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:44 ---> docker-login.sh 15:23:44 nexus3.edgexfoundry.org:10001 15:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:44 Configure a credential helper to remove this warning. See 15:23:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:44 15:23:44 Login Succeeded 15:23:44 nexus3.edgexfoundry.org:10002 15:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:44 Configure a credential helper to remove this warning. See 15:23:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:44 15:23:44 Login Succeeded 15:23:44 nexus3.edgexfoundry.org:10003 15:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:44 Configure a credential helper to remove this warning. See 15:23:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:44 15:23:44 Login Succeeded 15:23:44 nexus3.edgexfoundry.org:10004 15:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:44 Configure a credential helper to remove this warning. See 15:23:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:44 15:23:44 Login Succeeded 15:23:44 docker.io 15:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:45 Configure a credential helper to remove this warning. See 15:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:45 15:23:45 Login Succeeded 15:23:45 ---> docker-login.sh ends [Pipeline] } 15:23:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:23:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:23:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:23:45 ========================================================= 15:23:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:23:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:45 + 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 . 15:23:45 Sending build context to Docker daemon 11.2MB 15:23:45 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 15:23:45 Step 2/10 : FROM ${BASE} AS builder 15:23:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:23:45 7264a8db6415: Pulling fs layer 15:23:45 c4d48a809fc2: Pulling fs layer 15:23:45 4f1c88b9dad5: Pulling fs layer 15:23:45 ad3a456e5733: Pulling fs layer 15:23:45 33e27b845d1e: Pulling fs layer 15:23:45 c68163c4e522: Pulling fs layer 15:23:45 50da416c3ac9: Pulling fs layer 15:23:45 23d2d4c4bb30: Pulling fs layer 15:23:45 ad3a456e5733: Waiting 15:23:45 33e27b845d1e: Waiting 15:23:45 50da416c3ac9: Waiting 15:23:45 c68163c4e522: Waiting 15:23:45 23d2d4c4bb30: Waiting 15:23:45 c4d48a809fc2: Download complete 15:23:45 ad3a456e5733: Verifying Checksum 15:23:45 ad3a456e5733: Download complete 15:23:45 33e27b845d1e: Download complete 15:23:45 7264a8db6415: Verifying Checksum 15:23:45 7264a8db6415: Download complete 15:23:45 c68163c4e522: Verifying Checksum 15:23:45 c68163c4e522: Download complete 15:23:45 7264a8db6415: Pull complete 15:23:46 23d2d4c4bb30: Verifying Checksum 15:23:46 23d2d4c4bb30: Download complete 15:23:46 c4d48a809fc2: Pull complete 15:23:46 4f1c88b9dad5: Verifying Checksum 15:23:46 4f1c88b9dad5: Download complete 15:23:46 50da416c3ac9: Verifying Checksum 15:23:46 50da416c3ac9: Download complete 15:23:49 4f1c88b9dad5: Pull complete 15:23:49 ad3a456e5733: Pull complete 15:23:49 33e27b845d1e: Pull complete 15:23:49 c68163c4e522: Pull complete 15:23:51 50da416c3ac9: Pull complete 15:23:52 23d2d4c4bb30: Pull complete 15:23:52 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:23:52 ---> 0786185ac409 15:23:52 Step 3/10 : ARG MAKE=make build 15:23:56 ---> Running in 14d4519da328 15:23:56 Removing intermediate container 14d4519da328 15:23:56 ---> 0277f7e1b170 15:23:56 Step 4/10 : WORKDIR /device-sdk-go 15:23:56 ---> Running in 91594c743da3 15:23:56 Removing intermediate container 91594c743da3 15:23:56 ---> 2bc1e6da6c32 15:23:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:23:56 ---> Running in c69eb0e2c601 15:23:56 Removing intermediate container c69eb0e2c601 15:23:56 ---> b48ed1dd1670 15:23:56 Step 6/10 : RUN apk add --update --no-cache make git 15:23:56 ---> Running in 1a1c4933acda 15:23:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:23:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:23:57 OK: 264 MiB in 52 packages 15:23:57 Removing intermediate container 1a1c4933acda 15:23:57 ---> 0c5668416838 15:23:57 Step 7/10 : COPY go.mod vendor* ./ 15:23:57 ---> 5ed764040bbe 15:23:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:23:57 ---> Running in 3685a5f08b02 15:23:58 Still waiting to schedule task 15:23:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:24:36 Removing intermediate container 3685a5f08b02 15:24:36 ---> f28f2170a1c7 15:24:36 Step 9/10 : COPY . . 15:24:36 ---> 9aa2acb2e94a 15:24:36 Step 10/10 : RUN ${MAKE} 15:24:36 ---> Running in 8e0c687b3c5f 15:24:36 noop 15:24:36 Removing intermediate container 8e0c687b3c5f 15:24:36 ---> 3022a5500d4d 15:24:36 Successfully built 3022a5500d4d 15:24:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:36 + docker inspect -f . ci-base-image-x86_64 15:24:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:36 prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container 15:24:36 $ 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 15:24:37 $ docker top 422c3ff45d3f42c3493191284e479a07c5773bb2820036bc699811779263fece -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:37 + go version 15:24:37 go version go1.21.0 linux/amd64 [Pipeline] } 15:24:37 $ docker stop --time=1 422c3ff45d3f42c3493191284e479a07c5773bb2820036bc699811779263fece 15:24:38 $ docker rm -f --volumes 422c3ff45d3f42c3493191284e479a07c5773bb2820036bc699811779263fece [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:39 + docker inspect -f . ci-base-image-x86_64 15:24:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:39 prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container 15:24:39 $ 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 15:24:39 $ docker top cf3aba98e030830d3c3ce81dc3c789c476184ec1cbeb31f6c1be2b57b0df9f0f -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:39 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:24:40 + make test 15:24:40 go test -race -coverprofile=coverage.out ./... 15:24:46 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:25:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:25:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:25:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.056s coverage: 27.6% of statements 15:25:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:25:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.046s coverage: 81.5% of statements 15:25:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.057s coverage: 86.0% of statements 15:25:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.087s coverage: 71.8% of statements 15:25:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:25:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:25:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:25:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.4% of statements 15:25:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.170s coverage: 45.9% of statements 15:25:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.073s coverage: 68.5% of statements 15:25:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.099s coverage: 89.2% of statements 15:25:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements 15:25:24 GO111MODULE=on go vet ./... 15:25:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8039 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:25:25 Running in /w/workspace/device-sdk-go/261 [Pipeline] { [Pipeline] checkout 15:25:25 The recommended git tool is: git 15:25:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:25:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:25:27 ./bin/test-attribution-txt.sh [Pipeline] echo 15:25:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:25:27 $ docker stop --time=1 cf3aba98e030830d3c3ce81dc3c789c476184ec1cbeb31f6c1be2b57b0df9f0f 15:25:30 using credential edgex-jenkins-ssh 15:25:30 Cloning the remote Git repository 15:25:31 $ docker rm -f --volumes cf3aba98e030830d3c3ce81dc3c789c476184ec1cbeb31f6c1be2b57b0df9f0f 15:25:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:25:30 > git init /w/workspace/device-sdk-go/261 # timeout=10 15:25:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:25:30 > git --version # timeout=10 15:25:30 > git --version # 'git version 2.25.1' 15:25:30 using GIT_SSH to set credentials SSH Credentials for GitHub 15:25:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh 15:25:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:25:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:25:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:25:32 + ls -al . 15:25:32 total 304 15:25:32 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 15:24 . 15:25:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:23 .. 15:25:32 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 15:23 .dockerignore 15:25:32 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 15:25 .git 15:25:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:23 .github 15:25:32 -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 15:23 .gitignore 15:25:32 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 15:23 .golangci.yml 15:25:32 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 15:23 .semver 15:25:32 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 15:23 CHANGELOG.md 15:25:32 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 15:23 GOVERNANCE.md 15:25:32 -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 15:23 Jenkinsfile 15:25:32 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 15:23 LICENSE 15:25:32 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 15:23 Makefile 15:25:32 -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 15:23 OWNERS.md 15:25:32 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 15:23 README.md 15:25:32 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 15:23 VERSION 15:25:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:23 bin 15:25:32 -rw-r--r-- 1 jenkins jenkins 122153 Sep 27 15:25 coverage.out 15:25:32 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 15:23 example 15:25:32 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 15:23 go.mod 15:25:32 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 15:23 go.sum 15:25:32 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:23 internal 15:25:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:23 openapi 15:25:32 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 15:23 pkg 15:25:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:23 snap 15:25:32 -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 15:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:33 + 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=1f885853b7afeee748945214d1e34d19c3162505 --label arch=amd64 --label version=3.1.0-dev.32 . 15:25:33 Sending build context to Docker daemon 11.32MB 15:25:33 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 15:25:33 Step 2/23 : FROM ${BASE} AS builder 15:25:33 ---> 3022a5500d4d 15:25:33 Step 3/23 : ARG MAKE=make build 15:25:33 ---> Running in 6075c5c0baab 15:25:33 Removing intermediate container 6075c5c0baab 15:25:33 ---> 6f24e6d63075 15:25:33 Step 4/23 : WORKDIR /device-sdk-go 15:25:33 ---> Running in 1927035c2f5d 15:25:33 Removing intermediate container 1927035c2f5d 15:25:33 ---> a49a8d7ec00c 15:25:33 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:25:33 ---> Running in 0a40eac96620 15:25:33 Removing intermediate container 0a40eac96620 15:25:33 ---> 27641e43f368 15:25:33 Step 6/23 : RUN apk add --update --no-cache make git 15:25:33 ---> Running in f38698962881 15:25:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:25:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:25:34 OK: 264 MiB in 52 packages 15:25:34 Removing intermediate container f38698962881 15:25:34 ---> e92fe64086db 15:25:34 Step 7/23 : COPY go.mod vendor* ./ 15:25:35 ---> 9e6c2327dd74 15:25:35 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:25:35 ---> Running in 1d672edfb770 15:25:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:25:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:25:35 Avoid second fetch 15:25:35 Checking out Revision 1f885853b7afeee748945214d1e34d19c3162505 (main) 15:25:35 Removing intermediate container 1d672edfb770 15:25:35 ---> ec3af90e06dc 15:25:35 Step 9/23 : COPY . . 15:25:36 Commit message: "feat: Add device last connected metrics (#1515)" 15:25:36 ---> 139e4b31ccd7 15:25:36 Step 10/23 : RUN ${MAKE} 15:25:36 ---> Running in 12a7b96f1da0 15:25:36 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.32 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.32" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:25:35 > git config core.sparsecheckout # timeout=10 15:25:35 > git checkout -f 1f885853b7afeee748945214d1e34d19c3162505 # timeout=10 15:25:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:25:37 % Total % Received % Xferd Average Speed Time Time Time Current 15:25:37 Dload Upload Total Spent Left Speed 15:25:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 15:25:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:25:38 + sudo tee /etc/docker/daemon.new 15:25:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:25:38 { 15:25:38 "registry-mirrors": [ 15:25:38 "https://nexus3.edgexfoundry.org:10001" 15:25:38 ], 15:25:38 "bip": "10.250.0.254/24", 15:25:38 "hosts": [ 15:25:38 "tcp://0.0.0.0:5555", 15:25:38 "unix:///var/run/docker.sock" 15:25:38 ], 15:25:38 "mtu": 1458, 15:25:38 "selinux-enabled": true, 15:25:38 "seccomp-profile": "/etc/docker/seccomp.json" 15:25:38 } [Pipeline] sh 15:25:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:25:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:25:56 provisioning config files... 15:25:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/261@tmp/config5029458489627074327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:57 ---> docker-login.sh 15:25:57 nexus3.edgexfoundry.org:10001 15:25:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:57 Configure a credential helper to remove this warning. See 15:25:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:57 15:25:57 Login Succeeded 15:25:57 nexus3.edgexfoundry.org:10002 15:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:58 Configure a credential helper to remove this warning. See 15:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:58 15:25:58 Login Succeeded 15:25:58 nexus3.edgexfoundry.org:10003 15:25:58 Removing intermediate container 12a7b96f1da0 15:25:58 ---> e9994827b825 15:25:58 Step 11/23 : FROM alpine:3.18 15:25:58 3.18: Pulling from library/alpine 15:25:58 7264a8db6415: Already exists 15:25:58 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 15:25:58 Status: Downloaded newer image for alpine:3.18 15:25:58 ---> 7e01a0d0a1dc 15:25:58 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:25:58 ---> Running in 83b8ba6f308d 15:25:58 Removing intermediate container 83b8ba6f308d 15:25:58 ---> 20ebeb3a0899 15:25:58 Step 13/23 : RUN apk add --update --no-cache 15:25:58 ---> Running in d3d8170a3af5 15:25:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:25:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:25:58 OK: 7 MiB in 15 packages 15:25:58 Removing intermediate container d3d8170a3af5 15:25:58 ---> 2d2bd5493fc6 15:25:58 Step 14/23 : WORKDIR / 15:25:58 ---> Running in f287059c51b7 15:25:58 Removing intermediate container f287059c51b7 15:25:58 ---> 2a51e0b47f10 15:25:58 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:25:58 ---> 0fee41632fad 15:25:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:25:58 ---> 88e059952d78 15:25:58 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:58 ---> 78eebb413583 15:25:58 Step 18/23 : EXPOSE 59999 15:25:58 ---> Running in f4458028b499 15:25:58 Removing intermediate container f4458028b499 15:25:58 ---> 133902aac3eb 15:25:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:25:58 ---> Running in f5ded1eae4ee 15:25:58 Removing intermediate container f5ded1eae4ee 15:25:58 ---> 4f911c0f3829 15:25:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:25:58 ---> Running in 33498c8cec74 15:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:58 Configure a credential helper to remove this warning. See 15:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:58 15:25:58 Login Succeeded 15:25:58 nexus3.edgexfoundry.org:10004 15:25:58 Removing intermediate container 33498c8cec74 15:25:58 ---> 7216c0070c7d 15:25:58 Step 21/23 : LABEL arch=amd64 15:25:58 ---> Running in 888f5442d354 15:25:58 Removing intermediate container 888f5442d354 15:25:58 ---> 86190ca1bc4c 15:25:58 Step 22/23 : LABEL git_sha=1f885853b7afeee748945214d1e34d19c3162505 15:25:58 ---> Running in 55bd3c0a73dd 15:25:58 Removing intermediate container 55bd3c0a73dd 15:25:58 ---> b5b01e4aaa0e 15:25:58 Step 23/23 : LABEL version=3.1.0-dev.32 15:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:58 Configure a credential helper to remove this warning. See 15:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:58 15:25:58 Login Succeeded 15:25:58 docker.io 15:25:59 ---> Running in 50124b16769d 15:25:59 Removing intermediate container 50124b16769d 15:25:59 ---> 6e2f0b1083f0 15:25:59 [Warning] One or more build-args [ARCH] were not consumed 15:25:59 Successfully built 6e2f0b1083f0 15:25:59 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 15:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 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 15:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:59 Configure a credential helper to remove this warning. See 15:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:59 15:25:59 Login Succeeded 15:25:59 ---> docker-login.sh ends [Pipeline] } 15:25:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 15:25:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:25:59 15:25:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 15:25:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:25:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:25:59 ========================================================= 15:25:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:25:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:25:59 latest: Pulling from edgex-lftools-log-publisher 15:25:59 5eb5b503b376: Pulling fs layer 15:25:59 5c69ac0246d0: Pulling fs layer 15:25:59 ec43610c2a17: Pulling fs layer 15:25:59 3a2ae6a8a46f: Pulling fs layer 15:25:59 33b1e0a273af: Pulling fs layer 15:25:59 5d3b04190fa2: Pulling fs layer 15:25:59 2f39f015ded8: Pulling fs layer 15:25:59 33b1e0a273af: Waiting 15:25:59 5d3b04190fa2: Waiting 15:25:59 2f39f015ded8: Waiting 15:25:59 3a2ae6a8a46f: Waiting 15:25:59 5c69ac0246d0: Download complete 15:25:59 3a2ae6a8a46f: Verifying Checksum 15:25:59 3a2ae6a8a46f: Download complete 15:25:59 33b1e0a273af: Verifying Checksum 15:25:59 33b1e0a273af: Download complete 15:25:59 5d3b04190fa2: Verifying Checksum 15:25:59 5d3b04190fa2: Download complete 15:25:59 ec43610c2a17: Verifying Checksum 15:25:59 ec43610c2a17: Download complete 15:26:00 + 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 . 15:26:00 5eb5b503b376: Verifying Checksum 15:26:00 5eb5b503b376: Download complete 15:26:00 Sending build context to Docker daemon 5.988MB 15:26:00 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 15:26:00 Step 2/10 : FROM ${BASE} AS builder 15:26:00 2f39f015ded8: Download complete 15:26:01 5eb5b503b376: Pull complete 15:26:01 5c69ac0246d0: Pull complete 15:26:01 ec43610c2a17: Pull complete 15:26:02 3a2ae6a8a46f: Pull complete 15:26:02 33b1e0a273af: Pull complete 15:26:02 5d3b04190fa2: Pull complete 15:26:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:26:02 9fda8d8052c6: Pulling fs layer 15:26:02 5d54e960e981: Pulling fs layer 15:26:02 c4a7e357bf2a: Pulling fs layer 15:26:02 f0e02332f6b5: Pulling fs layer 15:26:02 cefa15bbcfad: Pulling fs layer 15:26:02 17808c966233: Pulling fs layer 15:26:02 f4c1fc716caa: Pulling fs layer 15:26:02 cefa15bbcfad: Waiting 15:26:02 17808c966233: Waiting 15:26:02 f4c1fc716caa: Waiting 15:26:02 f0e02332f6b5: Waiting 15:26:02 5d54e960e981: Verifying Checksum 15:26:02 5d54e960e981: Download complete 15:26:02 f0e02332f6b5: Verifying Checksum 15:26:02 f0e02332f6b5: Download complete 15:26:02 cefa15bbcfad: Verifying Checksum 15:26:02 cefa15bbcfad: Download complete 15:26:02 9fda8d8052c6: Download complete 15:26:02 f4c1fc716caa: Verifying Checksum 15:26:02 f4c1fc716caa: Download complete 15:26:03 9fda8d8052c6: Pull complete 15:26:03 5d54e960e981: Pull complete 15:26:04 c4a7e357bf2a: Verifying Checksum 15:26:04 c4a7e357bf2a: Download complete 15:26:05 17808c966233: Verifying Checksum 15:26:05 17808c966233: Download complete 15:26:06 2f39f015ded8: Pull complete 15:26:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:26:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:06 prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container 15:26:06 $ 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 15:26:10 $ docker top 783bfd0949ae1b3506e725a0367bff422f6d708a28a141c7086ffde9a3290d15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:10 ---> job-cost.sh 15:26:10 lf-activate-venv: SKIPPING 15:26:10 INFO: No Stack... 15:26:10 INFO: Retrieving Pricing Info for: v3-standard-8 15:26:11 INFO: Archiving Costs [Pipeline] sh 15:26:11 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:26:11 + cut -d, -f6 [Pipeline] lock 15:26:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] 15:26:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] did not exist. Created. 15:26:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:26:11 + echo total: 0.2199999988079071 [Pipeline] stash 15:26:11 Stashed 1 file(s) [Pipeline] } 15:26:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] [Pipeline] // lock [Pipeline] } 15:26:11 $ docker stop --time=1 783bfd0949ae1b3506e725a0367bff422f6d708a28a141c7086ffde9a3290d15 15:26:12 $ docker rm -f --volumes 783bfd0949ae1b3506e725a0367bff422f6d708a28a141c7086ffde9a3290d15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:26:15 c4a7e357bf2a: Pull complete 15:26:15 f0e02332f6b5: Pull complete 15:26:15 cefa15bbcfad: Pull complete 15:26:22 17808c966233: Pull complete 15:26:23 f4c1fc716caa: Pull complete 15:26:23 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:26:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:26:23 ---> ea914061e18c 15:26:23 Step 3/10 : ARG MAKE=make build 15:26:25 ---> Running in bcefbc009933 15:26:25 Removing intermediate container bcefbc009933 15:26:25 ---> c65dcd001349 15:26:25 Step 4/10 : WORKDIR /device-sdk-go 15:26:25 ---> Running in 511b0fad072d 15:26:26 Removing intermediate container 511b0fad072d 15:26:26 ---> 85eaeb87ab97 15:26:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:26:26 ---> Running in f09b75800cdd 15:26:26 Removing intermediate container f09b75800cdd 15:26:26 ---> f217e7632b84 15:26:26 Step 6/10 : RUN apk add --update --no-cache make git 15:26:26 ---> Running in 87e6805f2fe9 15:26:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:26:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:26:29 OK: 266 MiB in 52 packages 15:26:29 Removing intermediate container 87e6805f2fe9 15:26:29 ---> cf21e5dd4ea5 15:26:29 Step 7/10 : COPY go.mod vendor* ./ 15:26:30 ---> f2e4ee490457 15:26:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:26:30 ---> Running in fe434f228c77 15:27:38 Removing intermediate container fe434f228c77 15:27:38 ---> 14b5684cf301 15:27:38 Step 9/10 : COPY . . 15:27:39 ---> 29cefc06f3f7 15:27:39 Step 10/10 : RUN ${MAKE} 15:27:39 ---> Running in 0c35cf88efd8 15:27:40 noop 15:27:40 Removing intermediate container 0c35cf88efd8 15:27:40 ---> 20d47b673a3a 15:27:40 Successfully built 20d47b673a3a 15:27:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:41 + docker inspect -f . ci-base-image-arm64 15:27:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:41 prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container 15:27:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/261 -v /w/workspace/device-sdk-go/261:/w/workspace/device-sdk-go/261:rw,z -v /w/workspace/device-sdk-go/261@tmp:/w/workspace/device-sdk-go/261@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 15:27:42 $ docker top 37d371332c4756e4f87c6d76566ca08a6ec79e9ba3362de1f3b841c8210a3834 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:43 + go version 15:27:43 go version go1.21.0 linux/arm64 [Pipeline] } 15:27:43 $ docker stop --time=1 37d371332c4756e4f87c6d76566ca08a6ec79e9ba3362de1f3b841c8210a3834 15:27:45 $ docker rm -f --volumes 37d371332c4756e4f87c6d76566ca08a6ec79e9ba3362de1f3b841c8210a3834 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:45 + docker inspect -f . ci-base-image-arm64 15:27:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:45 prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container 15:27:45 $ 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/261 -v /w/workspace/device-sdk-go/261:/w/workspace/device-sdk-go/261:rw,z -v /w/workspace/device-sdk-go/261@tmp:/w/workspace/device-sdk-go/261@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 15:27:47 $ docker top 0e86fbf5e5db839ad1977a111ab73ce9355fdad127cb140034c4a628af4dd787 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:47 + git config --global --add safe.directory /w/workspace/device-sdk-go/261 [Pipeline] fileExists [Pipeline] sh 15:27:48 + make test 15:27:48 go test -race -coverprofile=coverage.out ./... 15:28:20 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:29:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:29:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:29:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:29:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:29:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:29:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.197s coverage: 27.6% of statements 15:30:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.454s coverage: 81.5% of statements 15:30:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:30:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:30:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.370s coverage: 86.0% of statements 15:30:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:30:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.488s coverage: 71.8% of statements 15:30:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.321s coverage: 14.4% of statements 15:30:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.933s coverage: 45.9% of statements 15:30:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:30:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:30:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.521s coverage: 68.5% of statements 15:30:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.690s coverage: 89.2% of statements 15:30:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:30:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.228s coverage: 5.5% of statements 15:30:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:30:34 GO111MODULE=on go vet ./... 15:32:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:32:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:32:25 ./bin/test-attribution-txt.sh [Pipeline] echo 15:32:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:32:25 $ docker stop --time=1 0e86fbf5e5db839ad1977a111ab73ce9355fdad127cb140034c4a628af4dd787 15:32:27 $ docker rm -f --volumes 0e86fbf5e5db839ad1977a111ab73ce9355fdad127cb140034c4a628af4dd787 [Pipeline] // withDockerContainer [Pipeline] sh 15:32:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:32:29 Warning: overwriting stash ‘coverage-report’ 15:32:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:32:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:32:30 + ls -al . 15:32:30 total 300 15:32:30 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 15:27 . 15:32:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:25 .. 15:32:30 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 15:25 .dockerignore 15:32:30 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 15:25 .git 15:32:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:25 .github 15:32:30 -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 15:25 .gitignore 15:32:30 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 15:25 .golangci.yml 15:32:30 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 15:25 CHANGELOG.md 15:32:30 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 15:25 GOVERNANCE.md 15:32:30 -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 15:25 Jenkinsfile 15:32:30 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 15:25 LICENSE 15:32:30 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 15:25 Makefile 15:32:30 -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 15:25 OWNERS.md 15:32:30 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 15:25 README.md 15:32:30 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 15:23 VERSION 15:32:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:25 bin 15:32:30 -rw-r--r-- 1 jenkins jenkins 122153 Sep 27 15:30 coverage.out 15:32:30 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 15:25 example 15:32:30 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 15:25 go.mod 15:32:30 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 15:25 go.sum 15:32:30 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:25 internal 15:32:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:25 openapi 15:32:30 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 15:25 pkg 15:32:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:25 snap 15:32:30 -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 15:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:30 + 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=1f885853b7afeee748945214d1e34d19c3162505 --label arch=arm64 --label version=3.1.0-dev.32 . 15:32:31 Sending build context to Docker daemon 6.111MB 15:32:31 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 15:32:31 Step 2/23 : FROM ${BASE} AS builder 15:32:31 ---> 20d47b673a3a 15:32:31 Step 3/23 : ARG MAKE=make build 15:32:31 ---> Running in e18cae1baf96 15:32:31 Removing intermediate container e18cae1baf96 15:32:31 ---> 65582d0060c1 15:32:31 Step 4/23 : WORKDIR /device-sdk-go 15:32:31 ---> Running in 4b51a33880a0 15:32:31 Removing intermediate container 4b51a33880a0 15:32:31 ---> 9160f9e388bb 15:32:31 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:32:32 ---> Running in 204352256e4f 15:32:32 Removing intermediate container 204352256e4f 15:32:32 ---> e8b5bc6641cb 15:32:32 Step 6/23 : RUN apk add --update --no-cache make git 15:32:32 ---> Running in 3921fe076f04 15:32:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:32:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:32:34 OK: 266 MiB in 52 packages 15:32:35 Removing intermediate container 3921fe076f04 15:32:35 ---> 475079954090 15:32:35 Step 7/23 : COPY go.mod vendor* ./ 15:32:36 ---> 044917e95eec 15:32:36 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:32:36 ---> Running in 8c379a5677b5 15:32:38 Removing intermediate container 8c379a5677b5 15:32:38 ---> d9b161439507 15:32:38 Step 9/23 : COPY . . 15:32:39 ---> 91d496d40217 15:32:39 Step 10/23 : RUN ${MAKE} 15:32:39 ---> Running in 888427dd4930 15:32:40 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.32 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.32" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:34:32 Removing intermediate container 888427dd4930 15:34:32 ---> eaec3ba5e697 15:34:32 Step 11/23 : FROM alpine:3.18 15:34:32 3.18: Pulling from library/alpine 15:34:32 9fda8d8052c6: Already exists 15:34:32 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 15:34:32 Status: Downloaded newer image for alpine:3.18 15:34:32 ---> f6648c04cd6c 15:34:32 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:34:32 ---> Running in e47bcd7a0e0f 15:34:32 Removing intermediate container e47bcd7a0e0f 15:34:32 ---> d2a63f188444 15:34:32 Step 13/23 : RUN apk add --update --no-cache 15:34:32 ---> Running in 9f9700de0bcc 15:34:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:34:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:34:32 OK: 8 MiB in 15 packages 15:34:32 Removing intermediate container 9f9700de0bcc 15:34:32 ---> 90b899cf84e8 15:34:32 Step 14/23 : WORKDIR / 15:34:32 ---> Running in 0cbc2dc46e17 15:34:32 Removing intermediate container 0cbc2dc46e17 15:34:32 ---> b1ad26e1d257 15:34:32 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:34:32 ---> 4094bab3082e 15:34:32 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:34:32 ---> 160f23f51e26 15:34:32 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:34:32 ---> 560e9b581c38 15:34:32 Step 18/23 : EXPOSE 59999 15:34:32 ---> Running in 190d42d74ba5 15:34:32 Removing intermediate container 190d42d74ba5 15:34:32 ---> 9140fd148a49 15:34:32 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:34:32 ---> Running in 5dce7928d655 15:34:32 Removing intermediate container 5dce7928d655 15:34:32 ---> f67bc0e2d4b9 15:34:32 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:34:32 ---> Running in 9668e5a173d7 15:34:32 Removing intermediate container 9668e5a173d7 15:34:32 ---> 62c62cc6bf4e 15:34:32 Step 21/23 : LABEL arch=arm64 15:34:32 ---> Running in 44ce33145587 15:34:32 Removing intermediate container 44ce33145587 15:34:32 ---> 49c15188f116 15:34:32 Step 22/23 : LABEL git_sha=1f885853b7afeee748945214d1e34d19c3162505 15:34:32 ---> Running in 6325fa5b5008 15:34:32 Removing intermediate container 6325fa5b5008 15:34:32 ---> 5a26f85f80a3 15:34:32 Step 23/23 : LABEL version=3.1.0-dev.32 15:34:32 ---> Running in b3699f7ed378 15:34:32 Removing intermediate container b3699f7ed378 15:34:32 ---> 681c98c10c98 15:34:32 [Warning] One or more build-args [ARCH] were not consumed 15:34:32 Successfully built 681c98c10c98 15:34:32 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 15:34:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:34:32 15:34:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:34:33 arm64: Pulling from edgex-lftools-log-publisher 15:34:33 8998bd30e6a1: Pulling fs layer 15:34:33 04944245beec: Pulling fs layer 15:34:33 699f458cf7ca: Pulling fs layer 15:34:33 765212b225bb: Pulling fs layer 15:34:33 f23df028b6ca: Pulling fs layer 15:34:33 d65c8cfc05b1: Pulling fs layer 15:34:33 2437ff75d9bd: Pulling fs layer 15:34:33 2437ff75d9bd: Waiting 15:34:33 f23df028b6ca: Waiting 15:34:33 d65c8cfc05b1: Waiting 15:34:33 765212b225bb: Waiting 15:34:33 04944245beec: Verifying Checksum 15:34:33 04944245beec: Download complete 15:34:33 765212b225bb: Verifying Checksum 15:34:33 765212b225bb: Download complete 15:34:33 f23df028b6ca: Verifying Checksum 15:34:33 f23df028b6ca: Download complete 15:34:33 d65c8cfc05b1: Verifying Checksum 15:34:33 d65c8cfc05b1: Download complete 15:34:33 699f458cf7ca: Verifying Checksum 15:34:33 699f458cf7ca: Download complete 15:34:33 8998bd30e6a1: Download complete 15:34:36 2437ff75d9bd: Verifying Checksum 15:34:36 2437ff75d9bd: Download complete 15:34:37 8998bd30e6a1: Pull complete 15:34:38 04944245beec: Pull complete 15:34:39 699f458cf7ca: Pull complete 15:34:39 765212b225bb: Pull complete 15:34:40 f23df028b6ca: Pull complete 15:34:40 d65c8cfc05b1: Pull complete 15:34:55 2437ff75d9bd: Pull complete 15:34:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:34:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:34:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:55 prd-ubuntu20.04-docker-arm64-4c-16g-8039 does not seem to be running inside a container 15:34:56 $ 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/261 -v /w/workspace/device-sdk-go/261:/w/workspace/device-sdk-go/261:rw,z -v /w/workspace/device-sdk-go/261@tmp:/w/workspace/device-sdk-go/261@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 15:34:58 $ docker top 1f8300e97fa56aa80e852c731f1f1cad09fc37086aed2deec66c193a558423db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:34:58 ---> job-cost.sh 15:34:59 lf-activate-venv: SKIPPING 15:34:59 INFO: No Stack... 15:34:59 INFO: Retrieving Pricing Info for: v3-standard-4 15:35:00 INFO: Archiving Costs [Pipeline] sh 15:35:00 + + cut -d,cat -f6 /w/workspace/device-sdk-go/261/archives/cost.csv 15:35:00 [Pipeline] lock 15:35:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] 15:35:01 Resource [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] did not exist. Created. 15:35:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:35:01 /w/workspace/device-sdk-go/261@tmp/durable-2db6ebf8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:35:02 + echo total: 0.10999999940395355 [Pipeline] stash 15:35:02 Warning: overwriting stash ‘stack-cost’ 15:35:02 Stashed 1 file(s) [Pipeline] } 15:35:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-261-stack-cost] [Pipeline] // lock [Pipeline] } 15:35:02 $ docker stop --time=1 1f8300e97fa56aa80e852c731f1f1cad09fc37086aed2deec66c193a558423db 15:35:03 $ docker rm -f --volumes 1f8300e97fa56aa80e852c731f1f1cad09fc37086aed2deec66c193a558423db [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 15:35:04 provisioning config files... 15:35:04 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12647688812681398894tmp [Pipeline] { [Pipeline] sh 15:35:04 + set +x 15:35:04 + + curl -s https://codecov.io/bash 15:35:04 bash -s -- 15:35:04 15:35:04 _____ _ 15:35:04 / ____| | | 15:35:04 | | ___ __| | ___ ___ _____ __ 15:35:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:35:04 | |___| (_) | (_| | __/ (_| (_) \ V / 15:35:04 \_____\___/ \__,_|\___|\___\___/ \_/ 15:35:04 Bash-1.0.6 15:35:04 15:35:04 15:35:04 ==> git version 2.25.1 found 15:35:04 ==> 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 15:35:04 Release-Date: 2020-01-08 15:35:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:35:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:35:04 ==> Jenkins CI detected. 15:35:04 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:35:04 project root: . 15:35:04 --> token set from env 15:35:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:35:04 ==> Running gcov in . (disable via -X gcov) 15:35:04 ==> Python coveragepy not found 15:35:04 ==> Searching for coverage reports in: 15:35:04 + . 15:35:04 -> Found 1 reports 15:35:04 ==> Detecting git/mercurial file structure 15:35:04 ==> Reading reports 15:35:04 + ./coverage.out bytes=122153 15:35:04 ==> Appending adjustments 15:35:04 https://docs.codecov.io/docs/fixing-reports 15:35:04 + Found adjustments 15:35:04 ==> Gzipping contents 15:35:04 20K /tmp/codecov.PQnsax.gz 15:35:04 ==> Uploading reports 15:35:04 url: https://codecov.io 15:35:04 query: branch=main&commit=1f885853b7afeee748945214d1e34d19c3162505&build=261&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F261%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:35:04 -> Pinging Codecov 15:35:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=1f885853b7afeee748945214d1e34d19c3162505&build=261&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F261%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:35:04 -> Uploading to 15:35:04 https://storage.googleapis.com/codecov/v4/raw/2023-09-27/7E55EF52A471D76F132DFD9A03CDDE97/1f885853b7afeee748945214d1e34d19c3162505/013e2ac2-3d69-4d18-a6f2-08e555e65246.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T153504Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c9b285583edf069b35df8c6285a25d386a1ed4e83e50ebb57b5c66e3d8b1b236 15:35:04 % Total % Received % Xferd Average Speed Time Time Time Current 15:35:04 Dload Upload Total Spent Left Speed 15:35:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16715 0 0 100 16715 0 74288 --:--:-- --:--:-- --:--:-- 73960 100 16715 0 0 100 16715 0 58240 --:--:-- --:--:-- --:--:-- 58038 15:35:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] } 15:35:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:35:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:35:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:35:06 15:35:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:35:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:35:06 df9b9388f04a: Pulling fs layer 15:35:06 52dc419b0ee2: Pulling fs layer 15:35:06 25bc292e5bac: Pulling fs layer 15:35:06 114826534d7a: Pulling fs layer 15:35:06 4657fd5d0bcf: Pulling fs layer 15:35:06 6ad1cebc031e: Pulling fs layer 15:35:06 8a3aa393b2d8: Pulling fs layer 15:35:06 114826534d7a: Waiting 15:35:06 4657fd5d0bcf: Waiting 15:35:06 6ad1cebc031e: Waiting 15:35:06 8a3aa393b2d8: Waiting 15:35:06 25bc292e5bac: Verifying Checksum 15:35:06 25bc292e5bac: Download complete 15:35:06 52dc419b0ee2: Download complete 15:35:06 4657fd5d0bcf: Verifying Checksum 15:35:06 4657fd5d0bcf: Download complete 15:35:06 df9b9388f04a: Download complete 15:35:06 df9b9388f04a: Pull complete 15:35:06 6ad1cebc031e: Verifying Checksum 15:35:06 52dc419b0ee2: Pull complete 15:35:06 25bc292e5bac: Pull complete 15:35:07 114826534d7a: Verifying Checksum 15:35:07 114826534d7a: Download complete 15:35:07 8a3aa393b2d8: Verifying Checksum 15:35:07 8a3aa393b2d8: Download complete 15:35:10 114826534d7a: Pull complete 15:35:10 4657fd5d0bcf: Pull complete 15:35:10 6ad1cebc031e: Pull complete 15:35:13 8a3aa393b2d8: Pull complete 15:35:13 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:35:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:35:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:13 prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container 15:35:13 $ 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 15:35:17 $ docker top 3a72e412b041125ac67d55f6be90fc93a64fb8242f8d897fadb299b82082d054 -eo pid,comm [Pipeline] { [Pipeline] echo 15:35:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 15:35:17 + set -o pipefail 15:35:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 15:35:29 15:35:29 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 15:35:29 15:35:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/6a5fd91c-0a33-4df9-9419-6af7ef8cf2d8 15:35:29 15:35:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:35:29 15:35:29 15:35:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:35:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:35:29 More details here: https://snyk.co/ue1NS [Pipeline] } 15:35:29 $ docker stop --time=1 3a72e412b041125ac67d55f6be90fc93a64fb8242f8d897fadb299b82082d054 15:35:33 $ docker rm -f --volumes 3a72e412b041125ac67d55f6be90fc93a64fb8242f8d897fadb299b82082d054 [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 15:35:34 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:35:34 provisioning config files... 15:35:34 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6824543079733321839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:35:34 --> edgex-publish-swagger.sh 15:35:34 === Publish openapi/v3 API === 15:35:34 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 15:35:34 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 15:35:34 % Total % Received % Xferd Average Speed Time Time Time Current 15:35:34 Dload Upload Total Spent Left Speed 15:35:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 45879 --:--:-- --:--:-- --:--:-- 45879 15:35:35 15:35:35 [Pipeline] } 15:35:35 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 15:35:35 + git log --format=format:%s -1 1f885853b7afeee748945214d1e34d19c3162505 [Pipeline] sh 15:35:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:35:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:35:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:36 prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container 15:35:36 $ 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 15:35:36 $ docker top 9ea2ebb9ff48c523463b9f16a146f769753998cb9346ba8f8dbabf0cbc1bc81e -eo pid,comm 15:35:36 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). 15:35:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:35:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:35:36 [ssh-agent] Looking for ssh-agent implementation... 15:35:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:35:36 $ docker exec 9ea2ebb9ff48c523463b9f16a146f769753998cb9346ba8f8dbabf0cbc1bc81e ssh-agent 15:35:36 SSH_AUTH_SOCK=/tmp/ssh-1BnWMAggC6Za/agent.32 15:35:36 SSH_AGENT_PID=38 15:35:36 Running ssh-add (command line suppressed) 15:35:36 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12615955338440603061.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12615955338440603061.key) 15:35:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:35:37 + git semver tag 15:35:37 2023-09-27 15:35:37,331 [run_tag] DEBUG tag force:False 15:35:37 2023-09-27 15:35:37,331 [check_head_tag] DEBUG check head tag 15:35:37 2023-09-27 15:35:37,332 [execute] INFO git cat-file --batch-check 15:35:37 2023-09-27 15:35:37,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:35:37 2023-09-27 15:35:37,336 [execute] INFO git cat-file --batch 15:35:37 2023-09-27 15:35:37,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:35:37 2023-09-27 15:35:37,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:37 2023-09-27 15:35:37,350 [execute] INFO git tag -a v3.1.0-dev.32 -m v3.1.0-dev.32 15:35:37 2023-09-27 15:35:37,351 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.32', '-m', 'v3.1.0-dev.32'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:35:37 2023-09-27 15:35:37,355 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:37 3.1.0-dev.32 [Pipeline] } 15:35:37 $ docker exec --env ******** --env ******** 9ea2ebb9ff48c523463b9f16a146f769753998cb9346ba8f8dbabf0cbc1bc81e ssh-agent -k 15:35:37 unset SSH_AUTH_SOCK; 15:35:37 unset SSH_AGENT_PID; 15:35:37 echo Agent pid 38 killed; 15:35:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:35:37 + git semver [Pipeline] } 15:35:38 $ docker stop --time=1 9ea2ebb9ff48c523463b9f16a146f769753998cb9346ba8f8dbabf0cbc1bc81e 15:35:39 $ docker rm -f --volumes 9ea2ebb9ff48c523463b9f16a146f769753998cb9346ba8f8dbabf0cbc1bc81e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:35:39 15:35:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:35:40 0.23.1-centos7: Pulling from edgex-lftools 15:35:40 ab5ef0e58194: Pulling fs layer 15:35:40 9712f1f96733: Pulling fs layer 15:35:40 63f879dbbcfc: Pulling fs layer 15:35:40 0d9ebad4ef96: Pulling fs layer 15:35:40 e9a5061849ea: Pulling fs layer 15:35:40 d747dcd14b5f: Pulling fs layer 15:35:40 2de7ff778b66: Pulling fs layer 15:35:40 e9a5061849ea: Waiting 15:35:40 0d9ebad4ef96: Waiting 15:35:40 2de7ff778b66: Waiting 15:35:40 9712f1f96733: Verifying Checksum 15:35:40 9712f1f96733: Download complete 15:35:40 63f879dbbcfc: Verifying Checksum 15:35:40 63f879dbbcfc: Download complete 15:35:40 e9a5061849ea: Verifying Checksum 15:35:40 e9a5061849ea: Download complete 15:35:40 d747dcd14b5f: Verifying Checksum 15:35:40 d747dcd14b5f: Download complete 15:35:40 ab5ef0e58194: Verifying Checksum 15:35:40 ab5ef0e58194: Download complete 15:35:40 2de7ff778b66: Verifying Checksum 15:35:40 2de7ff778b66: Download complete 15:35:40 0d9ebad4ef96: Verifying Checksum 15:35:40 0d9ebad4ef96: Download complete 15:35:43 ab5ef0e58194: Pull complete 15:35:43 9712f1f96733: Pull complete 15:35:43 63f879dbbcfc: Pull complete 15:35:47 0d9ebad4ef96: Pull complete 15:35:47 e9a5061849ea: Pull complete 15:35:47 d747dcd14b5f: Pull complete 15:35:48 2de7ff778b66: Pull complete 15:35:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:35:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:35:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:48 prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container 15:35:48 $ 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 15:35:53 $ docker top c14faba25f25ba3b9f44919b607a24fe60e1834415c08f2ecdce25f55f73f286 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:35:53 provisioning config files... 15:35:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14648843868893500841tmp 15:35:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6057018661189719459tmp 15:35:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3054941793300009280tmp [Pipeline] { [Pipeline] echo 15:35:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:35:54 ---> sigul-configuration.sh 15:35:54 gpg: directory `/root/.gnupg' created 15:35:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:35:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:35:54 gpg: keyring `/root/.gnupg/secring.gpg' created 15:35:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:35:54 gpg: CAST5 encrypted data 15:35:54 gpg: encrypted with 1 passphrase 15:35:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:35:54 + mkdir /home/jenkins 15:35:54 + mkdir /home/jenkins/sigul [Pipeline] sh 15:35:54 + 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 15:35:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:35:55 ---> sigul-install.sh 15:35:55 Sigul already installed; skipping installation. [Pipeline] sh 15:35:55 + git tag --list 15:35:55 0.7.1 15:35:55 delhi-tag 15:35:55 v1.0.0 15:35:55 v1.1.0 15:35:55 v1.1.1 15:35:55 v1.1.2 15:35:55 v1.2.0 15:35:55 v1.2.1 15:35:55 v1.2.2 15:35:55 v1.2.3 15:35:55 v1.3.0 15:35:55 v1.4.0 15:35:55 v2.0.0 15:35:55 v2.1.0 15:35:55 v2.1.1 15:35:55 v2.2.0 15:35:55 v2.3.0 15:35:55 v2.3.1 15:35:55 v3.0 15:35:55 v3.0.0 15:35:55 v3.0.1-dev.1 15:35:55 v3.1.0-dev.1 15:35:55 v3.1.0-dev.10 15:35:55 v3.1.0-dev.11 15:35:55 v3.1.0-dev.12 15:35:55 v3.1.0-dev.13 15:35:55 v3.1.0-dev.14 15:35:55 v3.1.0-dev.15 15:35:55 v3.1.0-dev.16 15:35:55 v3.1.0-dev.17 15:35:55 v3.1.0-dev.18 15:35:55 v3.1.0-dev.19 15:35:55 v3.1.0-dev.2 15:35:55 v3.1.0-dev.20 15:35:55 v3.1.0-dev.21 15:35:55 v3.1.0-dev.22 15:35:55 v3.1.0-dev.23 15:35:55 v3.1.0-dev.24 15:35:55 v3.1.0-dev.25 15:35:55 v3.1.0-dev.26 15:35:55 v3.1.0-dev.27 15:35:55 v3.1.0-dev.28 15:35:55 v3.1.0-dev.29 15:35:55 v3.1.0-dev.3 15:35:55 v3.1.0-dev.30 15:35:55 v3.1.0-dev.31 15:35:55 v3.1.0-dev.32 15:35:55 v3.1.0-dev.4 15:35:55 v3.1.0-dev.5 15:35:55 v3.1.0-dev.6 15:35:55 v3.1.0-dev.7 15:35:55 v3.1.0-dev.8 15:35:55 v3.1.0-dev.9 [Pipeline] sh 15:35:55 + lftools sign git-tag v3.1.0-dev.32 15:35:56 Signing Git tag with Sigul... 15:35:56 Signing v3.1.0-dev.32 [Pipeline] echo 15:35:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:35:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:35:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:35:56 $ docker stop --time=1 c14faba25f25ba3b9f44919b607a24fe60e1834415c08f2ecdce25f55f73f286 15:35:58 $ docker rm -f --volumes c14faba25f25ba3b9f44919b607a24fe60e1834415c08f2ecdce25f55f73f286 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:35:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:35:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:35:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:58 prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container 15:35:58 $ 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 15:35:59 $ docker top c9b47f0e6d0abbf47b34b1d770bb4b4d2875bcf1eeb19bd1735288f6e609682c -eo pid,comm 15:35:59 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). 15:35:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:35:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:35:59 [ssh-agent] Looking for ssh-agent implementation... 15:35:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:35:59 $ docker exec c9b47f0e6d0abbf47b34b1d770bb4b4d2875bcf1eeb19bd1735288f6e609682c ssh-agent 15:35:59 SSH_AUTH_SOCK=/tmp/ssh-c9SGmDCRUgau/agent.32 15:35:59 SSH_AGENT_PID=38 15:35:59 Running ssh-add (command line suppressed) 15:35:59 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8484118284198277770.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8484118284198277770.key) 15:35:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:35:59 + git semver bump pre 15:36:00 2023-09-27 15:35:59,981 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:36:00 2023-09-27 15:35:59,981 [bump_version] DEBUG bumping version:3.1.0-dev.32 on axis:pre with prefix:dev 15:36:00 2023-09-27 15:35:59,981 [bump_version] DEBUG bumped version:3.1.0-dev.33 15:36:00 2023-09-27 15:35:59,981 [write_version] DEBUG write version:3.1.0-dev.33 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 15:36:00 2023-09-27 15:35:59,981 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:36:00 2023-09-27 15:35:59,982 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:36:00 2023-09-27 15:35:59,983 [execute] INFO git cat-file --batch-check 15:36:00 2023-09-27 15:35:59,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:36:00 2023-09-27 15:35:59,988 [execute] INFO git cat-file --batch 15:36:00 2023-09-27 15:35:59,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:36:00 2023-09-27 15:35:59,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:36:00 3.1.0-dev.33 [Pipeline] } 15:36:00 $ docker exec --env ******** --env ******** c9b47f0e6d0abbf47b34b1d770bb4b4d2875bcf1eeb19bd1735288f6e609682c ssh-agent -k 15:36:00 unset SSH_AUTH_SOCK; 15:36:00 unset SSH_AGENT_PID; 15:36:00 echo Agent pid 38 killed; 15:36:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:36:00 + git semver [Pipeline] } 15:36:00 $ docker stop --time=1 c9b47f0e6d0abbf47b34b1d770bb4b4d2875bcf1eeb19bd1735288f6e609682c 15:36:02 $ docker rm -f --volumes c9b47f0e6d0abbf47b34b1d770bb4b4d2875bcf1eeb19bd1735288f6e609682c [Pipeline] // withDockerContainer [Pipeline] sh 15:36:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:36:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:36:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:02 prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container 15:36:02 $ 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 15:36:03 $ docker top fb42915bfe6372f4cba2d4d6880addaf3e834d2e9ef882f87546a5a19b7fa748 -eo pid,comm 15:36:03 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). 15:36:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:36:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:36:03 [ssh-agent] Looking for ssh-agent implementation... 15:36:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:36:03 $ docker exec fb42915bfe6372f4cba2d4d6880addaf3e834d2e9ef882f87546a5a19b7fa748 ssh-agent 15:36:03 SSH_AUTH_SOCK=/tmp/ssh-omS3HjV2lLfW/agent.31 15:36:03 SSH_AGENT_PID=37 15:36:03 Running ssh-add (command line suppressed) 15:36:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7066713072844249523.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7066713072844249523.key) 15:36:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:36:03 + git semver push 15:36:04 2023-09-27 15:36:03,988 [run_push] DEBUG push 15:36:04 2023-09-27 15:36:03,988 [execute] INFO git cat-file --batch-check 15:36:04 2023-09-27 15:36:03,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:36:04 2023-09-27 15:36:03,992 [execute] INFO git rev-list eb9356f746ddda0d868d7e1df98d311274e321df -- 15:36:04 2023-09-27 15:36:03,992 [execute] DEBUG Popen(['git', 'rev-list', 'eb9356f746ddda0d868d7e1df98d311274e321df', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:36:04 2023-09-27 15:36:04,005 [execute] INFO git fetch -v origin 15:36:04 2023-09-27 15:36:04,005 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:36:04 2023-09-27 15:36:04,543 [run_push] DEBUG no remote changes detected 15:36:04 2023-09-27 15:36:04,543 [execute] INFO git push origin semver 15:36:04 2023-09-27 15:36:04,544 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:36:05 2023-09-27 15:36:05,415 [run_push] DEBUG push all version tags 15:36:05 2023-09-27 15:36:05,415 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:36:05 2023-09-27 15:36:05,416 [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) 15:36:06 2023-09-27 15:36:06,456 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:36:06 3.1.0-dev.33 [Pipeline] } 15:36:06 $ docker exec --env ******** --env ******** fb42915bfe6372f4cba2d4d6880addaf3e834d2e9ef882f87546a5a19b7fa748 ssh-agent -k 15:36:06 unset SSH_AUTH_SOCK; 15:36:06 unset SSH_AGENT_PID; 15:36:06 echo Agent pid 37 killed; 15:36:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:36:06 + git semver [Pipeline] } 15:36:07 $ docker stop --time=1 fb42915bfe6372f4cba2d4d6880addaf3e834d2e9ef882f87546a5a19b7fa748 15:36:08 $ docker rm -f --volumes fb42915bfe6372f4cba2d4d6880addaf3e834d2e9ef882f87546a5a19b7fa748 [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 15:36:09 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 15:36:09 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:36:09 total 16 15:36:09 drwxr-xr-x 3 root root 4096 Sep 27 15:26 . 15:36:09 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:35 .. 15:36:09 drwxr-xr-x 2 root root 4096 Sep 27 15:26 cost 15:36:09 -rw-r--r-- 1 root root 85 Sep 27 15:26 cost.csv 15:36:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:36:09 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:36:09 total 16 15:36:09 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 15:26 . 15:36:09 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:35 .. 15:36:09 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 15:26 cost 15:36:09 -rw-r--r-- 1 jenkins jenkins 85 Sep 27 15:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:36:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:36:10 ---> package-listing.sh 15:36:10 ++ facter osfamily 15:36:10 ++ tr '[:upper:]' '[:lower:]' 15:36:10 + OS_FAMILY=debian 15:36:10 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:36:10 + START_PACKAGES=/tmp/packages_start.txt 15:36:10 + END_PACKAGES=/tmp/packages_end.txt 15:36:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:36:10 + PACKAGES=/tmp/packages_start.txt 15:36:10 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:36:10 + PACKAGES=/tmp/packages_end.txt 15:36:10 + case "${OS_FAMILY}" in 15:36:10 + dpkg -l 15:36:10 + grep '^ii' 15:36:10 + '[' -f /tmp/packages_start.txt ']' 15:36:10 + '[' -f /tmp/packages_end.txt ']' 15:36:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:36:10 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:36:10 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:36:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 15:36:10 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 15:36:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:36:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:11 prd-ubuntu20.04-docker-8c-8g-8038 does not seem to be running inside a container 15:36:11 $ 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 15:36:11 $ docker top 0aabd597b713f6403662456f13e5d921fdf8f58ff3b67b4a08701c3f40b20194 -eo pid,comm [Pipeline] { [Pipeline] sh 15:36:12 + touch /tmp/pre-build-complete [Pipeline] sh 15:36:12 + mkdir -p /var/log/sysstat [Pipeline] sh 15:36:12 + ls /var/log/sa-host 15:36:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:36:12 provisioning config files... 15:36:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14421240565326931552tmp [Pipeline] { [Pipeline] echo 15:36:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:36:13 ---> create-netrc.sh [Pipeline] } 15:36:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:36:13 ---> python-tools-install.sh [Pipeline] echo 15:36:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:36:13 ---> sudo-logs.sh 15:36:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:36:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:36:14 ---> job-cost.sh 15:36:14 lf-activate-venv: SKIPPING 15:36:14 DEBUG: total: 0.2199999988079071 15:36:14 INFO: Retrieving Stack Cost... 15:36:14 INFO: Retrieving Pricing Info for: v3-standard-8 15:36:15 INFO: Archiving Costs [Pipeline] echo 15:36:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:36:15 ---> logs-deploy.sh 15:36:15 lf-activate-venv: SKIPPING 15:36:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/261 15:36:15 INFO: archiving workspace using pattern(s): 15:36:16 Archives upload complete. 15:36:16 INFO: archiving logs to Nexus