Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 775e2b56bedf8d4ad3f90164e245819fbdab1870 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-ssh15507285624244871443.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5835388385522775284.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3615452980230941281.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6912132388213522823.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-ssh3656511403632997363.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.18 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 Running on prd-ubuntu20.04-docker-8c-8g-4377 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 775e2b56bedf8d4ad3f90164e245819fbdab1870 (main) Commit message: "Merge pull request #1301 from hahattan/issue-1296" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 775e2b56bedf8d4ad3f90164e245819fbdab1870 # timeout=10 > git rev-list --no-walk 55d1b05cd8aabd58ac53816e3ab6aa82b0be36d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:19:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:19:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:19:56 ========================================================= 16:19:56 EdgeX Global Pipelines Version Info 16:19:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:19:57 ------------------- 16:19:57 stable info: 16:19:57 ------------------- 16:19:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:19:57 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:19:57 Message: update stable to v1.0.244 16:19:58 ------------------- 16:19:58 experimental info: 16:19:58 ------------------- 16:19:58 Commited By: **** collab-it+edgex@linuxfoundation.org 16:19:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:19:58 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 775e2b56bedf8d4ad3f90164e245819fbdab1870 [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 775e2b5 [Pipeline] echo 16:19:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:58 provisioning config files... 16:19:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15935157584435762721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:58 ---> docker-login.sh 16:19:58 nexus3.edgexfoundry.org:10001 16:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:59 Configure a credential helper to remove this warning. See 16:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:59 16:19:59 Login Succeeded 16:19:59 nexus3.edgexfoundry.org:10002 16:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:59 Configure a credential helper to remove this warning. See 16:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:59 16:19:59 Login Succeeded 16:19:59 nexus3.edgexfoundry.org:10003 16:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:59 Configure a credential helper to remove this warning. See 16:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:59 16:19:59 Login Succeeded 16:19:59 nexus3.edgexfoundry.org:10004 16:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:59 Configure a credential helper to remove this warning. See 16:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:59 16:19:59 Login Succeeded 16:19:59 docker.io 16:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:00 Configure a credential helper to remove this warning. See 16:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:00 16:20:00 Login Succeeded 16:20:00 ---> docker-login.sh ends [Pipeline] } 16:20:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:20:00 + git rev-list -1 --merges 775e2b56bedf8d4ad3f90164e245819fbdab1870~1..775e2b56bedf8d4ad3f90164e245819fbdab1870 [Pipeline] echo 16:20:00 -----------> git rev-list -1 --merges 775e2b56bedf8d4ad3f90164e245819fbdab1870~1..775e2b56bedf8d4ad3f90164e245819fbdab1870 775e2b56bedf8d4ad3f90164e245819fbdab1870 16:20:00 775e2b56bedf8d4ad3f90164e245819fbdab1870 [false] [Pipeline] sh 16:20:00 + git log --format=format:%s -1 775e2b56bedf8d4ad3f90164e245819fbdab1870 [Pipeline] echo 16:20:00 ========================================================= 16:20:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:20:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:01 + git log --format=format:%s -1 775e2b56bedf8d4ad3f90164e245819fbdab1870 [Pipeline] echo 16:20:01 [semverPrep] GIT_COMMIT: 775e2b56bedf8d4ad3f90164e245819fbdab1870, Commit Message: Merge pull request #1301 from hahattan/issue-1296 [Pipeline] echo 16:20:01 [semverPrep] This is not a build commit. [Pipeline] sh 16:20:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:20:01 + grep -v github /etc/ssh/ssh_known_hosts 16:20:01 + [ -e /tmp/ssh_known_hosts ] 16:20:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:20:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:20:01 + sudo tee -a /etc/ssh/ssh_known_hosts 16:20:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:01 16:20:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:02 0.1.4: Pulling from edgex-devops/py-git-semver 16:20:02 b85a868b505f: Pulling fs layer 16:20:02 e2be974225ed: Pulling fs layer 16:20:02 339a4e72a1f5: Pulling fs layer 16:20:02 988bab9f4d93: Pulling fs layer 16:20:02 1469e6f7b9e6: Pulling fs layer 16:20:02 eaf3925da568: Pulling fs layer 16:20:02 bab4dde63d76: Pulling fs layer 16:20:02 bde34c3a00c8: Pulling fs layer 16:20:02 b352a97aabf1: Pulling fs layer 16:20:02 4872d77fe225: Pulling fs layer 16:20:02 5851b861e8e6: Pulling fs layer 16:20:02 988bab9f4d93: Waiting 16:20:02 1469e6f7b9e6: Waiting 16:20:02 4872d77fe225: Waiting 16:20:02 bde34c3a00c8: Waiting 16:20:02 5851b861e8e6: Waiting 16:20:02 eaf3925da568: Waiting 16:20:02 b352a97aabf1: Waiting 16:20:02 bab4dde63d76: Waiting 16:20:02 e2be974225ed: Verifying Checksum 16:20:02 e2be974225ed: Download complete 16:20:02 988bab9f4d93: Verifying Checksum 16:20:02 988bab9f4d93: Download complete 16:20:02 1469e6f7b9e6: Verifying Checksum 16:20:02 1469e6f7b9e6: Download complete 16:20:02 339a4e72a1f5: Verifying Checksum 16:20:02 339a4e72a1f5: Download complete 16:20:02 eaf3925da568: Verifying Checksum 16:20:02 eaf3925da568: Download complete 16:20:02 bde34c3a00c8: Verifying Checksum 16:20:02 bde34c3a00c8: Download complete 16:20:02 b352a97aabf1: Verifying Checksum 16:20:02 b352a97aabf1: Download complete 16:20:02 4872d77fe225: Download complete 16:20:02 5851b861e8e6: Download complete 16:20:02 b85a868b505f: Verifying Checksum 16:20:02 b85a868b505f: Download complete 16:20:03 bab4dde63d76: Verifying Checksum 16:20:03 bab4dde63d76: Download complete 16:20:04 b85a868b505f: Pull complete 16:20:04 e2be974225ed: Pull complete 16:20:04 339a4e72a1f5: Pull complete 16:20:04 988bab9f4d93: Pull complete 16:20:05 1469e6f7b9e6: Pull complete 16:20:05 eaf3925da568: Pull complete 16:20:06 bab4dde63d76: Pull complete 16:20:06 bde34c3a00c8: Pull complete 16:20:06 b352a97aabf1: Pull complete 16:20:07 4872d77fe225: Pull complete 16:20:07 5851b861e8e6: Pull complete 16:20:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:20:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:20:07 prd-ubuntu20.04-docker-8c-8g-4377 does not seem to be running inside a container 16:20:07 $ 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 16:20:08 $ docker top f28c2997596b9b0bfbcce4f0d1ef8fd221f95b105f620862591402f38d7ad110 -eo pid,comm 16:20:08 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). 16:20:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:20:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:20:08 [ssh-agent] Looking for ssh-agent implementation... 16:20:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:20:08 $ docker exec f28c2997596b9b0bfbcce4f0d1ef8fd221f95b105f620862591402f38d7ad110 ssh-agent 16:20:09 SSH_AUTH_SOCK=/tmp/ssh-qb9tY1Ro7riC/agent.32 16:20:09 SSH_AGENT_PID=38 16:20:09 Running ssh-add (command line suppressed) 16:20:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_486769486493370184.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_486769486493370184.key) 16:20:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:20:09 + git tag --points-at HEAD [Pipeline] } 16:20:09 $ docker exec --env ******** --env ******** f28c2997596b9b0bfbcce4f0d1ef8fd221f95b105f620862591402f38d7ad110 ssh-agent -k 16:20:09 unset SSH_AUTH_SOCK; 16:20:09 unset SSH_AGENT_PID; 16:20:09 echo Agent pid 38 killed; 16:20:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:20:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:20:09 [ssh-agent] Looking for ssh-agent implementation... 16:20:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:20:09 $ docker exec f28c2997596b9b0bfbcce4f0d1ef8fd221f95b105f620862591402f38d7ad110 ssh-agent 16:20:09 SSH_AUTH_SOCK=/tmp/ssh-TEi5cXBhu2nO/agent.70 16:20:09 SSH_AGENT_PID=76 16:20:09 Running ssh-add (command line suppressed) 16:20:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12539611910032460347.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12539611910032460347.key) 16:20:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:20:10 + git semver init 16:20:10 2023-02-02 16:20:10,446 [run_init] DEBUG init version:0.0.0 force:False 16:20:10 2023-02-02 16:20:10,447 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:20:10 2023-02-02 16:20:10,447 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:20:10 2023-02-02 16:20:10,447 [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) 16:20:11 2023-02-02 16:20:11,391 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 16:20:11 2023-02-02 16:20:11,392 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 16:20:11 2023-02-02 16:20:11,392 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:20:11 2023-02-02 16:20:11,392 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:20:11 3.0.0-dev.16 [Pipeline] } 16:20:11 $ docker exec --env ******** --env ******** f28c2997596b9b0bfbcce4f0d1ef8fd221f95b105f620862591402f38d7ad110 ssh-agent -k 16:20:11 unset SSH_AUTH_SOCK; 16:20:11 unset SSH_AGENT_PID; 16:20:11 echo Agent pid 76 killed; 16:20:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:20:11 + git semver [Pipeline] } 16:20:12 $ docker stop --time=1 f28c2997596b9b0bfbcce4f0d1ef8fd221f95b105f620862591402f38d7ad110 16:20:13 $ docker rm -f --volumes f28c2997596b9b0bfbcce4f0d1ef8fd221f95b105f620862591402f38d7ad110 [Pipeline] // withDockerContainer [Pipeline] sh 16:20:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:20:14 Stashed 1 file(s) [Pipeline] echo 16:20:14 [edgeXSemver]: initialized semver on version 3.0.0-dev.16 [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 16:20:14 provisioning config files... 16:20:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10554532152279935690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:14 ---> docker-login.sh 16:20:14 nexus3.edgexfoundry.org:10001 16:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:14 Configure a credential helper to remove this warning. See 16:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:14 16:20:14 Login Succeeded 16:20:14 nexus3.edgexfoundry.org:10002 16:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:14 Configure a credential helper to remove this warning. See 16:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:14 16:20:14 Login Succeeded 16:20:14 nexus3.edgexfoundry.org:10003 16:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:14 Configure a credential helper to remove this warning. See 16:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:14 16:20:14 Login Succeeded 16:20:14 nexus3.edgexfoundry.org:10004 16:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:14 Configure a credential helper to remove this warning. See 16:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:14 16:20:14 Login Succeeded 16:20:14 docker.io 16:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:15 Configure a credential helper to remove this warning. See 16:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:15 16:20:15 Login Succeeded 16:20:15 ---> docker-login.sh ends [Pipeline] } 16:20:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:15 ========================================================= 16:20:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:20:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:15 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 16:20:15 Sending build context to Docker daemon 10.48MB 16:20:15 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:20:15 Step 2/10 : FROM ${BASE} AS builder 16:20:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:20:15 213ec9aee27d: Pulling fs layer 16:20:15 4583459ba037: Pulling fs layer 16:20:15 93c1e223e6f2: Pulling fs layer 16:20:15 53926ce57604: Pulling fs layer 16:20:15 21b2b0c7a3f4: Pulling fs layer 16:20:15 22ff95d597cd: Pulling fs layer 16:20:15 12d6caf4c0d1: Pulling fs layer 16:20:15 96b7cbca73a9: Pulling fs layer 16:20:15 a7acece74701: Pulling fs layer 16:20:15 53926ce57604: Waiting 16:20:15 21b2b0c7a3f4: Waiting 16:20:15 22ff95d597cd: Waiting 16:20:15 12d6caf4c0d1: Waiting 16:20:15 96b7cbca73a9: Waiting 16:20:15 a7acece74701: Waiting 16:20:15 93c1e223e6f2: Verifying Checksum 16:20:15 93c1e223e6f2: Download complete 16:20:15 4583459ba037: Download complete 16:20:15 21b2b0c7a3f4: Verifying Checksum 16:20:15 21b2b0c7a3f4: Download complete 16:20:15 22ff95d597cd: Verifying Checksum 16:20:15 22ff95d597cd: Download complete 16:20:15 213ec9aee27d: Verifying Checksum 16:20:15 213ec9aee27d: Download complete 16:20:15 12d6caf4c0d1: Verifying Checksum 16:20:15 12d6caf4c0d1: Download complete 16:20:15 213ec9aee27d: Pull complete 16:20:15 4583459ba037: Pull complete 16:20:15 93c1e223e6f2: Pull complete 16:20:16 a7acece74701: Verifying Checksum 16:20:16 a7acece74701: Download complete 16:20:17 53926ce57604: Verifying Checksum 16:20:17 53926ce57604: Download complete 16:20:17 96b7cbca73a9: Verifying Checksum 16:20:17 96b7cbca73a9: Download complete 16:20:21 53926ce57604: Pull complete 16:20:21 21b2b0c7a3f4: Pull complete 16:20:21 22ff95d597cd: Pull complete 16:20:21 12d6caf4c0d1: Pull complete 16:20:23 96b7cbca73a9: Pull complete 16:20:24 a7acece74701: Pull complete 16:20:24 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:20:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:20:24 ---> db6d94c90886 16:20:24 Step 3/10 : ARG MAKE=make build 16:20:26 ---> Running in 35adb588e4b6 16:20:26 Removing intermediate container 35adb588e4b6 16:20:26 ---> 80a605b170f7 16:20:26 Step 4/10 : WORKDIR /device-sdk-go 16:20:26 ---> Running in 0a8ee2c7cbf5 16:20:26 Removing intermediate container 0a8ee2c7cbf5 16:20:26 ---> 48bbc653b563 16:20:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:20:26 ---> Running in 1de362d3e933 16:20:26 Removing intermediate container 1de362d3e933 16:20:26 ---> 38d0d0cb97ee 16:20:26 Step 6/10 : RUN apk add --update --no-cache make git 16:20:26 ---> Running in 8d3d57b3e766 16:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:20:27 OK: 211 MiB in 51 packages 16:20:27 Removing intermediate container 8d3d57b3e766 16:20:27 ---> 0286975ec404 16:20:27 Step 7/10 : COPY go.mod vendor* ./ 16:20:27 ---> a3722b3e640c 16:20:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:27 ---> Running in 9c1ba222f0be 16:20:29 Still waiting to schedule task 16:20:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:20:59 Removing intermediate container 9c1ba222f0be 16:20:59 ---> 99798776ed17 16:20:59 Step 9/10 : COPY . . 16:20:59 ---> c101e0c2ffb5 16:20:59 Step 10/10 : RUN ${MAKE} 16:20:59 ---> Running in e81b93d3c3ba 16:20:59 noop 16:20:59 Removing intermediate container e81b93d3c3ba 16:20:59 ---> 25cf48e236a6 16:20:59 Successfully built 25cf48e236a6 16:20:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:00 + docker inspect -f . ci-base-image-x86_64 16:21:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:00 prd-ubuntu20.04-docker-8c-8g-4377 does not seem to be running inside a container 16:21:00 $ 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 16:21:00 $ docker top f2d10b7b2a0d0e0b30ced104f25d6e891dbd12f6bc834fd6ca3a032047c3a479 -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:00 + go version 16:21:00 go version go1.18.7 linux/amd64 [Pipeline] } 16:21:00 $ docker stop --time=1 f2d10b7b2a0d0e0b30ced104f25d6e891dbd12f6bc834fd6ca3a032047c3a479 16:21:02 $ docker rm -f --volumes f2d10b7b2a0d0e0b30ced104f25d6e891dbd12f6bc834fd6ca3a032047c3a479 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:02 + docker inspect -f . ci-base-image-x86_64 16:21:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:02 prd-ubuntu20.04-docker-8c-8g-4377 does not seem to be running inside a container 16:21:02 $ 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 16:21:02 $ docker top 41c5614d0bec219d7ded675e0c4a9362fd56a7c02811c1cc5afde1a9dea05c2b -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 16:21:03 + make test 16:21:03 go test -race -coverprofile=coverage.out ./... 16:21:10 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:21:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 16:21:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.077s coverage: 78.9% of statements 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 16:21:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 70.2% of statements 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:21:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.127s coverage: 59.8% of statements 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 16:21:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.090s coverage: 65.1% of statements 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:21:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.803s coverage: 89.2% of statements 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 16:21:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.7% of statements 16:21:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:21:37 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:21:37 GO111MODULE=on go vet ./... 16:21:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:21:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:21:39 ./bin/test-attribution-txt.sh [Pipeline] echo 16:21:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:21:39 $ docker stop --time=1 41c5614d0bec219d7ded675e0c4a9362fd56a7c02811c1cc5afde1a9dea05c2b 16:21:43 $ docker rm -f --volumes 41c5614d0bec219d7ded675e0c4a9362fd56a7c02811c1cc5afde1a9dea05c2b [Pipeline] // withDockerContainer [Pipeline] sh 16:21:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:21:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:21:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:21:45 + ls -al . 16:21:45 total 272 16:21:45 drwxrwxr-x 11 jenkins jenkins 4096 Feb 2 16:21 . 16:21:45 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 16:19 .. 16:21:45 -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 16:19 .dockerignore 16:21:45 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 16:21 .git 16:21:45 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 16:19 .github 16:21:45 -rw-rw-r-- 1 jenkins jenkins 131 Feb 2 16:19 .gitignore 16:21:45 -rw-rw-r-- 1 jenkins jenkins 42 Feb 2 16:19 .golangci.yml 16:21:45 drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 16:20 .semver 16:21:45 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 2 16:19 CHANGELOG.md 16:21:45 -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 16:19 GOVERNANCE.md 16:21:45 -rw-rw-r-- 1 jenkins jenkins 885 Feb 2 16:19 Jenkinsfile 16:21:45 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 16:19 LICENSE 16:21:45 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 2 16:19 Makefile 16:21:45 -rw-rw-r-- 1 jenkins jenkins 619 Feb 2 16:19 OWNERS.md 16:21:45 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 2 16:19 README.md 16:21:45 -rw-rw-r-- 1 jenkins jenkins 12 Feb 2 16:20 VERSION 16:21:45 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 16:19 bin 16:21:45 -rw-r--r-- 1 jenkins jenkins 99762 Feb 2 16:21 coverage.out 16:21:45 drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 16:19 example 16:21:45 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 2 16:19 go.mod 16:21:45 -rw-rw-r-- 1 jenkins jenkins 34396 Feb 2 16:19 go.sum 16:21:45 drwxrwxr-x 13 jenkins jenkins 4096 Feb 2 16:19 internal 16:21:45 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 16:19 openapi 16:21:45 drwxrwxr-x 6 jenkins jenkins 4096 Feb 2 16:19 pkg 16:21:45 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 16:19 snap 16:21:45 -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 16:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:45 + 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=775e2b56bedf8d4ad3f90164e245819fbdab1870 --label arch=amd64 --label version=3.0.0-dev.16 . 16:21:45 Sending build context to Docker daemon 10.58MB 16:21:45 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 16:21:45 Step 2/23 : FROM ${BASE} AS builder 16:21:45 ---> 25cf48e236a6 16:21:45 Step 3/23 : ARG MAKE=make build 16:21:46 ---> Running in d73a963e18a2 16:21:46 Removing intermediate container d73a963e18a2 16:21:46 ---> cdf8ba16c20e 16:21:46 Step 4/23 : WORKDIR /device-sdk-go 16:21:46 ---> Running in a38ff418cc2a 16:21:46 Removing intermediate container a38ff418cc2a 16:21:46 ---> 9b6cf7dcd7e4 16:21:46 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:21:46 ---> Running in ae8d081e8c4c 16:21:47 Removing intermediate container ae8d081e8c4c 16:21:47 ---> df5ea4c552cf 16:21:47 Step 6/23 : RUN apk add --update --no-cache make git 16:21:47 ---> Running in 7527e3c39c3f 16:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:21:47 OK: 211 MiB in 51 packages 16:21:48 Removing intermediate container 7527e3c39c3f 16:21:48 ---> af09e07bc1ce 16:21:48 Step 7/23 : COPY go.mod vendor* ./ 16:21:48 ---> aa39b18308a7 16:21:48 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:21:48 ---> Running in fcfe7e1ec218 16:21:49 Removing intermediate container fcfe7e1ec218 16:21:49 ---> bc7074795030 16:21:49 Step 9/23 : COPY . . 16:21:49 ---> 627e41ccdb49 16:21:49 Step 10/23 : RUN ${MAKE} 16:21:49 ---> Running in edd71095050a 16:21:49 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.16" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:22:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4378 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 16:22:03 Running in /w/workspace/device-sdk-go/146 [Pipeline] { [Pipeline] checkout 16:22:03 The recommended git tool is: git 16:22:08 using credential edgex-jenkins-ssh 16:22:08 Cloning the remote Git repository 16:22:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:22:08 > git init /w/workspace/device-sdk-go/146 # timeout=10 16:22:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:22:08 > git --version # timeout=10 16:22:08 > git --version # 'git version 2.25.1' 16:22:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:22:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:22:11 Removing intermediate container edd71095050a 16:22:11 ---> 56db0c499aac 16:22:11 Step 11/23 : FROM alpine:3.16 16:22:11 3.16: Pulling from library/alpine 16:22:11 ca7dd9ec2225: Pulling fs layer 16:22:11 ca7dd9ec2225: Verifying Checksum 16:22:11 ca7dd9ec2225: Download complete 16:22:11 ca7dd9ec2225: Pull complete 16:22:11 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:22:11 Status: Downloaded newer image for alpine:3.16 16:22:11 ---> bfe296a52501 16:22:11 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:22:11 ---> Running in 61134f49440a 16:22:11 Removing intermediate container 61134f49440a 16:22:11 ---> 6b38b2a25c56 16:22:11 Step 13/23 : RUN apk add --update --no-cache 16:22:11 ---> Running in 052553a37d77 16:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:22:11 OK: 6 MiB in 14 packages 16:22:11 Removing intermediate container 052553a37d77 16:22:11 ---> 9e474bc0989f 16:22:11 Step 14/23 : WORKDIR / 16:22:11 ---> Running in 3e9ccce514aa 16:22:11 Removing intermediate container 3e9ccce514aa 16:22:11 ---> 7f1066e33785 16:22:11 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:22:11 ---> 6999c011fdc3 16:22:11 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:22:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:22:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:22:12 Avoid second fetch 16:22:12 Checking out Revision 775e2b56bedf8d4ad3f90164e245819fbdab1870 (main) 16:22:12 ---> bb0dec63112a 16:22:12 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:22:12 ---> 9df9c95f9317 16:22:12 Step 18/23 : EXPOSE 59999 16:22:12 ---> Running in 8601f971dced 16:22:12 Removing intermediate container 8601f971dced 16:22:12 ---> 46b1b6806750 16:22:12 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:22:12 ---> Running in 2a12b13b4eec 16:22:12 Removing intermediate container 2a12b13b4eec 16:22:12 ---> 0a8e73700e04 16:22:12 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:22:12 ---> Running in 26fd5c7d781d 16:22:12 Removing intermediate container 26fd5c7d781d 16:22:12 ---> b87ccdd66579 16:22:12 Step 21/23 : LABEL arch=amd64 16:22:12 ---> Running in f146dbc05c36 16:22:12 Commit message: "Merge pull request #1301 from hahattan/issue-1296" 16:22:12 Removing intermediate container f146dbc05c36 16:22:12 ---> dadc911601b7 16:22:12 Step 22/23 : LABEL git_sha=775e2b56bedf8d4ad3f90164e245819fbdab1870 16:22:12 ---> Running in 14c4652ce0bb 16:22:12 Removing intermediate container 14c4652ce0bb 16:22:12 ---> 92effac248af 16:22:12 Step 23/23 : LABEL version=3.0.0-dev.16 16:22:12 ---> Running in b40d23da0a54 16:22:12 Removing intermediate container b40d23da0a54 16:22:12 ---> 16a1be037db8 16:22:12 [Warning] One or more build-args [ARCH] were not consumed 16:22:12 Successfully built 16a1be037db8 16:22:12 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:12 > git config core.sparsecheckout # timeout=10 16:22:12 > git checkout -f 775e2b56bedf8d4ad3f90164e245819fbdab1870 # timeout=10 16:22:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:22:13 % Total % Received % Xferd Average Speed Time Time Time Current 16:22:13 Dload Upload Total Spent Left Speed 16:22:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 16:22:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:13 16:22:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:13 latest: Pulling from edgex-lftools-log-publisher 16:22:13 5eb5b503b376: Pulling fs layer 16:22:13 5c69ac0246d0: Pulling fs layer 16:22:13 ec43610c2a17: Pulling fs layer 16:22:13 3a2ae6a8a46f: Pulling fs layer 16:22:13 33b1e0a273af: Pulling fs layer 16:22:13 5d3b04190fa2: Pulling fs layer 16:22:13 2f39f015ded8: Pulling fs layer 16:22:13 3a2ae6a8a46f: Waiting 16:22:13 33b1e0a273af: Waiting 16:22:13 2f39f015ded8: Waiting 16:22:13 5c69ac0246d0: Download complete 16:22:13 3a2ae6a8a46f: Verifying Checksum 16:22:13 3a2ae6a8a46f: Download complete [Pipeline] sh 16:22:14 33b1e0a273af: Verifying Checksum 16:22:14 33b1e0a273af: Download complete 16:22:14 5d3b04190fa2: Verifying Checksum 16:22:14 5d3b04190fa2: Download complete 16:22:14 ec43610c2a17: Verifying Checksum 16:22:14 ec43610c2a17: Download complete 16:22:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:22:14 5eb5b503b376: Verifying Checksum 16:22:14 5eb5b503b376: Download complete 16:22:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:22:14 + sudo tee /etc/docker/daemon.new 16:22:14 { 16:22:14 "registry-mirrors": [ 16:22:14 "https://nexus3.edgexfoundry.org:10001" 16:22:14 ], 16:22:14 "bip": "10.250.0.254/24", 16:22:14 "hosts": [ 16:22:14 "tcp://0.0.0.0:5555", 16:22:14 "unix:///var/run/docker.sock" 16:22:14 ], 16:22:14 "mtu": 1458, 16:22:14 "selinux-enabled": true, 16:22:14 "seccomp-profile": "/etc/docker/seccomp.json" 16:22:14 } [Pipeline] sh 16:22:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:22:14 2f39f015ded8: Verifying Checksum 16:22:14 2f39f015ded8: Download complete 16:22:15 + sudo service docker restart 16:22:15 5eb5b503b376: Pull complete 16:22:15 5c69ac0246d0: Pull complete 16:22:16 ec43610c2a17: Pull complete 16:22:16 3a2ae6a8a46f: Pull complete 16:22:16 33b1e0a273af: Pull complete 16:22:16 5d3b04190fa2: Pull complete 16:22:20 2f39f015ded8: Pull complete 16:22:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:22:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:20 prd-ubuntu20.04-docker-8c-8g-4377 does not seem to be running inside a container 16:22:20 $ 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 16:22:25 $ docker top 815a6f982e3180608dc342bd5f2717d372f900a671d7e17f921282663072f790 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:25 ---> job-cost.sh 16:22:25 lf-activate-venv: SKIPPING 16:22:25 INFO: No Stack... 16:22:25 INFO: Retrieving Pricing Info for: v3-standard-8 16:22:26 INFO: Archiving Costs [Pipeline] sh 16:22:26 + + catcut /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv -d, 16:22:26 -f6 [Pipeline] lock 16:22:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-146-stack-cost] 16:22:26 Resource [jenkins-edgexfoundry-device-sdk-go-main-146-stack-cost] did not exist. Created. 16:22:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-146-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:22:26 + echo total: 0.2199999988079071 [Pipeline] stash 16:22:26 Stashed 1 file(s) [Pipeline] } 16:22:26 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-146-stack-cost] [Pipeline] // lock [Pipeline] } 16:22:26 $ docker stop --time=1 815a6f982e3180608dc342bd5f2717d372f900a671d7e17f921282663072f790 16:22:28 $ docker rm -f --volumes 815a6f982e3180608dc342bd5f2717d372f900a671d7e17f921282663072f790 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:22:33 provisioning config files... 16:22:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/146@tmp/config1066340879847688603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:33 ---> docker-login.sh 16:22:33 nexus3.edgexfoundry.org:10001 16:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:34 Configure a credential helper to remove this warning. See 16:22:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:34 16:22:34 Login Succeeded 16:22:34 nexus3.edgexfoundry.org:10002 16:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:34 Configure a credential helper to remove this warning. See 16:22:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:34 16:22:34 Login Succeeded 16:22:35 nexus3.edgexfoundry.org:10003 16:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:35 Configure a credential helper to remove this warning. See 16:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:35 16:22:35 Login Succeeded 16:22:35 nexus3.edgexfoundry.org:10004 16:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:35 Configure a credential helper to remove this warning. See 16:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:35 16:22:35 Login Succeeded 16:22:35 docker.io 16:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:36 Configure a credential helper to remove this warning. See 16:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:36 16:22:36 Login Succeeded 16:22:36 ---> docker-login.sh ends [Pipeline] } 16:22:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:22:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:22:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:22:36 ========================================================= 16:22:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:22:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:36 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 16:22:37 Sending build context to Docker daemon 5.626MB 16:22:37 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:22:37 Step 2/10 : FROM ${BASE} AS builder 16:22:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:22:37 9b18e9b68314: Pulling fs layer 16:22:37 35d82f9e3411: Pulling fs layer 16:22:37 e16973657156: Pulling fs layer 16:22:37 fc693d55d65f: Pulling fs layer 16:22:37 7e9fc2657dce: Pulling fs layer 16:22:37 dda99020689f: Pulling fs layer 16:22:37 db1c61fa0a46: Pulling fs layer 16:22:37 891c053d2c06: Pulling fs layer 16:22:37 fc693d55d65f: Waiting 16:22:37 7e9fc2657dce: Waiting 16:22:37 dda99020689f: Waiting 16:22:37 db1c61fa0a46: Waiting 16:22:37 e16973657156: Verifying Checksum 16:22:37 e16973657156: Download complete 16:22:37 35d82f9e3411: Download complete 16:22:37 7e9fc2657dce: Verifying Checksum 16:22:37 7e9fc2657dce: Download complete 16:22:37 dda99020689f: Download complete 16:22:37 9b18e9b68314: Verifying Checksum 16:22:37 9b18e9b68314: Download complete 16:22:38 9b18e9b68314: Pull complete 16:22:38 891c053d2c06: Verifying Checksum 16:22:38 891c053d2c06: Download complete 16:22:39 35d82f9e3411: Pull complete 16:22:39 e16973657156: Pull complete 16:22:39 db1c61fa0a46: Verifying Checksum 16:22:39 db1c61fa0a46: Download complete 16:22:40 fc693d55d65f: Verifying Checksum 16:22:40 fc693d55d65f: Download complete 16:22:53 fc693d55d65f: Pull complete 16:22:53 7e9fc2657dce: Pull complete 16:22:53 dda99020689f: Pull complete 16:22:58 db1c61fa0a46: Pull complete 16:22:59 891c053d2c06: Pull complete 16:22:59 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:22:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:22:59 ---> f96f9c87975a 16:22:59 Step 3/10 : ARG MAKE=make build 16:23:01 ---> Running in d37c3ca395ce 16:23:02 Removing intermediate container d37c3ca395ce 16:23:02 ---> 5b47af77763e 16:23:02 Step 4/10 : WORKDIR /device-sdk-go 16:23:02 ---> Running in 35f73eb4742b 16:23:02 Removing intermediate container 35f73eb4742b 16:23:02 ---> b59025ef23fa 16:23:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:23:02 ---> Running in 529913282c6e 16:23:02 Removing intermediate container 529913282c6e 16:23:02 ---> d7797662ad85 16:23:02 Step 6/10 : RUN apk add --update --no-cache make git 16:23:02 ---> Running in 31a108fd39f0 16:23:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:23:05 OK: 221 MiB in 51 packages 16:23:05 Removing intermediate container 31a108fd39f0 16:23:05 ---> 0d18afe759c0 16:23:05 Step 7/10 : COPY go.mod vendor* ./ 16:23:06 ---> 847bcf389405 16:23:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:23:06 ---> Running in c9912049ddd8 16:24:28 Removing intermediate container c9912049ddd8 16:24:28 ---> f0d545a7a6ff 16:24:28 Step 9/10 : COPY . . 16:24:28 ---> 4d14633b93dd 16:24:28 Step 10/10 : RUN ${MAKE} 16:24:28 ---> Running in 5599cf5c9624 16:24:28 noop 16:24:28 Removing intermediate container 5599cf5c9624 16:24:28 ---> c902e7fdf69a 16:24:28 Successfully built c902e7fdf69a 16:24:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:28 + docker inspect -f . ci-base-image-arm64 16:24:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:28 prd-ubuntu20.04-docker-arm64-4c-16g-4378 does not seem to be running inside a container 16:24:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/146 -v /w/workspace/device-sdk-go/146:/w/workspace/device-sdk-go/146:rw,z -v /w/workspace/device-sdk-go/146@tmp:/w/workspace/device-sdk-go/146@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 16:24:30 $ docker top 31807dd24ccd38f1eb48b920868f1602a15d98e8df621ed70fb17b3239f01561 -eo pid,comm [Pipeline] { [Pipeline] sh 16:24:31 + go version 16:24:31 go version go1.18.7 linux/arm64 [Pipeline] } 16:24:31 $ docker stop --time=1 31807dd24ccd38f1eb48b920868f1602a15d98e8df621ed70fb17b3239f01561 16:24:33 $ docker rm -f --volumes 31807dd24ccd38f1eb48b920868f1602a15d98e8df621ed70fb17b3239f01561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:33 + docker inspect -f . ci-base-image-arm64 16:24:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:33 prd-ubuntu20.04-docker-arm64-4c-16g-4378 does not seem to be running inside a container 16:24:34 $ 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/146 -v /w/workspace/device-sdk-go/146:/w/workspace/device-sdk-go/146:rw,z -v /w/workspace/device-sdk-go/146@tmp:/w/workspace/device-sdk-go/146@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 16:24:35 $ docker top 202e089fbd2c1fdbda7cf131d6e07e2b57e36bb69ea530013fcea3dbfa815f80 -eo pid,comm [Pipeline] { [Pipeline] sh 16:24:36 + git config --global --add safe.directory /w/workspace/device-sdk-go/146 [Pipeline] fileExists [Pipeline] sh 16:24:36 + make test 16:24:36 go test -race -coverprofile=coverage.out ./... 16:25:08 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:27:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:27:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:27:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:27:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:27:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:27:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.477s coverage: 27.6% of statements 16:27:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.398s coverage: 78.9% of statements 16:27:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 16:27:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.655s coverage: 70.2% of statements 16:27:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:27:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:27:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.512s coverage: 59.8% of statements 16:27:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:27:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 16:27:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 16:27:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.467s coverage: 65.1% of statements 16:27:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:27:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:27:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.402s coverage: 89.2% of statements 16:27:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 16:27:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.404s coverage: 4.7% of statements 16:27:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:27:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:27:21 GO111MODULE=on go vet ./... 16:28:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:28:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:28:57 ./bin/test-attribution-txt.sh [Pipeline] echo 16:28:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:28:57 $ docker stop --time=1 202e089fbd2c1fdbda7cf131d6e07e2b57e36bb69ea530013fcea3dbfa815f80 16:29:01 $ docker rm -f --volumes 202e089fbd2c1fdbda7cf131d6e07e2b57e36bb69ea530013fcea3dbfa815f80 [Pipeline] // withDockerContainer [Pipeline] sh 16:29:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:29:02 Warning: overwriting stash ‘coverage-report’ 16:29:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:29:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:29:03 + ls -al . 16:29:03 total 268 16:29:03 drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 16:24 . 16:29:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 16:22 .. 16:29:03 -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 16:22 .dockerignore 16:29:03 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 16:22 .git 16:29:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 16:22 .github 16:29:03 -rw-rw-r-- 1 jenkins jenkins 131 Feb 2 16:22 .gitignore 16:29:03 -rw-rw-r-- 1 jenkins jenkins 42 Feb 2 16:22 .golangci.yml 16:29:03 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 2 16:22 CHANGELOG.md 16:29:03 -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 16:22 GOVERNANCE.md 16:29:03 -rw-rw-r-- 1 jenkins jenkins 885 Feb 2 16:22 Jenkinsfile 16:29:03 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 16:22 LICENSE 16:29:03 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 2 16:22 Makefile 16:29:03 -rw-rw-r-- 1 jenkins jenkins 619 Feb 2 16:22 OWNERS.md 16:29:03 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 2 16:22 README.md 16:29:03 -rw-rw-r-- 1 jenkins jenkins 12 Feb 2 16:20 VERSION 16:29:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 16:22 bin 16:29:03 -rw-r--r-- 1 jenkins jenkins 99762 Feb 2 16:27 coverage.out 16:29:03 drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 16:22 example 16:29:03 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 2 16:22 go.mod 16:29:03 -rw-rw-r-- 1 jenkins jenkins 34396 Feb 2 16:22 go.sum 16:29:03 drwxrwxr-x 13 jenkins jenkins 4096 Feb 2 16:22 internal 16:29:03 drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 16:22 openapi 16:29:03 drwxrwxr-x 6 jenkins jenkins 4096 Feb 2 16:22 pkg 16:29:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 16:22 snap 16:29:03 -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 16:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:04 + 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=775e2b56bedf8d4ad3f90164e245819fbdab1870 --label arch=arm64 --label version=3.0.0-dev.16 . 16:29:04 Sending build context to Docker daemon 5.726MB 16:29:04 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 16:29:04 Step 2/23 : FROM ${BASE} AS builder 16:29:04 ---> c902e7fdf69a 16:29:04 Step 3/23 : ARG MAKE=make build 16:29:04 ---> Running in 5aa364282dda 16:29:04 Removing intermediate container 5aa364282dda 16:29:04 ---> 64d403a569ba 16:29:04 Step 4/23 : WORKDIR /device-sdk-go 16:29:04 ---> Running in 09c37b42b7ef 16:29:05 Removing intermediate container 09c37b42b7ef 16:29:05 ---> 93d646158769 16:29:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:29:05 ---> Running in 3b8e85aad7f7 16:29:05 Removing intermediate container 3b8e85aad7f7 16:29:05 ---> 3a27ee4401a2 16:29:05 Step 6/23 : RUN apk add --update --no-cache make git 16:29:05 ---> Running in c9b9ff4a3584 16:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:29:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:29:07 OK: 221 MiB in 51 packages 16:29:08 Removing intermediate container c9b9ff4a3584 16:29:08 ---> 67efcbe57d4a 16:29:08 Step 7/23 : COPY go.mod vendor* ./ 16:29:09 ---> c25b065b5cf9 16:29:09 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:29:09 ---> Running in 36bd2827afde 16:29:13 Removing intermediate container 36bd2827afde 16:29:13 ---> 1545c87bfab3 16:29:13 Step 9/23 : COPY . . 16:29:14 ---> 0581c2f3b368 16:29:14 Step 10/23 : RUN ${MAKE} 16:29:14 ---> Running in ba69a8a02128 16:29:15 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.16" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:31:22 Removing intermediate container ba69a8a02128 16:31:22 ---> 5e813adcba4e 16:31:22 Step 11/23 : FROM alpine:3.16 16:31:22 3.16: Pulling from library/alpine 16:31:22 6875df1f5354: Pulling fs layer 16:31:22 6875df1f5354: Verifying Checksum 16:31:22 6875df1f5354: Download complete 16:31:22 6875df1f5354: Pull complete 16:31:22 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:31:22 Status: Downloaded newer image for alpine:3.16 16:31:22 ---> 2b4661558fb8 16:31:22 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:31:22 ---> Running in f0605b53d950 16:31:22 Removing intermediate container f0605b53d950 16:31:22 ---> 81ecfecc1b96 16:31:22 Step 13/23 : RUN apk add --update --no-cache 16:31:22 ---> Running in 88bbcf341cf7 16:31:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:31:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:31:22 OK: 5 MiB in 14 packages 16:31:22 Removing intermediate container 88bbcf341cf7 16:31:22 ---> de735bd92613 16:31:22 Step 14/23 : WORKDIR / 16:31:22 ---> Running in 862cb33216ea 16:31:22 Removing intermediate container 862cb33216ea 16:31:22 ---> 705b47b00285 16:31:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:31:22 ---> 7c94d6ea1be9 16:31:22 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:31:22 ---> c2f116775fa6 16:31:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:31:22 ---> 011d28567453 16:31:22 Step 18/23 : EXPOSE 59999 16:31:22 ---> Running in ff0e4294ede2 16:31:22 Removing intermediate container ff0e4294ede2 16:31:22 ---> fce771bafa06 16:31:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:31:22 ---> Running in d3f2a3c75c23 16:31:22 Removing intermediate container d3f2a3c75c23 16:31:22 ---> caa6482bae66 16:31:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:31:22 ---> Running in d25c75fa14ef 16:31:22 Removing intermediate container d25c75fa14ef 16:31:22 ---> 630f551d1bf1 16:31:22 Step 21/23 : LABEL arch=arm64 16:31:22 ---> Running in f159bc9ce559 16:31:22 Removing intermediate container f159bc9ce559 16:31:22 ---> 4152e2a0d12d 16:31:22 Step 22/23 : LABEL git_sha=775e2b56bedf8d4ad3f90164e245819fbdab1870 16:31:22 ---> Running in a0b273fc935e 16:31:22 Removing intermediate container a0b273fc935e 16:31:22 ---> b83770351ad3 16:31:22 Step 23/23 : LABEL version=3.0.0-dev.16 16:31:22 ---> Running in 87d12eb62b81 16:31:22 Removing intermediate container 87d12eb62b81 16:31:22 ---> 045bddb64cb6 16:31:22 [Warning] One or more build-args [ARCH] were not consumed 16:31:22 Successfully built 045bddb64cb6 16:31:22 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:23 16:31:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:23 arm64: Pulling from edgex-lftools-log-publisher 16:31:23 8998bd30e6a1: Pulling fs layer 16:31:23 04944245beec: Pulling fs layer 16:31:23 699f458cf7ca: Pulling fs layer 16:31:23 765212b225bb: Pulling fs layer 16:31:23 f23df028b6ca: Pulling fs layer 16:31:23 d65c8cfc05b1: Pulling fs layer 16:31:23 2437ff75d9bd: Pulling fs layer 16:31:23 f23df028b6ca: Waiting 16:31:23 d65c8cfc05b1: Waiting 16:31:23 2437ff75d9bd: Waiting 16:31:23 765212b225bb: Waiting 16:31:23 04944245beec: Verifying Checksum 16:31:23 04944245beec: Download complete 16:31:23 765212b225bb: Verifying Checksum 16:31:23 765212b225bb: Download complete 16:31:23 f23df028b6ca: Verifying Checksum 16:31:23 f23df028b6ca: Download complete 16:31:23 d65c8cfc05b1: Download complete 16:31:24 699f458cf7ca: Verifying Checksum 16:31:24 699f458cf7ca: Download complete 16:31:24 8998bd30e6a1: Verifying Checksum 16:31:24 8998bd30e6a1: Download complete 16:31:26 2437ff75d9bd: Verifying Checksum 16:31:26 2437ff75d9bd: Download complete 16:31:28 8998bd30e6a1: Pull complete 16:31:28 04944245beec: Pull complete 16:31:30 699f458cf7ca: Pull complete 16:31:30 765212b225bb: Pull complete 16:31:32 f23df028b6ca: Pull complete 16:31:32 d65c8cfc05b1: Pull complete 16:31:47 2437ff75d9bd: Pull complete 16:31:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:31:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:47 prd-ubuntu20.04-docker-arm64-4c-16g-4378 does not seem to be running inside a container 16:31:47 $ 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/146 -v /w/workspace/device-sdk-go/146:/w/workspace/device-sdk-go/146:rw,z -v /w/workspace/device-sdk-go/146@tmp:/w/workspace/device-sdk-go/146@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 16:31:50 $ docker top b7df1d9e6bc9cd9df6553978c5ceb7aeb9bf7b1b2aa9b72bd77aa9d8332bff4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:31:51 ---> job-cost.sh 16:31:51 lf-activate-venv: SKIPPING 16:31:51 INFO: No Stack... 16:31:51 INFO: Retrieving Pricing Info for: v3-standard-4 16:31:52 INFO: Archiving Costs [Pipeline] sh 16:31:53 + cat /w/workspace/device-sdk-go/146/archives/cost.csv 16:31:53 + cut -d, -f6 [Pipeline] lock 16:31:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-146-stack-cost] 16:31:53 Resource [jenkins-edgexfoundry-device-sdk-go-main-146-stack-cost] did not exist. Created. 16:31:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-146-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:31:53 /w/workspace/device-sdk-go/146@tmp/durable-67378b8d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:31:54 + echo total: 0.10999999940395355 [Pipeline] stash 16:31:54 Warning: overwriting stash ‘stack-cost’ 16:31:54 Stashed 1 file(s) [Pipeline] } 16:31:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-146-stack-cost] [Pipeline] // lock [Pipeline] } 16:31:54 $ docker stop --time=1 b7df1d9e6bc9cd9df6553978c5ceb7aeb9bf7b1b2aa9b72bd77aa9d8332bff4d 16:31:55 $ docker rm -f --volumes b7df1d9e6bc9cd9df6553978c5ceb7aeb9bf7b1b2aa9b72bd77aa9d8332bff4d [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 16:31:56 provisioning config files... 16:31:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2128854486493394586tmp [Pipeline] { [Pipeline] sh 16:31:56 + set +x 16:31:56 + curl -s https://codecov.io/bash 16:31:56 + bash -s -- 16:31:56 16:31:56 _____ _ 16:31:56 / ____| | | 16:31:56 | | ___ __| | ___ ___ _____ __ 16:31:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:31:56 | |___| (_) | (_| | __/ (_| (_) \ V / 16:31:56 \_____\___/ \__,_|\___|\___\___/ \_/ 16:31:56 Bash-1.0.6 16:31:56 16:31:56 16:31:56 ==> git version 2.25.1 found 16:31:56 ==> 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 16:31:56 Release-Date: 2020-01-08 16:31:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:31:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:31:56 ==> Jenkins CI detected. 16:31:56 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 16:31:56 project root: . 16:31:56 --> token set from env 16:31:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:31:56 ==> Running gcov in . (disable via -X gcov) 16:31:56 ==> Python coveragepy not found 16:31:56 ==> Searching for coverage reports in: 16:31:56 + . 16:31:56 -> Found 1 reports 16:31:56 ==> Detecting git/mercurial file structure 16:31:56 ==> Reading reports 16:31:56 + ./coverage.out bytes=99762 16:31:56 ==> Appending adjustments 16:31:56 https://docs.codecov.io/docs/fixing-reports 16:31:57 + Found adjustments 16:31:57 ==> Gzipping contents 16:31:57 16K /tmp/codecov.zcbN8m.gz 16:31:57 ==> Uploading reports 16:31:57 url: https://codecov.io 16:31:57 query: branch=main&commit=775e2b56bedf8d4ad3f90164e245819fbdab1870&build=146&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F146%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:31:57 -> Pinging Codecov 16:31:57 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=775e2b56bedf8d4ad3f90164e245819fbdab1870&build=146&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F146%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:31:57 -> Uploading to 16:31:57 https://storage.googleapis.com/codecov/v4/raw/2023-02-02/7E55EF52A471D76F132DFD9A03CDDE97/775e2b56bedf8d4ad3f90164e245819fbdab1870/81f61b05-fca3-414e-8543-3d6f8325cacc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230202T163157Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae0e955bf744d3d580efd366b71dcf01d5c38a6df5b09ad9aa1c50aa0d865298 16:31:57 % Total % Received % Xferd Average Speed Time Time Time Current 16:31:57 Dload Upload Total Spent Left Speed 16:31:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14415 0 0 100 14415 0 39820 --:--:-- --:--:-- --:--:-- 39820 16:31:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/775e2b56bedf8d4ad3f90164e245819fbdab1870 [Pipeline] } 16:31:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:31:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:31:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:31:58 16:31:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:31:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:31:58 df9b9388f04a: Pulling fs layer 16:31:58 52dc419b0ee2: Pulling fs layer 16:31:58 25bc292e5bac: Pulling fs layer 16:31:58 114826534d7a: Pulling fs layer 16:31:58 4657fd5d0bcf: Pulling fs layer 16:31:58 6ad1cebc031e: Pulling fs layer 16:31:58 8a3aa393b2d8: Pulling fs layer 16:31:58 114826534d7a: Waiting 16:31:58 4657fd5d0bcf: Waiting 16:31:58 8a3aa393b2d8: Waiting 16:31:58 25bc292e5bac: Verifying Checksum 16:31:58 52dc419b0ee2: Download complete 16:31:58 4657fd5d0bcf: Verifying Checksum 16:31:58 4657fd5d0bcf: Download complete 16:31:58 df9b9388f04a: Verifying Checksum 16:31:58 df9b9388f04a: Download complete 16:31:58 df9b9388f04a: Pull complete 16:31:58 52dc419b0ee2: Pull complete 16:31:58 25bc292e5bac: Pull complete 16:31:59 6ad1cebc031e: Verifying Checksum 16:31:59 6ad1cebc031e: Download complete 16:32:00 114826534d7a: Verifying Checksum 16:32:00 114826534d7a: Download complete 16:32:00 8a3aa393b2d8: Verifying Checksum 16:32:00 8a3aa393b2d8: Download complete 16:32:03 114826534d7a: Pull complete 16:32:03 4657fd5d0bcf: Pull complete 16:32:03 6ad1cebc031e: Pull complete 16:32:06 8a3aa393b2d8: Pull complete 16:32:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:32:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:32:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:06 prd-ubuntu20.04-docker-8c-8g-4377 does not seem to be running inside a container 16:32:06 $ 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 16:32:08 $ docker top 7c26cfc427d67eed4a583d26f006416d5608c90d604278a85b86235d0471873e -eo pid,comm [Pipeline] { [Pipeline] echo 16:32:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 16:32:09 + set -o pipefail 16:32:09 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 16:32:15 16:32:15 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 16:32:15 16:32:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/911ec465-6f45-49d1-8e94-e96015e0e5eb 16:32:15 16:32:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:32:15 16:32:15 16:32:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:32:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:32:15 More details here: https://snyk.co/ue1NS [Pipeline] } 16:32:15 $ docker stop --time=1 7c26cfc427d67eed4a583d26f006416d5608c90d604278a85b86235d0471873e 16:32:17 $ docker rm -f --volumes 7c26cfc427d67eed4a583d26f006416d5608c90d604278a85b86235d0471873e [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 16:32:18 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:18 provisioning config files... 16:32:18 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5268014190090804001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:18 --> edgex-publish-swagger.sh 16:32:18 === Publish openapi/v3 API === 16:32:18 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 16:32:18 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 16:32:18 % Total % Received % Xferd Average Speed Time Time Time Current 16:32:18 Dload Upload Total Spent Left Speed 16:32:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47132 100 38 100 47094 102 123k --:--:-- --:--:-- --:--:-- 123k 16:32:18 {"code":403,"message":"Access Denied"} 16:32:18 [Pipeline] } 16:32:18 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 16:32:19 + git log --format=format:%s -1 775e2b56bedf8d4ad3f90164e245819fbdab1870 [Pipeline] sh 16:32:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:32:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:32:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:20 prd-ubuntu20.04-docker-8c-8g-4377 does not seem to be running inside a container 16:32:20 $ 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 16:32:20 $ docker top c64ae97a347492a7b585f1aebf01eda87666c74f4f52e2e4810075ab3acd800b -eo pid,comm 16:32:20 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). 16:32:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:20 [ssh-agent] Looking for ssh-agent implementation... 16:32:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:20 $ docker exec c64ae97a347492a7b585f1aebf01eda87666c74f4f52e2e4810075ab3acd800b ssh-agent 16:32:20 SSH_AUTH_SOCK=/tmp/ssh-AIT0LeubwhTV/agent.34 16:32:20 SSH_AGENT_PID=40 16:32:20 Running ssh-add (command line suppressed) 16:32:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3120171690489629655.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3120171690489629655.key) 16:32:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:21 + git semver tag 16:32:21 2023-02-02 16:32:21,283 [run_tag] DEBUG tag force:False 16:32:21 2023-02-02 16:32:21,283 [check_head_tag] DEBUG check head tag 16:32:21 2023-02-02 16:32:21,285 [execute] INFO git cat-file --batch-check 16:32:21 2023-02-02 16:32:21,285 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:32:21 2023-02-02 16:32:21,288 [execute] INFO git cat-file --batch 16:32:21 2023-02-02 16:32:21,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:32:21 2023-02-02 16:32:21,313 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:21 2023-02-02 16:32:21,313 [execute] INFO git tag -a v3.0.0-dev.16 -m v3.0.0-dev.16 16:32:21 2023-02-02 16:32:21,313 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.16', '-m', 'v3.0.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:32:21 2023-02-02 16:32:21,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:21 3.0.0-dev.16 [Pipeline] } 16:32:21 $ docker exec --env ******** --env ******** c64ae97a347492a7b585f1aebf01eda87666c74f4f52e2e4810075ab3acd800b ssh-agent -k 16:32:21 unset SSH_AUTH_SOCK; 16:32:21 unset SSH_AGENT_PID; 16:32:21 echo Agent pid 40 killed; 16:32:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:21 + git semver [Pipeline] } 16:32:22 $ docker stop --time=1 c64ae97a347492a7b585f1aebf01eda87666c74f4f52e2e4810075ab3acd800b 16:32:23 $ docker rm -f --volumes c64ae97a347492a7b585f1aebf01eda87666c74f4f52e2e4810075ab3acd800b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:32:23 16:32:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:32:24 0.23.1-centos7: Pulling from edgex-lftools 16:32:24 ab5ef0e58194: Pulling fs layer 16:32:24 9712f1f96733: Pulling fs layer 16:32:24 63f879dbbcfc: Pulling fs layer 16:32:24 0d9ebad4ef96: Pulling fs layer 16:32:24 e9a5061849ea: Pulling fs layer 16:32:24 d747dcd14b5f: Pulling fs layer 16:32:24 2de7ff778b66: Pulling fs layer 16:32:24 0d9ebad4ef96: Waiting 16:32:24 e9a5061849ea: Waiting 16:32:24 d747dcd14b5f: Waiting 16:32:24 2de7ff778b66: Waiting 16:32:24 9712f1f96733: Verifying Checksum 16:32:24 9712f1f96733: Download complete 16:32:25 63f879dbbcfc: Verifying Checksum 16:32:25 63f879dbbcfc: Download complete 16:32:26 e9a5061849ea: Verifying Checksum 16:32:26 d747dcd14b5f: Download complete 16:32:26 0d9ebad4ef96: Verifying Checksum 16:32:26 0d9ebad4ef96: Download complete 16:32:26 ab5ef0e58194: Verifying Checksum 16:32:26 ab5ef0e58194: Download complete 16:32:26 2de7ff778b66: Verifying Checksum 16:32:26 2de7ff778b66: Download complete 16:32:28 ab5ef0e58194: Pull complete 16:32:28 9712f1f96733: Pull complete 16:32:29 63f879dbbcfc: Pull complete 16:32:32 0d9ebad4ef96: Pull complete 16:32:32 e9a5061849ea: Pull complete 16:32:32 d747dcd14b5f: Pull complete 16:32:33 2de7ff778b66: Pull complete 16:32:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:32:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:32:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:33 prd-ubuntu20.04-docker-8c-8g-4377 does not seem to be running inside a container 16:32:33 $ 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 16:32:36 $ docker top 1ab5dfb7ea82de642e2b139824085e39fa6d3f835c5e4c6c1cb60ab7447a5418 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:32:36 provisioning config files... 16:32:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13844636304513566816tmp 16:32:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config409319184540652027tmp 16:32:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7190481356698642770tmp [Pipeline] { [Pipeline] echo 16:32:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:32:36 ---> sigul-configuration.sh 16:32:36 gpg: directory `/root/.gnupg' created 16:32:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:32:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:32:36 gpg: keyring `/root/.gnupg/secring.gpg' created 16:32:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:32:36 gpg: CAST5 encrypted data 16:32:36 gpg: encrypted with 1 passphrase 16:32:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:32:37 + mkdir /home/jenkins 16:32:37 + mkdir /home/jenkins/sigul [Pipeline] sh 16:32:37 + 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 16:32:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:32:37 ---> sigul-install.sh 16:32:37 Sigul already installed; skipping installation. [Pipeline] sh 16:32:37 + git tag --list 16:32:37 0.7.1 16:32:37 delhi-tag 16:32:37 v1.0.0 16:32:37 v1.1.0 16:32:37 v1.1.1 16:32:37 v1.1.2 16:32:37 v1.2.0 16:32:37 v1.2.1 16:32:37 v1.2.2 16:32:37 v1.2.3 16:32:37 v1.3.0 16:32:37 v1.4.0 16:32:37 v2.0.0 16:32:37 v2.1.0 16:32:37 v2.1.1 16:32:37 v2.1.1-dev.2 16:32:37 v2.1.1-dev.3 16:32:37 v2.2.0 16:32:37 v2.2.1-dev.1 16:32:37 v2.2.1-dev.10 16:32:37 v2.2.1-dev.11 16:32:37 v2.2.1-dev.12 16:32:37 v2.2.1-dev.13 16:32:37 v2.2.1-dev.14 16:32:37 v2.2.1-dev.2 16:32:37 v2.2.1-dev.3 16:32:37 v2.2.1-dev.4 16:32:37 v2.2.1-dev.5 16:32:37 v2.2.1-dev.6 16:32:37 v2.2.1-dev.7 16:32:37 v2.2.1-dev.8 16:32:37 v2.2.1-dev.9 16:32:37 v2.3.0 16:32:37 v2.3.0-dev.14 16:32:37 v2.3.0-dev.15 16:32:37 v2.3.0-dev.16 16:32:37 v2.3.0-dev.17 16:32:37 v2.3.0-dev.18 16:32:37 v2.3.0-dev.19 16:32:37 v2.3.0-dev.20 16:32:37 v2.3.0-dev.21 16:32:37 v2.3.0-dev.22 16:32:37 v2.3.0-dev.23 16:32:37 v2.3.0-dev.24 16:32:37 v2.3.0-dev.25 16:32:37 v2.3.0-dev.26 16:32:37 v2.3.0-dev.27 16:32:37 v2.3.0-dev.28 16:32:37 v2.3.0-dev.29 16:32:37 v2.3.0-dev.30 16:32:37 v2.3.0-dev.31 16:32:37 v2.3.0-dev.32 16:32:37 v2.3.0-dev.33 16:32:37 v2.3.0-dev.34 16:32:37 v2.3.0-dev.35 16:32:37 v2.3.0-dev.36 16:32:37 v2.3.0-dev.37 16:32:37 v2.3.0-dev.38 16:32:37 v2.3.0-dev.39 16:32:37 v2.3.0-dev.40 16:32:37 v2.3.0-dev.41 16:32:37 v2.3.0-dev.42 16:32:37 v2.3.0-dev.43 16:32:37 v2.3.0-dev.44 16:32:37 v2.3.0-dev.45 16:32:37 v2.3.0-dev.46 16:32:37 v2.3.0-dev.47 16:32:37 v2.3.0-dev.48 16:32:37 v2.3.0-dev.49 16:32:37 v2.3.0-dev.50 16:32:37 v2.3.0-dev.51 16:32:37 v2.3.1-dev.1 16:32:37 v2.3.1-dev.2 16:32:37 v3.0.0-dev.1 16:32:37 v3.0.0-dev.10 16:32:37 v3.0.0-dev.11 16:32:37 v3.0.0-dev.12 16:32:37 v3.0.0-dev.13 16:32:37 v3.0.0-dev.14 16:32:37 v3.0.0-dev.15 16:32:37 v3.0.0-dev.16 16:32:37 v3.0.0-dev.2 16:32:37 v3.0.0-dev.3 16:32:37 v3.0.0-dev.4 16:32:37 v3.0.0-dev.5 16:32:37 v3.0.0-dev.6 16:32:37 v3.0.0-dev.7 16:32:37 v3.0.0-dev.8 16:32:37 v3.0.0-dev.9 [Pipeline] sh 16:32:38 + lftools sign git-tag v3.0.0-dev.16 16:32:38 Signing Git tag with Sigul... 16:32:38 Signing v3.0.0-dev.16 [Pipeline] echo 16:32:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:32:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:32:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:32:39 $ docker stop --time=1 1ab5dfb7ea82de642e2b139824085e39fa6d3f835c5e4c6c1cb60ab7447a5418 16:32:40 $ docker rm -f --volumes 1ab5dfb7ea82de642e2b139824085e39fa6d3f835c5e4c6c1cb60ab7447a5418 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:32:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:32:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:32:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:41 prd-ubuntu20.04-docker-8c-8g-4377 does not seem to be running inside a container 16:32:41 $ 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 16:32:41 $ docker top 53515c017c0825acdb436d34837a6f0f0d088dbac1c5b54a634ea7fdfbc03512 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:41 [ssh-agent] Looking for ssh-agent implementation... 16:32:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:41 $ docker exec 53515c017c0825acdb436d34837a6f0f0d088dbac1c5b54a634ea7fdfbc03512 ssh-agent 16:32:42 SSH_AUTH_SOCK=/tmp/ssh-N6yImv7LfEbJ/agent.32 16:32:42 SSH_AGENT_PID=38 16:32:42 Running ssh-add (command line suppressed) 16:32:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13599940847168949914.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13599940847168949914.key) 16:32:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:42 + git semver bump pre 16:32:42 2023-02-02 16:32:42,622 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:42 2023-02-02 16:32:42,622 [bump_version] DEBUG bumping version:3.0.0-dev.16 on axis:pre with prefix:dev 16:32:42 2023-02-02 16:32:42,622 [bump_version] DEBUG bumped version:3.0.0-dev.17 16:32:42 2023-02-02 16:32:42,622 [write_version] DEBUG write version:3.0.0-dev.17 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 16:32:42 2023-02-02 16:32:42,622 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:42 2023-02-02 16:32:42,622 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:42 2023-02-02 16:32:42,624 [execute] INFO git cat-file --batch-check 16:32:42 2023-02-02 16:32:42,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:32:42 2023-02-02 16:32:42,629 [execute] INFO git cat-file --batch 16:32:42 2023-02-02 16:32:42,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:32:42 2023-02-02 16:32:42,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:42 3.0.0-dev.17 [Pipeline] } 16:32:42 $ docker exec --env ******** --env ******** 53515c017c0825acdb436d34837a6f0f0d088dbac1c5b54a634ea7fdfbc03512 ssh-agent -k 16:32:42 unset SSH_AUTH_SOCK; 16:32:42 unset SSH_AGENT_PID; 16:32:42 echo Agent pid 38 killed; 16:32:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:43 + git semver [Pipeline] } 16:32:43 $ docker stop --time=1 53515c017c0825acdb436d34837a6f0f0d088dbac1c5b54a634ea7fdfbc03512 16:32:44 $ docker rm -f --volumes 53515c017c0825acdb436d34837a6f0f0d088dbac1c5b54a634ea7fdfbc03512 [Pipeline] // withDockerContainer [Pipeline] sh 16:32:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:32:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:32:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:45 prd-ubuntu20.04-docker-8c-8g-4377 does not seem to be running inside a container 16:32:45 $ 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 16:32:45 $ docker top 34421b3fd0370945179af2a97b989915cddbff3bde9ada01320f6788f3e23d9a -eo pid,comm 16:32:45 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). 16:32:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:45 [ssh-agent] Looking for ssh-agent implementation... 16:32:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:45 $ docker exec 34421b3fd0370945179af2a97b989915cddbff3bde9ada01320f6788f3e23d9a ssh-agent 16:32:46 SSH_AUTH_SOCK=/tmp/ssh-d3tQSiBZy2hw/agent.32 16:32:46 SSH_AGENT_PID=38 16:32:46 Running ssh-add (command line suppressed) 16:32:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5522270512037716585.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5522270512037716585.key) 16:32:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:46 + git semver push 16:32:46 2023-02-02 16:32:46,650 [run_push] DEBUG push 16:32:46 2023-02-02 16:32:46,651 [execute] INFO git cat-file --batch-check 16:32:46 2023-02-02 16:32:46,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:32:46 2023-02-02 16:32:46,653 [execute] INFO git rev-list 996f1cb426c0f03f095e8e9f0c65b59c7321bc8d -- 16:32:46 2023-02-02 16:32:46,654 [execute] DEBUG Popen(['git', 'rev-list', '996f1cb426c0f03f095e8e9f0c65b59c7321bc8d', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:32:46 2023-02-02 16:32:46,663 [execute] INFO git fetch -v origin 16:32:46 2023-02-02 16:32:46,663 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:32:47 2023-02-02 16:32:47,190 [run_push] DEBUG no remote changes detected 16:32:47 2023-02-02 16:32:47,191 [execute] INFO git push origin semver 16:32:47 2023-02-02 16:32:47,191 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:32:48 2023-02-02 16:32:48,154 [run_push] DEBUG push all version tags 16:32:48 2023-02-02 16:32:48,155 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:32:48 2023-02-02 16:32:48,155 [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) 16:32:49 2023-02-02 16:32:48,961 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:49 3.0.0-dev.17 [Pipeline] } 16:32:49 $ docker exec --env ******** --env ******** 34421b3fd0370945179af2a97b989915cddbff3bde9ada01320f6788f3e23d9a ssh-agent -k 16:32:49 unset SSH_AUTH_SOCK; 16:32:49 unset SSH_AGENT_PID; 16:32:49 echo Agent pid 38 killed; 16:32:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:49 + git semver [Pipeline] } 16:32:49 $ docker stop --time=1 34421b3fd0370945179af2a97b989915cddbff3bde9ada01320f6788f3e23d9a 16:32:51 $ docker rm -f --volumes 34421b3fd0370945179af2a97b989915cddbff3bde9ada01320f6788f3e23d9a [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 16:32:51 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 16:32:51 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:32:51 total 16 16:32:51 drwxr-xr-x 3 root root 4096 Feb 2 16:22 . 16:32:51 drwxrwxr-x 12 jenkins jenkins 4096 Feb 2 16:32 .. 16:32:51 drwxr-xr-x 2 root root 4096 Feb 2 16:22 cost 16:32:51 -rw-r--r-- 1 root root 85 Feb 2 16:22 cost.csv 16:32:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:32:51 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:32:51 total 16 16:32:51 drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 16:22 . 16:32:51 drwxrwxr-x 12 jenkins jenkins 4096 Feb 2 16:32 .. 16:32:51 drwxr-xr-x 2 jenkins jenkins 4096 Feb 2 16:22 cost 16:32:51 -rw-r--r-- 1 jenkins jenkins 85 Feb 2 16:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:32:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:32:52 ---> package-listing.sh 16:32:52 ++ facter osfamily 16:32:52 ++ tr '[:upper:]' '[:lower:]' 16:32:53 + OS_FAMILY=debian 16:32:53 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 16:32:53 + START_PACKAGES=/tmp/packages_start.txt 16:32:53 + END_PACKAGES=/tmp/packages_end.txt 16:32:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:32:53 + PACKAGES=/tmp/packages_start.txt 16:32:53 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:32:53 + PACKAGES=/tmp/packages_end.txt 16:32:53 + case "${OS_FAMILY}" in 16:32:53 + dpkg -l 16:32:53 + grep '^ii' 16:32:53 + '[' -f /tmp/packages_start.txt ']' 16:32:53 + '[' -f /tmp/packages_end.txt ']' 16:32:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:32:53 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:32:53 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 16:32:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 16:32:53 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 16:32:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:54 prd-ubuntu20.04-docker-8c-8g-4377 does not seem to be running inside a container 16:32:54 $ 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 16:32:54 $ docker top 951a5e08ed1bc2f24f6dec1f3e6106ecdea2e09e5d064f8e8b4319bb219a528c -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:54 + touch /tmp/pre-build-complete [Pipeline] sh 16:32:54 + mkdir -p /var/log/sysstat [Pipeline] sh 16:32:55 + ls /var/log/sa-host 16:32:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:55 provisioning config files... 16:32:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5360114451006589325tmp [Pipeline] { [Pipeline] echo 16:32:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:32:55 ---> create-netrc.sh [Pipeline] } 16:32:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:32:56 ---> python-tools-install.sh [Pipeline] echo 16:32:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:32:56 ---> sudo-logs.sh 16:32:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:32:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:32:56 ---> job-cost.sh 16:32:56 lf-activate-venv: SKIPPING 16:32:56 DEBUG: total: 0.2199999988079071 16:32:56 INFO: Retrieving Stack Cost... 16:32:57 INFO: Retrieving Pricing Info for: v3-standard-8 16:32:57 INFO: Archiving Costs [Pipeline] echo 16:32:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:32:57 ---> logs-deploy.sh 16:32:57 lf-activate-venv: SKIPPING 16:32:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/146 16:32:57 INFO: archiving workspace using pattern(s): 16:32:58 Archives upload complete. 16:32:59 INFO: archiving logs to Nexus