Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 36ecb1f482bfc597855740c2870b0b3229afc53c 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-ssh10388525414583269796.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh5448106845295074291.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1560540221582935333.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10497961830780772007.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-ssh16184167127707320547.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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14779 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 > 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 Avoid second fetch Checking out Revision 36ecb1f482bfc597855740c2870b0b3229afc53c (main) Commit message: "feat!: add PatchDevice and DeviceExistsForName and refactor UpdateDeviceOperatingState (#1451)" > git config core.sparsecheckout # timeout=10 > git checkout -f 36ecb1f482bfc597855740c2870b0b3229afc53c # timeout=10 > git rev-list --no-walk 3563ea3fef02eab19ce29a2bf1392e0bc2eae64f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:56:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:56:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:56:13 ========================================================= 21:56:13 EdgeX Global Pipelines Version Info 21:56:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:56:15 ------------------- 21:56:15 stable info: 21:56:15 ------------------- 21:56:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:56:15 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:56:15 Message: update stable to v1.0.249 21:56:15 ------------------- 21:56:15 experimental info: 21:56:15 ------------------- 21:56:15 Commited By: **** collab-it+edgex@linuxfoundation.org 21:56:15 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:56:15 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:56:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:56:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:56:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:56:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:56:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 36ecb1f482bfc597855740c2870b0b3229afc53c [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 36ecb1f [Pipeline] echo 21:56:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:56:16 provisioning config files... 21:56:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9462010255152078461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:56:16 ---> docker-login.sh 21:56:16 nexus3.edgexfoundry.org:10001 21:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:17 Configure a credential helper to remove this warning. See 21:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:17 21:56:17 Login Succeeded 21:56:17 nexus3.edgexfoundry.org:10002 21:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:17 Configure a credential helper to remove this warning. See 21:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:17 21:56:17 Login Succeeded 21:56:17 nexus3.edgexfoundry.org:10003 21:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:17 Configure a credential helper to remove this warning. See 21:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:17 21:56:17 Login Succeeded 21:56:17 nexus3.edgexfoundry.org:10004 21:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:19 Configure a credential helper to remove this warning. See 21:56:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:19 21:56:19 Login Succeeded 21:56:19 docker.io 21:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:19 Configure a credential helper to remove this warning. See 21:56:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:19 21:56:19 Login Succeeded 21:56:19 ---> docker-login.sh ends [Pipeline] } 21:56:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:56:19 + git rev-list -1 --merges 36ecb1f482bfc597855740c2870b0b3229afc53c~1..36ecb1f482bfc597855740c2870b0b3229afc53c [Pipeline] echo 21:56:19 -----------> git rev-list -1 --merges 36ecb1f482bfc597855740c2870b0b3229afc53c~1..36ecb1f482bfc597855740c2870b0b3229afc53c 36ecb1f482bfc597855740c2870b0b3229afc53c [false] [Pipeline] sh 21:56:20 + git log --format=format:%s -1 36ecb1f482bfc597855740c2870b0b3229afc53c [Pipeline] echo 21:56:20 ========================================================= 21:56:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:56:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:56:20 + git log --format=format:%s -1 36ecb1f482bfc597855740c2870b0b3229afc53c [Pipeline] echo 21:56:20 [semverPrep] GIT_COMMIT: 36ecb1f482bfc597855740c2870b0b3229afc53c, Commit Message: feat!: add PatchDevice and DeviceExistsForName and refactor UpdateDeviceOperatingState (#1451) [Pipeline] echo 21:56:20 [semverPrep] This is not a build commit. [Pipeline] sh 21:56:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:56:20 + grep -v github /etc/ssh/ssh_known_hosts 21:56:20 + [ -e /tmp/ssh_known_hosts ] 21:56:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:56:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:56:20 + sudo tee -a /etc/ssh/ssh_known_hosts 21:56:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:56:21 21:56:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:56:21 0.1.4: Pulling from edgex-devops/py-git-semver 21:56:21 b85a868b505f: Pulling fs layer 21:56:21 e2be974225ed: Pulling fs layer 21:56:21 339a4e72a1f5: Pulling fs layer 21:56:21 988bab9f4d93: Pulling fs layer 21:56:21 1469e6f7b9e6: Pulling fs layer 21:56:21 eaf3925da568: Pulling fs layer 21:56:21 bab4dde63d76: Pulling fs layer 21:56:21 bde34c3a00c8: Pulling fs layer 21:56:21 b352a97aabf1: Pulling fs layer 21:56:21 4872d77fe225: Pulling fs layer 21:56:21 5851b861e8e6: Pulling fs layer 21:56:21 bab4dde63d76: Waiting 21:56:21 988bab9f4d93: Waiting 21:56:21 b352a97aabf1: Waiting 21:56:21 1469e6f7b9e6: Waiting 21:56:21 bde34c3a00c8: Waiting 21:56:21 4872d77fe225: Waiting 21:56:21 5851b861e8e6: Waiting 21:56:21 eaf3925da568: Waiting 21:56:21 e2be974225ed: Verifying Checksum 21:56:21 e2be974225ed: Download complete 21:56:21 988bab9f4d93: Verifying Checksum 21:56:21 988bab9f4d93: Download complete 21:56:21 339a4e72a1f5: Verifying Checksum 21:56:21 339a4e72a1f5: Download complete 21:56:21 1469e6f7b9e6: Verifying Checksum 21:56:21 1469e6f7b9e6: Download complete 21:56:21 eaf3925da568: Verifying Checksum 21:56:21 eaf3925da568: Download complete 21:56:21 bde34c3a00c8: Download complete 21:56:21 b352a97aabf1: Verifying Checksum 21:56:21 b352a97aabf1: Download complete 21:56:21 4872d77fe225: Verifying Checksum 21:56:21 4872d77fe225: Download complete 21:56:21 5851b861e8e6: Verifying Checksum 21:56:21 5851b861e8e6: Download complete 21:56:21 b85a868b505f: Verifying Checksum 21:56:21 b85a868b505f: Download complete 21:56:22 bab4dde63d76: Verifying Checksum 21:56:22 bab4dde63d76: Download complete 21:56:23 b85a868b505f: Pull complete 21:56:23 e2be974225ed: Pull complete 21:56:23 339a4e72a1f5: Pull complete 21:56:23 988bab9f4d93: Pull complete 21:56:24 1469e6f7b9e6: Pull complete 21:56:24 eaf3925da568: Pull complete 21:56:26 bab4dde63d76: Pull complete 21:56:26 bde34c3a00c8: Pull complete 21:56:26 b352a97aabf1: Pull complete 21:56:26 4872d77fe225: Pull complete 21:56:26 5851b861e8e6: Pull complete 21:56:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:56:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:56:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:26 prd-ubuntu20.04-docker-8c-8g-14779 does not seem to be running inside a container 21:56:26 $ 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 21:56:30 $ docker top e827b6b67f9ce0e09ac65541347b6180d691128f859af39f4e2c347e6b49687c -eo pid,comm 21:56:30 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). 21:56:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:56:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:56:30 [ssh-agent] Looking for ssh-agent implementation... 21:56:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:56:30 $ docker exec e827b6b67f9ce0e09ac65541347b6180d691128f859af39f4e2c347e6b49687c ssh-agent 21:56:30 SSH_AUTH_SOCK=/tmp/ssh-vj0tAs5Xvibw/agent.13 21:56:30 SSH_AGENT_PID=33 21:56:30 Running ssh-add (command line suppressed) 21:56:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11741134307752534596.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11741134307752534596.key) 21:56:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:56:31 + git tag --points-at HEAD [Pipeline] } 21:56:31 $ docker exec --env ******** --env ******** e827b6b67f9ce0e09ac65541347b6180d691128f859af39f4e2c347e6b49687c ssh-agent -k 21:56:31 unset SSH_AUTH_SOCK; 21:56:31 unset SSH_AGENT_PID; 21:56:31 echo Agent pid 33 killed; 21:56:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:56:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:56:31 [ssh-agent] Looking for ssh-agent implementation... 21:56:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:56:31 $ docker exec e827b6b67f9ce0e09ac65541347b6180d691128f859af39f4e2c347e6b49687c ssh-agent 21:56:31 SSH_AUTH_SOCK=/tmp/ssh-BB5lpKzwdVoM/agent.70 21:56:31 SSH_AGENT_PID=76 21:56:31 Running ssh-add (command line suppressed) 21:56:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7243751197410945202.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7243751197410945202.key) 21:56:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:56:31 + git semver init 21:56:32 2023-05-09 21:56:32,014 [run_init] DEBUG init version:0.0.0 force:False 21:56:32 2023-05-09 21:56:32,014 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:56:32 2023-05-09 21:56:32,015 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:56:32 2023-05-09 21:56:32,015 [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) 21:56:33 2023-05-09 21:56:32,967 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 21:56:33 2023-05-09 21:56:32,967 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 21:56:33 2023-05-09 21:56:32,968 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:56:33 2023-05-09 21:56:32,968 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:56:33 3.0.0-dev.87 [Pipeline] } 21:56:33 $ docker exec --env ******** --env ******** e827b6b67f9ce0e09ac65541347b6180d691128f859af39f4e2c347e6b49687c ssh-agent -k 21:56:33 unset SSH_AUTH_SOCK; 21:56:33 unset SSH_AGENT_PID; 21:56:33 echo Agent pid 76 killed; 21:56:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:56:33 + git semver [Pipeline] } 21:56:33 $ docker stop --time=1 e827b6b67f9ce0e09ac65541347b6180d691128f859af39f4e2c347e6b49687c 21:56:35 $ docker rm -f --volumes e827b6b67f9ce0e09ac65541347b6180d691128f859af39f4e2c347e6b49687c [Pipeline] // withDockerContainer [Pipeline] sh 21:56:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:56:35 Stashed 1 file(s) [Pipeline] echo 21:56:35 [edgeXSemver]: initialized semver on version 3.0.0-dev.87 [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 21:56:35 provisioning config files... 21:56:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7355393654704231147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:56:36 ---> docker-login.sh 21:56:36 nexus3.edgexfoundry.org:10001 21:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:36 Configure a credential helper to remove this warning. See 21:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:36 21:56:36 Login Succeeded 21:56:36 nexus3.edgexfoundry.org:10002 21:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:36 Configure a credential helper to remove this warning. See 21:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:36 21:56:36 Login Succeeded 21:56:36 nexus3.edgexfoundry.org:10003 21:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:36 Configure a credential helper to remove this warning. See 21:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:36 21:56:36 Login Succeeded 21:56:36 nexus3.edgexfoundry.org:10004 21:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:36 Configure a credential helper to remove this warning. See 21:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:36 21:56:36 Login Succeeded 21:56:36 docker.io 21:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:36 Configure a credential helper to remove this warning. See 21:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:36 21:56:36 Login Succeeded 21:56:36 ---> docker-login.sh ends [Pipeline] } 21:56:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:56:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:56:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:56:36 ========================================================= 21:56:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:56:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:37 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 21:56:37 Sending build context to Docker daemon 11.13MB 21:56:37 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:56:37 Step 2/10 : FROM ${BASE} AS builder 21:56:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:56:37 f56be85fc22e: Pulling fs layer 21:56:37 85791d961cd3: Pulling fs layer 21:56:37 d694b5ae8c79: Pulling fs layer 21:56:37 9f32a84ed3da: Pulling fs layer 21:56:37 4d19c01a9841: Pulling fs layer 21:56:37 9325e15d5711: Pulling fs layer 21:56:37 556b6ee489ea: Pulling fs layer 21:56:37 c5a4b2cf53e6: Pulling fs layer 21:56:37 556b6ee489ea: Waiting 21:56:37 9325e15d5711: Waiting 21:56:37 c5a4b2cf53e6: Waiting 21:56:37 4d19c01a9841: Waiting 21:56:37 9f32a84ed3da: Waiting 21:56:37 85791d961cd3: Verifying Checksum 21:56:37 85791d961cd3: Download complete 21:56:37 9f32a84ed3da: Verifying Checksum 21:56:37 9f32a84ed3da: Download complete 21:56:37 4d19c01a9841: Verifying Checksum 21:56:37 4d19c01a9841: Download complete 21:56:37 f56be85fc22e: Verifying Checksum 21:56:37 f56be85fc22e: Download complete 21:56:37 9325e15d5711: Verifying Checksum 21:56:37 f56be85fc22e: Pull complete 21:56:37 85791d961cd3: Pull complete 21:56:38 c5a4b2cf53e6: Verifying Checksum 21:56:38 c5a4b2cf53e6: Download complete 21:56:38 d694b5ae8c79: Verifying Checksum 21:56:38 d694b5ae8c79: Download complete 21:56:38 556b6ee489ea: Verifying Checksum 21:56:38 556b6ee489ea: Download complete 21:56:42 d694b5ae8c79: Pull complete 21:56:42 9f32a84ed3da: Pull complete 21:56:42 4d19c01a9841: Pull complete 21:56:42 9325e15d5711: Pull complete 21:56:44 556b6ee489ea: Pull complete 21:56:45 c5a4b2cf53e6: Pull complete 21:56:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:56:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:56:45 ---> c4be618373d6 21:56:45 Step 3/10 : ARG MAKE=make build 21:56:50 Still waiting to schedule task 21:56:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:56:51 ---> Running in 1287a6a479a3 21:56:51 Removing intermediate container 1287a6a479a3 21:56:51 ---> ff06188747f2 21:56:51 Step 4/10 : WORKDIR /device-sdk-go 21:56:51 ---> Running in fe2f9cbe9e42 21:56:51 Removing intermediate container fe2f9cbe9e42 21:56:51 ---> 44011d019924 21:56:51 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:56:51 ---> Running in aee54d44c0fa 21:56:52 Removing intermediate container aee54d44c0fa 21:56:52 ---> ed48ca8161ef 21:56:52 Step 6/10 : RUN apk add --update --no-cache make git 21:56:52 ---> Running in 532bf359dbab 21:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:56:52 OK: 265 MiB in 53 packages 21:56:52 Removing intermediate container 532bf359dbab 21:56:52 ---> 00021da7da3a 21:56:52 Step 7/10 : COPY go.mod vendor* ./ 21:56:53 ---> c52ccb8182fb 21:56:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:56:53 ---> Running in ffefc25632e5 21:57:40 Removing intermediate container ffefc25632e5 21:57:40 ---> 7a5c3dd85d4b 21:57:40 Step 9/10 : COPY . . 21:57:40 ---> a85dc8391e34 21:57:40 Step 10/10 : RUN ${MAKE} 21:57:40 ---> Running in 22b88e50cd42 21:57:40 noop 21:57:41 Removing intermediate container 22b88e50cd42 21:57:41 ---> 974b2c183377 21:57:41 Successfully built 974b2c183377 21:57:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:41 + docker inspect -f . ci-base-image-x86_64 21:57:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:41 prd-ubuntu20.04-docker-8c-8g-14779 does not seem to be running inside a container 21:57:41 $ 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 21:57:41 $ docker top 94777b2f89fe1a58fd7f4b5f8242fbab89aa3e5c2cdfd9bf5e47268b4c2d9c6a -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:42 + go version 21:57:42 go version go1.20.2 linux/amd64 [Pipeline] } 21:57:42 $ docker stop --time=1 94777b2f89fe1a58fd7f4b5f8242fbab89aa3e5c2cdfd9bf5e47268b4c2d9c6a 21:57:43 $ docker rm -f --volumes 94777b2f89fe1a58fd7f4b5f8242fbab89aa3e5c2cdfd9bf5e47268b4c2d9c6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:43 + docker inspect -f . ci-base-image-x86_64 21:57:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:43 prd-ubuntu20.04-docker-8c-8g-14779 does not seem to be running inside a container 21:57:43 $ 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 21:57:44 $ docker top d1333f21be2aec3e21fa17356cd097ad9c920c8c81f1d0b2ec3bfc0e03e6e935 -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 21:57:44 + make test 21:57:44 go test -race -coverprofile=coverage.out ./... 21:57:51 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:58:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.047s coverage: 27.6% of statements 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:58:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 80.2% of statements 21:58:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.068s coverage: 86.0% of statements 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 21:58:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.090s coverage: 77.5% of statements 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:58:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.062s coverage: 14.3% of statements 21:58:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.066s coverage: 68.5% of statements 21:58:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements 21:58:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.050s coverage: 5.7% of statements 21:58:31 GO111MODULE=on go vet ./... 21:58:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:58:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:58:31 ./bin/test-attribution-txt.sh [Pipeline] echo 21:58:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:58:31 $ docker stop --time=1 d1333f21be2aec3e21fa17356cd097ad9c920c8c81f1d0b2ec3bfc0e03e6e935 21:58:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14780 in /w/workspace/edgexfoundry_device-sdk-go_main 21:58:35 $ docker rm -f --volumes d1333f21be2aec3e21fa17356cd097ad9c920c8c81f1d0b2ec3bfc0e03e6e935 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 21:58:35 Running in /w/workspace/device-sdk-go/218 [Pipeline] { [Pipeline] checkout 21:58:36 The recommended git tool is: git 21:58:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:58:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:58:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:58:37 + ls -al . 21:58:37 total 272 21:58:37 drwxrwxr-x 11 jenkins jenkins 4096 May 9 21:57 . 21:58:37 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:56 .. 21:58:37 -rw-rw-r-- 1 jenkins jenkins 140 May 9 21:56 .dockerignore 21:58:37 drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:56 .git 21:58:37 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:56 .github 21:58:37 -rw-rw-r-- 1 jenkins jenkins 137 May 9 21:56 .gitignore 21:58:37 -rw-rw-r-- 1 jenkins jenkins 42 May 9 21:56 .golangci.yml 21:58:37 drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:56 .semver 21:58:37 -rw-rw-r-- 1 jenkins jenkins 31677 May 9 21:56 CHANGELOG.md 21:58:37 -rw-rw-r-- 1 jenkins jenkins 677 May 9 21:56 GOVERNANCE.md 21:58:37 -rw-rw-r-- 1 jenkins jenkins 885 May 9 21:56 Jenkinsfile 21:58:37 -rw-rw-r-- 1 jenkins jenkins 11341 May 9 21:56 LICENSE 21:58:37 -rw-rw-r-- 1 jenkins jenkins 1714 May 9 21:56 Makefile 21:58:37 -rw-rw-r-- 1 jenkins jenkins 619 May 9 21:56 OWNERS.md 21:58:37 -rw-rw-r-- 1 jenkins jenkins 4891 May 9 21:56 README.md 21:58:37 -rw-rw-r-- 1 jenkins jenkins 12 May 9 21:56 VERSION 21:58:37 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:56 bin 21:58:37 -rw-r--r-- 1 jenkins jenkins 106152 May 9 21:58 coverage.out 21:58:37 drwxrwxr-x 5 jenkins jenkins 4096 May 9 21:56 example 21:58:37 -rw-rw-r-- 1 jenkins jenkins 3234 May 9 21:56 go.mod 21:58:37 -rw-rw-r-- 1 jenkins jenkins 30781 May 9 21:56 go.sum 21:58:37 drwxrwxr-x 12 jenkins jenkins 4096 May 9 21:56 internal 21:58:37 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:56 openapi 21:58:37 drwxrwxr-x 6 jenkins jenkins 4096 May 9 21:56 pkg 21:58:37 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:56 snap 21:58:37 -rw-rw-r-- 1 jenkins jenkins 222 May 9 21:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:37 + 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=36ecb1f482bfc597855740c2870b0b3229afc53c --label arch=amd64 --label version=3.0.0-dev.87 . 21:58:37 Sending build context to Docker daemon 11.23MB 21:58:37 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 21:58:37 Step 2/23 : FROM ${BASE} AS builder 21:58:37 ---> 974b2c183377 21:58:37 Step 3/23 : ARG MAKE=make build 21:58:37 ---> Running in 8ebbd5c0d526 21:58:37 Removing intermediate container 8ebbd5c0d526 21:58:37 ---> d3291a08fd24 21:58:37 Step 4/23 : WORKDIR /device-sdk-go 21:58:37 ---> Running in 395083afcdc7 21:58:38 Removing intermediate container 395083afcdc7 21:58:38 ---> 55c1e6eb7199 21:58:38 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:58:38 ---> Running in 55eda82ca9ab 21:58:38 Removing intermediate container 55eda82ca9ab 21:58:38 ---> 22f429e6650c 21:58:38 Step 6/23 : RUN apk add --update --no-cache make git 21:58:38 ---> Running in 366076e16466 21:58:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:58:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:58:38 OK: 265 MiB in 53 packages 21:58:38 Removing intermediate container 366076e16466 21:58:38 ---> 4977d898ec0a 21:58:38 Step 7/23 : COPY go.mod vendor* ./ 21:58:39 ---> a565278e85b1 21:58:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:58:39 ---> Running in 205065de539e 21:58:40 Removing intermediate container 205065de539e 21:58:40 ---> 12bcd89de06c 21:58:40 Step 9/23 : COPY . . 21:58:40 ---> 1dbb15cf16be 21:58:40 Step 10/23 : RUN ${MAKE} 21:58:40 ---> Running in 7152c16a7e00 21:58:40 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.87" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:58:41 using credential edgex-jenkins-ssh 21:58:41 Cloning the remote Git repository 21:58:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:58:41 > git init /w/workspace/device-sdk-go/218 # timeout=10 21:58:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:58:42 > git --version # timeout=10 21:58:42 > git --version # 'git version 2.25.1' 21:58:42 using GIT_SSH to set credentials SSH Credentials for GitHub 21:58:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:58:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:58:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:58:44 Avoid second fetch 21:58:44 Checking out Revision 36ecb1f482bfc597855740c2870b0b3229afc53c (main) 21:58:45 Commit message: "feat!: add PatchDevice and DeviceExistsForName and refactor UpdateDeviceOperatingState (#1451)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:58:44 > git config core.sparsecheckout # timeout=10 21:58:44 > git checkout -f 36ecb1f482bfc597855740c2870b0b3229afc53c # timeout=10 21:58:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:58:46 % Total % Received % Xferd Average Speed Time Time Time Current 21:58:46 Dload Upload Total Spent Left Speed 21:58:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh 21:58:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:58:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:58:47 + sudo tee /etc/docker/daemon.new 21:58:47 { 21:58:47 "registry-mirrors": [ 21:58:47 "https://nexus3.edgexfoundry.org:10001" 21:58:47 ], 21:58:47 "bip": "10.250.0.254/24", 21:58:47 "hosts": [ 21:58:47 "tcp://0.0.0.0:5555", 21:58:47 "unix:///var/run/docker.sock" 21:58:47 ], 21:58:47 "mtu": 1458, 21:58:47 "selinux-enabled": true, 21:58:47 "seccomp-profile": "/etc/docker/seccomp.json" 21:58:47 } [Pipeline] sh 21:58:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:58:48 + sudo service docker restart 21:59:02 Removing intermediate container 7152c16a7e00 21:59:02 ---> fe99784b2217 21:59:02 Step 11/23 : FROM alpine:3.17 21:59:02 3.17: Pulling from library/alpine 21:59:02 f56be85fc22e: Already exists 21:59:02 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:59:02 Status: Downloaded newer image for alpine:3.17 21:59:02 ---> 9ed4aefc74f6 21:59:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:59:02 ---> Running in c16f0000e2f6 21:59:02 Removing intermediate container c16f0000e2f6 21:59:02 ---> 7871d89e8e29 21:59:02 Step 13/23 : RUN apk add --update --no-cache 21:59:02 ---> Running in cb5882c2d1b8 21:59:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:59:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:59:02 OK: 7 MiB in 15 packages 21:59:02 Removing intermediate container cb5882c2d1b8 21:59:02 ---> f2e267a77f97 21:59:02 Step 14/23 : WORKDIR / 21:59:02 ---> Running in 1f232975d5c4 21:59:02 Removing intermediate container 1f232975d5c4 21:59:02 ---> 4399cf0fcc07 21:59:02 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:59:02 ---> 26f62daa9cca 21:59:02 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:59:02 ---> e90c95028c7e 21:59:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:59:02 ---> 8606c527c6d2 21:59:02 Step 18/23 : EXPOSE 59999 21:59:02 ---> Running in 1e81d6ab7a3d 21:59:02 Removing intermediate container 1e81d6ab7a3d 21:59:02 ---> 3fd953f7a366 21:59:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:59:02 ---> Running in 05c6c2e87c64 21:59:02 Removing intermediate container 05c6c2e87c64 21:59:02 ---> 21867b37a576 21:59:02 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:59:02 ---> Running in d949272299c0 21:59:02 Removing intermediate container d949272299c0 21:59:02 ---> 63c63f413a2e 21:59:02 Step 21/23 : LABEL arch=amd64 21:59:02 ---> Running in 9edb27f27c70 21:59:02 Removing intermediate container 9edb27f27c70 21:59:02 ---> 27544931d3a2 21:59:02 Step 22/23 : LABEL git_sha=36ecb1f482bfc597855740c2870b0b3229afc53c 21:59:02 ---> Running in 86fdb0900025 21:59:02 Removing intermediate container 86fdb0900025 21:59:02 ---> 1b3f7c7dbc6d 21:59:02 Step 23/23 : LABEL version=3.0.0-dev.87 21:59:03 ---> Running in 16bcfcc2133b 21:59:03 Removing intermediate container 16bcfcc2133b 21:59:03 ---> 05949f911ea9 21:59:03 [Warning] One or more build-args [ARCH] were not consumed 21:59:03 Successfully built 05949f911ea9 21:59:03 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 21:59:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:03 21:59:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:03 latest: Pulling from edgex-lftools-log-publisher 21:59:03 5eb5b503b376: Pulling fs layer 21:59:03 5c69ac0246d0: Pulling fs layer 21:59:03 ec43610c2a17: Pulling fs layer 21:59:03 3a2ae6a8a46f: Pulling fs layer 21:59:03 33b1e0a273af: Pulling fs layer 21:59:03 5d3b04190fa2: Pulling fs layer 21:59:03 2f39f015ded8: Pulling fs layer 21:59:03 33b1e0a273af: Waiting 21:59:03 2f39f015ded8: Waiting 21:59:03 5d3b04190fa2: Waiting 21:59:03 5c69ac0246d0: Download complete 21:59:03 3a2ae6a8a46f: Verifying Checksum 21:59:03 3a2ae6a8a46f: Download complete 21:59:03 33b1e0a273af: Verifying Checksum 21:59:03 33b1e0a273af: Download complete 21:59:04 5d3b04190fa2: Verifying Checksum 21:59:04 5d3b04190fa2: Download complete 21:59:04 ec43610c2a17: Verifying Checksum 21:59:04 ec43610c2a17: Download complete 21:59:04 5eb5b503b376: Verifying Checksum 21:59:04 5eb5b503b376: Download complete 21:59:04 2f39f015ded8: Verifying Checksum 21:59:04 2f39f015ded8: Download complete 21:59:05 5eb5b503b376: Pull complete 21:59:05 5c69ac0246d0: Pull complete 21:59:05 ec43610c2a17: Pull complete 21:59:05 3a2ae6a8a46f: Pull complete 21:59:05 33b1e0a273af: Pull complete 21:59:05 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:59:06 provisioning config files... 21:59:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/218@tmp/config1914591285750135633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:06 ---> docker-login.sh 21:59:06 nexus3.edgexfoundry.org:10001 21:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:07 Configure a credential helper to remove this warning. See 21:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:07 21:59:07 Login Succeeded 21:59:07 nexus3.edgexfoundry.org:10002 21:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:07 Configure a credential helper to remove this warning. See 21:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:07 21:59:07 Login Succeeded 21:59:07 nexus3.edgexfoundry.org:10003 21:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:07 Configure a credential helper to remove this warning. See 21:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:07 21:59:07 Login Succeeded 21:59:07 nexus3.edgexfoundry.org:10004 21:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:08 Configure a credential helper to remove this warning. See 21:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:08 21:59:08 Login Succeeded 21:59:08 docker.io 21:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:08 Configure a credential helper to remove this warning. See 21:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:08 21:59:08 Login Succeeded 21:59:08 ---> docker-login.sh ends [Pipeline] } 21:59:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:59:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:59:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:59:09 ========================================================= 21:59:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:59:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:09 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 21:59:10 Sending build context to Docker daemon 5.978MB 21:59:10 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:59:10 Step 2/10 : FROM ${BASE} AS builder 21:59:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:59:10 c41833b44d91: Pulling fs layer 21:59:10 ed15518f5707: Pulling fs layer 21:59:10 feae8fd75edb: Pulling fs layer 21:59:10 242c74f7c9fa: Pulling fs layer 21:59:10 3cdef696dda3: Pulling fs layer 21:59:10 2ced38df9373: Pulling fs layer 21:59:10 58f1dce35555: Pulling fs layer 21:59:10 242c74f7c9fa: Waiting 21:59:10 3cdef696dda3: Waiting 21:59:10 2ced38df9373: Waiting 21:59:10 58f1dce35555: Waiting 21:59:10 ed15518f5707: Verifying Checksum 21:59:10 ed15518f5707: Download complete 21:59:10 2f39f015ded8: Pull complete 21:59:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:59:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:10 prd-ubuntu20.04-docker-8c-8g-14779 does not seem to be running inside a container 21:59:10 $ 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 21:59:10 242c74f7c9fa: Verifying Checksum 21:59:10 242c74f7c9fa: Download complete 21:59:10 3cdef696dda3: Verifying Checksum 21:59:10 3cdef696dda3: Download complete 21:59:10 c41833b44d91: Verifying Checksum 21:59:11 58f1dce35555: Verifying Checksum 21:59:11 58f1dce35555: Download complete 21:59:12 feae8fd75edb: Verifying Checksum 21:59:12 feae8fd75edb: Download complete 21:59:12 2ced38df9373: Verifying Checksum 21:59:12 2ced38df9373: Download complete 21:59:13 c41833b44d91: Pull complete 21:59:13 ed15518f5707: Pull complete 21:59:14 $ docker top 27120b3dccaab9d2bef7063646220e2318e91f3e06cacd4ddc0e511b6110bda5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:15 ---> job-cost.sh 21:59:15 lf-activate-venv: SKIPPING 21:59:15 INFO: No Stack... 21:59:15 INFO: Retrieving Pricing Info for: v3-standard-8 21:59:15 INFO: Archiving Costs [Pipeline] sh 21:59:15 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 21:59:15 + cut -d, -f6 [Pipeline] lock 21:59:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-218-stack-cost] 21:59:15 Resource [jenkins-edgexfoundry-device-sdk-go-main-218-stack-cost] did not exist. Created. 21:59:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-218-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:59:16 + echo total: 0.2199999988079071 [Pipeline] stash 21:59:16 Stashed 1 file(s) [Pipeline] } 21:59:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-218-stack-cost] [Pipeline] // lock [Pipeline] } 21:59:16 $ docker stop --time=1 27120b3dccaab9d2bef7063646220e2318e91f3e06cacd4ddc0e511b6110bda5 21:59:17 $ docker rm -f --volumes 27120b3dccaab9d2bef7063646220e2318e91f3e06cacd4ddc0e511b6110bda5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:59:28 feae8fd75edb: Pull complete 21:59:28 242c74f7c9fa: Pull complete 21:59:28 3cdef696dda3: Pull complete 21:59:34 2ced38df9373: Pull complete 21:59:36 58f1dce35555: Pull complete 21:59:36 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:59:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:59:36 ---> fadd8f120f05 21:59:36 Step 3/10 : ARG MAKE=make build 21:59:37 ---> Running in d543d127e9eb 21:59:37 Removing intermediate container d543d127e9eb 21:59:37 ---> e82cbbc086c6 21:59:37 Step 4/10 : WORKDIR /device-sdk-go 21:59:37 ---> Running in d8204e34fbd4 21:59:38 Removing intermediate container d8204e34fbd4 21:59:38 ---> cc9622c2273d 21:59:38 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:59:38 ---> Running in 285c8fad5525 21:59:38 Removing intermediate container 285c8fad5525 21:59:38 ---> a4d1b97af170 21:59:38 Step 6/10 : RUN apk add --update --no-cache make git 21:59:38 ---> Running in 13358acb06d1 21:59:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:59:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:59:41 OK: 263 MiB in 53 packages 21:59:42 Removing intermediate container 13358acb06d1 21:59:42 ---> 9e490615b3d3 21:59:42 Step 7/10 : COPY go.mod vendor* ./ 21:59:42 ---> 0eea2526700e 21:59:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:59:42 ---> Running in 5934b7c60af8 22:00:50 Removing intermediate container 5934b7c60af8 22:00:50 ---> e223ace595c6 22:00:50 Step 9/10 : COPY . . 22:00:50 ---> 320ba63ffe02 22:00:50 Step 10/10 : RUN ${MAKE} 22:00:50 ---> Running in 78d25b6bcfa9 22:00:50 noop 22:00:50 Removing intermediate container 78d25b6bcfa9 22:00:50 ---> efa0ee5271c0 22:00:50 Successfully built efa0ee5271c0 22:00:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:51 + docker inspect -f . ci-base-image-arm64 22:00:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:51 prd-ubuntu20.04-docker-arm64-4c-16g-14780 does not seem to be running inside a container 22:00:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/218 -v /w/workspace/device-sdk-go/218:/w/workspace/device-sdk-go/218:rw,z -v /w/workspace/device-sdk-go/218@tmp:/w/workspace/device-sdk-go/218@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 22:00:52 $ docker top a1dcaee514148c97d348cf612aa9ff7efd630954171d0d7a7300c446a0a02d11 -eo pid,comm [Pipeline] { [Pipeline] sh 22:00:53 + go version 22:00:53 go version go1.20.2 linux/arm64 [Pipeline] } 22:00:53 $ docker stop --time=1 a1dcaee514148c97d348cf612aa9ff7efd630954171d0d7a7300c446a0a02d11 22:00:55 $ docker rm -f --volumes a1dcaee514148c97d348cf612aa9ff7efd630954171d0d7a7300c446a0a02d11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:55 + docker inspect -f . ci-base-image-arm64 22:00:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:55 prd-ubuntu20.04-docker-arm64-4c-16g-14780 does not seem to be running inside a container 22:00:56 $ 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/218 -v /w/workspace/device-sdk-go/218:/w/workspace/device-sdk-go/218:rw,z -v /w/workspace/device-sdk-go/218@tmp:/w/workspace/device-sdk-go/218@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 22:00:57 $ docker top 1258d4409984ed4629cbbd22b4aae0983996b6c0f2e2894e27ca4913159efb55 -eo pid,comm [Pipeline] { [Pipeline] sh 22:00:58 + git config --global --add safe.directory /w/workspace/device-sdk-go/218 [Pipeline] fileExists [Pipeline] sh 22:00:58 + make test 22:00:58 go test -race -coverprofile=coverage.out ./... 22:01:37 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 22:03:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 22:03:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 22:03:44 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 22:03:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 22:03:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 22:03:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.213s coverage: 27.6% of statements 22:03:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.272s coverage: 80.2% of statements 22:04:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 22:04:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 22:04:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.402s coverage: 86.0% of statements 22:04:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 22:04:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 22:04:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.500s coverage: 77.5% of statements 22:04:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.253s coverage: 14.3% of statements 22:04:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 22:04:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 22:04:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.421s coverage: 68.5% of statements 22:04:15 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.481s coverage: 89.2% of statements 22:04:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 22:04:18 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.243s coverage: 5.7% of statements 22:04:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:04:18 GO111MODULE=on go vet ./... 22:06:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:06:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:06:40 ./bin/test-attribution-txt.sh [Pipeline] echo 22:06:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:06:40 $ docker stop --time=1 1258d4409984ed4629cbbd22b4aae0983996b6c0f2e2894e27ca4913159efb55 22:06:42 $ docker rm -f --volumes 1258d4409984ed4629cbbd22b4aae0983996b6c0f2e2894e27ca4913159efb55 [Pipeline] // withDockerContainer [Pipeline] sh 22:06:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:06:44 Warning: overwriting stash ‘coverage-report’ 22:06:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:06:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:06:45 + ls -al . 22:06:45 total 268 22:06:45 drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:01 . 22:06:45 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:58 .. 22:06:45 -rw-rw-r-- 1 jenkins jenkins 140 May 9 21:58 .dockerignore 22:06:45 drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:58 .git 22:06:45 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:58 .github 22:06:45 -rw-rw-r-- 1 jenkins jenkins 137 May 9 21:58 .gitignore 22:06:45 -rw-rw-r-- 1 jenkins jenkins 42 May 9 21:58 .golangci.yml 22:06:45 -rw-rw-r-- 1 jenkins jenkins 31677 May 9 21:58 CHANGELOG.md 22:06:45 -rw-rw-r-- 1 jenkins jenkins 677 May 9 21:58 GOVERNANCE.md 22:06:45 -rw-rw-r-- 1 jenkins jenkins 885 May 9 21:58 Jenkinsfile 22:06:45 -rw-rw-r-- 1 jenkins jenkins 11341 May 9 21:58 LICENSE 22:06:45 -rw-rw-r-- 1 jenkins jenkins 1714 May 9 21:58 Makefile 22:06:45 -rw-rw-r-- 1 jenkins jenkins 619 May 9 21:58 OWNERS.md 22:06:45 -rw-rw-r-- 1 jenkins jenkins 4891 May 9 21:58 README.md 22:06:45 -rw-rw-r-- 1 jenkins jenkins 12 May 9 21:56 VERSION 22:06:45 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:58 bin 22:06:45 -rw-r--r-- 1 jenkins jenkins 106151 May 9 22:04 coverage.out 22:06:45 drwxrwxr-x 5 jenkins jenkins 4096 May 9 21:58 example 22:06:45 -rw-rw-r-- 1 jenkins jenkins 3234 May 9 21:58 go.mod 22:06:45 -rw-rw-r-- 1 jenkins jenkins 30781 May 9 21:58 go.sum 22:06:45 drwxrwxr-x 12 jenkins jenkins 4096 May 9 21:58 internal 22:06:45 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:58 openapi 22:06:45 drwxrwxr-x 6 jenkins jenkins 4096 May 9 21:58 pkg 22:06:45 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:58 snap 22:06:45 -rw-rw-r-- 1 jenkins jenkins 222 May 9 21:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:45 + 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=36ecb1f482bfc597855740c2870b0b3229afc53c --label arch=arm64 --label version=3.0.0-dev.87 . 22:06:46 Sending build context to Docker daemon 6.085MB 22:06:46 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 22:06:46 Step 2/23 : FROM ${BASE} AS builder 22:06:46 ---> efa0ee5271c0 22:06:46 Step 3/23 : ARG MAKE=make build 22:06:46 ---> Running in 08006df6ae12 22:06:46 Removing intermediate container 08006df6ae12 22:06:46 ---> ee059b4a1095 22:06:46 Step 4/23 : WORKDIR /device-sdk-go 22:06:46 ---> Running in 3f7bf6a631ec 22:06:47 Removing intermediate container 3f7bf6a631ec 22:06:47 ---> 97c548692c1d 22:06:47 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:06:47 ---> Running in 6c24f3fc3b21 22:06:47 Removing intermediate container 6c24f3fc3b21 22:06:47 ---> 8f2e3ec1c9ba 22:06:47 Step 6/23 : RUN apk add --update --no-cache make git 22:06:47 ---> Running in de1d031fd89e 22:06:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:06:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:06:50 OK: 263 MiB in 53 packages 22:06:51 Removing intermediate container de1d031fd89e 22:06:51 ---> 4c27ae3463a9 22:06:51 Step 7/23 : COPY go.mod vendor* ./ 22:06:51 ---> 08df99494bd5 22:06:51 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:06:52 ---> Running in 1dd1172385b9 22:06:54 Removing intermediate container 1dd1172385b9 22:06:54 ---> 43b63238e9f9 22:06:54 Step 9/23 : COPY . . 22:06:55 ---> 42ca9772bb2c 22:06:55 Step 10/23 : RUN ${MAKE} 22:06:55 ---> Running in 454bdb7acc21 22:06:56 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.87" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:09:18 Removing intermediate container 454bdb7acc21 22:09:18 ---> 0266b1e29dfb 22:09:18 Step 11/23 : FROM alpine:3.17 22:09:18 3.17: Pulling from library/alpine 22:09:18 c41833b44d91: Already exists 22:09:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:09:18 Status: Downloaded newer image for alpine:3.17 22:09:18 ---> 51e60588ff2c 22:09:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:09:18 ---> Running in b61bd6c8cf86 22:09:18 Removing intermediate container b61bd6c8cf86 22:09:18 ---> e681938b5c50 22:09:18 Step 13/23 : RUN apk add --update --no-cache 22:09:18 ---> Running in f11997e59fa3 22:09:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:09:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:09:18 OK: 7 MiB in 15 packages 22:09:18 Removing intermediate container f11997e59fa3 22:09:18 ---> 8e867e4f91dd 22:09:18 Step 14/23 : WORKDIR / 22:09:18 ---> Running in 59e6b422fae1 22:09:18 Removing intermediate container 59e6b422fae1 22:09:18 ---> 84795009d6c4 22:09:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:09:18 ---> 50e79531168a 22:09:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:09:18 ---> a2d114e5df81 22:09:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:09:18 ---> 4afb4c9c5f78 22:09:18 Step 18/23 : EXPOSE 59999 22:09:18 ---> Running in 3aff84d77e33 22:09:18 Removing intermediate container 3aff84d77e33 22:09:18 ---> 73deb0530c13 22:09:18 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:09:18 ---> Running in 381fb6a80eb7 22:09:18 Removing intermediate container 381fb6a80eb7 22:09:18 ---> 35c53029ecda 22:09:18 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:09:18 ---> Running in cc93f113bcae 22:09:18 Removing intermediate container cc93f113bcae 22:09:18 ---> b45d57d299a1 22:09:18 Step 21/23 : LABEL arch=arm64 22:09:18 ---> Running in e0d01a0acd6e 22:09:18 Removing intermediate container e0d01a0acd6e 22:09:18 ---> d820d993be70 22:09:18 Step 22/23 : LABEL git_sha=36ecb1f482bfc597855740c2870b0b3229afc53c 22:09:18 ---> Running in 825d811fe541 22:09:18 Removing intermediate container 825d811fe541 22:09:18 ---> 087918598478 22:09:18 Step 23/23 : LABEL version=3.0.0-dev.87 22:09:18 ---> Running in e20168396b77 22:09:18 Removing intermediate container e20168396b77 22:09:18 ---> 12d4042a3a4c 22:09:18 [Warning] One or more build-args [ARCH] were not consumed 22:09:18 Successfully built 12d4042a3a4c 22:09:18 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 22:09:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:18 22:09:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:19 arm64: Pulling from edgex-lftools-log-publisher 22:09:19 8998bd30e6a1: Pulling fs layer 22:09:19 04944245beec: Pulling fs layer 22:09:19 699f458cf7ca: Pulling fs layer 22:09:19 765212b225bb: Pulling fs layer 22:09:19 f23df028b6ca: Pulling fs layer 22:09:19 d65c8cfc05b1: Pulling fs layer 22:09:19 2437ff75d9bd: Pulling fs layer 22:09:19 f23df028b6ca: Waiting 22:09:19 d65c8cfc05b1: Waiting 22:09:19 765212b225bb: Waiting 22:09:19 2437ff75d9bd: Waiting 22:09:19 04944245beec: Verifying Checksum 22:09:19 04944245beec: Download complete 22:09:19 765212b225bb: Verifying Checksum 22:09:19 765212b225bb: Download complete 22:09:19 f23df028b6ca: Verifying Checksum 22:09:19 f23df028b6ca: Download complete 22:09:19 d65c8cfc05b1: Verifying Checksum 22:09:19 d65c8cfc05b1: Download complete 22:09:19 699f458cf7ca: Verifying Checksum 22:09:19 699f458cf7ca: Download complete 22:09:20 8998bd30e6a1: Verifying Checksum 22:09:20 8998bd30e6a1: Download complete 22:09:22 2437ff75d9bd: Verifying Checksum 22:09:22 2437ff75d9bd: Download complete 22:09:24 8998bd30e6a1: Pull complete 22:09:24 04944245beec: Pull complete 22:09:26 699f458cf7ca: Pull complete 22:09:26 765212b225bb: Pull complete 22:09:27 f23df028b6ca: Pull complete 22:09:27 d65c8cfc05b1: Pull complete 22:09:42 2437ff75d9bd: Pull complete 22:09:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:09:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:42 prd-ubuntu20.04-docker-arm64-4c-16g-14780 does not seem to be running inside a container 22:09:42 $ 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/218 -v /w/workspace/device-sdk-go/218:/w/workspace/device-sdk-go/218:rw,z -v /w/workspace/device-sdk-go/218@tmp:/w/workspace/device-sdk-go/218@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 22:09:45 $ docker top 5ef74daf4496bf103553f77f4d26d2986b29e047017d30284fefbfa53b1e0f79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:09:46 ---> job-cost.sh 22:09:46 lf-activate-venv: SKIPPING 22:09:46 INFO: No Stack... 22:09:46 INFO: Retrieving Pricing Info for: v3-standard-4 22:09:47 INFO: Archiving Costs [Pipeline] sh 22:09:48 + cat /w/workspace/device-sdk-go/218/archives/cost.csv 22:09:48 + cut -d, -f6 [Pipeline] lock 22:09:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-218-stack-cost] 22:09:48 Resource [jenkins-edgexfoundry-device-sdk-go-main-218-stack-cost] did not exist. Created. 22:09:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-218-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:09:48 /w/workspace/device-sdk-go/218@tmp/durable-a9cb02ac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:09:49 + echo total: 0.10999999940395355 [Pipeline] stash 22:09:49 Warning: overwriting stash ‘stack-cost’ 22:09:49 Stashed 1 file(s) [Pipeline] } 22:09:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-218-stack-cost] [Pipeline] // lock [Pipeline] } 22:09:49 $ docker stop --time=1 5ef74daf4496bf103553f77f4d26d2986b29e047017d30284fefbfa53b1e0f79 22:09:50 $ docker rm -f --volumes 5ef74daf4496bf103553f77f4d26d2986b29e047017d30284fefbfa53b1e0f79 [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 22:09:51 provisioning config files... 22:09:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2719504795485224762tmp [Pipeline] { [Pipeline] sh 22:09:51 + set +x 22:09:51 + curl -s https://codecov.io/bash 22:09:51 + bash -s -- 22:09:51 22:09:51 _____ _ 22:09:51 / ____| | | 22:09:51 | | ___ __| | ___ ___ _____ __ 22:09:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:09:51 | |___| (_) | (_| | __/ (_| (_) \ V / 22:09:51 \_____\___/ \__,_|\___|\___\___/ \_/ 22:09:51 Bash-1.0.6 22:09:51 22:09:51 22:09:51 ==> git version 2.25.1 found 22:09:51 ==> 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 22:09:51 Release-Date: 2020-01-08 22:09:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:09:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:09:51 ==> Jenkins CI detected. 22:09:51 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 22:09:51 project root: . 22:09:51 --> token set from env 22:09:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:09:51 ==> Running gcov in . (disable via -X gcov) 22:09:51 ==> Python coveragepy not found 22:09:51 ==> Searching for coverage reports in: 22:09:51 + . 22:09:51 -> Found 1 reports 22:09:51 ==> Detecting git/mercurial file structure 22:09:51 ==> Reading reports 22:09:51 + ./coverage.out bytes=106151 22:09:51 ==> Appending adjustments 22:09:51 https://docs.codecov.io/docs/fixing-reports 22:09:52 + Found adjustments 22:09:52 ==> Gzipping contents 22:09:52 16K /tmp/codecov.QNuIpw.gz 22:09:52 ==> Uploading reports 22:09:52 url: https://codecov.io 22:09:52 query: branch=main&commit=36ecb1f482bfc597855740c2870b0b3229afc53c&build=218&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F218%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:09:52 -> Pinging Codecov 22:09:52 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=36ecb1f482bfc597855740c2870b0b3229afc53c&build=218&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F218%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:09:52 -> Uploading to 22:09:52 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/7E55EF52A471D76F132DFD9A03CDDE97/36ecb1f482bfc597855740c2870b0b3229afc53c/38087c92-9cb4-4339-989c-736325a1da02.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T220952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a3f3655d53e2fbab0551d353f04c22c88942c0aac65bdeb2c2c5bb7470f84ba 22:09:52 % Total % Received % Xferd Average Speed Time Time Time Current 22:09:52 Dload Upload Total Spent Left Speed 22:09:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15101 0 0 100 15101 0 55723 --:--:-- --:--:-- --:--:-- 55723 22:09:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/36ecb1f482bfc597855740c2870b0b3229afc53c [Pipeline] } 22:09:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:09:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:09:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:09:53 22:09:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:09:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:09:53 df9b9388f04a: Pulling fs layer 22:09:53 52dc419b0ee2: Pulling fs layer 22:09:53 25bc292e5bac: Pulling fs layer 22:09:53 114826534d7a: Pulling fs layer 22:09:53 4657fd5d0bcf: Pulling fs layer 22:09:53 6ad1cebc031e: Pulling fs layer 22:09:53 8a3aa393b2d8: Pulling fs layer 22:09:53 114826534d7a: Waiting 22:09:53 4657fd5d0bcf: Waiting 22:09:53 6ad1cebc031e: Waiting 22:09:53 8a3aa393b2d8: Waiting 22:09:53 25bc292e5bac: Verifying Checksum 22:09:53 25bc292e5bac: Download complete 22:09:53 52dc419b0ee2: Verifying Checksum 22:09:53 52dc419b0ee2: Download complete 22:09:53 4657fd5d0bcf: Verifying Checksum 22:09:53 4657fd5d0bcf: Download complete 22:09:53 df9b9388f04a: Verifying Checksum 22:09:53 df9b9388f04a: Download complete 22:09:54 df9b9388f04a: Pull complete 22:09:54 52dc419b0ee2: Pull complete 22:09:54 25bc292e5bac: Pull complete 22:09:54 6ad1cebc031e: Verifying Checksum 22:09:54 6ad1cebc031e: Download complete 22:09:55 114826534d7a: Verifying Checksum 22:09:55 114826534d7a: Download complete 22:09:55 8a3aa393b2d8: Verifying Checksum 22:09:55 8a3aa393b2d8: Download complete 22:09:58 114826534d7a: Pull complete 22:09:58 4657fd5d0bcf: Pull complete 22:09:58 6ad1cebc031e: Pull complete 22:10:01 8a3aa393b2d8: Pull complete 22:10:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:10:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:10:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:01 prd-ubuntu20.04-docker-8c-8g-14779 does not seem to be running inside a container 22:10:01 $ 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 22:10:04 $ docker top 7866e2a5e7d2b88d03988133219ea5c13678a4cc6abf223f43904bcae0968f9a -eo pid,comm [Pipeline] { [Pipeline] echo 22:10:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 22:10:04 + set -o pipefail 22:10:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 22:10:14 22:10:14 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 22:10:14 22:10:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/78bf4ea7-8ef3-48f0-bf1e-3859d74a4d48 22:10:14 22:10:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:10:14 22:10:14 22:10:14 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:10:14 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:10:14 More details here: https://snyk.co/ue1NS 22:10:14 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:10:14 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:10:14 $ docker stop --time=1 7866e2a5e7d2b88d03988133219ea5c13678a4cc6abf223f43904bcae0968f9a 22:10:17 $ docker rm -f --volumes 7866e2a5e7d2b88d03988133219ea5c13678a4cc6abf223f43904bcae0968f9a [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 22:10:18 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:18 provisioning config files... 22:10:18 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14797355698569203794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:18 --> edgex-publish-swagger.sh 22:10:18 === Publish openapi/v3 API === 22:10:18 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 22:10:18 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 22:10:18 % Total % Received % Xferd Average Speed Time Time Time Current 22:10:18 Dload Upload Total Spent Left Speed 22:10:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 37048 --:--:-- --:--:-- --:--:-- 36990 100 23674 0 0 100 23674 0 37048 --:--:-- --:--:-- --:--:-- 36990 22:10:19 22:10:19 [Pipeline] } 22:10:19 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 22:10:19 + git log --format=format:%s -1 36ecb1f482bfc597855740c2870b0b3229afc53c [Pipeline] sh 22:10:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:20 prd-ubuntu20.04-docker-8c-8g-14779 does not seem to be running inside a container 22:10:20 $ 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 22:10:20 $ docker top 5784c5e4b463b10fb6d1902f4ad6b83ad520f004457d2f1329d5bc1b732b2079 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:20 [ssh-agent] Looking for ssh-agent implementation... 22:10:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:20 $ docker exec 5784c5e4b463b10fb6d1902f4ad6b83ad520f004457d2f1329d5bc1b732b2079 ssh-agent 22:10:21 SSH_AUTH_SOCK=/tmp/ssh-bQ9PZWwwwYw0/agent.32 22:10:21 SSH_AGENT_PID=38 22:10:21 Running ssh-add (command line suppressed) 22:10:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6610173820065019308.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6610173820065019308.key) 22:10:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:21 + git semver tag 22:10:21 2023-05-09 22:10:21,621 [run_tag] DEBUG tag force:False 22:10:21 2023-05-09 22:10:21,621 [check_head_tag] DEBUG check head tag 22:10:21 2023-05-09 22:10:21,624 [execute] INFO git cat-file --batch-check 22:10:21 2023-05-09 22:10:21,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:10:21 2023-05-09 22:10:21,627 [execute] INFO git cat-file --batch 22:10:21 2023-05-09 22:10:21,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:10:21 2023-05-09 22:10:21,666 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:21 2023-05-09 22:10:21,666 [execute] INFO git tag -a v3.0.0-dev.87 -m v3.0.0-dev.87 22:10:21 2023-05-09 22:10:21,667 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.87', '-m', 'v3.0.0-dev.87'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 22:10:21 2023-05-09 22:10:21,670 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:21 3.0.0-dev.87 [Pipeline] } 22:10:21 $ docker exec --env ******** --env ******** 5784c5e4b463b10fb6d1902f4ad6b83ad520f004457d2f1329d5bc1b732b2079 ssh-agent -k 22:10:21 unset SSH_AUTH_SOCK; 22:10:21 unset SSH_AGENT_PID; 22:10:21 echo Agent pid 38 killed; 22:10:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:22 + git semver [Pipeline] } 22:10:22 $ docker stop --time=1 5784c5e4b463b10fb6d1902f4ad6b83ad520f004457d2f1329d5bc1b732b2079 22:10:23 $ docker rm -f --volumes 5784c5e4b463b10fb6d1902f4ad6b83ad520f004457d2f1329d5bc1b732b2079 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:10:24 22:10:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:10:24 0.23.1-centos7: Pulling from edgex-lftools 22:10:24 ab5ef0e58194: Pulling fs layer 22:10:24 9712f1f96733: Pulling fs layer 22:10:24 63f879dbbcfc: Pulling fs layer 22:10:24 0d9ebad4ef96: Pulling fs layer 22:10:24 e9a5061849ea: Pulling fs layer 22:10:24 d747dcd14b5f: Pulling fs layer 22:10:24 2de7ff778b66: Pulling fs layer 22:10:24 0d9ebad4ef96: Waiting 22:10:24 e9a5061849ea: Waiting 22:10:24 d747dcd14b5f: Waiting 22:10:24 2de7ff778b66: Waiting 22:10:24 9712f1f96733: Verifying Checksum 22:10:24 9712f1f96733: Download complete 22:10:25 ab5ef0e58194: Verifying Checksum 22:10:25 ab5ef0e58194: Download complete 22:10:25 63f879dbbcfc: Verifying Checksum 22:10:25 63f879dbbcfc: Download complete 22:10:25 d747dcd14b5f: Verifying Checksum 22:10:25 d747dcd14b5f: Download complete 22:10:25 0d9ebad4ef96: Verifying Checksum 22:10:25 0d9ebad4ef96: Download complete 22:10:25 e9a5061849ea: Verifying Checksum 22:10:25 e9a5061849ea: Download complete 22:10:25 2de7ff778b66: Verifying Checksum 22:10:25 2de7ff778b66: Download complete 22:10:27 ab5ef0e58194: Pull complete 22:10:27 9712f1f96733: Pull complete 22:10:28 63f879dbbcfc: Pull complete 22:10:31 0d9ebad4ef96: Pull complete 22:10:31 e9a5061849ea: Pull complete 22:10:31 d747dcd14b5f: Pull complete 22:10:32 2de7ff778b66: Pull complete 22:10:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:10:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:10:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:32 prd-ubuntu20.04-docker-8c-8g-14779 does not seem to be running inside a container 22:10: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 22:10:36 $ docker top 5e08f81a5901b6e5b1465abcc843e529a9a866ae9266798688ffddd0d0a44f58 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:10:37 provisioning config files... 22:10:37 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10960560658282172210tmp 22:10:37 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17210229267586465511tmp 22:10:37 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6876290211733414315tmp [Pipeline] { [Pipeline] echo 22:10:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:10:37 ---> sigul-configuration.sh 22:10:37 gpg: directory `/root/.gnupg' created 22:10:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:10:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:10:37 gpg: keyring `/root/.gnupg/secring.gpg' created 22:10:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:10:37 gpg: CAST5 encrypted data 22:10:37 gpg: encrypted with 1 passphrase 22:10:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:10:37 + mkdir /home/jenkins 22:10:37 + mkdir /home/jenkins/sigul [Pipeline] sh 22:10:38 + 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 22:10:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:10:38 ---> sigul-install.sh 22:10:38 Sigul already installed; skipping installation. [Pipeline] sh 22:10:38 + git tag --list 22:10:38 0.7.1 22:10:38 delhi-tag 22:10:38 v1.0.0 22:10:38 v1.1.0 22:10:38 v1.1.1 22:10:38 v1.1.2 22:10:38 v1.2.0 22:10:38 v1.2.1 22:10:38 v1.2.2 22:10:38 v1.2.3 22:10:38 v1.3.0 22:10:38 v1.4.0 22:10:38 v2.0.0 22:10:38 v2.1.0 22:10:38 v2.1.1 22:10:38 v2.1.1-dev.2 22:10:38 v2.1.1-dev.3 22:10:38 v2.2.0 22:10:38 v2.2.1-dev.1 22:10:38 v2.2.1-dev.10 22:10:38 v2.2.1-dev.11 22:10:38 v2.2.1-dev.12 22:10:38 v2.2.1-dev.13 22:10:38 v2.2.1-dev.14 22:10:38 v2.2.1-dev.2 22:10:38 v2.2.1-dev.3 22:10:38 v2.2.1-dev.4 22:10:38 v2.2.1-dev.5 22:10:38 v2.2.1-dev.6 22:10:38 v2.2.1-dev.7 22:10:38 v2.2.1-dev.8 22:10:38 v2.2.1-dev.9 22:10:38 v2.3.0 22:10:38 v2.3.0-dev.14 22:10:38 v2.3.0-dev.15 22:10:38 v2.3.0-dev.16 22:10:38 v2.3.0-dev.17 22:10:38 v2.3.0-dev.18 22:10:38 v2.3.0-dev.19 22:10:38 v2.3.0-dev.20 22:10:38 v2.3.0-dev.21 22:10:38 v2.3.0-dev.22 22:10:38 v2.3.0-dev.23 22:10:38 v2.3.0-dev.24 22:10:38 v2.3.0-dev.25 22:10:38 v2.3.0-dev.26 22:10:38 v2.3.0-dev.27 22:10:38 v2.3.0-dev.28 22:10:38 v2.3.0-dev.29 22:10:38 v2.3.0-dev.30 22:10:38 v2.3.0-dev.31 22:10:38 v2.3.0-dev.32 22:10:38 v2.3.0-dev.33 22:10:38 v2.3.0-dev.34 22:10:38 v2.3.0-dev.35 22:10:38 v2.3.0-dev.36 22:10:38 v2.3.0-dev.37 22:10:38 v2.3.0-dev.38 22:10:38 v2.3.0-dev.39 22:10:38 v2.3.0-dev.40 22:10:38 v2.3.0-dev.41 22:10:38 v2.3.0-dev.42 22:10:38 v2.3.0-dev.43 22:10:38 v2.3.0-dev.44 22:10:38 v2.3.0-dev.45 22:10:38 v2.3.0-dev.46 22:10:38 v2.3.0-dev.47 22:10:38 v2.3.0-dev.48 22:10:38 v2.3.0-dev.49 22:10:38 v2.3.0-dev.50 22:10:38 v2.3.0-dev.51 22:10:38 v2.3.1 22:10:38 v2.3.1-dev.1 22:10:38 v2.3.1-dev.2 22:10:38 v2.3.1-dev.3 22:10:38 v2.3.1-dev.4 22:10:38 v3.0.0-dev.1 22:10:38 v3.0.0-dev.10 22:10:38 v3.0.0-dev.11 22:10:38 v3.0.0-dev.12 22:10:38 v3.0.0-dev.13 22:10:38 v3.0.0-dev.14 22:10:38 v3.0.0-dev.15 22:10:38 v3.0.0-dev.16 22:10:38 v3.0.0-dev.17 22:10:38 v3.0.0-dev.18 22:10:38 v3.0.0-dev.19 22:10:38 v3.0.0-dev.2 22:10:38 v3.0.0-dev.20 22:10:38 v3.0.0-dev.21 22:10:38 v3.0.0-dev.22 22:10:38 v3.0.0-dev.23 22:10:38 v3.0.0-dev.24 22:10:38 v3.0.0-dev.25 22:10:38 v3.0.0-dev.26 22:10:38 v3.0.0-dev.27 22:10:38 v3.0.0-dev.28 22:10:38 v3.0.0-dev.29 22:10:38 v3.0.0-dev.3 22:10:38 v3.0.0-dev.30 22:10:38 v3.0.0-dev.31 22:10:38 v3.0.0-dev.32 22:10:38 v3.0.0-dev.33 22:10:38 v3.0.0-dev.34 22:10:38 v3.0.0-dev.35 22:10:38 v3.0.0-dev.36 22:10:38 v3.0.0-dev.37 22:10:38 v3.0.0-dev.38 22:10:38 v3.0.0-dev.39 22:10:38 v3.0.0-dev.4 22:10:38 v3.0.0-dev.40 22:10:38 v3.0.0-dev.41 22:10:38 v3.0.0-dev.42 22:10:38 v3.0.0-dev.43 22:10:38 v3.0.0-dev.44 22:10:38 v3.0.0-dev.45 22:10:38 v3.0.0-dev.46 22:10:38 v3.0.0-dev.47 22:10:38 v3.0.0-dev.48 22:10:38 v3.0.0-dev.49 22:10:38 v3.0.0-dev.5 22:10:38 v3.0.0-dev.50 22:10:38 v3.0.0-dev.51 22:10:38 v3.0.0-dev.52 22:10:38 v3.0.0-dev.53 22:10:38 v3.0.0-dev.54 22:10:38 v3.0.0-dev.55 22:10:38 v3.0.0-dev.56 22:10:38 v3.0.0-dev.57 22:10:38 v3.0.0-dev.58 22:10:38 v3.0.0-dev.59 22:10:38 v3.0.0-dev.6 22:10:38 v3.0.0-dev.60 22:10:38 v3.0.0-dev.61 22:10:38 v3.0.0-dev.62 22:10:38 v3.0.0-dev.63 22:10:38 v3.0.0-dev.64 22:10:38 v3.0.0-dev.65 22:10:38 v3.0.0-dev.66 22:10:38 v3.0.0-dev.67 22:10:38 v3.0.0-dev.68 22:10:38 v3.0.0-dev.69 22:10:38 v3.0.0-dev.7 22:10:38 v3.0.0-dev.70 22:10:38 v3.0.0-dev.71 22:10:38 v3.0.0-dev.72 22:10:38 v3.0.0-dev.73 22:10:38 v3.0.0-dev.74 22:10:38 v3.0.0-dev.75 22:10:38 v3.0.0-dev.76 22:10:38 v3.0.0-dev.77 22:10:38 v3.0.0-dev.78 22:10:38 v3.0.0-dev.79 22:10:38 v3.0.0-dev.8 22:10:38 v3.0.0-dev.80 22:10:38 v3.0.0-dev.81 22:10:38 v3.0.0-dev.82 22:10:38 v3.0.0-dev.83 22:10:38 v3.0.0-dev.84 22:10:38 v3.0.0-dev.85 22:10:38 v3.0.0-dev.86 22:10:38 v3.0.0-dev.87 22:10:38 v3.0.0-dev.9 [Pipeline] sh 22:10:39 + lftools sign git-tag v3.0.0-dev.87 22:10:39 Signing Git tag with Sigul... 22:10:39 Signing v3.0.0-dev.87 [Pipeline] echo 22:10:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:10:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:10:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:10:40 $ docker stop --time=1 5e08f81a5901b6e5b1465abcc843e529a9a866ae9266798688ffddd0d0a44f58 22:10:41 $ docker rm -f --volumes 5e08f81a5901b6e5b1465abcc843e529a9a866ae9266798688ffddd0d0a44f58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:10:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:42 prd-ubuntu20.04-docker-8c-8g-14779 does not seem to be running inside a container 22:10:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:10:42 $ docker top 1fde009addb7f59a54f3963d5c2a3abaa0c51a37dafb9893195e7b14e393ba93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:42 [ssh-agent] Looking for ssh-agent implementation... 22:10:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:42 $ docker exec 1fde009addb7f59a54f3963d5c2a3abaa0c51a37dafb9893195e7b14e393ba93 ssh-agent 22:10:42 SSH_AUTH_SOCK=/tmp/ssh-tUoykCYqzctx/agent.32 22:10:42 SSH_AGENT_PID=38 22:10:42 Running ssh-add (command line suppressed) 22:10:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_487967992167616626.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_487967992167616626.key) 22:10:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:43 + git semver bump pre 22:10:43 2023-05-09 22:10:43,398 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:43 2023-05-09 22:10:43,398 [bump_version] DEBUG bumping version:3.0.0-dev.87 on axis:pre with prefix:dev 22:10:43 2023-05-09 22:10:43,398 [bump_version] DEBUG bumped version:3.0.0-dev.88 22:10:43 2023-05-09 22:10:43,398 [write_version] DEBUG write version:3.0.0-dev.88 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 22:10:43 2023-05-09 22:10:43,398 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:43 2023-05-09 22:10:43,398 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:43 2023-05-09 22:10:43,400 [execute] INFO git cat-file --batch-check 22:10:43 2023-05-09 22:10:43,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:10:43 2023-05-09 22:10:43,408 [execute] INFO git cat-file --batch 22:10:43 2023-05-09 22:10:43,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:10:43 2023-05-09 22:10:43,414 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:43 3.0.0-dev.88 [Pipeline] } 22:10:43 $ docker exec --env ******** --env ******** 1fde009addb7f59a54f3963d5c2a3abaa0c51a37dafb9893195e7b14e393ba93 ssh-agent -k 22:10:43 unset SSH_AUTH_SOCK; 22:10:43 unset SSH_AGENT_PID; 22:10:43 echo Agent pid 38 killed; 22:10:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:43 + git semver [Pipeline] } 22:10:44 $ docker stop --time=1 1fde009addb7f59a54f3963d5c2a3abaa0c51a37dafb9893195e7b14e393ba93 22:10:45 $ docker rm -f --volumes 1fde009addb7f59a54f3963d5c2a3abaa0c51a37dafb9893195e7b14e393ba93 [Pipeline] // withDockerContainer [Pipeline] sh 22:10:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:46 prd-ubuntu20.04-docker-8c-8g-14779 does not seem to be running inside a container 22:10:46 $ 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 22:10:46 $ docker top ee13ea6602449d9788a28865e0525720ac3119da9165657272ca34143884a601 -eo pid,comm 22:10:46 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). 22:10:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:46 [ssh-agent] Looking for ssh-agent implementation... 22:10:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:46 $ docker exec ee13ea6602449d9788a28865e0525720ac3119da9165657272ca34143884a601 ssh-agent 22:10:46 SSH_AUTH_SOCK=/tmp/ssh-6ggoPeBscUtN/agent.32 22:10:46 SSH_AGENT_PID=39 22:10:46 Running ssh-add (command line suppressed) 22:10:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15498938915268333815.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15498938915268333815.key) 22:10:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:47 + git semver push 22:10:47 2023-05-09 22:10:47,418 [run_push] DEBUG push 22:10:47 2023-05-09 22:10:47,418 [execute] INFO git cat-file --batch-check 22:10:47 2023-05-09 22:10:47,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:10:47 2023-05-09 22:10:47,422 [execute] INFO git rev-list f45f999b51cce940e59f344e59a5cd88a6a29f70 -- 22:10:47 2023-05-09 22:10:47,423 [execute] DEBUG Popen(['git', 'rev-list', 'f45f999b51cce940e59f344e59a5cd88a6a29f70', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:10:47 2023-05-09 22:10:47,436 [execute] INFO git fetch -v origin 22:10:47 2023-05-09 22:10:47,436 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:10:48 2023-05-09 22:10:47,929 [run_push] DEBUG no remote changes detected 22:10:48 2023-05-09 22:10:47,929 [execute] INFO git push origin semver 22:10:48 2023-05-09 22:10:47,930 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:10:49 2023-05-09 22:10:48,670 [run_push] DEBUG push all version tags 22:10:49 2023-05-09 22:10:48,671 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:10:49 2023-05-09 22:10:48,671 [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) 22:10:49 2023-05-09 22:10:49,394 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:10:49 3.0.0-dev.88 [Pipeline] } 22:10:49 $ docker exec --env ******** --env ******** ee13ea6602449d9788a28865e0525720ac3119da9165657272ca34143884a601 ssh-agent -k 22:10:49 unset SSH_AUTH_SOCK; 22:10:49 unset SSH_AGENT_PID; 22:10:49 echo Agent pid 39 killed; 22:10:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:50 + git semver [Pipeline] } 22:10:50 $ docker stop --time=1 ee13ea6602449d9788a28865e0525720ac3119da9165657272ca34143884a601 22:10:51 $ docker rm -f --volumes ee13ea6602449d9788a28865e0525720ac3119da9165657272ca34143884a601 [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 22:10:52 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 22:10:52 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:10:52 total 16 22:10:52 drwxr-xr-x 3 root root 4096 May 9 21:59 . 22:10:52 drwxrwxr-x 12 jenkins jenkins 4096 May 9 22:10 .. 22:10:52 drwxr-xr-x 2 root root 4096 May 9 21:59 cost 22:10:52 -rw-r--r-- 1 root root 85 May 9 21:59 cost.csv 22:10:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:10:52 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:10:52 total 16 22:10:52 drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:59 . 22:10:52 drwxrwxr-x 12 jenkins jenkins 4096 May 9 22:10 .. 22:10:52 drwxr-xr-x 2 jenkins jenkins 4096 May 9 21:59 cost 22:10:52 -rw-r--r-- 1 jenkins jenkins 85 May 9 21:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:10:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:10:53 ---> package-listing.sh 22:10:53 ++ facter osfamily 22:10:53 ++ tr '[:upper:]' '[:lower:]' 22:10:53 + OS_FAMILY=debian 22:10:53 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 22:10:53 + START_PACKAGES=/tmp/packages_start.txt 22:10:53 + END_PACKAGES=/tmp/packages_end.txt 22:10:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:10:53 + PACKAGES=/tmp/packages_start.txt 22:10:53 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:10:53 + PACKAGES=/tmp/packages_end.txt 22:10:53 + case "${OS_FAMILY}" in 22:10:53 + dpkg -l 22:10:53 + grep '^ii' 22:10:53 + '[' -f /tmp/packages_start.txt ']' 22:10:53 + '[' -f /tmp/packages_end.txt ']' 22:10:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:10:53 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:10:53 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 22:10:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 22:10:53 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 22:10:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:54 prd-ubuntu20.04-docker-8c-8g-14779 does not seem to be running inside a container 22:10:54 $ 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 22:10:54 $ docker top 57d3735c4de797df82a4569e5558e26f4374a40b85ee0a0afecfd4dcf92fd542 -eo pid,comm [Pipeline] { [Pipeline] sh 22:10:55 + touch /tmp/pre-build-complete [Pipeline] sh 22:10:55 + mkdir -p /var/log/sysstat [Pipeline] sh 22:10:55 + ls /var/log/sa-host 22:10:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:55 provisioning config files... 22:10:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17654540388268486574tmp [Pipeline] { [Pipeline] echo 22:10:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:10:56 ---> create-netrc.sh [Pipeline] } 22:10:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:10:56 ---> python-tools-install.sh [Pipeline] echo 22:10:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:10:56 ---> sudo-logs.sh 22:10:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:10:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:10:57 ---> job-cost.sh 22:10:57 lf-activate-venv: SKIPPING 22:10:57 DEBUG: total: 0.2199999988079071 22:10:57 INFO: Retrieving Stack Cost... 22:10:57 INFO: Retrieving Pricing Info for: v3-standard-8 22:10:57 INFO: Archiving Costs [Pipeline] echo 22:10:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:10:58 ---> logs-deploy.sh 22:10:58 lf-activate-venv: SKIPPING 22:10:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/218 22:10:58 INFO: archiving workspace using pattern(s): 22:10:59 Archives upload complete. 22:10:59 INFO: archiving logs to Nexus