Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d 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-ssh17578576875475668444.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-ssh11933149060792077773.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-ssh5951595785069261114.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-ssh13408655698538770000.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-ssh16438934731111428282.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 on ‘prd-ubuntu20.04-docker-8c-8g-5577’ Running on prd-ubuntu20.04-docker-8c-8g-5579 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 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d (main) Commit message: "feat!: replace REST provision watcher callbacks with System Events (#1315)" > 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 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d # timeout=10 > git rev-list --no-walk 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:25:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:25:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:25:16 ========================================================= 17:25:16 EdgeX Global Pipelines Version Info 17:25:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:25:17 ------------------- 17:25:17 stable info: 17:25:17 ------------------- 17:25:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:25:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:25:17 Message: update stable to v1.0.244 17:25:17 ------------------- 17:25:17 experimental info: 17:25:17 ------------------- 17:25:17 Commited By: **** collab-it+edgex@linuxfoundation.org 17:25:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:25:17 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:25:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ea8883 [Pipeline] echo 17:25:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:25:18 provisioning config files... 17:25:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12420592368755356512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:18 ---> docker-login.sh 17:25:18 nexus3.edgexfoundry.org:10001 17:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:18 Configure a credential helper to remove this warning. See 17:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:18 17:25:18 Login Succeeded 17:25:18 nexus3.edgexfoundry.org:10002 17:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:19 Configure a credential helper to remove this warning. See 17:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:19 17:25:19 Login Succeeded 17:25:19 nexus3.edgexfoundry.org:10003 17:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:19 Configure a credential helper to remove this warning. See 17:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:19 17:25:19 Login Succeeded 17:25:19 nexus3.edgexfoundry.org:10004 17:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:19 Configure a credential helper to remove this warning. See 17:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:19 17:25:19 Login Succeeded 17:25:19 docker.io 17:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:19 Configure a credential helper to remove this warning. See 17:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:19 17:25:19 Login Succeeded 17:25:19 ---> docker-login.sh ends [Pipeline] } 17:25:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:25:19 + git rev-list -1 --merges 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d~1..8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d [Pipeline] echo 17:25:20 -----------> git rev-list -1 --merges 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d~1..8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d [false] [Pipeline] sh 17:25:20 + git log --format=format:%s -1 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d [Pipeline] echo 17:25:20 ========================================================= 17:25:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:25:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:25:20 + git log --format=format:%s -1 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d [Pipeline] echo 17:25:20 [semverPrep] GIT_COMMIT: 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d, Commit Message: feat!: replace REST provision watcher callbacks with System Events (#1315) [Pipeline] echo 17:25:20 [semverPrep] This is not a build commit. [Pipeline] sh 17:25:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:25:21 + grep -v github /etc/ssh/ssh_known_hosts 17:25:21 + [ -e /tmp/ssh_known_hosts ] 17:25:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:25:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:25:21 + sudo tee -a /etc/ssh/ssh_known_hosts 17:25:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:21 17:25:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:22 0.1.4: Pulling from edgex-devops/py-git-semver 17:25:22 b85a868b505f: Pulling fs layer 17:25:22 e2be974225ed: Pulling fs layer 17:25:22 339a4e72a1f5: Pulling fs layer 17:25:22 988bab9f4d93: Pulling fs layer 17:25:22 1469e6f7b9e6: Pulling fs layer 17:25:22 eaf3925da568: Pulling fs layer 17:25:22 bab4dde63d76: Pulling fs layer 17:25:22 bde34c3a00c8: Pulling fs layer 17:25:22 b352a97aabf1: Pulling fs layer 17:25:22 bab4dde63d76: Waiting 17:25:22 4872d77fe225: Pulling fs layer 17:25:22 5851b861e8e6: Pulling fs layer 17:25:22 eaf3925da568: Waiting 17:25:22 5851b861e8e6: Waiting 17:25:22 e2be974225ed: Download complete 17:25:22 988bab9f4d93: Verifying Checksum 17:25:22 988bab9f4d93: Download complete 17:25:22 339a4e72a1f5: Verifying Checksum 17:25:22 339a4e72a1f5: Download complete 17:25:22 eaf3925da568: Download complete 17:25:22 1469e6f7b9e6: Verifying Checksum 17:25:22 1469e6f7b9e6: Download complete 17:25:22 bde34c3a00c8: Download complete 17:25:22 b352a97aabf1: Download complete 17:25:22 4872d77fe225: Verifying Checksum 17:25:22 4872d77fe225: Download complete 17:25:22 5851b861e8e6: Verifying Checksum 17:25:22 5851b861e8e6: Download complete 17:25:22 b85a868b505f: Verifying Checksum 17:25:22 b85a868b505f: Download complete 17:25:23 bab4dde63d76: Verifying Checksum 17:25:23 bab4dde63d76: Download complete 17:25:23 b85a868b505f: Pull complete 17:25:24 e2be974225ed: Pull complete 17:25:24 339a4e72a1f5: Pull complete 17:25:24 988bab9f4d93: Pull complete 17:25:24 1469e6f7b9e6: Pull complete 17:25:24 eaf3925da568: Pull complete 17:25:26 bab4dde63d76: Pull complete 17:25:26 bde34c3a00c8: Pull complete 17:25:26 b352a97aabf1: Pull complete 17:25:26 4872d77fe225: Pull complete 17:25:26 5851b861e8e6: Pull complete 17:25:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:25:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:25:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:25:27 prd-ubuntu20.04-docker-8c-8g-5579 does not seem to be running inside a container 17:25:27 $ 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:25:28 $ docker top ae06b61b1d51093a80cd598ebb992cc1476c23bf3b3f7a567afe95f3818d505a -eo pid,comm 17:25:28 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:25:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:25:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:28 [ssh-agent] Looking for ssh-agent implementation... 17:25:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:28 $ docker exec ae06b61b1d51093a80cd598ebb992cc1476c23bf3b3f7a567afe95f3818d505a ssh-agent 17:25:28 SSH_AUTH_SOCK=/tmp/ssh-LfGdcMsqguhk/agent.33 17:25:28 SSH_AGENT_PID=40 17:25:28 Running ssh-add (command line suppressed) 17:25:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15861567285361881624.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15861567285361881624.key) 17:25:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:29 + git tag --points-at HEAD [Pipeline] } 17:25:29 $ docker exec --env ******** --env ******** ae06b61b1d51093a80cd598ebb992cc1476c23bf3b3f7a567afe95f3818d505a ssh-agent -k 17:25:29 unset SSH_AUTH_SOCK; 17:25:29 unset SSH_AGENT_PID; 17:25:29 echo Agent pid 40 killed; 17:25:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:25:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:25:29 [ssh-agent] Looking for ssh-agent implementation... 17:25:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:25:29 $ docker exec ae06b61b1d51093a80cd598ebb992cc1476c23bf3b3f7a567afe95f3818d505a ssh-agent 17:25:29 SSH_AUTH_SOCK=/tmp/ssh-VzmCKGYMaKzw/agent.72 17:25:29 SSH_AGENT_PID=78 17:25:29 Running ssh-add (command line suppressed) 17:25:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5188610296195651113.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5188610296195651113.key) 17:25:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:25:30 + git semver init 17:25:30 2023-02-13 17:25:30,269 [run_init] DEBUG init version:0.0.0 force:False 17:25:30 2023-02-13 17:25:30,270 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 17:25:30 2023-02-13 17:25:30,271 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 17:25:30 2023-02-13 17:25:30,271 [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:25:31 2023-02-13 17:25:31,375 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 17:25:31 2023-02-13 17:25:31,376 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 17:25:31 2023-02-13 17:25:31,376 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:25:31 2023-02-13 17:25:31,376 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:25:31 3.0.0-dev.24 [Pipeline] } 17:25:31 $ docker exec --env ******** --env ******** ae06b61b1d51093a80cd598ebb992cc1476c23bf3b3f7a567afe95f3818d505a ssh-agent -k 17:25:31 unset SSH_AUTH_SOCK; 17:25:31 unset SSH_AGENT_PID; 17:25:31 echo Agent pid 78 killed; 17:25:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:25:32 + git semver [Pipeline] } 17:25:32 $ docker stop --time=1 ae06b61b1d51093a80cd598ebb992cc1476c23bf3b3f7a567afe95f3818d505a 17:25:33 $ docker rm -f --volumes ae06b61b1d51093a80cd598ebb992cc1476c23bf3b3f7a567afe95f3818d505a [Pipeline] // withDockerContainer [Pipeline] sh 17:25:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:25:34 Stashed 1 file(s) [Pipeline] echo 17:25:34 [edgeXSemver]: initialized semver on version 3.0.0-dev.24 [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:25:34 provisioning config files... 17:25:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10348735111789984682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:34 ---> docker-login.sh 17:25:34 nexus3.edgexfoundry.org:10001 17:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:34 Configure a credential helper to remove this warning. See 17:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:34 17:25:34 Login Succeeded 17:25:34 nexus3.edgexfoundry.org:10002 17:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:34 Configure a credential helper to remove this warning. See 17:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:34 17:25:34 Login Succeeded 17:25:34 nexus3.edgexfoundry.org:10003 17:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:35 Configure a credential helper to remove this warning. See 17:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:35 17:25:35 Login Succeeded 17:25:35 nexus3.edgexfoundry.org:10004 17:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:35 Configure a credential helper to remove this warning. See 17:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:35 17:25:35 Login Succeeded 17:25:35 docker.io 17:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:25:35 Configure a credential helper to remove this warning. See 17:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:25:35 17:25:35 Login Succeeded 17:25:35 ---> docker-login.sh ends [Pipeline] } 17:25:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:25:35 ========================================================= 17:25:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:25:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:36 + 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:25:36 Sending build context to Docker daemon 10.38MB 17:25:36 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:25:36 Step 2/10 : FROM ${BASE} AS builder 17:25:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:25:36 213ec9aee27d: Pulling fs layer 17:25:36 4583459ba037: Pulling fs layer 17:25:36 93c1e223e6f2: Pulling fs layer 17:25:36 53926ce57604: Pulling fs layer 17:25:36 21b2b0c7a3f4: Pulling fs layer 17:25:36 22ff95d597cd: Pulling fs layer 17:25:36 12d6caf4c0d1: Pulling fs layer 17:25:36 96b7cbca73a9: Pulling fs layer 17:25:36 a7acece74701: Pulling fs layer 17:25:36 22ff95d597cd: Waiting 17:25:36 53926ce57604: Waiting 17:25:36 12d6caf4c0d1: Waiting 17:25:36 21b2b0c7a3f4: Waiting 17:25:36 96b7cbca73a9: Waiting 17:25:36 a7acece74701: Waiting 17:25:36 4583459ba037: Verifying Checksum 17:25:36 4583459ba037: Download complete 17:25:36 93c1e223e6f2: Verifying Checksum 17:25:36 93c1e223e6f2: Download complete 17:25:36 213ec9aee27d: Verifying Checksum 17:25:36 213ec9aee27d: Download complete 17:25:36 21b2b0c7a3f4: Verifying Checksum 17:25:36 21b2b0c7a3f4: Download complete 17:25:36 22ff95d597cd: Verifying Checksum 17:25:36 22ff95d597cd: Download complete 17:25:36 213ec9aee27d: Pull complete 17:25:36 12d6caf4c0d1: Verifying Checksum 17:25:36 12d6caf4c0d1: Download complete 17:25:36 4583459ba037: Pull complete 17:25:36 93c1e223e6f2: Pull complete 17:25:37 96b7cbca73a9: Verifying Checksum 17:25:37 96b7cbca73a9: Download complete 17:25:37 a7acece74701: Verifying Checksum 17:25:37 a7acece74701: Download complete 17:25:38 53926ce57604: Verifying Checksum 17:25:38 53926ce57604: Download complete 17:25:41 53926ce57604: Pull complete 17:25:41 21b2b0c7a3f4: Pull complete 17:25:41 22ff95d597cd: Pull complete 17:25:41 12d6caf4c0d1: Pull complete 17:25:43 96b7cbca73a9: Pull complete 17:25:44 a7acece74701: Pull complete 17:25:44 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:25:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:25:44 ---> db6d94c90886 17:25:44 Step 3/10 : ARG MAKE=make build 17:25:46 ---> Running in e9e382f8347e 17:25:46 Removing intermediate container e9e382f8347e 17:25:46 ---> b344765f698e 17:25:46 Step 4/10 : WORKDIR /device-sdk-go 17:25:46 ---> Running in 64efd7874619 17:25:46 Removing intermediate container 64efd7874619 17:25:46 ---> 4dfea6ec0540 17:25:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:25:46 ---> Running in 90f4a5abd5a4 17:25:46 Removing intermediate container 90f4a5abd5a4 17:25:46 ---> 2aff005f0599 17:25:46 Step 6/10 : RUN apk add --update --no-cache make git 17:25:46 ---> Running in b671d91e35e0 17:25:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:25:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:25:47 OK: 211 MiB in 51 packages 17:25:48 Removing intermediate container b671d91e35e0 17:25:48 ---> 7130dae3be45 17:25:48 Step 7/10 : COPY go.mod vendor* ./ 17:25:48 ---> 790be04b0ff7 17:25:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:48 ---> Running in bf31af433c5f 17:25:49 Still waiting to schedule task 17:25:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5578’ 17:26:27 Removing intermediate container bf31af433c5f 17:26:27 ---> e52dedf6554b 17:26:27 Step 9/10 : COPY . . 17:26:27 ---> fc197232a0a2 17:26:27 Step 10/10 : RUN ${MAKE} 17:26:27 ---> Running in 4f71896c4f3c 17:26:27 noop 17:26:28 Removing intermediate container 4f71896c4f3c 17:26:28 ---> e689290d8243 17:26:28 Successfully built e689290d8243 17:26:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:28 + docker inspect -f . ci-base-image-x86_64 17:26:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:28 prd-ubuntu20.04-docker-8c-8g-5579 does not seem to be running inside a container 17:26:28 $ 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:26:29 $ docker top 723b633d9e199eee034b745762ee58da19a9822bde507f6de5124aad140f938d -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:29 + go version 17:26:29 go version go1.18.7 linux/amd64 [Pipeline] } 17:26:29 $ docker stop --time=1 723b633d9e199eee034b745762ee58da19a9822bde507f6de5124aad140f938d 17:26:30 $ docker rm -f --volumes 723b633d9e199eee034b745762ee58da19a9822bde507f6de5124aad140f938d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:31 + docker inspect -f . ci-base-image-x86_64 17:26:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:31 prd-ubuntu20.04-docker-8c-8g-5579 does not seem to be running inside a container 17:26:31 $ 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:26:31 $ docker top add3b78baace1e1d79ec6ff4ec579a5914b543215e34db1c417eb1bf8fa846bd -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 17:26:32 + make test 17:26:32 go test -race -coverprofile=coverage.out ./... 17:26:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:26:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements 17:26:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.068s coverage: 78.9% of statements 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 17:26:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.106s coverage: 78.1% of statements 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:26:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 72.4% of statements 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 17:26:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.094s coverage: 65.2% of statements 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:26:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.752s coverage: 89.2% of statements 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 17:26:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.053s coverage: 4.7% of statements 17:26:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:27:06 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:27:06 GO111MODULE=on go vet ./... 17:27:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:27:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:27:09 ./bin/test-attribution-txt.sh [Pipeline] echo 17:27:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:27:09 $ docker stop --time=1 add3b78baace1e1d79ec6ff4ec579a5914b543215e34db1c417eb1bf8fa846bd 17:27:11 $ docker rm -f --volumes add3b78baace1e1d79ec6ff4ec579a5914b543215e34db1c417eb1bf8fa846bd [Pipeline] // withDockerContainer [Pipeline] sh 17:27:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:27:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:27:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:27:12 + ls -al . 17:27:12 total 272 17:27:12 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 17:26 . 17:27:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 17:25 .. 17:27:12 -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 17:25 .dockerignore 17:27:12 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 17:26 .git 17:27:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 17:25 .github 17:27:12 -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 17:25 .gitignore 17:27:12 -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 17:25 .golangci.yml 17:27:12 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 17:25 .semver 17:27:12 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 17:25 CHANGELOG.md 17:27:12 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 17:25 GOVERNANCE.md 17:27:12 -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 17:25 Jenkinsfile 17:27:12 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 17:25 LICENSE 17:27:12 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 17:25 Makefile 17:27:12 -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 17:25 OWNERS.md 17:27:12 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 17:25 README.md 17:27:12 -rw-rw-r-- 1 jenkins jenkins 12 Feb 13 17:25 VERSION 17:27:12 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 17:25 bin 17:27:12 -rw-r--r-- 1 jenkins jenkins 99165 Feb 13 17:26 coverage.out 17:27:12 drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 17:25 example 17:27:12 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 17:25 go.mod 17:27:12 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 17:25 go.sum 17:27:12 drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 17:25 internal 17:27:12 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 17:25 openapi 17:27:12 drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 17:25 pkg 17:27:12 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 17:25 snap 17:27:12 -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 17:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:13 + 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=8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d --label arch=amd64 --label version=3.0.0-dev.24 . 17:27:13 Sending build context to Docker daemon 10.48MB 17:27:13 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:27:13 Step 2/23 : FROM ${BASE} AS builder 17:27:13 ---> e689290d8243 17:27:13 Step 3/23 : ARG MAKE=make build 17:27:13 ---> Running in d33bf1a81e31 17:27:13 Removing intermediate container d33bf1a81e31 17:27:13 ---> a1e0b057281d 17:27:13 Step 4/23 : WORKDIR /device-sdk-go 17:27:13 ---> Running in 664d041ca2eb 17:27:13 Removing intermediate container 664d041ca2eb 17:27:13 ---> bc91259541a7 17:27:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:27:13 ---> Running in 729ccc0bba29 17:27:13 Removing intermediate container 729ccc0bba29 17:27:13 ---> 3e43e238fbe3 17:27:13 Step 6/23 : RUN apk add --update --no-cache make git 17:27:13 ---> Running in 92c9f7e23c5e 17:27:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:27:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:27:14 OK: 211 MiB in 51 packages 17:27:15 Removing intermediate container 92c9f7e23c5e 17:27:15 ---> e0bcf4490e29 17:27:15 Step 7/23 : COPY go.mod vendor* ./ 17:27:15 ---> 1b260e1e3120 17:27:15 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:27:15 ---> Running in c0f57c4d7329 17:27:16 Removing intermediate container c0f57c4d7329 17:27:16 ---> 9590b4d94966 17:27:16 Step 9/23 : COPY . . 17:27:16 ---> f92850019a11 17:27:16 Step 10/23 : RUN ${MAKE} 17:27:16 ---> Running in 910733ea7bca 17:27:16 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.24" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:27:34 Removing intermediate container 910733ea7bca 17:27:34 ---> 9de7eb71da4c 17:27:34 Step 11/23 : FROM alpine:3.16 17:27:34 3.16: Pulling from library/alpine 17:27:34 ef5531b6e74e: Pulling fs layer 17:27:34 ef5531b6e74e: Verifying Checksum 17:27:34 ef5531b6e74e: Download complete 17:27:35 ef5531b6e74e: Pull complete 17:27:35 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:27:35 Status: Downloaded newer image for alpine:3.16 17:27:35 ---> dfd21b5a31f5 17:27:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:27:35 ---> Running in 5d6232c26a8a 17:27:35 Removing intermediate container 5d6232c26a8a 17:27:35 ---> c8c1a4c9eaeb 17:27:35 Step 13/23 : RUN apk add --update --no-cache 17:27:35 ---> Running in 8d8a138246b2 17:27:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:27:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:27:36 OK: 6 MiB in 14 packages 17:27:36 Removing intermediate container 8d8a138246b2 17:27:36 ---> 3d63f35fc3eb 17:27:36 Step 14/23 : WORKDIR / 17:27:36 ---> Running in e4f917b47e75 17:27:36 Removing intermediate container e4f917b47e75 17:27:36 ---> 4a5ca2742c92 17:27:36 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:27:36 ---> 69ee91a4af63 17:27:36 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:27:37 ---> 2deef36fa742 17:27:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:27:37 ---> 3bb1475b88c0 17:27:37 Step 18/23 : EXPOSE 59999 17:27:37 ---> Running in b12f3c48cab6 17:27:37 Removing intermediate container b12f3c48cab6 17:27:37 ---> 48cfb91db62f 17:27:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:27:37 ---> Running in 63fec38a4549 17:27:37 Removing intermediate container 63fec38a4549 17:27:37 ---> b5ee09c75d79 17:27:37 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:27:37 ---> Running in 613d4bc3ffe5 17:27:37 Removing intermediate container 613d4bc3ffe5 17:27:37 ---> d4a0f16fa93c 17:27:37 Step 21/23 : LABEL arch=amd64 17:27:37 ---> Running in 6f59dc42341f 17:27:37 Removing intermediate container 6f59dc42341f 17:27:37 ---> e11aa82b5f48 17:27:37 Step 22/23 : LABEL git_sha=8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d 17:27:38 ---> Running in 910040fe6b35 17:27:38 Removing intermediate container 910040fe6b35 17:27:38 ---> 619fb27153bc 17:27:38 Step 23/23 : LABEL version=3.0.0-dev.24 17:27:38 ---> Running in 68b343be0720 17:27:38 Removing intermediate container 68b343be0720 17:27:38 ---> 132baaafa1af 17:27:38 [Warning] One or more build-args [ARCH] were not consumed 17:27:38 Successfully built 132baaafa1af 17:27:38 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:27:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:38 17:27:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:39 latest: Pulling from edgex-lftools-log-publisher 17:27:39 5eb5b503b376: Pulling fs layer 17:27:39 5c69ac0246d0: Pulling fs layer 17:27:39 ec43610c2a17: Pulling fs layer 17:27:39 3a2ae6a8a46f: Pulling fs layer 17:27:39 33b1e0a273af: Pulling fs layer 17:27:39 5d3b04190fa2: Pulling fs layer 17:27:39 2f39f015ded8: Pulling fs layer 17:27:39 3a2ae6a8a46f: Waiting 17:27:39 33b1e0a273af: Waiting 17:27:39 5d3b04190fa2: Waiting 17:27:39 2f39f015ded8: Waiting 17:27:39 5c69ac0246d0: Download complete 17:27:39 3a2ae6a8a46f: Verifying Checksum 17:27:39 3a2ae6a8a46f: Download complete 17:27:39 33b1e0a273af: Verifying Checksum 17:27:39 33b1e0a273af: Download complete 17:27:39 ec43610c2a17: Verifying Checksum 17:27:39 ec43610c2a17: Download complete 17:27:39 5d3b04190fa2: Download complete 17:27:39 5eb5b503b376: Verifying Checksum 17:27:39 5eb5b503b376: Download complete 17:27:40 2f39f015ded8: Download complete 17:27:40 5eb5b503b376: Pull complete 17:27:40 5c69ac0246d0: Pull complete 17:27:41 ec43610c2a17: Pull complete 17:27:41 3a2ae6a8a46f: Pull complete 17:27:41 33b1e0a273af: Pull complete 17:27:41 5d3b04190fa2: Pull complete 17:27:45 2f39f015ded8: Pull complete 17:27:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:27:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:27:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:27:45 prd-ubuntu20.04-docker-8c-8g-5579 does not seem to be running inside a container 17:27:45 $ 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:27:47 $ docker top c3bf5ec6768f128bf21b6c35274019f85fa9f4b1437c2ec30a46ec0c7706f2a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:48 ---> job-cost.sh 17:27:48 lf-activate-venv: SKIPPING 17:27:48 INFO: No Stack... 17:27:48 INFO: Retrieving Pricing Info for: v3-standard-8 17:27:49 INFO: Archiving Costs [Pipeline] sh 17:27:49 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 17:27:49 + cut -d, -f6 [Pipeline] lock 17:27:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-154-stack-cost] 17:27:49 Resource [jenkins-edgexfoundry-device-sdk-go-main-154-stack-cost] did not exist. Created. 17:27:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:27:49 + echo total: 0.2199999988079071 [Pipeline] stash 17:27:49 Stashed 1 file(s) [Pipeline] } 17:27:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } 17:27:49 $ docker stop --time=1 c3bf5ec6768f128bf21b6c35274019f85fa9f4b1437c2ec30a46ec0c7706f2a1 17:27:50 $ docker rm -f --volumes c3bf5ec6768f128bf21b6c35274019f85fa9f4b1437c2ec30a46ec0c7706f2a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:29:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5580 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 17:29:26 Running in /w/workspace/device-sdk-go/154 [Pipeline] { [Pipeline] checkout 17:29:27 The recommended git tool is: git 17:29:32 using credential edgex-jenkins-ssh 17:29:32 Cloning the remote Git repository 17:29:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:29:33 > git init /w/workspace/device-sdk-go/154 # timeout=10 17:29:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:29:33 > git --version # timeout=10 17:29:33 > git --version # 'git version 2.25.1' 17:29:33 using GIT_SSH to set credentials SSH Credentials for GitHub 17:29:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:29:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:29:36 Avoid second fetch 17:29:36 Checking out Revision 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d (main) 17:29:36 Commit message: "feat!: replace REST provision watcher callbacks with System Events (#1315)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:36 > git config core.sparsecheckout # timeout=10 17:29:36 > git checkout -f 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d # timeout=10 17:29:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:29:37 % Total % Received % Xferd Average Speed Time Time Time Current 17:29:37 Dload Upload Total Spent Left Speed 17:29:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 61302 0 --:--:-- --:--:-- --:--:-- 61599 [Pipeline] sh 17:29:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:29:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:29:38 + sudo tee /etc/docker/daemon.new 17:29:38 { 17:29:38 "registry-mirrors": [ 17:29:38 "https://nexus3.edgexfoundry.org:10001" 17:29:38 ], 17:29:38 "bip": "10.250.0.254/24", 17:29:38 "hosts": [ 17:29:38 "tcp://0.0.0.0:5555", 17:29:38 "unix:///var/run/docker.sock" 17:29:38 ], 17:29:38 "mtu": 1458, 17:29:38 "selinux-enabled": true, 17:29:38 "seccomp-profile": "/etc/docker/seccomp.json" 17:29:38 } [Pipeline] sh 17:29:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:29:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:57 provisioning config files... 17:29:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/154@tmp/config14648717793489514363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:58 ---> docker-login.sh 17:29:58 nexus3.edgexfoundry.org:10001 17:29:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:58 Configure a credential helper to remove this warning. See 17:29:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:58 17:29:58 Login Succeeded 17:29:58 nexus3.edgexfoundry.org:10002 17:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:59 Configure a credential helper to remove this warning. See 17:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:59 17:29:59 Login Succeeded 17:29:59 nexus3.edgexfoundry.org:10003 17:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:59 Configure a credential helper to remove this warning. See 17:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:59 17:29:59 Login Succeeded 17:29:59 nexus3.edgexfoundry.org:10004 17:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:00 Configure a credential helper to remove this warning. See 17:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:00 17:30:00 Login Succeeded 17:30:00 docker.io 17:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:01 Configure a credential helper to remove this warning. See 17:30:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:01 17:30:01 Login Succeeded 17:30:01 ---> docker-login.sh ends [Pipeline] } 17:30:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:30:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:30:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:30:02 ========================================================= 17:30:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:30:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:02 + 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:30:02 Sending build context to Docker daemon 5.575MB 17:30:02 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:30:02 Step 2/10 : FROM ${BASE} AS builder 17:30:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:30:03 9b18e9b68314: Pulling fs layer 17:30:03 35d82f9e3411: Pulling fs layer 17:30:03 e16973657156: Pulling fs layer 17:30:03 fc693d55d65f: Pulling fs layer 17:30:03 7e9fc2657dce: Pulling fs layer 17:30:03 dda99020689f: Pulling fs layer 17:30:03 db1c61fa0a46: Pulling fs layer 17:30:03 891c053d2c06: Pulling fs layer 17:30:03 fc693d55d65f: Waiting 17:30:03 dda99020689f: Waiting 17:30:03 db1c61fa0a46: Waiting 17:30:03 7e9fc2657dce: Waiting 17:30:03 891c053d2c06: Waiting 17:30:03 e16973657156: Verifying Checksum 17:30:03 e16973657156: Download complete 17:30:03 35d82f9e3411: Verifying Checksum 17:30:03 35d82f9e3411: Download complete 17:30:03 7e9fc2657dce: Verifying Checksum 17:30:03 7e9fc2657dce: Download complete 17:30:03 dda99020689f: Verifying Checksum 17:30:03 dda99020689f: Download complete 17:30:03 9b18e9b68314: Verifying Checksum 17:30:03 9b18e9b68314: Download complete 17:30:04 9b18e9b68314: Pull complete 17:30:04 891c053d2c06: Verifying Checksum 17:30:04 891c053d2c06: Download complete 17:30:04 35d82f9e3411: Pull complete 17:30:05 e16973657156: Pull complete 17:30:05 db1c61fa0a46: Verifying Checksum 17:30:05 db1c61fa0a46: Download complete 17:30:06 fc693d55d65f: Verifying Checksum 17:30:06 fc693d55d65f: Download complete 17:30:18 fc693d55d65f: Pull complete 17:30:18 7e9fc2657dce: Pull complete 17:30:18 dda99020689f: Pull complete 17:30:23 db1c61fa0a46: Pull complete 17:30:26 891c053d2c06: Pull complete 17:30:26 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:30:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:30:26 ---> f96f9c87975a 17:30:26 Step 3/10 : ARG MAKE=make build 17:30:27 ---> Running in 1c02cf05f957 17:30:28 Removing intermediate container 1c02cf05f957 17:30:28 ---> 013aeb615092 17:30:28 Step 4/10 : WORKDIR /device-sdk-go 17:30:28 ---> Running in 81de83286335 17:30:28 Removing intermediate container 81de83286335 17:30:28 ---> 94fc3fab016c 17:30:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:30:28 ---> Running in 03d6d6779260 17:30:29 Removing intermediate container 03d6d6779260 17:30:29 ---> 4cfc8a543d87 17:30:29 Step 6/10 : RUN apk add --update --no-cache make git 17:30:29 ---> Running in c5f7cf86153e 17:30:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:30:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:30:34 OK: 221 MiB in 51 packages 17:30:36 Removing intermediate container c5f7cf86153e 17:30:36 ---> cea43a981c28 17:30:36 Step 7/10 : COPY go.mod vendor* ./ 17:30:36 ---> 34359418881e 17:30:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:36 ---> Running in bdd0d517b7f6 17:32:13 Removing intermediate container bdd0d517b7f6 17:32:13 ---> 62c76fdab60a 17:32:13 Step 9/10 : COPY . . 17:32:13 ---> c4ea50d07a37 17:32:13 Step 10/10 : RUN ${MAKE} 17:32:13 ---> Running in b75dda09de09 17:32:13 noop 17:32:13 Removing intermediate container b75dda09de09 17:32:13 ---> 174cc0ed2d08 17:32:13 Successfully built 174cc0ed2d08 17:32:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:13 + docker inspect -f . ci-base-image-arm64 17:32:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:13 prd-ubuntu20.04-docker-arm64-4c-16g-5580 does not seem to be running inside a container 17:32:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/154 -v /w/workspace/device-sdk-go/154:/w/workspace/device-sdk-go/154:rw,z -v /w/workspace/device-sdk-go/154@tmp:/w/workspace/device-sdk-go/154@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:32:15 $ docker top 4a05c01117c8869d36f385b183384d30f6902cc22323430ed5d76fbcda94196a -eo pid,comm [Pipeline] { [Pipeline] sh 17:32:16 + go version 17:32:16 go version go1.18.7 linux/arm64 [Pipeline] } 17:32:16 $ docker stop --time=1 4a05c01117c8869d36f385b183384d30f6902cc22323430ed5d76fbcda94196a 17:32:17 $ docker rm -f --volumes 4a05c01117c8869d36f385b183384d30f6902cc22323430ed5d76fbcda94196a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:18 + docker inspect -f . ci-base-image-arm64 17:32:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:18 prd-ubuntu20.04-docker-arm64-4c-16g-5580 does not seem to be running inside a container 17:32:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/154 -v /w/workspace/device-sdk-go/154:/w/workspace/device-sdk-go/154:rw,z -v /w/workspace/device-sdk-go/154@tmp:/w/workspace/device-sdk-go/154@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:32:19 $ docker top a53339133e048cde279ffbb540c4eb30a5387544ef8b6d704fd01c37ad8f0f42 -eo pid,comm [Pipeline] { [Pipeline] sh 17:32:20 + git config --global --add safe.directory /w/workspace/device-sdk-go/154 [Pipeline] fileExists [Pipeline] sh 17:32:20 + make test 17:32:21 go test -race -coverprofile=coverage.out ./... 17:33:00 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:35:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:35:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:35:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:35:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:35:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:35:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.237s coverage: 27.6% of statements 17:35:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.288s coverage: 78.9% of statements 17:35:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 17:35:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.441s coverage: 78.1% of statements 17:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:35:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:35:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.558s coverage: 72.4% of statements 17:35:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:35:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 17:35:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 17:35:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.438s coverage: 65.2% of statements 17:35:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:35:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:35:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.180s coverage: 89.2% of statements 17:35:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 17:35:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.283s coverage: 4.7% of statements 17:35:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:35:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:35:23 GO111MODULE=on go vet ./... 17:36:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:36:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:36:59 ./bin/test-attribution-txt.sh [Pipeline] echo 17:37:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:37:00 $ docker stop --time=1 a53339133e048cde279ffbb540c4eb30a5387544ef8b6d704fd01c37ad8f0f42 17:37:01 $ docker rm -f --volumes a53339133e048cde279ffbb540c4eb30a5387544ef8b6d704fd01c37ad8f0f42 [Pipeline] // withDockerContainer [Pipeline] sh 17:37:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:37:03 Warning: overwriting stash ‘coverage-report’ 17:37:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:37:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:37:04 + ls -al . 17:37:04 total 268 17:37:04 drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 17:32 . 17:37:04 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 17:29 .. 17:37:04 -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 17:29 .dockerignore 17:37:04 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 17:29 .git 17:37:04 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 17:29 .github 17:37:04 -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 17:29 .gitignore 17:37:04 -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 17:29 .golangci.yml 17:37:04 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 17:29 CHANGELOG.md 17:37:04 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 17:29 GOVERNANCE.md 17:37:04 -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 17:29 Jenkinsfile 17:37:04 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 17:29 LICENSE 17:37:04 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 17:29 Makefile 17:37:04 -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 17:29 OWNERS.md 17:37:04 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 17:29 README.md 17:37:04 -rw-rw-r-- 1 jenkins jenkins 12 Feb 13 17:25 VERSION 17:37:04 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 17:29 bin 17:37:04 -rw-r--r-- 1 jenkins jenkins 99165 Feb 13 17:35 coverage.out 17:37:04 drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 17:29 example 17:37:04 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 17:29 go.mod 17:37:04 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 17:29 go.sum 17:37:04 drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 17:29 internal 17:37:04 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 17:29 openapi 17:37:04 drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 17:29 pkg 17:37:04 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 17:29 snap 17:37:04 -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:04 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d --label arch=arm64 --label version=3.0.0-dev.24 . 17:37:04 Sending build context to Docker daemon 5.675MB 17:37:04 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:37:04 Step 2/23 : FROM ${BASE} AS builder 17:37:04 ---> 174cc0ed2d08 17:37:04 Step 3/23 : ARG MAKE=make build 17:37:05 ---> Running in 5d1ef19d7d3a 17:37:05 Removing intermediate container 5d1ef19d7d3a 17:37:05 ---> 2b2c5f54bd17 17:37:05 Step 4/23 : WORKDIR /device-sdk-go 17:37:05 ---> Running in 047a7f6640be 17:37:05 Removing intermediate container 047a7f6640be 17:37:05 ---> 86ef2854d120 17:37:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:37:05 ---> Running in 166625fca4fc 17:37:06 Removing intermediate container 166625fca4fc 17:37:06 ---> d8bf2201e295 17:37:06 Step 6/23 : RUN apk add --update --no-cache make git 17:37:06 ---> Running in 331eab560e08 17:37:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:37:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:37:08 OK: 221 MiB in 51 packages 17:37:09 Removing intermediate container 331eab560e08 17:37:09 ---> 3256400a5781 17:37:09 Step 7/23 : COPY go.mod vendor* ./ 17:37:10 ---> 3562aba4255b 17:37:10 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:10 ---> Running in 9b388a4aa77c 17:37:12 Removing intermediate container 9b388a4aa77c 17:37:12 ---> 6e18b56acbf9 17:37:12 Step 9/23 : COPY . . 17:37:14 ---> a5295cfc5f86 17:37:14 Step 10/23 : RUN ${MAKE} 17:37:14 ---> Running in f7b567f0c615 17:37:15 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.24" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:39:21 Removing intermediate container f7b567f0c615 17:39:21 ---> 8e93845b7000 17:39:21 Step 11/23 : FROM alpine:3.16 17:39:21 3.16: Pulling from library/alpine 17:39:21 3760b48202b3: Pulling fs layer 17:39:21 3760b48202b3: Verifying Checksum 17:39:21 3760b48202b3: Download complete 17:39:21 3760b48202b3: Pull complete 17:39:21 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 17:39:21 Status: Downloaded newer image for alpine:3.16 17:39:21 ---> 4c81e5bf8899 17:39:21 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:39:21 ---> Running in 203edbc75912 17:39:21 Removing intermediate container 203edbc75912 17:39:21 ---> 8d0b0b19f34a 17:39:21 Step 13/23 : RUN apk add --update --no-cache 17:39:21 ---> Running in f7ac6ddfae6a 17:39:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:39:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:39:21 OK: 5 MiB in 14 packages 17:39:21 Removing intermediate container f7ac6ddfae6a 17:39:21 ---> b17d584044f9 17:39:21 Step 14/23 : WORKDIR / 17:39:21 ---> Running in b50d21ad0a9b 17:39:21 Removing intermediate container b50d21ad0a9b 17:39:21 ---> 2cd48ef53bfa 17:39:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:39:22 ---> bf4daf785669 17:39:22 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:39:23 ---> 5ff539501620 17:39:23 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:39:23 ---> d8ba862cc1fb 17:39:23 Step 18/23 : EXPOSE 59999 17:39:23 ---> Running in a3d1338b03eb 17:39:24 Removing intermediate container a3d1338b03eb 17:39:24 ---> aee5ab0b23ae 17:39:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:39:24 ---> Running in d6d0e83df0b5 17:39:24 Removing intermediate container d6d0e83df0b5 17:39:24 ---> 6d1f230813d8 17:39:24 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:39:24 ---> Running in 75241922fe66 17:39:24 Removing intermediate container 75241922fe66 17:39:24 ---> cc4f79dd251b 17:39:24 Step 21/23 : LABEL arch=arm64 17:39:24 ---> Running in 91d1319227c6 17:39:25 Removing intermediate container 91d1319227c6 17:39:25 ---> 263e327fc048 17:39:25 Step 22/23 : LABEL git_sha=8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d 17:39:25 ---> Running in fb87078124ea 17:39:25 Removing intermediate container fb87078124ea 17:39:25 ---> cadd9904cfc0 17:39:25 Step 23/23 : LABEL version=3.0.0-dev.24 17:39:25 ---> Running in f2074abb3d4b 17:39:25 Removing intermediate container f2074abb3d4b 17:39:25 ---> b388cf7a5b88 17:39:25 [Warning] One or more build-args [ARCH] were not consumed 17:39:25 Successfully built b388cf7a5b88 17:39:25 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:39:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:39:26 17:39:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:39:26 arm64: Pulling from edgex-lftools-log-publisher 17:39:26 8998bd30e6a1: Pulling fs layer 17:39:26 04944245beec: Pulling fs layer 17:39:26 699f458cf7ca: Pulling fs layer 17:39:26 765212b225bb: Pulling fs layer 17:39:26 f23df028b6ca: Pulling fs layer 17:39:26 d65c8cfc05b1: Pulling fs layer 17:39:26 2437ff75d9bd: Pulling fs layer 17:39:26 f23df028b6ca: Waiting 17:39:26 d65c8cfc05b1: Waiting 17:39:26 2437ff75d9bd: Waiting 17:39:26 765212b225bb: Waiting 17:39:26 04944245beec: Download complete 17:39:26 765212b225bb: Verifying Checksum 17:39:26 765212b225bb: Download complete 17:39:26 f23df028b6ca: Verifying Checksum 17:39:26 f23df028b6ca: Download complete 17:39:26 d65c8cfc05b1: Verifying Checksum 17:39:26 d65c8cfc05b1: Download complete 17:39:26 699f458cf7ca: Verifying Checksum 17:39:26 699f458cf7ca: Download complete 17:39:27 8998bd30e6a1: Verifying Checksum 17:39:27 8998bd30e6a1: Download complete 17:39:29 2437ff75d9bd: Verifying Checksum 17:39:29 2437ff75d9bd: Download complete 17:39:31 8998bd30e6a1: Pull complete 17:39:31 04944245beec: Pull complete 17:39:32 699f458cf7ca: Pull complete 17:39:32 765212b225bb: Pull complete 17:39:33 f23df028b6ca: Pull complete 17:39:33 d65c8cfc05b1: Pull complete 17:39:45 2437ff75d9bd: Pull complete 17:39:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:39:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:39:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:46 prd-ubuntu20.04-docker-arm64-4c-16g-5580 does not seem to be running inside a container 17:39:46 $ 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/154 -v /w/workspace/device-sdk-go/154:/w/workspace/device-sdk-go/154:rw,z -v /w/workspace/device-sdk-go/154@tmp:/w/workspace/device-sdk-go/154@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:39:48 $ docker top ec5cb6324752882c76fba48445af8ab3ab56763baae805a4a21350604651a927 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:49 ---> job-cost.sh 17:39:49 lf-activate-venv: SKIPPING 17:39:49 INFO: No Stack... 17:39:49 INFO: Retrieving Pricing Info for: v3-standard-4 17:39:50 INFO: Archiving Costs [Pipeline] sh 17:39:51 + cat /w/workspace/device-sdk-go/154/archives/cost.csv 17:39:51 + cut -d, -f6 [Pipeline] lock 17:39:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-154-stack-cost] 17:39:51 Resource [jenkins-edgexfoundry-device-sdk-go-main-154-stack-cost] did not exist. Created. 17:39:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:51 /w/workspace/device-sdk-go/154@tmp/durable-ca5da355/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:39:51 + echo total: 0.10999999940395355 [Pipeline] stash 17:39:51 Warning: overwriting stash ‘stack-cost’ 17:39:51 Stashed 1 file(s) [Pipeline] } 17:39:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } 17:39:51 $ docker stop --time=1 ec5cb6324752882c76fba48445af8ab3ab56763baae805a4a21350604651a927 17:39:53 $ docker rm -f --volumes ec5cb6324752882c76fba48445af8ab3ab56763baae805a4a21350604651a927 [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:39:53 provisioning config files... 17:39:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1593840131438002975tmp [Pipeline] { [Pipeline] sh 17:39:54 + set +x 17:39:54 + curl -s https://codecov.io/bash 17:39:54 + bash -s -- 17:39:54 17:39:54 _____ _ 17:39:54 / ____| | | 17:39:54 | | ___ __| | ___ ___ _____ __ 17:39:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:39:54 | |___| (_) | (_| | __/ (_| (_) \ V / 17:39:54 \_____\___/ \__,_|\___|\___\___/ \_/ 17:39:54 Bash-1.0.6 17:39:54 17:39:54 17:39:54 ==> git version 2.25.1 found 17:39:54 ==> 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:39:54 Release-Date: 2020-01-08 17:39:54 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:39:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:39:54 ==> Jenkins CI detected. 17:39:54 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 17:39:54 project root: . 17:39:54 --> token set from env 17:39:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:39:54 ==> Running gcov in . (disable via -X gcov) 17:39:54 ==> Python coveragepy not found 17:39:54 ==> Searching for coverage reports in: 17:39:54 + . 17:39:54 -> Found 1 reports 17:39:54 ==> Detecting git/mercurial file structure 17:39:54 ==> Reading reports 17:39:54 + ./coverage.out bytes=99165 17:39:54 ==> Appending adjustments 17:39:54 https://docs.codecov.io/docs/fixing-reports 17:39:54 + Found adjustments 17:39:54 ==> Gzipping contents 17:39:54 16K /tmp/codecov.2PL8Aq.gz 17:39:54 ==> Uploading reports 17:39:54 url: https://codecov.io 17:39:54 query: branch=main&commit=8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:39:54 -> Pinging Codecov 17:39:54 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=8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:39:54 -> Uploading to 17:39:54 https://storage.googleapis.com/codecov/v4/raw/2023-02-13/7E55EF52A471D76F132DFD9A03CDDE97/8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d/bec879b3-14a4-4b1e-83fd-2395858f9b6b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T173954Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7c88ef187877e6705d91319ced274e17b2f22a924d21ceaa27fa100284ead34 17:39:54 % Total % Received % Xferd Average Speed Time Time Time Current 17:39:54 Dload Upload Total Spent Left Speed 17:39:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14417 0 0 100 14417 0 51859 --:--:-- --:--:-- --:--:-- 51859 17:39:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d [Pipeline] } 17:39:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:39:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:39:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:39:55 17:39:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:39:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:39:55 df9b9388f04a: Pulling fs layer 17:39:55 52dc419b0ee2: Pulling fs layer 17:39:55 25bc292e5bac: Pulling fs layer 17:39:55 114826534d7a: Pulling fs layer 17:39:55 4657fd5d0bcf: Pulling fs layer 17:39:55 6ad1cebc031e: Pulling fs layer 17:39:55 8a3aa393b2d8: Pulling fs layer 17:39:55 114826534d7a: Waiting 17:39:55 4657fd5d0bcf: Waiting 17:39:55 6ad1cebc031e: Waiting 17:39:55 8a3aa393b2d8: Waiting 17:39:55 25bc292e5bac: Verifying Checksum 17:39:55 25bc292e5bac: Download complete 17:39:55 52dc419b0ee2: Verifying Checksum 17:39:55 52dc419b0ee2: Download complete 17:39:55 4657fd5d0bcf: Download complete 17:39:55 df9b9388f04a: Download complete 17:39:56 df9b9388f04a: Pull complete 17:39:56 52dc419b0ee2: Pull complete 17:39:56 6ad1cebc031e: Verifying Checksum 17:39:56 6ad1cebc031e: Download complete 17:39:56 25bc292e5bac: Pull complete 17:39:59 114826534d7a: Download complete 17:39:59 8a3aa393b2d8: Verifying Checksum 17:39:59 8a3aa393b2d8: Download complete 17:40:02 114826534d7a: Pull complete 17:40:02 4657fd5d0bcf: Pull complete 17:40:02 6ad1cebc031e: Pull complete 17:40:04 8a3aa393b2d8: Pull complete 17:40:04 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:40:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:40:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:04 prd-ubuntu20.04-docker-8c-8g-5579 does not seem to be running inside a container 17:40:04 $ 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:40:06 $ docker top f463ba325b69af0f10220334fafe625bad582306a3ed044ec01f69a13e657d78 -eo pid,comm [Pipeline] { [Pipeline] echo 17:40:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 17:40:07 + set -o pipefail 17:40:07 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 17:40:13 17:40:13 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 17:40:13 17:40:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/f0562353-60d8-4002-97ff-45437734012a 17:40:13 17:40:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:40:13 17:40:13 17:40:13 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:40:13 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:40:13 More details here: https://snyk.co/ue1NS [Pipeline] } 17:40:13 $ docker stop --time=1 f463ba325b69af0f10220334fafe625bad582306a3ed044ec01f69a13e657d78 17:40:15 $ docker rm -f --volumes f463ba325b69af0f10220334fafe625bad582306a3ed044ec01f69a13e657d78 [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:40:16 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:40:16 provisioning config files... 17:40:16 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5144131373122322495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:40:16 --> edgex-publish-swagger.sh 17:40:16 === Publish openapi/v3 API === 17:40:16 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 17:40:16 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 17:40:16 % Total % Received % Xferd Average Speed Time Time Time Current 17:40:16 Dload Upload Total Spent Left Speed 17:40:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28371 0 0 100 28371 0 23235 0:00:01 0:00:01 --:--:-- 23235 100 28371 0 0 100 28371 0 15123 0:00:01 0:00:01 --:--:-- 15115 100 28371 0 0 100 28371 0 15115 0:00:01 0:00:01 --:--:-- 15107 17:40:18 17:40:18 [Pipeline] } 17:40: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:40:18 + git log --format=format:%s -1 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d [Pipeline] sh 17:40:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:40:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:40:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:19 prd-ubuntu20.04-docker-8c-8g-5579 does not seem to be running inside a container 17:40: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:40:19 $ docker top 9072769d645b49da77038d38240f75090ca871998ce3e1cd9ae16cbb2c37927b -eo pid,comm 17:40: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:40:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:40:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:19 [ssh-agent] Looking for ssh-agent implementation... 17:40:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:20 $ docker exec 9072769d645b49da77038d38240f75090ca871998ce3e1cd9ae16cbb2c37927b ssh-agent 17:40:20 SSH_AUTH_SOCK=/tmp/ssh-UjMnykc910Q2/agent.33 17:40:20 SSH_AGENT_PID=39 17:40:20 Running ssh-add (command line suppressed) 17:40:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10566671522122830002.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10566671522122830002.key) 17:40:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:20 + git semver tag 17:40:20 2023-02-13 17:40:20,782 [run_tag] DEBUG tag force:False 17:40:20 2023-02-13 17:40:20,782 [check_head_tag] DEBUG check head tag 17:40:20 2023-02-13 17:40:20,784 [execute] INFO git cat-file --batch-check 17:40:20 2023-02-13 17:40:20,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:40:20 2023-02-13 17:40:20,788 [execute] INFO git cat-file --batch 17:40:20 2023-02-13 17:40:20,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:40:20 2023-02-13 17:40:20,816 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:40:20 2023-02-13 17:40:20,816 [execute] INFO git tag -a v3.0.0-dev.24 -m v3.0.0-dev.24 17:40:20 2023-02-13 17:40:20,817 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.24', '-m', 'v3.0.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 17:40:20 2023-02-13 17:40:20,822 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:40:20 3.0.0-dev.24 [Pipeline] } 17:40:20 $ docker exec --env ******** --env ******** 9072769d645b49da77038d38240f75090ca871998ce3e1cd9ae16cbb2c37927b ssh-agent -k 17:40:20 unset SSH_AUTH_SOCK; 17:40:20 unset SSH_AGENT_PID; 17:40:20 echo Agent pid 39 killed; 17:40:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:40:21 + git semver [Pipeline] } 17:40:21 $ docker stop --time=1 9072769d645b49da77038d38240f75090ca871998ce3e1cd9ae16cbb2c37927b 17:40:22 $ docker rm -f --volumes 9072769d645b49da77038d38240f75090ca871998ce3e1cd9ae16cbb2c37927b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:40:23 17:40:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:40:23 0.23.1-centos7: Pulling from edgex-lftools 17:40:23 ab5ef0e58194: Pulling fs layer 17:40:23 9712f1f96733: Pulling fs layer 17:40:23 63f879dbbcfc: Pulling fs layer 17:40:23 0d9ebad4ef96: Pulling fs layer 17:40:23 e9a5061849ea: Pulling fs layer 17:40:23 d747dcd14b5f: Pulling fs layer 17:40:23 2de7ff778b66: Pulling fs layer 17:40:23 e9a5061849ea: Waiting 17:40:23 d747dcd14b5f: Waiting 17:40:23 2de7ff778b66: Waiting 17:40:23 0d9ebad4ef96: Waiting 17:40:23 9712f1f96733: Download complete 17:40:24 63f879dbbcfc: Verifying Checksum 17:40:24 63f879dbbcfc: Download complete 17:40:24 e9a5061849ea: Verifying Checksum 17:40:24 e9a5061849ea: Download complete 17:40:24 d747dcd14b5f: Verifying Checksum 17:40:24 d747dcd14b5f: Download complete 17:40:24 ab5ef0e58194: Verifying Checksum 17:40:24 ab5ef0e58194: Download complete 17:40:24 0d9ebad4ef96: Verifying Checksum 17:40:24 0d9ebad4ef96: Download complete 17:40:24 2de7ff778b66: Verifying Checksum 17:40:24 2de7ff778b66: Download complete 17:40:27 ab5ef0e58194: Pull complete 17:40:27 9712f1f96733: Pull complete 17:40:28 63f879dbbcfc: Pull complete 17:40:32 0d9ebad4ef96: Pull complete 17:40:32 e9a5061849ea: Pull complete 17:40:32 d747dcd14b5f: Pull complete 17:40:32 2de7ff778b66: Pull complete 17:40:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:40:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:40:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:32 prd-ubuntu20.04-docker-8c-8g-5579 does not seem to be running inside a container 17:40:32 $ 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:40:34 $ docker top 6fbb8015fa83489cdf225b9f304f2a7c41ad5a058c9d1e3835523469713443bd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:40:34 provisioning config files... 17:40:34 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1857079808209067804tmp 17:40:35 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config244365112752107852tmp 17:40:35 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8458488028423300123tmp [Pipeline] { [Pipeline] echo 17:40:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:40:35 ---> sigul-configuration.sh 17:40:35 gpg: directory `/root/.gnupg' created 17:40:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:40:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:40:35 gpg: keyring `/root/.gnupg/secring.gpg' created 17:40:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:40:35 gpg: CAST5 encrypted data 17:40:35 gpg: encrypted with 1 passphrase 17:40:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:40:35 + mkdir /home/jenkins 17:40:35 + mkdir /home/jenkins/sigul [Pipeline] sh 17:40:35 + 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:40:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:40:36 ---> sigul-install.sh 17:40:36 Sigul already installed; skipping installation. [Pipeline] sh 17:40:36 + git tag --list 17:40:36 0.7.1 17:40:36 delhi-tag 17:40:36 v1.0.0 17:40:36 v1.1.0 17:40:36 v1.1.1 17:40:36 v1.1.2 17:40:36 v1.2.0 17:40:36 v1.2.1 17:40:36 v1.2.2 17:40:36 v1.2.3 17:40:36 v1.3.0 17:40:36 v1.4.0 17:40:36 v2.0.0 17:40:36 v2.1.0 17:40:36 v2.1.1 17:40:36 v2.1.1-dev.2 17:40:36 v2.1.1-dev.3 17:40:36 v2.2.0 17:40:36 v2.2.1-dev.1 17:40:36 v2.2.1-dev.10 17:40:36 v2.2.1-dev.11 17:40:36 v2.2.1-dev.12 17:40:36 v2.2.1-dev.13 17:40:36 v2.2.1-dev.14 17:40:36 v2.2.1-dev.2 17:40:36 v2.2.1-dev.3 17:40:36 v2.2.1-dev.4 17:40:36 v2.2.1-dev.5 17:40:36 v2.2.1-dev.6 17:40:36 v2.2.1-dev.7 17:40:36 v2.2.1-dev.8 17:40:36 v2.2.1-dev.9 17:40:36 v2.3.0 17:40:36 v2.3.0-dev.14 17:40:36 v2.3.0-dev.15 17:40:36 v2.3.0-dev.16 17:40:36 v2.3.0-dev.17 17:40:36 v2.3.0-dev.18 17:40:36 v2.3.0-dev.19 17:40:36 v2.3.0-dev.20 17:40:36 v2.3.0-dev.21 17:40:36 v2.3.0-dev.22 17:40:36 v2.3.0-dev.23 17:40:36 v2.3.0-dev.24 17:40:36 v2.3.0-dev.25 17:40:36 v2.3.0-dev.26 17:40:36 v2.3.0-dev.27 17:40:36 v2.3.0-dev.28 17:40:36 v2.3.0-dev.29 17:40:36 v2.3.0-dev.30 17:40:36 v2.3.0-dev.31 17:40:36 v2.3.0-dev.32 17:40:36 v2.3.0-dev.33 17:40:36 v2.3.0-dev.34 17:40:36 v2.3.0-dev.35 17:40:36 v2.3.0-dev.36 17:40:36 v2.3.0-dev.37 17:40:36 v2.3.0-dev.38 17:40:36 v2.3.0-dev.39 17:40:36 v2.3.0-dev.40 17:40:36 v2.3.0-dev.41 17:40:36 v2.3.0-dev.42 17:40:36 v2.3.0-dev.43 17:40:36 v2.3.0-dev.44 17:40:36 v2.3.0-dev.45 17:40:36 v2.3.0-dev.46 17:40:36 v2.3.0-dev.47 17:40:36 v2.3.0-dev.48 17:40:36 v2.3.0-dev.49 17:40:36 v2.3.0-dev.50 17:40:36 v2.3.0-dev.51 17:40:36 v2.3.1-dev.1 17:40:36 v2.3.1-dev.2 17:40:36 v3.0.0-dev.1 17:40:36 v3.0.0-dev.10 17:40:36 v3.0.0-dev.11 17:40:36 v3.0.0-dev.12 17:40:36 v3.0.0-dev.13 17:40:36 v3.0.0-dev.14 17:40:36 v3.0.0-dev.15 17:40:36 v3.0.0-dev.16 17:40:36 v3.0.0-dev.17 17:40:36 v3.0.0-dev.18 17:40:36 v3.0.0-dev.19 17:40:36 v3.0.0-dev.2 17:40:36 v3.0.0-dev.20 17:40:36 v3.0.0-dev.21 17:40:36 v3.0.0-dev.22 17:40:36 v3.0.0-dev.23 17:40:36 v3.0.0-dev.24 17:40:36 v3.0.0-dev.3 17:40:36 v3.0.0-dev.4 17:40:36 v3.0.0-dev.5 17:40:36 v3.0.0-dev.6 17:40:36 v3.0.0-dev.7 17:40:36 v3.0.0-dev.8 17:40:36 v3.0.0-dev.9 [Pipeline] sh 17:40:36 + lftools sign git-tag v3.0.0-dev.24 17:40:37 Signing Git tag with Sigul... 17:40:37 Signing v3.0.0-dev.24 [Pipeline] echo 17:40:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:40:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:40:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:40:37 $ docker stop --time=1 6fbb8015fa83489cdf225b9f304f2a7c41ad5a058c9d1e3835523469713443bd 17:40:39 $ docker rm -f --volumes 6fbb8015fa83489cdf225b9f304f2a7c41ad5a058c9d1e3835523469713443bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:40:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:40:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:40:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:39 prd-ubuntu20.04-docker-8c-8g-5579 does not seem to be running inside a container 17:40: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:40:40 $ docker top 7c20a2bb00de492a1ab79ee6cc61a4340ba3dc586dd4a486082056839ae9c8be -eo pid,comm 17:40:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:40:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:40:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:40 [ssh-agent] Looking for ssh-agent implementation... 17:40:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:40 $ docker exec 7c20a2bb00de492a1ab79ee6cc61a4340ba3dc586dd4a486082056839ae9c8be ssh-agent 17:40:40 SSH_AUTH_SOCK=/tmp/ssh-Z4a4lR7rMKuU/agent.32 17:40:40 SSH_AGENT_PID=38 17:40:40 Running ssh-add (command line suppressed) 17:40:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1269497679864005263.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1269497679864005263.key) 17:40:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:41 + git semver bump pre 17:40:41 2023-02-13 17:40:41,291 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:40:41 2023-02-13 17:40:41,291 [bump_version] DEBUG bumping version:3.0.0-dev.24 on axis:pre with prefix:dev 17:40:41 2023-02-13 17:40:41,291 [bump_version] DEBUG bumped version:3.0.0-dev.25 17:40:41 2023-02-13 17:40:41,291 [write_version] DEBUG write version:3.0.0-dev.25 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 17:40:41 2023-02-13 17:40:41,291 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:40:41 2023-02-13 17:40:41,291 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:40:41 2023-02-13 17:40:41,293 [execute] INFO git cat-file --batch-check 17:40:41 2023-02-13 17:40:41,294 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:40:41 2023-02-13 17:40:41,299 [execute] INFO git cat-file --batch 17:40:41 2023-02-13 17:40:41,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:40:41 2023-02-13 17:40:41,304 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:40:41 3.0.0-dev.25 [Pipeline] } 17:40:41 $ docker exec --env ******** --env ******** 7c20a2bb00de492a1ab79ee6cc61a4340ba3dc586dd4a486082056839ae9c8be ssh-agent -k 17:40:41 unset SSH_AUTH_SOCK; 17:40:41 unset SSH_AGENT_PID; 17:40:41 echo Agent pid 38 killed; 17:40:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:40:41 + git semver [Pipeline] } 17:40:42 $ docker stop --time=1 7c20a2bb00de492a1ab79ee6cc61a4340ba3dc586dd4a486082056839ae9c8be 17:40:43 $ docker rm -f --volumes 7c20a2bb00de492a1ab79ee6cc61a4340ba3dc586dd4a486082056839ae9c8be [Pipeline] // withDockerContainer [Pipeline] sh 17:40:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:40:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:40:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:44 prd-ubuntu20.04-docker-8c-8g-5579 does not seem to be running inside a container 17:40:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:40:44 $ docker top 811d3425eaffc8de4112c528732da97b1c5eba28ac71c24e83ada01f616874aa -eo pid,comm 17:40:44 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:40:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:40:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:40:44 [ssh-agent] Looking for ssh-agent implementation... 17:40:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:40:44 $ docker exec 811d3425eaffc8de4112c528732da97b1c5eba28ac71c24e83ada01f616874aa ssh-agent 17:40:44 SSH_AUTH_SOCK=/tmp/ssh-emCrtXKS04HB/agent.32 17:40:44 SSH_AGENT_PID=38 17:40:44 Running ssh-add (command line suppressed) 17:40:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8731492692583029085.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8731492692583029085.key) 17:40:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:40:45 + git semver push 17:40:45 2023-02-13 17:40:45,288 [run_push] DEBUG push 17:40:45 2023-02-13 17:40:45,289 [execute] INFO git cat-file --batch-check 17:40:45 2023-02-13 17:40:45,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:40:45 2023-02-13 17:40:45,291 [execute] INFO git rev-list 0a5841de11029eed26d2609e9b66e84439d3289b -- 17:40:45 2023-02-13 17:40:45,291 [execute] DEBUG Popen(['git', 'rev-list', '0a5841de11029eed26d2609e9b66e84439d3289b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:40:45 2023-02-13 17:40:45,303 [execute] INFO git fetch -v origin 17:40:45 2023-02-13 17:40:45,303 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:40:46 2023-02-13 17:40:46,056 [run_push] DEBUG no remote changes detected 17:40:46 2023-02-13 17:40:46,056 [execute] INFO git push origin semver 17:40:46 2023-02-13 17:40:46,057 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:40:47 2023-02-13 17:40:46,905 [run_push] DEBUG push all version tags 17:40:47 2023-02-13 17:40:46,905 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:40:47 2023-02-13 17:40:46,906 [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:40:47 2023-02-13 17:40:47,807 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:40:47 3.0.0-dev.25 [Pipeline] } 17:40:47 $ docker exec --env ******** --env ******** 811d3425eaffc8de4112c528732da97b1c5eba28ac71c24e83ada01f616874aa ssh-agent -k 17:40:47 unset SSH_AUTH_SOCK; 17:40:47 unset SSH_AGENT_PID; 17:40:47 echo Agent pid 38 killed; 17:40:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:40:48 + git semver [Pipeline] } 17:40:48 $ docker stop --time=1 811d3425eaffc8de4112c528732da97b1c5eba28ac71c24e83ada01f616874aa 17:40:49 $ docker rm -f --volumes 811d3425eaffc8de4112c528732da97b1c5eba28ac71c24e83ada01f616874aa [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:40:50 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 17:40:50 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:40:50 total 16 17:40:50 drwxr-xr-x 3 root root 4096 Feb 13 17:27 . 17:40:50 drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 17:40 .. 17:40:50 drwxr-xr-x 2 root root 4096 Feb 13 17:27 cost 17:40:50 -rw-r--r-- 1 root root 85 Feb 13 17:27 cost.csv 17:40:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:40:50 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:40:50 total 16 17:40:50 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 17:27 . 17:40:50 drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 17:40 .. 17:40:50 drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 17:27 cost 17:40:50 -rw-r--r-- 1 jenkins jenkins 85 Feb 13 17:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:40:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:40:51 ---> package-listing.sh 17:40:51 ++ facter osfamily 17:40:51 ++ tr '[:upper:]' '[:lower:]' 17:40:51 + OS_FAMILY=debian 17:40:51 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 17:40:51 + START_PACKAGES=/tmp/packages_start.txt 17:40:51 + END_PACKAGES=/tmp/packages_end.txt 17:40:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:40:51 + PACKAGES=/tmp/packages_start.txt 17:40:51 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:40:51 + PACKAGES=/tmp/packages_end.txt 17:40:51 + case "${OS_FAMILY}" in 17:40:51 + dpkg -l 17:40:51 + grep '^ii' 17:40:51 + '[' -f /tmp/packages_start.txt ']' 17:40:51 + '[' -f /tmp/packages_end.txt ']' 17:40:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:40:51 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:40:51 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 17:40:51 + 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:40:51 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:40:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:52 prd-ubuntu20.04-docker-8c-8g-5579 does not seem to be running inside a container 17:40:52 $ 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:40:53 $ docker top f355e363363c5c6b756dd03fe620826e0d51df716582945f00c254c720448c4f -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:53 + touch /tmp/pre-build-complete [Pipeline] sh 17:40:53 + mkdir -p /var/log/sysstat [Pipeline] sh 17:40:53 + ls /var/log/sa-host 17:40:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:40:54 provisioning config files... 17:40:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1592430985791444385tmp [Pipeline] { [Pipeline] echo 17:40:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:40:54 ---> create-netrc.sh [Pipeline] } 17:40:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:40:54 ---> python-tools-install.sh [Pipeline] echo 17:40:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:40:55 ---> sudo-logs.sh 17:40:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:40:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:40:55 ---> job-cost.sh 17:40:55 lf-activate-venv: SKIPPING 17:40:55 DEBUG: total: 0.2199999988079071 17:40:55 INFO: Retrieving Stack Cost... 17:40:56 INFO: Retrieving Pricing Info for: v3-standard-8 17:40:56 INFO: Archiving Costs [Pipeline] echo 17:40:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:40:56 ---> logs-deploy.sh 17:40:56 lf-activate-venv: SKIPPING 17:40:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/154 17:40:56 INFO: archiving workspace using pattern(s): 17:40:57 Archives upload complete. 17:40:58 INFO: archiving logs to Nexus