Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d7de237c874a90e81091b377f7571cc3981ed0ab 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-ssh9073538179021540801.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-ssh13242690522585597603.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-ssh14830671558547945006.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-ssh11593520811880637793.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-ssh8203549647831672381.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4957 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 d7de237c874a90e81091b377f7571cc3981ed0ab (main) Commit message: "refactor!: Rework Command via MessageBus for new Request API response topic (#1305)" > 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 d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 > git rev-list --no-walk 93a0268657819106988a1ad83ac56bb06d25ff7d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:33:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:33:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:33:48 ========================================================= 17:33:48 EdgeX Global Pipelines Version Info 17:33:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:33:48 ------------------- 17:33:48 stable info: 17:33:48 ------------------- 17:33:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:33:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:33:48 Message: update stable to v1.0.244 17:33:49 ------------------- 17:33:49 experimental info: 17:33:49 ------------------- 17:33:49 Commited By: **** collab-it+edgex@linuxfoundation.org 17:33:49 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:33:49 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7de237c874a90e81091b377f7571cc3981ed0ab [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7de237 [Pipeline] echo 17:33:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:33:49 provisioning config files... 17:33:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8656336030113019578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:50 ---> docker-login.sh 17:33:50 nexus3.edgexfoundry.org:10001 17:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:50 Configure a credential helper to remove this warning. See 17:33:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:50 17:33:50 Login Succeeded 17:33:50 nexus3.edgexfoundry.org:10002 17:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:50 Configure a credential helper to remove this warning. See 17:33:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:50 17:33:50 Login Succeeded 17:33:50 nexus3.edgexfoundry.org:10003 17:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:51 Configure a credential helper to remove this warning. See 17:33:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:51 17:33:51 Login Succeeded 17:33:51 nexus3.edgexfoundry.org:10004 17:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:51 Configure a credential helper to remove this warning. See 17:33:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:51 17:33:51 Login Succeeded 17:33:51 docker.io 17:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:51 Configure a credential helper to remove this warning. See 17:33:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:51 17:33:51 Login Succeeded 17:33:51 ---> docker-login.sh ends [Pipeline] } 17:33:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:33:51 + git rev-list -1 --merges d7de237c874a90e81091b377f7571cc3981ed0ab~1..d7de237c874a90e81091b377f7571cc3981ed0ab [Pipeline] echo 17:33:51 -----------> git rev-list -1 --merges d7de237c874a90e81091b377f7571cc3981ed0ab~1..d7de237c874a90e81091b377f7571cc3981ed0ab d7de237c874a90e81091b377f7571cc3981ed0ab [false] [Pipeline] sh 17:33:52 + git log --format=format:%s -1 d7de237c874a90e81091b377f7571cc3981ed0ab [Pipeline] echo 17:33:52 ========================================================= 17:33:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:33:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:33:52 + git log --format=format:%s -1 d7de237c874a90e81091b377f7571cc3981ed0ab [Pipeline] echo 17:33:52 [semverPrep] GIT_COMMIT: d7de237c874a90e81091b377f7571cc3981ed0ab, Commit Message: refactor!: Rework Command via MessageBus for new Request API response topic (#1305) [Pipeline] echo 17:33:52 [semverPrep] This is not a build commit. [Pipeline] sh 17:33:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:33:52 + grep -v github /etc/ssh/ssh_known_hosts 17:33:52 + [ -e /tmp/ssh_known_hosts ] 17:33:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:33:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:33:52 + sudo tee -a /etc/ssh/ssh_known_hosts 17:33:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:33:53 17:33:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:33:53 0.1.4: Pulling from edgex-devops/py-git-semver 17:33:53 b85a868b505f: Pulling fs layer 17:33:53 e2be974225ed: Pulling fs layer 17:33:53 339a4e72a1f5: Pulling fs layer 17:33:53 988bab9f4d93: Pulling fs layer 17:33:53 1469e6f7b9e6: Pulling fs layer 17:33:53 eaf3925da568: Pulling fs layer 17:33:53 bab4dde63d76: Pulling fs layer 17:33:53 bde34c3a00c8: Pulling fs layer 17:33:53 b352a97aabf1: Pulling fs layer 17:33:53 4872d77fe225: Pulling fs layer 17:33:53 5851b861e8e6: Pulling fs layer 17:33:53 bab4dde63d76: Waiting 17:33:53 bde34c3a00c8: Waiting 17:33:53 b352a97aabf1: Waiting 17:33:53 4872d77fe225: Waiting 17:33:53 5851b861e8e6: Waiting 17:33:53 988bab9f4d93: Waiting 17:33:53 1469e6f7b9e6: Waiting 17:33:53 e2be974225ed: Verifying Checksum 17:33:53 e2be974225ed: Download complete 17:33:53 988bab9f4d93: Verifying Checksum 17:33:53 988bab9f4d93: Download complete 17:33:53 1469e6f7b9e6: Verifying Checksum 17:33:53 1469e6f7b9e6: Download complete 17:33:53 eaf3925da568: Verifying Checksum 17:33:53 eaf3925da568: Download complete 17:33:53 339a4e72a1f5: Verifying Checksum 17:33:53 339a4e72a1f5: Download complete 17:33:54 bde34c3a00c8: Verifying Checksum 17:33:54 bde34c3a00c8: Download complete 17:33:54 b352a97aabf1: Verifying Checksum 17:33:54 b352a97aabf1: Download complete 17:33:54 4872d77fe225: Download complete 17:33:54 5851b861e8e6: Verifying Checksum 17:33:54 5851b861e8e6: Download complete 17:33:54 b85a868b505f: Verifying Checksum 17:33:54 b85a868b505f: Download complete 17:33:54 bab4dde63d76: Verifying Checksum 17:33:54 bab4dde63d76: Download complete 17:33:55 b85a868b505f: Pull complete 17:33:55 e2be974225ed: Pull complete 17:33:56 339a4e72a1f5: Pull complete 17:33:56 988bab9f4d93: Pull complete 17:33:56 1469e6f7b9e6: Pull complete 17:33:56 eaf3925da568: Pull complete 17:33:58 bab4dde63d76: Pull complete 17:33:58 bde34c3a00c8: Pull complete 17:33:58 b352a97aabf1: Pull complete 17:33:58 4872d77fe225: Pull complete 17:33:59 5851b861e8e6: Pull complete 17:33:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:33:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:33:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:59 prd-ubuntu20.04-docker-8c-8g-4957 does not seem to be running inside a container 17:33:59 $ 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 17:34:01 $ docker top 2ce424c770148c68dd2a1905ffa6c23772783e933e0964bf68ce0a4cc5d43845 -eo pid,comm 17:34:01 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). 17:34:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:34:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:01 [ssh-agent] Looking for ssh-agent implementation... 17:34:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:01 $ docker exec 2ce424c770148c68dd2a1905ffa6c23772783e933e0964bf68ce0a4cc5d43845 ssh-agent 17:34:01 SSH_AUTH_SOCK=/tmp/ssh-I9N8NIhrCsHR/agent.31 17:34:01 SSH_AGENT_PID=37 17:34:01 Running ssh-add (command line suppressed) 17:34:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16814867687801268619.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16814867687801268619.key) 17:34:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:02 + git tag --points-at HEAD [Pipeline] } 17:34:02 $ docker exec --env ******** --env ******** 2ce424c770148c68dd2a1905ffa6c23772783e933e0964bf68ce0a4cc5d43845 ssh-agent -k 17:34:02 unset SSH_AUTH_SOCK; 17:34:02 unset SSH_AGENT_PID; 17:34:02 echo Agent pid 37 killed; 17:34:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:34:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:02 [ssh-agent] Looking for ssh-agent implementation... 17:34:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:02 $ docker exec 2ce424c770148c68dd2a1905ffa6c23772783e933e0964bf68ce0a4cc5d43845 ssh-agent 17:34:02 SSH_AUTH_SOCK=/tmp/ssh-G1u9iLy6qvIb/agent.69 17:34:02 SSH_AGENT_PID=75 17:34:02 Running ssh-add (command line suppressed) 17:34:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7566014449380077974.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7566014449380077974.key) 17:34:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:03 + git semver init 17:34:03 2023-02-07 17:34:03,291 [run_init] DEBUG init version:0.0.0 force:False 17:34:03 2023-02-07 17:34:03,292 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 17:34:03 2023-02-07 17:34:03,293 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 17:34:03 2023-02-07 17:34:03,293 [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) 17:34:04 2023-02-07 17:34:04,578 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 17:34:04 2023-02-07 17:34:04,578 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 17:34:04 2023-02-07 17:34:04,579 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:34:04 2023-02-07 17:34:04,579 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:34:04 3.0.0-dev.21 [Pipeline] } 17:34:04 $ docker exec --env ******** --env ******** 2ce424c770148c68dd2a1905ffa6c23772783e933e0964bf68ce0a4cc5d43845 ssh-agent -k 17:34:04 unset SSH_AUTH_SOCK; 17:34:04 unset SSH_AGENT_PID; 17:34:04 echo Agent pid 75 killed; 17:34:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:34:05 + git semver [Pipeline] } 17:34:05 $ docker stop --time=1 2ce424c770148c68dd2a1905ffa6c23772783e933e0964bf68ce0a4cc5d43845 17:34:06 $ docker rm -f --volumes 2ce424c770148c68dd2a1905ffa6c23772783e933e0964bf68ce0a4cc5d43845 [Pipeline] // withDockerContainer [Pipeline] sh 17:34:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:34:07 Stashed 1 file(s) [Pipeline] echo 17:34:07 [edgeXSemver]: initialized semver on version 3.0.0-dev.21 [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 17:34:07 provisioning config files... 17:34:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16066905505581348745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:07 ---> docker-login.sh 17:34:07 nexus3.edgexfoundry.org:10001 17:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:07 Configure a credential helper to remove this warning. See 17:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:07 17:34:07 Login Succeeded 17:34:07 nexus3.edgexfoundry.org:10002 17:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:07 Configure a credential helper to remove this warning. See 17:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:07 17:34:07 Login Succeeded 17:34:08 nexus3.edgexfoundry.org:10003 17:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:08 Configure a credential helper to remove this warning. See 17:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:08 17:34:08 Login Succeeded 17:34:08 nexus3.edgexfoundry.org:10004 17:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:08 Configure a credential helper to remove this warning. See 17:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:08 17:34:08 Login Succeeded 17:34:08 docker.io 17:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:08 Configure a credential helper to remove this warning. See 17:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:08 17:34:08 Login Succeeded 17:34:08 ---> docker-login.sh ends [Pipeline] } 17:34:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:34:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:34:08 ========================================================= 17:34:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:34:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:09 + 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 . 17:34:09 Sending build context to Docker daemon 10.52MB 17:34:09 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:34:09 Step 2/10 : FROM ${BASE} AS builder 17:34:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:34:09 213ec9aee27d: Pulling fs layer 17:34:09 4583459ba037: Pulling fs layer 17:34:09 93c1e223e6f2: Pulling fs layer 17:34:09 53926ce57604: Pulling fs layer 17:34:09 21b2b0c7a3f4: Pulling fs layer 17:34:09 22ff95d597cd: Pulling fs layer 17:34:09 12d6caf4c0d1: Pulling fs layer 17:34:09 96b7cbca73a9: Pulling fs layer 17:34:09 a7acece74701: Pulling fs layer 17:34:09 21b2b0c7a3f4: Waiting 17:34:09 22ff95d597cd: Waiting 17:34:09 12d6caf4c0d1: Waiting 17:34:09 96b7cbca73a9: Waiting 17:34:09 53926ce57604: Waiting 17:34:09 a7acece74701: Waiting 17:34:09 93c1e223e6f2: Verifying Checksum 17:34:09 93c1e223e6f2: Download complete 17:34:09 4583459ba037: Verifying Checksum 17:34:09 4583459ba037: Download complete 17:34:09 21b2b0c7a3f4: Verifying Checksum 17:34:09 21b2b0c7a3f4: Download complete 17:34:09 22ff95d597cd: Verifying Checksum 17:34:09 22ff95d597cd: Download complete 17:34:09 213ec9aee27d: Verifying Checksum 17:34:09 213ec9aee27d: Download complete 17:34:09 213ec9aee27d: Pull complete 17:34:09 4583459ba037: Pull complete 17:34:09 93c1e223e6f2: Pull complete 17:34:10 a7acece74701: Verifying Checksum 17:34:10 a7acece74701: Download complete 17:34:10 53926ce57604: Verifying Checksum 17:34:10 53926ce57604: Download complete 17:34:10 96b7cbca73a9: Verifying Checksum 17:34:10 96b7cbca73a9: Download complete 17:34:14 53926ce57604: Pull complete 17:34:14 21b2b0c7a3f4: Pull complete 17:34:14 22ff95d597cd: Pull complete 17:34:14 12d6caf4c0d1: Pull complete 17:34:17 96b7cbca73a9: Pull complete 17:34:17 a7acece74701: Pull complete 17:34:17 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:34:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:34:17 ---> db6d94c90886 17:34:17 Step 3/10 : ARG MAKE=make build 17:34:19 ---> Running in 59b38a4c42f3 17:34:19 Removing intermediate container 59b38a4c42f3 17:34:19 ---> 190794a19108 17:34:19 Step 4/10 : WORKDIR /device-sdk-go 17:34:19 ---> Running in 70a8c4d20450 17:34:19 Removing intermediate container 70a8c4d20450 17:34:19 ---> e24a5b8f5a7c 17:34:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:34:19 ---> Running in 753474c57156 17:34:20 Removing intermediate container 753474c57156 17:34:20 ---> 9d23cc8644e9 17:34:20 Step 6/10 : RUN apk add --update --no-cache make git 17:34:20 ---> Running in a9fc936c2019 17:34:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:34:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:34:20 OK: 211 MiB in 51 packages 17:34:21 Removing intermediate container a9fc936c2019 17:34:21 ---> efc90f046c14 17:34:21 Step 7/10 : COPY go.mod vendor* ./ 17:34:21 ---> 96ca38b816fd 17:34:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:34:21 ---> Running in 483ee5d94c89 17:34:22 Still waiting to schedule task 17:34:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:35:00 Removing intermediate container 483ee5d94c89 17:35:00 ---> ca3173390037 17:35:00 Step 9/10 : COPY . . 17:35:00 ---> 2882278ed906 17:35:00 Step 10/10 : RUN ${MAKE} 17:35:00 ---> Running in 300f341c822e 17:35:00 noop 17:35:00 Removing intermediate container 300f341c822e 17:35:00 ---> f899180281f6 17:35:00 Successfully built f899180281f6 17:35:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:00 + docker inspect -f . ci-base-image-x86_64 17:35:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:00 prd-ubuntu20.04-docker-8c-8g-4957 does not seem to be running inside a container 17:35:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:35:00 $ docker top 797c1c40050661e9f7dd9e81a537bccb50b939baa56475581b4196b932b25383 -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:01 + go version 17:35:01 go version go1.18.7 linux/amd64 [Pipeline] } 17:35:01 $ docker stop --time=1 797c1c40050661e9f7dd9e81a537bccb50b939baa56475581b4196b932b25383 17:35:02 $ docker rm -f --volumes 797c1c40050661e9f7dd9e81a537bccb50b939baa56475581b4196b932b25383 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:03 + docker inspect -f . ci-base-image-x86_64 17:35:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:03 prd-ubuntu20.04-docker-8c-8g-4957 does not seem to be running inside a container 17:35:03 $ 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 17:35:03 $ docker top fb075dc14213a17a76ead6f6b72cd5489b82569fc588530750e773cdfc40a821 -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 17:35:04 + make test 17:35:04 go test -race -coverprofile=coverage.out ./... 17:35:10 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:35:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:35:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:35:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:35:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:35:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:35:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements 17:35:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 78.9% of statements 17:35:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 17:35:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.125s coverage: 77.8% of statements 17:35:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:35:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:35:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 59.8% of statements 17:35:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:35:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 17:35:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 17:35:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.101s coverage: 65.2% of statements 17:35:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:35:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:35:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.763s coverage: 89.2% of statements 17:35:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 17:35:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 4.7% of statements 17:35:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:35:44 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." 17:35:44 GO111MODULE=on go vet ./... 17:35:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:35:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:35:47 ./bin/test-attribution-txt.sh [Pipeline] echo 17:35:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:35:47 $ docker stop --time=1 fb075dc14213a17a76ead6f6b72cd5489b82569fc588530750e773cdfc40a821 17:35:50 $ docker rm -f --volumes fb075dc14213a17a76ead6f6b72cd5489b82569fc588530750e773cdfc40a821 [Pipeline] // withDockerContainer [Pipeline] sh 17:35:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:35:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:35:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:35:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4959 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 17:35:51 Running in /w/workspace/device-sdk-go/151 [Pipeline] { [Pipeline] checkout 17:35:51 The recommended git tool is: git 17:35:51 + ls -al . 17:35:51 total 272 17:35:51 drwxrwxr-x 11 jenkins jenkins 4096 Feb 7 17:35 . 17:35:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 17:33 .. 17:35:51 -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 17:33 .dockerignore 17:35:51 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 17:35 .git 17:35:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 17:33 .github 17:35:51 -rw-rw-r-- 1 jenkins jenkins 131 Feb 7 17:33 .gitignore 17:35:51 -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 17:33 .golangci.yml 17:35:51 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 17:34 .semver 17:35:51 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 7 17:33 CHANGELOG.md 17:35:51 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 17:33 GOVERNANCE.md 17:35:51 -rw-rw-r-- 1 jenkins jenkins 885 Feb 7 17:33 Jenkinsfile 17:35:51 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 7 17:33 LICENSE 17:35:51 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 7 17:33 Makefile 17:35:51 -rw-rw-r-- 1 jenkins jenkins 619 Feb 7 17:33 OWNERS.md 17:35:51 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 7 17:33 README.md 17:35:51 -rw-rw-r-- 1 jenkins jenkins 12 Feb 7 17:34 VERSION 17:35:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 17:33 bin 17:35:51 -rw-r--r-- 1 jenkins jenkins 100848 Feb 7 17:35 coverage.out 17:35:51 drwxrwxr-x 5 jenkins jenkins 4096 Feb 7 17:33 example 17:35:51 -rw-rw-r-- 1 jenkins jenkins 3264 Feb 7 17:33 go.mod 17:35:51 -rw-rw-r-- 1 jenkins jenkins 32817 Feb 7 17:33 go.sum 17:35:51 drwxrwxr-x 13 jenkins jenkins 4096 Feb 7 17:33 internal 17:35:51 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 17:33 openapi 17:35:51 drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 17:33 pkg 17:35:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 17:33 snap 17:35:51 -rw-rw-r-- 1 jenkins jenkins 222 Feb 7 17:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:51 + 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=d7de237c874a90e81091b377f7571cc3981ed0ab --label arch=amd64 --label version=3.0.0-dev.21 . 17:35:51 Sending build context to Docker daemon 10.62MB 17:35:51 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:35:51 Step 2/23 : FROM ${BASE} AS builder 17:35:51 ---> f899180281f6 17:35:51 Step 3/23 : ARG MAKE=make build 17:35:52 ---> Running in 404981c27a26 17:35:52 Removing intermediate container 404981c27a26 17:35:52 ---> 1deb04cb30e0 17:35:52 Step 4/23 : WORKDIR /device-sdk-go 17:35:52 ---> Running in 44ff5e78b5ce 17:35:52 Removing intermediate container 44ff5e78b5ce 17:35:52 ---> f1f3fc3a44f7 17:35:52 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:35:52 ---> Running in e2bb34a9c506 17:35:52 Removing intermediate container e2bb34a9c506 17:35:52 ---> a6932b398397 17:35:52 Step 6/23 : RUN apk add --update --no-cache make git 17:35:52 ---> Running in 888411ce4f3e 17:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:35:53 OK: 211 MiB in 51 packages 17:35:53 Removing intermediate container 888411ce4f3e 17:35:53 ---> 3d423683abd9 17:35:53 Step 7/23 : COPY go.mod vendor* ./ 17:35:53 ---> ba3f808f13df 17:35:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:54 ---> Running in 8ba251876c5c 17:35:55 Removing intermediate container 8ba251876c5c 17:35:55 ---> 9cb8ba00964c 17:35:55 Step 9/23 : COPY . . 17:35:55 ---> 67e2cbc372e3 17:35:55 Step 10/23 : RUN ${MAKE} 17:35:55 ---> Running in 006f91215ea7 17:35:56 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.21" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:35:56 using credential edgex-jenkins-ssh 17:35:56 Cloning the remote Git repository 17:35:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:35:56 > git init /w/workspace/device-sdk-go/151 # timeout=10 17:35:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:35:56 > git --version # timeout=10 17:35:56 > git --version # 'git version 2.25.1' 17:35:56 using GIT_SSH to set credentials SSH Credentials for GitHub 17:35:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:35:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:35:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:35:59 Avoid second fetch 17:35:59 Checking out Revision d7de237c874a90e81091b377f7571cc3981ed0ab (main) 17:35:59 Commit message: "refactor!: Rework Command via MessageBus for new Request API response topic (#1305)" 17:35:59 > git config core.sparsecheckout # timeout=10 17:35:59 > git checkout -f d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:36:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:36:00 Dload Upload Total Spent Left Speed 17:36:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh 17:36:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:36:01 + sudo tee /etc/docker/daemon.new 17:36:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:36:01 { 17:36:01 "registry-mirrors": [ 17:36:01 "https://nexus3.edgexfoundry.org:10001" 17:36:01 ], 17:36:01 "bip": "10.250.0.254/24", 17:36:01 "hosts": [ 17:36:01 "tcp://0.0.0.0:5555", 17:36:01 "unix:///var/run/docker.sock" 17:36:01 ], 17:36:01 "mtu": 1458, 17:36:01 "selinux-enabled": true, 17:36:01 "seccomp-profile": "/etc/docker/seccomp.json" 17:36:01 } [Pipeline] sh 17:36:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:36:02 + sudo service docker restart 17:36:18 Removing intermediate container 006f91215ea7 17:36:18 ---> 7e199d5e6fe5 17:36:18 Step 11/23 : FROM alpine:3.16 17:36:18 3.16: Pulling from library/alpine 17:36:18 ca7dd9ec2225: Pulling fs layer 17:36:18 ca7dd9ec2225: Verifying Checksum 17:36:18 ca7dd9ec2225: Download complete 17:36:18 ca7dd9ec2225: Pull complete 17:36:18 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:36:18 Status: Downloaded newer image for alpine:3.16 17:36:18 ---> bfe296a52501 17:36:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:36:18 ---> Running in 8e8b22b4c4e8 17:36:18 Removing intermediate container 8e8b22b4c4e8 17:36:18 ---> 40901a048050 17:36:18 Step 13/23 : RUN apk add --update --no-cache 17:36:18 ---> Running in 3812ea1efa01 17:36:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:36:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:36:18 OK: 6 MiB in 14 packages 17:36:18 Removing intermediate container 3812ea1efa01 17:36:18 ---> d419179b7bb7 17:36:18 Step 14/23 : WORKDIR / 17:36:18 ---> Running in 11c07ddbd911 17:36:18 Removing intermediate container 11c07ddbd911 17:36:18 ---> 26e30d7c294a 17:36:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:36:18 ---> 50b364bb51c1 17:36:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:36:18 ---> f2e9b3c1c063 17:36:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:36:19 ---> 5ce5694983cf 17:36:19 Step 18/23 : EXPOSE 59999 17:36:19 ---> Running in 30af8c912118 17:36:19 Removing intermediate container 30af8c912118 17:36:19 ---> 76ef3ca12bd5 17:36:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:36:19 ---> Running in 51e156680235 17:36:19 Removing intermediate container 51e156680235 17:36:19 ---> 2aac5b04ad05 17:36:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:36:19 ---> Running in fc7baa2c1ca4 17:36:19 Removing intermediate container fc7baa2c1ca4 17:36:19 ---> 1726aeb8260e 17:36:19 Step 21/23 : LABEL arch=amd64 17:36:19 ---> Running in 2379458233ac 17:36:19 Removing intermediate container 2379458233ac 17:36:19 ---> 345cb12a2b2e 17:36:19 Step 22/23 : LABEL git_sha=d7de237c874a90e81091b377f7571cc3981ed0ab 17:36:19 ---> Running in 5d973b6aeb1d 17:36:20 Removing intermediate container 5d973b6aeb1d 17:36:20 ---> 5c39a4460e4b 17:36:20 Step 23/23 : LABEL version=3.0.0-dev.21 17:36:20 ---> Running in 9b0bb1f281fa 17:36:20 Removing intermediate container 9b0bb1f281fa 17:36:20 ---> 0ec46244cfcc 17:36:20 [Warning] One or more build-args [ARCH] were not consumed 17:36:20 Successfully built 0ec46244cfcc 17:36:20 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 17:36:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:20 17:36:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:36:20 provisioning config files... 17:36:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/151@tmp/config9022633050690056745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:20 latest: Pulling from edgex-lftools-log-publisher 17:36:20 5eb5b503b376: Pulling fs layer 17:36:20 5c69ac0246d0: Pulling fs layer 17:36:20 ec43610c2a17: Pulling fs layer 17:36:20 3a2ae6a8a46f: Pulling fs layer 17:36:20 33b1e0a273af: Pulling fs layer 17:36:20 5d3b04190fa2: Pulling fs layer 17:36:20 2f39f015ded8: Pulling fs layer 17:36:20 3a2ae6a8a46f: Waiting 17:36:20 5d3b04190fa2: Waiting 17:36:20 2f39f015ded8: Waiting 17:36:20 33b1e0a273af: Waiting 17:36:20 5c69ac0246d0: Verifying Checksum 17:36:20 5c69ac0246d0: Download complete 17:36:20 3a2ae6a8a46f: Verifying Checksum 17:36:20 3a2ae6a8a46f: Download complete 17:36:21 33b1e0a273af: Verifying Checksum 17:36:21 33b1e0a273af: Download complete 17:36:21 5d3b04190fa2: Download complete 17:36:21 ec43610c2a17: Verifying Checksum 17:36:21 ec43610c2a17: Download complete 17:36:21 ---> docker-login.sh 17:36:21 nexus3.edgexfoundry.org:10001 17:36:21 5eb5b503b376: Verifying Checksum 17:36:21 5eb5b503b376: Download complete 17:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:21 Configure a credential helper to remove this warning. See 17:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:21 17:36:21 Login Succeeded 17:36:21 nexus3.edgexfoundry.org:10002 17:36:22 2f39f015ded8: Download complete 17:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:22 Configure a credential helper to remove this warning. See 17:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:22 17:36:22 Login Succeeded 17:36:22 nexus3.edgexfoundry.org:10003 17:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:22 5eb5b503b376: Pull complete 17:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:22 Configure a credential helper to remove this warning. See 17:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:22 17:36:22 Login Succeeded 17:36:22 nexus3.edgexfoundry.org:10004 17:36:22 5c69ac0246d0: Pull complete 17:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:22 Configure a credential helper to remove this warning. See 17:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:22 17:36:22 Login Succeeded 17:36:22 docker.io 17:36:23 ec43610c2a17: Pull complete 17:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:23 3a2ae6a8a46f: Pull complete 17:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:23 Configure a credential helper to remove this warning. See 17:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:23 17:36:23 Login Succeeded 17:36:23 ---> docker-login.sh ends [Pipeline] } 17:36:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 17:36:23 33b1e0a273af: Pull complete 17:36:23 5d3b04190fa2: Pull complete [Pipeline] echo 17:36:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:23 ========================================================= 17:36:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:36:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:24 + 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 . 17:36:24 Sending build context to Docker daemon 5.654MB 17:36:24 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:36:24 Step 2/10 : FROM ${BASE} AS builder 17:36:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:36:24 9b18e9b68314: Pulling fs layer 17:36:24 35d82f9e3411: Pulling fs layer 17:36:24 e16973657156: Pulling fs layer 17:36:24 fc693d55d65f: Pulling fs layer 17:36:24 7e9fc2657dce: Pulling fs layer 17:36:24 dda99020689f: Pulling fs layer 17:36:24 db1c61fa0a46: Pulling fs layer 17:36:24 891c053d2c06: Pulling fs layer 17:36:24 dda99020689f: Waiting 17:36:24 db1c61fa0a46: Waiting 17:36:24 7e9fc2657dce: Waiting 17:36:24 fc693d55d65f: Waiting 17:36:24 891c053d2c06: Waiting 17:36:24 e16973657156: Verifying Checksum 17:36:24 e16973657156: Download complete 17:36:24 35d82f9e3411: Verifying Checksum 17:36:24 35d82f9e3411: Download complete 17:36:24 7e9fc2657dce: Verifying Checksum 17:36:24 7e9fc2657dce: Download complete 17:36:24 dda99020689f: Verifying Checksum 17:36:24 dda99020689f: Download complete 17:36:24 9b18e9b68314: Verifying Checksum 17:36:24 9b18e9b68314: Download complete 17:36:25 9b18e9b68314: Pull complete 17:36:25 891c053d2c06: Verifying Checksum 17:36:25 891c053d2c06: Download complete 17:36:26 35d82f9e3411: Pull complete 17:36:26 e16973657156: Pull complete 17:36:27 db1c61fa0a46: Verifying Checksum 17:36:27 db1c61fa0a46: Download complete 17:36:27 fc693d55d65f: Download complete 17:36:27 2f39f015ded8: Pull complete 17:36:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:28 prd-ubuntu20.04-docker-8c-8g-4957 does not seem to be running inside a container 17:36:28 $ 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 17:36:31 $ docker top b9eaff657bbbf18a518bd2238bceead8f627457c0933046b73bc9307d18190e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:31 ---> job-cost.sh 17:36:31 lf-activate-venv: SKIPPING 17:36:31 INFO: No Stack... 17:36:32 INFO: Retrieving Pricing Info for: v3-standard-8 17:36:32 INFO: Archiving Costs [Pipeline] sh 17:36:32 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 17:36:32 + cut -d, -f6 [Pipeline] lock 17:36:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-151-stack-cost] 17:36:32 Resource [jenkins-edgexfoundry-device-sdk-go-main-151-stack-cost] did not exist. Created. 17:36:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:36:33 + echo total: 0.2199999988079071 [Pipeline] stash 17:36:33 Stashed 1 file(s) [Pipeline] } 17:36:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-151-stack-cost] [Pipeline] // lock [Pipeline] } 17:36:33 $ docker stop --time=1 b9eaff657bbbf18a518bd2238bceead8f627457c0933046b73bc9307d18190e2 17:36:34 $ docker rm -f --volumes b9eaff657bbbf18a518bd2238bceead8f627457c0933046b73bc9307d18190e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:36:39 fc693d55d65f: Pull complete 17:36:39 7e9fc2657dce: Pull complete 17:36:39 dda99020689f: Pull complete 17:36:45 db1c61fa0a46: Pull complete 17:36:47 891c053d2c06: Pull complete 17:36:47 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:36:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:36:47 ---> f96f9c87975a 17:36:47 Step 3/10 : ARG MAKE=make build 17:36:49 ---> Running in e4f6a01f791f 17:36:49 Removing intermediate container e4f6a01f791f 17:36:49 ---> 25fbf1bbb6ba 17:36:49 Step 4/10 : WORKDIR /device-sdk-go 17:36:49 ---> Running in 3e78df5e45c9 17:36:50 Removing intermediate container 3e78df5e45c9 17:36:50 ---> b3a57be02fce 17:36:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:36:50 ---> Running in 5c5af5cf749d 17:36:50 Removing intermediate container 5c5af5cf749d 17:36:50 ---> 8b792058620a 17:36:50 Step 6/10 : RUN apk add --update --no-cache make git 17:36:50 ---> Running in f60ca37cef30 17:36:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:36:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:36:53 OK: 221 MiB in 51 packages 17:36:53 Removing intermediate container f60ca37cef30 17:36:53 ---> d9685ce9fe34 17:36:53 Step 7/10 : COPY go.mod vendor* ./ 17:36:54 ---> de65c2016f3f 17:36:54 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:54 ---> Running in bbcdb1b007f1 17:38:16 Removing intermediate container bbcdb1b007f1 17:38:16 ---> b98f21616d04 17:38:16 Step 9/10 : COPY . . 17:38:16 ---> 6b1e5b266410 17:38:16 Step 10/10 : RUN ${MAKE} 17:38:16 ---> Running in e7e11c4fda48 17:38:16 noop 17:38:16 Removing intermediate container e7e11c4fda48 17:38:16 ---> 51e27251f34b 17:38:16 Successfully built 51e27251f34b 17:38:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:16 + docker inspect -f . ci-base-image-arm64 17:38:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:16 prd-ubuntu20.04-docker-arm64-4c-16g-4959 does not seem to be running inside a container 17:38:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/151 -v /w/workspace/device-sdk-go/151:/w/workspace/device-sdk-go/151:rw,z -v /w/workspace/device-sdk-go/151@tmp:/w/workspace/device-sdk-go/151@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 17:38:18 $ docker top e76d9a26c2323e3608dcee036529ffe17f30a8f215d82cbfba27d2d9a76b72e4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:19 + go version 17:38:19 go version go1.18.7 linux/arm64 [Pipeline] } 17:38:19 $ docker stop --time=1 e76d9a26c2323e3608dcee036529ffe17f30a8f215d82cbfba27d2d9a76b72e4 17:38:20 $ docker rm -f --volumes e76d9a26c2323e3608dcee036529ffe17f30a8f215d82cbfba27d2d9a76b72e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:21 + docker inspect -f . ci-base-image-arm64 17:38:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:21 prd-ubuntu20.04-docker-arm64-4c-16g-4959 does not seem to be running inside a container 17:38:21 $ 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/151 -v /w/workspace/device-sdk-go/151:/w/workspace/device-sdk-go/151:rw,z -v /w/workspace/device-sdk-go/151@tmp:/w/workspace/device-sdk-go/151@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 17:38:22 $ docker top fb929c0906300ed51614e5a3b8ba9c294aeefbb91708e1b131718f49174297ec -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:23 + git config --global --add safe.directory /w/workspace/device-sdk-go/151 [Pipeline] fileExists [Pipeline] sh 17:38:23 + make test 17:38:23 go test -race -coverprofile=coverage.out ./... 17:39:02 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:41:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:41:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:41:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:41:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:41:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:41:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.619s coverage: 27.6% of statements 17:41:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.586s coverage: 78.9% of statements 17:41:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 17:41:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.564s coverage: 77.8% of statements 17:41:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:41:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:41:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.830s coverage: 59.8% of statements 17:41:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:41:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 17:41:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 17:41:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.498s coverage: 65.2% of statements 17:41:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:41:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:41:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 5.883s coverage: 89.2% of statements 17:41:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 17:41:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.527s coverage: 4.7% of statements 17:41:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:41:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:41:28 GO111MODULE=on go vet ./... 17:43:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:43:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:43:05 ./bin/test-attribution-txt.sh [Pipeline] echo 17:43:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:43:05 $ docker stop --time=1 fb929c0906300ed51614e5a3b8ba9c294aeefbb91708e1b131718f49174297ec 17:43:07 $ docker rm -f --volumes fb929c0906300ed51614e5a3b8ba9c294aeefbb91708e1b131718f49174297ec [Pipeline] // withDockerContainer [Pipeline] sh 17:43:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:43:08 Warning: overwriting stash ‘coverage-report’ 17:43:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:43:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:43:10 + ls -al . 17:43:10 total 268 17:43:10 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 17:38 . 17:43:10 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 17:35 .. 17:43:10 -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 17:35 .dockerignore 17:43:10 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 17:35 .git 17:43:10 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 17:35 .github 17:43:10 -rw-rw-r-- 1 jenkins jenkins 131 Feb 7 17:35 .gitignore 17:43:10 -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 17:35 .golangci.yml 17:43:10 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 7 17:35 CHANGELOG.md 17:43:10 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 17:35 GOVERNANCE.md 17:43:10 -rw-rw-r-- 1 jenkins jenkins 885 Feb 7 17:35 Jenkinsfile 17:43:10 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 7 17:35 LICENSE 17:43:10 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 7 17:35 Makefile 17:43:10 -rw-rw-r-- 1 jenkins jenkins 619 Feb 7 17:35 OWNERS.md 17:43:10 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 7 17:35 README.md 17:43:10 -rw-rw-r-- 1 jenkins jenkins 12 Feb 7 17:34 VERSION 17:43:10 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 17:35 bin 17:43:10 -rw-r--r-- 1 jenkins jenkins 100848 Feb 7 17:41 coverage.out 17:43:10 drwxrwxr-x 5 jenkins jenkins 4096 Feb 7 17:35 example 17:43:10 -rw-rw-r-- 1 jenkins jenkins 3264 Feb 7 17:35 go.mod 17:43:10 -rw-rw-r-- 1 jenkins jenkins 32817 Feb 7 17:35 go.sum 17:43:10 drwxrwxr-x 13 jenkins jenkins 4096 Feb 7 17:35 internal 17:43:10 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 17:35 openapi 17:43:10 drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 17:35 pkg 17:43:10 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 17:35 snap 17:43:10 -rw-rw-r-- 1 jenkins jenkins 222 Feb 7 17:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:10 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d7de237c874a90e81091b377f7571cc3981ed0ab --label arch=arm64 --label version=3.0.0-dev.21 . 17:43:11 Sending build context to Docker daemon 5.755MB 17:43:11 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:43:11 Step 2/23 : FROM ${BASE} AS builder 17:43:11 ---> 51e27251f34b 17:43:11 Step 3/23 : ARG MAKE=make build 17:43:11 ---> Running in 71f9d1c4626e 17:43:11 Removing intermediate container 71f9d1c4626e 17:43:11 ---> 3514505f36f7 17:43:11 Step 4/23 : WORKDIR /device-sdk-go 17:43:11 ---> Running in 0003c7027254 17:43:12 Removing intermediate container 0003c7027254 17:43:12 ---> 84757c595759 17:43:12 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:43:12 ---> Running in 267f0e5f5172 17:43:12 Removing intermediate container 267f0e5f5172 17:43:12 ---> 609b27222488 17:43:12 Step 6/23 : RUN apk add --update --no-cache make git 17:43:12 ---> Running in 668b791c912d 17:43:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:43:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:43:15 OK: 221 MiB in 51 packages 17:43:15 Removing intermediate container 668b791c912d 17:43:15 ---> f23f8d077a49 17:43:15 Step 7/23 : COPY go.mod vendor* ./ 17:43:16 ---> 46e8243aa835 17:43:16 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:43:16 ---> Running in 36bb81f8735d 17:43:19 Removing intermediate container 36bb81f8735d 17:43:19 ---> ec8523dc5ad3 17:43:19 Step 9/23 : COPY . . 17:43:20 ---> bcbdcd6c5c74 17:43:20 Step 10/23 : RUN ${MAKE} 17:43:20 ---> Running in 79df6e079089 17:43:21 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.21" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:45:58 Removing intermediate container 79df6e079089 17:45:58 ---> eecb3666ad36 17:45:58 Step 11/23 : FROM alpine:3.16 17:45:58 3.16: Pulling from library/alpine 17:45:58 6875df1f5354: Pulling fs layer 17:45:58 6875df1f5354: Verifying Checksum 17:45:58 6875df1f5354: Download complete 17:45:58 6875df1f5354: Pull complete 17:45:58 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:45:58 Status: Downloaded newer image for alpine:3.16 17:45:58 ---> 2b4661558fb8 17:45:58 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:45:58 ---> Running in 9b9d6e7a899d 17:45:58 Removing intermediate container 9b9d6e7a899d 17:45:58 ---> ff7560008813 17:45:58 Step 13/23 : RUN apk add --update --no-cache 17:45:58 ---> Running in 01643fc20eb8 17:45:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:45:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:45:58 OK: 5 MiB in 14 packages 17:45:58 Removing intermediate container 01643fc20eb8 17:45:58 ---> 61f2b6f69f2b 17:45:58 Step 14/23 : WORKDIR / 17:45:58 ---> Running in aa9bbd14bc28 17:45:58 Removing intermediate container aa9bbd14bc28 17:45:58 ---> e9123003442f 17:45:58 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:45:58 ---> ed128f455da1 17:45:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:45:58 ---> 77056288c25b 17:45:58 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:45:58 ---> 2565eee1fa5a 17:45:58 Step 18/23 : EXPOSE 59999 17:45:58 ---> Running in fd5050cc1a20 17:45:58 Removing intermediate container fd5050cc1a20 17:45:58 ---> 9e26128ef997 17:45:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:45:58 ---> Running in a68a07321a7b 17:45:58 Removing intermediate container a68a07321a7b 17:45:58 ---> 9aa739436fe8 17:45:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:45:58 ---> Running in 08ca16a74296 17:45:58 Removing intermediate container 08ca16a74296 17:45:58 ---> c1824488c4a8 17:45:58 Step 21/23 : LABEL arch=arm64 17:45:58 ---> Running in 6eef37220d02 17:45:58 Removing intermediate container 6eef37220d02 17:45:58 ---> 7fc320dae905 17:45:58 Step 22/23 : LABEL git_sha=d7de237c874a90e81091b377f7571cc3981ed0ab 17:45:58 ---> Running in ae07a10ebd12 17:45:58 Removing intermediate container ae07a10ebd12 17:45:58 ---> 3683ffd1df7c 17:45:58 Step 23/23 : LABEL version=3.0.0-dev.21 17:45:58 ---> Running in cfef08d090c1 17:45:58 Removing intermediate container cfef08d090c1 17:45:58 ---> f9734450d992 17:45:58 [Warning] One or more build-args [ARCH] were not consumed 17:45:58 Successfully built f9734450d992 17:45:58 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 17:45:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:59 17:45:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:45:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:45:59 arm64: Pulling from edgex-lftools-log-publisher 17:45:59 8998bd30e6a1: Pulling fs layer 17:45:59 04944245beec: Pulling fs layer 17:45:59 699f458cf7ca: Pulling fs layer 17:45:59 765212b225bb: Pulling fs layer 17:45:59 f23df028b6ca: Pulling fs layer 17:45:59 d65c8cfc05b1: Pulling fs layer 17:45:59 2437ff75d9bd: Pulling fs layer 17:45:59 765212b225bb: Waiting 17:45:59 f23df028b6ca: Waiting 17:45:59 d65c8cfc05b1: Waiting 17:45:59 2437ff75d9bd: Waiting 17:45:59 04944245beec: Verifying Checksum 17:45:59 04944245beec: Download complete 17:45:59 765212b225bb: Verifying Checksum 17:45:59 765212b225bb: Download complete 17:45:59 f23df028b6ca: Verifying Checksum 17:45:59 f23df028b6ca: Download complete 17:45:59 d65c8cfc05b1: Verifying Checksum 17:45:59 d65c8cfc05b1: Download complete 17:45:59 699f458cf7ca: Verifying Checksum 17:45:59 699f458cf7ca: Download complete 17:46:00 8998bd30e6a1: Verifying Checksum 17:46:00 8998bd30e6a1: Download complete 17:46:03 2437ff75d9bd: Verifying Checksum 17:46:03 2437ff75d9bd: Download complete 17:46:04 8998bd30e6a1: Pull complete 17:46:05 04944245beec: Pull complete 17:46:06 699f458cf7ca: Pull complete 17:46:06 765212b225bb: Pull complete 17:46:07 f23df028b6ca: Pull complete 17:46:09 d65c8cfc05b1: Pull complete 17:46:24 2437ff75d9bd: Pull complete 17:46:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:46:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:46:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:24 prd-ubuntu20.04-docker-arm64-4c-16g-4959 does not seem to be running inside a container 17:46:24 $ 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/151 -v /w/workspace/device-sdk-go/151:/w/workspace/device-sdk-go/151:rw,z -v /w/workspace/device-sdk-go/151@tmp:/w/workspace/device-sdk-go/151@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 17:46:27 $ docker top 0b6e886e410e9f20841c2e96e6b03f4bbe35d46f299d9517c1ef3f5580dfa5df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:46:28 ---> job-cost.sh 17:46:28 lf-activate-venv: SKIPPING 17:46:28 INFO: No Stack... 17:46:29 INFO: Retrieving Pricing Info for: v3-standard-4 17:46:30 INFO: Archiving Costs [Pipeline] sh 17:46:30 + cat /w/workspace/device-sdk-go/151/archives/cost.csv 17:46:30 + cut -d, -f6 [Pipeline] lock 17:46:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-151-stack-cost] 17:46:30 Resource [jenkins-edgexfoundry-device-sdk-go-main-151-stack-cost] did not exist. Created. 17:46:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:46:31 /w/workspace/device-sdk-go/151@tmp/durable-83ae2a62/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:46:32 + echo total: 0.10999999940395355 [Pipeline] stash 17:46:32 Warning: overwriting stash ‘stack-cost’ 17:46:32 Stashed 1 file(s) [Pipeline] } 17:46:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-151-stack-cost] [Pipeline] // lock [Pipeline] } 17:46:32 $ docker stop --time=1 0b6e886e410e9f20841c2e96e6b03f4bbe35d46f299d9517c1ef3f5580dfa5df 17:46:34 $ docker rm -f --volumes 0b6e886e410e9f20841c2e96e6b03f4bbe35d46f299d9517c1ef3f5580dfa5df [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 17:46:34 provisioning config files... 17:46:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8938476647081989992tmp [Pipeline] { [Pipeline] sh 17:46:35 + set +x 17:46:35 + curl -s https://codecov.io/bash 17:46:35 + bash -s -- 17:46:35 17:46:35 _____ _ 17:46:35 / ____| | | 17:46:35 | | ___ __| | ___ ___ _____ __ 17:46:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:46:35 | |___| (_) | (_| | __/ (_| (_) \ V / 17:46:35 \_____\___/ \__,_|\___|\___\___/ \_/ 17:46:35 Bash-1.0.6 17:46:35 17:46:35 17:46:35 ==> git version 2.25.1 found 17:46:35 ==> 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 17:46:35 Release-Date: 2020-01-08 17:46:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:46:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:46:35 ==> Jenkins CI detected. 17:46:35 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 17:46:35 project root: . 17:46:35 --> token set from env 17:46:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:46:35 ==> Running gcov in . (disable via -X gcov) 17:46:35 ==> Python coveragepy not found 17:46:35 ==> Searching for coverage reports in: 17:46:35 + . 17:46:35 -> Found 1 reports 17:46:35 ==> Detecting git/mercurial file structure 17:46:35 ==> Reading reports 17:46:35 + ./coverage.out bytes=100848 17:46:35 ==> Appending adjustments 17:46:35 https://docs.codecov.io/docs/fixing-reports 17:46:35 + Found adjustments 17:46:35 ==> Gzipping contents 17:46:35 16K /tmp/codecov.fxJGGw.gz 17:46:35 ==> Uploading reports 17:46:35 url: https://codecov.io 17:46:35 query: branch=main&commit=d7de237c874a90e81091b377f7571cc3981ed0ab&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:46:35 -> Pinging Codecov 17:46:35 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=d7de237c874a90e81091b377f7571cc3981ed0ab&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:46:35 -> Uploading to 17:46:35 https://storage.googleapis.com/codecov/v4/raw/2023-02-07/7E55EF52A471D76F132DFD9A03CDDE97/d7de237c874a90e81091b377f7571cc3981ed0ab/e4b9c290-958e-4292-b378-a287d3e5bb1a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T174635Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94c66b3dece08930231ec5ebf68a5c5ae1bafac68cf4743546436d7480263b24 17:46:35 % Total % Received % Xferd Average Speed Time Time Time Current 17:46:35 Dload Upload Total Spent Left Speed 17:46:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14534 0 0 100 14534 0 55473 --:--:-- --:--:-- --:--:-- 55473 17:46:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d7de237c874a90e81091b377f7571cc3981ed0ab [Pipeline] } 17:46:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:46:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:46:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:46:36 17:46:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:46:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:46:36 df9b9388f04a: Pulling fs layer 17:46:36 52dc419b0ee2: Pulling fs layer 17:46:36 25bc292e5bac: Pulling fs layer 17:46:36 114826534d7a: Pulling fs layer 17:46:36 4657fd5d0bcf: Pulling fs layer 17:46:36 6ad1cebc031e: Pulling fs layer 17:46:36 8a3aa393b2d8: Pulling fs layer 17:46:36 4657fd5d0bcf: Waiting 17:46:36 6ad1cebc031e: Waiting 17:46:36 8a3aa393b2d8: Waiting 17:46:36 114826534d7a: Waiting 17:46:36 25bc292e5bac: Verifying Checksum 17:46:36 25bc292e5bac: Download complete 17:46:36 52dc419b0ee2: Verifying Checksum 17:46:36 52dc419b0ee2: Download complete 17:46:36 4657fd5d0bcf: Verifying Checksum 17:46:36 4657fd5d0bcf: Download complete 17:46:36 df9b9388f04a: Verifying Checksum 17:46:36 df9b9388f04a: Download complete 17:46:37 df9b9388f04a: Pull complete 17:46:37 6ad1cebc031e: Verifying Checksum 17:46:37 6ad1cebc031e: Download complete 17:46:37 52dc419b0ee2: Pull complete 17:46:37 25bc292e5bac: Pull complete 17:46:38 114826534d7a: Download complete 17:46:38 8a3aa393b2d8: Verifying Checksum 17:46:38 8a3aa393b2d8: Download complete 17:46:41 114826534d7a: Pull complete 17:46:41 4657fd5d0bcf: Pull complete 17:46:42 6ad1cebc031e: Pull complete 17:46:45 8a3aa393b2d8: Pull complete 17:46:45 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:46:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:46:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:46:45 prd-ubuntu20.04-docker-8c-8g-4957 does not seem to be running inside a container 17:46:45 $ 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 17:46:47 $ docker top e01a012bcc58e058fb92ed225c8a27a8089cf46401548fde38ec24074d255878 -eo pid,comm [Pipeline] { [Pipeline] echo 17:46:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 17:46:48 + set -o pipefail 17:46:48 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 17:47:14 17:47:14 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 17:47:14 17:47:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a08278ce-363d-4f09-9e7c-98b058127291 17:47:14 17:47:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:47:14 17:47:14 17:47:14 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:47:14 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:47:14 More details here: https://snyk.co/ue1NS [Pipeline] } 17:47:14 $ docker stop --time=1 e01a012bcc58e058fb92ed225c8a27a8089cf46401548fde38ec24074d255878 17:47:16 $ docker rm -f --volumes e01a012bcc58e058fb92ed225c8a27a8089cf46401548fde38ec24074d255878 [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 17:47:17 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:17 provisioning config files... 17:47:17 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9949534144392214170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:17 --> edgex-publish-swagger.sh 17:47:17 === Publish openapi/v3 API === 17:47:17 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 17:47:17 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 17:47:17 % Total % Received % Xferd Average Speed Time Time Time Current 17:47:17 Dload Upload Total Spent Left Speed 17:47:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47094 0 0 100 47094 0 81336 --:--:-- --:--:-- --:--:-- 81196 17:47:18 17:47:18 [Pipeline] } 17:47:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:47:18 + git log --format=format:%s -1 d7de237c874a90e81091b377f7571cc3981ed0ab [Pipeline] sh 17:47:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:47:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:47:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:19 prd-ubuntu20.04-docker-8c-8g-4957 does not seem to be running inside a container 17:47: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 17:47:19 $ docker top a9e354a49c785b6ac4846a6f3360da1c86a30ef88a8ba79464db5e350eb5a069 -eo pid,comm 17:47:19 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). 17:47:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:47:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:47:19 [ssh-agent] Looking for ssh-agent implementation... 17:47:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:47:19 $ docker exec a9e354a49c785b6ac4846a6f3360da1c86a30ef88a8ba79464db5e350eb5a069 ssh-agent 17:47:19 SSH_AUTH_SOCK=/tmp/ssh-y37t99FzDGL8/agent.32 17:47:19 SSH_AGENT_PID=38 17:47:19 Running ssh-add (command line suppressed) 17:47:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2010995041163202593.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2010995041163202593.key) 17:47:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:47:20 + git semver tag 17:47:20 2023-02-07 17:47:20,523 [run_tag] DEBUG tag force:False 17:47:20 2023-02-07 17:47:20,523 [check_head_tag] DEBUG check head tag 17:47:20 2023-02-07 17:47:20,525 [execute] INFO git cat-file --batch-check 17:47:20 2023-02-07 17:47:20,525 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:47:20 2023-02-07 17:47:20,530 [execute] INFO git cat-file --batch 17:47:20 2023-02-07 17:47:20,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:47:20 2023-02-07 17:47:20,563 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:47:20 2023-02-07 17:47:20,563 [execute] INFO git tag -a v3.0.0-dev.21 -m v3.0.0-dev.21 17:47:20 2023-02-07 17:47:20,563 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.21', '-m', 'v3.0.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 17:47:20 2023-02-07 17:47:20,569 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:47:20 3.0.0-dev.21 [Pipeline] } 17:47:20 $ docker exec --env ******** --env ******** a9e354a49c785b6ac4846a6f3360da1c86a30ef88a8ba79464db5e350eb5a069 ssh-agent -k 17:47:20 unset SSH_AUTH_SOCK; 17:47:20 unset SSH_AGENT_PID; 17:47:20 echo Agent pid 38 killed; 17:47:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:47:21 + git semver [Pipeline] } 17:47:21 $ docker stop --time=1 a9e354a49c785b6ac4846a6f3360da1c86a30ef88a8ba79464db5e350eb5a069 17:47:22 $ docker rm -f --volumes a9e354a49c785b6ac4846a6f3360da1c86a30ef88a8ba79464db5e350eb5a069 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:47:23 17:47:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:47:23 0.23.1-centos7: Pulling from edgex-lftools 17:47:23 ab5ef0e58194: Pulling fs layer 17:47:23 9712f1f96733: Pulling fs layer 17:47:23 63f879dbbcfc: Pulling fs layer 17:47:23 0d9ebad4ef96: Pulling fs layer 17:47:23 e9a5061849ea: Pulling fs layer 17:47:23 d747dcd14b5f: Pulling fs layer 17:47:23 2de7ff778b66: Pulling fs layer 17:47:23 e9a5061849ea: Waiting 17:47:23 d747dcd14b5f: Waiting 17:47:23 0d9ebad4ef96: Waiting 17:47:23 2de7ff778b66: Waiting 17:47:23 9712f1f96733: Verifying Checksum 17:47:23 9712f1f96733: Download complete 17:47:24 63f879dbbcfc: Verifying Checksum 17:47:24 63f879dbbcfc: Download complete 17:47:24 e9a5061849ea: Verifying Checksum 17:47:24 e9a5061849ea: Download complete 17:47:24 ab5ef0e58194: Download complete 17:47:24 d747dcd14b5f: Verifying Checksum 17:47:24 d747dcd14b5f: Download complete 17:47:24 0d9ebad4ef96: Verifying Checksum 17:47:24 0d9ebad4ef96: Download complete 17:47:24 2de7ff778b66: Verifying Checksum 17:47:24 2de7ff778b66: Download complete 17:47:27 ab5ef0e58194: Pull complete 17:47:27 9712f1f96733: Pull complete 17:47:28 63f879dbbcfc: Pull complete 17:47:32 0d9ebad4ef96: Pull complete 17:47:32 e9a5061849ea: Pull complete 17:47:32 d747dcd14b5f: Pull complete 17:47:33 2de7ff778b66: Pull complete 17:47:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:47:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:47:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:33 prd-ubuntu20.04-docker-8c-8g-4957 does not seem to be running inside a container 17:47:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:47:35 $ docker top 0bfa928a7f7bbd5a7c022bf7ff286ebaebec056ea1017506c8fac094f9b1cf93 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:47:35 provisioning config files... 17:47:35 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16943075791543559072tmp 17:47:35 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1848153934038723285tmp 17:47:35 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4492094827604379581tmp [Pipeline] { [Pipeline] echo 17:47:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:47:36 ---> sigul-configuration.sh 17:47:36 gpg: directory `/root/.gnupg' created 17:47:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:47:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:47:36 gpg: keyring `/root/.gnupg/secring.gpg' created 17:47:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:47:36 gpg: CAST5 encrypted data 17:47:36 gpg: encrypted with 1 passphrase 17:47:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:47:36 + mkdir /home/jenkins 17:47:36 + mkdir /home/jenkins/sigul [Pipeline] sh 17:47:36 + 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 17:47:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:47:37 ---> sigul-install.sh 17:47:37 Sigul already installed; skipping installation. [Pipeline] sh 17:47:37 + git tag --list 17:47:37 0.7.1 17:47:37 delhi-tag 17:47:37 v1.0.0 17:47:37 v1.1.0 17:47:37 v1.1.1 17:47:37 v1.1.2 17:47:37 v1.2.0 17:47:37 v1.2.1 17:47:37 v1.2.2 17:47:37 v1.2.3 17:47:37 v1.3.0 17:47:37 v1.4.0 17:47:37 v2.0.0 17:47:37 v2.1.0 17:47:37 v2.1.1 17:47:37 v2.1.1-dev.2 17:47:37 v2.1.1-dev.3 17:47:37 v2.2.0 17:47:37 v2.2.1-dev.1 17:47:37 v2.2.1-dev.10 17:47:37 v2.2.1-dev.11 17:47:37 v2.2.1-dev.12 17:47:37 v2.2.1-dev.13 17:47:37 v2.2.1-dev.14 17:47:37 v2.2.1-dev.2 17:47:37 v2.2.1-dev.3 17:47:37 v2.2.1-dev.4 17:47:37 v2.2.1-dev.5 17:47:37 v2.2.1-dev.6 17:47:37 v2.2.1-dev.7 17:47:37 v2.2.1-dev.8 17:47:37 v2.2.1-dev.9 17:47:37 v2.3.0 17:47:37 v2.3.0-dev.14 17:47:37 v2.3.0-dev.15 17:47:37 v2.3.0-dev.16 17:47:37 v2.3.0-dev.17 17:47:37 v2.3.0-dev.18 17:47:37 v2.3.0-dev.19 17:47:37 v2.3.0-dev.20 17:47:37 v2.3.0-dev.21 17:47:37 v2.3.0-dev.22 17:47:37 v2.3.0-dev.23 17:47:37 v2.3.0-dev.24 17:47:37 v2.3.0-dev.25 17:47:37 v2.3.0-dev.26 17:47:37 v2.3.0-dev.27 17:47:37 v2.3.0-dev.28 17:47:37 v2.3.0-dev.29 17:47:37 v2.3.0-dev.30 17:47:37 v2.3.0-dev.31 17:47:37 v2.3.0-dev.32 17:47:37 v2.3.0-dev.33 17:47:37 v2.3.0-dev.34 17:47:37 v2.3.0-dev.35 17:47:37 v2.3.0-dev.36 17:47:37 v2.3.0-dev.37 17:47:37 v2.3.0-dev.38 17:47:37 v2.3.0-dev.39 17:47:37 v2.3.0-dev.40 17:47:37 v2.3.0-dev.41 17:47:37 v2.3.0-dev.42 17:47:37 v2.3.0-dev.43 17:47:37 v2.3.0-dev.44 17:47:37 v2.3.0-dev.45 17:47:37 v2.3.0-dev.46 17:47:37 v2.3.0-dev.47 17:47:37 v2.3.0-dev.48 17:47:37 v2.3.0-dev.49 17:47:37 v2.3.0-dev.50 17:47:37 v2.3.0-dev.51 17:47:37 v2.3.1-dev.1 17:47:37 v2.3.1-dev.2 17:47:37 v3.0.0-dev.1 17:47:37 v3.0.0-dev.10 17:47:37 v3.0.0-dev.11 17:47:37 v3.0.0-dev.12 17:47:37 v3.0.0-dev.13 17:47:37 v3.0.0-dev.14 17:47:37 v3.0.0-dev.15 17:47:37 v3.0.0-dev.16 17:47:37 v3.0.0-dev.17 17:47:37 v3.0.0-dev.18 17:47:37 v3.0.0-dev.19 17:47:37 v3.0.0-dev.2 17:47:37 v3.0.0-dev.20 17:47:37 v3.0.0-dev.21 17:47:37 v3.0.0-dev.3 17:47:37 v3.0.0-dev.4 17:47:37 v3.0.0-dev.5 17:47:37 v3.0.0-dev.6 17:47:37 v3.0.0-dev.7 17:47:37 v3.0.0-dev.8 17:47:37 v3.0.0-dev.9 [Pipeline] sh 17:47:37 + lftools sign git-tag v3.0.0-dev.21 17:47:38 Signing Git tag with Sigul... 17:47:38 Signing v3.0.0-dev.21 [Pipeline] echo 17:47:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:47:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:47:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:47:38 $ docker stop --time=1 0bfa928a7f7bbd5a7c022bf7ff286ebaebec056ea1017506c8fac094f9b1cf93 17:47:40 $ docker rm -f --volumes 0bfa928a7f7bbd5a7c022bf7ff286ebaebec056ea1017506c8fac094f9b1cf93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:47:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:47:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:47:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:40 prd-ubuntu20.04-docker-8c-8g-4957 does not seem to be running inside a container 17:47:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:47:41 $ docker top 884052b9d75f9384f824ae0b29708b520f78d33be70c54261b1a65f7f689cde0 -eo pid,comm 17:47:41 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). 17:47:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:47:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:47:41 [ssh-agent] Looking for ssh-agent implementation... 17:47:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:47:41 $ docker exec 884052b9d75f9384f824ae0b29708b520f78d33be70c54261b1a65f7f689cde0 ssh-agent 17:47:41 SSH_AUTH_SOCK=/tmp/ssh-bzXOFEGUbYEr/agent.32 17:47:41 SSH_AGENT_PID=38 17:47:41 Running ssh-add (command line suppressed) 17:47:41 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9889275772388248044.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9889275772388248044.key) 17:47:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:47:42 + git semver bump pre 17:47:42 2023-02-07 17:47:42,305 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:47:42 2023-02-07 17:47:42,305 [bump_version] DEBUG bumping version:3.0.0-dev.21 on axis:pre with prefix:dev 17:47:42 2023-02-07 17:47:42,305 [bump_version] DEBUG bumped version:3.0.0-dev.22 17:47:42 2023-02-07 17:47:42,305 [write_version] DEBUG write version:3.0.0-dev.22 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 17:47:42 2023-02-07 17:47:42,306 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:47:42 2023-02-07 17:47:42,306 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:47:42 2023-02-07 17:47:42,310 [execute] INFO git cat-file --batch-check 17:47:42 2023-02-07 17:47:42,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:47:42 2023-02-07 17:47:42,317 [execute] INFO git cat-file --batch 17:47:42 2023-02-07 17:47:42,317 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:47:42 2023-02-07 17:47:42,323 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:47:42 3.0.0-dev.22 [Pipeline] } 17:47:42 $ docker exec --env ******** --env ******** 884052b9d75f9384f824ae0b29708b520f78d33be70c54261b1a65f7f689cde0 ssh-agent -k 17:47:42 unset SSH_AUTH_SOCK; 17:47:42 unset SSH_AGENT_PID; 17:47:42 echo Agent pid 38 killed; 17:47:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:47:42 + git semver [Pipeline] } 17:47:43 $ docker stop --time=1 884052b9d75f9384f824ae0b29708b520f78d33be70c54261b1a65f7f689cde0 17:47:44 $ docker rm -f --volumes 884052b9d75f9384f824ae0b29708b520f78d33be70c54261b1a65f7f689cde0 [Pipeline] // withDockerContainer [Pipeline] sh 17:47:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:47:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:47:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:45 prd-ubuntu20.04-docker-8c-8g-4957 does not seem to be running inside a container 17:47:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:47:45 $ docker top 6e40ad1a10a2e5d3dcf6072a0ab8f2a7dc6a878858634cab327e48d673f539ed -eo pid,comm 17:47:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:47:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:47:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:47:45 [ssh-agent] Looking for ssh-agent implementation... 17:47:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:47:45 $ docker exec 6e40ad1a10a2e5d3dcf6072a0ab8f2a7dc6a878858634cab327e48d673f539ed ssh-agent 17:47:45 SSH_AUTH_SOCK=/tmp/ssh-34TRHpd37nvV/agent.32 17:47:45 SSH_AGENT_PID=38 17:47:45 Running ssh-add (command line suppressed) 17:47:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11816056091734745074.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11816056091734745074.key) 17:47:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:47:46 + git semver push 17:47:46 2023-02-07 17:47:46,415 [run_push] DEBUG push 17:47:46 2023-02-07 17:47:46,415 [execute] INFO git cat-file --batch-check 17:47:46 2023-02-07 17:47:46,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:47:46 2023-02-07 17:47:46,420 [execute] INFO git rev-list 9c9cd94cd92873f4da67cd7d802782faadc097c5 -- 17:47:46 2023-02-07 17:47:46,421 [execute] DEBUG Popen(['git', 'rev-list', '9c9cd94cd92873f4da67cd7d802782faadc097c5', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:47:46 2023-02-07 17:47:46,435 [execute] INFO git fetch -v origin 17:47:46 2023-02-07 17:47:46,435 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:47:47 2023-02-07 17:47:47,033 [run_push] DEBUG no remote changes detected 17:47:47 2023-02-07 17:47:47,033 [execute] INFO git push origin semver 17:47:47 2023-02-07 17:47:47,033 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:47:47 2023-02-07 17:47:47,913 [run_push] DEBUG push all version tags 17:47:47 2023-02-07 17:47:47,914 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:47:47 2023-02-07 17:47:47,914 [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) 17:47:48 2023-02-07 17:47:48,806 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:47:48 3.0.0-dev.22 [Pipeline] } 17:47:48 $ docker exec --env ******** --env ******** 6e40ad1a10a2e5d3dcf6072a0ab8f2a7dc6a878858634cab327e48d673f539ed ssh-agent -k 17:47:49 unset SSH_AUTH_SOCK; 17:47:49 unset SSH_AGENT_PID; 17:47:49 echo Agent pid 38 killed; 17:47:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:47:49 + git semver [Pipeline] } 17:47:49 $ docker stop --time=1 6e40ad1a10a2e5d3dcf6072a0ab8f2a7dc6a878858634cab327e48d673f539ed 17:47:50 $ docker rm -f --volumes 6e40ad1a10a2e5d3dcf6072a0ab8f2a7dc6a878858634cab327e48d673f539ed [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 17:47:51 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 17:47:51 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:47:51 total 16 17:47:51 drwxr-xr-x 3 root root 4096 Feb 7 17:36 . 17:47:51 drwxrwxr-x 12 jenkins jenkins 4096 Feb 7 17:47 .. 17:47:51 drwxr-xr-x 2 root root 4096 Feb 7 17:36 cost 17:47:51 -rw-r--r-- 1 root root 85 Feb 7 17:36 cost.csv 17:47:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:47:51 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:47:51 total 16 17:47:51 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 17:36 . 17:47:51 drwxrwxr-x 12 jenkins jenkins 4096 Feb 7 17:47 .. 17:47:51 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 17:36 cost 17:47:51 -rw-r--r-- 1 jenkins jenkins 85 Feb 7 17:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:47:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:47:52 ---> package-listing.sh 17:47:52 ++ facter osfamily 17:47:52 ++ tr '[:upper:]' '[:lower:]' 17:47:52 + OS_FAMILY=debian 17:47:52 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 17:47:52 + START_PACKAGES=/tmp/packages_start.txt 17:47:52 + END_PACKAGES=/tmp/packages_end.txt 17:47:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:47:52 + PACKAGES=/tmp/packages_start.txt 17:47:52 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:47:52 + PACKAGES=/tmp/packages_end.txt 17:47:52 + case "${OS_FAMILY}" in 17:47:52 + dpkg -l 17:47:52 + grep '^ii' 17:47:52 + '[' -f /tmp/packages_start.txt ']' 17:47:52 + '[' -f /tmp/packages_end.txt ']' 17:47:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:47:52 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:47:52 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 17:47:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 17:47:52 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 17:47:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:53 prd-ubuntu20.04-docker-8c-8g-4957 does not seem to be running inside a container 17:47:53 $ 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 17:47:54 $ docker top 4f396270f0ca2bcd40eda4fbaad05be4d8fb4ebd4044a0e88a7fb5fd0349569e -eo pid,comm [Pipeline] { [Pipeline] sh 17:47:54 + touch /tmp/pre-build-complete [Pipeline] sh 17:47:54 + mkdir -p /var/log/sysstat [Pipeline] sh 17:47:55 + ls /var/log/sa-host 17:47:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:55 provisioning config files... 17:47:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11614838681927594636tmp [Pipeline] { [Pipeline] echo 17:47:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:47:55 ---> create-netrc.sh [Pipeline] } 17:47:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:47:55 ---> python-tools-install.sh [Pipeline] echo 17:47:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:47:56 ---> sudo-logs.sh 17:47:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:47:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:47:56 ---> job-cost.sh 17:47:56 lf-activate-venv: SKIPPING 17:47:56 DEBUG: total: 0.2199999988079071 17:47:56 INFO: Retrieving Stack Cost... 17:47:57 INFO: Retrieving Pricing Info for: v3-standard-8 17:47:57 INFO: Archiving Costs [Pipeline] echo 17:47:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:47:57 ---> logs-deploy.sh 17:47:57 lf-activate-venv: SKIPPING 17:47:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/151 17:47:57 INFO: archiving workspace using pattern(s): 17:47:58 Archives upload complete. 17:47:58 INFO: archiving logs to Nexus