Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7730e9b2488ebe82cf8f1ec58f41fa934430b51b 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-ssh11965593372367097570.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4843597091002314151.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh10180157543974984530.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh15081075110661575036.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-ssh3468673474702186051.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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16774 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 7730e9b2488ebe82cf8f1ec58f41fa934430b51b (main) Commit message: "build: Update to use released Go Mods (#1538)" > git config core.sparsecheckout # timeout=10 > git checkout -f 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 > git rev-list --no-walk 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:43:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:43:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:43:04 ========================================================= 00:43:04 EdgeX Global Pipelines Version Info 00:43:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:43:04 ------------------- 00:43:04 stable info: 00:43:04 ------------------- 00:43:04 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 00:43:04 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:43:04 Message: update stable to v1.0.257 00:43:05 ------------------- 00:43:05 experimental info: 00:43:05 ------------------- 00:43:05 Commited By: **** collab-it+edgex@linuxfoundation.org 00:43:05 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:43:05 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7730e9b [Pipeline] echo 00:43:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:05 provisioning config files... 00:43:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2881257341571940329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:06 ---> docker-login.sh 00:43:06 nexus3.edgexfoundry.org:10001 00:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:06 Configure a credential helper to remove this warning. See 00:43:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:06 00:43:06 Login Succeeded 00:43:06 nexus3.edgexfoundry.org:10002 00:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:06 Configure a credential helper to remove this warning. See 00:43:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:06 00:43:06 Login Succeeded 00:43:06 nexus3.edgexfoundry.org:10003 00:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:06 Configure a credential helper to remove this warning. See 00:43:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:06 00:43:06 Login Succeeded 00:43:06 nexus3.edgexfoundry.org:10004 00:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:06 Configure a credential helper to remove this warning. See 00:43:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:06 00:43:06 Login Succeeded 00:43:06 docker.io 00:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:07 Configure a credential helper to remove this warning. See 00:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:07 00:43:07 Login Succeeded 00:43:07 ---> docker-login.sh ends [Pipeline] } 00:43:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:43:07 + git rev-list -1 --merges 7730e9b2488ebe82cf8f1ec58f41fa934430b51b~1..7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] echo 00:43:07 -----------> git rev-list -1 --merges 7730e9b2488ebe82cf8f1ec58f41fa934430b51b~1..7730e9b2488ebe82cf8f1ec58f41fa934430b51b 7730e9b2488ebe82cf8f1ec58f41fa934430b51b [false] [Pipeline] sh 00:43:07 + git log --format=format:%s -1 7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] echo 00:43:07 ========================================================= 00:43:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:43:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:43:08 + git log --format=format:%s -1 7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] echo 00:43:08 [semverPrep] GIT_COMMIT: 7730e9b2488ebe82cf8f1ec58f41fa934430b51b, Commit Message: build: Update to use released Go Mods (#1538) [Pipeline] echo 00:43:08 [semverPrep] This is not a build commit. [Pipeline] sh 00:43:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:08 + grep -v github /etc/ssh/ssh_known_hosts 00:43:08 + [ -e /tmp/ssh_known_hosts ] 00:43:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:43:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:43:08 + sudo tee -a /etc/ssh/ssh_known_hosts 00:43:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:09 00:43:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:09 0.1.4: Pulling from edgex-devops/py-git-semver 00:43:09 b85a868b505f: Pulling fs layer 00:43:09 e2be974225ed: Pulling fs layer 00:43:09 339a4e72a1f5: Pulling fs layer 00:43:09 988bab9f4d93: Pulling fs layer 00:43:09 1469e6f7b9e6: Pulling fs layer 00:43:09 eaf3925da568: Pulling fs layer 00:43:09 bab4dde63d76: Pulling fs layer 00:43:09 bde34c3a00c8: Pulling fs layer 00:43:09 b352a97aabf1: Pulling fs layer 00:43:09 4872d77fe225: Pulling fs layer 00:43:09 5851b861e8e6: Pulling fs layer 00:43:09 bab4dde63d76: Waiting 00:43:09 bde34c3a00c8: Waiting 00:43:09 b352a97aabf1: Waiting 00:43:09 4872d77fe225: Waiting 00:43:09 5851b861e8e6: Waiting 00:43:09 988bab9f4d93: Waiting 00:43:09 eaf3925da568: Waiting 00:43:09 1469e6f7b9e6: Waiting 00:43:09 e2be974225ed: Download complete 00:43:09 988bab9f4d93: Download complete 00:43:09 339a4e72a1f5: Verifying Checksum 00:43:09 339a4e72a1f5: Download complete 00:43:09 1469e6f7b9e6: Verifying Checksum 00:43:09 1469e6f7b9e6: Download complete 00:43:09 eaf3925da568: Verifying Checksum 00:43:09 eaf3925da568: Download complete 00:43:09 b352a97aabf1: Verifying Checksum 00:43:09 b352a97aabf1: Download complete 00:43:09 4872d77fe225: Verifying Checksum 00:43:09 4872d77fe225: Download complete 00:43:09 5851b861e8e6: Verifying Checksum 00:43:09 5851b861e8e6: Download complete 00:43:09 b85a868b505f: Verifying Checksum 00:43:09 b85a868b505f: Download complete 00:43:09 bab4dde63d76: Verifying Checksum 00:43:09 bab4dde63d76: Download complete 00:43:10 b85a868b505f: Pull complete 00:43:11 e2be974225ed: Pull complete 00:43:11 339a4e72a1f5: Pull complete 00:43:11 988bab9f4d93: Pull complete 00:43:11 1469e6f7b9e6: Pull complete 00:43:11 eaf3925da568: Pull complete 00:43:13 bab4dde63d76: Pull complete 00:43:13 bde34c3a00c8: Pull complete 00:43:13 b352a97aabf1: Pull complete 00:43:13 4872d77fe225: Pull complete 00:43:14 5851b861e8e6: Pull complete 00:43:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:43:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:14 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 00:43:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:43:16 $ docker top e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 -eo pid,comm 00:43:16 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). 00:43:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:16 [ssh-agent] Looking for ssh-agent implementation... 00:43:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:16 $ docker exec e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 ssh-agent 00:43:17 SSH_AUTH_SOCK=/tmp/ssh-dNqbVp0R4OBz/agent.32 00:43:17 SSH_AGENT_PID=38 00:43:17 Running ssh-add (command line suppressed) 00:43:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4852691991893157352.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4852691991893157352.key) 00:43:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:17 + git tag --points-at HEAD [Pipeline] } 00:43:17 $ docker exec --env ******** --env ******** e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 ssh-agent -k 00:43:17 unset SSH_AUTH_SOCK; 00:43:17 unset SSH_AGENT_PID; 00:43:17 echo Agent pid 38 killed; 00:43:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:43:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:17 [ssh-agent] Looking for ssh-agent implementation... 00:43:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:17 $ docker exec e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 ssh-agent 00:43:17 SSH_AUTH_SOCK=/tmp/ssh-7hw1ELduPHYg/agent.70 00:43:17 SSH_AGENT_PID=76 00:43:17 Running ssh-add (command line suppressed) 00:43:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13398036786033170484.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13398036786033170484.key) 00:43:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:18 + git semver init 00:43:18 2023-11-07 00:43:18,392 [run_init] DEBUG init version:0.0.0 force:False 00:43:18 2023-11-07 00:43:18,393 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 00:43:18 2023-11-07 00:43:18,393 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 00:43:18 2023-11-07 00:43:18,393 [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) 00:43:19 2023-11-07 00:43:19,379 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 00:43:19 2023-11-07 00:43:19,379 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 00:43:19 2023-11-07 00:43:19,379 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:43:19 2023-11-07 00:43:19,380 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:43:19 3.1.0-dev.40 [Pipeline] } 00:43:19 $ docker exec --env ******** --env ******** e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 ssh-agent -k 00:43:19 unset SSH_AUTH_SOCK; 00:43:19 unset SSH_AGENT_PID; 00:43:19 echo Agent pid 76 killed; 00:43:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:19 + git semver [Pipeline] } 00:43:20 $ docker stop --time=1 e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 00:43:21 $ docker rm -f --volumes e65add1c94852dce58b9974096c4dd76d72d996237ad0a526f98742b5f4f8b89 [Pipeline] // withDockerContainer [Pipeline] sh 00:43:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:43:21 Stashed 1 file(s) [Pipeline] echo 00:43:21 [edgeXSemver]: initialized semver on version 3.1.0-dev.40 [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 00:43:22 provisioning config files... 00:43:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13135230648616776780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:22 ---> docker-login.sh 00:43:22 nexus3.edgexfoundry.org:10001 00:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:22 Configure a credential helper to remove this warning. See 00:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:22 00:43:22 Login Succeeded 00:43:22 nexus3.edgexfoundry.org:10002 00:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:22 Configure a credential helper to remove this warning. See 00:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:22 00:43:22 Login Succeeded 00:43:22 nexus3.edgexfoundry.org:10003 00:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:22 Configure a credential helper to remove this warning. See 00:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:22 00:43:22 Login Succeeded 00:43:22 nexus3.edgexfoundry.org:10004 00:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:22 Configure a credential helper to remove this warning. See 00:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:22 00:43:22 Login Succeeded 00:43:22 docker.io 00:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:23 Configure a credential helper to remove this warning. See 00:43:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:23 00:43:23 Login Succeeded 00:43:23 ---> docker-login.sh ends [Pipeline] } 00:43:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:43:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:43:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:43:23 ========================================================= 00:43:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:43:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:23 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 00:43:23 Sending build context to Docker daemon 11.27MB 00:43:23 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 00:43:23 Step 2/10 : FROM ${BASE} AS builder 00:43:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:43:23 7264a8db6415: Pulling fs layer 00:43:23 c4d48a809fc2: Pulling fs layer 00:43:23 4f1c88b9dad5: Pulling fs layer 00:43:23 ad3a456e5733: Pulling fs layer 00:43:23 33e27b845d1e: Pulling fs layer 00:43:23 c68163c4e522: Pulling fs layer 00:43:23 50da416c3ac9: Pulling fs layer 00:43:23 23d2d4c4bb30: Pulling fs layer 00:43:23 33e27b845d1e: Waiting 00:43:23 c68163c4e522: Waiting 00:43:23 50da416c3ac9: Waiting 00:43:23 23d2d4c4bb30: Waiting 00:43:23 c4d48a809fc2: Download complete 00:43:23 ad3a456e5733: Verifying Checksum 00:43:23 ad3a456e5733: Download complete 00:43:23 33e27b845d1e: Verifying Checksum 00:43:23 33e27b845d1e: Download complete 00:43:23 7264a8db6415: Verifying Checksum 00:43:23 7264a8db6415: Download complete 00:43:23 c68163c4e522: Verifying Checksum 00:43:23 c68163c4e522: Download complete 00:43:23 7264a8db6415: Pull complete 00:43:24 23d2d4c4bb30: Verifying Checksum 00:43:24 23d2d4c4bb30: Download complete 00:43:24 c4d48a809fc2: Pull complete 00:43:24 4f1c88b9dad5: Verifying Checksum 00:43:24 4f1c88b9dad5: Download complete 00:43:24 50da416c3ac9: Verifying Checksum 00:43:24 50da416c3ac9: Download complete 00:43:27 4f1c88b9dad5: Pull complete 00:43:27 ad3a456e5733: Pull complete 00:43:27 33e27b845d1e: Pull complete 00:43:27 c68163c4e522: Pull complete 00:43:29 50da416c3ac9: Pull complete 00:43:30 23d2d4c4bb30: Pull complete 00:43:30 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 00:43:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:43:30 ---> 0786185ac409 00:43:30 Step 3/10 : ARG MAKE=make build 00:43:34 ---> Running in 0a97fbb30643 00:43:34 Removing intermediate container 0a97fbb30643 00:43:34 ---> 881ce074c3b8 00:43:34 Step 4/10 : WORKDIR /device-sdk-go 00:43:34 ---> Running in f4a436a464d6 00:43:34 Removing intermediate container f4a436a464d6 00:43:34 ---> ff4ec4a2615b 00:43:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:43:34 ---> Running in 3d1cad87f148 00:43:34 Removing intermediate container 3d1cad87f148 00:43:34 ---> 77f916b7286c 00:43:34 Step 6/10 : RUN apk add --update --no-cache make git 00:43:34 ---> Running in 534a2d4d1cdb 00:43:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:43:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:43:35 OK: 264 MiB in 52 packages 00:43:35 Removing intermediate container 534a2d4d1cdb 00:43:35 ---> 0504e1ab6769 00:43:35 Step 7/10 : COPY go.mod vendor* ./ 00:43:35 ---> 70cb12a83d6d 00:43:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:35 ---> Running in 8aa4a2032de4 00:43:37 Still waiting to schedule task 00:43:37 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16771’ 00:44:07 Removing intermediate container 8aa4a2032de4 00:44:07 ---> a9c6555731c8 00:44:07 Step 9/10 : COPY . . 00:44:07 ---> 0d47bc6c5686 00:44:07 Step 10/10 : RUN ${MAKE} 00:44:07 ---> Running in fba1212e69a0 00:44:08 noop 00:44:08 Removing intermediate container fba1212e69a0 00:44:08 ---> 177cadfd097c 00:44:08 Successfully built 177cadfd097c 00:44:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:08 + docker inspect -f . ci-base-image-x86_64 00:44:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:08 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 00:44:08 $ 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 ******** ci-base-image-x86_64 cat 00:44:09 $ docker top 3ab33cbeced3ce74a1b025de1d52b9bda3d43e7175019a969fce773fb9fa2caf -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:09 + go version 00:44:09 go version go1.21.0 linux/amd64 [Pipeline] } 00:44:09 $ docker stop --time=1 3ab33cbeced3ce74a1b025de1d52b9bda3d43e7175019a969fce773fb9fa2caf 00:44:11 $ docker rm -f --volumes 3ab33cbeced3ce74a1b025de1d52b9bda3d43e7175019a969fce773fb9fa2caf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:11 + docker inspect -f . ci-base-image-x86_64 00:44:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:11 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 00:44:11 $ 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 ******** ci-base-image-x86_64 cat 00:44:12 $ docker top 0c2c18b264b57585b9f40cfc543ac9e0f1b85a1a4ed0d2199491091f4aaaaa18 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:12 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 00:44:12 + make test 00:44:12 go test -race -coverprofile=coverage.out ./... 00:44:19 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:44:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:44:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:44:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:44:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:44:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:44:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:44:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:44:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.052s coverage: 27.6% of statements 00:44:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:44:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.055s coverage: 81.5% of statements 00:44:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.061s coverage: 86.0% of statements 00:44:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.073s coverage: 71.8% of statements 00:44:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:44:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:44:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:44:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.052s coverage: 14.4% of statements 00:44:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.942s coverage: 45.9% of statements 00:44:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.070s coverage: 68.5% of statements 00:44:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.106s coverage: 89.2% of statements 00:44:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements 00:44:57 GO111MODULE=on go vet ./... 00:44:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:44:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:44:59 ./bin/test-attribution-txt.sh [Pipeline] echo 00:44:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:44:59 $ docker stop --time=1 0c2c18b264b57585b9f40cfc543ac9e0f1b85a1a4ed0d2199491091f4aaaaa18 00:45:03 $ docker rm -f --volumes 0c2c18b264b57585b9f40cfc543ac9e0f1b85a1a4ed0d2199491091f4aaaaa18 [Pipeline] // withDockerContainer [Pipeline] sh 00:45:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:45:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:45:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:45:04 + ls -al . 00:45:04 total 308 00:45:04 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 00:44 . 00:45:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:43 .. 00:45:04 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 00:43 .dockerignore 00:45:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:44 .git 00:45:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:43 .github 00:45:04 -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 00:43 .gitignore 00:45:04 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 00:43 .golangci.yml 00:45:04 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:43 .semver 00:45:04 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 00:43 CHANGELOG.md 00:45:04 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:43 GOVERNANCE.md 00:45:04 -rw-rw-r-- 1 jenkins jenkins 885 Nov 7 00:43 Jenkinsfile 00:45:04 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 00:43 LICENSE 00:45:04 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 7 00:43 Makefile 00:45:04 -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 00:43 OWNERS.md 00:45:04 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 7 00:43 README.md 00:45:04 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 00:43 VERSION 00:45:04 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:43 bin 00:45:04 -rw-r--r-- 1 jenkins jenkins 122153 Nov 7 00:44 coverage.out 00:45:04 drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 00:43 example 00:45:04 -rw-rw-r-- 1 jenkins jenkins 3683 Nov 7 00:43 go.mod 00:45:04 -rw-rw-r-- 1 jenkins jenkins 34197 Nov 7 00:43 go.sum 00:45:04 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:43 internal 00:45:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:43 openapi 00:45:04 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 00:43 pkg 00:45:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:43 snap 00:45:04 -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 00:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:04 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7730e9b2488ebe82cf8f1ec58f41fa934430b51b --label arch=amd64 --label version=3.1.0-dev.40 . 00:45:04 Sending build context to Docker daemon 11.39MB 00:45:04 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 00:45:04 Step 2/23 : FROM ${BASE} AS builder 00:45:04 ---> 177cadfd097c 00:45:04 Step 3/23 : ARG MAKE=make build 00:45:05 ---> Running in 651c27c6c1b3 00:45:05 Removing intermediate container 651c27c6c1b3 00:45:05 ---> f92f252a3014 00:45:05 Step 4/23 : WORKDIR /device-sdk-go 00:45:05 ---> Running in 68b4c8a03883 00:45:05 Removing intermediate container 68b4c8a03883 00:45:05 ---> d7725c3b7802 00:45:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:45:05 ---> Running in 721979c25fe1 00:45:05 Removing intermediate container 721979c25fe1 00:45:05 ---> 45f3d763f6ca 00:45:05 Step 6/23 : RUN apk add --update --no-cache make git 00:45:05 ---> Running in 686524a73977 00:45:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:45:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:45:06 OK: 264 MiB in 52 packages 00:45:06 Removing intermediate container 686524a73977 00:45:06 ---> 216f7f6e2c17 00:45:06 Step 7/23 : COPY go.mod vendor* ./ 00:45:06 ---> 64646ec6129b 00:45:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:45:06 ---> Running in b1a1e73adaa2 00:45:07 Removing intermediate container b1a1e73adaa2 00:45:07 ---> b582e7a73292 00:45:07 Step 9/23 : COPY . . 00:45:07 ---> aa470f6c45da 00:45:07 Step 10/23 : RUN ${MAKE} 00:45:07 ---> Running in beaf727cc8c3 00:45:08 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.40 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.40" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:45:26 Removing intermediate container beaf727cc8c3 00:45:26 ---> 7cab644c30d0 00:45:26 Step 11/23 : FROM alpine:3.18 00:45:26 3.18: Pulling from library/alpine 00:45:26 96526aa774ef: Pulling fs layer 00:45:26 96526aa774ef: Verifying Checksum 00:45:26 96526aa774ef: Download complete 00:45:26 96526aa774ef: Pull complete 00:45:26 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:45:26 Status: Downloaded newer image for alpine:3.18 00:45:26 ---> 8ca4688f4f35 00:45:26 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:45:27 ---> Running in 58339fdef318 00:45:27 Removing intermediate container 58339fdef318 00:45:27 ---> 287338bef757 00:45:27 Step 13/23 : RUN apk add --update --no-cache 00:45:27 ---> Running in 8fec4d614140 00:45:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:45:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:45:27 OK: 7 MiB in 15 packages 00:45:28 Removing intermediate container 8fec4d614140 00:45:28 ---> 26c4be50e0eb 00:45:28 Step 14/23 : WORKDIR / 00:45:28 ---> Running in 96e5061135a9 00:45:28 Removing intermediate container 96e5061135a9 00:45:28 ---> b5ad9a89e726 00:45:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:45:28 ---> a29fc207e9bf 00:45:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:45:29 ---> 40f46c534ff2 00:45:29 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:45:29 ---> 12e41a4cc590 00:45:29 Step 18/23 : EXPOSE 59999 00:45:29 ---> Running in 755b12d31f68 00:45:29 Removing intermediate container 755b12d31f68 00:45:29 ---> 84e0563accd6 00:45:29 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:45:29 ---> Running in 2ef4900f681b 00:45:29 Removing intermediate container 2ef4900f681b 00:45:29 ---> 9184500e5163 00:45:29 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:45:29 ---> Running in eed5e5f6bd72 00:45:29 Removing intermediate container eed5e5f6bd72 00:45:29 ---> 494bc63d874b 00:45:29 Step 21/23 : LABEL arch=amd64 00:45:29 ---> Running in ad9f0c243c27 00:45:29 Removing intermediate container ad9f0c243c27 00:45:29 ---> e8a218663e64 00:45:29 Step 22/23 : LABEL git_sha=7730e9b2488ebe82cf8f1ec58f41fa934430b51b 00:45:29 ---> Running in 2faedc28134c 00:45:29 Removing intermediate container 2faedc28134c 00:45:29 ---> 39c8394c1d92 00:45:29 Step 23/23 : LABEL version=3.1.0-dev.40 00:45:29 ---> Running in a22f0d15844f 00:45:29 Removing intermediate container a22f0d15844f 00:45:29 ---> b983046666e8 00:45:29 [Warning] One or more build-args [ARCH] were not consumed 00:45:29 Successfully built b983046666e8 00:45:29 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 00:45:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:30 00:45:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:30 latest: Pulling from edgex-lftools-log-publisher 00:45:30 5eb5b503b376: Pulling fs layer 00:45:30 5c69ac0246d0: Pulling fs layer 00:45:30 ec43610c2a17: Pulling fs layer 00:45:30 3a2ae6a8a46f: Pulling fs layer 00:45:30 33b1e0a273af: Pulling fs layer 00:45:30 5d3b04190fa2: Pulling fs layer 00:45:30 2f39f015ded8: Pulling fs layer 00:45:30 5d3b04190fa2: Waiting 00:45:30 2f39f015ded8: Waiting 00:45:30 3a2ae6a8a46f: Waiting 00:45:30 5c69ac0246d0: Download complete 00:45:30 3a2ae6a8a46f: Verifying Checksum 00:45:30 3a2ae6a8a46f: Download complete 00:45:30 33b1e0a273af: Verifying Checksum 00:45:30 33b1e0a273af: Download complete 00:45:30 ec43610c2a17: Verifying Checksum 00:45:30 ec43610c2a17: Download complete 00:45:30 5d3b04190fa2: Verifying Checksum 00:45:30 5d3b04190fa2: Download complete 00:45:30 5eb5b503b376: Verifying Checksum 00:45:30 5eb5b503b376: Download complete 00:45:31 2f39f015ded8: Download complete 00:45:31 5eb5b503b376: Pull complete 00:45:32 5c69ac0246d0: Pull complete 00:45:32 ec43610c2a17: Pull complete 00:45:32 3a2ae6a8a46f: Pull complete 00:45:33 33b1e0a273af: Pull complete 00:45:33 5d3b04190fa2: Pull complete 00:45:37 2f39f015ded8: Pull complete 00:45:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:45:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:37 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 00:45:37 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:45:42 $ docker top e78dfa68223846da0ba3f7d373d725c3ce26f4c02d269f26ae61b2c3f9654733 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:43 ---> job-cost.sh 00:45:43 lf-activate-venv: SKIPPING 00:45:43 INFO: No Stack... 00:45:43 INFO: Retrieving Pricing Info for: v3-standard-8 00:45:43 INFO: Archiving Costs [Pipeline] sh 00:45:44 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 00:45:44 + cut -d, -f6 [Pipeline] lock 00:45:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] 00:45:44 Resource [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] did not exist. Created. 00:45:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:45:44 + echo total: 0.2199999988079071 [Pipeline] stash 00:45:44 Stashed 1 file(s) [Pipeline] } 00:45:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] [Pipeline] // lock [Pipeline] } 00:45:44 $ docker stop --time=1 e78dfa68223846da0ba3f7d373d725c3ce26f4c02d269f26ae61b2c3f9654733 00:45:45 $ docker rm -f --volumes e78dfa68223846da0ba3f7d373d725c3ce26f4c02d269f26ae61b2c3f9654733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:46:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16779 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 00:46:30 Running in /w/workspace/device-sdk-go/269 [Pipeline] { [Pipeline] checkout 00:46:30 The recommended git tool is: git 00:46:40 using credential edgex-jenkins-ssh 00:46:40 Cloning the remote Git repository 00:46:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:46:40 > git init /w/workspace/device-sdk-go/269 # timeout=10 00:46:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:46:40 > git --version # timeout=10 00:46:40 > git --version # 'git version 2.25.1' 00:46:40 using GIT_SSH to set credentials SSH Credentials for GitHub 00:46:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:46:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:46:44 Avoid second fetch 00:46:44 Checking out Revision 7730e9b2488ebe82cf8f1ec58f41fa934430b51b (main) 00:46:45 Commit message: "build: Update to use released Go Mods (#1538)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:44 > git config core.sparsecheckout # timeout=10 00:46:44 > git checkout -f 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 00:46:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:46:49 % Total % Received % Xferd Average Speed Time Time Time Current 00:46:49 Dload Upload Total Spent Left Speed 00:46:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 87 12682 87 11015 0 0 73926 0 --:--:-- --:--:-- --:--:-- 73926 100 12682 100 12682 0 0 84546 0 --:--:-- --:--:-- --:--:-- 83986 [Pipeline] sh 00:46:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:46:50 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:46:50 sudo tee /etc/docker/daemon.new 00:46:50 { 00:46:50 "registry-mirrors": [ 00:46:50 "https://nexus3.edgexfoundry.org:10001" 00:46:50 ], 00:46:50 "bip": "10.250.0.254/24", 00:46:50 "hosts": [ 00:46:50 "tcp://0.0.0.0:5555", 00:46:50 "unix:///var/run/docker.sock" 00:46:50 ], 00:46:50 "mtu": 1458, 00:46:50 "selinux-enabled": true, 00:46:50 "seccomp-profile": "/etc/docker/seccomp.json" 00:46:50 } [Pipeline] sh 00:46:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:46:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:47:09 provisioning config files... 00:47:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/269@tmp/config13831536346794603242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:47:09 ---> docker-login.sh 00:47:09 nexus3.edgexfoundry.org:10001 00:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:10 Configure a credential helper to remove this warning. See 00:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:10 00:47:10 Login Succeeded 00:47:10 nexus3.edgexfoundry.org:10002 00:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:10 Configure a credential helper to remove this warning. See 00:47:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:10 00:47:10 Login Succeeded 00:47:10 nexus3.edgexfoundry.org:10003 00:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:11 Configure a credential helper to remove this warning. See 00:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:11 00:47:11 Login Succeeded 00:47:11 nexus3.edgexfoundry.org:10004 00:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:12 Configure a credential helper to remove this warning. See 00:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:12 00:47:12 Login Succeeded 00:47:12 docker.io 00:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:12 Configure a credential helper to remove this warning. See 00:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:12 00:47:12 Login Succeeded 00:47:12 ---> docker-login.sh ends [Pipeline] } 00:47:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:47:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:47:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:47:13 ========================================================= 00:47:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:47:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:13 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 00:47:14 Sending build context to Docker daemon 6.031MB 00:47:14 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 00:47:14 Step 2/10 : FROM ${BASE} AS builder 00:47:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:47:14 9fda8d8052c6: Pulling fs layer 00:47:14 5d54e960e981: Pulling fs layer 00:47:14 c4a7e357bf2a: Pulling fs layer 00:47:14 f0e02332f6b5: Pulling fs layer 00:47:14 cefa15bbcfad: Pulling fs layer 00:47:14 17808c966233: Pulling fs layer 00:47:14 f4c1fc716caa: Pulling fs layer 00:47:14 17808c966233: Waiting 00:47:14 cefa15bbcfad: Waiting 00:47:14 f4c1fc716caa: Waiting 00:47:14 f0e02332f6b5: Waiting 00:47:14 5d54e960e981: Verifying Checksum 00:47:14 5d54e960e981: Download complete 00:47:14 f0e02332f6b5: Verifying Checksum 00:47:14 f0e02332f6b5: Download complete 00:47:14 cefa15bbcfad: Verifying Checksum 00:47:14 cefa15bbcfad: Download complete 00:47:14 9fda8d8052c6: Verifying Checksum 00:47:14 9fda8d8052c6: Download complete 00:47:14 f4c1fc716caa: Verifying Checksum 00:47:14 f4c1fc716caa: Download complete 00:47:15 9fda8d8052c6: Pull complete 00:47:16 5d54e960e981: Pull complete 00:47:16 c4a7e357bf2a: Verifying Checksum 00:47:16 c4a7e357bf2a: Download complete 00:47:17 17808c966233: Verifying Checksum 00:47:17 17808c966233: Download complete 00:47:29 c4a7e357bf2a: Pull complete 00:47:29 f0e02332f6b5: Pull complete 00:47:29 cefa15bbcfad: Pull complete 00:47:38 17808c966233: Pull complete 00:47:40 f4c1fc716caa: Pull complete 00:47:40 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 00:47:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:47:40 ---> ea914061e18c 00:47:40 Step 3/10 : ARG MAKE=make build 00:47:42 ---> Running in 73dcde9ced25 00:47:42 Removing intermediate container 73dcde9ced25 00:47:42 ---> 55b469d4e8e5 00:47:42 Step 4/10 : WORKDIR /device-sdk-go 00:47:42 ---> Running in d9ca480c88ef 00:47:42 Removing intermediate container d9ca480c88ef 00:47:42 ---> e561f2ebd9d3 00:47:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:47:42 ---> Running in 50e0b5313f60 00:47:43 Removing intermediate container 50e0b5313f60 00:47:43 ---> 9337cd504a4b 00:47:43 Step 6/10 : RUN apk add --update --no-cache make git 00:47:43 ---> Running in 0195c73346f0 00:47:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:47:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:47:45 OK: 266 MiB in 52 packages 00:47:47 Removing intermediate container 0195c73346f0 00:47:47 ---> 853fe4d36832 00:47:47 Step 7/10 : COPY go.mod vendor* ./ 00:47:47 ---> 6fb58d83391f 00:47:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:47:47 ---> Running in 46a6686ea6ca 00:49:09 Removing intermediate container 46a6686ea6ca 00:49:09 ---> 53b1f21de527 00:49:09 Step 9/10 : COPY . . 00:49:09 ---> 5afa4f2bd632 00:49:09 Step 10/10 : RUN ${MAKE} 00:49:09 ---> Running in 1e4842191780 00:49:09 noop 00:49:09 Removing intermediate container 1e4842191780 00:49:09 ---> bcf9478c2241 00:49:09 Successfully built bcf9478c2241 00:49:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:09 + docker inspect -f . ci-base-image-arm64 00:49:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:10 prd-ubuntu20.04-docker-arm64-4c-16g-16779 does not seem to be running inside a container 00:49:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/269 -v /w/workspace/device-sdk-go/269:/w/workspace/device-sdk-go/269:rw,z -v /w/workspace/device-sdk-go/269@tmp:/w/workspace/device-sdk-go/269@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 00:49:13 $ docker top 61a4c1d9d34d9a3c8e43f1ae6aabb7ecd9995f116d14ac33e445d44e4f458146 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:14 + go version 00:49:14 go version go1.21.0 linux/arm64 [Pipeline] } 00:49:14 $ docker stop --time=1 61a4c1d9d34d9a3c8e43f1ae6aabb7ecd9995f116d14ac33e445d44e4f458146 00:49:16 $ docker rm -f --volumes 61a4c1d9d34d9a3c8e43f1ae6aabb7ecd9995f116d14ac33e445d44e4f458146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:17 + docker inspect -f . ci-base-image-arm64 00:49:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:17 prd-ubuntu20.04-docker-arm64-4c-16g-16779 does not seem to be running inside a container 00:49:17 $ 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/269 -v /w/workspace/device-sdk-go/269:/w/workspace/device-sdk-go/269:rw,z -v /w/workspace/device-sdk-go/269@tmp:/w/workspace/device-sdk-go/269@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 00:49:18 $ docker top 0b72b04d8ac99edd31968f42ef8bb86177b299aaaf40a9f3afbb13f4258eb179 -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:19 + git config --global --add safe.directory /w/workspace/device-sdk-go/269 [Pipeline] fileExists [Pipeline] sh 00:49:20 + make test 00:49:20 go test -race -coverprofile=coverage.out ./... 00:50:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:52:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:52:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:52:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:52:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:52:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:52:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.248s coverage: 27.6% of statements 00:52:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.294s coverage: 81.5% of statements 00:52:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:52:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:52:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.373s coverage: 86.0% of statements 00:52:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:52:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.457s coverage: 71.8% of statements 00:52:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.270s coverage: 14.4% of statements 00:52:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.034s coverage: 45.9% of statements 00:52:43 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:52:43 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:52:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.424s coverage: 68.5% of statements 00:52:47 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.470s coverage: 89.2% of statements 00:52:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:52:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.244s coverage: 5.5% of statements 00:52:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:52:50 GO111MODULE=on go vet ./... 00:55:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:55:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:55:12 ./bin/test-attribution-txt.sh [Pipeline] echo 00:55:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:55:12 $ docker stop --time=1 0b72b04d8ac99edd31968f42ef8bb86177b299aaaf40a9f3afbb13f4258eb179 00:55:17 $ docker rm -f --volumes 0b72b04d8ac99edd31968f42ef8bb86177b299aaaf40a9f3afbb13f4258eb179 [Pipeline] // withDockerContainer [Pipeline] sh 00:55:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:55:18 Warning: overwriting stash ‘coverage-report’ 00:55:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:55:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:55:20 + ls -al . 00:55:20 total 304 00:55:20 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 00:49 . 00:55:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:46 .. 00:55:20 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 00:46 .dockerignore 00:55:20 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:46 .git 00:55:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:46 .github 00:55:20 -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 00:46 .gitignore 00:55:20 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 00:46 .golangci.yml 00:55:20 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 00:46 CHANGELOG.md 00:55:20 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:46 GOVERNANCE.md 00:55:20 -rw-rw-r-- 1 jenkins jenkins 885 Nov 7 00:46 Jenkinsfile 00:55:20 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 00:46 LICENSE 00:55:20 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 7 00:46 Makefile 00:55:20 -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 00:46 OWNERS.md 00:55:20 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 7 00:46 README.md 00:55:20 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 00:43 VERSION 00:55:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:46 bin 00:55:20 -rw-r--r-- 1 jenkins jenkins 122153 Nov 7 00:52 coverage.out 00:55:20 drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 00:46 example 00:55:20 -rw-rw-r-- 1 jenkins jenkins 3683 Nov 7 00:46 go.mod 00:55:20 -rw-rw-r-- 1 jenkins jenkins 34197 Nov 7 00:46 go.sum 00:55:20 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:46 internal 00:55:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:46 openapi 00:55:20 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 00:46 pkg 00:55:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:46 snap 00:55:20 -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 00:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:20 + 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=7730e9b2488ebe82cf8f1ec58f41fa934430b51b --label arch=arm64 --label version=3.1.0-dev.40 . 00:55:21 Sending build context to Docker daemon 6.154MB 00:55:21 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 00:55:21 Step 2/23 : FROM ${BASE} AS builder 00:55:21 ---> bcf9478c2241 00:55:21 Step 3/23 : ARG MAKE=make build 00:55:21 ---> Running in e436efae0f20 00:55:22 Removing intermediate container e436efae0f20 00:55:22 ---> 87a49d210c0e 00:55:22 Step 4/23 : WORKDIR /device-sdk-go 00:55:22 ---> Running in 86a77e51289f 00:55:22 Removing intermediate container 86a77e51289f 00:55:22 ---> 4a3457806526 00:55:22 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:55:22 ---> Running in c57333b3c697 00:55:22 Removing intermediate container c57333b3c697 00:55:22 ---> d83c4e602546 00:55:22 Step 6/23 : RUN apk add --update --no-cache make git 00:55:22 ---> Running in 92015c8851d2 00:55:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:55:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:55:25 OK: 266 MiB in 52 packages 00:55:26 Removing intermediate container 92015c8851d2 00:55:26 ---> 169b50f68dda 00:55:26 Step 7/23 : COPY go.mod vendor* ./ 00:55:32 ---> 6347a546d1f2 00:55:32 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:32 ---> Running in bded4c7ab246 00:55:34 Removing intermediate container bded4c7ab246 00:55:34 ---> 429f9fb9baa7 00:55:34 Step 9/23 : COPY . . 00:55:35 ---> 6ba0dacca3cf 00:55:35 Step 10/23 : RUN ${MAKE} 00:55:35 ---> Running in 6f1ed4b5ab85 00:55:36 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.40 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.40" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:57:43 Removing intermediate container 6f1ed4b5ab85 00:57:43 ---> f005730f4b66 00:57:43 Step 11/23 : FROM alpine:3.18 00:57:43 3.18: Pulling from library/alpine 00:57:43 579b34f0a95b: Pulling fs layer 00:57:43 579b34f0a95b: Verifying Checksum 00:57:43 579b34f0a95b: Download complete 00:57:43 579b34f0a95b: Pull complete 00:57:43 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:57:43 Status: Downloaded newer image for alpine:3.18 00:57:43 ---> 3cc203321400 00:57:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:57:43 ---> Running in fd84a20947ed 00:57:43 Removing intermediate container fd84a20947ed 00:57:43 ---> 6726be202d73 00:57:43 Step 13/23 : RUN apk add --update --no-cache 00:57:43 ---> Running in 7cd48e0a7112 00:57:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:57:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:57:45 OK: 8 MiB in 15 packages 00:57:46 Removing intermediate container 7cd48e0a7112 00:57:46 ---> a1a803e5799e 00:57:46 Step 14/23 : WORKDIR / 00:57:46 ---> Running in 561876eefaeb 00:57:46 Removing intermediate container 561876eefaeb 00:57:46 ---> cb1b0bb97164 00:57:46 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:57:46 ---> 3024fd77b762 00:57:46 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:57:48 ---> 3e2866e94285 00:57:48 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:57:49 ---> 5c4ed33be6d4 00:57:49 Step 18/23 : EXPOSE 59999 00:57:49 ---> Running in b86cc5b9a393 00:57:49 Removing intermediate container b86cc5b9a393 00:57:49 ---> 13e3dc15f103 00:57:49 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:57:49 ---> Running in 283734a82c8a 00:57:49 Removing intermediate container 283734a82c8a 00:57:49 ---> 15b248553399 00:57:49 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:57:50 ---> Running in c17848a36a6b 00:57:50 Removing intermediate container c17848a36a6b 00:57:50 ---> 9f49396e1b34 00:57:50 Step 21/23 : LABEL arch=arm64 00:57:50 ---> Running in 3317c66f86ac 00:57:50 Removing intermediate container 3317c66f86ac 00:57:50 ---> 1daa8c8138ac 00:57:50 Step 22/23 : LABEL git_sha=7730e9b2488ebe82cf8f1ec58f41fa934430b51b 00:57:50 ---> Running in 6cddf9780e37 00:57:51 Removing intermediate container 6cddf9780e37 00:57:51 ---> a9639a1bdc56 00:57:51 Step 23/23 : LABEL version=3.1.0-dev.40 00:57:51 ---> Running in 51e0d39b9280 00:57:51 Removing intermediate container 51e0d39b9280 00:57:51 ---> 91194fe0ab53 00:57:51 [Warning] One or more build-args [ARCH] were not consumed 00:57:51 Successfully built 91194fe0ab53 00:57:51 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 00:57:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:57:52 00:57:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:57:53 arm64: Pulling from edgex-lftools-log-publisher 00:57:53 8998bd30e6a1: Pulling fs layer 00:57:53 04944245beec: Pulling fs layer 00:57:53 699f458cf7ca: Pulling fs layer 00:57:53 765212b225bb: Pulling fs layer 00:57:53 f23df028b6ca: Pulling fs layer 00:57:53 d65c8cfc05b1: Pulling fs layer 00:57:53 2437ff75d9bd: Pulling fs layer 00:57:53 765212b225bb: Waiting 00:57:53 f23df028b6ca: Waiting 00:57:53 d65c8cfc05b1: Waiting 00:57:53 2437ff75d9bd: Waiting 00:57:53 04944245beec: Verifying Checksum 00:57:53 04944245beec: Download complete 00:57:53 765212b225bb: Verifying Checksum 00:57:53 765212b225bb: Download complete 00:57:53 f23df028b6ca: Verifying Checksum 00:57:53 f23df028b6ca: Download complete 00:57:53 d65c8cfc05b1: Verifying Checksum 00:57:53 d65c8cfc05b1: Download complete 00:57:53 699f458cf7ca: Verifying Checksum 00:57:53 699f458cf7ca: Download complete 00:57:54 8998bd30e6a1: Verifying Checksum 00:57:54 8998bd30e6a1: Download complete 00:57:56 2437ff75d9bd: Verifying Checksum 00:57:56 2437ff75d9bd: Download complete 00:57:58 8998bd30e6a1: Pull complete 00:57:59 04944245beec: Pull complete 00:58:01 699f458cf7ca: Pull complete 00:58:01 765212b225bb: Pull complete 00:58:01 f23df028b6ca: Pull complete 00:58:02 d65c8cfc05b1: Pull complete 00:58:24 2437ff75d9bd: Pull complete 00:58:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:58:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:58:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:24 prd-ubuntu20.04-docker-arm64-4c-16g-16779 does not seem to be running inside a container 00:58:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/269 -v /w/workspace/device-sdk-go/269:/w/workspace/device-sdk-go/269:rw,z -v /w/workspace/device-sdk-go/269@tmp:/w/workspace/device-sdk-go/269@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 00:58:27 $ docker top 4e2506564ad3a673400041d5a8c1b072472d011b06a7aa02a1d6f0d82c798553 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:58:28 ---> job-cost.sh 00:58:28 lf-activate-venv: SKIPPING 00:58:28 INFO: No Stack... 00:58:28 INFO: Retrieving Pricing Info for: v3-standard-4 00:58:29 INFO: Archiving Costs [Pipeline] sh 00:58:30 + cat /w/workspace/device-sdk-go/269/archives/cost.csv 00:58:30 + cut -d, -f6 [Pipeline] lock 00:58:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] 00:58:30 Resource [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] did not exist. Created. 00:58:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:58:30 /w/workspace/device-sdk-go/269@tmp/durable-f8f1f850/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:58:31 + echo total: 0.10999999940395355 [Pipeline] stash 00:58:31 Warning: overwriting stash ‘stack-cost’ 00:58:31 Stashed 1 file(s) [Pipeline] } 00:58:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-269-stack-cost] [Pipeline] // lock [Pipeline] } 00:58:31 $ docker stop --time=1 4e2506564ad3a673400041d5a8c1b072472d011b06a7aa02a1d6f0d82c798553 00:58:33 $ docker rm -f --volumes 4e2506564ad3a673400041d5a8c1b072472d011b06a7aa02a1d6f0d82c798553 [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 00:58:33 provisioning config files... 00:58:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2735966577785653151tmp [Pipeline] { [Pipeline] sh 00:58:33 + set +x 00:58:33 + curl -s https://codecov.io/bash 00:58:33 + bash -s -- 00:58:33 00:58:33 _____ _ 00:58:33 / ____| | | 00:58:33 | | ___ __| | ___ ___ _____ __ 00:58:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:58:33 | |___| (_) | (_| | __/ (_| (_) \ V / 00:58:33 \_____\___/ \__,_|\___|\___\___/ \_/ 00:58:33 Bash-1.0.6 00:58:33 00:58:33 00:58:33 ==> git version 2.25.1 found 00:58:33 ==> 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 00:58:33 Release-Date: 2020-01-08 00:58:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:58:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:58:33 ==> Jenkins CI detected. 00:58:33 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 00:58:33 project root: . 00:58:33 --> token set from env 00:58:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:58:33 ==> Running gcov in . (disable via -X gcov) 00:58:33 ==> Python coveragepy not found 00:58:33 ==> Searching for coverage reports in: 00:58:33 + . 00:58:34 -> Found 1 reports 00:58:34 ==> Detecting git/mercurial file structure 00:58:34 ==> Reading reports 00:58:34 + ./coverage.out bytes=122153 00:58:34 ==> Appending adjustments 00:58:34 https://docs.codecov.io/docs/fixing-reports 00:58:34 + Found adjustments 00:58:34 ==> Gzipping contents 00:58:34 20K /tmp/codecov.Do6P6e.gz 00:58:34 ==> Uploading reports 00:58:34 url: https://codecov.io 00:58:34 query: branch=main&commit=7730e9b2488ebe82cf8f1ec58f41fa934430b51b&build=269&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F269%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:58:34 -> Pinging Codecov 00:58:34 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=7730e9b2488ebe82cf8f1ec58f41fa934430b51b&build=269&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F269%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:58:34 -> Uploading to 00:58:34 https://storage.googleapis.com/codecov/v4/raw/2023-11-07/7E55EF52A471D76F132DFD9A03CDDE97/7730e9b2488ebe82cf8f1ec58f41fa934430b51b/4792a0c1-85be-47e7-bc01-86837e6b41ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T005834Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c28765b2867d28595f8ee6df1dd6868ef9ccc7bfe7ca69bee8acffcec9dd7018 00:58:34 % Total % Received % Xferd Average Speed Time Time Time Current 00:58:34 Dload Upload Total Spent Left Speed 00:58:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16746 0 0 100 16746 0 61566 --:--:-- --:--:-- --:--:-- 61566 00:58:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] } 00:58:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:58:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:58:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:58:35 00:58:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:58:35 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:58:35 df9b9388f04a: Pulling fs layer 00:58:35 52dc419b0ee2: Pulling fs layer 00:58:35 25bc292e5bac: Pulling fs layer 00:58:35 114826534d7a: Pulling fs layer 00:58:35 4657fd5d0bcf: Pulling fs layer 00:58:35 6ad1cebc031e: Pulling fs layer 00:58:35 8a3aa393b2d8: Pulling fs layer 00:58:35 4657fd5d0bcf: Waiting 00:58:35 6ad1cebc031e: Waiting 00:58:35 8a3aa393b2d8: Waiting 00:58:35 114826534d7a: Waiting 00:58:35 25bc292e5bac: Verifying Checksum 00:58:35 25bc292e5bac: Download complete 00:58:35 52dc419b0ee2: Verifying Checksum 00:58:35 52dc419b0ee2: Download complete 00:58:35 4657fd5d0bcf: Verifying Checksum 00:58:35 4657fd5d0bcf: Download complete 00:58:35 df9b9388f04a: Download complete 00:58:35 df9b9388f04a: Pull complete 00:58:35 6ad1cebc031e: Verifying Checksum 00:58:35 6ad1cebc031e: Download complete 00:58:35 52dc419b0ee2: Pull complete 00:58:35 25bc292e5bac: Pull complete 00:58:36 114826534d7a: Verifying Checksum 00:58:36 114826534d7a: Download complete 00:58:36 8a3aa393b2d8: Verifying Checksum 00:58:36 8a3aa393b2d8: Download complete 00:58:39 114826534d7a: Pull complete 00:58:40 4657fd5d0bcf: Pull complete 00:58:40 6ad1cebc031e: Pull complete 00:58:42 8a3aa393b2d8: Pull complete 00:58:42 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:58:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:42 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 00:58:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:58:46 $ docker top 5a626945fe322666974663ab2dd5c60763b3e96bd2349345deed3f66e1fcc421 -eo pid,comm [Pipeline] { [Pipeline] echo 00:58:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 00:58:46 + set -o pipefail 00:58:46 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 00:58:51 00:58:51 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 00:58:51 00:58:51 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/9605d323-38d9-4d36-a818-22a9fd36568d 00:58:51 00:58:51 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:58:51 00:58:51 00:58:51 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:58:51 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:58:51 More details here: https://snyk.co/ue1NS 00:58:51 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:58:51 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:58:51 $ docker stop --time=1 5a626945fe322666974663ab2dd5c60763b3e96bd2349345deed3f66e1fcc421 00:58:55 $ docker rm -f --volumes 5a626945fe322666974663ab2dd5c60763b3e96bd2349345deed3f66e1fcc421 [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 00:58:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:58:55 provisioning config files... 00:58:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15743406684979141718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:58:56 --> edgex-publish-swagger.sh 00:58:56 === Publish openapi/v3 API === 00:58:56 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 00:58:56 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 00:58:56 % Total % Received % Xferd Average Speed Time Time Time Current 00:58:56 Dload Upload Total Spent Left Speed 00:58:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 19184 0:00:01 0:00:01 --:--:-- 19184 100 23674 0 0 100 23674 0 10592 0:00:02 0:00:02 --:--:-- 10592 100 23674 0 0 100 23674 0 7313 0:00:03 0:00:03 --:--:-- 7313 100 23674 0 0 100 23674 0 5890 0:00:04 0:00:04 --:--:-- 5890 100 23674 0 0 100 23674 0 5890 0:00:04 0:00:04 --:--:-- 5890 00:58:59 00:58:59 [Pipeline] } 00:58:59 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 00:59:00 + git log --format=format:%s -1 7730e9b2488ebe82cf8f1ec58f41fa934430b51b [Pipeline] sh 00:59:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:59:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:59:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:00 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 00:59:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:59:01 $ docker top 81f959c8628e796444dcabbe41e95e04614468fb2f553f9cc6bb6cf893ac370f -eo pid,comm 00:59:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:59:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:59:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:59:01 [ssh-agent] Looking for ssh-agent implementation... 00:59:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:59:01 $ docker exec 81f959c8628e796444dcabbe41e95e04614468fb2f553f9cc6bb6cf893ac370f ssh-agent 00:59:01 SSH_AUTH_SOCK=/tmp/ssh-E1lvXOFo820v/agent.32 00:59:01 SSH_AGENT_PID=38 00:59:01 Running ssh-add (command line suppressed) 00:59:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2562553444077480818.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2562553444077480818.key) 00:59:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:59:02 + git semver tag 00:59:02 2023-11-07 00:59:02,300 [run_tag] DEBUG tag force:False 00:59:02 2023-11-07 00:59:02,301 [check_head_tag] DEBUG check head tag 00:59:02 2023-11-07 00:59:02,302 [execute] INFO git cat-file --batch-check 00:59:02 2023-11-07 00:59:02,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:59:02 2023-11-07 00:59:02,305 [execute] INFO git cat-file --batch 00:59:02 2023-11-07 00:59:02,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:59:02 2023-11-07 00:59:02,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:59:02 2023-11-07 00:59:02,326 [execute] INFO git tag -a v3.1.0-dev.40 -m v3.1.0-dev.40 00:59:02 2023-11-07 00:59:02,327 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.40', '-m', 'v3.1.0-dev.40'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:59:02 2023-11-07 00:59:02,332 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:59:02 3.1.0-dev.40 [Pipeline] } 00:59:02 $ docker exec --env ******** --env ******** 81f959c8628e796444dcabbe41e95e04614468fb2f553f9cc6bb6cf893ac370f ssh-agent -k 00:59:02 unset SSH_AUTH_SOCK; 00:59:02 unset SSH_AGENT_PID; 00:59:02 echo Agent pid 38 killed; 00:59:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:59:03 + git semver [Pipeline] } 00:59:03 $ docker stop --time=1 81f959c8628e796444dcabbe41e95e04614468fb2f553f9cc6bb6cf893ac370f 00:59:04 $ docker rm -f --volumes 81f959c8628e796444dcabbe41e95e04614468fb2f553f9cc6bb6cf893ac370f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:59:04 00:59:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:59:05 0.23.1-centos7: Pulling from edgex-lftools 00:59:05 ab5ef0e58194: Pulling fs layer 00:59:05 9712f1f96733: Pulling fs layer 00:59:05 63f879dbbcfc: Pulling fs layer 00:59:05 0d9ebad4ef96: Pulling fs layer 00:59:05 e9a5061849ea: Pulling fs layer 00:59:05 d747dcd14b5f: Pulling fs layer 00:59:05 2de7ff778b66: Pulling fs layer 00:59:05 e9a5061849ea: Waiting 00:59:05 2de7ff778b66: Waiting 00:59:05 d747dcd14b5f: Waiting 00:59:05 0d9ebad4ef96: Waiting 00:59:05 9712f1f96733: Verifying Checksum 00:59:05 9712f1f96733: Download complete 00:59:05 63f879dbbcfc: Verifying Checksum 00:59:05 63f879dbbcfc: Download complete 00:59:05 e9a5061849ea: Verifying Checksum 00:59:05 e9a5061849ea: Download complete 00:59:05 0d9ebad4ef96: Verifying Checksum 00:59:05 0d9ebad4ef96: Download complete 00:59:05 d747dcd14b5f: Verifying Checksum 00:59:05 d747dcd14b5f: Download complete 00:59:05 ab5ef0e58194: Verifying Checksum 00:59:05 ab5ef0e58194: Download complete 00:59:06 2de7ff778b66: Verifying Checksum 00:59:06 2de7ff778b66: Download complete 00:59:08 ab5ef0e58194: Pull complete 00:59:08 9712f1f96733: Pull complete 00:59:08 63f879dbbcfc: Pull complete 00:59:12 0d9ebad4ef96: Pull complete 00:59:12 e9a5061849ea: Pull complete 00:59:12 d747dcd14b5f: Pull complete 00:59:13 2de7ff778b66: Pull complete 00:59:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:59:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:59:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:13 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 00:59:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:59:17 $ docker top 613bf4d736c173b00709e6242155090da979f809caf944192c5216917245f368 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:59:17 provisioning config files... 00:59:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8217641473404613843tmp 00:59:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11577931414043047834tmp 00:59:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9589484488281668277tmp [Pipeline] { [Pipeline] echo 00:59:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:59:17 ---> sigul-configuration.sh 00:59:17 gpg: directory `/root/.gnupg' created 00:59:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:59:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:59:17 gpg: keyring `/root/.gnupg/secring.gpg' created 00:59:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:59:17 gpg: CAST5 encrypted data 00:59:17 gpg: encrypted with 1 passphrase 00:59:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:59:18 + mkdir /home/jenkins 00:59:18 + mkdir /home/jenkins/sigul [Pipeline] sh 00:59:18 + 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 00:59:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:59:18 ---> sigul-install.sh 00:59:18 Sigul already installed; skipping installation. [Pipeline] sh 00:59:18 + git tag --list 00:59:18 0.7.1 00:59:18 delhi-tag 00:59:18 v1.0.0 00:59:18 v1.1.0 00:59:18 v1.1.1 00:59:18 v1.1.2 00:59:18 v1.2.0 00:59:18 v1.2.1 00:59:18 v1.2.2 00:59:18 v1.2.3 00:59:18 v1.3.0 00:59:18 v1.4.0 00:59:18 v2.0.0 00:59:18 v2.1.0 00:59:18 v2.1.1 00:59:18 v2.2.0 00:59:18 v2.3.0 00:59:18 v2.3.1 00:59:18 v3.0 00:59:18 v3.0.0 00:59:18 v3.0.1-dev.1 00:59:18 v3.1.0-dev.1 00:59:18 v3.1.0-dev.10 00:59:18 v3.1.0-dev.11 00:59:18 v3.1.0-dev.12 00:59:18 v3.1.0-dev.13 00:59:18 v3.1.0-dev.14 00:59:18 v3.1.0-dev.15 00:59:18 v3.1.0-dev.16 00:59:18 v3.1.0-dev.17 00:59:18 v3.1.0-dev.18 00:59:18 v3.1.0-dev.19 00:59:18 v3.1.0-dev.2 00:59:18 v3.1.0-dev.20 00:59:18 v3.1.0-dev.21 00:59:18 v3.1.0-dev.22 00:59:18 v3.1.0-dev.23 00:59:18 v3.1.0-dev.24 00:59:18 v3.1.0-dev.25 00:59:18 v3.1.0-dev.26 00:59:18 v3.1.0-dev.27 00:59:18 v3.1.0-dev.28 00:59:18 v3.1.0-dev.29 00:59:18 v3.1.0-dev.3 00:59:18 v3.1.0-dev.30 00:59:18 v3.1.0-dev.31 00:59:18 v3.1.0-dev.32 00:59:18 v3.1.0-dev.33 00:59:18 v3.1.0-dev.34 00:59:18 v3.1.0-dev.35 00:59:18 v3.1.0-dev.36 00:59:18 v3.1.0-dev.37 00:59:18 v3.1.0-dev.38 00:59:18 v3.1.0-dev.39 00:59:18 v3.1.0-dev.4 00:59:18 v3.1.0-dev.40 00:59:18 v3.1.0-dev.5 00:59:18 v3.1.0-dev.6 00:59:18 v3.1.0-dev.7 00:59:18 v3.1.0-dev.8 00:59:18 v3.1.0-dev.9 [Pipeline] sh 00:59:19 + lftools sign git-tag v3.1.0-dev.40 00:59:19 Signing Git tag with Sigul... 00:59:19 Signing v3.1.0-dev.40 [Pipeline] echo 00:59:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:59:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:59:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:59:20 $ docker stop --time=1 613bf4d736c173b00709e6242155090da979f809caf944192c5216917245f368 00:59:21 $ docker rm -f --volumes 613bf4d736c173b00709e6242155090da979f809caf944192c5216917245f368 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:59:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:59:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:59:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:22 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 00:59:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:59:22 $ docker top ebfbf20ee834054e99b55b0335f087438a7970b54da9ac80c480088d87011bf7 -eo pid,comm 00:59:22 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). 00:59:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:59:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:59:22 [ssh-agent] Looking for ssh-agent implementation... 00:59:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:59:22 $ docker exec ebfbf20ee834054e99b55b0335f087438a7970b54da9ac80c480088d87011bf7 ssh-agent 00:59:23 SSH_AUTH_SOCK=/tmp/ssh-5XZAOT20nqGi/agent.31 00:59:23 SSH_AGENT_PID=37 00:59:23 Running ssh-add (command line suppressed) 00:59:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6011232231908977038.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6011232231908977038.key) 00:59:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:59:23 + git semver bump pre 00:59:23 2023-11-07 00:59:23,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:59:23 2023-11-07 00:59:23,631 [bump_version] DEBUG bumping version:3.1.0-dev.40 on axis:pre with prefix:dev 00:59:23 2023-11-07 00:59:23,631 [bump_version] DEBUG bumped version:3.1.0-dev.41 00:59:23 2023-11-07 00:59:23,631 [write_version] DEBUG write version:3.1.0-dev.41 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 00:59:23 2023-11-07 00:59:23,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:59:23 2023-11-07 00:59:23,631 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:59:23 2023-11-07 00:59:23,633 [execute] INFO git cat-file --batch-check 00:59:23 2023-11-07 00:59:23,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:59:23 2023-11-07 00:59:23,638 [execute] INFO git cat-file --batch 00:59:23 2023-11-07 00:59:23,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:59:23 2023-11-07 00:59:23,643 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:59:23 3.1.0-dev.41 [Pipeline] } 00:59:23 $ docker exec --env ******** --env ******** ebfbf20ee834054e99b55b0335f087438a7970b54da9ac80c480088d87011bf7 ssh-agent -k 00:59:23 unset SSH_AUTH_SOCK; 00:59:23 unset SSH_AGENT_PID; 00:59:23 echo Agent pid 37 killed; 00:59:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:59:24 + git semver [Pipeline] } 00:59:24 $ docker stop --time=1 ebfbf20ee834054e99b55b0335f087438a7970b54da9ac80c480088d87011bf7 00:59:25 $ docker rm -f --volumes ebfbf20ee834054e99b55b0335f087438a7970b54da9ac80c480088d87011bf7 [Pipeline] // withDockerContainer [Pipeline] sh 00:59:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:59:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:59:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:26 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 00:59: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:59:26 $ docker top 97e58a1d44b3b856bc007caaacf46136d05106223d52eb2efebbd70346d95217 -eo pid,comm 00:59:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:59:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:59:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:59:26 [ssh-agent] Looking for ssh-agent implementation... 00:59:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:59:26 $ docker exec 97e58a1d44b3b856bc007caaacf46136d05106223d52eb2efebbd70346d95217 ssh-agent 00:59:27 SSH_AUTH_SOCK=/tmp/ssh-HTqlqMMfMm6U/agent.31 00:59:27 SSH_AGENT_PID=37 00:59:27 Running ssh-add (command line suppressed) 00:59:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16518062078531770864.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16518062078531770864.key) 00:59:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:59:27 + git semver push 00:59:27 2023-11-07 00:59:27,649 [run_push] DEBUG push 00:59:27 2023-11-07 00:59:27,649 [execute] INFO git cat-file --batch-check 00:59:27 2023-11-07 00:59:27,650 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:59:27 2023-11-07 00:59:27,652 [execute] INFO git rev-list 105ccd1f24060c0dfd3f56e92a6f3bda414d5a89 -- 00:59:27 2023-11-07 00:59:27,653 [execute] DEBUG Popen(['git', 'rev-list', '105ccd1f24060c0dfd3f56e92a6f3bda414d5a89', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:59:27 2023-11-07 00:59:27,664 [execute] INFO git fetch -v origin 00:59:27 2023-11-07 00:59:27,664 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:59:28 2023-11-07 00:59:28,192 [run_push] DEBUG no remote changes detected 00:59:28 2023-11-07 00:59:28,192 [execute] INFO git push origin semver 00:59:28 2023-11-07 00:59:28,193 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:59:29 2023-11-07 00:59:29,008 [run_push] DEBUG push all version tags 00:59:29 2023-11-07 00:59:29,009 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:59:29 2023-11-07 00:59:29,010 [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) 00:59:29 2023-11-07 00:59:29,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:59:29 3.1.0-dev.41 [Pipeline] } 00:59:29 $ docker exec --env ******** --env ******** 97e58a1d44b3b856bc007caaacf46136d05106223d52eb2efebbd70346d95217 ssh-agent -k 00:59:29 unset SSH_AUTH_SOCK; 00:59:29 unset SSH_AGENT_PID; 00:59:29 echo Agent pid 37 killed; 00:59:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:59:30 + git semver [Pipeline] } 00:59:30 $ docker stop --time=1 97e58a1d44b3b856bc007caaacf46136d05106223d52eb2efebbd70346d95217 00:59:31 $ docker rm -f --volumes 97e58a1d44b3b856bc007caaacf46136d05106223d52eb2efebbd70346d95217 [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 00:59:32 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 00:59:32 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:59:32 total 16 00:59:32 drwxr-xr-x 3 root root 4096 Nov 7 00:45 . 00:59:32 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:59 .. 00:59:32 drwxr-xr-x 2 root root 4096 Nov 7 00:45 cost 00:59:32 -rw-r--r-- 1 root root 85 Nov 7 00:45 cost.csv 00:59:32 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:59:32 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:59:32 total 16 00:59:32 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:45 . 00:59:32 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:59 .. 00:59:32 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 00:45 cost 00:59:32 -rw-r--r-- 1 jenkins jenkins 85 Nov 7 00:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:59:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:59:33 ---> package-listing.sh 00:59:33 ++ facter osfamily 00:59:33 ++ tr '[:upper:]' '[:lower:]' 00:59:33 + OS_FAMILY=debian 00:59:33 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 00:59:33 + START_PACKAGES=/tmp/packages_start.txt 00:59:33 + END_PACKAGES=/tmp/packages_end.txt 00:59:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:59:33 + PACKAGES=/tmp/packages_start.txt 00:59:33 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:59:33 + PACKAGES=/tmp/packages_end.txt 00:59:33 + case "${OS_FAMILY}" in 00:59:33 + dpkg -l 00:59:33 + grep '^ii' 00:59:33 + '[' -f /tmp/packages_start.txt ']' 00:59:33 + '[' -f /tmp/packages_end.txt ']' 00:59:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:59:33 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:59:33 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 00:59:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 00:59:33 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 00:59:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:59:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:59:34 prd-ubuntu20.04-docker-8c-8g-16774 does not seem to be running inside a container 00:59:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:59:35 $ docker top be4c30350246c90c5d2b3699e84d310e249145b06808e80f3009576cc2c83555 -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:35 + touch /tmp/pre-build-complete [Pipeline] sh 00:59:35 + mkdir -p /var/log/sysstat [Pipeline] sh 00:59:36 + ls /var/log/sa-host 00:59:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:36 provisioning config files... 00:59:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2136520209839703972tmp [Pipeline] { [Pipeline] echo 00:59:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:59:36 ---> create-netrc.sh [Pipeline] } 00:59:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:59:36 ---> python-tools-install.sh [Pipeline] echo 00:59:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:59:37 ---> sudo-logs.sh 00:59:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:59:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:59:37 ---> job-cost.sh 00:59:37 lf-activate-venv: SKIPPING 00:59:37 DEBUG: total: 0.2199999988079071 00:59:37 INFO: Retrieving Stack Cost... 00:59:37 INFO: Retrieving Pricing Info for: v3-standard-8 00:59:38 INFO: Archiving Costs [Pipeline] echo 00:59:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:59:38 ---> logs-deploy.sh 00:59:38 lf-activate-venv: SKIPPING 00:59:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/269 00:59:38 INFO: archiving workspace using pattern(s): 00:59:39 Archives upload complete. 00:59:39 INFO: archiving logs to Nexus