Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f03d932b600fd46a3b503f339d4d9f330fd6c1ce 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-ssh11747671874446301955.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-ssh4466067471439606724.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-ssh7353709869663262497.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-ssh3624118807325926204.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-ssh18244527775449013913.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6441 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 f03d932b600fd46a3b503f339d4d9f330fd6c1ce (main) Commit message: "Merge pull request #1329 from jinlinGuan/contracts-issue-771" > 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 f03d932b600fd46a3b503f339d4d9f330fd6c1ce # timeout=10 > git rev-list --no-walk bf4aa2dff0c0a7f4a97997804f6014e11af12954 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:49:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:49:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:49:31 ========================================================= 09:49:31 EdgeX Global Pipelines Version Info 09:49:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:49:32 ------------------- 09:49:32 stable info: 09:49:32 ------------------- 09:49:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:49:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:49:32 Message: update stable to v1.0.244 09:49:33 ------------------- 09:49:33 experimental info: 09:49:33 ------------------- 09:49:33 Commited By: **** collab-it+edgex@linuxfoundation.org 09:49:33 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 09:49:33 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f03d932b600fd46a3b503f339d4d9f330fd6c1ce [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f03d932 [Pipeline] echo 09:49:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:49:33 provisioning config files... 09:49:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4005166014966963872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:49:34 ---> docker-login.sh 09:49:34 nexus3.edgexfoundry.org:10001 09:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:34 Configure a credential helper to remove this warning. See 09:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:34 09:49:34 Login Succeeded 09:49:34 nexus3.edgexfoundry.org:10002 09:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:34 Configure a credential helper to remove this warning. See 09:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:34 09:49:34 Login Succeeded 09:49:34 nexus3.edgexfoundry.org:10003 09:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:34 Configure a credential helper to remove this warning. See 09:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:34 09:49:34 Login Succeeded 09:49:34 nexus3.edgexfoundry.org:10004 09:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:34 Configure a credential helper to remove this warning. See 09:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:34 09:49:34 Login Succeeded 09:49:34 docker.io 09:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:35 Configure a credential helper to remove this warning. See 09:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:35 09:49:35 Login Succeeded 09:49:35 ---> docker-login.sh ends [Pipeline] } 09:49:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:49:35 + git rev-list -1 --merges f03d932b600fd46a3b503f339d4d9f330fd6c1ce~1..f03d932b600fd46a3b503f339d4d9f330fd6c1ce [Pipeline] echo 09:49:35 -----------> git rev-list -1 --merges f03d932b600fd46a3b503f339d4d9f330fd6c1ce~1..f03d932b600fd46a3b503f339d4d9f330fd6c1ce f03d932b600fd46a3b503f339d4d9f330fd6c1ce 09:49:35 f03d932b600fd46a3b503f339d4d9f330fd6c1ce [false] [Pipeline] sh 09:49:35 + git log --format=format:%s -1 f03d932b600fd46a3b503f339d4d9f330fd6c1ce [Pipeline] echo 09:49:35 ========================================================= 09:49:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:49:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:49:36 + git log --format=format:%s -1 f03d932b600fd46a3b503f339d4d9f330fd6c1ce [Pipeline] echo 09:49:36 [semverPrep] GIT_COMMIT: f03d932b600fd46a3b503f339d4d9f330fd6c1ce, Commit Message: Merge pull request #1329 from jinlinGuan/contracts-issue-771 [Pipeline] echo 09:49:36 [semverPrep] This is not a build commit. [Pipeline] sh 09:49:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:49:36 + grep -v github /etc/ssh/ssh_known_hosts 09:49:36 + [ -e /tmp/ssh_known_hosts ] 09:49:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:49:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:49:36 + sudo tee -a /etc/ssh/ssh_known_hosts 09:49:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:49:36 09:49:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:49:37 0.1.4: Pulling from edgex-devops/py-git-semver 09:49:37 b85a868b505f: Pulling fs layer 09:49:37 e2be974225ed: Pulling fs layer 09:49:37 339a4e72a1f5: Pulling fs layer 09:49:37 988bab9f4d93: Pulling fs layer 09:49:37 1469e6f7b9e6: Pulling fs layer 09:49:37 eaf3925da568: Pulling fs layer 09:49:37 bab4dde63d76: Pulling fs layer 09:49:37 bde34c3a00c8: Pulling fs layer 09:49:37 b352a97aabf1: Pulling fs layer 09:49:37 4872d77fe225: Pulling fs layer 09:49:37 5851b861e8e6: Pulling fs layer 09:49:37 1469e6f7b9e6: Waiting 09:49:37 b352a97aabf1: Waiting 09:49:37 5851b861e8e6: Waiting 09:49:37 4872d77fe225: Waiting 09:49:37 988bab9f4d93: Waiting 09:49:37 bde34c3a00c8: Waiting 09:49:37 e2be974225ed: Verifying Checksum 09:49:37 e2be974225ed: Download complete 09:49:37 988bab9f4d93: Download complete 09:49:37 339a4e72a1f5: Verifying Checksum 09:49:37 339a4e72a1f5: Download complete 09:49:37 1469e6f7b9e6: Verifying Checksum 09:49:37 1469e6f7b9e6: Download complete 09:49:37 eaf3925da568: Verifying Checksum 09:49:37 eaf3925da568: Download complete 09:49:37 bde34c3a00c8: Download complete 09:49:37 b352a97aabf1: Verifying Checksum 09:49:37 4872d77fe225: Verifying Checksum 09:49:37 5851b861e8e6: Verifying Checksum 09:49:37 5851b861e8e6: Download complete 09:49:37 b85a868b505f: Verifying Checksum 09:49:37 b85a868b505f: Download complete 09:49:38 bab4dde63d76: Verifying Checksum 09:49:38 bab4dde63d76: Download complete 09:49:38 b85a868b505f: Pull complete 09:49:38 e2be974225ed: Pull complete 09:49:39 339a4e72a1f5: Pull complete 09:49:39 988bab9f4d93: Pull complete 09:49:39 1469e6f7b9e6: Pull complete 09:49:39 eaf3925da568: Pull complete 09:49:41 bab4dde63d76: Pull complete 09:49:41 bde34c3a00c8: Pull complete 09:49:41 b352a97aabf1: Pull complete 09:49:41 4872d77fe225: Pull complete 09:49:41 5851b861e8e6: Pull complete 09:49:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:49:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:49:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:49:42 prd-ubuntu20.04-docker-8c-8g-6441 does not seem to be running inside a container 09:49:42 $ 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 09:49:43 $ docker top f882aead8399785915c4fc0b41179a00d4cbb78fd77c2a27bebd990ca3907c0a -eo pid,comm 09:49:43 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). 09:49:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:49:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:49:43 [ssh-agent] Looking for ssh-agent implementation... 09:49:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:49:43 $ docker exec f882aead8399785915c4fc0b41179a00d4cbb78fd77c2a27bebd990ca3907c0a ssh-agent 09:49:43 SSH_AUTH_SOCK=/tmp/ssh-ZuMdl17x3F2p/agent.34 09:49:43 SSH_AGENT_PID=40 09:49:43 Running ssh-add (command line suppressed) 09:49:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7812671836382704711.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7812671836382704711.key) 09:49:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:49:44 + git tag --points-at HEAD [Pipeline] } 09:49:44 $ docker exec --env ******** --env ******** f882aead8399785915c4fc0b41179a00d4cbb78fd77c2a27bebd990ca3907c0a ssh-agent -k 09:49:44 unset SSH_AUTH_SOCK; 09:49:44 unset SSH_AGENT_PID; 09:49:44 echo Agent pid 40 killed; 09:49:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:49:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:49:44 [ssh-agent] Looking for ssh-agent implementation... 09:49:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:49:44 $ docker exec f882aead8399785915c4fc0b41179a00d4cbb78fd77c2a27bebd990ca3907c0a ssh-agent 09:49:44 SSH_AUTH_SOCK=/tmp/ssh-cIlABNogwUax/agent.72 09:49:44 SSH_AGENT_PID=78 09:49:44 Running ssh-add (command line suppressed) 09:49:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17241187181078067801.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17241187181078067801.key) 09:49:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:49:45 + git semver init 09:49:45 2023-02-17 09:49:45,299 [run_init] DEBUG init version:0.0.0 force:False 09:49:45 2023-02-17 09:49:45,300 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:49:45 2023-02-17 09:49:45,300 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:49:45 2023-02-17 09:49:45,300 [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) 09:49:46 2023-02-17 09:49:46,284 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 09:49:46 2023-02-17 09:49:46,285 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 09:49:46 2023-02-17 09:49:46,285 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:49:46 2023-02-17 09:49:46,285 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:49:46 3.0.0-dev.33 [Pipeline] } 09:49:46 $ docker exec --env ******** --env ******** f882aead8399785915c4fc0b41179a00d4cbb78fd77c2a27bebd990ca3907c0a ssh-agent -k 09:49:46 unset SSH_AUTH_SOCK; 09:49:46 unset SSH_AGENT_PID; 09:49:46 echo Agent pid 78 killed; 09:49:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:49:46 + git semver [Pipeline] } 09:49:47 $ docker stop --time=1 f882aead8399785915c4fc0b41179a00d4cbb78fd77c2a27bebd990ca3907c0a 09:49:48 $ docker rm -f --volumes f882aead8399785915c4fc0b41179a00d4cbb78fd77c2a27bebd990ca3907c0a [Pipeline] // withDockerContainer [Pipeline] sh 09:49:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:49:48 Stashed 1 file(s) [Pipeline] echo 09:49:48 [edgeXSemver]: initialized semver on version 3.0.0-dev.33 [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 09:49:49 provisioning config files... 09:49:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11582386018301672374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:49:49 ---> docker-login.sh 09:49:49 nexus3.edgexfoundry.org:10001 09:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:49 Configure a credential helper to remove this warning. See 09:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:49 09:49:49 Login Succeeded 09:49:49 nexus3.edgexfoundry.org:10002 09:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:49 Configure a credential helper to remove this warning. See 09:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:49 09:49:49 Login Succeeded 09:49:49 nexus3.edgexfoundry.org:10003 09:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:49 Configure a credential helper to remove this warning. See 09:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:49 09:49:49 Login Succeeded 09:49:49 nexus3.edgexfoundry.org:10004 09:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:49 Configure a credential helper to remove this warning. See 09:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:49 09:49:49 Login Succeeded 09:49:49 docker.io 09:49:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:49 Configure a credential helper to remove this warning. See 09:49:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:49 09:49:49 Login Succeeded 09:49:49 ---> docker-login.sh ends [Pipeline] } 09:49:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:49:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:49:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:49:49 ========================================================= 09:49:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:49:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:50 + 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 . 09:49:50 Sending build context to Docker daemon 10.51MB 09:49:50 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 09:49:50 Step 2/10 : FROM ${BASE} AS builder 09:49:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:49:50 213ec9aee27d: Pulling fs layer 09:49:50 4583459ba037: Pulling fs layer 09:49:50 93c1e223e6f2: Pulling fs layer 09:49:50 53926ce57604: Pulling fs layer 09:49:50 21b2b0c7a3f4: Pulling fs layer 09:49:50 22ff95d597cd: Pulling fs layer 09:49:50 12d6caf4c0d1: Pulling fs layer 09:49:50 96b7cbca73a9: Pulling fs layer 09:49:50 a7acece74701: Pulling fs layer 09:49:50 53926ce57604: Waiting 09:49:50 96b7cbca73a9: Waiting 09:49:50 a7acece74701: Waiting 09:49:50 22ff95d597cd: Waiting 09:49:50 12d6caf4c0d1: Waiting 09:49:50 93c1e223e6f2: Verifying Checksum 09:49:50 93c1e223e6f2: Download complete 09:49:50 4583459ba037: Download complete 09:49:50 21b2b0c7a3f4: Verifying Checksum 09:49:50 21b2b0c7a3f4: Download complete 09:49:50 22ff95d597cd: Verifying Checksum 09:49:50 22ff95d597cd: Download complete 09:49:50 213ec9aee27d: Verifying Checksum 09:49:50 213ec9aee27d: Download complete 09:49:50 12d6caf4c0d1: Download complete 09:49:50 213ec9aee27d: Pull complete 09:49:50 4583459ba037: Pull complete 09:49:50 93c1e223e6f2: Pull complete 09:49:51 a7acece74701: Verifying Checksum 09:49:51 a7acece74701: Download complete 09:49:51 53926ce57604: Verifying Checksum 09:49:51 53926ce57604: Download complete 09:49:51 96b7cbca73a9: Verifying Checksum 09:49:51 96b7cbca73a9: Download complete 09:49:55 53926ce57604: Pull complete 09:49:55 21b2b0c7a3f4: Pull complete 09:49:55 22ff95d597cd: Pull complete 09:49:55 12d6caf4c0d1: Pull complete 09:49:57 96b7cbca73a9: Pull complete 09:49:58 a7acece74701: Pull complete 09:49:58 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 09:49:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:49:58 ---> db6d94c90886 09:49:58 Step 3/10 : ARG MAKE=make build 09:50:00 ---> Running in 5486a90bce19 09:50:00 Removing intermediate container 5486a90bce19 09:50:00 ---> 620d61445e71 09:50:00 Step 4/10 : WORKDIR /device-sdk-go 09:50:00 ---> Running in 68192ad2c4fb 09:50:00 Removing intermediate container 68192ad2c4fb 09:50:00 ---> f866d9648a06 09:50:00 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:50:00 ---> Running in 0c08d0c975c6 09:50:00 Removing intermediate container 0c08d0c975c6 09:50:00 ---> ec67fd96fbc8 09:50:00 Step 6/10 : RUN apk add --update --no-cache make git 09:50:00 ---> Running in d89a7b7ed46e 09:50:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:50:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:50:01 OK: 211 MiB in 51 packages 09:50:01 Removing intermediate container d89a7b7ed46e 09:50:01 ---> 4e1d97cb5876 09:50:01 Step 7/10 : COPY go.mod vendor* ./ 09:50:01 ---> a4e906fec7da 09:50:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:50:01 ---> Running in 17a4d665199f 09:50:04 Still waiting to schedule task 09:50:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:50:23 Removing intermediate container 17a4d665199f 09:50:23 ---> 38347d4bb175 09:50:23 Step 9/10 : COPY . . 09:50:23 ---> 534cbe8cb0ae 09:50:23 Step 10/10 : RUN ${MAKE} 09:50:23 ---> Running in f5a4134c310c 09:50:23 noop 09:50:23 Removing intermediate container f5a4134c310c 09:50:23 ---> c81bb9ab80db 09:50:23 Successfully built c81bb9ab80db 09:50:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:23 + docker inspect -f . ci-base-image-x86_64 09:50:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:24 prd-ubuntu20.04-docker-8c-8g-6441 does not seem to be running inside a container 09:50:24 $ 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 09:50:24 $ docker top 5172bf668137c9d388df25a28de07983a1b07b8aa9512f0a8289fcc37724b795 -eo pid,comm [Pipeline] { [Pipeline] sh 09:50:24 + go version 09:50:24 go version go1.18.7 linux/amd64 [Pipeline] } 09:50:24 $ docker stop --time=1 5172bf668137c9d388df25a28de07983a1b07b8aa9512f0a8289fcc37724b795 09:50:26 $ docker rm -f --volumes 5172bf668137c9d388df25a28de07983a1b07b8aa9512f0a8289fcc37724b795 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:26 + docker inspect -f . ci-base-image-x86_64 09:50:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:26 prd-ubuntu20.04-docker-8c-8g-6441 does not seem to be running inside a container 09:50:26 $ 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 09:50:26 $ docker top 4bc997a7a003adb05500e55fc548292bd288c854e706a321cc141006eaf42bd3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:50:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 09:50:27 + make test 09:50:27 go test -race -coverprofile=coverage.out ./... 09:50:34 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:50:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements 09:50:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.075s coverage: 78.9% of statements 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 09:50:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.129s coverage: 86.0% of statements 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:50:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.110s coverage: 77.0% of statements 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 09:50:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 65.2% of statements 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:50:46 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.747s coverage: 89.2% of statements 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 09:50:46 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.057s coverage: 4.7% of statements 09:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:51:01 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." 09:51:01 GO111MODULE=on go vet ./... 09:51:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:51:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:51:03 ./bin/test-attribution-txt.sh [Pipeline] echo 09:51:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:51:03 $ docker stop --time=1 4bc997a7a003adb05500e55fc548292bd288c854e706a321cc141006eaf42bd3 09:51:06 $ docker rm -f --volumes 4bc997a7a003adb05500e55fc548292bd288c854e706a321cc141006eaf42bd3 [Pipeline] // withDockerContainer [Pipeline] sh 09:51:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:51:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:51:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:51:07 + ls -al . 09:51:07 total 272 09:51:07 drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 09:50 . 09:51:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 09:49 .. 09:51:07 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 09:49 .dockerignore 09:51:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 09:50 .git 09:51:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 09:49 .github 09:51:07 -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 09:49 .gitignore 09:51:07 -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 09:49 .golangci.yml 09:51:07 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 09:49 .semver 09:51:07 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 09:49 CHANGELOG.md 09:51:07 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 09:49 GOVERNANCE.md 09:51:07 -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 09:49 Jenkinsfile 09:51:07 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 09:49 LICENSE 09:51:07 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 09:49 Makefile 09:51:07 -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 09:49 OWNERS.md 09:51:07 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 09:49 README.md 09:51:07 -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 09:49 VERSION 09:51:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 09:49 bin 09:51:07 -rw-r--r-- 1 jenkins jenkins 98530 Feb 17 09:50 coverage.out 09:51:07 drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 09:49 example 09:51:07 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 09:49 go.mod 09:51:07 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 09:49 go.sum 09:51:07 drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 09:49 internal 09:51:07 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 09:49 openapi 09:51:07 drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 09:49 pkg 09:51:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 09:49 snap 09:51:07 -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 09:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:08 + 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=f03d932b600fd46a3b503f339d4d9f330fd6c1ce --label arch=amd64 --label version=3.0.0-dev.33 . 09:51:08 Sending build context to Docker daemon 10.61MB 09:51:08 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 09:51:08 Step 2/23 : FROM ${BASE} AS builder 09:51:08 ---> c81bb9ab80db 09:51:08 Step 3/23 : ARG MAKE=make build 09:51:08 ---> Running in 201a972b69e7 09:51:08 Removing intermediate container 201a972b69e7 09:51:08 ---> 442e172d22e3 09:51:08 Step 4/23 : WORKDIR /device-sdk-go 09:51:08 ---> Running in b94151958ff8 09:51:08 Removing intermediate container b94151958ff8 09:51:08 ---> 40ff307622fd 09:51:08 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:51:08 ---> Running in ed8670720bf4 09:51:08 Removing intermediate container ed8670720bf4 09:51:08 ---> 38e14d3c7961 09:51:08 Step 6/23 : RUN apk add --update --no-cache make git 09:51:08 ---> Running in c5435f11b59a 09:51:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:51:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:51:09 OK: 211 MiB in 51 packages 09:51:09 Removing intermediate container c5435f11b59a 09:51:09 ---> b7a33dd7190c 09:51:09 Step 7/23 : COPY go.mod vendor* ./ 09:51:09 ---> 1b4e12d33cab 09:51:09 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:51:09 ---> Running in 85ae371369fe 09:51:10 Removing intermediate container 85ae371369fe 09:51:10 ---> c00918b008f6 09:51:10 Step 9/23 : COPY . . 09:51:11 ---> c6a636c91c57 09:51:11 Step 10/23 : RUN ${MAKE} 09:51:11 ---> Running in ba0269861790 09:51:11 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.33" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:51:29 Removing intermediate container ba0269861790 09:51:29 ---> f0870e0903bd 09:51:29 Step 11/23 : FROM alpine:3.16 09:51:29 3.16: Pulling from library/alpine 09:51:29 ef5531b6e74e: Pulling fs layer 09:51:29 ef5531b6e74e: Verifying Checksum 09:51:29 ef5531b6e74e: Download complete 09:51:29 ef5531b6e74e: Pull complete 09:51:29 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 09:51:29 Status: Downloaded newer image for alpine:3.16 09:51:29 ---> dfd21b5a31f5 09:51:29 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:51:29 ---> Running in 24d42981546c 09:51:29 Removing intermediate container 24d42981546c 09:51:29 ---> a696cdaec886 09:51:29 Step 13/23 : RUN apk add --update --no-cache 09:51:29 ---> Running in 14d2ab9ed226 09:51:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:51:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:51:30 OK: 6 MiB in 14 packages 09:51:30 Removing intermediate container 14d2ab9ed226 09:51:30 ---> 5e4ad955cc66 09:51:30 Step 14/23 : WORKDIR / 09:51:30 ---> Running in 08c5fca6bc0b 09:51:30 Removing intermediate container 08c5fca6bc0b 09:51:30 ---> 9081b6215ef4 09:51:30 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:51:30 ---> 3115544e78a6 09:51:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:51:31 ---> 0149e15b1936 09:51:31 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:51:31 ---> d28930407b60 09:51:31 Step 18/23 : EXPOSE 59999 09:51:31 ---> Running in 459edf20fe6d 09:51:31 Removing intermediate container 459edf20fe6d 09:51:31 ---> 197e892fcec8 09:51:31 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:51:32 ---> Running in eeff1edd4784 09:51:32 Removing intermediate container eeff1edd4784 09:51:32 ---> ccf9d29d0bdf 09:51:32 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:51:32 ---> Running in 429daf0182a0 09:51:32 Removing intermediate container 429daf0182a0 09:51:32 ---> bd9b2ab56ac8 09:51:32 Step 21/23 : LABEL arch=amd64 09:51:32 ---> Running in 184fdb47f5cd 09:51:32 Removing intermediate container 184fdb47f5cd 09:51:32 ---> 0a8d05b5cebd 09:51:32 Step 22/23 : LABEL git_sha=f03d932b600fd46a3b503f339d4d9f330fd6c1ce 09:51:32 ---> Running in 1fa8e58a309d 09:51:32 Removing intermediate container 1fa8e58a309d 09:51:32 ---> 4e2e742a1775 09:51:32 Step 23/23 : LABEL version=3.0.0-dev.33 09:51:32 ---> Running in 44e2ced21876 09:51:32 Removing intermediate container 44e2ced21876 09:51:32 ---> 4bea26fd1ee9 09:51:32 [Warning] One or more build-args [ARCH] were not consumed 09:51:32 Successfully built 4bea26fd1ee9 09:51:32 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:51:32 09:51:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6442 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 09:51:33 Running in /w/workspace/device-sdk-go/163 [Pipeline] { [Pipeline] checkout 09:51:33 The recommended git tool is: git 09:51:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:51:33 latest: Pulling from edgex-lftools-log-publisher 09:51:33 5eb5b503b376: Pulling fs layer 09:51:33 5c69ac0246d0: Pulling fs layer 09:51:33 ec43610c2a17: Pulling fs layer 09:51:33 3a2ae6a8a46f: Pulling fs layer 09:51:33 33b1e0a273af: Pulling fs layer 09:51:33 5d3b04190fa2: Pulling fs layer 09:51:33 2f39f015ded8: Pulling fs layer 09:51:33 3a2ae6a8a46f: Waiting 09:51:33 33b1e0a273af: Waiting 09:51:33 5d3b04190fa2: Waiting 09:51:33 2f39f015ded8: Waiting 09:51:33 5c69ac0246d0: Download complete 09:51:33 3a2ae6a8a46f: Download complete 09:51:33 33b1e0a273af: Verifying Checksum 09:51:33 33b1e0a273af: Download complete 09:51:33 5d3b04190fa2: Verifying Checksum 09:51:33 5d3b04190fa2: Download complete 09:51:33 ec43610c2a17: Verifying Checksum 09:51:33 ec43610c2a17: Download complete 09:51:33 5eb5b503b376: Verifying Checksum 09:51:33 5eb5b503b376: Download complete 09:51:34 2f39f015ded8: Download complete 09:51:34 5eb5b503b376: Pull complete 09:51:35 5c69ac0246d0: Pull complete 09:51:35 ec43610c2a17: Pull complete 09:51:35 3a2ae6a8a46f: Pull complete 09:51:35 33b1e0a273af: Pull complete 09:51:35 5d3b04190fa2: Pull complete 09:51:37 using credential edgex-jenkins-ssh 09:51:37 Cloning the remote Git repository 09:51:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:51:37 > git init /w/workspace/device-sdk-go/163 # timeout=10 09:51:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:51:38 > git --version # timeout=10 09:51:38 > git --version # 'git version 2.25.1' 09:51:38 using GIT_SSH to set credentials SSH Credentials for GitHub 09:51:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:51:40 2f39f015ded8: Pull complete 09:51:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:51:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:51:40 prd-ubuntu20.04-docker-8c-8g-6441 does not seem to be running inside a container 09:51:40 $ 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 09:51:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:51:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:51:40 Avoid second fetch 09:51:40 Checking out Revision f03d932b600fd46a3b503f339d4d9f330fd6c1ce (main) 09:51:41 Commit message: "Merge pull request #1329 from jinlinGuan/contracts-issue-771" 09:51:41 09:51:41 GitHub has been notified of this commit’s build result 09:51:41 09:51:40 > git config core.sparsecheckout # timeout=10 09:51:40 > git checkout -f f03d932b600fd46a3b503f339d4d9f330fd6c1ce # timeout=10 09:51:42 $ docker top 10103125c4806cbe81b4a157336b8402f344f02b1e9f89f11cced9afbda061f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:51:43 ---> job-cost.sh 09:51:43 lf-activate-venv: SKIPPING 09:51:43 INFO: No Stack... 09:51:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:51:43 % Total % Received % Xferd Average Speed Time Time Time Current 09:51:43 Dload Upload Total Spent Left Speed 09:51:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 09:51:43 INFO: Retrieving Pricing Info for: v3-standard-8 09:51:44 INFO: Archiving Costs 09:51:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh 09:51:44 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 09:51:44 + cut -d, -f6 [Pipeline] lock 09:51:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-163-stack-cost] 09:51:44 Resource [jenkins-edgexfoundry-device-sdk-go-main-163-stack-cost] did not exist. Created. 09:51:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-163-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:51:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:51:44 + sudo tee /etc/docker/daemon.new 09:51:44 { 09:51:44 "registry-mirrors": [ 09:51:44 "https://nexus3.edgexfoundry.org:10001" 09:51:44 ], 09:51:44 "bip": "10.250.0.254/24", 09:51:44 "hosts": [ 09:51:44 "tcp://0.0.0.0:5555", 09:51:44 "unix:///var/run/docker.sock" 09:51:44 ], 09:51:44 "mtu": 1458, 09:51:44 "selinux-enabled": true, 09:51:44 "seccomp-profile": "/etc/docker/seccomp.json" 09:51:44 } [Pipeline] sh 09:51:44 + echo total: 0.2199999988079071 [Pipeline] stash 09:51:44 Stashed 1 file(s) [Pipeline] } 09:51:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-163-stack-cost] [Pipeline] // lock [Pipeline] } 09:51:44 $ docker stop --time=1 10103125c4806cbe81b4a157336b8402f344f02b1e9f89f11cced9afbda061f2 09:51:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 09:51:45 $ docker rm -f --volumes 10103125c4806cbe81b4a157336b8402f344f02b1e9f89f11cced9afbda061f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:51:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:52:04 provisioning config files... 09:52:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/163@tmp/config9454550451173514558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:52:05 ---> docker-login.sh 09:52:05 nexus3.edgexfoundry.org:10001 09:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:05 Configure a credential helper to remove this warning. See 09:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:05 09:52:05 Login Succeeded 09:52:05 nexus3.edgexfoundry.org:10002 09:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:06 Configure a credential helper to remove this warning. See 09:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:06 09:52:06 Login Succeeded 09:52:06 nexus3.edgexfoundry.org:10003 09:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:06 Configure a credential helper to remove this warning. See 09:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:06 09:52:06 Login Succeeded 09:52:06 nexus3.edgexfoundry.org:10004 09:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:06 Configure a credential helper to remove this warning. See 09:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:06 09:52:06 Login Succeeded 09:52:06 docker.io 09:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:07 Configure a credential helper to remove this warning. See 09:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:07 09:52:07 Login Succeeded 09:52:07 ---> docker-login.sh ends [Pipeline] } 09:52:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:52:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:52:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:52:07 ========================================================= 09:52:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:52:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:07 + 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 . 09:52:08 Sending build context to Docker daemon 5.642MB 09:52:08 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 09:52:08 Step 2/10 : FROM ${BASE} AS builder 09:52:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:52:08 9b18e9b68314: Pulling fs layer 09:52:08 35d82f9e3411: Pulling fs layer 09:52:08 e16973657156: Pulling fs layer 09:52:08 fc693d55d65f: Pulling fs layer 09:52:08 7e9fc2657dce: Pulling fs layer 09:52:08 dda99020689f: Pulling fs layer 09:52:08 db1c61fa0a46: Pulling fs layer 09:52:08 891c053d2c06: Pulling fs layer 09:52:08 fc693d55d65f: Waiting 09:52:08 7e9fc2657dce: Waiting 09:52:08 dda99020689f: Waiting 09:52:08 db1c61fa0a46: Waiting 09:52:08 891c053d2c06: Waiting 09:52:08 e16973657156: Verifying Checksum 09:52:08 e16973657156: Download complete 09:52:08 35d82f9e3411: Verifying Checksum 09:52:08 35d82f9e3411: Download complete 09:52:08 7e9fc2657dce: Verifying Checksum 09:52:08 7e9fc2657dce: Download complete 09:52:08 dda99020689f: Verifying Checksum 09:52:08 dda99020689f: Download complete 09:52:08 9b18e9b68314: Verifying Checksum 09:52:08 9b18e9b68314: Download complete 09:52:09 9b18e9b68314: Pull complete 09:52:09 891c053d2c06: Verifying Checksum 09:52:09 891c053d2c06: Download complete 09:52:09 35d82f9e3411: Pull complete 09:52:10 e16973657156: Pull complete 09:52:10 db1c61fa0a46: Verifying Checksum 09:52:10 db1c61fa0a46: Download complete 09:52:11 fc693d55d65f: Verifying Checksum 09:52:11 fc693d55d65f: Download complete 09:52:23 fc693d55d65f: Pull complete 09:52:23 7e9fc2657dce: Pull complete 09:52:23 dda99020689f: Pull complete 09:52:29 db1c61fa0a46: Pull complete 09:52:31 891c053d2c06: Pull complete 09:52:31 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 09:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:52:31 ---> f96f9c87975a 09:52:31 Step 3/10 : ARG MAKE=make build 09:52:33 ---> Running in 738a5d84319d 09:52:33 Removing intermediate container 738a5d84319d 09:52:33 ---> e86a1f645bc5 09:52:33 Step 4/10 : WORKDIR /device-sdk-go 09:52:33 ---> Running in d98db04c951d 09:52:33 Removing intermediate container d98db04c951d 09:52:33 ---> 1df8c42585bb 09:52:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:52:33 ---> Running in 45ae2bfcf0ce 09:52:33 Removing intermediate container 45ae2bfcf0ce 09:52:33 ---> 41c67fc7f1d0 09:52:33 Step 6/10 : RUN apk add --update --no-cache make git 09:52:33 ---> Running in 0097c5e4c863 09:52:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:52:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:52:35 OK: 221 MiB in 51 packages 09:52:36 Removing intermediate container 0097c5e4c863 09:52:36 ---> a16ce8ccbfcc 09:52:36 Step 7/10 : COPY go.mod vendor* ./ 09:52:37 ---> 2ea2f8909d09 09:52:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:52:37 ---> Running in cfec11b86f43 09:53:45 Removing intermediate container cfec11b86f43 09:53:45 ---> 204f07a51efb 09:53:45 Step 9/10 : COPY . . 09:53:45 ---> b6ee386b1dd9 09:53:45 Step 10/10 : RUN ${MAKE} 09:53:45 ---> Running in 270ea7f0fdab 09:53:45 noop 09:53:45 Removing intermediate container 270ea7f0fdab 09:53:45 ---> 90887bb62904 09:53:45 Successfully built 90887bb62904 09:53:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:45 + docker inspect -f . ci-base-image-arm64 09:53:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:46 prd-ubuntu20.04-docker-arm64-4c-16g-6442 does not seem to be running inside a container 09:53:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/163 -v /w/workspace/device-sdk-go/163:/w/workspace/device-sdk-go/163:rw,z -v /w/workspace/device-sdk-go/163@tmp:/w/workspace/device-sdk-go/163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:53:47 $ docker top 571c11038cd16187478dc2e035dfb7def6f47ea9c38326a5200a7f86e1272f54 -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:48 + go version 09:53:48 go version go1.18.7 linux/arm64 [Pipeline] } 09:53:48 $ docker stop --time=1 571c11038cd16187478dc2e035dfb7def6f47ea9c38326a5200a7f86e1272f54 09:53:49 $ docker rm -f --volumes 571c11038cd16187478dc2e035dfb7def6f47ea9c38326a5200a7f86e1272f54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:50 + docker inspect -f . ci-base-image-arm64 09:53:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:50 prd-ubuntu20.04-docker-arm64-4c-16g-6442 does not seem to be running inside a container 09:53:50 $ 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/163 -v /w/workspace/device-sdk-go/163:/w/workspace/device-sdk-go/163:rw,z -v /w/workspace/device-sdk-go/163@tmp:/w/workspace/device-sdk-go/163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:53:51 $ docker top f457a51821987777f7f86e817fe7d86b971f12d036903dc4b64a1391c833e727 -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:52 + git config --global --add safe.directory /w/workspace/device-sdk-go/163 [Pipeline] fileExists [Pipeline] sh 09:53:52 + make test 09:53:52 go test -race -coverprofile=coverage.out ./... 09:54:24 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:56:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:56:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:56:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:56:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:56:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:56:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.430s coverage: 27.6% of statements 09:56:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.459s coverage: 78.9% of statements 09:56:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 09:56:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.570s coverage: 86.0% of statements 09:56:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:56:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:56:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.507s coverage: 77.0% of statements 09:56:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:56:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 09:56:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 09:56:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.383s coverage: 65.2% of statements 09:56:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:56:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:56:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.504s coverage: 89.2% of statements 09:56:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 09:56:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.361s coverage: 4.7% of statements 09:56:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:56:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:56:29 GO111MODULE=on go vet ./... 09:58:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:58:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:58:05 ./bin/test-attribution-txt.sh [Pipeline] echo 09:58:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:58:05 $ docker stop --time=1 f457a51821987777f7f86e817fe7d86b971f12d036903dc4b64a1391c833e727 09:58:07 $ docker rm -f --volumes f457a51821987777f7f86e817fe7d86b971f12d036903dc4b64a1391c833e727 [Pipeline] // withDockerContainer [Pipeline] sh 09:58:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:58:08 Warning: overwriting stash ‘coverage-report’ 09:58:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:58:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:58:10 + ls -al . 09:58:10 total 268 09:58:10 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 09:53 . 09:58:10 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 09:51 .. 09:58:10 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 09:51 .dockerignore 09:58:10 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 09:51 .git 09:58:10 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 09:51 .github 09:58:10 -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 09:51 .gitignore 09:58:10 -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 09:51 .golangci.yml 09:58:10 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 09:51 CHANGELOG.md 09:58:10 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 09:51 GOVERNANCE.md 09:58:10 -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 09:51 Jenkinsfile 09:58:10 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 09:51 LICENSE 09:58:10 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 09:51 Makefile 09:58:10 -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 09:51 OWNERS.md 09:58:10 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 09:51 README.md 09:58:10 -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 09:49 VERSION 09:58:10 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 09:51 bin 09:58:10 -rw-r--r-- 1 jenkins jenkins 98530 Feb 17 09:56 coverage.out 09:58:10 drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 09:51 example 09:58:10 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 09:51 go.mod 09:58:10 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 09:51 go.sum 09:58:10 drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 09:51 internal 09:58:10 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 09:51 openapi 09:58:10 drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 09:51 pkg 09:58:10 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 09:51 snap 09:58:10 -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 09:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:10 + 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=f03d932b600fd46a3b503f339d4d9f330fd6c1ce --label arch=arm64 --label version=3.0.0-dev.33 . 09:58:10 Sending build context to Docker daemon 5.741MB 09:58:10 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 09:58:10 Step 2/23 : FROM ${BASE} AS builder 09:58:10 ---> 90887bb62904 09:58:10 Step 3/23 : ARG MAKE=make build 09:58:11 ---> Running in 995252c4b71b 09:58:11 Removing intermediate container 995252c4b71b 09:58:11 ---> e3d844b1ccdb 09:58:11 Step 4/23 : WORKDIR /device-sdk-go 09:58:11 ---> Running in 12c65a915e8d 09:58:11 Removing intermediate container 12c65a915e8d 09:58:11 ---> 9490bd07d003 09:58:11 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:58:11 ---> Running in 0de866bd5fff 09:58:12 Removing intermediate container 0de866bd5fff 09:58:12 ---> 35b2b0864aff 09:58:12 Step 6/23 : RUN apk add --update --no-cache make git 09:58:12 ---> Running in 4a205c20d745 09:58:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:58:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:58:14 OK: 221 MiB in 51 packages 09:58:15 Removing intermediate container 4a205c20d745 09:58:15 ---> 33e1bb7d0adc 09:58:15 Step 7/23 : COPY go.mod vendor* ./ 09:58:15 ---> 86d116aaa18a 09:58:15 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:58:15 ---> Running in 49dcc9d89f0f 09:58:18 Removing intermediate container 49dcc9d89f0f 09:58:18 ---> e6d8cd0ff2f6 09:58:18 Step 9/23 : COPY . . 09:58:19 ---> fe6b7a016a29 09:58:19 Step 10/23 : RUN ${MAKE} 09:58:19 ---> Running in 5a0afda797a7 09:58:20 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.33" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:00:42 Removing intermediate container 5a0afda797a7 10:00:42 ---> cbce1fe53acc 10:00:42 Step 11/23 : FROM alpine:3.16 10:00:42 3.16: Pulling from library/alpine 10:00:42 3760b48202b3: Pulling fs layer 10:00:42 3760b48202b3: Verifying Checksum 10:00:42 3760b48202b3: Download complete 10:00:42 3760b48202b3: Pull complete 10:00:42 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 10:00:42 Status: Downloaded newer image for alpine:3.16 10:00:42 ---> 4c81e5bf8899 10:00:42 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:00:42 ---> Running in e140d1dda3cb 10:00:42 Removing intermediate container e140d1dda3cb 10:00:42 ---> 7d06ec7fd149 10:00:42 Step 13/23 : RUN apk add --update --no-cache 10:00:42 ---> Running in 9c85ed60971a 10:00:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:00:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:00:42 OK: 5 MiB in 14 packages 10:00:42 Removing intermediate container 9c85ed60971a 10:00:42 ---> d2318f3fe099 10:00:42 Step 14/23 : WORKDIR / 10:00:42 ---> Running in 0356cd2f4765 10:00:42 Removing intermediate container 0356cd2f4765 10:00:42 ---> d2e91827402a 10:00:42 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:00:42 ---> ae7c3bd94740 10:00:42 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:00:42 ---> 5555e2ea0a76 10:00:42 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:00:42 ---> 400a122515fb 10:00:42 Step 18/23 : EXPOSE 59999 10:00:42 ---> Running in a4f7e8b1c78b 10:00:42 Removing intermediate container a4f7e8b1c78b 10:00:42 ---> 08dd06367d4a 10:00:42 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:00:42 ---> Running in eef46cbcfa27 10:00:42 Removing intermediate container eef46cbcfa27 10:00:42 ---> 687aabe9c990 10:00:42 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:00:42 ---> Running in f9539a400a23 10:00:42 Removing intermediate container f9539a400a23 10:00:42 ---> bbeaba4af3fb 10:00:42 Step 21/23 : LABEL arch=arm64 10:00:42 ---> Running in e013a0221e49 10:00:42 Removing intermediate container e013a0221e49 10:00:42 ---> 80efe2614f52 10:00:42 Step 22/23 : LABEL git_sha=f03d932b600fd46a3b503f339d4d9f330fd6c1ce 10:00:42 ---> Running in 132e54200312 10:00:43 Removing intermediate container 132e54200312 10:00:43 ---> 3f4c404dae2e 10:00:43 Step 23/23 : LABEL version=3.0.0-dev.33 10:00:43 ---> Running in 7c6155c3f56c 10:00:43 Removing intermediate container 7c6155c3f56c 10:00:43 ---> 69564e3c419b 10:00:43 [Warning] One or more build-args [ARCH] were not consumed 10:00:43 Successfully built 69564e3c419b 10:00:43 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 10:00:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:00:44 10:00:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:00:44 arm64: Pulling from edgex-lftools-log-publisher 10:00:44 8998bd30e6a1: Pulling fs layer 10:00:44 04944245beec: Pulling fs layer 10:00:44 699f458cf7ca: Pulling fs layer 10:00:44 765212b225bb: Pulling fs layer 10:00:44 f23df028b6ca: Pulling fs layer 10:00:44 d65c8cfc05b1: Pulling fs layer 10:00:44 2437ff75d9bd: Pulling fs layer 10:00:44 765212b225bb: Waiting 10:00:44 f23df028b6ca: Waiting 10:00:44 d65c8cfc05b1: Waiting 10:00:44 2437ff75d9bd: Waiting 10:00:44 04944245beec: Verifying Checksum 10:00:44 04944245beec: Download complete 10:00:44 765212b225bb: Verifying Checksum 10:00:44 765212b225bb: Download complete 10:00:44 f23df028b6ca: Verifying Checksum 10:00:44 f23df028b6ca: Download complete 10:00:44 d65c8cfc05b1: Verifying Checksum 10:00:44 d65c8cfc05b1: Download complete 10:00:45 699f458cf7ca: Verifying Checksum 10:00:45 699f458cf7ca: Download complete 10:00:45 8998bd30e6a1: Verifying Checksum 10:00:45 8998bd30e6a1: Download complete 10:00:47 2437ff75d9bd: Verifying Checksum 10:00:47 2437ff75d9bd: Download complete 10:00:49 8998bd30e6a1: Pull complete 10:00:49 04944245beec: Pull complete 10:00:50 699f458cf7ca: Pull complete 10:00:50 765212b225bb: Pull complete 10:00:51 f23df028b6ca: Pull complete 10:00:51 d65c8cfc05b1: Pull complete 10:01:06 2437ff75d9bd: Pull complete 10:01:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:01:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:01:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:07 prd-ubuntu20.04-docker-arm64-4c-16g-6442 does not seem to be running inside a container 10:01:07 $ 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/163 -v /w/workspace/device-sdk-go/163:/w/workspace/device-sdk-go/163:rw,z -v /w/workspace/device-sdk-go/163@tmp:/w/workspace/device-sdk-go/163@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:arm64 cat 10:01:09 $ docker top 88bb677d8e5c03439421958aa8207fc0031d069dda3b89d87102179291338514 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:10 ---> job-cost.sh 10:01:10 lf-activate-venv: SKIPPING 10:01:10 INFO: No Stack... 10:01:11 INFO: Retrieving Pricing Info for: v3-standard-4 10:01:12 INFO: Archiving Costs [Pipeline] sh 10:01:13 + + cut -d,cat -f6 /w/workspace/device-sdk-go/163/archives/cost.csv 10:01:13 [Pipeline] lock 10:01:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-163-stack-cost] 10:01:13 Resource [jenkins-edgexfoundry-device-sdk-go-main-163-stack-cost] did not exist. Created. 10:01:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-163-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:01:13 /w/workspace/device-sdk-go/163@tmp/durable-a7714532/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:01:14 + echo total: 0.10999999940395355 [Pipeline] stash 10:01:14 Warning: overwriting stash ‘stack-cost’ 10:01:14 Stashed 1 file(s) [Pipeline] } 10:01:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-163-stack-cost] [Pipeline] // lock [Pipeline] } 10:01:14 $ docker stop --time=1 88bb677d8e5c03439421958aa8207fc0031d069dda3b89d87102179291338514 10:01:17 $ docker rm -f --volumes 88bb677d8e5c03439421958aa8207fc0031d069dda3b89d87102179291338514 [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 10:01:17 provisioning config files... 10:01:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11392762946081824176tmp [Pipeline] { [Pipeline] sh 10:01:18 + set +x 10:01:18 + + curl -s https://codecov.io/bash 10:01:18 bash -s -- 10:01:18 10:01:18 _____ _ 10:01:18 / ____| | | 10:01:18 | | ___ __| | ___ ___ _____ __ 10:01:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:01:18 | |___| (_) | (_| | __/ (_| (_) \ V / 10:01:18 \_____\___/ \__,_|\___|\___\___/ \_/ 10:01:18 Bash-1.0.6 10:01:18 10:01:18 10:01:18 ==> git version 2.25.1 found 10:01:18 ==> 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 10:01:18 Release-Date: 2020-01-08 10:01:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:01:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:01:18 ==> Jenkins CI detected. 10:01:18 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 10:01:18 project root: . 10:01:18 --> token set from env 10:01:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:01:18 ==> Running gcov in . (disable via -X gcov) 10:01:18 ==> Python coveragepy not found 10:01:18 ==> Searching for coverage reports in: 10:01:18 + . 10:01:18 -> Found 1 reports 10:01:18 ==> Detecting git/mercurial file structure 10:01:18 ==> Reading reports 10:01:18 + ./coverage.out bytes=98530 10:01:18 ==> Appending adjustments 10:01:18 https://docs.codecov.io/docs/fixing-reports 10:01:18 + Found adjustments 10:01:18 ==> Gzipping contents 10:01:18 16K /tmp/codecov.MtJnJH.gz 10:01:18 ==> Uploading reports 10:01:18 url: https://codecov.io 10:01:18 query: branch=main&commit=f03d932b600fd46a3b503f339d4d9f330fd6c1ce&build=163&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F163%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:01:18 -> Pinging Codecov 10:01:18 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=f03d932b600fd46a3b503f339d4d9f330fd6c1ce&build=163&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F163%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:01:18 -> Uploading to 10:01:18 https://storage.googleapis.com/codecov/v4/raw/2023-02-17/7E55EF52A471D76F132DFD9A03CDDE97/f03d932b600fd46a3b503f339d4d9f330fd6c1ce/cbf09312-ba79-47f8-849f-3bc8446fcfa7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T100118Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fff16c0bd504e07860e11f9bf5f45db9e643d7989cc39a66b21c580161d8a774 10:01:18 % Total % Received % Xferd Average Speed Time Time Time Current 10:01:18 Dload Upload Total Spent Left Speed 10:01:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14342 0 0 100 14342 0 58778 --:--:-- --:--:-- --:--:-- 58538 100 14342 0 0 100 14342 0 58778 --:--:-- --:--:-- --:--:-- 58538 10:01:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f03d932b600fd46a3b503f339d4d9f330fd6c1ce [Pipeline] } 10:01:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:01:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:01:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:01:19 10:01:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:01:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:01:19 df9b9388f04a: Pulling fs layer 10:01:19 52dc419b0ee2: Pulling fs layer 10:01:19 25bc292e5bac: Pulling fs layer 10:01:19 114826534d7a: Pulling fs layer 10:01:19 4657fd5d0bcf: Pulling fs layer 10:01:19 6ad1cebc031e: Pulling fs layer 10:01:19 8a3aa393b2d8: Pulling fs layer 10:01:19 4657fd5d0bcf: Waiting 10:01:19 114826534d7a: Waiting 10:01:19 8a3aa393b2d8: Waiting 10:01:19 6ad1cebc031e: Waiting 10:01:19 25bc292e5bac: Verifying Checksum 10:01:19 25bc292e5bac: Download complete 10:01:19 52dc419b0ee2: Verifying Checksum 10:01:19 52dc419b0ee2: Download complete 10:01:19 4657fd5d0bcf: Download complete 10:01:19 df9b9388f04a: Download complete 10:01:20 df9b9388f04a: Pull complete 10:01:20 52dc419b0ee2: Pull complete 10:01:20 25bc292e5bac: Pull complete 10:01:20 6ad1cebc031e: Verifying Checksum 10:01:20 6ad1cebc031e: Download complete 10:01:21 114826534d7a: Verifying Checksum 10:01:21 114826534d7a: Download complete 10:01:21 8a3aa393b2d8: Verifying Checksum 10:01:21 8a3aa393b2d8: Download complete 10:01:24 114826534d7a: Pull complete 10:01:24 4657fd5d0bcf: Pull complete 10:01:24 6ad1cebc031e: Pull complete 10:01:27 8a3aa393b2d8: Pull complete 10:01:27 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:01:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:01:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:27 prd-ubuntu20.04-docker-8c-8g-6441 does not seem to be running inside a container 10:01:27 $ 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 10:01:29 $ docker top 64a289e28373e3d4d5a8dc4d42c3359617fc8dcef93c85f0ae21677afc22cd2a -eo pid,comm [Pipeline] { [Pipeline] echo 10:01:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 10:01:29 + set -o pipefail 10:01:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 10:01:35 10:01:35 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 10:01:35 10:01:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/49f4da45-6e8f-4c54-8fa3-8aee40e71ec5 10:01:35 10:01:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:01:35 10:01:35 10:01:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:01:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:01:35 More details here: https://snyk.co/ue1NS [Pipeline] } 10:01:35 $ docker stop --time=1 64a289e28373e3d4d5a8dc4d42c3359617fc8dcef93c85f0ae21677afc22cd2a 10:01:37 $ docker rm -f --volumes 64a289e28373e3d4d5a8dc4d42c3359617fc8dcef93c85f0ae21677afc22cd2a [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 10:01:38 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:01:38 provisioning config files... 10:01:38 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10409967228208260529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:38 --> edgex-publish-swagger.sh 10:01:38 === Publish openapi/v3 API === 10:01:38 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 10:01:38 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 10:01:38 % Total % Received % Xferd Average Speed Time Time Time Current 10:01:38 Dload Upload Total Spent Left Speed 10:01:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 24964 0 0 100 24964 0 44658 --:--:-- --:--:-- --:--:-- 44658 10:01:38 10:01:38 [Pipeline] } 10:01:38 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 10:01:39 + git log --format=format:%s -1 f03d932b600fd46a3b503f339d4d9f330fd6c1ce [Pipeline] sh 10:01:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:01:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:01:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:40 prd-ubuntu20.04-docker-8c-8g-6441 does not seem to be running inside a container 10:01:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:01:40 $ docker top ed6da900b9cb3dba5da2194e0322c142a27f8f8cf668dd1f72fc703ed66d2caa -eo pid,comm 10:01:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:01:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:01:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:01:40 [ssh-agent] Looking for ssh-agent implementation... 10:01:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:01:40 $ docker exec ed6da900b9cb3dba5da2194e0322c142a27f8f8cf668dd1f72fc703ed66d2caa ssh-agent 10:01:40 SSH_AUTH_SOCK=/tmp/ssh-orBDK9ydKhQl/agent.32 10:01:40 SSH_AGENT_PID=38 10:01:40 Running ssh-add (command line suppressed) 10:01:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1736712402991393247.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1736712402991393247.key) 10:01:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:01:41 + git semver tag 10:01:41 2023-02-17 10:01:41,387 [run_tag] DEBUG tag force:False 10:01:41 2023-02-17 10:01:41,387 [check_head_tag] DEBUG check head tag 10:01:41 2023-02-17 10:01:41,389 [execute] INFO git cat-file --batch-check 10:01:41 2023-02-17 10:01:41,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 10:01:41 2023-02-17 10:01:41,393 [execute] INFO git cat-file --batch 10:01:41 2023-02-17 10:01:41,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 10:01:41 2023-02-17 10:01:41,425 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:01:41 2023-02-17 10:01:41,426 [execute] INFO git tag -a v3.0.0-dev.33 -m v3.0.0-dev.33 10:01:41 2023-02-17 10:01:41,426 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.33', '-m', 'v3.0.0-dev.33'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 10:01:41 2023-02-17 10:01:41,431 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:01:41 3.0.0-dev.33 [Pipeline] } 10:01:41 $ docker exec --env ******** --env ******** ed6da900b9cb3dba5da2194e0322c142a27f8f8cf668dd1f72fc703ed66d2caa ssh-agent -k 10:01:41 unset SSH_AUTH_SOCK; 10:01:41 unset SSH_AGENT_PID; 10:01:41 echo Agent pid 38 killed; 10:01:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:01:42 + git semver [Pipeline] } 10:01:42 $ docker stop --time=1 ed6da900b9cb3dba5da2194e0322c142a27f8f8cf668dd1f72fc703ed66d2caa 10:01:43 $ docker rm -f --volumes ed6da900b9cb3dba5da2194e0322c142a27f8f8cf668dd1f72fc703ed66d2caa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:01:44 10:01:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:01:44 0.23.1-centos7: Pulling from edgex-lftools 10:01:44 ab5ef0e58194: Pulling fs layer 10:01:44 9712f1f96733: Pulling fs layer 10:01:44 63f879dbbcfc: Pulling fs layer 10:01:44 0d9ebad4ef96: Pulling fs layer 10:01:44 e9a5061849ea: Pulling fs layer 10:01:44 d747dcd14b5f: Pulling fs layer 10:01:44 2de7ff778b66: Pulling fs layer 10:01:44 0d9ebad4ef96: Waiting 10:01:44 2de7ff778b66: Waiting 10:01:44 9712f1f96733: Download complete 10:01:45 63f879dbbcfc: Verifying Checksum 10:01:45 63f879dbbcfc: Download complete 10:01:45 e9a5061849ea: Verifying Checksum 10:01:45 e9a5061849ea: Download complete 10:01:45 d747dcd14b5f: Verifying Checksum 10:01:45 d747dcd14b5f: Download complete 10:01:45 0d9ebad4ef96: Verifying Checksum 10:01:45 0d9ebad4ef96: Download complete 10:01:45 ab5ef0e58194: Download complete 10:01:45 2de7ff778b66: Verifying Checksum 10:01:45 2de7ff778b66: Download complete 10:01:48 ab5ef0e58194: Pull complete 10:01:48 9712f1f96733: Pull complete 10:01:49 63f879dbbcfc: Pull complete 10:01:52 0d9ebad4ef96: Pull complete 10:01:52 e9a5061849ea: Pull complete 10:01:52 d747dcd14b5f: Pull complete 10:01:53 2de7ff778b66: Pull complete 10:01:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:01:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:01:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:53 prd-ubuntu20.04-docker-8c-8g-6441 does not seem to be running inside a container 10:01:53 $ 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 10:01:56 $ docker top 417373d3d045012cf5ec9a20ccaa2a1926f41b8b6aa747071b9acba57fc7bbed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:01:56 provisioning config files... 10:01:56 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5923396409876664952tmp 10:01:56 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4014370572619647862tmp 10:01:56 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4946619947586466702tmp [Pipeline] { [Pipeline] echo 10:01:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:01:57 ---> sigul-configuration.sh 10:01:57 gpg: directory `/root/.gnupg' created 10:01:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:01:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:01:57 gpg: keyring `/root/.gnupg/secring.gpg' created 10:01:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:01:57 gpg: CAST5 encrypted data 10:01:57 gpg: encrypted with 1 passphrase 10:01:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:01:57 + mkdir /home/jenkins 10:01:57 + mkdir /home/jenkins/sigul [Pipeline] sh 10:01:57 + 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 10:01:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:01:57 ---> sigul-install.sh 10:01:57 Sigul already installed; skipping installation. [Pipeline] sh 10:01:58 + git tag --list 10:01:58 0.7.1 10:01:58 delhi-tag 10:01:58 v1.0.0 10:01:58 v1.1.0 10:01:58 v1.1.1 10:01:58 v1.1.2 10:01:58 v1.2.0 10:01:58 v1.2.1 10:01:58 v1.2.2 10:01:58 v1.2.3 10:01:58 v1.3.0 10:01:58 v1.4.0 10:01:58 v2.0.0 10:01:58 v2.1.0 10:01:58 v2.1.1 10:01:58 v2.1.1-dev.2 10:01:58 v2.1.1-dev.3 10:01:58 v2.2.0 10:01:58 v2.2.1-dev.1 10:01:58 v2.2.1-dev.10 10:01:58 v2.2.1-dev.11 10:01:58 v2.2.1-dev.12 10:01:58 v2.2.1-dev.13 10:01:58 v2.2.1-dev.14 10:01:58 v2.2.1-dev.2 10:01:58 v2.2.1-dev.3 10:01:58 v2.2.1-dev.4 10:01:58 v2.2.1-dev.5 10:01:58 v2.2.1-dev.6 10:01:58 v2.2.1-dev.7 10:01:58 v2.2.1-dev.8 10:01:58 v2.2.1-dev.9 10:01:58 v2.3.0 10:01:58 v2.3.0-dev.14 10:01:58 v2.3.0-dev.15 10:01:58 v2.3.0-dev.16 10:01:58 v2.3.0-dev.17 10:01:58 v2.3.0-dev.18 10:01:58 v2.3.0-dev.19 10:01:58 v2.3.0-dev.20 10:01:58 v2.3.0-dev.21 10:01:58 v2.3.0-dev.22 10:01:58 v2.3.0-dev.23 10:01:58 v2.3.0-dev.24 10:01:58 v2.3.0-dev.25 10:01:58 v2.3.0-dev.26 10:01:58 v2.3.0-dev.27 10:01:58 v2.3.0-dev.28 10:01:58 v2.3.0-dev.29 10:01:58 v2.3.0-dev.30 10:01:58 v2.3.0-dev.31 10:01:58 v2.3.0-dev.32 10:01:58 v2.3.0-dev.33 10:01:58 v2.3.0-dev.34 10:01:58 v2.3.0-dev.35 10:01:58 v2.3.0-dev.36 10:01:58 v2.3.0-dev.37 10:01:58 v2.3.0-dev.38 10:01:58 v2.3.0-dev.39 10:01:58 v2.3.0-dev.40 10:01:58 v2.3.0-dev.41 10:01:58 v2.3.0-dev.42 10:01:58 v2.3.0-dev.43 10:01:58 v2.3.0-dev.44 10:01:58 v2.3.0-dev.45 10:01:58 v2.3.0-dev.46 10:01:58 v2.3.0-dev.47 10:01:58 v2.3.0-dev.48 10:01:58 v2.3.0-dev.49 10:01:58 v2.3.0-dev.50 10:01:58 v2.3.0-dev.51 10:01:58 v2.3.1-dev.1 10:01:58 v2.3.1-dev.2 10:01:58 v3.0.0-dev.1 10:01:58 v3.0.0-dev.10 10:01:58 v3.0.0-dev.11 10:01:58 v3.0.0-dev.12 10:01:58 v3.0.0-dev.13 10:01:58 v3.0.0-dev.14 10:01:58 v3.0.0-dev.15 10:01:58 v3.0.0-dev.16 10:01:58 v3.0.0-dev.17 10:01:58 v3.0.0-dev.18 10:01:58 v3.0.0-dev.19 10:01:58 v3.0.0-dev.2 10:01:58 v3.0.0-dev.20 10:01:58 v3.0.0-dev.21 10:01:58 v3.0.0-dev.22 10:01:58 v3.0.0-dev.23 10:01:58 v3.0.0-dev.24 10:01:58 v3.0.0-dev.25 10:01:58 v3.0.0-dev.26 10:01:58 v3.0.0-dev.27 10:01:58 v3.0.0-dev.28 10:01:58 v3.0.0-dev.29 10:01:58 v3.0.0-dev.3 10:01:58 v3.0.0-dev.30 10:01:58 v3.0.0-dev.31 10:01:58 v3.0.0-dev.32 10:01:58 v3.0.0-dev.33 10:01:58 v3.0.0-dev.4 10:01:58 v3.0.0-dev.5 10:01:58 v3.0.0-dev.6 10:01:58 v3.0.0-dev.7 10:01:58 v3.0.0-dev.8 10:01:58 v3.0.0-dev.9 [Pipeline] sh 10:01:58 + lftools sign git-tag v3.0.0-dev.33 10:01:59 Signing Git tag with Sigul... 10:01:59 Signing v3.0.0-dev.33 [Pipeline] echo 10:01:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:01:59 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:01:59 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:01:59 $ docker stop --time=1 417373d3d045012cf5ec9a20ccaa2a1926f41b8b6aa747071b9acba57fc7bbed 10:02:00 $ docker rm -f --volumes 417373d3d045012cf5ec9a20ccaa2a1926f41b8b6aa747071b9acba57fc7bbed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:02:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:02:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:01 prd-ubuntu20.04-docker-8c-8g-6441 does not seem to be running inside a container 10:02:01 $ 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 10:02:02 $ docker top 56d4d766020e0a96df15aedde9dfa9e5f4d4c2d7d90dee4d7c6760b84a255069 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:02:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:02 [ssh-agent] Looking for ssh-agent implementation... 10:02:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:02 $ docker exec 56d4d766020e0a96df15aedde9dfa9e5f4d4c2d7d90dee4d7c6760b84a255069 ssh-agent 10:02:02 SSH_AUTH_SOCK=/tmp/ssh-aRWJzsnsConN/agent.32 10:02:02 SSH_AGENT_PID=38 10:02:02 Running ssh-add (command line suppressed) 10:02:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18137220090103844931.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18137220090103844931.key) 10:02:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:02 + git semver bump pre 10:02:03 2023-02-17 10:02:03,056 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:02:03 2023-02-17 10:02:03,057 [bump_version] DEBUG bumping version:3.0.0-dev.33 on axis:pre with prefix:dev 10:02:03 2023-02-17 10:02:03,057 [bump_version] DEBUG bumped version:3.0.0-dev.34 10:02:03 2023-02-17 10:02:03,057 [write_version] DEBUG write version:3.0.0-dev.34 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 10:02:03 2023-02-17 10:02:03,057 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:02:03 2023-02-17 10:02:03,057 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:02:03 2023-02-17 10:02:03,059 [execute] INFO git cat-file --batch-check 10:02:03 2023-02-17 10:02:03,059 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:02:03 2023-02-17 10:02:03,063 [execute] INFO git cat-file --batch 10:02:03 2023-02-17 10:02:03,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:02:03 2023-02-17 10:02:03,068 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:02:03 3.0.0-dev.34 [Pipeline] } 10:02:03 $ docker exec --env ******** --env ******** 56d4d766020e0a96df15aedde9dfa9e5f4d4c2d7d90dee4d7c6760b84a255069 ssh-agent -k 10:02:03 unset SSH_AUTH_SOCK; 10:02:03 unset SSH_AGENT_PID; 10:02:03 echo Agent pid 38 killed; 10:02:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:02:03 + git semver [Pipeline] } 10:02:04 $ docker stop --time=1 56d4d766020e0a96df15aedde9dfa9e5f4d4c2d7d90dee4d7c6760b84a255069 10:02:05 $ docker rm -f --volumes 56d4d766020e0a96df15aedde9dfa9e5f4d4c2d7d90dee4d7c6760b84a255069 [Pipeline] // withDockerContainer [Pipeline] sh 10:02:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:02:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:02:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:06 prd-ubuntu20.04-docker-8c-8g-6441 does not seem to be running inside a container 10:02:06 $ 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 10:02:06 $ docker top 226e4f8650d943c4735daaf7b1c8065d49079478d7d47c425c870a96a254cf63 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:02:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:06 [ssh-agent] Looking for ssh-agent implementation... 10:02:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:06 $ docker exec 226e4f8650d943c4735daaf7b1c8065d49079478d7d47c425c870a96a254cf63 ssh-agent 10:02:06 SSH_AUTH_SOCK=/tmp/ssh-ckmyuMSj4Zf3/agent.32 10:02:06 SSH_AGENT_PID=38 10:02:06 Running ssh-add (command line suppressed) 10:02:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5967358842896237004.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5967358842896237004.key) 10:02:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:07 + git semver push 10:02:07 2023-02-17 10:02:07,289 [run_push] DEBUG push 10:02:07 2023-02-17 10:02:07,289 [execute] INFO git cat-file --batch-check 10:02:07 2023-02-17 10:02:07,290 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:02:07 2023-02-17 10:02:07,293 [execute] INFO git rev-list 16a571fe827cc1f272ef293383843c5fc4847f26 -- 10:02:07 2023-02-17 10:02:07,293 [execute] DEBUG Popen(['git', 'rev-list', '16a571fe827cc1f272ef293383843c5fc4847f26', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:02:07 2023-02-17 10:02:07,304 [execute] INFO git fetch -v origin 10:02:07 2023-02-17 10:02:07,304 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:02:07 2023-02-17 10:02:07,862 [run_push] DEBUG no remote changes detected 10:02:07 2023-02-17 10:02:07,862 [execute] INFO git push origin semver 10:02:07 2023-02-17 10:02:07,862 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:02:08 2023-02-17 10:02:08,715 [run_push] DEBUG push all version tags 10:02:08 2023-02-17 10:02:08,715 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:02:08 2023-02-17 10:02:08,716 [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) 10:02:09 2023-02-17 10:02:09,600 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:02:09 3.0.0-dev.34 [Pipeline] } 10:02:09 $ docker exec --env ******** --env ******** 226e4f8650d943c4735daaf7b1c8065d49079478d7d47c425c870a96a254cf63 ssh-agent -k 10:02:09 unset SSH_AUTH_SOCK; 10:02:09 unset SSH_AGENT_PID; 10:02:09 echo Agent pid 38 killed; 10:02:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:02:10 + git semver [Pipeline] } 10:02:10 $ docker stop --time=1 226e4f8650d943c4735daaf7b1c8065d49079478d7d47c425c870a96a254cf63 10:02:11 $ docker rm -f --volumes 226e4f8650d943c4735daaf7b1c8065d49079478d7d47c425c870a96a254cf63 [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 10:02:12 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 10:02:12 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:02:12 total 16 10:02:12 drwxr-xr-x 3 root root 4096 Feb 17 09:51 . 10:02:12 drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 10:01 .. 10:02:12 drwxr-xr-x 2 root root 4096 Feb 17 09:51 cost 10:02:12 -rw-r--r-- 1 root root 85 Feb 17 09:51 cost.csv 10:02:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:02:12 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:02:12 total 16 10:02:12 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 09:51 . 10:02:12 drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 10:01 .. 10:02:12 drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 09:51 cost 10:02:12 -rw-r--r-- 1 jenkins jenkins 85 Feb 17 09:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:02:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:02:13 ---> package-listing.sh 10:02:13 ++ facter osfamily 10:02:13 ++ tr '[:upper:]' '[:lower:]' 10:02:13 + OS_FAMILY=debian 10:02:13 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 10:02:13 + START_PACKAGES=/tmp/packages_start.txt 10:02:13 + END_PACKAGES=/tmp/packages_end.txt 10:02:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:02:13 + PACKAGES=/tmp/packages_start.txt 10:02:13 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 10:02:13 + PACKAGES=/tmp/packages_end.txt 10:02:13 + case "${OS_FAMILY}" in 10:02:13 + dpkg -l 10:02:13 + grep '^ii' 10:02:13 + '[' -f /tmp/packages_start.txt ']' 10:02:13 + '[' -f /tmp/packages_end.txt ']' 10:02:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:02:13 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 10:02:13 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 10:02:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 10:02:13 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 10:02:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:14 prd-ubuntu20.04-docker-8c-8g-6441 does not seem to be running inside a container 10:02:14 $ 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 10:02:14 $ docker top ac5c2117ac9360fed0a233317be0c19acf10f5011ed11d1daf92f82ab73148c9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:02:15 + touch /tmp/pre-build-complete [Pipeline] sh 10:02:15 + mkdir -p /var/log/sysstat [Pipeline] sh 10:02:15 + ls /var/log/sa-host 10:02:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:15 provisioning config files... 10:02:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5331355456363123703tmp [Pipeline] { [Pipeline] echo 10:02:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:02:16 ---> create-netrc.sh [Pipeline] } 10:02:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:02:16 ---> python-tools-install.sh [Pipeline] echo 10:02:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:02:16 ---> sudo-logs.sh 10:02:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:02:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:02:17 ---> job-cost.sh 10:02:17 lf-activate-venv: SKIPPING 10:02:17 DEBUG: total: 0.2199999988079071 10:02:17 INFO: Retrieving Stack Cost... 10:02:17 INFO: Retrieving Pricing Info for: v3-standard-8 10:02:18 INFO: Archiving Costs [Pipeline] echo 10:02:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:02:18 ---> logs-deploy.sh 10:02:18 lf-activate-venv: SKIPPING 10:02:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/163 10:02:18 INFO: archiving workspace using pattern(s): 10:02:19 Archives upload complete. 10:02:19 INFO: archiving logs to Nexus