Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bf9c3392919180a8df7f2fb5f876c062118bfa6b 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-ssh16841380858070712481.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh9243764120617580320.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1828383904238874837.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh2577563997379268422.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-ssh9388277827898532210.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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8934 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 bf9c3392919180a8df7f2fb5f876c062118bfa6b (main) Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#1423)" > git config core.sparsecheckout # timeout=10 > git checkout -f bf9c3392919180a8df7f2fb5f876c062118bfa6b # timeout=10 > git rev-list --no-walk 3feff72630b5a64f0b1c499fc37cf8ca79db70fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:12:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:12:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:12:17 ========================================================= 15:12:17 EdgeX Global Pipelines Version Info 15:12:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:12:18 ------------------- 15:12:18 stable info: 15:12:18 ------------------- 15:12:18 Commited By: Bill Mahoney bill.mahoney@intel.com 15:12:18 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:12:18 Message: update stable to v1.0.248 15:12:18 ------------------- 15:12:18 experimental info: 15:12:18 ------------------- 15:12:18 Commited By: **** collab-it+edgex@linuxfoundation.org 15:12:18 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:12:18 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf9c3392919180a8df7f2fb5f876c062118bfa6b [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf9c339 [Pipeline] echo 15:12:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:12:18 provisioning config files... 15:12:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4670176708698085193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:12:19 ---> docker-login.sh 15:12:19 nexus3.edgexfoundry.org:10001 15:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:19 Configure a credential helper to remove this warning. See 15:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:19 15:12:19 Login Succeeded 15:12:19 nexus3.edgexfoundry.org:10002 15:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:19 Configure a credential helper to remove this warning. See 15:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:19 15:12:19 Login Succeeded 15:12:19 nexus3.edgexfoundry.org:10003 15:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:19 Configure a credential helper to remove this warning. See 15:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:19 15:12:19 Login Succeeded 15:12:19 nexus3.edgexfoundry.org:10004 15:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:20 Configure a credential helper to remove this warning. See 15:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:20 15:12:20 Login Succeeded 15:12:20 docker.io 15:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:20 Configure a credential helper to remove this warning. See 15:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:20 15:12:20 Login Succeeded 15:12:20 ---> docker-login.sh ends [Pipeline] } 15:12:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:12:20 + git rev-list -1 --merges bf9c3392919180a8df7f2fb5f876c062118bfa6b~1..bf9c3392919180a8df7f2fb5f876c062118bfa6b [Pipeline] echo 15:12:20 -----------> git rev-list -1 --merges bf9c3392919180a8df7f2fb5f876c062118bfa6b~1..bf9c3392919180a8df7f2fb5f876c062118bfa6b bf9c3392919180a8df7f2fb5f876c062118bfa6b [false] [Pipeline] sh 15:12:21 + git log --format=format:%s -1 bf9c3392919180a8df7f2fb5f876c062118bfa6b [Pipeline] echo 15:12:21 ========================================================= 15:12:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:12:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:12:21 + git log --format=format:%s -1 bf9c3392919180a8df7f2fb5f876c062118bfa6b [Pipeline] echo 15:12:21 [semverPrep] GIT_COMMIT: bf9c3392919180a8df7f2fb5f876c062118bfa6b, Commit Message: fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#1423) [Pipeline] echo 15:12:21 [semverPrep] This is not a build commit. [Pipeline] sh 15:12:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:12:21 + grep -v github /etc/ssh/ssh_known_hosts 15:12:21 + [ -e /tmp/ssh_known_hosts ] 15:12:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:12:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:12:21 + sudo tee -a /etc/ssh/ssh_known_hosts 15:12:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:12:22 15:12:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:12:22 0.1.4: Pulling from edgex-devops/py-git-semver 15:12:22 b85a868b505f: Pulling fs layer 15:12:22 e2be974225ed: Pulling fs layer 15:12:22 339a4e72a1f5: Pulling fs layer 15:12:22 988bab9f4d93: Pulling fs layer 15:12:22 1469e6f7b9e6: Pulling fs layer 15:12:22 eaf3925da568: Pulling fs layer 15:12:22 bab4dde63d76: Pulling fs layer 15:12:22 bde34c3a00c8: Pulling fs layer 15:12:22 b352a97aabf1: Pulling fs layer 15:12:22 4872d77fe225: Pulling fs layer 15:12:22 5851b861e8e6: Pulling fs layer 15:12:22 eaf3925da568: Waiting 15:12:22 bab4dde63d76: Waiting 15:12:22 1469e6f7b9e6: Waiting 15:12:22 bde34c3a00c8: Waiting 15:12:22 b352a97aabf1: Waiting 15:12:22 4872d77fe225: Waiting 15:12:22 5851b861e8e6: Waiting 15:12:22 988bab9f4d93: Waiting 15:12:22 e2be974225ed: Verifying Checksum 15:12:22 e2be974225ed: Download complete 15:12:22 988bab9f4d93: Verifying Checksum 15:12:22 988bab9f4d93: Download complete 15:12:22 1469e6f7b9e6: Verifying Checksum 15:12:22 1469e6f7b9e6: Download complete 15:12:22 339a4e72a1f5: Verifying Checksum 15:12:22 339a4e72a1f5: Download complete 15:12:22 eaf3925da568: Verifying Checksum 15:12:22 eaf3925da568: Download complete 15:12:22 bde34c3a00c8: Download complete 15:12:22 b352a97aabf1: Verifying Checksum 15:12:22 b352a97aabf1: Download complete 15:12:22 4872d77fe225: Verifying Checksum 15:12:22 4872d77fe225: Download complete 15:12:22 5851b861e8e6: Download complete 15:12:22 b85a868b505f: Verifying Checksum 15:12:22 b85a868b505f: Download complete 15:12:23 bab4dde63d76: Verifying Checksum 15:12:23 bab4dde63d76: Download complete 15:12:24 b85a868b505f: Pull complete 15:12:24 e2be974225ed: Pull complete 15:12:25 339a4e72a1f5: Pull complete 15:12:25 988bab9f4d93: Pull complete 15:12:25 1469e6f7b9e6: Pull complete 15:12:25 eaf3925da568: Pull complete 15:12:27 bab4dde63d76: Pull complete 15:12:27 bde34c3a00c8: Pull complete 15:12:27 b352a97aabf1: Pull complete 15:12:27 4872d77fe225: Pull complete 15:12:27 5851b861e8e6: Pull complete 15:12:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:12:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:12:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:12:27 prd-ubuntu20.04-docker-8c-8g-8934 does not seem to be running inside a container 15:12:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:12:31 $ docker top 3cce5c1787af36e6edc7e04057230b8197e130d5798b5dd16dfc3607b9f0f423 -eo pid,comm 15:12:31 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:12:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:12:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:12:31 [ssh-agent] Looking for ssh-agent implementation... 15:12:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:12:31 $ docker exec 3cce5c1787af36e6edc7e04057230b8197e130d5798b5dd16dfc3607b9f0f423 ssh-agent 15:12:31 SSH_AUTH_SOCK=/tmp/ssh-QYS2XuwKNFt3/agent.32 15:12:31 SSH_AGENT_PID=38 15:12:31 Running ssh-add (command line suppressed) 15:12:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11233114323471559735.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11233114323471559735.key) 15:12:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:12:31 + git tag --points-at HEAD [Pipeline] } 15:12:31 $ docker exec --env ******** --env ******** 3cce5c1787af36e6edc7e04057230b8197e130d5798b5dd16dfc3607b9f0f423 ssh-agent -k 15:12:32 unset SSH_AUTH_SOCK; 15:12:32 unset SSH_AGENT_PID; 15:12:32 echo Agent pid 38 killed; 15:12:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:12:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:12:32 [ssh-agent] Looking for ssh-agent implementation... 15:12:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:12:32 $ docker exec 3cce5c1787af36e6edc7e04057230b8197e130d5798b5dd16dfc3607b9f0f423 ssh-agent 15:12:32 SSH_AUTH_SOCK=/tmp/ssh-4d7pnhuvmN4B/agent.72 15:12:32 SSH_AGENT_PID=79 15:12:32 Running ssh-add (command line suppressed) 15:12:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15681905291674553955.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15681905291674553955.key) 15:12:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:12:32 + git semver init 15:12:33 2023-04-18 15:12:33,113 [run_init] DEBUG init version:0.0.0 force:False 15:12:33 2023-04-18 15:12:33,115 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:12:33 2023-04-18 15:12:33,116 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:12:33 2023-04-18 15:12:33,117 [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:12:34 2023-04-18 15:12:34,278 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:12:34 2023-04-18 15:12:34,279 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:12:34 2023-04-18 15:12:34,279 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:12:34 2023-04-18 15:12:34,279 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:12:34 3.0.0-dev.70 [Pipeline] } 15:12:34 $ docker exec --env ******** --env ******** 3cce5c1787af36e6edc7e04057230b8197e130d5798b5dd16dfc3607b9f0f423 ssh-agent -k 15:12:34 unset SSH_AUTH_SOCK; 15:12:34 unset SSH_AGENT_PID; 15:12:34 echo Agent pid 79 killed; 15:12:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:12:35 + git semver [Pipeline] } 15:12:35 $ docker stop --time=1 3cce5c1787af36e6edc7e04057230b8197e130d5798b5dd16dfc3607b9f0f423 15:12:37 $ docker rm -f --volumes 3cce5c1787af36e6edc7e04057230b8197e130d5798b5dd16dfc3607b9f0f423 [Pipeline] // withDockerContainer [Pipeline] sh 15:12:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:12:37 Stashed 1 file(s) [Pipeline] echo 15:12:37 [edgeXSemver]: initialized semver on version 3.0.0-dev.70 [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:12:37 provisioning config files... 15:12:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3533687993929710557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:12:38 ---> docker-login.sh 15:12:38 nexus3.edgexfoundry.org:10001 15:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:38 Configure a credential helper to remove this warning. See 15:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:38 15:12:38 Login Succeeded 15:12:38 nexus3.edgexfoundry.org:10002 15:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:38 Configure a credential helper to remove this warning. See 15:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:38 15:12:38 Login Succeeded 15:12:38 nexus3.edgexfoundry.org:10003 15:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:38 Configure a credential helper to remove this warning. See 15:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:38 15:12:38 Login Succeeded 15:12:38 nexus3.edgexfoundry.org:10004 15:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:38 Configure a credential helper to remove this warning. See 15:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:38 15:12:38 Login Succeeded 15:12:38 docker.io 15:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:38 Configure a credential helper to remove this warning. See 15:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:38 15:12:38 Login Succeeded 15:12:38 ---> docker-login.sh ends [Pipeline] } 15:12:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:12:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:12:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:12:38 ========================================================= 15:12:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:12:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:39 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 15:12:39 Sending build context to Docker daemon 10.98MB 15:12:39 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:12:39 Step 2/10 : FROM ${BASE} AS builder 15:12:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:12:39 63b65145d645: Pulling fs layer 15:12:39 a2d21d5440eb: Pulling fs layer 15:12:39 935e6c44a52c: Pulling fs layer 15:12:39 94cc34f8dd06: Pulling fs layer 15:12:39 30dea6a524f1: Pulling fs layer 15:12:39 a2aff8979fd8: Pulling fs layer 15:12:39 6808be2612f2: Pulling fs layer 15:12:39 f25807f1079a: Pulling fs layer 15:12:39 94cc34f8dd06: Waiting 15:12:39 a2aff8979fd8: Waiting 15:12:39 30dea6a524f1: Waiting 15:12:39 f25807f1079a: Waiting 15:12:39 6808be2612f2: Waiting 15:12:39 a2d21d5440eb: Verifying Checksum 15:12:39 a2d21d5440eb: Download complete 15:12:39 94cc34f8dd06: Download complete 15:12:39 30dea6a524f1: Verifying Checksum 15:12:39 30dea6a524f1: Download complete 15:12:39 63b65145d645: Verifying Checksum 15:12:39 63b65145d645: Download complete 15:12:39 a2aff8979fd8: Verifying Checksum 15:12:39 a2aff8979fd8: Download complete 15:12:39 63b65145d645: Pull complete 15:12:39 f25807f1079a: Verifying Checksum 15:12:39 f25807f1079a: Download complete 15:12:39 a2d21d5440eb: Pull complete 15:12:39 935e6c44a52c: Download complete 15:12:40 6808be2612f2: Verifying Checksum 15:12:40 6808be2612f2: Download complete 15:12:43 935e6c44a52c: Pull complete 15:12:43 94cc34f8dd06: Pull complete 15:12:43 30dea6a524f1: Pull complete 15:12:43 a2aff8979fd8: Pull complete 15:12:47 6808be2612f2: Pull complete 15:12:47 f25807f1079a: Pull complete 15:12:48 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:12:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:12:48 ---> 3b553350e43f 15:12:48 Step 3/10 : ARG MAKE=make build 15:12:52 Still waiting to schedule task 15:12:52 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:12:56 ---> Running in c7c66a8cff49 15:12:56 Removing intermediate container c7c66a8cff49 15:12:56 ---> ac523c802937 15:12:56 Step 4/10 : WORKDIR /device-sdk-go 15:12:56 ---> Running in 5a59fd5379bb 15:12:56 Removing intermediate container 5a59fd5379bb 15:12:56 ---> adbf527f67c0 15:12:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:12:56 ---> Running in 2bb98c4d8138 15:12:56 Removing intermediate container 2bb98c4d8138 15:12:56 ---> d4240a0cc483 15:12:56 Step 6/10 : RUN apk add --update --no-cache make git 15:12:56 ---> Running in bd3c483c9b1c 15:12:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:12:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:12:56 OK: 265 MiB in 53 packages 15:12:57 Removing intermediate container bd3c483c9b1c 15:12:57 ---> b4a0fe6a3d64 15:12:57 Step 7/10 : COPY go.mod vendor* ./ 15:12:57 ---> 1f5f8ba6d5b5 15:12:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:12:57 ---> Running in b052f97172ad 15:13:36 Removing intermediate container b052f97172ad 15:13:36 ---> 686411e70677 15:13:36 Step 9/10 : COPY . . 15:13:36 ---> ec590f84eb14 15:13:36 Step 10/10 : RUN ${MAKE} 15:13:36 ---> Running in 9779b9f16800 15:13:36 noop 15:13:36 Removing intermediate container 9779b9f16800 15:13:36 ---> 47824d44bf9a 15:13:36 Successfully built 47824d44bf9a 15:13:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:36 + docker inspect -f . ci-base-image-x86_64 15:13:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:36 prd-ubuntu20.04-docker-8c-8g-8934 does not seem to be running inside a container 15:13: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 ******** -e ******** ci-base-image-x86_64 cat 15:13:37 $ docker top b47fead1fc40092663919f8c5c208f23c7bb61924a0d242cc36c754e8041db4e -eo pid,comm [Pipeline] { [Pipeline] sh 15:13:37 + go version 15:13:37 go version go1.20.2 linux/amd64 [Pipeline] } 15:13:37 $ docker stop --time=1 b47fead1fc40092663919f8c5c208f23c7bb61924a0d242cc36c754e8041db4e 15:13:39 $ docker rm -f --volumes b47fead1fc40092663919f8c5c208f23c7bb61924a0d242cc36c754e8041db4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:39 + docker inspect -f . ci-base-image-x86_64 15:13:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:13:39 prd-ubuntu20.04-docker-8c-8g-8934 does not seem to be running inside a container 15:13: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 ******** -e ******** ci-base-image-x86_64 cat 15:13:40 $ docker top 006fd96b352175d2054e4b26acec4e341347dd887baebee7cdbc481b5b707077 -eo pid,comm [Pipeline] { [Pipeline] sh 15:13:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:13:40 + make test 15:13:40 go test -race -coverprofile=coverage.out ./... 15:13:47 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:14:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements 15:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:14:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 80.2% of statements 15:14:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 86.0% of statements 15:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 15:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:14:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.090s coverage: 77.5% of statements 15:14:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:14:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.064s coverage: 14.6% of statements 15:14:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.080s coverage: 68.5% of statements 15:14:08 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.124s coverage: 89.2% of statements 15:14:08 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements 15:14:30 GO111MODULE=on go vet ./... 15:14:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:14:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:14:34 ./bin/test-attribution-txt.sh [Pipeline] echo 15:14:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:14:34 $ docker stop --time=1 006fd96b352175d2054e4b26acec4e341347dd887baebee7cdbc481b5b707077 15:14:38 $ docker rm -f --volumes 006fd96b352175d2054e4b26acec4e341347dd887baebee7cdbc481b5b707077 [Pipeline] // withDockerContainer [Pipeline] sh 15:14:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:14:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:14:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:14:39 + ls -al . 15:14:39 total 272 15:14:39 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 15:13 . 15:14:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:12 .. 15:14:39 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 15:12 .dockerignore 15:14:39 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:12 .git 15:14:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:12 .github 15:14:39 -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 15:12 .gitignore 15:14:39 -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:12 .golangci.yml 15:14:39 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:12 .semver 15:14:39 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 15:12 CHANGELOG.md 15:14:39 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:12 GOVERNANCE.md 15:14:39 -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 15:12 Jenkinsfile 15:14:39 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 15:12 LICENSE 15:14:39 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 15:12 Makefile 15:14:39 -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 15:12 OWNERS.md 15:14:39 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 15:12 README.md 15:14:39 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 15:12 VERSION 15:14:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:12 bin 15:14:39 -rw-r--r-- 1 jenkins jenkins 106121 Apr 18 15:14 coverage.out 15:14:39 drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 15:12 example 15:14:39 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 15:12 go.mod 15:14:39 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 18 15:12 go.sum 15:14:39 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 15:12 internal 15:14:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:12 openapi 15:14:39 drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 15:12 pkg 15:14:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:12 snap 15:14:39 -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 15:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:40 + 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=bf9c3392919180a8df7f2fb5f876c062118bfa6b --label arch=amd64 --label version=3.0.0-dev.70 . 15:14:40 Sending build context to Docker daemon 11.08MB 15:14:40 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 15:14:40 Step 2/23 : FROM ${BASE} AS builder 15:14:40 ---> 47824d44bf9a 15:14:40 Step 3/23 : ARG MAKE=make build 15:14:40 ---> Running in e379486f2fe8 15:14:40 Removing intermediate container e379486f2fe8 15:14:40 ---> c6c23802e4ad 15:14:40 Step 4/23 : WORKDIR /device-sdk-go 15:14:40 ---> Running in d471009383df 15:14:40 Removing intermediate container d471009383df 15:14:40 ---> 5c0dbc279c6c 15:14:40 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:14:40 ---> Running in b19ab78e8d1a 15:14:40 Removing intermediate container b19ab78e8d1a 15:14:40 ---> 0165bb0bc8dc 15:14:40 Step 6/23 : RUN apk add --update --no-cache make git 15:14:40 ---> Running in bc4d373274ad 15:14:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:14:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:14:41 OK: 265 MiB in 53 packages 15:14:41 Removing intermediate container bc4d373274ad 15:14:41 ---> f1e33965d368 15:14:41 Step 7/23 : COPY go.mod vendor* ./ 15:14:41 ---> d33b5298f7a7 15:14:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:14:42 ---> Running in 529b51a4c133 15:14:42 Removing intermediate container 529b51a4c133 15:14:42 ---> 6f87f2a72d44 15:14:42 Step 9/23 : COPY . . 15:14:43 ---> bc01efcc7f20 15:14:43 Step 10/23 : RUN ${MAKE} 15:14:43 ---> Running in 90245c31e883 15:14:43 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.70" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:15:05 Removing intermediate container 90245c31e883 15:15:05 ---> f997e638a108 15:15:05 Step 11/23 : FROM alpine:3.17 15:15:05 3.17: Pulling from library/alpine 15:15:05 f56be85fc22e: Pulling fs layer 15:15:05 f56be85fc22e: Verifying Checksum 15:15:05 f56be85fc22e: Download complete 15:15:06 f56be85fc22e: Pull complete 15:15:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:15:06 Status: Downloaded newer image for alpine:3.17 15:15:06 ---> 9ed4aefc74f6 15:15:06 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:15:06 ---> Running in 4583a401150b 15:15:06 Removing intermediate container 4583a401150b 15:15:06 ---> 925f047534a5 15:15:06 Step 13/23 : RUN apk add --update --no-cache 15:15:06 ---> Running in ea5a2cff1264 15:15:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:15:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:15:07 OK: 7 MiB in 15 packages 15:15:07 Removing intermediate container ea5a2cff1264 15:15:07 ---> 5e2b96e3ab92 15:15:07 Step 14/23 : WORKDIR / 15:15:07 ---> Running in dd0e23a26689 15:15:07 Removing intermediate container dd0e23a26689 15:15:07 ---> 8a6a3e16b853 15:15:07 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:15:07 ---> d3db23ca937c 15:15:07 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:15:08 ---> 8a55a1d713c8 15:15:08 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:15:08 ---> 3916fdfa435c 15:15:08 Step 18/23 : EXPOSE 59999 15:15:08 ---> Running in d521c64d2f23 15:15:08 Removing intermediate container d521c64d2f23 15:15:08 ---> 67e58582aca4 15:15:08 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:15:08 ---> Running in a637aed8c797 15:15:08 Removing intermediate container a637aed8c797 15:15:08 ---> 4ede7b071850 15:15:08 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:15:08 ---> Running in 31e624ca622b 15:15:09 Removing intermediate container 31e624ca622b 15:15:09 ---> 52246954b947 15:15:09 Step 21/23 : LABEL arch=amd64 15:15:09 ---> Running in 63875a397999 15:15:09 Removing intermediate container 63875a397999 15:15:09 ---> 46dcb559c333 15:15:09 Step 22/23 : LABEL git_sha=bf9c3392919180a8df7f2fb5f876c062118bfa6b 15:15:09 ---> Running in 09fabaef8f8b 15:15:09 Removing intermediate container 09fabaef8f8b 15:15:09 ---> a5cf6b361935 15:15:09 Step 23/23 : LABEL version=3.0.0-dev.70 15:15:09 ---> Running in c325d449b40d 15:15:09 Removing intermediate container c325d449b40d 15:15:09 ---> 0988035937f5 15:15:09 [Warning] One or more build-args [ARCH] were not consumed 15:15:09 Successfully built 0988035937f5 15:15:09 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:15:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:15:09 15:15:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:15:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:15:10 latest: Pulling from edgex-lftools-log-publisher 15:15:10 5eb5b503b376: Pulling fs layer 15:15:10 5c69ac0246d0: Pulling fs layer 15:15:10 ec43610c2a17: Pulling fs layer 15:15:10 3a2ae6a8a46f: Pulling fs layer 15:15:10 33b1e0a273af: Pulling fs layer 15:15:10 5d3b04190fa2: Pulling fs layer 15:15:10 2f39f015ded8: Pulling fs layer 15:15:10 3a2ae6a8a46f: Waiting 15:15:10 33b1e0a273af: Waiting 15:15:10 5d3b04190fa2: Waiting 15:15:10 5c69ac0246d0: Verifying Checksum 15:15:10 5c69ac0246d0: Download complete 15:15:10 3a2ae6a8a46f: Verifying Checksum 15:15:10 3a2ae6a8a46f: Download complete 15:15:10 33b1e0a273af: Verifying Checksum 15:15:10 33b1e0a273af: Download complete 15:15:10 ec43610c2a17: Verifying Checksum 15:15:10 ec43610c2a17: Download complete 15:15:10 5d3b04190fa2: Verifying Checksum 15:15:10 5d3b04190fa2: Download complete 15:15:10 5eb5b503b376: Download complete 15:15:11 2f39f015ded8: Download complete 15:15:11 5eb5b503b376: Pull complete 15:15:11 5c69ac0246d0: Pull complete 15:15:12 ec43610c2a17: Pull complete 15:15:12 3a2ae6a8a46f: Pull complete 15:15:12 33b1e0a273af: Pull complete 15:15:12 5d3b04190fa2: Pull complete 15:15:18 2f39f015ded8: Pull complete 15:15:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:15:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:15:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:15:18 prd-ubuntu20.04-docker-8c-8g-8934 does not seem to be running inside a container 15:15:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:15:23 $ docker top 9c38e1acc1cf450bf30fdd2bf4d1e6b67028b636dd45a970fe1e155dd4fc9478 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:15:23 ---> job-cost.sh 15:15:23 lf-activate-venv: SKIPPING 15:15:23 INFO: No Stack... 15:15:23 INFO: Retrieving Pricing Info for: v3-standard-8 15:15:24 INFO: Archiving Costs [Pipeline] sh 15:15:24 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:15:24 + cut -d, -f6 [Pipeline] lock 15:15:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-201-stack-cost] 15:15:24 Resource [jenkins-edgexfoundry-device-sdk-go-main-201-stack-cost] did not exist. Created. 15:15:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-201-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:15:24 + echo total: 0.2199999988079071 [Pipeline] stash 15:15:24 Stashed 1 file(s) [Pipeline] } 15:15:24 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-201-stack-cost] [Pipeline] // lock [Pipeline] } 15:15:24 $ docker stop --time=1 9c38e1acc1cf450bf30fdd2bf4d1e6b67028b636dd45a970fe1e155dd4fc9478 15:15:25 $ docker rm -f --volumes 9c38e1acc1cf450bf30fdd2bf4d1e6b67028b636dd45a970fe1e155dd4fc9478 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:15:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8935 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:15:37 Running in /w/workspace/device-sdk-go/201 [Pipeline] { [Pipeline] checkout 15:15:37 The recommended git tool is: git 15:15:43 using credential edgex-jenkins-ssh 15:15:43 Cloning the remote Git repository 15:15:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:15:43 > git init /w/workspace/device-sdk-go/201 # timeout=10 15:15:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:15:43 > git --version # timeout=10 15:15:43 > git --version # 'git version 2.25.1' 15:15:43 using GIT_SSH to set credentials SSH Credentials for GitHub 15:15:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:15:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:15:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:15:46 Avoid second fetch 15:15:46 Checking out Revision bf9c3392919180a8df7f2fb5f876c062118bfa6b (main) 15:15:46 Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#1423)" 15:15:46 > git config core.sparsecheckout # timeout=10 15:15:46 > git checkout -f bf9c3392919180a8df7f2fb5f876c062118bfa6b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:15:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:15:47 % Total % Received % Xferd Average Speed Time Time Time Current 15:15:47 Dload Upload Total Spent Left Speed 15:15:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 11264 0 0:00:01 0:00:01 --:--:-- 11264 100 12751 100 12751 0 0 11244 0 0:00:01 0:00:01 --:--:-- 11254 [Pipeline] sh 15:15:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:15:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:15:49 + sudo tee /etc/docker/daemon.new 15:15:49 { 15:15:49 "registry-mirrors": [ 15:15:49 "https://nexus3.edgexfoundry.org:10001" 15:15:49 ], 15:15:49 "bip": "10.250.0.254/24", 15:15:49 "hosts": [ 15:15:49 "tcp://0.0.0.0:5555", 15:15:49 "unix:///var/run/docker.sock" 15:15:49 ], 15:15:49 "mtu": 1458, 15:15:49 "selinux-enabled": true, 15:15:49 "seccomp-profile": "/etc/docker/seccomp.json" 15:15:49 } [Pipeline] sh 15:15:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:15:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:16:07 provisioning config files... 15:16:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/201@tmp/config13054909296754084300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:16:07 ---> docker-login.sh 15:16:07 nexus3.edgexfoundry.org:10001 15:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:08 Configure a credential helper to remove this warning. See 15:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:08 15:16:08 Login Succeeded 15:16:08 nexus3.edgexfoundry.org:10002 15:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:08 Configure a credential helper to remove this warning. See 15:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:08 15:16:08 Login Succeeded 15:16:08 nexus3.edgexfoundry.org:10003 15:16:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:09 Configure a credential helper to remove this warning. See 15:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:09 15:16:09 Login Succeeded 15:16:09 nexus3.edgexfoundry.org:10004 15:16:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:09 Configure a credential helper to remove this warning. See 15:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:09 15:16:09 Login Succeeded 15:16:09 docker.io 15:16:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:10 Configure a credential helper to remove this warning. See 15:16:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:10 15:16:10 Login Succeeded 15:16:10 ---> docker-login.sh ends [Pipeline] } 15:16:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:16:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:16:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:16:10 ========================================================= 15:16:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:16:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:10 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 15:16:11 Sending build context to Docker daemon 5.897MB 15:16:11 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:16:11 Step 2/10 : FROM ${BASE} AS builder 15:16:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:16:11 af6eaf76a39c: Pulling fs layer 15:16:11 55522c791124: Pulling fs layer 15:16:11 ce5c4a1c91eb: Pulling fs layer 15:16:11 169dfbe0d373: Pulling fs layer 15:16:11 e1ff8fa3b103: Pulling fs layer 15:16:11 52ebb69f0ebf: Pulling fs layer 15:16:11 5abe8eddf0d5: Pulling fs layer 15:16:11 e1ff8fa3b103: Waiting 15:16:11 52ebb69f0ebf: Waiting 15:16:11 169dfbe0d373: Waiting 15:16:11 5abe8eddf0d5: Waiting 15:16:11 55522c791124: Download complete 15:16:11 169dfbe0d373: Verifying Checksum 15:16:11 169dfbe0d373: Download complete 15:16:11 e1ff8fa3b103: Verifying Checksum 15:16:11 af6eaf76a39c: Verifying Checksum 15:16:11 af6eaf76a39c: Download complete 15:16:11 e1ff8fa3b103: Download complete 15:16:12 af6eaf76a39c: Pull complete 15:16:12 5abe8eddf0d5: Verifying Checksum 15:16:12 5abe8eddf0d5: Download complete 15:16:13 55522c791124: Pull complete 15:16:14 ce5c4a1c91eb: Download complete 15:16:14 52ebb69f0ebf: Verifying Checksum 15:16:14 52ebb69f0ebf: Download complete 15:16:26 ce5c4a1c91eb: Pull complete 15:16:26 169dfbe0d373: Pull complete 15:16:26 e1ff8fa3b103: Pull complete 15:16:31 52ebb69f0ebf: Pull complete 15:16:33 5abe8eddf0d5: Pull complete 15:16:33 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:16:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:16:33 ---> 6cb57ee374ae 15:16:33 Step 3/10 : ARG MAKE=make build 15:16:35 ---> Running in ecd38755879d 15:16:36 Removing intermediate container ecd38755879d 15:16:36 ---> ef61b4869ec9 15:16:36 Step 4/10 : WORKDIR /device-sdk-go 15:16:36 ---> Running in 7dfbfb98a0fd 15:16:36 Removing intermediate container 7dfbfb98a0fd 15:16:36 ---> 6866e57a614d 15:16:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:16:36 ---> Running in 1c7a3a98a679 15:16:36 Removing intermediate container 1c7a3a98a679 15:16:36 ---> 1df9cee6469e 15:16:36 Step 6/10 : RUN apk add --update --no-cache make git 15:16:36 ---> Running in 2d11e68cd734 15:16:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:16:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:16:39 OK: 263 MiB in 53 packages 15:16:41 Removing intermediate container 2d11e68cd734 15:16:41 ---> d8524a4a6f4b 15:16:41 Step 7/10 : COPY go.mod vendor* ./ 15:16:41 ---> 6c916275501d 15:16:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:16:42 ---> Running in 4de9d0fe5175 15:17:49 Removing intermediate container 4de9d0fe5175 15:17:49 ---> 480f6f1fde7a 15:17:49 Step 9/10 : COPY . . 15:17:49 ---> 0e001b563534 15:17:49 Step 10/10 : RUN ${MAKE} 15:17:49 ---> Running in c499f03e77df 15:17:49 noop 15:17:49 Removing intermediate container c499f03e77df 15:17:49 ---> 1b886ae8a3db 15:17:49 Successfully built 1b886ae8a3db 15:17:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:50 + docker inspect -f . ci-base-image-arm64 15:17:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:50 prd-ubuntu20.04-docker-arm64-4c-16g-8935 does not seem to be running inside a container 15:17:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/201 -v /w/workspace/device-sdk-go/201:/w/workspace/device-sdk-go/201:rw,z -v /w/workspace/device-sdk-go/201@tmp:/w/workspace/device-sdk-go/201@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:17:51 $ docker top 3a7733d96bfab855f8f99d197922cdb16b2d64733f45f18351a344e88d2b8869 -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:52 + go version 15:17:52 go version go1.20.2 linux/arm64 [Pipeline] } 15:17:52 $ docker stop --time=1 3a7733d96bfab855f8f99d197922cdb16b2d64733f45f18351a344e88d2b8869 15:17:53 $ docker rm -f --volumes 3a7733d96bfab855f8f99d197922cdb16b2d64733f45f18351a344e88d2b8869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:54 + docker inspect -f . ci-base-image-arm64 15:17:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:54 prd-ubuntu20.04-docker-arm64-4c-16g-8935 does not seem to be running inside a container 15:17:54 $ 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/201 -v /w/workspace/device-sdk-go/201:/w/workspace/device-sdk-go/201:rw,z -v /w/workspace/device-sdk-go/201@tmp:/w/workspace/device-sdk-go/201@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:17:55 $ docker top b5b092ef42a583db19729015a18d2d9e8f1779dac09c9b1bff75a4a74b7d5e16 -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:56 + git config --global --add safe.directory /w/workspace/device-sdk-go/201 [Pipeline] fileExists [Pipeline] sh 15:17:56 + make test 15:17:56 go test -race -coverprofile=coverage.out ./... 15:18:35 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:20:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:20:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:20:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:20:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:20:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:20:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.202s coverage: 27.6% of statements 15:20:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.259s coverage: 80.2% of statements 15:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:20:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.342s coverage: 86.0% of statements 15:20:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:20:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 15:20:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.440s coverage: 77.5% of statements 15:20:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.258s coverage: 14.6% of statements 15:20:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:20:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:20:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.384s coverage: 68.5% of statements 15:20:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.447s coverage: 89.2% of statements 15:20:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:20:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.236s coverage: 5.5% of statements 15:20:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:20:52 GO111MODULE=on go vet ./... 15:23:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:23:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:23:14 ./bin/test-attribution-txt.sh [Pipeline] echo 15:23:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:23:14 $ docker stop --time=1 b5b092ef42a583db19729015a18d2d9e8f1779dac09c9b1bff75a4a74b7d5e16 15:23:15 $ docker rm -f --volumes b5b092ef42a583db19729015a18d2d9e8f1779dac09c9b1bff75a4a74b7d5e16 [Pipeline] // withDockerContainer [Pipeline] sh 15:23:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:23:17 Warning: overwriting stash ‘coverage-report’ 15:23:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:23:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:23:18 + ls -al . 15:23:18 total 268 15:23:18 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 15:17 . 15:23:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:15 .. 15:23:18 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 15:15 .dockerignore 15:23:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 15:15 .git 15:23:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:15 .github 15:23:18 -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 15:15 .gitignore 15:23:18 -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 15:15 .golangci.yml 15:23:18 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 15:15 CHANGELOG.md 15:23:18 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 15:15 GOVERNANCE.md 15:23:18 -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 15:15 Jenkinsfile 15:23:18 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 15:15 LICENSE 15:23:18 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 15:15 Makefile 15:23:18 -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 15:15 OWNERS.md 15:23:18 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 15:15 README.md 15:23:18 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 15:12 VERSION 15:23:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 15:15 bin 15:23:18 -rw-r--r-- 1 jenkins jenkins 106120 Apr 18 15:20 coverage.out 15:23:18 drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 15:15 example 15:23:18 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 15:15 go.mod 15:23:18 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 18 15:15 go.sum 15:23:18 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 15:15 internal 15:23:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 15:15 openapi 15:23:18 drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 15:15 pkg 15:23:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 15:15 snap 15:23:18 -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 15:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:18 + 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=bf9c3392919180a8df7f2fb5f876c062118bfa6b --label arch=arm64 --label version=3.0.0-dev.70 . 15:23:19 Sending build context to Docker daemon 6.004MB 15:23:19 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 15:23:19 Step 2/23 : FROM ${BASE} AS builder 15:23:19 ---> 1b886ae8a3db 15:23:19 Step 3/23 : ARG MAKE=make build 15:23:19 ---> Running in ee8d919c8c24 15:23:19 Removing intermediate container ee8d919c8c24 15:23:19 ---> e065a0578133 15:23:19 Step 4/23 : WORKDIR /device-sdk-go 15:23:19 ---> Running in dc3b047dbace 15:23:20 Removing intermediate container dc3b047dbace 15:23:20 ---> 2ffdd4b27655 15:23:20 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:23:20 ---> Running in bfd5e33dde96 15:23:20 Removing intermediate container bfd5e33dde96 15:23:20 ---> 294fd3d0d837 15:23:20 Step 6/23 : RUN apk add --update --no-cache make git 15:23:20 ---> Running in 3985a4850ea5 15:23:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:23:23 OK: 263 MiB in 53 packages 15:23:23 Removing intermediate container 3985a4850ea5 15:23:23 ---> 94105eebe300 15:23:23 Step 7/23 : COPY go.mod vendor* ./ 15:23:24 ---> dfda6623f947 15:23:24 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:23:24 ---> Running in 992bf72bfb06 15:23:27 Removing intermediate container 992bf72bfb06 15:23:27 ---> d8e7c9b9a2dd 15:23:27 Step 9/23 : COPY . . 15:23:28 ---> fdbb26e4615d 15:23:28 Step 10/23 : RUN ${MAKE} 15:23:28 ---> Running in 89e39ff6731a 15:23:28 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.70" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:25:35 Removing intermediate container 89e39ff6731a 15:25:35 ---> 662c14d2146c 15:25:35 Step 11/23 : FROM alpine:3.17 15:25:35 3.17: Pulling from library/alpine 15:25:35 c41833b44d91: Pulling fs layer 15:25:35 c41833b44d91: Verifying Checksum 15:25:35 c41833b44d91: Download complete 15:25:35 c41833b44d91: Pull complete 15:25:35 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:25:35 Status: Downloaded newer image for alpine:3.17 15:25:35 ---> 51e60588ff2c 15:25:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:25:35 ---> Running in 53d76ebe9495 15:25:35 Removing intermediate container 53d76ebe9495 15:25:35 ---> 912b4f397a56 15:25:35 Step 13/23 : RUN apk add --update --no-cache 15:25:35 ---> Running in 021c5d48e3e3 15:25:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:25:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:25:35 OK: 7 MiB in 15 packages 15:25:36 Removing intermediate container 021c5d48e3e3 15:25:36 ---> 54b4a8746b8d 15:25:36 Step 14/23 : WORKDIR / 15:25:36 ---> Running in 855794866a20 15:25:36 Removing intermediate container 855794866a20 15:25:36 ---> 13b28dbb3062 15:25:36 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:25:37 ---> 6340a9bd3897 15:25:37 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:25:38 ---> 12ca8de34ba1 15:25:38 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:25:39 ---> 42c8a0b6304e 15:25:39 Step 18/23 : EXPOSE 59999 15:25:39 ---> Running in 390dab68ba22 15:25:39 Removing intermediate container 390dab68ba22 15:25:39 ---> a6d2f28adbce 15:25:39 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:25:39 ---> Running in 6f9db461ebe6 15:25:39 Removing intermediate container 6f9db461ebe6 15:25:39 ---> 6018cc130ab8 15:25:39 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:25:39 ---> Running in 58755e54d182 15:25:40 Removing intermediate container 58755e54d182 15:25:40 ---> a15bdb2a25c5 15:25:40 Step 21/23 : LABEL arch=arm64 15:25:40 ---> Running in 338edce38bff 15:25:40 Removing intermediate container 338edce38bff 15:25:40 ---> 6998c760bab9 15:25:40 Step 22/23 : LABEL git_sha=bf9c3392919180a8df7f2fb5f876c062118bfa6b 15:25:40 ---> Running in 409b4621cfcb 15:25:40 Removing intermediate container 409b4621cfcb 15:25:40 ---> 6e9cbd6d4610 15:25:40 Step 23/23 : LABEL version=3.0.0-dev.70 15:25:41 ---> Running in 27741e9554ec 15:25:41 Removing intermediate container 27741e9554ec 15:25:41 ---> 5eee786c9ae4 15:25:41 [Warning] One or more build-args [ARCH] were not consumed 15:25:41 Successfully built 5eee786c9ae4 15:25:41 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:25:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:25:41 15:25:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:25:42 arm64: Pulling from edgex-lftools-log-publisher 15:25:42 8998bd30e6a1: Pulling fs layer 15:25:42 04944245beec: Pulling fs layer 15:25:42 699f458cf7ca: Pulling fs layer 15:25:42 765212b225bb: Pulling fs layer 15:25:42 f23df028b6ca: Pulling fs layer 15:25:42 d65c8cfc05b1: Pulling fs layer 15:25:42 2437ff75d9bd: Pulling fs layer 15:25:42 765212b225bb: Waiting 15:25:42 f23df028b6ca: Waiting 15:25:42 2437ff75d9bd: Waiting 15:25:42 d65c8cfc05b1: Waiting 15:25:42 04944245beec: Verifying Checksum 15:25:42 04944245beec: Download complete 15:25:42 765212b225bb: Verifying Checksum 15:25:42 765212b225bb: Download complete 15:25:42 f23df028b6ca: Verifying Checksum 15:25:42 f23df028b6ca: Download complete 15:25:42 d65c8cfc05b1: Verifying Checksum 15:25:42 d65c8cfc05b1: Download complete 15:25:42 699f458cf7ca: Download complete 15:25:42 8998bd30e6a1: Verifying Checksum 15:25:42 8998bd30e6a1: Download complete 15:25:44 2437ff75d9bd: Verifying Checksum 15:25:44 2437ff75d9bd: Download complete 15:25:46 8998bd30e6a1: Pull complete 15:25:47 04944245beec: Pull complete 15:25:49 699f458cf7ca: Pull complete 15:25:49 765212b225bb: Pull complete 15:25:50 f23df028b6ca: Pull complete 15:25:50 d65c8cfc05b1: Pull complete 15:26:05 2437ff75d9bd: Pull complete 15:26:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:26:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:05 prd-ubuntu20.04-docker-arm64-4c-16g-8935 does not seem to be running inside a container 15:26:05 $ 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/201 -v /w/workspace/device-sdk-go/201:/w/workspace/device-sdk-go/201:rw,z -v /w/workspace/device-sdk-go/201@tmp:/w/workspace/device-sdk-go/201@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:26:08 $ docker top b8e99abdf3d6188c8e649d62209e5e81eaf93aa5689354da598aa7133dcff696 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:09 ---> job-cost.sh 15:26:09 lf-activate-venv: SKIPPING 15:26:09 INFO: No Stack... 15:26:09 INFO: Retrieving Pricing Info for: v3-standard-4 15:26:10 INFO: Archiving Costs [Pipeline] sh 15:26:10 + cut -d, -f6 15:26:10 + cat /w/workspace/device-sdk-go/201/archives/cost.csv [Pipeline] lock 15:26:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-201-stack-cost] 15:26:10 Resource [jenkins-edgexfoundry-device-sdk-go-main-201-stack-cost] did not exist. Created. 15:26:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-201-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:26:11 /w/workspace/device-sdk-go/201@tmp/durable-958be98c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:26:12 + echo total: 0.10999999940395355 [Pipeline] stash 15:26:12 Warning: overwriting stash ‘stack-cost’ 15:26:12 Stashed 1 file(s) [Pipeline] } 15:26:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-201-stack-cost] [Pipeline] // lock [Pipeline] } 15:26:12 $ docker stop --time=1 b8e99abdf3d6188c8e649d62209e5e81eaf93aa5689354da598aa7133dcff696 15:26:13 $ docker rm -f --volumes b8e99abdf3d6188c8e649d62209e5e81eaf93aa5689354da598aa7133dcff696 [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:26:14 provisioning config files... 15:26:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8788805970220697895tmp [Pipeline] { [Pipeline] sh 15:26:14 + set +x 15:26:14 + curl -s https://codecov.io/bash 15:26:14 + bash -s -- 15:26:14 15:26:14 _____ _ 15:26:14 / ____| | | 15:26:14 | | ___ __| | ___ ___ _____ __ 15:26:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:26:14 | |___| (_) | (_| | __/ (_| (_) \ V / 15:26:14 \_____\___/ \__,_|\___|\___\___/ \_/ 15:26:14 Bash-1.0.6 15:26:14 15:26:14 15:26:14 ==> git version 2.25.1 found 15:26:14 ==> 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:26:14 Release-Date: 2020-01-08 15:26:14 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:26:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:26:14 ==> Jenkins CI detected. 15:26:14 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:26:14 project root: . 15:26:14 --> token set from env 15:26:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:26:14 ==> Running gcov in . (disable via -X gcov) 15:26:14 ==> Python coveragepy not found 15:26:14 ==> Searching for coverage reports in: 15:26:14 + . 15:26:14 -> Found 1 reports 15:26:14 ==> Detecting git/mercurial file structure 15:26:14 ==> Reading reports 15:26:14 + ./coverage.out bytes=106120 15:26:14 ==> Appending adjustments 15:26:14 https://docs.codecov.io/docs/fixing-reports 15:26:14 + Found adjustments 15:26:14 ==> Gzipping contents 15:26:14 16K /tmp/codecov.ovzQ0D.gz 15:26:14 ==> Uploading reports 15:26:14 url: https://codecov.io 15:26:14 query: branch=main&commit=bf9c3392919180a8df7f2fb5f876c062118bfa6b&build=201&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F201%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:26:14 -> Pinging Codecov 15:26:14 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=bf9c3392919180a8df7f2fb5f876c062118bfa6b&build=201&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F201%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:26:14 -> Uploading to 15:26:14 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/7E55EF52A471D76F132DFD9A03CDDE97/bf9c3392919180a8df7f2fb5f876c062118bfa6b/64605db3-f094-427a-baea-c4768846b819.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T152614Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4d5f2b1a84c6dcf516fc8b063998f02fc1ecae42cc7b2d2c4d03692999215d60 15:26:14 % Total % Received % Xferd Average Speed Time Time Time Current 15:26:14 Dload Upload Total Spent Left Speed 15:26:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15001 0 0 100 15001 0 60487 --:--:-- --:--:-- --:--:-- 60487 15:26:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bf9c3392919180a8df7f2fb5f876c062118bfa6b [Pipeline] } 15:26:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:26:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:26:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:26:15 15:26:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:26:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:26:16 df9b9388f04a: Pulling fs layer 15:26:16 52dc419b0ee2: Pulling fs layer 15:26:16 25bc292e5bac: Pulling fs layer 15:26:16 114826534d7a: Pulling fs layer 15:26:16 4657fd5d0bcf: Pulling fs layer 15:26:16 6ad1cebc031e: Pulling fs layer 15:26:16 8a3aa393b2d8: Pulling fs layer 15:26:16 114826534d7a: Waiting 15:26:16 6ad1cebc031e: Waiting 15:26:16 4657fd5d0bcf: Waiting 15:26:16 8a3aa393b2d8: Waiting 15:26:16 25bc292e5bac: Download complete 15:26:16 52dc419b0ee2: Download complete 15:26:16 4657fd5d0bcf: Verifying Checksum 15:26:16 4657fd5d0bcf: Download complete 15:26:16 df9b9388f04a: Download complete 15:26:16 6ad1cebc031e: Verifying Checksum 15:26:16 6ad1cebc031e: Download complete 15:26:16 df9b9388f04a: Pull complete 15:26:16 52dc419b0ee2: Pull complete 15:26:16 25bc292e5bac: Pull complete 15:26:16 114826534d7a: Verifying Checksum 15:26:16 114826534d7a: Download complete 15:26:16 8a3aa393b2d8: Verifying Checksum 15:26:16 8a3aa393b2d8: Download complete 15:26:20 114826534d7a: Pull complete 15:26:20 4657fd5d0bcf: Pull complete 15:26:20 6ad1cebc031e: Pull complete 15:26:22 8a3aa393b2d8: Pull complete 15:26:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:26:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:26:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:23 prd-ubuntu20.04-docker-8c-8g-8934 does not seem to be running inside a container 15:26:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:26:25 $ docker top 9caf58d84c00cffc9eb79f407d1aeccb073476344b170250972d105491047349 -eo pid,comm [Pipeline] { [Pipeline] echo 15:26:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 15:26:26 + set -o pipefail 15:26:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 15:26:31 15:26:31 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 15:26:31 15:26:31 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/ed021b7b-4bb4-4543-941e-d63d34444f7a 15:26:31 15:26:31 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:26:31 15:26:31 15:26:31 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:26:31 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:26:31 More details here: https://snyk.co/ue1NS [Pipeline] } 15:26:31 $ docker stop --time=1 9caf58d84c00cffc9eb79f407d1aeccb073476344b170250972d105491047349 15:26:33 $ docker rm -f --volumes 9caf58d84c00cffc9eb79f407d1aeccb073476344b170250972d105491047349 [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:26:34 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:26:34 provisioning config files... 15:26:34 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5376689746131510116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:34 --> edgex-publish-swagger.sh 15:26:34 === Publish openapi/v3 API === 15:26:34 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 15:26:34 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 15:26:34 % Total % Received % Xferd Average Speed Time Time Time Current 15:26:34 Dload Upload Total Spent Left Speed 15:26:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 100k --:--:-- --:--:-- --:--:-- 99k 100 23674 0 0 100 23674 0 36309 --:--:-- --:--:-- --:--:-- 36254 15:26:35 15:26:35 [Pipeline] } 15:26: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:26:35 + git log --format=format:%s -1 bf9c3392919180a8df7f2fb5f876c062118bfa6b [Pipeline] sh 15:26:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:26:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:36 prd-ubuntu20.04-docker-8c-8g-8934 does not seem to be running inside a container 15:26: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:26:36 $ docker top 5914a030a04c14bccab85446f54150b389010f629579962812c9f4ae0fe1357a -eo pid,comm 15:26: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:26:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:26:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:36 [ssh-agent] Looking for ssh-agent implementation... 15:26:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:36 $ docker exec 5914a030a04c14bccab85446f54150b389010f629579962812c9f4ae0fe1357a ssh-agent 15:26:36 SSH_AUTH_SOCK=/tmp/ssh-knDXr5EHwCUt/agent.33 15:26:36 SSH_AGENT_PID=39 15:26:36 Running ssh-add (command line suppressed) 15:26:37 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8176856329595122180.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8176856329595122180.key) 15:26:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:37 + git semver tag 15:26:37 2023-04-18 15:26:37,516 [run_tag] DEBUG tag force:False 15:26:37 2023-04-18 15:26:37,516 [check_head_tag] DEBUG check head tag 15:26:37 2023-04-18 15:26:37,518 [execute] INFO git cat-file --batch-check 15:26:37 2023-04-18 15:26:37,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:26:37 2023-04-18 15:26:37,521 [execute] INFO git cat-file --batch 15:26:37 2023-04-18 15:26:37,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:26:37 2023-04-18 15:26:37,559 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:26:37 2023-04-18 15:26:37,559 [execute] INFO git tag -a v3.0.0-dev.70 -m v3.0.0-dev.70 15:26:37 2023-04-18 15:26:37,559 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.70', '-m', 'v3.0.0-dev.70'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:26:37 2023-04-18 15:26:37,563 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:26:37 3.0.0-dev.70 [Pipeline] } 15:26:37 $ docker exec --env ******** --env ******** 5914a030a04c14bccab85446f54150b389010f629579962812c9f4ae0fe1357a ssh-agent -k 15:26:37 unset SSH_AUTH_SOCK; 15:26:37 unset SSH_AGENT_PID; 15:26:37 echo Agent pid 39 killed; 15:26:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:26:37 + git semver [Pipeline] } 15:26:38 $ docker stop --time=1 5914a030a04c14bccab85446f54150b389010f629579962812c9f4ae0fe1357a 15:26:39 $ docker rm -f --volumes 5914a030a04c14bccab85446f54150b389010f629579962812c9f4ae0fe1357a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:26:39 15:26:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:26:40 0.23.1-centos7: Pulling from edgex-lftools 15:26:40 ab5ef0e58194: Pulling fs layer 15:26:40 9712f1f96733: Pulling fs layer 15:26:40 63f879dbbcfc: Pulling fs layer 15:26:40 0d9ebad4ef96: Pulling fs layer 15:26:40 e9a5061849ea: Pulling fs layer 15:26:40 d747dcd14b5f: Pulling fs layer 15:26:40 2de7ff778b66: Pulling fs layer 15:26:40 0d9ebad4ef96: Waiting 15:26:40 e9a5061849ea: Waiting 15:26:40 2de7ff778b66: Waiting 15:26:40 d747dcd14b5f: Waiting 15:26:40 9712f1f96733: Verifying Checksum 15:26:40 9712f1f96733: Download complete 15:26:40 63f879dbbcfc: Verifying Checksum 15:26:40 63f879dbbcfc: Download complete 15:26:40 e9a5061849ea: Verifying Checksum 15:26:40 e9a5061849ea: Download complete 15:26:40 d747dcd14b5f: Download complete 15:26:40 ab5ef0e58194: Verifying Checksum 15:26:40 ab5ef0e58194: Download complete 15:26:40 0d9ebad4ef96: Download complete 15:26:40 2de7ff778b66: Verifying Checksum 15:26:40 2de7ff778b66: Download complete 15:26:43 ab5ef0e58194: Pull complete 15:26:43 9712f1f96733: Pull complete 15:26:43 63f879dbbcfc: Pull complete 15:26:47 0d9ebad4ef96: Pull complete 15:26:47 e9a5061849ea: Pull complete 15:26:47 d747dcd14b5f: Pull complete 15:26:48 2de7ff778b66: Pull complete 15:26:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:26:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:26:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:48 prd-ubuntu20.04-docker-8c-8g-8934 does not seem to be running inside a container 15:26: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:26:51 $ docker top 420b4f52c485c63f46e4668bae6e58e3be4cc4fd38ce9d90cdd59f6c7ee538f2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:26:51 provisioning config files... 15:26:51 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12665457733305606297tmp 15:26:51 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5822413070150400301tmp 15:26:51 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16674017487569138005tmp [Pipeline] { [Pipeline] echo 15:26:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:26:51 ---> sigul-configuration.sh 15:26:51 gpg: directory `/root/.gnupg' created 15:26:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:26:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:26:51 gpg: keyring `/root/.gnupg/secring.gpg' created 15:26:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:26:51 gpg: CAST5 encrypted data 15:26:51 gpg: encrypted with 1 passphrase 15:26:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:26:51 + mkdir /home/jenkins 15:26:51 + mkdir /home/jenkins/sigul [Pipeline] sh 15:26:52 + 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:26:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:26:52 ---> sigul-install.sh 15:26:52 Sigul already installed; skipping installation. [Pipeline] sh 15:26:52 + git tag --list 15:26:52 0.7.1 15:26:52 delhi-tag 15:26:52 v1.0.0 15:26:52 v1.1.0 15:26:52 v1.1.1 15:26:52 v1.1.2 15:26:52 v1.2.0 15:26:52 v1.2.1 15:26:52 v1.2.2 15:26:52 v1.2.3 15:26:52 v1.3.0 15:26:52 v1.4.0 15:26:52 v2.0.0 15:26:52 v2.1.0 15:26:52 v2.1.1 15:26:52 v2.1.1-dev.2 15:26:52 v2.1.1-dev.3 15:26:52 v2.2.0 15:26:52 v2.2.1-dev.1 15:26:52 v2.2.1-dev.10 15:26:52 v2.2.1-dev.11 15:26:52 v2.2.1-dev.12 15:26:52 v2.2.1-dev.13 15:26:52 v2.2.1-dev.14 15:26:52 v2.2.1-dev.2 15:26:52 v2.2.1-dev.3 15:26:52 v2.2.1-dev.4 15:26:52 v2.2.1-dev.5 15:26:52 v2.2.1-dev.6 15:26:52 v2.2.1-dev.7 15:26:52 v2.2.1-dev.8 15:26:52 v2.2.1-dev.9 15:26:52 v2.3.0 15:26:52 v2.3.0-dev.14 15:26:52 v2.3.0-dev.15 15:26:52 v2.3.0-dev.16 15:26:52 v2.3.0-dev.17 15:26:52 v2.3.0-dev.18 15:26:52 v2.3.0-dev.19 15:26:52 v2.3.0-dev.20 15:26:52 v2.3.0-dev.21 15:26:52 v2.3.0-dev.22 15:26:52 v2.3.0-dev.23 15:26:52 v2.3.0-dev.24 15:26:52 v2.3.0-dev.25 15:26:52 v2.3.0-dev.26 15:26:52 v2.3.0-dev.27 15:26:52 v2.3.0-dev.28 15:26:52 v2.3.0-dev.29 15:26:52 v2.3.0-dev.30 15:26:52 v2.3.0-dev.31 15:26:52 v2.3.0-dev.32 15:26:52 v2.3.0-dev.33 15:26:52 v2.3.0-dev.34 15:26:52 v2.3.0-dev.35 15:26:52 v2.3.0-dev.36 15:26:52 v2.3.0-dev.37 15:26:52 v2.3.0-dev.38 15:26:52 v2.3.0-dev.39 15:26:52 v2.3.0-dev.40 15:26:52 v2.3.0-dev.41 15:26:52 v2.3.0-dev.42 15:26:52 v2.3.0-dev.43 15:26:52 v2.3.0-dev.44 15:26:52 v2.3.0-dev.45 15:26:52 v2.3.0-dev.46 15:26:52 v2.3.0-dev.47 15:26:52 v2.3.0-dev.48 15:26:52 v2.3.0-dev.49 15:26:52 v2.3.0-dev.50 15:26:52 v2.3.0-dev.51 15:26:52 v2.3.1 15:26:52 v2.3.1-dev.1 15:26:52 v2.3.1-dev.2 15:26:52 v2.3.1-dev.3 15:26:52 v2.3.1-dev.4 15:26:52 v3.0.0-dev.1 15:26:52 v3.0.0-dev.10 15:26:52 v3.0.0-dev.11 15:26:52 v3.0.0-dev.12 15:26:52 v3.0.0-dev.13 15:26:52 v3.0.0-dev.14 15:26:52 v3.0.0-dev.15 15:26:52 v3.0.0-dev.16 15:26:52 v3.0.0-dev.17 15:26:52 v3.0.0-dev.18 15:26:52 v3.0.0-dev.19 15:26:52 v3.0.0-dev.2 15:26:52 v3.0.0-dev.20 15:26:52 v3.0.0-dev.21 15:26:52 v3.0.0-dev.22 15:26:52 v3.0.0-dev.23 15:26:52 v3.0.0-dev.24 15:26:52 v3.0.0-dev.25 15:26:52 v3.0.0-dev.26 15:26:52 v3.0.0-dev.27 15:26:52 v3.0.0-dev.28 15:26:52 v3.0.0-dev.29 15:26:52 v3.0.0-dev.3 15:26:52 v3.0.0-dev.30 15:26:52 v3.0.0-dev.31 15:26:52 v3.0.0-dev.32 15:26:52 v3.0.0-dev.33 15:26:52 v3.0.0-dev.34 15:26:52 v3.0.0-dev.35 15:26:52 v3.0.0-dev.36 15:26:52 v3.0.0-dev.37 15:26:52 v3.0.0-dev.38 15:26:52 v3.0.0-dev.39 15:26:52 v3.0.0-dev.4 15:26:52 v3.0.0-dev.40 15:26:52 v3.0.0-dev.41 15:26:52 v3.0.0-dev.42 15:26:52 v3.0.0-dev.43 15:26:52 v3.0.0-dev.44 15:26:52 v3.0.0-dev.45 15:26:52 v3.0.0-dev.46 15:26:52 v3.0.0-dev.47 15:26:52 v3.0.0-dev.48 15:26:52 v3.0.0-dev.49 15:26:52 v3.0.0-dev.5 15:26:52 v3.0.0-dev.50 15:26:52 v3.0.0-dev.51 15:26:52 v3.0.0-dev.52 15:26:52 v3.0.0-dev.53 15:26:52 v3.0.0-dev.54 15:26:52 v3.0.0-dev.55 15:26:52 v3.0.0-dev.56 15:26:52 v3.0.0-dev.57 15:26:52 v3.0.0-dev.58 15:26:52 v3.0.0-dev.59 15:26:52 v3.0.0-dev.6 15:26:52 v3.0.0-dev.60 15:26:52 v3.0.0-dev.61 15:26:52 v3.0.0-dev.62 15:26:52 v3.0.0-dev.63 15:26:52 v3.0.0-dev.64 15:26:52 v3.0.0-dev.65 15:26:52 v3.0.0-dev.66 15:26:52 v3.0.0-dev.67 15:26:52 v3.0.0-dev.68 15:26:52 v3.0.0-dev.69 15:26:52 v3.0.0-dev.7 15:26:52 v3.0.0-dev.70 15:26:52 v3.0.0-dev.8 15:26:52 v3.0.0-dev.9 [Pipeline] sh 15:26:53 + lftools sign git-tag v3.0.0-dev.70 15:26:53 Signing Git tag with Sigul... 15:26:53 Signing v3.0.0-dev.70 [Pipeline] echo 15:26:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:26:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:26:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:26:54 $ docker stop --time=1 420b4f52c485c63f46e4668bae6e58e3be4cc4fd38ce9d90cdd59f6c7ee538f2 15:26:55 $ docker rm -f --volumes 420b4f52c485c63f46e4668bae6e58e3be4cc4fd38ce9d90cdd59f6c7ee538f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:26:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:26:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:26:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:56 prd-ubuntu20.04-docker-8c-8g-8934 does not seem to be running inside a container 15:26:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:26:56 $ docker top 4348039a221a675aa08705e7dad6c8fc3f018475610cf571f8c11a564d3be7ad -eo pid,comm 15:26:56 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:26:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:26:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:26:56 [ssh-agent] Looking for ssh-agent implementation... 15:26:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:26:56 $ docker exec 4348039a221a675aa08705e7dad6c8fc3f018475610cf571f8c11a564d3be7ad ssh-agent 15:26:56 SSH_AUTH_SOCK=/tmp/ssh-tFp2cgo5fm5J/agent.32 15:26:56 SSH_AGENT_PID=38 15:26:56 Running ssh-add (command line suppressed) 15:26:57 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5865396957911955576.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5865396957911955576.key) 15:26:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:26:57 + git semver bump pre 15:26:57 2023-04-18 15:26:57,559 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:26:57 2023-04-18 15:26:57,559 [bump_version] DEBUG bumping version:3.0.0-dev.70 on axis:pre with prefix:dev 15:26:57 2023-04-18 15:26:57,559 [bump_version] DEBUG bumped version:3.0.0-dev.71 15:26:57 2023-04-18 15:26:57,559 [write_version] DEBUG write version:3.0.0-dev.71 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 15:26:57 2023-04-18 15:26:57,559 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:26:57 2023-04-18 15:26:57,560 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:26:57 2023-04-18 15:26:57,561 [execute] INFO git cat-file --batch-check 15:26:57 2023-04-18 15:26:57,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:26:57 2023-04-18 15:26:57,565 [execute] INFO git cat-file --batch 15:26:57 2023-04-18 15:26:57,566 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:26:57 2023-04-18 15:26:57,570 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:26:57 3.0.0-dev.71 [Pipeline] } 15:26:57 $ docker exec --env ******** --env ******** 4348039a221a675aa08705e7dad6c8fc3f018475610cf571f8c11a564d3be7ad ssh-agent -k 15:26:57 unset SSH_AUTH_SOCK; 15:26:57 unset SSH_AGENT_PID; 15:26:57 echo Agent pid 38 killed; 15:26:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:26:58 + git semver [Pipeline] } 15:26:58 $ docker stop --time=1 4348039a221a675aa08705e7dad6c8fc3f018475610cf571f8c11a564d3be7ad 15:26:59 $ docker rm -f --volumes 4348039a221a675aa08705e7dad6c8fc3f018475610cf571f8c11a564d3be7ad [Pipeline] // withDockerContainer [Pipeline] sh 15:26:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:26:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:27:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:00 prd-ubuntu20.04-docker-8c-8g-8934 does not seem to be running inside a container 15:27:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:27:00 $ docker top 32cfd5ac540facb91fd98b7e3eab9ac09f28738593d75659fe5c04e294e9608e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:27:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:27:00 [ssh-agent] Looking for ssh-agent implementation... 15:27:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:27:00 $ docker exec 32cfd5ac540facb91fd98b7e3eab9ac09f28738593d75659fe5c04e294e9608e ssh-agent 15:27:00 SSH_AUTH_SOCK=/tmp/ssh-g9I0Ugr6zYCo/agent.33 15:27:00 SSH_AGENT_PID=39 15:27:01 Running ssh-add (command line suppressed) 15:27:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4923428486986285593.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4923428486986285593.key) 15:27:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:27:01 + git semver push 15:27:01 2023-04-18 15:27:01,580 [run_push] DEBUG push 15:27:01 2023-04-18 15:27:01,581 [execute] INFO git cat-file --batch-check 15:27:01 2023-04-18 15:27:01,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:27:01 2023-04-18 15:27:01,586 [execute] INFO git rev-list 2658ff5ef903059d5aa82d8378ebdde1670530cf -- 15:27:01 2023-04-18 15:27:01,586 [execute] DEBUG Popen(['git', 'rev-list', '2658ff5ef903059d5aa82d8378ebdde1670530cf', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:27:01 2023-04-18 15:27:01,599 [execute] INFO git fetch -v origin 15:27:01 2023-04-18 15:27:01,599 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:27:02 2023-04-18 15:27:02,103 [run_push] DEBUG no remote changes detected 15:27:02 2023-04-18 15:27:02,103 [execute] INFO git push origin semver 15:27:02 2023-04-18 15:27:02,103 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:27:03 2023-04-18 15:27:02,996 [run_push] DEBUG push all version tags 15:27:03 2023-04-18 15:27:02,996 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:27:03 2023-04-18 15:27:02,997 [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:27:04 2023-04-18 15:27:03,872 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:27:04 3.0.0-dev.71 [Pipeline] } 15:27:04 $ docker exec --env ******** --env ******** 32cfd5ac540facb91fd98b7e3eab9ac09f28738593d75659fe5c04e294e9608e ssh-agent -k 15:27:04 unset SSH_AUTH_SOCK; 15:27:04 unset SSH_AGENT_PID; 15:27:04 echo Agent pid 39 killed; 15:27:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:27:04 + git semver [Pipeline] } 15:27:04 $ docker stop --time=1 32cfd5ac540facb91fd98b7e3eab9ac09f28738593d75659fe5c04e294e9608e 15:27:06 $ docker rm -f --volumes 32cfd5ac540facb91fd98b7e3eab9ac09f28738593d75659fe5c04e294e9608e [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:27:06 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 15:27:06 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:27:06 total 16 15:27:06 drwxr-xr-x 3 root root 4096 Apr 18 15:15 . 15:27:06 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 15:26 .. 15:27:06 drwxr-xr-x 2 root root 4096 Apr 18 15:15 cost 15:27:06 -rw-r--r-- 1 root root 85 Apr 18 15:15 cost.csv 15:27:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:27:06 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:27:06 total 16 15:27:06 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 15:15 . 15:27:06 drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 15:26 .. 15:27:06 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 15:15 cost 15:27:06 -rw-r--r-- 1 jenkins jenkins 85 Apr 18 15:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:27:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:27:07 ---> package-listing.sh 15:27:07 ++ facter osfamily 15:27:07 ++ tr '[:upper:]' '[:lower:]' 15:27:08 + OS_FAMILY=debian 15:27:08 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:27:08 + START_PACKAGES=/tmp/packages_start.txt 15:27:08 + END_PACKAGES=/tmp/packages_end.txt 15:27:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:27:08 + PACKAGES=/tmp/packages_start.txt 15:27:08 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:27:08 + PACKAGES=/tmp/packages_end.txt 15:27:08 + case "${OS_FAMILY}" in 15:27:08 + dpkg -l 15:27:08 + grep '^ii' 15:27:08 + '[' -f /tmp/packages_start.txt ']' 15:27:08 + '[' -f /tmp/packages_end.txt ']' 15:27:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:27:08 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:27:08 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:27:08 + 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:27:08 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:27:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:09 prd-ubuntu20.04-docker-8c-8g-8934 does not seem to be running inside a container 15:27:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:27:09 $ docker top 27cdfeb3efe57ee26dec2d38eb808a301b7766e60854c688b0b6d42a01d4e242 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:09 + touch /tmp/pre-build-complete [Pipeline] sh 15:27:09 + mkdir -p /var/log/sysstat [Pipeline] sh 15:27:10 + ls /var/log/sa-host 15:27:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:10 provisioning config files... 15:27:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17931787053627797561tmp [Pipeline] { [Pipeline] echo 15:27:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:27:10 ---> create-netrc.sh [Pipeline] } 15:27:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:27:11 ---> python-tools-install.sh [Pipeline] echo 15:27:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:27:11 ---> sudo-logs.sh 15:27:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:27:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:27:11 ---> job-cost.sh 15:27:11 lf-activate-venv: SKIPPING 15:27:11 DEBUG: total: 0.2199999988079071 15:27:11 INFO: Retrieving Stack Cost... 15:27:12 INFO: Retrieving Pricing Info for: v3-standard-8 15:27:12 INFO: Archiving Costs [Pipeline] echo 15:27:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:27:12 ---> logs-deploy.sh 15:27:12 lf-activate-venv: SKIPPING 15:27:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/201 15:27:12 INFO: archiving workspace using pattern(s): 15:27:13 Archives upload complete. 15:27:13 INFO: archiving logs to Nexus