Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 881f10918eb4e60f546b60d89ac5bea6bad2c109 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-ssh4885801054479761493.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-ssh2771309288517935649.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-ssh3326609701997813307.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-ssh15577036102394758674.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-ssh1283407310072357298.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/v2]] ========================================================= [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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3946 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 (main) Commit message: "Merge pull request #1279 from jinlinGuan/issue-780-sdk" > 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 > git rev-list --no-walk 75769cbb60d148b1a5e0cc7835b599c46228d755 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:06:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:06:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:06:25 ========================================================= 05:06:25 EdgeX Global Pipelines Version Info 05:06:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:06:26 ------------------- 05:06:26 stable info: 05:06:26 ------------------- 05:06:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:06:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:06:26 Message: update stable to v1.0.244 05:06:27 ------------------- 05:06:27 experimental info: 05:06:27 ------------------- 05:06:27 Commited By: **** collab-it+edgex@linuxfoundation.org 05:06:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:06:27 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 881f10918eb4e60f546b60d89ac5bea6bad2c109 [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 881f109 [Pipeline] echo 05:06:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:27 provisioning config files... 05:06:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13246116558711169330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:28 ---> docker-login.sh 05:06:28 nexus3.edgexfoundry.org:10001 05:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:28 Configure a credential helper to remove this warning. See 05:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:28 05:06:28 Login Succeeded 05:06:28 nexus3.edgexfoundry.org:10002 05:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:28 Configure a credential helper to remove this warning. See 05:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:28 05:06:28 Login Succeeded 05:06:28 nexus3.edgexfoundry.org:10003 05:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:28 Configure a credential helper to remove this warning. See 05:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:28 05:06:28 Login Succeeded 05:06:28 nexus3.edgexfoundry.org:10004 05:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:28 Configure a credential helper to remove this warning. See 05:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:28 05:06:28 Login Succeeded 05:06:28 docker.io 05:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:28 Configure a credential helper to remove this warning. See 05:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:28 05:06:28 Login Succeeded 05:06:28 ---> docker-login.sh ends [Pipeline] } 05:06:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:06:29 + git rev-list -1 --merges 881f10918eb4e60f546b60d89ac5bea6bad2c109~1..881f10918eb4e60f546b60d89ac5bea6bad2c109 [Pipeline] echo 05:06:29 -----------> git rev-list -1 --merges 881f10918eb4e60f546b60d89ac5bea6bad2c109~1..881f10918eb4e60f546b60d89ac5bea6bad2c109 881f10918eb4e60f546b60d89ac5bea6bad2c109 05:06:29 881f10918eb4e60f546b60d89ac5bea6bad2c109 [false] [Pipeline] sh 05:06:29 + git log --format=format:%s -1 881f10918eb4e60f546b60d89ac5bea6bad2c109 [Pipeline] echo 05:06:29 ========================================================= 05:06:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:06:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:29 + git log --format=format:%s -1 881f10918eb4e60f546b60d89ac5bea6bad2c109 [Pipeline] echo 05:06:29 [semverPrep] GIT_COMMIT: 881f10918eb4e60f546b60d89ac5bea6bad2c109, Commit Message: Merge pull request #1279 from jinlinGuan/issue-780-sdk [Pipeline] echo 05:06:29 [semverPrep] This is not a build commit. [Pipeline] sh 05:06:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:06:30 + grep -v github /etc/ssh/ssh_known_hosts 05:06:30 + [ -e /tmp/ssh_known_hosts ] 05:06:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:06:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:06:30 + sudo tee -a /etc/ssh/ssh_known_hosts 05:06:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:06:30 05:06:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:06:31 0.1.4: Pulling from edgex-devops/py-git-semver 05:06:31 b85a868b505f: Pulling fs layer 05:06:31 e2be974225ed: Pulling fs layer 05:06:31 339a4e72a1f5: Pulling fs layer 05:06:31 988bab9f4d93: Pulling fs layer 05:06:31 1469e6f7b9e6: Pulling fs layer 05:06:31 eaf3925da568: Pulling fs layer 05:06:31 bab4dde63d76: Pulling fs layer 05:06:31 988bab9f4d93: Waiting 05:06:31 1469e6f7b9e6: Waiting 05:06:31 eaf3925da568: Waiting 05:06:31 bde34c3a00c8: Pulling fs layer 05:06:31 b352a97aabf1: Pulling fs layer 05:06:31 bab4dde63d76: Waiting 05:06:31 bde34c3a00c8: Waiting 05:06:31 4872d77fe225: Pulling fs layer 05:06:31 5851b861e8e6: Pulling fs layer 05:06:31 4872d77fe225: Waiting 05:06:31 5851b861e8e6: Waiting 05:06:31 b352a97aabf1: Waiting 05:06:31 e2be974225ed: Verifying Checksum 05:06:31 e2be974225ed: Download complete 05:06:31 988bab9f4d93: Download complete 05:06:31 1469e6f7b9e6: Verifying Checksum 05:06:31 1469e6f7b9e6: Download complete 05:06:31 eaf3925da568: Verifying Checksum 05:06:31 339a4e72a1f5: Verifying Checksum 05:06:31 339a4e72a1f5: Download complete 05:06:31 bde34c3a00c8: Verifying Checksum 05:06:31 bde34c3a00c8: Download complete 05:06:31 b352a97aabf1: Download complete 05:06:31 5851b861e8e6: Verifying Checksum 05:06:31 5851b861e8e6: Download complete 05:06:31 b85a868b505f: Verifying Checksum 05:06:31 b85a868b505f: Download complete 05:06:31 bab4dde63d76: Verifying Checksum 05:06:31 bab4dde63d76: Download complete 05:06:32 b85a868b505f: Pull complete 05:06:32 e2be974225ed: Pull complete 05:06:33 339a4e72a1f5: Pull complete 05:06:33 988bab9f4d93: Pull complete 05:06:33 1469e6f7b9e6: Pull complete 05:06:33 eaf3925da568: Pull complete 05:06:34 bab4dde63d76: Pull complete 05:06:35 bde34c3a00c8: Pull complete 05:06:35 b352a97aabf1: Pull complete 05:06:35 4872d77fe225: Pull complete 05:06:35 5851b861e8e6: Pull complete 05:06:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:06:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:06:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:35 prd-ubuntu20.04-docker-8c-8g-3946 does not seem to be running inside a container 05:06:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:06:37 $ docker top 406ea4212b3ed572be48fa6441fa313f21c4e85c7d373b33b156d3f2cea4c877 -eo pid,comm 05:06:37 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). 05:06:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:06:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:06:37 [ssh-agent] Looking for ssh-agent implementation... 05:06:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:06:37 $ docker exec 406ea4212b3ed572be48fa6441fa313f21c4e85c7d373b33b156d3f2cea4c877 ssh-agent 05:06:38 SSH_AUTH_SOCK=/tmp/ssh-fkVjV2pjKyJk/agent.32 05:06:38 SSH_AGENT_PID=38 05:06:38 Running ssh-add (command line suppressed) 05:06:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3429851529337481347.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3429851529337481347.key) 05:06:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:06:38 + git tag --points-at HEAD [Pipeline] } 05:06:38 $ docker exec --env ******** --env ******** 406ea4212b3ed572be48fa6441fa313f21c4e85c7d373b33b156d3f2cea4c877 ssh-agent -k 05:06:38 unset SSH_AUTH_SOCK; 05:06:38 unset SSH_AGENT_PID; 05:06:38 echo Agent pid 38 killed; 05:06:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:06:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:06:38 [ssh-agent] Looking for ssh-agent implementation... 05:06:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:06:38 $ docker exec 406ea4212b3ed572be48fa6441fa313f21c4e85c7d373b33b156d3f2cea4c877 ssh-agent 05:06:38 SSH_AUTH_SOCK=/tmp/ssh-h4OpDehArJFc/agent.71 05:06:38 SSH_AGENT_PID=77 05:06:38 Running ssh-add (command line suppressed) 05:06:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15307912516495551506.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15307912516495551506.key) 05:06:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:06:39 + git semver init 05:06:39 2023-01-30 05:06:39,374 [run_init] DEBUG init version:0.0.0 force:False 05:06:39 2023-01-30 05:06:39,375 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:06:39 2023-01-30 05:06:39,375 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:06:39 2023-01-30 05:06:39,375 [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) 05:06:40 2023-01-30 05:06:40,304 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:06:40 2023-01-30 05:06:40,305 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:06:40 2023-01-30 05:06:40,305 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:06:40 2023-01-30 05:06:40,305 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:06:40 3.0.0-dev.13 [Pipeline] } 05:06:40 $ docker exec --env ******** --env ******** 406ea4212b3ed572be48fa6441fa313f21c4e85c7d373b33b156d3f2cea4c877 ssh-agent -k 05:06:40 unset SSH_AUTH_SOCK; 05:06:40 unset SSH_AGENT_PID; 05:06:40 echo Agent pid 77 killed; 05:06:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:06:40 + git semver [Pipeline] } 05:06:41 $ docker stop --time=1 406ea4212b3ed572be48fa6441fa313f21c4e85c7d373b33b156d3f2cea4c877 05:06:42 $ docker rm -f --volumes 406ea4212b3ed572be48fa6441fa313f21c4e85c7d373b33b156d3f2cea4c877 [Pipeline] // withDockerContainer [Pipeline] sh 05:06:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:06:42 Stashed 1 file(s) [Pipeline] echo 05:06:42 [edgeXSemver]: initialized semver on version 3.0.0-dev.13 [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 05:06:43 provisioning config files... 05:06:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3624299582703645946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:43 ---> docker-login.sh 05:06:43 nexus3.edgexfoundry.org:10001 05:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:43 Configure a credential helper to remove this warning. See 05:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:43 05:06:43 Login Succeeded 05:06:43 nexus3.edgexfoundry.org:10002 05:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:43 Configure a credential helper to remove this warning. See 05:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:43 05:06:43 Login Succeeded 05:06:43 nexus3.edgexfoundry.org:10003 05:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:43 Configure a credential helper to remove this warning. See 05:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:43 05:06:43 Login Succeeded 05:06:43 nexus3.edgexfoundry.org:10004 05:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:43 Configure a credential helper to remove this warning. See 05:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:43 05:06:43 Login Succeeded 05:06:43 docker.io 05:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:44 Configure a credential helper to remove this warning. See 05:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:44 05:06:44 Login Succeeded 05:06:44 ---> docker-login.sh ends [Pipeline] } 05:06:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:06:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:44 ========================================================= 05:06:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:06:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:44 + 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 . 05:06:44 Sending build context to Docker daemon 10.52MB 05:06:44 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:06:44 Step 2/10 : FROM ${BASE} AS builder 05:06:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:06:44 213ec9aee27d: Pulling fs layer 05:06:44 4583459ba037: Pulling fs layer 05:06:44 93c1e223e6f2: Pulling fs layer 05:06:44 53926ce57604: Pulling fs layer 05:06:44 21b2b0c7a3f4: Pulling fs layer 05:06:44 22ff95d597cd: Pulling fs layer 05:06:44 12d6caf4c0d1: Pulling fs layer 05:06:44 96b7cbca73a9: Pulling fs layer 05:06:44 a7acece74701: Pulling fs layer 05:06:44 96b7cbca73a9: Waiting 05:06:44 a7acece74701: Waiting 05:06:44 12d6caf4c0d1: Waiting 05:06:44 53926ce57604: Waiting 05:06:44 21b2b0c7a3f4: Waiting 05:06:44 22ff95d597cd: Waiting 05:06:44 93c1e223e6f2: Verifying Checksum 05:06:44 93c1e223e6f2: Download complete 05:06:44 4583459ba037: Verifying Checksum 05:06:44 4583459ba037: Download complete 05:06:44 21b2b0c7a3f4: Verifying Checksum 05:06:44 21b2b0c7a3f4: Download complete 05:06:44 22ff95d597cd: Verifying Checksum 05:06:44 22ff95d597cd: Download complete 05:06:44 213ec9aee27d: Verifying Checksum 05:06:44 213ec9aee27d: Download complete 05:06:44 12d6caf4c0d1: Verifying Checksum 05:06:44 12d6caf4c0d1: Download complete 05:06:45 213ec9aee27d: Pull complete 05:06:45 4583459ba037: Pull complete 05:06:45 93c1e223e6f2: Pull complete 05:06:46 a7acece74701: Verifying Checksum 05:06:46 a7acece74701: Download complete 05:06:46 53926ce57604: Verifying Checksum 05:06:46 53926ce57604: Download complete 05:06:46 96b7cbca73a9: Verifying Checksum 05:06:46 96b7cbca73a9: Download complete 05:06:49 53926ce57604: Pull complete 05:06:49 21b2b0c7a3f4: Pull complete 05:06:49 22ff95d597cd: Pull complete 05:06:49 12d6caf4c0d1: Pull complete 05:06:51 96b7cbca73a9: Pull complete 05:06:52 a7acece74701: Pull complete 05:06:52 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:06:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:06:52 ---> db6d94c90886 05:06:52 Step 3/10 : ARG MAKE=make build 05:06:55 ---> Running in a3d4bc00869d 05:06:55 Removing intermediate container a3d4bc00869d 05:06:55 ---> 694865e44266 05:06:55 Step 4/10 : WORKDIR /device-sdk-go 05:06:55 ---> Running in 18f2e01a01c4 05:06:55 Removing intermediate container 18f2e01a01c4 05:06:55 ---> 1baaeb08ec80 05:06:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:06:55 ---> Running in fd5dc981270a 05:06:55 Removing intermediate container fd5dc981270a 05:06:55 ---> 8c938015475e 05:06:55 Step 6/10 : RUN apk add --update --no-cache make git 05:06:55 ---> Running in a8e2e3f30cb5 05:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:06:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:56 OK: 211 MiB in 51 packages 05:06:56 Removing intermediate container a8e2e3f30cb5 05:06:56 ---> d08ecfbeb9a9 05:06:56 Step 7/10 : COPY go.mod vendor* ./ 05:06:56 ---> 179603a851f3 05:06:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:06:56 ---> Running in 8f8a74b7d05a 05:06:58 Still waiting to schedule task 05:06:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:07:23 Removing intermediate container 8f8a74b7d05a 05:07:23 ---> a9e6decd386b 05:07:23 Step 9/10 : COPY . . 05:07:23 ---> 3ba4a81a5f23 05:07:23 Step 10/10 : RUN ${MAKE} 05:07:23 ---> Running in afddc0d673ce 05:07:23 noop 05:07:23 Removing intermediate container afddc0d673ce 05:07:23 ---> 37cfd3942af9 05:07:23 Successfully built 37cfd3942af9 05:07:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:24 + docker inspect -f . ci-base-image-x86_64 05:07:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:24 prd-ubuntu20.04-docker-8c-8g-3946 does not seem to be running inside a container 05:07: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 05:07:24 $ docker top 134278711e9a83ca4b983eb8af81d8afbc3dd1c10980397a63cbaa100d0fe8f2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:25 + go version 05:07:25 go version go1.18.7 linux/amd64 [Pipeline] } 05:07:25 $ docker stop --time=1 134278711e9a83ca4b983eb8af81d8afbc3dd1c10980397a63cbaa100d0fe8f2 05:07:26 $ docker rm -f --volumes 134278711e9a83ca4b983eb8af81d8afbc3dd1c10980397a63cbaa100d0fe8f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:26 + docker inspect -f . ci-base-image-x86_64 05:07:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:26 prd-ubuntu20.04-docker-8c-8g-3946 does not seem to be running inside a container 05:07: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 05:07:27 $ docker top e20d0f1a4d45eaeb59cac6fbb50aaa2a1144e66f2bedac2df021876b0f909282 -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:07:27 + make test 05:07:27 go test -race -coverprofile=coverage.out ./... 05:07:34 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:07:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.048s coverage: 27.6% of statements 05:07:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.083s coverage: 78.9% of statements 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 05:07:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.102s coverage: 73.6% of statements 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:07:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.095s coverage: 60.6% of statements 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 05:07:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.087s coverage: 65.1% of statements 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:07:46 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.773s coverage: 89.2% of statements 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 05:07:46 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.6% of statements 05:07:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:08: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." 05:08:01 GO111MODULE=on go vet ./... 05:08:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:08:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:08:02 ./bin/test-attribution-txt.sh [Pipeline] echo 05:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:08:03 $ docker stop --time=1 e20d0f1a4d45eaeb59cac6fbb50aaa2a1144e66f2bedac2df021876b0f909282 05:08:06 $ docker rm -f --volumes e20d0f1a4d45eaeb59cac6fbb50aaa2a1144e66f2bedac2df021876b0f909282 [Pipeline] // withDockerContainer [Pipeline] sh 05:08:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:08:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:08:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:08:07 + ls -al . 05:08:07 total 272 05:08:07 drwxrwxr-x 11 jenkins jenkins 4096 Jan 30 05:07 . 05:08:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 05:06 .. 05:08:07 -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 05:06 .dockerignore 05:08:07 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 05:07 .git 05:08:07 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 05:06 .github 05:08:07 -rw-rw-r-- 1 jenkins jenkins 131 Jan 30 05:06 .gitignore 05:08:07 -rw-rw-r-- 1 jenkins jenkins 42 Jan 30 05:06 .golangci.yml 05:08:07 drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 05:06 .semver 05:08:07 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 30 05:06 CHANGELOG.md 05:08:07 -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 05:06 GOVERNANCE.md 05:08:07 -rw-rw-r-- 1 jenkins jenkins 880 Jan 30 05:06 Jenkinsfile 05:08:07 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 05:06 LICENSE 05:08:07 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 30 05:06 Makefile 05:08:07 -rw-rw-r-- 1 jenkins jenkins 619 Jan 30 05:06 OWNERS.md 05:08:07 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 30 05:06 README.md 05:08:07 -rw-rw-r-- 1 jenkins jenkins 12 Jan 30 05:06 VERSION 05:08:07 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 05:06 bin 05:08:07 -rw-r--r-- 1 jenkins jenkins 100832 Jan 30 05:07 coverage.out 05:08:07 drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 05:06 example 05:08:07 -rw-rw-r-- 1 jenkins jenkins 3307 Jan 30 05:06 go.mod 05:08:07 -rw-rw-r-- 1 jenkins jenkins 34396 Jan 30 05:06 go.sum 05:08:07 drwxrwxr-x 14 jenkins jenkins 4096 Jan 30 05:06 internal 05:08:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 05:06 openapi 05:08:07 drwxrwxr-x 6 jenkins jenkins 4096 Jan 30 05:06 pkg 05:08:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 05:06 snap 05:08:07 -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:07 + 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=881f10918eb4e60f546b60d89ac5bea6bad2c109 --label arch=amd64 --label version=3.0.0-dev.13 . 05:08:07 Sending build context to Docker daemon 10.63MB 05:08:07 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:08:07 Step 2/23 : FROM ${BASE} AS builder 05:08:07 ---> 37cfd3942af9 05:08:07 Step 3/23 : ARG MAKE=make build 05:08:07 ---> Running in 9f5f57bbd95c 05:08:07 Removing intermediate container 9f5f57bbd95c 05:08:07 ---> 7a1ff0dcfb21 05:08:07 Step 4/23 : WORKDIR /device-sdk-go 05:08:07 ---> Running in 0ed5bc5da2a7 05:08:07 Removing intermediate container 0ed5bc5da2a7 05:08:07 ---> 01ed935cc279 05:08:07 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:08:07 ---> Running in a25b89b5df50 05:08:08 Removing intermediate container a25b89b5df50 05:08:08 ---> 375b0f0f0bfa 05:08:08 Step 6/23 : RUN apk add --update --no-cache make git 05:08:08 ---> Running in 9fd9a535e70a 05:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:08:08 OK: 211 MiB in 51 packages 05:08:09 Removing intermediate container 9fd9a535e70a 05:08:09 ---> 70516c04faa3 05:08:09 Step 7/23 : COPY go.mod vendor* ./ 05:08:09 ---> aa9183c80ce4 05:08:09 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:09 ---> Running in add747aa8c88 05:08:09 Removing intermediate container add747aa8c88 05:08:09 ---> 09e6962fbaa5 05:08:09 Step 9/23 : COPY . . 05:08:10 ---> 8e75b758c1cc 05:08:10 Step 10/23 : RUN ${MAKE} 05:08:10 ---> Running in ac424ea21f90 05:08:10 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.13" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:08:28 Removing intermediate container ac424ea21f90 05:08:28 ---> e601be30a5c5 05:08:28 Step 11/23 : FROM alpine:3.16 05:08:28 3.16: Pulling from library/alpine 05:08:28 ca7dd9ec2225: Pulling fs layer 05:08:28 ca7dd9ec2225: Verifying Checksum 05:08:28 ca7dd9ec2225: Download complete 05:08:28 ca7dd9ec2225: Pull complete 05:08:28 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 05:08:28 Status: Downloaded newer image for alpine:3.16 05:08:28 ---> bfe296a52501 05:08:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:08:28 ---> Running in 72404c1b5e25 05:08:28 Removing intermediate container 72404c1b5e25 05:08:28 ---> 226248e6921f 05:08:28 Step 13/23 : RUN apk add --update --no-cache 05:08:28 ---> Running in 2653e294ba16 05:08:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:08:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:08:29 OK: 6 MiB in 14 packages 05:08:29 Removing intermediate container 2653e294ba16 05:08:29 ---> 8d722af5f75a 05:08:29 Step 14/23 : WORKDIR / 05:08:29 ---> Running in 653212127b22 05:08:29 Removing intermediate container 653212127b22 05:08:29 ---> e267c5700557 05:08:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:08:29 ---> 2cfb27ffc454 05:08:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:08:30 ---> c3b9c3af8686 05:08:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:08:30 ---> 48189087a62b 05:08:30 Step 18/23 : EXPOSE 59999 05:08:30 ---> Running in 842a0c06a1b7 05:08:30 Removing intermediate container 842a0c06a1b7 05:08:30 ---> 8fdbc5cf6a9e 05:08:30 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:08:30 ---> Running in 0e5ddffb2efb 05:08:30 Removing intermediate container 0e5ddffb2efb 05:08:30 ---> f771bb244182 05:08:30 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:08:30 ---> Running in 1d631a2e8302 05:08:30 Removing intermediate container 1d631a2e8302 05:08:30 ---> f5d6036032da 05:08:30 Step 21/23 : LABEL arch=amd64 05:08:30 ---> Running in 9e4dff0d60d6 05:08:30 Removing intermediate container 9e4dff0d60d6 05:08:30 ---> b7e544ffd97b 05:08:30 Step 22/23 : LABEL git_sha=881f10918eb4e60f546b60d89ac5bea6bad2c109 05:08:30 ---> Running in d8e180477c79 05:08:30 Removing intermediate container d8e180477c79 05:08:30 ---> 513adec41d15 05:08:30 Step 23/23 : LABEL version=3.0.0-dev.13 05:08:30 ---> Running in 49568b2dd7c6 05:08:30 Removing intermediate container 49568b2dd7c6 05:08:30 ---> 083951337dc2 05:08:30 [Warning] One or more build-args [ARCH] were not consumed 05:08:30 Successfully built 083951337dc2 05:08:30 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 05:08:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:31 05:08:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:31 latest: Pulling from edgex-lftools-log-publisher 05:08:31 5eb5b503b376: Pulling fs layer 05:08:31 5c69ac0246d0: Pulling fs layer 05:08:31 ec43610c2a17: Pulling fs layer 05:08:31 3a2ae6a8a46f: Pulling fs layer 05:08:31 33b1e0a273af: Pulling fs layer 05:08:31 5d3b04190fa2: Pulling fs layer 05:08:31 2f39f015ded8: Pulling fs layer 05:08:31 3a2ae6a8a46f: Waiting 05:08:31 33b1e0a273af: Waiting 05:08:31 5d3b04190fa2: Waiting 05:08:31 2f39f015ded8: Waiting 05:08:31 5c69ac0246d0: Verifying Checksum 05:08:31 5c69ac0246d0: Download complete 05:08:31 3a2ae6a8a46f: Verifying Checksum 05:08:31 3a2ae6a8a46f: Download complete 05:08:31 33b1e0a273af: Verifying Checksum 05:08:31 33b1e0a273af: Download complete 05:08:31 5d3b04190fa2: Download complete 05:08:31 ec43610c2a17: Verifying Checksum 05:08:31 ec43610c2a17: Download complete 05:08:31 5eb5b503b376: Verifying Checksum 05:08:31 5eb5b503b376: Download complete 05:08:32 2f39f015ded8: Download complete 05:08:33 5eb5b503b376: Pull complete 05:08:33 5c69ac0246d0: Pull complete 05:08:33 ec43610c2a17: Pull complete 05:08:33 3a2ae6a8a46f: Pull complete 05:08:33 33b1e0a273af: Pull complete 05:08:33 5d3b04190fa2: Pull complete 05:08:38 2f39f015ded8: Pull complete 05:08:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:08:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:38 prd-ubuntu20.04-docker-8c-8g-3946 does not seem to be running inside a container 05:08:38 $ 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 05:08:40 $ docker top 35bfb67e17280afb6748589633de77c15532aa4ca18b3322c84fae697153930e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:40 ---> job-cost.sh 05:08:40 lf-activate-venv: SKIPPING 05:08:40 INFO: No Stack... 05:08:41 INFO: Retrieving Pricing Info for: v3-standard-8 05:08:41 INFO: Archiving Costs [Pipeline] sh 05:08:42 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:08:42 + cut -d, -f6 [Pipeline] lock 05:08:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-143-stack-cost] 05:08:42 Resource [jenkins-edgexfoundry-device-sdk-go-main-143-stack-cost] did not exist. Created. 05:08:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:08:42 + echo total: 0.2199999988079071 [Pipeline] stash 05:08:42 Stashed 1 file(s) [Pipeline] } 05:08:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } 05:08:42 $ docker stop --time=1 35bfb67e17280afb6748589633de77c15532aa4ca18b3322c84fae697153930e 05:08:43 $ docker rm -f --volumes 35bfb67e17280afb6748589633de77c15532aa4ca18b3322c84fae697153930e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:10:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3947 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:10:05 Running in /w/workspace/device-sdk-go/143 [Pipeline] { [Pipeline] checkout 05:10:05 The recommended git tool is: git 05:10:10 using credential edgex-jenkins-ssh 05:10:10 Cloning the remote Git repository 05:10:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:10:10 > git init /w/workspace/device-sdk-go/143 # timeout=10 05:10:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:10:11 > git --version # timeout=10 05:10:11 > git --version # 'git version 2.25.1' 05:10:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:10:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:10:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:10:13 Avoid second fetch 05:10:13 Checking out Revision 881f10918eb4e60f546b60d89ac5bea6bad2c109 (main) 05:10:14 Commit message: "Merge pull request #1279 from jinlinGuan/issue-780-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:13 > git config core.sparsecheckout # timeout=10 05:10:13 > git checkout -f 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 05:10:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:10:15 % Total % Received % Xferd Average Speed Time Time Time Current 05:10:15 Dload Upload Total Spent Left Speed 05:10:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 05:10:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:10:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:10:16 + sudo tee /etc/docker/daemon.new 05:10:16 { 05:10:16 "registry-mirrors": [ 05:10:16 "https://nexus3.edgexfoundry.org:10001" 05:10:16 ], 05:10:16 "bip": "10.250.0.254/24", 05:10:16 "hosts": [ 05:10:16 "tcp://0.0.0.0:5555", 05:10:16 "unix:///var/run/docker.sock" 05:10:16 ], 05:10:16 "mtu": 1458, 05:10:16 "selinux-enabled": true, 05:10:16 "seccomp-profile": "/etc/docker/seccomp.json" 05:10:16 } [Pipeline] sh 05:10:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:10:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:35 provisioning config files... 05:10:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/143@tmp/config14325099355097498482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:35 ---> docker-login.sh 05:10:35 nexus3.edgexfoundry.org:10001 05:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:36 Configure a credential helper to remove this warning. See 05:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:36 05:10:36 Login Succeeded 05:10:36 nexus3.edgexfoundry.org:10002 05:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:36 Configure a credential helper to remove this warning. See 05:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:36 05:10:36 Login Succeeded 05:10:36 nexus3.edgexfoundry.org:10003 05:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:36 Configure a credential helper to remove this warning. See 05:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:36 05:10:36 Login Succeeded 05:10:36 nexus3.edgexfoundry.org:10004 05:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:37 Configure a credential helper to remove this warning. See 05:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:37 05:10:37 Login Succeeded 05:10:37 docker.io 05:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:37 Configure a credential helper to remove this warning. See 05:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:37 05:10:37 Login Succeeded 05:10:37 ---> docker-login.sh ends [Pipeline] } 05:10:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:10:37 ========================================================= 05:10:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:10:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:38 + 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 . 05:10:38 Sending build context to Docker daemon 5.687MB 05:10:38 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:10:38 Step 2/10 : FROM ${BASE} AS builder 05:10:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:10:38 9b18e9b68314: Pulling fs layer 05:10:38 35d82f9e3411: Pulling fs layer 05:10:38 e16973657156: Pulling fs layer 05:10:38 fc693d55d65f: Pulling fs layer 05:10:38 7e9fc2657dce: Pulling fs layer 05:10:38 dda99020689f: Pulling fs layer 05:10:38 db1c61fa0a46: Pulling fs layer 05:10:38 891c053d2c06: Pulling fs layer 05:10:38 fc693d55d65f: Waiting 05:10:38 7e9fc2657dce: Waiting 05:10:38 dda99020689f: Waiting 05:10:38 db1c61fa0a46: Waiting 05:10:38 891c053d2c06: Waiting 05:10:38 e16973657156: Verifying Checksum 05:10:38 e16973657156: Download complete 05:10:38 35d82f9e3411: Download complete 05:10:38 7e9fc2657dce: Verifying Checksum 05:10:38 7e9fc2657dce: Download complete 05:10:38 dda99020689f: Verifying Checksum 05:10:38 dda99020689f: Download complete 05:10:38 9b18e9b68314: Verifying Checksum 05:10:38 9b18e9b68314: Download complete 05:10:39 9b18e9b68314: Pull complete 05:10:40 891c053d2c06: Verifying Checksum 05:10:40 891c053d2c06: Download complete 05:10:40 35d82f9e3411: Pull complete 05:10:40 e16973657156: Pull complete 05:10:41 db1c61fa0a46: Verifying Checksum 05:10:41 db1c61fa0a46: Download complete 05:10:41 fc693d55d65f: Verifying Checksum 05:10:41 fc693d55d65f: Download complete 05:10:51 fc693d55d65f: Pull complete 05:10:52 7e9fc2657dce: Pull complete 05:10:52 dda99020689f: Pull complete 05:10:57 db1c61fa0a46: Pull complete 05:10:59 891c053d2c06: Pull complete 05:10:59 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:10:59 ---> f96f9c87975a 05:10:59 Step 3/10 : ARG MAKE=make build 05:11:01 ---> Running in ba6f57301208 05:11:01 Removing intermediate container ba6f57301208 05:11:01 ---> 3ab34f86e6ef 05:11:01 Step 4/10 : WORKDIR /device-sdk-go 05:11:01 ---> Running in d90bd70a0e0a 05:11:01 Removing intermediate container d90bd70a0e0a 05:11:01 ---> 36d8328a132a 05:11:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:11:01 ---> Running in e4d5c291cca2 05:11:01 Removing intermediate container e4d5c291cca2 05:11:01 ---> 91ee0891b19d 05:11:01 Step 6/10 : RUN apk add --update --no-cache make git 05:11:02 ---> Running in 6aad3a78f8c5 05:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:11:04 OK: 221 MiB in 51 packages 05:11:05 Removing intermediate container 6aad3a78f8c5 05:11:05 ---> 70df353eabeb 05:11:05 Step 7/10 : COPY go.mod vendor* ./ 05:11:05 ---> 65cee088de93 05:11:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:05 ---> Running in 8a856bf06b2c 05:12:13 Removing intermediate container 8a856bf06b2c 05:12:13 ---> beea8e19ef06 05:12:13 Step 9/10 : COPY . . 05:12:13 ---> 222a8216074b 05:12:13 Step 10/10 : RUN ${MAKE} 05:12:13 ---> Running in cfec4d5bfcbb 05:12:13 noop 05:12:13 Removing intermediate container cfec4d5bfcbb 05:12:13 ---> 681891501383 05:12:13 Successfully built 681891501383 05:12:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:14 + docker inspect -f . ci-base-image-arm64 05:12:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:14 prd-ubuntu20.04-docker-arm64-4c-16g-3947 does not seem to be running inside a container 05:12:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/143 -v /w/workspace/device-sdk-go/143:/w/workspace/device-sdk-go/143:rw,z -v /w/workspace/device-sdk-go/143@tmp:/w/workspace/device-sdk-go/143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:12:15 $ docker top ca510abd249d3c5194d42e9fab83cdb87d80c7fe707a9b270b1999b828400051 -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:16 + go version 05:12:16 go version go1.18.7 linux/arm64 [Pipeline] } 05:12:16 $ docker stop --time=1 ca510abd249d3c5194d42e9fab83cdb87d80c7fe707a9b270b1999b828400051 05:12:18 $ docker rm -f --volumes ca510abd249d3c5194d42e9fab83cdb87d80c7fe707a9b270b1999b828400051 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:18 + docker inspect -f . ci-base-image-arm64 05:12:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:18 prd-ubuntu20.04-docker-arm64-4c-16g-3947 does not seem to be running inside a container 05:12:18 $ 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/143 -v /w/workspace/device-sdk-go/143:/w/workspace/device-sdk-go/143:rw,z -v /w/workspace/device-sdk-go/143@tmp:/w/workspace/device-sdk-go/143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:12:20 $ docker top 3d6891abb329bf4c041b6dd8161d90aa115686fc9b979400416572b41756a936 -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:20 + git config --global --add safe.directory /w/workspace/device-sdk-go/143 [Pipeline] fileExists [Pipeline] sh 05:12:20 + make test 05:12:21 go test -race -coverprofile=coverage.out ./... 05:12:53 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:15:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.410s coverage: 27.6% of statements 05:15:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.359s coverage: 78.9% of statements 05:15:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 05:15:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.536s coverage: 73.6% of statements 05:15:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:15:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:15:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.597s coverage: 60.6% of statements 05:15:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:15:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 05:15:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:15:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 05:15:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.528s coverage: 65.1% of statements 05:15:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:15:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:15:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.791s coverage: 89.2% of statements 05:15:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 05:15:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.460s coverage: 4.6% of statements 05:15:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:15:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:15:10 GO111MODULE=on go vet ./... 05:16:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:16:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:16:47 ./bin/test-attribution-txt.sh [Pipeline] echo 05:16:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:16:47 $ docker stop --time=1 3d6891abb329bf4c041b6dd8161d90aa115686fc9b979400416572b41756a936 05:16:49 $ docker rm -f --volumes 3d6891abb329bf4c041b6dd8161d90aa115686fc9b979400416572b41756a936 [Pipeline] // withDockerContainer [Pipeline] sh 05:16:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:16:50 Warning: overwriting stash ‘coverage-report’ 05:16:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:16:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:16:52 + ls -al . 05:16:52 total 268 05:16:52 drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 05:12 . 05:16:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 05:10 .. 05:16:52 -rw-rw-r-- 1 jenkins jenkins 140 Jan 30 05:10 .dockerignore 05:16:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 05:10 .git 05:16:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 05:10 .github 05:16:52 -rw-rw-r-- 1 jenkins jenkins 131 Jan 30 05:10 .gitignore 05:16:52 -rw-rw-r-- 1 jenkins jenkins 42 Jan 30 05:10 .golangci.yml 05:16:52 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 30 05:10 CHANGELOG.md 05:16:52 -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 05:10 GOVERNANCE.md 05:16:52 -rw-rw-r-- 1 jenkins jenkins 880 Jan 30 05:10 Jenkinsfile 05:16:52 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 30 05:10 LICENSE 05:16:52 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 30 05:10 Makefile 05:16:52 -rw-rw-r-- 1 jenkins jenkins 619 Jan 30 05:10 OWNERS.md 05:16:52 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 30 05:10 README.md 05:16:52 -rw-rw-r-- 1 jenkins jenkins 12 Jan 30 05:06 VERSION 05:16:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 05:10 bin 05:16:52 -rw-r--r-- 1 jenkins jenkins 100832 Jan 30 05:15 coverage.out 05:16:52 drwxrwxr-x 5 jenkins jenkins 4096 Jan 30 05:10 example 05:16:52 -rw-rw-r-- 1 jenkins jenkins 3307 Jan 30 05:10 go.mod 05:16:52 -rw-rw-r-- 1 jenkins jenkins 34396 Jan 30 05:10 go.sum 05:16:52 drwxrwxr-x 14 jenkins jenkins 4096 Jan 30 05:10 internal 05:16:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 05:10 openapi 05:16:52 drwxrwxr-x 6 jenkins jenkins 4096 Jan 30 05:10 pkg 05:16:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 05:10 snap 05:16:52 -rw-rw-r-- 1 jenkins jenkins 222 Jan 30 05:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:52 + 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=881f10918eb4e60f546b60d89ac5bea6bad2c109 --label arch=arm64 --label version=3.0.0-dev.13 . 05:16:52 Sending build context to Docker daemon 5.788MB 05:16:52 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:16:52 Step 2/23 : FROM ${BASE} AS builder 05:16:52 ---> 681891501383 05:16:52 Step 3/23 : ARG MAKE=make build 05:16:52 ---> Running in 3ba75954c48d 05:16:53 Removing intermediate container 3ba75954c48d 05:16:53 ---> 56d94e92a635 05:16:53 Step 4/23 : WORKDIR /device-sdk-go 05:16:53 ---> Running in f43073ff243c 05:16:53 Removing intermediate container f43073ff243c 05:16:53 ---> a33cc5d02f4c 05:16:53 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:16:53 ---> Running in f067fe9c009e 05:16:54 Removing intermediate container f067fe9c009e 05:16:54 ---> 07e6a8e1ee59 05:16:54 Step 6/23 : RUN apk add --update --no-cache make git 05:16:54 ---> Running in b0d023ea2a82 05:16:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:16:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:16:56 OK: 221 MiB in 51 packages 05:16:57 Removing intermediate container b0d023ea2a82 05:16:57 ---> 7062a1ea1677 05:16:57 Step 7/23 : COPY go.mod vendor* ./ 05:16:57 ---> c27114300895 05:16:57 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:57 ---> Running in e06dae874840 05:17:00 Removing intermediate container e06dae874840 05:17:00 ---> 4dfa92ba4b51 05:17:00 Step 9/23 : COPY . . 05:17:01 ---> afb581fa373a 05:17:01 Step 10/23 : RUN ${MAKE} 05:17:01 ---> Running in bc35dd98607b 05:17:02 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.13" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:19:24 Removing intermediate container bc35dd98607b 05:19:24 ---> b8ac77a145b2 05:19:24 Step 11/23 : FROM alpine:3.16 05:19:24 3.16: Pulling from library/alpine 05:19:24 6875df1f5354: Pulling fs layer 05:19:24 6875df1f5354: Verifying Checksum 05:19:24 6875df1f5354: Download complete 05:19:24 6875df1f5354: Pull complete 05:19:24 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 05:19:24 Status: Downloaded newer image for alpine:3.16 05:19:24 ---> 2b4661558fb8 05:19:24 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:19:24 ---> Running in 948c21e2abaa 05:19:24 Removing intermediate container 948c21e2abaa 05:19:24 ---> 1e4c501e1a8e 05:19:24 Step 13/23 : RUN apk add --update --no-cache 05:19:24 ---> Running in 7b80bfd51f07 05:19:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:19:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:19:24 OK: 5 MiB in 14 packages 05:19:24 Removing intermediate container 7b80bfd51f07 05:19:24 ---> 71145111d46f 05:19:24 Step 14/23 : WORKDIR / 05:19:24 ---> Running in 1bf239bb1882 05:19:24 Removing intermediate container 1bf239bb1882 05:19:24 ---> a7675f919e47 05:19:24 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:19:24 ---> 42db55615b0f 05:19:24 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:19:24 ---> a194582bc5cb 05:19:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:19:24 ---> f472c8d6b6aa 05:19:24 Step 18/23 : EXPOSE 59999 05:19:24 ---> Running in 6183cbf7e2b3 05:19:24 Removing intermediate container 6183cbf7e2b3 05:19:24 ---> 01d3cc4dfc91 05:19:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:19:24 ---> Running in e74979b3355e 05:19:24 Removing intermediate container e74979b3355e 05:19:24 ---> 51a44667aad9 05:19:24 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:19:24 ---> Running in 09b48b25e1d9 05:19:24 Removing intermediate container 09b48b25e1d9 05:19:24 ---> 82b3d2ac3ab0 05:19:24 Step 21/23 : LABEL arch=arm64 05:19:24 ---> Running in 923268def2e9 05:19:24 Removing intermediate container 923268def2e9 05:19:24 ---> 0a6b86e4a3ec 05:19:24 Step 22/23 : LABEL git_sha=881f10918eb4e60f546b60d89ac5bea6bad2c109 05:19:24 ---> Running in 791637f5817d 05:19:24 Removing intermediate container 791637f5817d 05:19:24 ---> c873a216187f 05:19:24 Step 23/23 : LABEL version=3.0.0-dev.13 05:19:24 ---> Running in d8c78d86b82c 05:19:24 Removing intermediate container d8c78d86b82c 05:19:24 ---> 990a1dc2cae5 05:19:24 [Warning] One or more build-args [ARCH] were not consumed 05:19:24 Successfully built 990a1dc2cae5 05:19:24 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 05:19:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:24 05:19:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:25 arm64: Pulling from edgex-lftools-log-publisher 05:19:25 8998bd30e6a1: Pulling fs layer 05:19:25 04944245beec: Pulling fs layer 05:19:25 699f458cf7ca: Pulling fs layer 05:19:25 765212b225bb: Pulling fs layer 05:19:25 f23df028b6ca: Pulling fs layer 05:19:25 d65c8cfc05b1: Pulling fs layer 05:19:25 2437ff75d9bd: Pulling fs layer 05:19:25 765212b225bb: Waiting 05:19:25 f23df028b6ca: Waiting 05:19:25 d65c8cfc05b1: Waiting 05:19:25 2437ff75d9bd: Waiting 05:19:25 04944245beec: Verifying Checksum 05:19:25 04944245beec: Download complete 05:19:25 765212b225bb: Verifying Checksum 05:19:25 765212b225bb: Download complete 05:19:25 f23df028b6ca: Verifying Checksum 05:19:25 f23df028b6ca: Download complete 05:19:25 d65c8cfc05b1: Verifying Checksum 05:19:25 d65c8cfc05b1: Download complete 05:19:25 699f458cf7ca: Verifying Checksum 05:19:25 699f458cf7ca: Download complete 05:19:26 8998bd30e6a1: Verifying Checksum 05:19:26 8998bd30e6a1: Download complete 05:19:28 2437ff75d9bd: Verifying Checksum 05:19:28 2437ff75d9bd: Download complete 05:19:29 8998bd30e6a1: Pull complete 05:19:29 04944245beec: Pull complete 05:19:31 699f458cf7ca: Pull complete 05:19:31 765212b225bb: Pull complete 05:19:32 f23df028b6ca: Pull complete 05:19:32 d65c8cfc05b1: Pull complete 05:19:44 2437ff75d9bd: Pull complete 05:19:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:19:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:44 prd-ubuntu20.04-docker-arm64-4c-16g-3947 does not seem to be running inside a container 05:19:44 $ 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/143 -v /w/workspace/device-sdk-go/143:/w/workspace/device-sdk-go/143:rw,z -v /w/workspace/device-sdk-go/143@tmp:/w/workspace/device-sdk-go/143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:19:47 $ docker top 0d082364281e930fee82fde093f7873f37d83fe3d70742bd4da878415d78694b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:48 ---> job-cost.sh 05:19:48 lf-activate-venv: SKIPPING 05:19:48 INFO: No Stack... 05:19:48 INFO: Retrieving Pricing Info for: v3-standard-4 05:19:49 INFO: Archiving Costs [Pipeline] sh 05:19:49 + cat /w/workspace/device-sdk-go/143/archives/cost.csv 05:19:49 + cut -d, -f6 [Pipeline] lock 05:19:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-143-stack-cost] 05:19:49 Resource [jenkins-edgexfoundry-device-sdk-go-main-143-stack-cost] did not exist. Created. 05:19:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:19:50 /w/workspace/device-sdk-go/143@tmp/durable-01f18c37/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:19:50 + echo total: 0.10999999940395355 [Pipeline] stash 05:19:50 Warning: overwriting stash ‘stack-cost’ 05:19:50 Stashed 1 file(s) [Pipeline] } 05:19:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } 05:19:50 $ docker stop --time=1 0d082364281e930fee82fde093f7873f37d83fe3d70742bd4da878415d78694b 05:19:52 $ docker rm -f --volumes 0d082364281e930fee82fde093f7873f37d83fe3d70742bd4da878415d78694b [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 05:19:52 provisioning config files... 05:19:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11661456220283683737tmp [Pipeline] { [Pipeline] sh 05:19:53 + set +x 05:19:53 + curl -s https://codecov.io/bash 05:19:53 + bash -s -- 05:19:53 05:19:53 _____ _ 05:19:53 / ____| | | 05:19:53 | | ___ __| | ___ ___ _____ __ 05:19:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:19:53 | |___| (_) | (_| | __/ (_| (_) \ V / 05:19:53 \_____\___/ \__,_|\___|\___\___/ \_/ 05:19:53 Bash-1.0.6 05:19:53 05:19:53 05:19:53 ==> git version 2.25.1 found 05:19:53 ==> 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 05:19:53 Release-Date: 2020-01-08 05:19:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:19:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:19:53 ==> Jenkins CI detected. 05:19:53 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:19:53 project root: . 05:19:53 --> token set from env 05:19:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:19:53 ==> Running gcov in . (disable via -X gcov) 05:19:53 ==> Python coveragepy not found 05:19:53 ==> Searching for coverage reports in: 05:19:53 + . 05:19:53 -> Found 1 reports 05:19:53 ==> Detecting git/mercurial file structure 05:19:53 ==> Reading reports 05:19:53 + ./coverage.out bytes=100832 05:19:53 ==> Appending adjustments 05:19:53 https://docs.codecov.io/docs/fixing-reports 05:19:53 + Found adjustments 05:19:53 ==> Gzipping contents 05:19:53 16K /tmp/codecov.4nOtAQ.gz 05:19:53 ==> Uploading reports 05:19:53 url: https://codecov.io 05:19:53 query: branch=main&commit=881f10918eb4e60f546b60d89ac5bea6bad2c109&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:19:53 -> Pinging Codecov 05:19:53 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=881f10918eb4e60f546b60d89ac5bea6bad2c109&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:19:53 -> Uploading to 05:19:53 https://storage.googleapis.com/codecov/v4/raw/2023-01-30/7E55EF52A471D76F132DFD9A03CDDE97/881f10918eb4e60f546b60d89ac5bea6bad2c109/de9c0652-4dc8-4b41-b6b2-bcdb4fbebe6b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230130T051953Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c154327d8c1f7bc7c91b329a26f51aeae1f7193731f690cdbf10f8600c485b9a 05:19:53 % Total % Received % Xferd Average Speed Time Time Time Current 05:19:53 Dload Upload Total Spent Left Speed 05:19:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14728 0 0 100 14728 0 57984 --:--:-- --:--:-- --:--:-- 57984 05:19:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/881f10918eb4e60f546b60d89ac5bea6bad2c109 [Pipeline] } 05:19:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:19:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:19:54 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:19:54 05:19:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:19:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:19:55 df9b9388f04a: Pulling fs layer 05:19:55 52dc419b0ee2: Pulling fs layer 05:19:55 25bc292e5bac: Pulling fs layer 05:19:55 114826534d7a: Pulling fs layer 05:19:55 4657fd5d0bcf: Pulling fs layer 05:19:55 6ad1cebc031e: Pulling fs layer 05:19:55 8a3aa393b2d8: Pulling fs layer 05:19:55 6ad1cebc031e: Waiting 05:19:55 8a3aa393b2d8: Waiting 05:19:55 25bc292e5bac: Verifying Checksum 05:19:55 25bc292e5bac: Download complete 05:19:55 52dc419b0ee2: Download complete 05:19:55 4657fd5d0bcf: Verifying Checksum 05:19:55 4657fd5d0bcf: Download complete 05:19:55 df9b9388f04a: Verifying Checksum 05:19:55 df9b9388f04a: Download complete 05:19:55 df9b9388f04a: Pull complete 05:19:55 52dc419b0ee2: Pull complete 05:19:55 6ad1cebc031e: Verifying Checksum 05:19:55 6ad1cebc031e: Download complete 05:19:55 25bc292e5bac: Pull complete 05:19:57 114826534d7a: Verifying Checksum 05:19:57 114826534d7a: Download complete 05:19:57 8a3aa393b2d8: Verifying Checksum 05:19:57 8a3aa393b2d8: Download complete 05:20:00 114826534d7a: Pull complete 05:20:00 4657fd5d0bcf: Pull complete 05:20:00 6ad1cebc031e: Pull complete 05:20:03 8a3aa393b2d8: Pull complete 05:20:03 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:20:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:20:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:03 prd-ubuntu20.04-docker-8c-8g-3946 does not seem to be running inside a container 05:20:03 $ 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 05:20:07 $ docker top b906228186b3eb57e9250929489dc08f6e53ef66217f3c8f0c69c2403c891bf4 -eo pid,comm [Pipeline] { [Pipeline] echo 05:20:07 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:20:07 + set -o pipefail 05:20:07 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:20:17 05:20:17 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:20:17 05:20:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/735c3e43-c0c2-4c9b-bca6-5da371e018e9 05:20:17 05:20:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:20:17 05:20:17 05:20:17 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:20:17 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:20:17 More details here: https://snyk.co/ue1NS [Pipeline] } 05:20:17 $ docker stop --time=1 b906228186b3eb57e9250929489dc08f6e53ef66217f3c8f0c69c2403c891bf4 05:20:20 $ docker rm -f --volumes b906228186b3eb57e9250929489dc08f6e53ef66217f3c8f0c69c2403c891bf4 [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 05:20:20 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:20 provisioning config files... 05:20:20 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8071664804082886789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:21 --> edgex-publish-swagger.sh 05:20:21 === Publish openapi/v2 API === 05:20:21 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 05:20:21 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 05:20:21 % Total % Received % Xferd Average Speed Time Time Time Current 05:20:21 Dload Upload Total Spent Left Speed 05:20:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53610 100 38 100 53572 76 105k --:--:-- --:--:-- --:--:-- 105k 05:20:21 {"code":403,"message":"Access Denied"} 05:20:21 [Pipeline] } 05:20:21 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 05:20:22 + git log --format=format:%s -1 881f10918eb4e60f546b60d89ac5bea6bad2c109 [Pipeline] sh 05:20:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:20:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:22 prd-ubuntu20.04-docker-8c-8g-3946 does not seem to be running inside a container 05:20:22 $ 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 05:20:23 $ docker top c6a1dd3d4df50e7cf019d9158188ffe7d581a10a6b66100c1e7d429655af12f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:23 [ssh-agent] Looking for ssh-agent implementation... 05:20:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:23 $ docker exec c6a1dd3d4df50e7cf019d9158188ffe7d581a10a6b66100c1e7d429655af12f0 ssh-agent 05:20:23 SSH_AUTH_SOCK=/tmp/ssh-pTUXCKofzckI/agent.32 05:20:23 SSH_AGENT_PID=38 05:20:23 Running ssh-add (command line suppressed) 05:20:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11146679168018858942.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11146679168018858942.key) 05:20:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:23 + git semver tag 05:20:24 2023-01-30 05:20:24,051 [run_tag] DEBUG tag force:False 05:20:24 2023-01-30 05:20:24,052 [check_head_tag] DEBUG check head tag 05:20:24 2023-01-30 05:20:24,053 [execute] INFO git cat-file --batch-check 05:20:24 2023-01-30 05:20:24,053 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:20:24 2023-01-30 05:20:24,056 [execute] INFO git cat-file --batch 05:20:24 2023-01-30 05:20:24,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:20:24 2023-01-30 05:20:24,082 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:20:24 2023-01-30 05:20:24,082 [execute] INFO git tag -a v3.0.0-dev.13 -m v3.0.0-dev.13 05:20:24 2023-01-30 05:20:24,083 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.13', '-m', 'v3.0.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:20:24 2023-01-30 05:20:24,087 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:20:24 3.0.0-dev.13 [Pipeline] } 05:20:24 $ docker exec --env ******** --env ******** c6a1dd3d4df50e7cf019d9158188ffe7d581a10a6b66100c1e7d429655af12f0 ssh-agent -k 05:20:24 unset SSH_AUTH_SOCK; 05:20:24 unset SSH_AGENT_PID; 05:20:24 echo Agent pid 38 killed; 05:20:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:24 + git semver [Pipeline] } 05:20:24 $ docker stop --time=1 c6a1dd3d4df50e7cf019d9158188ffe7d581a10a6b66100c1e7d429655af12f0 05:20:26 $ docker rm -f --volumes c6a1dd3d4df50e7cf019d9158188ffe7d581a10a6b66100c1e7d429655af12f0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:20:26 05:20:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:20:26 0.23.1-centos7: Pulling from edgex-lftools 05:20:26 ab5ef0e58194: Pulling fs layer 05:20:26 9712f1f96733: Pulling fs layer 05:20:26 63f879dbbcfc: Pulling fs layer 05:20:26 0d9ebad4ef96: Pulling fs layer 05:20:26 e9a5061849ea: Pulling fs layer 05:20:26 d747dcd14b5f: Pulling fs layer 05:20:26 2de7ff778b66: Pulling fs layer 05:20:26 e9a5061849ea: Waiting 05:20:26 d747dcd14b5f: Waiting 05:20:26 2de7ff778b66: Waiting 05:20:26 0d9ebad4ef96: Waiting 05:20:26 9712f1f96733: Download complete 05:20:27 63f879dbbcfc: Verifying Checksum 05:20:27 63f879dbbcfc: Download complete 05:20:28 0d9ebad4ef96: Verifying Checksum 05:20:28 0d9ebad4ef96: Download complete 05:20:28 d747dcd14b5f: Download complete 05:20:28 ab5ef0e58194: Verifying Checksum 05:20:28 ab5ef0e58194: Download complete 05:20:28 e9a5061849ea: Verifying Checksum 05:20:28 e9a5061849ea: Download complete 05:20:28 2de7ff778b66: Verifying Checksum 05:20:28 2de7ff778b66: Download complete 05:20:30 ab5ef0e58194: Pull complete 05:20:30 9712f1f96733: Pull complete 05:20:31 63f879dbbcfc: Pull complete 05:20:34 0d9ebad4ef96: Pull complete 05:20:34 e9a5061849ea: Pull complete 05:20:34 d747dcd14b5f: Pull complete 05:20:35 2de7ff778b66: Pull complete 05:20:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:20:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:20:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:36 prd-ubuntu20.04-docker-8c-8g-3946 does not seem to be running inside a container 05:20:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:20:39 $ docker top b95ecadebf112d5acc4d7d943ab4f89d8d9e0acdf4fdd23e4cfea38adbf8beb7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:20:39 provisioning config files... 05:20:39 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14965415356726387897tmp 05:20:39 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5892168392673658644tmp 05:20:39 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18314259667225207745tmp [Pipeline] { [Pipeline] echo 05:20:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:20:39 ---> sigul-configuration.sh 05:20:39 gpg: directory `/root/.gnupg' created 05:20:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:20:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:20:39 gpg: keyring `/root/.gnupg/secring.gpg' created 05:20:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:20:39 gpg: CAST5 encrypted data 05:20:39 gpg: encrypted with 1 passphrase 05:20:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:20:40 + mkdir /home/jenkins 05:20:40 + mkdir /home/jenkins/sigul [Pipeline] sh 05:20:40 + 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 05:20:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:20:40 ---> sigul-install.sh 05:20:40 Sigul already installed; skipping installation. [Pipeline] sh 05:20:41 + git tag --list 05:20:41 0.7.1 05:20:41 delhi-tag 05:20:41 v1.0.0 05:20:41 v1.1.0 05:20:41 v1.1.1 05:20:41 v1.1.2 05:20:41 v1.2.0 05:20:41 v1.2.1 05:20:41 v1.2.2 05:20:41 v1.2.3 05:20:41 v1.3.0 05:20:41 v1.4.0 05:20:41 v2.0.0 05:20:41 v2.1.0 05:20:41 v2.1.1 05:20:41 v2.1.1-dev.2 05:20:41 v2.1.1-dev.3 05:20:41 v2.2.0 05:20:41 v2.2.1-dev.1 05:20:41 v2.2.1-dev.10 05:20:41 v2.2.1-dev.11 05:20:41 v2.2.1-dev.12 05:20:41 v2.2.1-dev.13 05:20:41 v2.2.1-dev.14 05:20:41 v2.2.1-dev.2 05:20:41 v2.2.1-dev.3 05:20:41 v2.2.1-dev.4 05:20:41 v2.2.1-dev.5 05:20:41 v2.2.1-dev.6 05:20:41 v2.2.1-dev.7 05:20:41 v2.2.1-dev.8 05:20:41 v2.2.1-dev.9 05:20:41 v2.3.0 05:20:41 v2.3.0-dev.14 05:20:41 v2.3.0-dev.15 05:20:41 v2.3.0-dev.16 05:20:41 v2.3.0-dev.17 05:20:41 v2.3.0-dev.18 05:20:41 v2.3.0-dev.19 05:20:41 v2.3.0-dev.20 05:20:41 v2.3.0-dev.21 05:20:41 v2.3.0-dev.22 05:20:41 v2.3.0-dev.23 05:20:41 v2.3.0-dev.24 05:20:41 v2.3.0-dev.25 05:20:41 v2.3.0-dev.26 05:20:41 v2.3.0-dev.27 05:20:41 v2.3.0-dev.28 05:20:41 v2.3.0-dev.29 05:20:41 v2.3.0-dev.30 05:20:41 v2.3.0-dev.31 05:20:41 v2.3.0-dev.32 05:20:41 v2.3.0-dev.33 05:20:41 v2.3.0-dev.34 05:20:41 v2.3.0-dev.35 05:20:41 v2.3.0-dev.36 05:20:41 v2.3.0-dev.37 05:20:41 v2.3.0-dev.38 05:20:41 v2.3.0-dev.39 05:20:41 v2.3.0-dev.40 05:20:41 v2.3.0-dev.41 05:20:41 v2.3.0-dev.42 05:20:41 v2.3.0-dev.43 05:20:41 v2.3.0-dev.44 05:20:41 v2.3.0-dev.45 05:20:41 v2.3.0-dev.46 05:20:41 v2.3.0-dev.47 05:20:41 v2.3.0-dev.48 05:20:41 v2.3.0-dev.49 05:20:41 v2.3.0-dev.50 05:20:41 v2.3.0-dev.51 05:20:41 v2.3.1-dev.1 05:20:41 v2.3.1-dev.2 05:20:41 v3.0.0-dev.1 05:20:41 v3.0.0-dev.10 05:20:41 v3.0.0-dev.11 05:20:41 v3.0.0-dev.12 05:20:41 v3.0.0-dev.13 05:20:41 v3.0.0-dev.2 05:20:41 v3.0.0-dev.3 05:20:41 v3.0.0-dev.4 05:20:41 v3.0.0-dev.5 05:20:41 v3.0.0-dev.6 05:20:41 v3.0.0-dev.7 05:20:41 v3.0.0-dev.8 05:20:41 v3.0.0-dev.9 [Pipeline] sh 05:20:41 + lftools sign git-tag v3.0.0-dev.13 05:20:41 Signing Git tag with Sigul... 05:20:41 Signing v3.0.0-dev.13 [Pipeline] echo 05:20:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:20:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:20:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:20:42 $ docker stop --time=1 b95ecadebf112d5acc4d7d943ab4f89d8d9e0acdf4fdd23e4cfea38adbf8beb7 05:20:43 $ docker rm -f --volumes b95ecadebf112d5acc4d7d943ab4f89d8d9e0acdf4fdd23e4cfea38adbf8beb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:20:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:20:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:44 prd-ubuntu20.04-docker-8c-8g-3946 does not seem to be running inside a container 05:20:44 $ 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 05:20:44 $ docker top 89bdae47bc1c71b15f3545d38a704baac041fcac8b1f334efbba4428862c2500 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:44 [ssh-agent] Looking for ssh-agent implementation... 05:20:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:45 $ docker exec 89bdae47bc1c71b15f3545d38a704baac041fcac8b1f334efbba4428862c2500 ssh-agent 05:20:45 SSH_AUTH_SOCK=/tmp/ssh-ftaWEBjdYgJj/agent.31 05:20:45 SSH_AGENT_PID=37 05:20:45 Running ssh-add (command line suppressed) 05:20:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13891074145976182680.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13891074145976182680.key) 05:20:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:45 + git semver bump pre 05:20:45 2023-01-30 05:20:45,695 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:20:45 2023-01-30 05:20:45,695 [bump_version] DEBUG bumping version:3.0.0-dev.13 on axis:pre with prefix:dev 05:20:45 2023-01-30 05:20:45,695 [bump_version] DEBUG bumped version:3.0.0-dev.14 05:20:45 2023-01-30 05:20:45,695 [write_version] DEBUG write version:3.0.0-dev.14 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:20:45 2023-01-30 05:20:45,695 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:20:45 2023-01-30 05:20:45,696 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:20:45 2023-01-30 05:20:45,698 [execute] INFO git cat-file --batch-check 05:20:45 2023-01-30 05:20:45,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:20:45 2023-01-30 05:20:45,702 [execute] INFO git cat-file --batch 05:20:45 2023-01-30 05:20:45,702 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:20:45 2023-01-30 05:20:45,707 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:20:45 3.0.0-dev.14 [Pipeline] } 05:20:45 $ docker exec --env ******** --env ******** 89bdae47bc1c71b15f3545d38a704baac041fcac8b1f334efbba4428862c2500 ssh-agent -k 05:20:45 unset SSH_AUTH_SOCK; 05:20:45 unset SSH_AGENT_PID; 05:20:45 echo Agent pid 37 killed; 05:20:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:46 + git semver [Pipeline] } 05:20:46 $ docker stop --time=1 89bdae47bc1c71b15f3545d38a704baac041fcac8b1f334efbba4428862c2500 05:20:47 $ docker rm -f --volumes 89bdae47bc1c71b15f3545d38a704baac041fcac8b1f334efbba4428862c2500 [Pipeline] // withDockerContainer [Pipeline] sh 05:20:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:20:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:48 prd-ubuntu20.04-docker-8c-8g-3946 does not seem to be running inside a container 05:20:48 $ 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 05:20:48 $ docker top 77bfa2baef28dcf9bf8768d2edcd4c1a4549aa4d66cb2e82f8b7bd43d44f38bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:48 [ssh-agent] Looking for ssh-agent implementation... 05:20:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:49 $ docker exec 77bfa2baef28dcf9bf8768d2edcd4c1a4549aa4d66cb2e82f8b7bd43d44f38bc ssh-agent 05:20:49 SSH_AUTH_SOCK=/tmp/ssh-iK3MrnYKSJln/agent.31 05:20:49 SSH_AGENT_PID=37 05:20:49 Running ssh-add (command line suppressed) 05:20:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6078722799756497948.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6078722799756497948.key) 05:20:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:49 + git semver push 05:20:49 2023-01-30 05:20:49,716 [run_push] DEBUG push 05:20:49 2023-01-30 05:20:49,716 [execute] INFO git cat-file --batch-check 05:20:49 2023-01-30 05:20:49,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:20:49 2023-01-30 05:20:49,720 [execute] INFO git rev-list 3c07d9f30545c769dcdb78333ac75552570935ed -- 05:20:49 2023-01-30 05:20:49,720 [execute] DEBUG Popen(['git', 'rev-list', '3c07d9f30545c769dcdb78333ac75552570935ed', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:20:49 2023-01-30 05:20:49,731 [execute] INFO git fetch -v origin 05:20:49 2023-01-30 05:20:49,731 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:20:50 2023-01-30 05:20:50,253 [run_push] DEBUG no remote changes detected 05:20:50 2023-01-30 05:20:50,254 [execute] INFO git push origin semver 05:20:50 2023-01-30 05:20:50,254 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:20:51 2023-01-30 05:20:51,036 [run_push] DEBUG push all version tags 05:20:51 2023-01-30 05:20:51,036 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:20:51 2023-01-30 05:20:51,037 [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) 05:20:51 2023-01-30 05:20:51,762 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:20:51 3.0.0-dev.14 [Pipeline] } 05:20:51 $ docker exec --env ******** --env ******** 77bfa2baef28dcf9bf8768d2edcd4c1a4549aa4d66cb2e82f8b7bd43d44f38bc ssh-agent -k 05:20:52 unset SSH_AUTH_SOCK; 05:20:52 unset SSH_AGENT_PID; 05:20:52 echo Agent pid 37 killed; 05:20:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:52 + git semver [Pipeline] } 05:20:52 $ docker stop --time=1 77bfa2baef28dcf9bf8768d2edcd4c1a4549aa4d66cb2e82f8b7bd43d44f38bc 05:20:53 $ docker rm -f --volumes 77bfa2baef28dcf9bf8768d2edcd4c1a4549aa4d66cb2e82f8b7bd43d44f38bc [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 05:20:54 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:20:54 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:20:54 total 16 05:20:54 drwxr-xr-x 3 root root 4096 Jan 30 05:08 . 05:20:54 drwxrwxr-x 12 jenkins jenkins 4096 Jan 30 05:20 .. 05:20:54 drwxr-xr-x 2 root root 4096 Jan 30 05:08 cost 05:20:54 -rw-r--r-- 1 root root 85 Jan 30 05:08 cost.csv 05:20:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:20:54 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:20:54 total 16 05:20:54 drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 05:08 . 05:20:54 drwxrwxr-x 12 jenkins jenkins 4096 Jan 30 05:20 .. 05:20:54 drwxr-xr-x 2 jenkins jenkins 4096 Jan 30 05:08 cost 05:20:54 -rw-r--r-- 1 jenkins jenkins 85 Jan 30 05:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:20:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:20:55 ---> package-listing.sh 05:20:55 ++ facter osfamily 05:20:55 ++ tr '[:upper:]' '[:lower:]' 05:20:55 + OS_FAMILY=debian 05:20:55 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:20:55 + START_PACKAGES=/tmp/packages_start.txt 05:20:55 + END_PACKAGES=/tmp/packages_end.txt 05:20:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:20:55 + PACKAGES=/tmp/packages_start.txt 05:20:55 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:20:55 + PACKAGES=/tmp/packages_end.txt 05:20:55 + case "${OS_FAMILY}" in 05:20:55 + dpkg -l 05:20:55 + grep '^ii' 05:20:55 + '[' -f /tmp/packages_start.txt ']' 05:20:55 + '[' -f /tmp/packages_end.txt ']' 05:20:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:20:55 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:20:55 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:20:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:20:55 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 05:20:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:56 prd-ubuntu20.04-docker-8c-8g-3946 does not seem to be running inside a container 05:20:56 $ 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 05:20:56 $ docker top 835c88cdaf3fc04d0b7ab8e6b23a3a7a99e9390235400b228a1a4ce2435f7abe -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:57 + touch /tmp/pre-build-complete [Pipeline] sh 05:20:57 + mkdir -p /var/log/sysstat [Pipeline] sh 05:20:57 + ls /var/log/sa-host 05:20:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:58 provisioning config files... 05:20:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14985222147717977901tmp [Pipeline] { [Pipeline] echo 05:20:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:20:58 ---> create-netrc.sh [Pipeline] } 05:20:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:20:58 ---> python-tools-install.sh [Pipeline] echo 05:20:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:20:58 ---> sudo-logs.sh 05:20:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:20:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:20:59 ---> job-cost.sh 05:20:59 lf-activate-venv: SKIPPING 05:20:59 DEBUG: total: 0.2199999988079071 05:20:59 INFO: Retrieving Stack Cost... 05:20:59 INFO: Retrieving Pricing Info for: v3-standard-8 05:21:00 INFO: Archiving Costs [Pipeline] echo 05:21:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:21:00 ---> logs-deploy.sh 05:21:00 lf-activate-venv: SKIPPING 05:21:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/143 05:21:00 INFO: archiving workspace using pattern(s): 05:21:01 Archives upload complete. 05:21:01 INFO: archiving logs to Nexus