Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 774c2037947f109106e5ac1f44e7b15f17fcf2b1 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-ssh12508610706490817019.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-ssh15990488239929891093.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-ssh1504768161421947384.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-ssh8358973097799930588.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-ssh18432891457708651547.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8603 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 774c2037947f109106e5ac1f44e7b15f17fcf2b1 (main) Commit message: "feat!: Apply JWT authentication to incoming calls (#1343)" > 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 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 > git rev-list --no-walk 384d7c5e7ac8081017ff56bc2958a812a210b269 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:40:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:40:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:40:14 ========================================================= 18:40:14 EdgeX Global Pipelines Version Info 18:40:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:40:14 ------------------- 18:40:14 stable info: 18:40:14 ------------------- 18:40:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:40:14 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:40:14 Message: update stable to v1.0.244 18:40:15 ------------------- 18:40:15 experimental info: 18:40:15 ------------------- 18:40:15 Commited By: **** collab-it+edgex@linuxfoundation.org 18:40:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:40:15 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 774c2037947f109106e5ac1f44e7b15f17fcf2b1 [Pipeline] echo 18:40:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 774c203 [Pipeline] echo 18:40:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:40:16 provisioning config files... 18:40:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3911632934098499215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:16 ---> docker-login.sh 18:40:16 nexus3.edgexfoundry.org:10001 18:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:16 Configure a credential helper to remove this warning. See 18:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:16 18:40:16 Login Succeeded 18:40:16 nexus3.edgexfoundry.org:10002 18:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:16 Configure a credential helper to remove this warning. See 18:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:16 18:40:16 Login Succeeded 18:40:16 nexus3.edgexfoundry.org:10003 18:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:16 Configure a credential helper to remove this warning. See 18:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:16 18:40:16 Login Succeeded 18:40:16 nexus3.edgexfoundry.org:10004 18:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:16 Configure a credential helper to remove this warning. See 18:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:16 18:40:16 Login Succeeded 18:40:16 docker.io 18:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:17 Configure a credential helper to remove this warning. See 18:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:17 18:40:17 Login Succeeded 18:40:17 ---> docker-login.sh ends [Pipeline] } 18:40:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:40:17 + git rev-list -1 --merges 774c2037947f109106e5ac1f44e7b15f17fcf2b1~1..774c2037947f109106e5ac1f44e7b15f17fcf2b1 [Pipeline] echo 18:40:17 -----------> git rev-list -1 --merges 774c2037947f109106e5ac1f44e7b15f17fcf2b1~1..774c2037947f109106e5ac1f44e7b15f17fcf2b1 774c2037947f109106e5ac1f44e7b15f17fcf2b1 [false] [Pipeline] sh 18:40:17 + git log --format=format:%s -1 774c2037947f109106e5ac1f44e7b15f17fcf2b1 [Pipeline] echo 18:40:17 ========================================================= 18:40:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:40:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:40:18 + git log --format=format:%s -1 774c2037947f109106e5ac1f44e7b15f17fcf2b1 [Pipeline] echo 18:40:18 [semverPrep] GIT_COMMIT: 774c2037947f109106e5ac1f44e7b15f17fcf2b1, Commit Message: feat!: Apply JWT authentication to incoming calls (#1343) [Pipeline] echo 18:40:18 [semverPrep] This is not a build commit. [Pipeline] sh 18:40:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:40:18 + grep -v github /etc/ssh/ssh_known_hosts 18:40:18 + [ -e /tmp/ssh_known_hosts ] 18:40:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:40:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:40:18 + sudo tee -a /etc/ssh/ssh_known_hosts 18:40:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:40:18 18:40:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:40:19 0.1.4: Pulling from edgex-devops/py-git-semver 18:40:19 b85a868b505f: Pulling fs layer 18:40:19 e2be974225ed: Pulling fs layer 18:40:19 339a4e72a1f5: Pulling fs layer 18:40:19 988bab9f4d93: Pulling fs layer 18:40:19 1469e6f7b9e6: Pulling fs layer 18:40:19 eaf3925da568: Pulling fs layer 18:40:19 bab4dde63d76: Pulling fs layer 18:40:19 bde34c3a00c8: Pulling fs layer 18:40:19 b352a97aabf1: Pulling fs layer 18:40:19 4872d77fe225: Pulling fs layer 18:40:19 5851b861e8e6: Pulling fs layer 18:40:19 1469e6f7b9e6: Waiting 18:40:19 eaf3925da568: Waiting 18:40:19 bab4dde63d76: Waiting 18:40:19 bde34c3a00c8: Waiting 18:40:19 b352a97aabf1: Waiting 18:40:19 4872d77fe225: Waiting 18:40:19 5851b861e8e6: Waiting 18:40:19 988bab9f4d93: Waiting 18:40:19 e2be974225ed: Download complete 18:40:19 988bab9f4d93: Verifying Checksum 18:40:19 988bab9f4d93: Download complete 18:40:19 1469e6f7b9e6: Verifying Checksum 18:40:19 1469e6f7b9e6: Download complete 18:40:19 eaf3925da568: Verifying Checksum 18:40:19 eaf3925da568: Download complete 18:40:19 339a4e72a1f5: Verifying Checksum 18:40:19 339a4e72a1f5: Download complete 18:40:19 bde34c3a00c8: Verifying Checksum 18:40:19 bde34c3a00c8: Download complete 18:40:19 b352a97aabf1: Verifying Checksum 18:40:19 b352a97aabf1: Download complete 18:40:19 4872d77fe225: Verifying Checksum 18:40:19 4872d77fe225: Download complete 18:40:19 5851b861e8e6: Verifying Checksum 18:40:19 5851b861e8e6: Download complete 18:40:19 b85a868b505f: Verifying Checksum 18:40:19 b85a868b505f: Download complete 18:40:19 bab4dde63d76: Verifying Checksum 18:40:19 bab4dde63d76: Download complete 18:40:20 b85a868b505f: Pull complete 18:40:20 e2be974225ed: Pull complete 18:40:21 339a4e72a1f5: Pull complete 18:40:21 988bab9f4d93: Pull complete 18:40:21 1469e6f7b9e6: Pull complete 18:40:21 eaf3925da568: Pull complete 18:40:23 bab4dde63d76: Pull complete 18:40:23 bde34c3a00c8: Pull complete 18:40:23 b352a97aabf1: Pull complete 18:40:23 4872d77fe225: Pull complete 18:40:23 5851b861e8e6: Pull complete 18:40:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:40:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:40:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:40:23 prd-ubuntu20.04-docker-8c-8g-8603 does not seem to be running inside a container 18:40:23 $ 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 18:40:26 $ docker top ca68da873fe0f5acecd857400ad2e5acb02adce07530487d02fb5948f088787e -eo pid,comm 18:40:26 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). 18:40:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:40:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:40:26 [ssh-agent] Looking for ssh-agent implementation... 18:40:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:40:26 $ docker exec ca68da873fe0f5acecd857400ad2e5acb02adce07530487d02fb5948f088787e ssh-agent 18:40:26 SSH_AUTH_SOCK=/tmp/ssh-H8bNuCgfBsM8/agent.32 18:40:26 SSH_AGENT_PID=38 18:40:26 Running ssh-add (command line suppressed) 18:40:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5967279697819847092.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5967279697819847092.key) 18:40:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:40:26 + git tag --points-at HEAD [Pipeline] } 18:40:26 $ docker exec --env ******** --env ******** ca68da873fe0f5acecd857400ad2e5acb02adce07530487d02fb5948f088787e ssh-agent -k 18:40:27 unset SSH_AUTH_SOCK; 18:40:27 unset SSH_AGENT_PID; 18:40:27 echo Agent pid 38 killed; 18:40:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:40:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:40:27 [ssh-agent] Looking for ssh-agent implementation... 18:40:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:40:27 $ docker exec ca68da873fe0f5acecd857400ad2e5acb02adce07530487d02fb5948f088787e ssh-agent 18:40:27 SSH_AUTH_SOCK=/tmp/ssh-GXGcK2dF7klT/agent.70 18:40:27 SSH_AGENT_PID=76 18:40:27 Running ssh-add (command line suppressed) 18:40:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16177186395710795854.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16177186395710795854.key) 18:40:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:40:27 + git semver init 18:40:27 2023-03-07 18:40:27,878 [run_init] DEBUG init version:0.0.0 force:False 18:40:27 2023-03-07 18:40:27,879 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:40:27 2023-03-07 18:40:27,879 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:40:27 2023-03-07 18:40:27,879 [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) 18:40:28 2023-03-07 18:40:28,839 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 18:40:28 2023-03-07 18:40:28,840 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 18:40:28 2023-03-07 18:40:28,840 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:40:28 2023-03-07 18:40:28,840 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:40:28 3.0.0-dev.46 [Pipeline] } 18:40:28 $ docker exec --env ******** --env ******** ca68da873fe0f5acecd857400ad2e5acb02adce07530487d02fb5948f088787e ssh-agent -k 18:40:28 unset SSH_AUTH_SOCK; 18:40:28 unset SSH_AGENT_PID; 18:40:28 echo Agent pid 76 killed; 18:40:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:40:29 + git semver [Pipeline] } 18:40:29 $ docker stop --time=1 ca68da873fe0f5acecd857400ad2e5acb02adce07530487d02fb5948f088787e 18:40:30 $ docker rm -f --volumes ca68da873fe0f5acecd857400ad2e5acb02adce07530487d02fb5948f088787e [Pipeline] // withDockerContainer [Pipeline] sh 18:40:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:40:31 Stashed 1 file(s) [Pipeline] echo 18:40:31 [edgeXSemver]: initialized semver on version 3.0.0-dev.46 [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 18:40:31 provisioning config files... 18:40:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16212863583107794027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:31 ---> docker-login.sh 18:40:31 nexus3.edgexfoundry.org:10001 18:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:31 Configure a credential helper to remove this warning. See 18:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:31 18:40:31 Login Succeeded 18:40:31 nexus3.edgexfoundry.org:10002 18:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:31 Configure a credential helper to remove this warning. See 18:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:31 18:40:31 Login Succeeded 18:40:31 nexus3.edgexfoundry.org:10003 18:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:32 Configure a credential helper to remove this warning. See 18:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:32 18:40:32 Login Succeeded 18:40:32 nexus3.edgexfoundry.org:10004 18:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:32 Configure a credential helper to remove this warning. See 18:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:32 18:40:32 Login Succeeded 18:40:32 docker.io 18:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:32 Configure a credential helper to remove this warning. See 18:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:32 18:40:32 Login Succeeded 18:40:32 ---> docker-login.sh ends [Pipeline] } 18:40:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:40:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:40:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:40:32 ========================================================= 18:40:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:40:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:32 + 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 . 18:40:32 Sending build context to Docker daemon 10.62MB 18:40:32 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:40:32 Step 2/10 : FROM ${BASE} AS builder 18:40:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:40:33 213ec9aee27d: Pulling fs layer 18:40:33 4583459ba037: Pulling fs layer 18:40:33 93c1e223e6f2: Pulling fs layer 18:40:33 53926ce57604: Pulling fs layer 18:40:33 21b2b0c7a3f4: Pulling fs layer 18:40:33 22ff95d597cd: Pulling fs layer 18:40:33 12d6caf4c0d1: Pulling fs layer 18:40:33 96b7cbca73a9: Pulling fs layer 18:40:33 a7acece74701: Pulling fs layer 18:40:33 53926ce57604: Waiting 18:40:33 21b2b0c7a3f4: Waiting 18:40:33 96b7cbca73a9: Waiting 18:40:33 22ff95d597cd: Waiting 18:40:33 a7acece74701: Waiting 18:40:33 93c1e223e6f2: Verifying Checksum 18:40:33 93c1e223e6f2: Download complete 18:40:33 4583459ba037: Download complete 18:40:33 21b2b0c7a3f4: Verifying Checksum 18:40:33 21b2b0c7a3f4: Download complete 18:40:33 22ff95d597cd: Verifying Checksum 18:40:33 22ff95d597cd: Download complete 18:40:33 213ec9aee27d: Verifying Checksum 18:40:33 12d6caf4c0d1: Verifying Checksum 18:40:33 12d6caf4c0d1: Download complete 18:40:33 213ec9aee27d: Pull complete 18:40:33 4583459ba037: Pull complete 18:40:33 93c1e223e6f2: Pull complete 18:40:33 a7acece74701: Verifying Checksum 18:40:34 96b7cbca73a9: Verifying Checksum 18:40:34 96b7cbca73a9: Download complete 18:40:34 53926ce57604: Verifying Checksum 18:40:34 53926ce57604: Download complete 18:40:38 53926ce57604: Pull complete 18:40:38 21b2b0c7a3f4: Pull complete 18:40:38 22ff95d597cd: Pull complete 18:40:38 12d6caf4c0d1: Pull complete 18:40:40 96b7cbca73a9: Pull complete 18:40:40 a7acece74701: Pull complete 18:40:40 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:40:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:40:40 ---> db6d94c90886 18:40:40 Step 3/10 : ARG MAKE=make build 18:40:44 ---> Running in 1bde46e08ffb 18:40:44 Removing intermediate container 1bde46e08ffb 18:40:44 ---> 435ac20e0ca8 18:40:44 Step 4/10 : WORKDIR /device-sdk-go 18:40:44 ---> Running in b86524495323 18:40:44 Removing intermediate container b86524495323 18:40:44 ---> a67d9b266d84 18:40:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:40:44 ---> Running in 3bc628100f67 18:40:45 Removing intermediate container 3bc628100f67 18:40:45 ---> 5f0261037182 18:40:45 Step 6/10 : RUN apk add --update --no-cache make git 18:40:45 ---> Running in 5733174cba3a 18:40:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:40:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:40:45 OK: 211 MiB in 51 packages 18:40:46 Removing intermediate container 5733174cba3a 18:40:46 ---> 92123c8e4759 18:40:46 Step 7/10 : COPY go.mod vendor* ./ 18:40:46 ---> 0f8d4ec15d62 18:40:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:46 ---> Running in 9b5cd2bce88a 18:40:46 Still waiting to schedule task 18:40:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:41:12 Removing intermediate container 9b5cd2bce88a 18:41:12 ---> 197f6228bcf3 18:41:12 Step 9/10 : COPY . . 18:41:12 ---> 6fcb04af39bc 18:41:12 Step 10/10 : RUN ${MAKE} 18:41:12 ---> Running in 3defb096f005 18:41:12 noop 18:41:12 Removing intermediate container 3defb096f005 18:41:12 ---> 9b41f2cf5310 18:41:12 Successfully built 9b41f2cf5310 18:41:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:13 + docker inspect -f . ci-base-image-x86_64 18:41:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:13 prd-ubuntu20.04-docker-8c-8g-8603 does not seem to be running inside a container 18:41:13 $ 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 18:41:13 $ docker top 45e3fc02a5e6ddba25dc1fd2f3bc8796066d96a0c57896f01e9847eec96ca44e -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:13 + go version 18:41:13 go version go1.18.7 linux/amd64 [Pipeline] } 18:41:13 $ docker stop --time=1 45e3fc02a5e6ddba25dc1fd2f3bc8796066d96a0c57896f01e9847eec96ca44e 18:41:15 $ docker rm -f --volumes 45e3fc02a5e6ddba25dc1fd2f3bc8796066d96a0c57896f01e9847eec96ca44e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:15 + docker inspect -f . ci-base-image-x86_64 18:41:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:15 prd-ubuntu20.04-docker-8c-8g-8603 does not seem to be running inside a container 18:41:15 $ 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 18:41:15 $ docker top d1ef83065ff1c2031d01fc58a24e7af2eb5107988e99888deb6a88ac4304e6cd -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:16 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 18:41:16 + make test 18:41:16 go test -race -coverprofile=coverage.out ./... 18:41:23 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:41:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:41:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:41:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:41:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:41:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:41:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.068s coverage: 27.6% of statements 18:41:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.064s coverage: 78.9% of statements 18:41:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 18:41:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.103s coverage: 86.0% of statements 18:41:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:41:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:41:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 75.4% of statements 18:41:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:41:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.069s coverage: 15.3% of statements 18:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:41:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.093s coverage: 65.2% of statements 18:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:41:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.869s coverage: 89.2% of statements 18:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 18:41:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.6% of statements 18:41:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:41:58 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." 18:41:58 GO111MODULE=on go vet ./... 18:41:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:41:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:41:59 ./bin/test-attribution-txt.sh [Pipeline] echo 18:41:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:41:59 $ docker stop --time=1 d1ef83065ff1c2031d01fc58a24e7af2eb5107988e99888deb6a88ac4304e6cd 18:42:02 $ docker rm -f --volumes d1ef83065ff1c2031d01fc58a24e7af2eb5107988e99888deb6a88ac4304e6cd [Pipeline] // withDockerContainer [Pipeline] sh 18:42:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:42:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:42:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:42:04 + ls -al . 18:42:04 total 280 18:42:04 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 18:41 . 18:42:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:40 .. 18:42:04 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 18:40 .dockerignore 18:42:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:41 .git 18:42:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:40 .github 18:42:04 -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 18:40 .gitignore 18:42:04 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:40 .golangci.yml 18:42:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:40 .semver 18:42:04 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 18:40 CHANGELOG.md 18:42:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 18:40 GOVERNANCE.md 18:42:04 -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 18:40 Jenkinsfile 18:42:04 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 18:40 LICENSE 18:42:04 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 18:40 Makefile 18:42:04 -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 18:40 OWNERS.md 18:42:04 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 18:40 README.md 18:42:04 -rw-rw-r-- 1 jenkins jenkins 12 Mar 7 18:40 VERSION 18:42:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:40 bin 18:42:04 -rw-r--r-- 1 jenkins jenkins 111244 Mar 7 18:41 coverage.out 18:42:04 drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 18:40 example 18:42:04 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 18:40 go.mod 18:42:04 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 18:40 go.sum 18:42:04 drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 18:40 internal 18:42:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:40 openapi 18:42:04 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 18:40 pkg 18:42:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:40 snap 18:42:04 -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:04 + 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=774c2037947f109106e5ac1f44e7b15f17fcf2b1 --label arch=amd64 --label version=3.0.0-dev.46 . 18:42:04 Sending build context to Docker daemon 10.74MB 18:42:04 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 18:42:04 Step 2/23 : FROM ${BASE} AS builder 18:42:04 ---> 9b41f2cf5310 18:42:04 Step 3/23 : ARG MAKE=make build 18:42:04 ---> Running in 2a8bbf7cbcc6 18:42:04 Removing intermediate container 2a8bbf7cbcc6 18:42:04 ---> 3a6c20baf8a2 18:42:04 Step 4/23 : WORKDIR /device-sdk-go 18:42:04 ---> Running in a1582d977b4a 18:42:04 Removing intermediate container a1582d977b4a 18:42:04 ---> 1faa27f42239 18:42:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:42:04 ---> Running in b84c4168d36b 18:42:04 Removing intermediate container b84c4168d36b 18:42:04 ---> b29f2ef765e5 18:42:04 Step 6/23 : RUN apk add --update --no-cache make git 18:42:04 ---> Running in e38a80273501 18:42:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:42:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:42:05 OK: 211 MiB in 51 packages 18:42:05 Removing intermediate container e38a80273501 18:42:05 ---> 9b0c1a1a0c51 18:42:05 Step 7/23 : COPY go.mod vendor* ./ 18:42:05 ---> 03a7813d4e96 18:42:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:06 ---> Running in c6a9f8674609 18:42:07 Removing intermediate container c6a9f8674609 18:42:07 ---> 8ce7982bd31f 18:42:07 Step 9/23 : COPY . . 18:42:08 ---> bbc5e91b0d84 18:42:08 Step 10/23 : RUN ${MAKE} 18:42:08 ---> Running in ef534ed07cce 18:42:08 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.46" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:42:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8604 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 18:42:23 Running in /w/workspace/device-sdk-go/176 [Pipeline] { [Pipeline] checkout 18:42:24 The recommended git tool is: git 18:42:29 using credential edgex-jenkins-ssh 18:42:29 Cloning the remote Git repository 18:42:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:42:29 > git init /w/workspace/device-sdk-go/176 # timeout=10 18:42:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:42:29 > git --version # timeout=10 18:42:29 > git --version # 'git version 2.25.1' 18:42:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:42:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:42:30 Removing intermediate container ef534ed07cce 18:42:30 ---> 661a905163ab 18:42:30 Step 11/23 : FROM alpine:3.16 18:42:30 3.16: Pulling from library/alpine 18:42:30 ef5531b6e74e: Pulling fs layer 18:42:30 ef5531b6e74e: Verifying Checksum 18:42:30 ef5531b6e74e: Download complete 18:42:30 ef5531b6e74e: Pull complete 18:42:30 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:42:30 Status: Downloaded newer image for alpine:3.16 18:42:30 ---> dfd21b5a31f5 18:42:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:42:30 ---> Running in b5e5087a3400 18:42:30 Removing intermediate container b5e5087a3400 18:42:30 ---> c31f56379656 18:42:30 Step 13/23 : RUN apk add --update --no-cache 18:42:30 ---> Running in b222e2e9aa71 18:42:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:42:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:42:31 OK: 6 MiB in 14 packages 18:42:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:42:32 Removing intermediate container b222e2e9aa71 18:42:32 ---> af11859662ac 18:42:32 Step 14/23 : WORKDIR / 18:42:32 ---> Running in 60028b8cd58c 18:42:32 Removing intermediate container 60028b8cd58c 18:42:32 ---> 5052936ab3d1 18:42:32 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:42:32 Avoid second fetch 18:42:32 Checking out Revision 774c2037947f109106e5ac1f44e7b15f17fcf2b1 (main) 18:42:32 ---> 610a54c19ddf 18:42:32 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:42:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:42:32 > git config core.sparsecheckout # timeout=10 18:42:32 > git checkout -f 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 18:42:32 Commit message: "feat!: Apply JWT authentication to incoming calls (#1343)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:33 ---> 21bf3a947f17 18:42:33 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:42:33 ---> 7acd00761b83 18:42:33 Step 18/23 : EXPOSE 59999 18:42:33 ---> Running in a290a8b98fa8 18:42:33 Removing intermediate container a290a8b98fa8 18:42:33 ---> b08b4c8668d8 18:42:33 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:42:33 ---> Running in 1f73be9e7126 18:42:33 Removing intermediate container 1f73be9e7126 18:42:33 ---> fe32c166f831 18:42:33 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:42:33 ---> Running in d2748463fc21 18:42:33 Removing intermediate container d2748463fc21 18:42:33 ---> d9749085e194 18:42:33 Step 21/23 : LABEL arch=amd64 18:42:33 ---> Running in b88e085dd22b 18:42:33 Removing intermediate container b88e085dd22b 18:42:33 ---> 55fd131e9da9 18:42:33 Step 22/23 : LABEL git_sha=774c2037947f109106e5ac1f44e7b15f17fcf2b1 18:42:33 ---> Running in 993612434d34 18:42:33 Removing intermediate container 993612434d34 18:42:33 ---> 513243a6bebd 18:42:33 Step 23/23 : LABEL version=3.0.0-dev.46 18:42:33 ---> Running in 34dd89fcc19f 18:42:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:42:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:42:33 Dload Upload Total Spent Left Speed 18:42:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k 18:42:33 Removing intermediate container 34dd89fcc19f 18:42:33 ---> 65f4f5b1d325 18:42:33 [Warning] One or more build-args [ARCH] were not consumed 18:42:33 Successfully built 65f4f5b1d325 18:42:33 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 [Pipeline] sh 18:42:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:34 18:42:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:42:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:34 latest: Pulling from edgex-lftools-log-publisher 18:42:34 5eb5b503b376: Pulling fs layer 18:42:34 5c69ac0246d0: Pulling fs layer 18:42:34 ec43610c2a17: Pulling fs layer 18:42:34 3a2ae6a8a46f: Pulling fs layer 18:42:34 33b1e0a273af: Pulling fs layer 18:42:34 5d3b04190fa2: Pulling fs layer 18:42:34 2f39f015ded8: Pulling fs layer 18:42:34 5d3b04190fa2: Waiting 18:42:34 3a2ae6a8a46f: Waiting 18:42:34 2f39f015ded8: Waiting 18:42:34 33b1e0a273af: Waiting 18:42:34 5c69ac0246d0: Verifying Checksum 18:42:34 5c69ac0246d0: Download complete 18:42:34 3a2ae6a8a46f: Verifying Checksum 18:42:34 3a2ae6a8a46f: Download complete 18:42:34 + + sudo teesudo /etc/docker/daemon.new jq 18:42:34 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:42:34 { 18:42:34 "registry-mirrors": [ 18:42:34 "https://nexus3.edgexfoundry.org:10001" 18:42:34 ], 18:42:34 "bip": "10.250.0.254/24", 18:42:34 "hosts": [ 18:42:34 "tcp://0.0.0.0:5555", 18:42:34 "unix:///var/run/docker.sock" 18:42:34 ], 18:42:34 "mtu": 1458, 18:42:34 "selinux-enabled": true, 18:42:34 "seccomp-profile": "/etc/docker/seccomp.json" 18:42:34 } [Pipeline] sh 18:42:34 33b1e0a273af: Verifying Checksum 18:42:34 33b1e0a273af: Download complete 18:42:34 5d3b04190fa2: Download complete 18:42:34 ec43610c2a17: Verifying Checksum 18:42:34 ec43610c2a17: Download complete 18:42:34 5eb5b503b376: Verifying Checksum 18:42:34 5eb5b503b376: Download complete 18:42:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:42:35 + sudo service docker restart 18:42:35 2f39f015ded8: Download complete 18:42:35 5eb5b503b376: Pull complete 18:42:36 5c69ac0246d0: Pull complete 18:42:36 ec43610c2a17: Pull complete 18:42:36 3a2ae6a8a46f: Pull complete 18:42:36 33b1e0a273af: Pull complete 18:42:37 5d3b04190fa2: Pull complete 18:42:41 2f39f015ded8: Pull complete 18:42:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:42:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:41 prd-ubuntu20.04-docker-8c-8g-8603 does not seem to be running inside a container 18:42:41 $ 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 18:42:46 $ docker top eb59f8f3bda329cf7eb5a013460727bcb00c5213dd4a5729e96ff4175d15b387 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:46 ---> job-cost.sh 18:42:46 lf-activate-venv: SKIPPING 18:42:46 INFO: No Stack... 18:42:46 INFO: Retrieving Pricing Info for: v3-standard-8 18:42:47 INFO: Archiving Costs [Pipeline] sh 18:42:47 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 18:42:47 + cut -d, -f6 [Pipeline] lock 18:42:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-176-stack-cost] 18:42:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-176-stack-cost] did not exist. Created. 18:42:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:42:47 + echo total: 0.2199999988079071 [Pipeline] stash 18:42:47 Stashed 1 file(s) [Pipeline] } 18:42:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 18:42:47 $ docker stop --time=1 eb59f8f3bda329cf7eb5a013460727bcb00c5213dd4a5729e96ff4175d15b387 18:42:49 $ docker rm -f --volumes eb59f8f3bda329cf7eb5a013460727bcb00c5213dd4a5729e96ff4175d15b387 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:53 provisioning config files... 18:42:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/176@tmp/config10043421147147915908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:54 ---> docker-login.sh 18:42:54 nexus3.edgexfoundry.org:10001 18:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:54 Configure a credential helper to remove this warning. See 18:42:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:54 18:42:54 Login Succeeded 18:42:54 nexus3.edgexfoundry.org:10002 18:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:55 Configure a credential helper to remove this warning. See 18:42:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:55 18:42:55 Login Succeeded 18:42:55 nexus3.edgexfoundry.org:10003 18:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:55 Configure a credential helper to remove this warning. See 18:42:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:55 18:42:55 Login Succeeded 18:42:55 nexus3.edgexfoundry.org:10004 18:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:55 Configure a credential helper to remove this warning. See 18:42:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:55 18:42:55 Login Succeeded 18:42:55 docker.io 18:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:56 Configure a credential helper to remove this warning. See 18:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:56 18:42:56 Login Succeeded 18:42:56 ---> docker-login.sh ends [Pipeline] } 18:42:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:56 ========================================================= 18:42:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:42:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:56 + 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 . 18:42:57 Sending build context to Docker daemon 5.704MB 18:42:57 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:42:57 Step 2/10 : FROM ${BASE} AS builder 18:42:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:42:57 9b18e9b68314: Pulling fs layer 18:42:57 35d82f9e3411: Pulling fs layer 18:42:57 e16973657156: Pulling fs layer 18:42:57 fc693d55d65f: Pulling fs layer 18:42:57 7e9fc2657dce: Pulling fs layer 18:42:57 dda99020689f: Pulling fs layer 18:42:57 db1c61fa0a46: Pulling fs layer 18:42:57 891c053d2c06: Pulling fs layer 18:42:57 fc693d55d65f: Waiting 18:42:57 dda99020689f: Waiting 18:42:57 7e9fc2657dce: Waiting 18:42:57 db1c61fa0a46: Waiting 18:42:57 891c053d2c06: Waiting 18:42:57 e16973657156: Verifying Checksum 18:42:57 e16973657156: Download complete 18:42:57 35d82f9e3411: Download complete 18:42:57 7e9fc2657dce: Verifying Checksum 18:42:57 7e9fc2657dce: Download complete 18:42:57 dda99020689f: Verifying Checksum 18:42:57 dda99020689f: Download complete 18:42:57 9b18e9b68314: Verifying Checksum 18:42:57 9b18e9b68314: Download complete 18:42:58 9b18e9b68314: Pull complete 18:42:58 891c053d2c06: Verifying Checksum 18:42:58 891c053d2c06: Download complete 18:42:58 35d82f9e3411: Pull complete 18:42:59 e16973657156: Pull complete 18:43:00 db1c61fa0a46: Verifying Checksum 18:43:00 db1c61fa0a46: Download complete 18:43:00 fc693d55d65f: Verifying Checksum 18:43:00 fc693d55d65f: Download complete 18:43:12 fc693d55d65f: Pull complete 18:43:13 7e9fc2657dce: Pull complete 18:43:13 dda99020689f: Pull complete 18:43:20 db1c61fa0a46: Pull complete 18:43:21 891c053d2c06: Pull complete 18:43:21 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:43:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:43:21 ---> f96f9c87975a 18:43:21 Step 3/10 : ARG MAKE=make build 18:43:23 ---> Running in 71137bbbd321 18:43:23 Removing intermediate container 71137bbbd321 18:43:23 ---> e71fb99bd1ac 18:43:23 Step 4/10 : WORKDIR /device-sdk-go 18:43:23 ---> Running in cd9ce23067ad 18:43:24 Removing intermediate container cd9ce23067ad 18:43:24 ---> b68cb3d7c3d2 18:43:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:43:24 ---> Running in 6c7e1d7c118e 18:43:24 Removing intermediate container 6c7e1d7c118e 18:43:24 ---> 685cb0a7e31e 18:43:24 Step 6/10 : RUN apk add --update --no-cache make git 18:43:24 ---> Running in 76e175997509 18:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:43:27 OK: 221 MiB in 51 packages 18:43:29 Removing intermediate container 76e175997509 18:43:29 ---> c7ea8422b90e 18:43:29 Step 7/10 : COPY go.mod vendor* ./ 18:43:29 ---> bc1b858f74fb 18:43:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:30 ---> Running in 0e191c5cdf62 18:44:38 Removing intermediate container 0e191c5cdf62 18:44:38 ---> 21dad4e5c7ff 18:44:38 Step 9/10 : COPY . . 18:44:38 ---> ea16bbfa3e31 18:44:38 Step 10/10 : RUN ${MAKE} 18:44:38 ---> Running in c707e32e0e30 18:44:38 noop 18:44:38 Removing intermediate container c707e32e0e30 18:44:38 ---> 8d1232831d15 18:44:38 Successfully built 8d1232831d15 18:44:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:38 + docker inspect -f . ci-base-image-arm64 18:44:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:38 prd-ubuntu20.04-docker-arm64-4c-16g-8604 does not seem to be running inside a container 18:44:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/176 -v /w/workspace/device-sdk-go/176:/w/workspace/device-sdk-go/176:rw,z -v /w/workspace/device-sdk-go/176@tmp:/w/workspace/device-sdk-go/176@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 18:44:40 $ docker top 75d314b9c58b7222ff513f654b5aa58dedc710784f0ec0f8af10142ec559e0c0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:40 + go version 18:44:40 go version go1.18.7 linux/arm64 [Pipeline] } 18:44:41 $ docker stop --time=1 75d314b9c58b7222ff513f654b5aa58dedc710784f0ec0f8af10142ec559e0c0 18:44:42 $ docker rm -f --volumes 75d314b9c58b7222ff513f654b5aa58dedc710784f0ec0f8af10142ec559e0c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:43 + docker inspect -f . ci-base-image-arm64 18:44:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:43 prd-ubuntu20.04-docker-arm64-4c-16g-8604 does not seem to be running inside a container 18:44:43 $ 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/176 -v /w/workspace/device-sdk-go/176:/w/workspace/device-sdk-go/176:rw,z -v /w/workspace/device-sdk-go/176@tmp:/w/workspace/device-sdk-go/176@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 18:44:44 $ docker top 96a80fd3f551e8409f01e931cec91fa9914d05de6f4b61581891ee0dbeffb9c1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:45 + git config --global --add safe.directory /w/workspace/device-sdk-go/176 [Pipeline] fileExists [Pipeline] sh 18:44:45 + make test 18:44:45 go test -race -coverprofile=coverage.out ./... 18:45:24 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:47:46 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:47:46 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:47:46 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:47:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:47:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:47:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.667s coverage: 27.6% of statements 18:47:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.528s coverage: 78.9% of statements 18:47:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 18:47:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.471s coverage: 86.0% of statements 18:47:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:47:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:48:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.694s coverage: 75.4% of statements 18:48:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:48:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.529s coverage: 15.3% of statements 18:48:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:48:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.497s coverage: 65.2% of statements 18:48:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:48:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:48:08 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.216s coverage: 89.2% of statements 18:48:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 18:48:08 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.272s coverage: 4.6% of statements 18:48:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:48:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:48:08 GO111MODULE=on go vet ./... 18:50:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:50:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:50:00 ./bin/test-attribution-txt.sh [Pipeline] echo 18:50:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:50:00 $ docker stop --time=1 96a80fd3f551e8409f01e931cec91fa9914d05de6f4b61581891ee0dbeffb9c1 18:50:02 $ docker rm -f --volumes 96a80fd3f551e8409f01e931cec91fa9914d05de6f4b61581891ee0dbeffb9c1 [Pipeline] // withDockerContainer [Pipeline] sh 18:50:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:50:04 Warning: overwriting stash ‘coverage-report’ 18:50:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:50:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:50:05 + ls -al . 18:50:05 total 276 18:50:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 18:44 . 18:50:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:42 .. 18:50:05 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 18:42 .dockerignore 18:50:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:42 .git 18:50:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:42 .github 18:50:05 -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 18:42 .gitignore 18:50:05 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:42 .golangci.yml 18:50:05 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 18:42 CHANGELOG.md 18:50:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 18:42 GOVERNANCE.md 18:50:05 -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 18:42 Jenkinsfile 18:50:05 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 18:42 LICENSE 18:50:05 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 18:42 Makefile 18:50:05 -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 18:42 OWNERS.md 18:50:05 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 18:42 README.md 18:50:05 -rw-rw-r-- 1 jenkins jenkins 12 Mar 7 18:40 VERSION 18:50:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:42 bin 18:50:05 -rw-r--r-- 1 jenkins jenkins 111244 Mar 7 18:48 coverage.out 18:50:05 drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 18:42 example 18:50:05 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 18:42 go.mod 18:50:05 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 18:42 go.sum 18:50:05 drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 18:42 internal 18:50:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:42 openapi 18:50:05 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 18:42 pkg 18:50:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:42 snap 18:50:05 -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:05 + 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=774c2037947f109106e5ac1f44e7b15f17fcf2b1 --label arch=arm64 --label version=3.0.0-dev.46 . 18:50:06 Sending build context to Docker daemon 5.816MB 18:50:06 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 18:50:06 Step 2/23 : FROM ${BASE} AS builder 18:50:06 ---> 8d1232831d15 18:50:06 Step 3/23 : ARG MAKE=make build 18:50:06 ---> Running in e73d6e921715 18:50:06 Removing intermediate container e73d6e921715 18:50:06 ---> e00867e07f7f 18:50:06 Step 4/23 : WORKDIR /device-sdk-go 18:50:07 ---> Running in e4f0183fd638 18:50:07 Removing intermediate container e4f0183fd638 18:50:07 ---> 5afb9f3cb5a5 18:50:07 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:50:07 ---> Running in 225673720e27 18:50:07 Removing intermediate container 225673720e27 18:50:07 ---> b5a93c10dcef 18:50:07 Step 6/23 : RUN apk add --update --no-cache make git 18:50:07 ---> Running in 2f02929fc51a 18:50:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:50:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:50:10 OK: 221 MiB in 51 packages 18:50:13 Removing intermediate container 2f02929fc51a 18:50:13 ---> d587a4e52aba 18:50:13 Step 7/23 : COPY go.mod vendor* ./ 18:50:13 ---> f811567ca1fd 18:50:13 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:50:13 ---> Running in af4471e476e9 18:50:17 Removing intermediate container af4471e476e9 18:50:17 ---> d84131b36c9c 18:50:17 Step 9/23 : COPY . . 18:50:18 ---> a994afb33dd7 18:50:18 Step 10/23 : RUN ${MAKE} 18:50:18 ---> Running in 67df9a8ad4d6 18:50:19 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.46" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:52:56 Removing intermediate container 67df9a8ad4d6 18:52:56 ---> fec2bd74cade 18:52:56 Step 11/23 : FROM alpine:3.16 18:52:56 3.16: Pulling from library/alpine 18:52:56 3760b48202b3: Pulling fs layer 18:52:56 3760b48202b3: Verifying Checksum 18:52:56 3760b48202b3: Download complete 18:52:56 3760b48202b3: Pull complete 18:52:56 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:52:56 Status: Downloaded newer image for alpine:3.16 18:52:56 ---> 4c81e5bf8899 18:52:56 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:52:56 ---> Running in 198a31dcd7bd 18:52:56 Removing intermediate container 198a31dcd7bd 18:52:56 ---> 601c8c929408 18:52:56 Step 13/23 : RUN apk add --update --no-cache 18:52:56 ---> Running in 47c664dcb373 18:52:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:52:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:52:56 OK: 5 MiB in 14 packages 18:52:56 Removing intermediate container 47c664dcb373 18:52:56 ---> ccb55b3ab0c4 18:52:56 Step 14/23 : WORKDIR / 18:52:56 ---> Running in 91644898df90 18:52:56 Removing intermediate container 91644898df90 18:52:56 ---> 0aa99aecd992 18:52:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:52:56 ---> 7248a52f178b 18:52:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:52:56 ---> 63b2d9c7dc09 18:52:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:52:56 ---> 7674e39dd6a8 18:52:56 Step 18/23 : EXPOSE 59999 18:52:56 ---> Running in 70110d01e787 18:52:56 Removing intermediate container 70110d01e787 18:52:56 ---> f77161fce9d0 18:52:56 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:52:56 ---> Running in fff1ab69c466 18:52:56 Removing intermediate container fff1ab69c466 18:52:56 ---> fcac420eeacf 18:52:56 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:52:56 ---> Running in dd22f06f6150 18:52:56 Removing intermediate container dd22f06f6150 18:52:56 ---> 57b842d51020 18:52:56 Step 21/23 : LABEL arch=arm64 18:52:56 ---> Running in d614ca0aaa21 18:52:56 Removing intermediate container d614ca0aaa21 18:52:56 ---> 56a7629fea1b 18:52:56 Step 22/23 : LABEL git_sha=774c2037947f109106e5ac1f44e7b15f17fcf2b1 18:52:56 ---> Running in 32b796447dcf 18:52:56 Removing intermediate container 32b796447dcf 18:52:56 ---> cfbb007b6497 18:52:56 Step 23/23 : LABEL version=3.0.0-dev.46 18:52:56 ---> Running in 84e611646522 18:52:56 Removing intermediate container 84e611646522 18:52:56 ---> 159266efc0ca 18:52:56 [Warning] One or more build-args [ARCH] were not consumed 18:52:56 Successfully built 159266efc0ca 18:52:56 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 18:52:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:52:56 18:52:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:52:57 arm64: Pulling from edgex-lftools-log-publisher 18:52:57 8998bd30e6a1: Pulling fs layer 18:52:57 04944245beec: Pulling fs layer 18:52:57 699f458cf7ca: Pulling fs layer 18:52:57 765212b225bb: Pulling fs layer 18:52:57 f23df028b6ca: Pulling fs layer 18:52:57 d65c8cfc05b1: Pulling fs layer 18:52:57 2437ff75d9bd: Pulling fs layer 18:52:57 765212b225bb: Waiting 18:52:57 f23df028b6ca: Waiting 18:52:57 d65c8cfc05b1: Waiting 18:52:57 2437ff75d9bd: Waiting 18:52:57 04944245beec: Verifying Checksum 18:52:57 04944245beec: Download complete 18:52:57 765212b225bb: Verifying Checksum 18:52:57 765212b225bb: Download complete 18:52:57 f23df028b6ca: Verifying Checksum 18:52:57 f23df028b6ca: Download complete 18:52:57 d65c8cfc05b1: Verifying Checksum 18:52:57 d65c8cfc05b1: Download complete 18:52:57 699f458cf7ca: Verifying Checksum 18:52:57 699f458cf7ca: Download complete 18:52:57 8998bd30e6a1: Verifying Checksum 18:52:57 8998bd30e6a1: Download complete 18:53:00 2437ff75d9bd: Verifying Checksum 18:53:00 2437ff75d9bd: Download complete 18:53:02 8998bd30e6a1: Pull complete 18:53:02 04944245beec: Pull complete 18:53:04 699f458cf7ca: Pull complete 18:53:04 765212b225bb: Pull complete 18:53:04 f23df028b6ca: Pull complete 18:53:04 d65c8cfc05b1: Pull complete 18:53:19 2437ff75d9bd: Pull complete 18:53:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:53:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:53:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:20 prd-ubuntu20.04-docker-arm64-4c-16g-8604 does not seem to be running inside a container 18:53:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/176 -v /w/workspace/device-sdk-go/176:/w/workspace/device-sdk-go/176:rw,z -v /w/workspace/device-sdk-go/176@tmp:/w/workspace/device-sdk-go/176@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 18:53:23 $ docker top 96d178762a9f368b7ee2d9919daf189cf22a9627d281094f5b5294b86e184667 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:24 ---> job-cost.sh 18:53:24 lf-activate-venv: SKIPPING 18:53:24 INFO: No Stack... 18:53:25 INFO: Retrieving Pricing Info for: v3-standard-4 18:53:25 INFO: Archiving Costs [Pipeline] sh 18:53:26 + cat /w/workspace/device-sdk-go/176/archives/cost.csv 18:53:26 + cut -d, -f6 [Pipeline] lock 18:53:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-176-stack-cost] 18:53:26 Resource [jenkins-edgexfoundry-device-sdk-go-main-176-stack-cost] did not exist. Created. 18:53:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-176-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:53:27 /w/workspace/device-sdk-go/176@tmp/durable-d43d42ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:53:27 + echo total: 0.10999999940395355 [Pipeline] stash 18:53:27 Warning: overwriting stash ‘stack-cost’ 18:53:28 Stashed 1 file(s) [Pipeline] } 18:53:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-176-stack-cost] [Pipeline] // lock [Pipeline] } 18:53:28 $ docker stop --time=1 96d178762a9f368b7ee2d9919daf189cf22a9627d281094f5b5294b86e184667 18:53:30 $ docker rm -f --volumes 96d178762a9f368b7ee2d9919daf189cf22a9627d281094f5b5294b86e184667 [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 18:53:30 provisioning config files... 18:53:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7949834271190314589tmp [Pipeline] { [Pipeline] sh 18:53:31 + set +x 18:53:31 + curl -s https://codecov.io/bash 18:53:31 + bash -s -- 18:53:31 18:53:31 _____ _ 18:53:31 / ____| | | 18:53:31 | | ___ __| | ___ ___ _____ __ 18:53:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:53:31 | |___| (_) | (_| | __/ (_| (_) \ V / 18:53:31 \_____\___/ \__,_|\___|\___\___/ \_/ 18:53:31 Bash-1.0.6 18:53:31 18:53:31 18:53:31 ==> git version 2.25.1 found 18:53:31 ==> 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 18:53:31 Release-Date: 2020-01-08 18:53:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:53:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:53:31 ==> Jenkins CI detected. 18:53:31 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 18:53:31 project root: . 18:53:31 --> token set from env 18:53:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:53:31 ==> Running gcov in . (disable via -X gcov) 18:53:31 ==> Python coveragepy not found 18:53:31 ==> Searching for coverage reports in: 18:53:31 + . 18:53:31 -> Found 1 reports 18:53:31 ==> Detecting git/mercurial file structure 18:53:31 ==> Reading reports 18:53:31 + ./coverage.out bytes=111244 18:53:31 ==> Appending adjustments 18:53:31 https://docs.codecov.io/docs/fixing-reports 18:53:31 + Found adjustments 18:53:31 ==> Gzipping contents 18:53:31 16K /tmp/codecov.1QkeCg.gz 18:53:31 ==> Uploading reports 18:53:31 url: https://codecov.io 18:53:31 query: branch=main&commit=774c2037947f109106e5ac1f44e7b15f17fcf2b1&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:53:31 -> Pinging Codecov 18:53:31 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=774c2037947f109106e5ac1f44e7b15f17fcf2b1&build=176&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F176%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:53:31 -> Uploading to 18:53:31 https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/774c2037947f109106e5ac1f44e7b15f17fcf2b1/eef83a59-7006-48f1-864d-08c0e68b5499.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T185331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=da4028a0e3da5cb8579c09f74e9650ed12e0acd14ae3ee50999a43e6bc7c4285 18:53:31 % Total % Received % Xferd Average Speed Time Time Time Current 18:53:31 Dload Upload Total Spent Left Speed 18:53:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15367 0 0 100 15367 0 57554 --:--:-- --:--:-- --:--:-- 57554 18:53:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/774c2037947f109106e5ac1f44e7b15f17fcf2b1 [Pipeline] } 18:53:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:53:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:53:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:53:32 18:53:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:53:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:53:32 df9b9388f04a: Pulling fs layer 18:53:32 52dc419b0ee2: Pulling fs layer 18:53:32 25bc292e5bac: Pulling fs layer 18:53:32 114826534d7a: Pulling fs layer 18:53:32 4657fd5d0bcf: Pulling fs layer 18:53:32 6ad1cebc031e: Pulling fs layer 18:53:32 8a3aa393b2d8: Pulling fs layer 18:53:32 4657fd5d0bcf: Waiting 18:53:32 6ad1cebc031e: Waiting 18:53:32 8a3aa393b2d8: Waiting 18:53:32 114826534d7a: Waiting 18:53:32 25bc292e5bac: Download complete 18:53:32 52dc419b0ee2: Download complete 18:53:32 4657fd5d0bcf: Verifying Checksum 18:53:32 4657fd5d0bcf: Download complete 18:53:32 df9b9388f04a: Verifying Checksum 18:53:32 df9b9388f04a: Download complete 18:53:32 6ad1cebc031e: Verifying Checksum 18:53:32 6ad1cebc031e: Download complete 18:53:32 df9b9388f04a: Pull complete 18:53:32 52dc419b0ee2: Pull complete 18:53:33 25bc292e5bac: Pull complete 18:53:33 114826534d7a: Verifying Checksum 18:53:33 114826534d7a: Download complete 18:53:33 8a3aa393b2d8: Verifying Checksum 18:53:33 8a3aa393b2d8: Download complete 18:53:37 114826534d7a: Pull complete 18:53:37 4657fd5d0bcf: Pull complete 18:53:37 6ad1cebc031e: Pull complete 18:53:40 8a3aa393b2d8: Pull complete 18:53:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:53:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:40 prd-ubuntu20.04-docker-8c-8g-8603 does not seem to be running inside a container 18:53:40 $ 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 18:53:43 $ docker top cb89df3c58f3a360fff432278cdd38c37b84c47f16479c20e836d30a9e4caccc -eo pid,comm [Pipeline] { [Pipeline] echo 18:53:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 18:53:44 + set -o pipefail 18:53:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 18:53:48 18:53:48 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 18:53:48 18:53:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/601e9110-6068-4daa-b059-9d64d2256f88 18:53:48 18:53:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:53:48 18:53:48 18:53:48 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:53:48 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:53:48 More details here: https://snyk.co/ue1NS [Pipeline] } 18:53:48 $ docker stop --time=1 cb89df3c58f3a360fff432278cdd38c37b84c47f16479c20e836d30a9e4caccc 18:53:51 $ docker rm -f --volumes cb89df3c58f3a360fff432278cdd38c37b84c47f16479c20e836d30a9e4caccc [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 18:53:51 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:53:51 provisioning config files... 18:53:51 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6661867880582704262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:52 --> edgex-publish-swagger.sh 18:53:52 === Publish openapi/v3 API === 18:53:52 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 18:53:52 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 18:53:52 % Total % Received % Xferd Average Speed Time Time Time Current 18:53:52 Dload Upload Total Spent Left Speed 18:53:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 43569 --:--:-- --:--:-- --:--:-- 43488 100 23571 0 0 100 23571 0 43569 --:--:-- --:--:-- --:--:-- 43488 18:53:52 18:53:52 [Pipeline] } 18:53:52 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 18:53:53 + git log --format=format:%s -1 774c2037947f109106e5ac1f44e7b15f17fcf2b1 [Pipeline] sh 18:53:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:53:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:53 prd-ubuntu20.04-docker-8c-8g-8603 does not seem to be running inside a container 18:53:53 $ 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 18:53:54 $ docker top 4bbdb7f2c5c13a9ed99b9def0dc2a99f37258d5eed5cb8bd7751ac945f266fa9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:53:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:53:54 [ssh-agent] Looking for ssh-agent implementation... 18:53:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:53:54 $ docker exec 4bbdb7f2c5c13a9ed99b9def0dc2a99f37258d5eed5cb8bd7751ac945f266fa9 ssh-agent 18:53:54 SSH_AUTH_SOCK=/tmp/ssh-46JfNd5W9M6R/agent.32 18:53:54 SSH_AGENT_PID=38 18:53:54 Running ssh-add (command line suppressed) 18:53:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17065054492623342278.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17065054492623342278.key) 18:53:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:53:54 + git semver tag 18:53:55 2023-03-07 18:53:55,044 [run_tag] DEBUG tag force:False 18:53:55 2023-03-07 18:53:55,044 [check_head_tag] DEBUG check head tag 18:53:55 2023-03-07 18:53:55,046 [execute] INFO git cat-file --batch-check 18:53:55 2023-03-07 18:53:55,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:53:55 2023-03-07 18:53:55,051 [execute] INFO git cat-file --batch 18:53:55 2023-03-07 18:53:55,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:53:55 2023-03-07 18:53:55,088 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:53:55 2023-03-07 18:53:55,088 [execute] INFO git tag -a v3.0.0-dev.46 -m v3.0.0-dev.46 18:53:55 2023-03-07 18:53:55,089 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.46', '-m', 'v3.0.0-dev.46'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:53:55 2023-03-07 18:53:55,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:53:55 3.0.0-dev.46 [Pipeline] } 18:53:55 $ docker exec --env ******** --env ******** 4bbdb7f2c5c13a9ed99b9def0dc2a99f37258d5eed5cb8bd7751ac945f266fa9 ssh-agent -k 18:53:55 unset SSH_AUTH_SOCK; 18:53:55 unset SSH_AGENT_PID; 18:53:55 echo Agent pid 38 killed; 18:53:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:53:55 + git semver [Pipeline] } 18:53:56 $ docker stop --time=1 4bbdb7f2c5c13a9ed99b9def0dc2a99f37258d5eed5cb8bd7751ac945f266fa9 18:53:57 $ docker rm -f --volumes 4bbdb7f2c5c13a9ed99b9def0dc2a99f37258d5eed5cb8bd7751ac945f266fa9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:53:57 18:53:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:53:58 0.23.1-centos7: Pulling from edgex-lftools 18:53:58 ab5ef0e58194: Pulling fs layer 18:53:58 9712f1f96733: Pulling fs layer 18:53:58 63f879dbbcfc: Pulling fs layer 18:53:58 0d9ebad4ef96: Pulling fs layer 18:53:58 e9a5061849ea: Pulling fs layer 18:53:58 d747dcd14b5f: Pulling fs layer 18:53:58 2de7ff778b66: Pulling fs layer 18:53:58 e9a5061849ea: Waiting 18:53:58 0d9ebad4ef96: Waiting 18:53:58 d747dcd14b5f: Waiting 18:53:58 2de7ff778b66: Waiting 18:53:58 9712f1f96733: Verifying Checksum 18:53:58 9712f1f96733: Download complete 18:53:58 63f879dbbcfc: Verifying Checksum 18:53:58 63f879dbbcfc: Download complete 18:53:58 e9a5061849ea: Verifying Checksum 18:53:58 e9a5061849ea: Download complete 18:53:58 0d9ebad4ef96: Verifying Checksum 18:53:58 0d9ebad4ef96: Download complete 18:53:58 d747dcd14b5f: Verifying Checksum 18:53:58 d747dcd14b5f: Download complete 18:53:58 ab5ef0e58194: Verifying Checksum 18:53:58 ab5ef0e58194: Download complete 18:53:58 2de7ff778b66: Verifying Checksum 18:53:58 2de7ff778b66: Download complete 18:54:01 ab5ef0e58194: Pull complete 18:54:01 9712f1f96733: Pull complete 18:54:02 63f879dbbcfc: Pull complete 18:54:06 0d9ebad4ef96: Pull complete 18:54:06 e9a5061849ea: Pull complete 18:54:06 d747dcd14b5f: Pull complete 18:54:07 2de7ff778b66: Pull complete 18:54:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:54:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:54:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:07 prd-ubuntu20.04-docker-8c-8g-8603 does not seem to be running inside a container 18:54:07 $ 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 18:54:10 $ docker top 55416d9dc133e34cfbd772b6653630cc23b939f1c522a7fde101f71fb172c18c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:54:10 provisioning config files... 18:54:10 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9059360539925544689tmp 18:54:10 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10660562403557604812tmp 18:54:10 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14564014099182218766tmp [Pipeline] { [Pipeline] echo 18:54:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:54:11 ---> sigul-configuration.sh 18:54:11 gpg: directory `/root/.gnupg' created 18:54:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:54:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:54:11 gpg: keyring `/root/.gnupg/secring.gpg' created 18:54:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:54:11 gpg: CAST5 encrypted data 18:54:11 gpg: encrypted with 1 passphrase 18:54:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:54:11 + mkdir /home/jenkins 18:54:11 + mkdir /home/jenkins/sigul [Pipeline] sh 18:54:11 + 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 18:54:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:54:12 ---> sigul-install.sh 18:54:12 Sigul already installed; skipping installation. [Pipeline] sh 18:54:12 + git tag --list 18:54:12 0.7.1 18:54:12 delhi-tag 18:54:12 v0.0.0 18:54:12 v1.0.0 18:54:12 v1.1.0 18:54:12 v1.1.1 18:54:12 v1.1.2 18:54:12 v1.2.0 18:54:12 v1.2.1 18:54:12 v1.2.2 18:54:12 v1.2.3 18:54:12 v1.3.0 18:54:12 v1.4.0 18:54:12 v2.0.0 18:54:12 v2.1.0 18:54:12 v2.1.1 18:54:12 v2.1.1-dev.2 18:54:12 v2.1.1-dev.3 18:54:12 v2.2.0 18:54:12 v2.2.1-dev.1 18:54:12 v2.2.1-dev.10 18:54:12 v2.2.1-dev.11 18:54:12 v2.2.1-dev.12 18:54:12 v2.2.1-dev.13 18:54:12 v2.2.1-dev.14 18:54:12 v2.2.1-dev.2 18:54:12 v2.2.1-dev.3 18:54:12 v2.2.1-dev.4 18:54:12 v2.2.1-dev.5 18:54:12 v2.2.1-dev.6 18:54:12 v2.2.1-dev.7 18:54:12 v2.2.1-dev.8 18:54:12 v2.2.1-dev.9 18:54:12 v2.3.0 18:54:12 v2.3.0-dev.14 18:54:12 v2.3.0-dev.15 18:54:12 v2.3.0-dev.16 18:54:12 v2.3.0-dev.17 18:54:12 v2.3.0-dev.18 18:54:12 v2.3.0-dev.19 18:54:12 v2.3.0-dev.20 18:54:12 v2.3.0-dev.21 18:54:12 v2.3.0-dev.22 18:54:12 v2.3.0-dev.23 18:54:12 v2.3.0-dev.24 18:54:12 v2.3.0-dev.25 18:54:12 v2.3.0-dev.26 18:54:12 v2.3.0-dev.27 18:54:12 v2.3.0-dev.28 18:54:12 v2.3.0-dev.29 18:54:12 v2.3.0-dev.30 18:54:12 v2.3.0-dev.31 18:54:12 v2.3.0-dev.32 18:54:12 v2.3.0-dev.33 18:54:12 v2.3.0-dev.34 18:54:12 v2.3.0-dev.35 18:54:12 v2.3.0-dev.36 18:54:12 v2.3.0-dev.37 18:54:12 v2.3.0-dev.38 18:54:12 v2.3.0-dev.39 18:54:12 v2.3.0-dev.40 18:54:12 v2.3.0-dev.41 18:54:12 v2.3.0-dev.42 18:54:12 v2.3.0-dev.43 18:54:12 v2.3.0-dev.44 18:54:12 v2.3.0-dev.45 18:54:12 v2.3.0-dev.46 18:54:12 v2.3.0-dev.47 18:54:12 v2.3.0-dev.48 18:54:12 v2.3.0-dev.49 18:54:12 v2.3.0-dev.50 18:54:12 v2.3.0-dev.51 18:54:12 v2.3.1-dev.1 18:54:12 v2.3.1-dev.2 18:54:12 v3.0.0-dev.1 18:54:12 v3.0.0-dev.10 18:54:12 v3.0.0-dev.11 18:54:12 v3.0.0-dev.12 18:54:12 v3.0.0-dev.13 18:54:12 v3.0.0-dev.14 18:54:12 v3.0.0-dev.15 18:54:12 v3.0.0-dev.16 18:54:12 v3.0.0-dev.17 18:54:12 v3.0.0-dev.18 18:54:12 v3.0.0-dev.19 18:54:12 v3.0.0-dev.2 18:54:12 v3.0.0-dev.20 18:54:12 v3.0.0-dev.21 18:54:12 v3.0.0-dev.22 18:54:12 v3.0.0-dev.23 18:54:12 v3.0.0-dev.24 18:54:12 v3.0.0-dev.25 18:54:12 v3.0.0-dev.26 18:54:12 v3.0.0-dev.27 18:54:12 v3.0.0-dev.28 18:54:12 v3.0.0-dev.29 18:54:12 v3.0.0-dev.3 18:54:12 v3.0.0-dev.30 18:54:12 v3.0.0-dev.31 18:54:12 v3.0.0-dev.32 18:54:12 v3.0.0-dev.33 18:54:12 v3.0.0-dev.34 18:54:12 v3.0.0-dev.35 18:54:12 v3.0.0-dev.36 18:54:12 v3.0.0-dev.37 18:54:12 v3.0.0-dev.38 18:54:12 v3.0.0-dev.39 18:54:12 v3.0.0-dev.4 18:54:12 v3.0.0-dev.40 18:54:12 v3.0.0-dev.41 18:54:12 v3.0.0-dev.42 18:54:12 v3.0.0-dev.43 18:54:12 v3.0.0-dev.44 18:54:12 v3.0.0-dev.45 18:54:12 v3.0.0-dev.46 18:54:12 v3.0.0-dev.5 18:54:12 v3.0.0-dev.6 18:54:12 v3.0.0-dev.7 18:54:12 v3.0.0-dev.8 18:54:12 v3.0.0-dev.9 [Pipeline] sh 18:54:12 + lftools sign git-tag v3.0.0-dev.46 18:54:13 Signing Git tag with Sigul... 18:54:13 Signing v3.0.0-dev.46 [Pipeline] echo 18:54:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:54:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:54:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:54:13 $ docker stop --time=1 55416d9dc133e34cfbd772b6653630cc23b939f1c522a7fde101f71fb172c18c 18:54:15 $ docker rm -f --volumes 55416d9dc133e34cfbd772b6653630cc23b939f1c522a7fde101f71fb172c18c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:54:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:54:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:54:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:15 prd-ubuntu20.04-docker-8c-8g-8603 does not seem to be running inside a container 18:54:15 $ 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 18:54:16 $ docker top fff917fda03411afefbdc6ef5133be8a04df3d0d62c67ada79e6a6e9e25f43ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:54:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:54:16 [ssh-agent] Looking for ssh-agent implementation... 18:54:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:54:16 $ docker exec fff917fda03411afefbdc6ef5133be8a04df3d0d62c67ada79e6a6e9e25f43ce ssh-agent 18:54:16 SSH_AUTH_SOCK=/tmp/ssh-IN1qFHaqLMPr/agent.31 18:54:16 SSH_AGENT_PID=37 18:54:16 Running ssh-add (command line suppressed) 18:54:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_574736641001874175.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_574736641001874175.key) 18:54:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:54:16 + git semver bump pre 18:54:17 2023-03-07 18:54:17,049 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:54:17 2023-03-07 18:54:17,049 [bump_version] DEBUG bumping version:3.0.0-dev.46 on axis:pre with prefix:dev 18:54:17 2023-03-07 18:54:17,049 [bump_version] DEBUG bumped version:3.0.0-dev.47 18:54:17 2023-03-07 18:54:17,049 [write_version] DEBUG write version:3.0.0-dev.47 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 18:54:17 2023-03-07 18:54:17,049 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:54:17 2023-03-07 18:54:17,049 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:54:17 2023-03-07 18:54:17,051 [execute] INFO git cat-file --batch-check 18:54:17 2023-03-07 18:54:17,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:54:17 2023-03-07 18:54:17,056 [execute] INFO git cat-file --batch 18:54:17 2023-03-07 18:54:17,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:54:17 2023-03-07 18:54:17,060 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:54:17 3.0.0-dev.47 [Pipeline] } 18:54:17 $ docker exec --env ******** --env ******** fff917fda03411afefbdc6ef5133be8a04df3d0d62c67ada79e6a6e9e25f43ce ssh-agent -k 18:54:17 unset SSH_AUTH_SOCK; 18:54:17 unset SSH_AGENT_PID; 18:54:17 echo Agent pid 37 killed; 18:54:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:54:17 + git semver [Pipeline] } 18:54:17 $ docker stop --time=1 fff917fda03411afefbdc6ef5133be8a04df3d0d62c67ada79e6a6e9e25f43ce 18:54:19 $ docker rm -f --volumes fff917fda03411afefbdc6ef5133be8a04df3d0d62c67ada79e6a6e9e25f43ce [Pipeline] // withDockerContainer [Pipeline] sh 18:54:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:54:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:54:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:19 prd-ubuntu20.04-docker-8c-8g-8603 does not seem to be running inside a container 18:54:19 $ 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 18:54:20 $ docker top e680e7119604d2825dfd4caa10515a65dd5f93ab08a1756cd0dceca8613fe63a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:54:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:54:20 [ssh-agent] Looking for ssh-agent implementation... 18:54:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:54:20 $ docker exec e680e7119604d2825dfd4caa10515a65dd5f93ab08a1756cd0dceca8613fe63a ssh-agent 18:54:20 SSH_AUTH_SOCK=/tmp/ssh-bvy5eaM4OOH3/agent.32 18:54:20 SSH_AGENT_PID=38 18:54:20 Running ssh-add (command line suppressed) 18:54:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6644262112780656033.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6644262112780656033.key) 18:54:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:54:20 + git semver push 18:54:21 2023-03-07 18:54:21,121 [run_push] DEBUG push 18:54:21 2023-03-07 18:54:21,122 [execute] INFO git cat-file --batch-check 18:54:21 2023-03-07 18:54:21,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:54:21 2023-03-07 18:54:21,127 [execute] INFO git rev-list f2c66b86ca76ad7cfffa182e6eece1a7f77e23f0 -- 18:54:21 2023-03-07 18:54:21,128 [execute] DEBUG Popen(['git', 'rev-list', 'f2c66b86ca76ad7cfffa182e6eece1a7f77e23f0', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:54:21 2023-03-07 18:54:21,137 [execute] INFO git fetch -v origin 18:54:21 2023-03-07 18:54:21,138 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:54:21 2023-03-07 18:54:21,585 [run_push] DEBUG no remote changes detected 18:54:21 2023-03-07 18:54:21,585 [execute] INFO git push origin semver 18:54:21 2023-03-07 18:54:21,586 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:54:22 2023-03-07 18:54:22,395 [run_push] DEBUG push all version tags 18:54:22 2023-03-07 18:54:22,395 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:54:22 2023-03-07 18:54:22,396 [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) 18:54:23 2023-03-07 18:54:23,172 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:54:23 3.0.0-dev.47 [Pipeline] } 18:54:23 $ docker exec --env ******** --env ******** e680e7119604d2825dfd4caa10515a65dd5f93ab08a1756cd0dceca8613fe63a ssh-agent -k 18:54:23 unset SSH_AUTH_SOCK; 18:54:23 unset SSH_AGENT_PID; 18:54:23 echo Agent pid 38 killed; 18:54:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:54:23 + git semver [Pipeline] } 18:54:24 $ docker stop --time=1 e680e7119604d2825dfd4caa10515a65dd5f93ab08a1756cd0dceca8613fe63a 18:54:25 $ docker rm -f --volumes e680e7119604d2825dfd4caa10515a65dd5f93ab08a1756cd0dceca8613fe63a [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 18:54:26 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 18:54:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:54:26 total 16 18:54:26 drwxr-xr-x 3 root root 4096 Mar 7 18:42 . 18:54:26 drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 18:54 .. 18:54:26 drwxr-xr-x 2 root root 4096 Mar 7 18:42 cost 18:54:26 -rw-r--r-- 1 root root 85 Mar 7 18:42 cost.csv 18:54:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:54:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:54:26 total 16 18:54:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:42 . 18:54:26 drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 18:54 .. 18:54:26 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 18:42 cost 18:54:26 -rw-r--r-- 1 jenkins jenkins 85 Mar 7 18:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:54:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:54:27 ---> package-listing.sh 18:54:27 ++ facter osfamily 18:54:27 ++ tr '[:upper:]' '[:lower:]' 18:54:27 + OS_FAMILY=debian 18:54:27 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 18:54:27 + START_PACKAGES=/tmp/packages_start.txt 18:54:27 + END_PACKAGES=/tmp/packages_end.txt 18:54:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:54:27 + PACKAGES=/tmp/packages_start.txt 18:54:27 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:54:27 + PACKAGES=/tmp/packages_end.txt 18:54:27 + case "${OS_FAMILY}" in 18:54:27 + dpkg -l 18:54:27 + grep '^ii' 18:54:27 + '[' -f /tmp/packages_start.txt ']' 18:54:27 + '[' -f /tmp/packages_end.txt ']' 18:54:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:54:27 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:54:27 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 18:54:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 18:54:27 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 18:54:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:28 prd-ubuntu20.04-docker-8c-8g-8603 does not seem to be running inside a container 18:54:28 $ 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 18:54:28 $ docker top 86ce7e6d2be09a5044b86e7384a6a555dddeaaebcf20572245e55f11c5d928a9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:29 + touch /tmp/pre-build-complete [Pipeline] sh 18:54:29 + mkdir -p /var/log/sysstat [Pipeline] sh 18:54:29 + ls /var/log/sa-host 18:54:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:54:29 provisioning config files... 18:54:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17440467716396498906tmp [Pipeline] { [Pipeline] echo 18:54:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:54:30 ---> create-netrc.sh [Pipeline] } 18:54:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:54:30 ---> python-tools-install.sh [Pipeline] echo 18:54:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:54:30 ---> sudo-logs.sh 18:54:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:54:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:54:31 ---> job-cost.sh 18:54:31 lf-activate-venv: SKIPPING 18:54:31 DEBUG: total: 0.2199999988079071 18:54:31 INFO: Retrieving Stack Cost... 18:54:31 INFO: Retrieving Pricing Info for: v3-standard-8 18:54:31 INFO: Archiving Costs [Pipeline] echo 18:54:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:54:32 ---> logs-deploy.sh 18:54:32 lf-activate-venv: SKIPPING 18:54:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/176 18:54:32 INFO: archiving workspace using pattern(s): 18:54:33 Archives upload complete. 18:54:33 INFO: archiving logs to Nexus