Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 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-ssh1668234572313717235.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh4869768132799139763.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh7017840166342530757.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh13347971587166397001.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-ssh13886745028006543456.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 ‘prd-ubuntu20.04-docker-8c-8g-6601’ Running on prd-ubuntu20.04-docker-8c-8g-6603 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 (main) Commit message: "Merge pull request #1513 from ejlee3/provision-index" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 # timeout=10 > git rev-list --no-walk 98543e36ecf96a570242d73ea5ad964aaa05b01f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:34:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:34:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:34:45 ========================================================= 18:34:45 EdgeX Global Pipelines Version Info 18:34:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:34:45 ------------------- 18:34:45 stable info: 18:34:45 ------------------- 18:34:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:34:45 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:34:45 Message: update stable to v1.0.254 18:34:46 ------------------- 18:34:46 experimental info: 18:34:46 ------------------- 18:34:46 Commited By: **** collab-it+edgex@linuxfoundation.org 18:34:46 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:34:46 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:34:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aeefe5b [Pipeline] echo 18:34:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:34:47 provisioning config files... 18:34:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17742513343754540115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:47 ---> docker-login.sh 18:34:47 nexus3.edgexfoundry.org:10001 18:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:47 Configure a credential helper to remove this warning. See 18:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:47 18:34:47 Login Succeeded 18:34:47 nexus3.edgexfoundry.org:10002 18:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:47 Configure a credential helper to remove this warning. See 18:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:47 18:34:47 Login Succeeded 18:34:47 nexus3.edgexfoundry.org:10003 18:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:48 Configure a credential helper to remove this warning. See 18:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:48 18:34:48 Login Succeeded 18:34:48 nexus3.edgexfoundry.org:10004 18:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:48 Configure a credential helper to remove this warning. See 18:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:48 18:34:48 Login Succeeded 18:34:48 docker.io 18:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:48 Configure a credential helper to remove this warning. See 18:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:48 18:34:48 Login Succeeded 18:34:48 ---> docker-login.sh ends [Pipeline] } 18:34:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:34:48 + git rev-list -1 --merges aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02~1..aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] echo 18:34:48 -----------> git rev-list -1 --merges aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02~1..aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 18:34:48 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [false] [Pipeline] sh 18:34:49 + git log --format=format:%s -1 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] echo 18:34:49 ========================================================= 18:34:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:34:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:34:49 + git log --format=format:%s -1 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] echo 18:34:49 [semverPrep] GIT_COMMIT: aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02, Commit Message: Merge pull request #1513 from ejlee3/provision-index [Pipeline] echo 18:34:49 [semverPrep] This is not a build commit. [Pipeline] sh 18:34:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:34:49 + grep -v github /etc/ssh/ssh_known_hosts 18:34:49 + [ -e /tmp/ssh_known_hosts ] 18:34:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:34:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:34:49 + sudo tee -a /etc/ssh/ssh_known_hosts 18:34:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:34:50 18:34:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:34:50 0.1.4: Pulling from edgex-devops/py-git-semver 18:34:50 b85a868b505f: Pulling fs layer 18:34:50 e2be974225ed: Pulling fs layer 18:34:50 339a4e72a1f5: Pulling fs layer 18:34:50 988bab9f4d93: Pulling fs layer 18:34:50 1469e6f7b9e6: Pulling fs layer 18:34:50 eaf3925da568: Pulling fs layer 18:34:50 bab4dde63d76: Pulling fs layer 18:34:50 bde34c3a00c8: Pulling fs layer 18:34:50 b352a97aabf1: Pulling fs layer 18:34:50 4872d77fe225: Pulling fs layer 18:34:50 5851b861e8e6: Pulling fs layer 18:34:50 988bab9f4d93: Waiting 18:34:50 4872d77fe225: Waiting 18:34:50 eaf3925da568: Waiting 18:34:50 1469e6f7b9e6: Waiting 18:34:50 5851b861e8e6: Waiting 18:34:50 b352a97aabf1: Waiting 18:34:50 bde34c3a00c8: Waiting 18:34:50 bab4dde63d76: Waiting 18:34:50 e2be974225ed: Verifying Checksum 18:34:50 e2be974225ed: Download complete 18:34:50 988bab9f4d93: Verifying Checksum 18:34:50 988bab9f4d93: Download complete 18:34:50 339a4e72a1f5: Verifying Checksum 18:34:50 339a4e72a1f5: Download complete 18:34:50 1469e6f7b9e6: Verifying Checksum 18:34:50 1469e6f7b9e6: Download complete 18:34:50 eaf3925da568: Verifying Checksum 18:34:50 eaf3925da568: Download complete 18:34:50 bde34c3a00c8: Verifying Checksum 18:34:50 bde34c3a00c8: Download complete 18:34:50 b352a97aabf1: Verifying Checksum 18:34:50 b352a97aabf1: Download complete 18:34:50 4872d77fe225: Verifying Checksum 18:34:50 4872d77fe225: Download complete 18:34:50 5851b861e8e6: Verifying Checksum 18:34:50 5851b861e8e6: Download complete 18:34:50 b85a868b505f: Verifying Checksum 18:34:50 b85a868b505f: Download complete 18:34:51 bab4dde63d76: Verifying Checksum 18:34:51 bab4dde63d76: Download complete 18:34:52 b85a868b505f: Pull complete 18:34:52 e2be974225ed: Pull complete 18:34:52 339a4e72a1f5: Pull complete 18:34:52 988bab9f4d93: Pull complete 18:34:53 1469e6f7b9e6: Pull complete 18:34:53 eaf3925da568: Pull complete 18:34:55 bab4dde63d76: Pull complete 18:34:55 bde34c3a00c8: Pull complete 18:34:55 b352a97aabf1: Pull complete 18:34:55 4872d77fe225: Pull complete 18:34:55 5851b861e8e6: Pull complete 18:34:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:34:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:34:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:34:55 prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container 18:34:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:34:58 $ docker top fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b -eo pid,comm 18:34:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:34:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:34:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:34:58 [ssh-agent] Looking for ssh-agent implementation... 18:34:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:34:58 $ docker exec fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b ssh-agent 18:34:58 SSH_AUTH_SOCK=/tmp/ssh-uqTRQ0vFhH5H/agent.32 18:34:58 SSH_AGENT_PID=38 18:34:58 Running ssh-add (command line suppressed) 18:34:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17030027209010789050.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17030027209010789050.key) 18:34:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:34:58 + git tag --points-at HEAD [Pipeline] } 18:34:59 $ docker exec --env ******** --env ******** fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b ssh-agent -k 18:34:59 unset SSH_AUTH_SOCK; 18:34:59 unset SSH_AGENT_PID; 18:34:59 echo Agent pid 38 killed; 18:34:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:34:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:34:59 [ssh-agent] Looking for ssh-agent implementation... 18:34:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:34:59 $ docker exec fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b ssh-agent 18:34:59 SSH_AUTH_SOCK=/tmp/ssh-GnAag20akXKr/agent.70 18:34:59 SSH_AGENT_PID=76 18:34:59 Running ssh-add (command line suppressed) 18:34:59 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5168749605008810062.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5168749605008810062.key) 18:34:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:34:59 + git semver init 18:35:02 2023-09-19 18:34:59,965 [run_init] DEBUG init version:0.0.0 force:False 18:35:02 2023-09-19 18:34:59,966 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:35:02 2023-09-19 18:34:59,966 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:35:02 2023-09-19 18:34:59,966 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:35:03 2023-09-19 18:35:03,495 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 18:35:03 2023-09-19 18:35:03,495 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 18:35:03 2023-09-19 18:35:03,496 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:35:03 2023-09-19 18:35:03,496 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:35:03 3.1.0-dev.26 [Pipeline] } 18:35:03 $ docker exec --env ******** --env ******** fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b ssh-agent -k 18:35:03 unset SSH_AUTH_SOCK; 18:35:03 unset SSH_AGENT_PID; 18:35:03 echo Agent pid 76 killed; 18:35:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:35:04 + git semver [Pipeline] } 18:35:04 $ docker stop --time=1 fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b 18:35:05 $ docker rm -f --volumes fe7605b994101231e6202e99b59ed5c0000f5698acf4bcfc28ee47a3c174a81b [Pipeline] // withDockerContainer [Pipeline] sh 18:35:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:35:06 Stashed 1 file(s) [Pipeline] echo 18:35:06 [edgeXSemver]: initialized semver on version 3.1.0-dev.26 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:06 provisioning config files... 18:35:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5881666068137116813tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:06 ---> docker-login.sh 18:35:06 nexus3.edgexfoundry.org:10001 18:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:06 Configure a credential helper to remove this warning. See 18:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:06 18:35:06 Login Succeeded 18:35:06 nexus3.edgexfoundry.org:10002 18:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:06 Configure a credential helper to remove this warning. See 18:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:06 18:35:06 Login Succeeded 18:35:06 nexus3.edgexfoundry.org:10003 18:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:06 Configure a credential helper to remove this warning. See 18:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:06 18:35:06 Login Succeeded 18:35:06 nexus3.edgexfoundry.org:10004 18:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:06 Configure a credential helper to remove this warning. See 18:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:06 18:35:06 Login Succeeded 18:35:06 docker.io 18:35:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:07 Configure a credential helper to remove this warning. See 18:35:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:07 18:35:07 Login Succeeded 18:35:07 ---> docker-login.sh ends [Pipeline] } 18:35:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:35:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:35:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:35:07 ========================================================= 18:35:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:35:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:07 + 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 . 18:35:07 Sending build context to Docker daemon 11.14MB 18:35:07 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:35:07 Step 2/10 : FROM ${BASE} AS builder 18:35:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:35:07 7264a8db6415: Pulling fs layer 18:35:07 c4d48a809fc2: Pulling fs layer 18:35:07 4f1c88b9dad5: Pulling fs layer 18:35:07 ad3a456e5733: Pulling fs layer 18:35:07 9e4f439ed901: Pulling fs layer 18:35:07 feaf6a47b606: Pulling fs layer 18:35:07 5e8b037d7d82: Pulling fs layer 18:35:07 8ac70367396e: Pulling fs layer 18:35:07 6db16350a2e2: Pulling fs layer 18:35:07 9250d5d63582: Pulling fs layer 18:35:07 ad3a456e5733: Waiting 18:35:07 9e4f439ed901: Waiting 18:35:07 6db16350a2e2: Waiting 18:35:07 9250d5d63582: Waiting 18:35:07 8ac70367396e: Waiting 18:35:07 5e8b037d7d82: Waiting 18:35:07 c4d48a809fc2: Download complete 18:35:07 ad3a456e5733: Verifying Checksum 18:35:07 ad3a456e5733: Download complete 18:35:07 9e4f439ed901: Download complete 18:35:07 7264a8db6415: Verifying Checksum 18:35:07 7264a8db6415: Download complete 18:35:07 feaf6a47b606: Verifying Checksum 18:35:07 feaf6a47b606: Download complete 18:35:07 7264a8db6415: Pull complete 18:35:08 8ac70367396e: Verifying Checksum 18:35:08 8ac70367396e: Download complete 18:35:08 c4d48a809fc2: Pull complete 18:35:08 4f1c88b9dad5: Verifying Checksum 18:35:08 4f1c88b9dad5: Download complete 18:35:08 6db16350a2e2: Verifying Checksum 18:35:08 6db16350a2e2: Download complete 18:35:08 9250d5d63582: Verifying Checksum 18:35:08 9250d5d63582: Download complete 18:35:08 5e8b037d7d82: Verifying Checksum 18:35:08 5e8b037d7d82: Download complete 18:35:11 4f1c88b9dad5: Pull complete 18:35:11 ad3a456e5733: Pull complete 18:35:11 9e4f439ed901: Pull complete 18:35:11 feaf6a47b606: Pull complete 18:35:14 5e8b037d7d82: Pull complete 18:35:14 8ac70367396e: Pull complete 18:35:14 6db16350a2e2: Pull complete 18:35:15 9250d5d63582: Pull complete 18:35:15 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 18:35:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:35:15 ---> fa269f55d9b9 18:35:15 Step 3/10 : ARG MAKE=make build 18:35:19 ---> Running in 3a03e8f763b6 18:35:19 Removing intermediate container 3a03e8f763b6 18:35:19 ---> 1c0c82652094 18:35:19 Step 4/10 : WORKDIR /device-sdk-go 18:35:19 ---> Running in a9acc2c1b35b 18:35:19 Removing intermediate container a9acc2c1b35b 18:35:19 ---> c13fd902db75 18:35:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:35:19 ---> Running in b16cbd5e66af 18:35:19 Removing intermediate container b16cbd5e66af 18:35:19 ---> 02b10ea00fb0 18:35:19 Step 6/10 : RUN apk add --update --no-cache make git 18:35:19 ---> Running in 42e7316c918e 18:35:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:35:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:35:19 OK: 265 MiB in 56 packages 18:35:19 Removing intermediate container 42e7316c918e 18:35:19 ---> d86beef8e703 18:35:19 Step 7/10 : COPY go.mod vendor* ./ 18:35:20 ---> 1b5152dce160 18:35:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:35:20 ---> Running in 842abe1dfc8a 18:35:21 Still waiting to schedule task 18:35:21 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6602’ is offline 18:35:58 Removing intermediate container 842abe1dfc8a 18:35:58 ---> 4185ce0ed4f3 18:35:58 Step 9/10 : COPY . . 18:35:58 ---> 59d2ec06beaf 18:35:58 Step 10/10 : RUN ${MAKE} 18:35:58 ---> Running in 9514effdab40 18:35:58 noop 18:35:58 Removing intermediate container 9514effdab40 18:35:58 ---> f4feca8ec2a5 18:35:58 Successfully built f4feca8ec2a5 18:35:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:59 + docker inspect -f . ci-base-image-x86_64 18:35:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:59 prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container 18:35:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:35:59 $ docker top 072115f2eb83f46873bd20db45e45e4598e4c91d894801c9e8721471cb6ae7c3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:00 + go version 18:36:00 go version go1.21.0 linux/amd64 [Pipeline] } 18:36:00 $ docker stop --time=1 072115f2eb83f46873bd20db45e45e4598e4c91d894801c9e8721471cb6ae7c3 18:36:01 $ docker rm -f --volumes 072115f2eb83f46873bd20db45e45e4598e4c91d894801c9e8721471cb6ae7c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:01 + docker inspect -f . ci-base-image-x86_64 18:36:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:01 prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container 18:36:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:36:02 $ docker top 43803d4f0f70c46ef66b758bb53ba4d3c89458dc7251a07e8c8d3dc1fc82f999 -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:02 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 18:36:02 + make test 18:36:02 go test -race -coverprofile=coverage.out ./... 18:36:09 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:36:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:36:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:36:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:36:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:36:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:36:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:36:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:36:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.046s coverage: 27.6% of statements 18:36:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.051s coverage: 80.2% of statements 18:36:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.053s coverage: 86.0% of statements 18:36:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:36:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:36:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:36:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.082s coverage: 71.8% of statements 18:36:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:36:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.046s coverage: 14.4% of statements 18:36:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.768s coverage: 45.9% of statements 18:36:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.060s coverage: 68.5% of statements 18:36:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.096s coverage: 89.2% of statements 18:36:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.5% of statements 18:36:52 GO111MODULE=on go vet ./... 18:36:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6604 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 18:36:54 Running in /w/workspace/device-sdk-go/255 [Pipeline] { [Pipeline] checkout 18:36:54 The recommended git tool is: git 18:36:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:36:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:36:55 ./bin/test-attribution-txt.sh [Pipeline] echo 18:36:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:36:55 $ docker stop --time=1 43803d4f0f70c46ef66b758bb53ba4d3c89458dc7251a07e8c8d3dc1fc82f999 18:36:59 $ docker rm -f --volumes 43803d4f0f70c46ef66b758bb53ba4d3c89458dc7251a07e8c8d3dc1fc82f999 [Pipeline] // withDockerContainer [Pipeline] sh 18:36:59 using credential edgex-jenkins-ssh 18:36:59 Cloning the remote Git repository 18:36:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:36:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:36:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:37:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:37:00 + ls -al . 18:37:00 total 304 18:37:00 drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 18:36 . 18:37:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:34 .. 18:37:00 -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 18:34 .dockerignore 18:37:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 18:36 .git 18:37:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:34 .github 18:37:00 -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 18:34 .gitignore 18:37:00 -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 18:34 .golangci.yml 18:37:00 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 18:35 .semver 18:37:00 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 18:34 CHANGELOG.md 18:37:00 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 18:34 GOVERNANCE.md 18:37:00 -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 18:34 Jenkinsfile 18:37:00 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 18:34 LICENSE 18:37:00 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 18:34 Makefile 18:37:00 -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 18:34 OWNERS.md 18:37:00 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 18:34 README.md 18:37:00 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 18:35 VERSION 18:37:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:34 bin 18:37:00 -rw-r--r-- 1 jenkins jenkins 121385 Sep 19 18:36 coverage.out 18:37:00 drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 18:34 example 18:37:00 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 18:34 go.mod 18:37:00 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 18:34 go.sum 18:37:00 drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:34 internal 18:37:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 18:34 openapi 18:37:00 drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 18:34 pkg 18:37:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:34 snap 18:37:00 -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 18:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:59 > git init /w/workspace/device-sdk-go/255 # timeout=10 18:36:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:36:59 > git --version # timeout=10 18:36:59 > git --version # 'git version 2.25.1' 18:36:59 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:37:01 + 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=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 --label arch=amd64 --label version=3.1.0-dev.26 . 18:37:01 Sending build context to Docker daemon 11.26MB 18:37:01 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 18:37:01 Step 2/23 : FROM ${BASE} AS builder 18:37:01 ---> f4feca8ec2a5 18:37:01 Step 3/23 : ARG MAKE=make build 18:37:01 ---> Running in 51bbed3229da 18:37:01 Removing intermediate container 51bbed3229da 18:37:01 ---> a6fac996a359 18:37:01 Step 4/23 : WORKDIR /device-sdk-go 18:37:01 ---> Running in 7d56c537085e 18:37:01 Removing intermediate container 7d56c537085e 18:37:01 ---> 7b5a11fd99c3 18:37:01 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:37:01 ---> Running in 4d91401b41ed 18:37:01 Removing intermediate container 4d91401b41ed 18:37:01 ---> 79496e3bc59d 18:37:01 Step 6/23 : RUN apk add --update --no-cache make git 18:37:01 ---> Running in ece601e6d3ea 18:37:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:37:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:37:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:37:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:37:02 OK: 265 MiB in 56 packages 18:37:02 Avoid second fetch 18:37:02 Checking out Revision aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 (main) 18:37:02 Removing intermediate container ece601e6d3ea 18:37:02 ---> 964ab70cdd9d 18:37:02 Step 7/23 : COPY go.mod vendor* ./ 18:37:02 ---> db6daa39207d 18:37:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:37:02 ---> Running in c0f3b9894ca6 18:37:02 Commit message: "Merge pull request #1513 from ejlee3/provision-index" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:37:03 Removing intermediate container c0f3b9894ca6 18:37:03 ---> 1a6b446d5474 18:37:03 Step 9/23 : COPY . . 18:37:02 > git config core.sparsecheckout # timeout=10 18:37:02 > git checkout -f aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 # timeout=10 18:37:03 ---> 325d28793ff8 18:37:03 Step 10/23 : RUN ${MAKE} 18:37:03 ---> Running in da384bac53a7 18:37:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:37:03 % Total % Received % Xferd Average Speed Time Time Time Current 18:37:03 Dload Upload Total Spent Left Speed 18:37:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k 18:37:03 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.26" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] sh 18:37:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:37:04 + sudo tee /etc/docker/daemon.new 18:37:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:37:04 { 18:37:04 "registry-mirrors": [ 18:37:04 "https://nexus3.edgexfoundry.org:10001" 18:37:04 ], 18:37:04 "bip": "10.250.0.254/24", 18:37:04 "hosts": [ 18:37:04 "tcp://0.0.0.0:5555", 18:37:04 "unix:///var/run/docker.sock" 18:37:04 ], 18:37:04 "mtu": 1458, 18:37:04 "selinux-enabled": true, 18:37:04 "seccomp-profile": "/etc/docker/seccomp.json" 18:37:04 } [Pipeline] sh 18:37:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:37:05 + sudo service docker restart 18:37:22 Removing intermediate container da384bac53a7 18:37:22 ---> 592903d615c5 18:37:22 Step 11/23 : FROM alpine:3.18 18:37:22 3.18: Pulling from library/alpine 18:37:22 7264a8db6415: Already exists 18:37:22 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 18:37:22 Status: Downloaded newer image for alpine:3.18 18:37:22 ---> 7e01a0d0a1dc 18:37:22 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:37:22 ---> Running in 00e6ac9739f3 18:37:22 Removing intermediate container 00e6ac9739f3 18:37:22 ---> 514f156ae83e 18:37:22 Step 13/23 : RUN apk add --update --no-cache 18:37:22 ---> Running in c823f321b87c 18:37:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:37:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:37:23 OK: 7 MiB in 15 packages 18:37:23 Removing intermediate container c823f321b87c 18:37:23 ---> c97329c8949b 18:37:23 Step 14/23 : WORKDIR / 18:37:23 ---> Running in 391595f55a00 18:37:23 Removing intermediate container 391595f55a00 18:37:23 ---> f5e19571da4a 18:37:23 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:37:23 ---> 00b2cd84744b 18:37:23 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:37:23 provisioning config files... 18:37:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/255@tmp/config4924125843325062707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:24 ---> docker-login.sh 18:37:24 nexus3.edgexfoundry.org:10001 18:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:24 ---> b90865a9ac1b 18:37:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:37:24 ---> 45a86ef11f9a 18:37:24 Step 18/23 : EXPOSE 59999 18:37:24 ---> Running in cc94830b61f9 18:37:24 Removing intermediate container cc94830b61f9 18:37:24 ---> 2d0a9f34b99c 18:37:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:24 Configure a credential helper to remove this warning. See 18:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:24 18:37:24 Login Succeeded 18:37:24 nexus3.edgexfoundry.org:10002 18:37:24 ---> Running in 333cd628307a 18:37:24 Removing intermediate container 333cd628307a 18:37:24 ---> 9b356087da23 18:37:24 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:37:24 ---> Running in d830ca0dd684 18:37:24 Removing intermediate container d830ca0dd684 18:37:24 ---> 072dfde7b97c 18:37:24 Step 21/23 : LABEL arch=amd64 18:37:24 ---> Running in 1ce2390b490f 18:37:24 Removing intermediate container 1ce2390b490f 18:37:24 ---> 788945f02612 18:37:24 Step 22/23 : LABEL git_sha=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 18:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:24 ---> Running in ebc8333fc895 18:37:24 Removing intermediate container ebc8333fc895 18:37:24 ---> 18650877b9d1 18:37:24 Step 23/23 : LABEL version=3.1.0-dev.26 18:37:24 ---> Running in 6f10a93ed9ad 18:37:24 Removing intermediate container 6f10a93ed9ad 18:37:24 ---> c37ff400d865 18:37:24 [Warning] One or more build-args [ARCH] were not consumed 18:37:24 Successfully built c37ff400d865 18:37:24 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 18:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:25 Configure a credential helper to remove this warning. See 18:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:25 18:37:25 Login Succeeded 18:37:25 nexus3.edgexfoundry.org:10003 18:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:25 18:37:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:25 Configure a credential helper to remove this warning. See 18:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:25 18:37:25 Login Succeeded 18:37:25 nexus3.edgexfoundry.org:10004 18:37:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:25 latest: Pulling from edgex-lftools-log-publisher 18:37:25 5eb5b503b376: Pulling fs layer 18:37:25 5c69ac0246d0: Pulling fs layer 18:37:25 ec43610c2a17: Pulling fs layer 18:37:25 3a2ae6a8a46f: Pulling fs layer 18:37:25 33b1e0a273af: Pulling fs layer 18:37:25 3a2ae6a8a46f: Waiting 18:37:25 33b1e0a273af: Waiting 18:37:25 5d3b04190fa2: Pulling fs layer 18:37:25 2f39f015ded8: Pulling fs layer 18:37:25 5d3b04190fa2: Waiting 18:37:25 2f39f015ded8: Waiting 18:37:25 5c69ac0246d0: Verifying Checksum 18:37:25 5c69ac0246d0: Download complete 18:37:25 3a2ae6a8a46f: Verifying Checksum 18:37:25 3a2ae6a8a46f: Download complete 18:37:25 33b1e0a273af: Verifying Checksum 18:37:25 33b1e0a273af: Download complete 18:37:25 ec43610c2a17: Verifying Checksum 18:37:25 ec43610c2a17: Download complete 18:37:25 5d3b04190fa2: Verifying Checksum 18:37:25 5d3b04190fa2: Download complete 18:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:25 Configure a credential helper to remove this warning. See 18:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:25 18:37:25 Login Succeeded 18:37:25 docker.io 18:37:25 5eb5b503b376: Verifying Checksum 18:37:25 5eb5b503b376: Download complete 18:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:26 Configure a credential helper to remove this warning. See 18:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:26 18:37:26 Login Succeeded 18:37:26 ---> docker-login.sh ends [Pipeline] } 18:37:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:37:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 18:37:26 2f39f015ded8: Download complete [Pipeline] echo 18:37:26 ========================================================= 18:37:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:37:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:26 + 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 . 18:37:27 5eb5b503b376: Pull complete 18:37:27 Sending build context to Docker daemon 5.953MB 18:37:27 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:37:27 Step 2/10 : FROM ${BASE} AS builder 18:37:27 5c69ac0246d0: Pull complete 18:37:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:37:27 9fda8d8052c6: Pulling fs layer 18:37:27 5d54e960e981: Pulling fs layer 18:37:27 c4a7e357bf2a: Pulling fs layer 18:37:27 f0e02332f6b5: Pulling fs layer 18:37:27 66412af1f25a: Pulling fs layer 18:37:27 1baf3a5c0e64: Pulling fs layer 18:37:27 9a37bb91b891: Pulling fs layer 18:37:27 a29adfc67d43: Pulling fs layer 18:37:27 d5de9f91c1a4: Pulling fs layer 18:37:27 66412af1f25a: Waiting 18:37:27 1baf3a5c0e64: Waiting 18:37:27 9a37bb91b891: Waiting 18:37:27 f0e02332f6b5: Waiting 18:37:27 d5de9f91c1a4: Waiting 18:37:27 5d54e960e981: Download complete 18:37:27 f0e02332f6b5: Verifying Checksum 18:37:27 f0e02332f6b5: Download complete 18:37:27 66412af1f25a: Download complete 18:37:27 9fda8d8052c6: Verifying Checksum 18:37:27 9fda8d8052c6: Download complete 18:37:27 ec43610c2a17: Pull complete 18:37:27 3a2ae6a8a46f: Pull complete 18:37:27 33b1e0a273af: Pull complete 18:37:27 9a37bb91b891: Verifying Checksum 18:37:27 9a37bb91b891: Download complete 18:37:28 5d3b04190fa2: Pull complete 18:37:28 9fda8d8052c6: Pull complete 18:37:28 a29adfc67d43: Verifying Checksum 18:37:28 a29adfc67d43: Download complete 18:37:29 5d54e960e981: Pull complete 18:37:29 d5de9f91c1a4: Verifying Checksum 18:37:29 d5de9f91c1a4: Download complete 18:37:29 c4a7e357bf2a: Verifying Checksum 18:37:29 c4a7e357bf2a: Download complete 18:37:30 1baf3a5c0e64: Verifying Checksum 18:37:30 1baf3a5c0e64: Download complete 18:37:33 2f39f015ded8: Pull complete 18:37:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:37:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:37:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:33 prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container 18:37:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:37:37 $ docker top 551d3bf44bd4b37fa04a41f28ca13da55fff24308301096e1e389e3a1c5f9db9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:37 ---> job-cost.sh 18:37:37 lf-activate-venv: SKIPPING 18:37:37 INFO: No Stack... 18:37:37 INFO: Retrieving Pricing Info for: v3-standard-8 18:37:38 INFO: Archiving Costs [Pipeline] sh 18:37:38 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 18:37:38 + cut -d, -f6 [Pipeline] lock 18:37:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] 18:37:38 Resource [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] did not exist. Created. 18:37:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:37:38 + echo total: 0.2199999988079071 [Pipeline] stash 18:37:38 Stashed 1 file(s) [Pipeline] } 18:37:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] [Pipeline] // lock [Pipeline] } 18:37:38 $ docker stop --time=1 551d3bf44bd4b37fa04a41f28ca13da55fff24308301096e1e389e3a1c5f9db9 18:37:39 $ docker rm -f --volumes 551d3bf44bd4b37fa04a41f28ca13da55fff24308301096e1e389e3a1c5f9db9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:37:40 c4a7e357bf2a: Pull complete 18:37:40 f0e02332f6b5: Pull complete 18:37:40 66412af1f25a: Pull complete 18:37:47 1baf3a5c0e64: Pull complete 18:37:48 9a37bb91b891: Pull complete 18:37:49 a29adfc67d43: Pull complete 18:37:51 d5de9f91c1a4: Pull complete 18:37:51 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 18:37:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:37:51 ---> 746ca1b523b5 18:37:51 Step 3/10 : ARG MAKE=make build 18:37:53 ---> Running in 3d40654be95b 18:37:53 Removing intermediate container 3d40654be95b 18:37:53 ---> b078103e1862 18:37:53 Step 4/10 : WORKDIR /device-sdk-go 18:37:53 ---> Running in 263b38bf9572 18:37:54 Removing intermediate container 263b38bf9572 18:37:54 ---> c8d8a4183ac3 18:37:54 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:37:54 ---> Running in 3304cf01ed56 18:37:54 Removing intermediate container 3304cf01ed56 18:37:54 ---> f007cf435e65 18:37:54 Step 6/10 : RUN apk add --update --no-cache make git 18:37:54 ---> Running in 63ca32a70313 18:37:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:37:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:37:56 OK: 267 MiB in 56 packages 18:37:57 Removing intermediate container 63ca32a70313 18:37:57 ---> 3b8836f935ed 18:37:57 Step 7/10 : COPY go.mod vendor* ./ 18:38:00 ---> aa85164ed38a 18:38:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:38:00 ---> Running in 6d4544e52621 18:39:08 Removing intermediate container 6d4544e52621 18:39:08 ---> b026fe2bd9fc 18:39:08 Step 9/10 : COPY . . 18:39:08 ---> 7fe3b2da2b78 18:39:08 Step 10/10 : RUN ${MAKE} 18:39:08 ---> Running in b18181f2b301 18:39:08 noop 18:39:08 Removing intermediate container b18181f2b301 18:39:08 ---> d88bdd4c612a 18:39:08 Successfully built d88bdd4c612a 18:39:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:08 + docker inspect -f . ci-base-image-arm64 18:39:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:08 prd-ubuntu20.04-docker-arm64-4c-16g-6604 does not seem to be running inside a container 18:39:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/255 -v /w/workspace/device-sdk-go/255:/w/workspace/device-sdk-go/255:rw,z -v /w/workspace/device-sdk-go/255@tmp:/w/workspace/device-sdk-go/255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:39:10 $ docker top 1fe03dd18fc6313cab4caa8216fd2f3c1e7ee7bf7e5e975fd31461b3e97658e7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:10 + go version 18:39:10 go version go1.21.0 linux/arm64 [Pipeline] } 18:39:10 $ docker stop --time=1 1fe03dd18fc6313cab4caa8216fd2f3c1e7ee7bf7e5e975fd31461b3e97658e7 18:39:12 $ docker rm -f --volumes 1fe03dd18fc6313cab4caa8216fd2f3c1e7ee7bf7e5e975fd31461b3e97658e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:13 + docker inspect -f . ci-base-image-arm64 18:39:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:13 prd-ubuntu20.04-docker-arm64-4c-16g-6604 does not seem to be running inside a container 18:39:13 $ 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/255 -v /w/workspace/device-sdk-go/255:/w/workspace/device-sdk-go/255:rw,z -v /w/workspace/device-sdk-go/255@tmp:/w/workspace/device-sdk-go/255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:39:14 $ docker top badea85b3cc7f5689cbf5e21431125d9db37aa4d7ca5ef537ae318aacd3faef4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:14 + git config --global --add safe.directory /w/workspace/device-sdk-go/255 [Pipeline] fileExists [Pipeline] sh 18:39:15 + make test 18:39:15 go test -race -coverprofile=coverage.out ./... 18:39:47 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:41:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:41:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:41:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:41:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:41:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:41:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.204s coverage: 27.6% of statements 18:41:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.259s coverage: 80.2% of statements 18:41:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:41:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:41:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.649s coverage: 86.0% of statements 18:41:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:41:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.546s coverage: 71.8% of statements 18:41:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.310s coverage: 14.4% of statements 18:41:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:41:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:41:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.298s coverage: 45.9% of statements 18:41:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.459s coverage: 68.5% of statements 18:41:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.409s coverage: 89.2% of statements 18:41:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:41:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.223s coverage: 5.5% of statements 18:41:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:41:46 GO111MODULE=on go vet ./... 18:43:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:43:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:43:52 ./bin/test-attribution-txt.sh [Pipeline] echo 18:43:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:43:52 $ docker stop --time=1 badea85b3cc7f5689cbf5e21431125d9db37aa4d7ca5ef537ae318aacd3faef4 18:43:54 $ docker rm -f --volumes badea85b3cc7f5689cbf5e21431125d9db37aa4d7ca5ef537ae318aacd3faef4 [Pipeline] // withDockerContainer [Pipeline] sh 18:43:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:43:56 Warning: overwriting stash ‘coverage-report’ 18:43:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:57 + ls -al . 18:43:57 total 300 18:43:57 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 18:39 . 18:43:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:36 .. 18:43:57 -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 18:37 .dockerignore 18:43:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 18:37 .git 18:43:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:37 .github 18:43:57 -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 18:37 .gitignore 18:43:57 -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 18:37 .golangci.yml 18:43:57 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 18:37 CHANGELOG.md 18:43:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 18:37 GOVERNANCE.md 18:43:57 -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 18:37 Jenkinsfile 18:43:57 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 18:37 LICENSE 18:43:57 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 18:37 Makefile 18:43:57 -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 18:37 OWNERS.md 18:43:57 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 18:37 README.md 18:43:57 -rw-rw-r-- 1 jenkins jenkins 12 Sep 19 18:35 VERSION 18:43:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:37 bin 18:43:57 -rw-r--r-- 1 jenkins jenkins 121385 Sep 19 18:41 coverage.out 18:43:57 drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 18:37 example 18:43:57 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 18:37 go.mod 18:43:57 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 18:37 go.sum 18:43:57 drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:37 internal 18:43:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 18:37 openapi 18:43:57 drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 18:37 pkg 18:43:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:37 snap 18:43:57 -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 18:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:57 + 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=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 --label arch=arm64 --label version=3.1.0-dev.26 . 18:43:58 Sending build context to Docker daemon 6.075MB 18:43:58 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 18:43:58 Step 2/23 : FROM ${BASE} AS builder 18:43:58 ---> d88bdd4c612a 18:43:58 Step 3/23 : ARG MAKE=make build 18:43:58 ---> Running in ef3902539baa 18:43:58 Removing intermediate container ef3902539baa 18:43:58 ---> 051920e2a07b 18:43:58 Step 4/23 : WORKDIR /device-sdk-go 18:43:58 ---> Running in df456f110988 18:43:58 Removing intermediate container df456f110988 18:43:58 ---> 7c972f90b6f9 18:43:58 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:43:59 ---> Running in b4a217c36b0c 18:43:59 Removing intermediate container b4a217c36b0c 18:43:59 ---> 86cf513cc893 18:43:59 Step 6/23 : RUN apk add --update --no-cache make git 18:43:59 ---> Running in d504a5f86b76 18:44:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:44:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:44:02 OK: 267 MiB in 56 packages 18:44:02 Removing intermediate container d504a5f86b76 18:44:02 ---> c6ec593b1259 18:44:02 Step 7/23 : COPY go.mod vendor* ./ 18:44:02 ---> 8a8ef1a238f0 18:44:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:03 ---> Running in ade42593afa7 18:44:05 Removing intermediate container ade42593afa7 18:44:05 ---> 6ab6ba5e4223 18:44:05 Step 9/23 : COPY . . 18:44:06 ---> 6a24a25431f8 18:44:06 Step 10/23 : RUN ${MAKE} 18:44:06 ---> Running in 244a1943ab70 18:44:07 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.26" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:45:58 Removing intermediate container 244a1943ab70 18:45:58 ---> efb970a37fc8 18:45:58 Step 11/23 : FROM alpine:3.18 18:45:58 3.18: Pulling from library/alpine 18:45:58 9fda8d8052c6: Already exists 18:45:58 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 18:45:58 Status: Downloaded newer image for alpine:3.18 18:45:58 ---> f6648c04cd6c 18:45:58 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:45:58 ---> Running in 93747aba3dc1 18:45:58 Removing intermediate container 93747aba3dc1 18:45:58 ---> 963006b3ce99 18:45:58 Step 13/23 : RUN apk add --update --no-cache 18:45:58 ---> Running in a94146f17a31 18:45:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:45:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:45:58 OK: 8 MiB in 15 packages 18:45:58 Removing intermediate container a94146f17a31 18:45:58 ---> eca3aaf9fcb6 18:45:58 Step 14/23 : WORKDIR / 18:45:58 ---> Running in 93b721f53e1a 18:45:58 Removing intermediate container 93b721f53e1a 18:45:58 ---> 3bf880af0257 18:45:58 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:45:58 ---> adc00e39b315 18:45:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:45:58 ---> 0121f69274e7 18:45:58 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:45:58 ---> 729aa93c2e3d 18:45:58 Step 18/23 : EXPOSE 59999 18:45:58 ---> Running in 780869c09e74 18:45:58 Removing intermediate container 780869c09e74 18:45:58 ---> fdec15e74d55 18:45:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:45:58 ---> Running in e509c56ce671 18:45:58 Removing intermediate container e509c56ce671 18:45:58 ---> 0daa7e75f6ac 18:45:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:45:58 ---> Running in 579804696a51 18:45:58 Removing intermediate container 579804696a51 18:45:58 ---> 1ff13c5be705 18:45:58 Step 21/23 : LABEL arch=arm64 18:45:58 ---> Running in c1b446bc8dc0 18:45:58 Removing intermediate container c1b446bc8dc0 18:45:58 ---> a3ba0b3d3910 18:45:58 Step 22/23 : LABEL git_sha=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 18:45:58 ---> Running in 1bb8512459ee 18:45:58 Removing intermediate container 1bb8512459ee 18:45:58 ---> 934d1a694cc4 18:45:58 Step 23/23 : LABEL version=3.1.0-dev.26 18:45:58 ---> Running in fcf21731048b 18:45:58 Removing intermediate container fcf21731048b 18:45:58 ---> 829f55193969 18:45:58 [Warning] One or more build-args [ARCH] were not consumed 18:45:58 Successfully built 829f55193969 18:45:58 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:45:59 18:45:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:45:59 arm64: Pulling from edgex-lftools-log-publisher 18:45:59 8998bd30e6a1: Pulling fs layer 18:45:59 04944245beec: Pulling fs layer 18:45:59 699f458cf7ca: Pulling fs layer 18:45:59 765212b225bb: Pulling fs layer 18:45:59 f23df028b6ca: Pulling fs layer 18:45:59 d65c8cfc05b1: Pulling fs layer 18:45:59 2437ff75d9bd: Pulling fs layer 18:45:59 765212b225bb: Waiting 18:45:59 f23df028b6ca: Waiting 18:45:59 2437ff75d9bd: Waiting 18:45:59 d65c8cfc05b1: Waiting 18:45:59 04944245beec: Verifying Checksum 18:45:59 04944245beec: Download complete 18:45:59 765212b225bb: Verifying Checksum 18:45:59 765212b225bb: Download complete 18:45:59 f23df028b6ca: Verifying Checksum 18:45:59 f23df028b6ca: Download complete 18:45:59 d65c8cfc05b1: Verifying Checksum 18:45:59 d65c8cfc05b1: Download complete 18:46:00 699f458cf7ca: Verifying Checksum 18:46:00 699f458cf7ca: Download complete 18:46:00 8998bd30e6a1: Download complete 18:46:03 2437ff75d9bd: Verifying Checksum 18:46:03 2437ff75d9bd: Download complete 18:46:04 8998bd30e6a1: Pull complete 18:46:05 04944245beec: Pull complete 18:46:06 699f458cf7ca: Pull complete 18:46:06 765212b225bb: Pull complete 18:46:07 f23df028b6ca: Pull complete 18:46:07 d65c8cfc05b1: Pull complete 18:46:22 2437ff75d9bd: Pull complete 18:46:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:46:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:46:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:22 prd-ubuntu20.04-docker-arm64-4c-16g-6604 does not seem to be running inside a container 18:46:22 $ 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/255 -v /w/workspace/device-sdk-go/255:/w/workspace/device-sdk-go/255:rw,z -v /w/workspace/device-sdk-go/255@tmp:/w/workspace/device-sdk-go/255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:46:25 $ docker top dd95c5001cbc0a5a4eef45afe197f75cb9a17117886ae818aaf8314482f342a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:25 ---> job-cost.sh 18:46:25 lf-activate-venv: SKIPPING 18:46:25 INFO: No Stack... 18:46:26 INFO: Retrieving Pricing Info for: v3-standard-4 18:46:27 INFO: Archiving Costs [Pipeline] sh 18:46:27 + cat /w/workspace/device-sdk-go/255/archives/cost.csv 18:46:27 + cut -d, -f6 [Pipeline] lock 18:46:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] 18:46:27 Resource [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] did not exist. Created. 18:46:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:46:28 /w/workspace/device-sdk-go/255@tmp/durable-e589106f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:46:28 + echo total: 0.10999999940395355 [Pipeline] stash 18:46:28 Warning: overwriting stash ‘stack-cost’ 18:46:28 Stashed 1 file(s) [Pipeline] } 18:46:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-255-stack-cost] [Pipeline] // lock [Pipeline] } 18:46:28 $ docker stop --time=1 dd95c5001cbc0a5a4eef45afe197f75cb9a17117886ae818aaf8314482f342a8 18:46:30 $ docker rm -f --volumes dd95c5001cbc0a5a4eef45afe197f75cb9a17117886ae818aaf8314482f342a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:46:30 provisioning config files... 18:46:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2707895537035955351tmp [Pipeline] { [Pipeline] sh 18:46:31 + set +x 18:46:31 + curl -s https://codecov.io/bash 18:46:31 + bash -s -- 18:46:31 18:46:31 _____ _ 18:46:31 / ____| | | 18:46:31 | | ___ __| | ___ ___ _____ __ 18:46:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:46:31 | |___| (_) | (_| | __/ (_| (_) \ V / 18:46:31 \_____\___/ \__,_|\___|\___\___/ \_/ 18:46:31 Bash-1.0.6 18:46:31 18:46:31 18:46:31 ==> git version 2.25.1 found 18:46:31 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:46:31 Release-Date: 2020-01-08 18:46:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:46:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:46:31 ==> Jenkins CI detected. 18:46:31 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 18:46:31 project root: . 18:46:31 --> token set from env 18:46:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:46:31 ==> Running gcov in . (disable via -X gcov) 18:46:31 ==> Python coveragepy not found 18:46:31 ==> Searching for coverage reports in: 18:46:31 + . 18:46:31 -> Found 1 reports 18:46:31 ==> Detecting git/mercurial file structure 18:46:31 ==> Reading reports 18:46:31 + ./coverage.out bytes=121385 18:46:31 ==> Appending adjustments 18:46:31 https://docs.codecov.io/docs/fixing-reports 18:46:31 + Found adjustments 18:46:31 ==> Gzipping contents 18:46:31 20K /tmp/codecov.ijzh93.gz 18:46:31 ==> Uploading reports 18:46:31 url: https://codecov.io 18:46:31 query: branch=main&commit=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02&build=255&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F255%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:46:31 -> Pinging Codecov 18:46:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02&build=255&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F255%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:46:31 -> Uploading to 18:46:31 https://storage.googleapis.com/codecov/v4/raw/2023-09-19/7E55EF52A471D76F132DFD9A03CDDE97/aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02/5419f655-00e0-4105-87c7-d2be1a76280d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T184631Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=366200a1955ddaf7e1437291c979cd08733dddfbd155b8dc5e1bf326b25bdc3c 18:46:31 % Total % Received % Xferd Average Speed Time Time Time Current 18:46:31 Dload Upload Total Spent Left Speed 18:46:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16514 0 0 100 16514 0 89750 --:--:-- --:--:-- --:--:-- 89750 18:46:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] } 18:46:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:46:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:46:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:46:32 18:46:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:46:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:46:32 df9b9388f04a: Pulling fs layer 18:46:32 52dc419b0ee2: Pulling fs layer 18:46:32 25bc292e5bac: Pulling fs layer 18:46:32 114826534d7a: Pulling fs layer 18:46:32 4657fd5d0bcf: Pulling fs layer 18:46:32 6ad1cebc031e: Pulling fs layer 18:46:32 8a3aa393b2d8: Pulling fs layer 18:46:32 114826534d7a: Waiting 18:46:32 4657fd5d0bcf: Waiting 18:46:32 6ad1cebc031e: Waiting 18:46:32 8a3aa393b2d8: Waiting 18:46:32 25bc292e5bac: Download complete 18:46:32 52dc419b0ee2: Verifying Checksum 18:46:32 52dc419b0ee2: Download complete 18:46:32 4657fd5d0bcf: Verifying Checksum 18:46:32 4657fd5d0bcf: Download complete 18:46:32 df9b9388f04a: Download complete 18:46:32 df9b9388f04a: Pull complete 18:46:32 6ad1cebc031e: Verifying Checksum 18:46:32 6ad1cebc031e: Download complete 18:46:32 52dc419b0ee2: Pull complete 18:46:32 25bc292e5bac: Pull complete 18:46:33 114826534d7a: Verifying Checksum 18:46:33 114826534d7a: Download complete 18:46:33 8a3aa393b2d8: Verifying Checksum 18:46:33 8a3aa393b2d8: Download complete 18:46:36 114826534d7a: Pull complete 18:46:36 4657fd5d0bcf: Pull complete 18:46:36 6ad1cebc031e: Pull complete 18:46:39 8a3aa393b2d8: Pull complete 18:46:39 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:46:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:46:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:39 prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container 18:46:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:46:42 $ docker top 5833b3f181d7a62f6e429af322db78cafef8698abc8035a4977c14e58a7d733e -eo pid,comm [Pipeline] { [Pipeline] echo 18:46:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 18:46:42 + set -o pipefail 18:46:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 18:46:47 18:46:47 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 18:46:47 18:46:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/4ba7025b-47ab-4948-b9b8-7ef8f25547b7 18:46:47 18:46:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:46:47 18:46:47 18:46:47 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:46:47 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:46:47 More details here: https://snyk.co/ue1NS [Pipeline] } 18:46:47 $ docker stop --time=1 5833b3f181d7a62f6e429af322db78cafef8698abc8035a4977c14e58a7d733e 18:46:50 $ docker rm -f --volumes 5833b3f181d7a62f6e429af322db78cafef8698abc8035a4977c14e58a7d733e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 18:46:50 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:50 provisioning config files... 18:46:50 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5542698541425550759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:51 --> edgex-publish-swagger.sh 18:46:51 === Publish openapi/v3 API === 18:46:51 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 18:46:51 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 18:46:51 % Total % Received % Xferd Average Speed Time Time Time Current 18:46:51 Dload Upload Total Spent Left Speed 18:46:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 49116 --:--:-- --:--:-- --:--:-- 49116 18:46:51 18:46:51 [Pipeline] } 18:46:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:46:51 + git log --format=format:%s -1 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 [Pipeline] sh 18:46:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:46:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:52 prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container 18:46:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:46:53 $ docker top 7098abd22480a4dd5f004a3b237327d0e536be906f57a39c55f71de2985fb2a7 -eo pid,comm 18:46:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:46:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:46:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:53 [ssh-agent] Looking for ssh-agent implementation... 18:46:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:53 $ docker exec 7098abd22480a4dd5f004a3b237327d0e536be906f57a39c55f71de2985fb2a7 ssh-agent 18:46:53 SSH_AUTH_SOCK=/tmp/ssh-werfAtt8BW7K/agent.32 18:46:53 SSH_AGENT_PID=38 18:46:53 Running ssh-add (command line suppressed) 18:46:53 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12526329852961398786.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12526329852961398786.key) 18:46:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:53 + git semver tag 18:46:54 2023-09-19 18:46:53,995 [run_tag] DEBUG tag force:False 18:46:54 2023-09-19 18:46:53,996 [check_head_tag] DEBUG check head tag 18:46:54 2023-09-19 18:46:53,998 [execute] INFO git cat-file --batch-check 18:46:54 2023-09-19 18:46:53,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:46:54 2023-09-19 18:46:54,003 [execute] INFO git cat-file --batch 18:46:54 2023-09-19 18:46:54,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:46:54 2023-09-19 18:46:54,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:46:54 2023-09-19 18:46:54,022 [execute] INFO git tag -a v3.1.0-dev.26 -m v3.1.0-dev.26 18:46:54 2023-09-19 18:46:54,022 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.26', '-m', 'v3.1.0-dev.26'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:46:54 2023-09-19 18:46:54,028 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:46:54 3.1.0-dev.26 [Pipeline] } 18:46:54 $ docker exec --env ******** --env ******** 7098abd22480a4dd5f004a3b237327d0e536be906f57a39c55f71de2985fb2a7 ssh-agent -k 18:46:54 unset SSH_AUTH_SOCK; 18:46:54 unset SSH_AGENT_PID; 18:46:54 echo Agent pid 38 killed; 18:46:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:46:54 + git semver [Pipeline] } 18:46:54 $ docker stop --time=1 7098abd22480a4dd5f004a3b237327d0e536be906f57a39c55f71de2985fb2a7 18:46:56 $ docker rm -f --volumes 7098abd22480a4dd5f004a3b237327d0e536be906f57a39c55f71de2985fb2a7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:46:56 18:46:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:46:56 0.23.1-centos7: Pulling from edgex-lftools 18:46:56 ab5ef0e58194: Pulling fs layer 18:46:56 9712f1f96733: Pulling fs layer 18:46:56 63f879dbbcfc: Pulling fs layer 18:46:56 0d9ebad4ef96: Pulling fs layer 18:46:56 e9a5061849ea: Pulling fs layer 18:46:56 d747dcd14b5f: Pulling fs layer 18:46:56 2de7ff778b66: Pulling fs layer 18:46:56 d747dcd14b5f: Waiting 18:46:56 2de7ff778b66: Waiting 18:46:56 e9a5061849ea: Waiting 18:46:56 9712f1f96733: Verifying Checksum 18:46:56 9712f1f96733: Download complete 18:46:57 63f879dbbcfc: Verifying Checksum 18:46:57 63f879dbbcfc: Download complete 18:46:57 e9a5061849ea: Verifying Checksum 18:46:57 e9a5061849ea: Download complete 18:46:57 d747dcd14b5f: Verifying Checksum 18:46:57 d747dcd14b5f: Download complete 18:46:57 0d9ebad4ef96: Verifying Checksum 18:46:57 0d9ebad4ef96: Download complete 18:46:57 ab5ef0e58194: Verifying Checksum 18:46:57 ab5ef0e58194: Download complete 18:46:57 2de7ff778b66: Verifying Checksum 18:46:57 2de7ff778b66: Download complete 18:46:59 ab5ef0e58194: Pull complete 18:47:00 9712f1f96733: Pull complete 18:47:00 63f879dbbcfc: Pull complete 18:47:03 0d9ebad4ef96: Pull complete 18:47:04 e9a5061849ea: Pull complete 18:47:04 d747dcd14b5f: Pull complete 18:47:05 2de7ff778b66: Pull complete 18:47:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:47:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:47:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:05 prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container 18:47:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:47:09 $ docker top c64eae614d1d53c3285fe46ccbd08538635a4e616a331dba92feb9a745fc4477 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:47:09 provisioning config files... 18:47:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11035958029250223851tmp 18:47:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18392746761452138929tmp 18:47:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17028856864915835794tmp [Pipeline] { [Pipeline] echo 18:47:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:47:09 ---> sigul-configuration.sh 18:47:09 gpg: directory `/root/.gnupg' created 18:47:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:47:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:47:09 gpg: keyring `/root/.gnupg/secring.gpg' created 18:47:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:47:09 gpg: CAST5 encrypted data 18:47:09 gpg: encrypted with 1 passphrase 18:47:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:47:09 + mkdir /home/jenkins 18:47:09 + mkdir /home/jenkins/sigul [Pipeline] sh 18:47:09 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:47:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:47:10 ---> sigul-install.sh 18:47:10 Sigul already installed; skipping installation. [Pipeline] sh 18:47:10 + git tag --list 18:47:10 0.7.1 18:47:10 delhi-tag 18:47:10 v1.0.0 18:47:10 v1.1.0 18:47:10 v1.1.1 18:47:10 v1.1.2 18:47:10 v1.2.0 18:47:10 v1.2.1 18:47:10 v1.2.2 18:47:10 v1.2.3 18:47:10 v1.3.0 18:47:10 v1.4.0 18:47:10 v2.0.0 18:47:10 v2.1.0 18:47:10 v2.1.1 18:47:10 v2.2.0 18:47:10 v2.3.0 18:47:10 v2.3.1 18:47:10 v3.0 18:47:10 v3.0.0 18:47:10 v3.0.1-dev.1 18:47:10 v3.1.0-dev.1 18:47:10 v3.1.0-dev.10 18:47:10 v3.1.0-dev.11 18:47:10 v3.1.0-dev.12 18:47:10 v3.1.0-dev.13 18:47:10 v3.1.0-dev.14 18:47:10 v3.1.0-dev.15 18:47:10 v3.1.0-dev.16 18:47:10 v3.1.0-dev.17 18:47:10 v3.1.0-dev.18 18:47:10 v3.1.0-dev.19 18:47:10 v3.1.0-dev.2 18:47:10 v3.1.0-dev.20 18:47:10 v3.1.0-dev.21 18:47:10 v3.1.0-dev.22 18:47:10 v3.1.0-dev.23 18:47:10 v3.1.0-dev.24 18:47:10 v3.1.0-dev.25 18:47:10 v3.1.0-dev.26 18:47:10 v3.1.0-dev.3 18:47:10 v3.1.0-dev.4 18:47:10 v3.1.0-dev.5 18:47:10 v3.1.0-dev.6 18:47:10 v3.1.0-dev.7 18:47:10 v3.1.0-dev.8 18:47:10 v3.1.0-dev.9 [Pipeline] sh 18:47:10 + lftools sign git-tag v3.1.0-dev.26 18:47:11 Signing Git tag with Sigul... 18:47:11 Signing v3.1.0-dev.26 [Pipeline] echo 18:47:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:47:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:47:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:47:11 $ docker stop --time=1 c64eae614d1d53c3285fe46ccbd08538635a4e616a331dba92feb9a745fc4477 18:47:13 $ docker rm -f --volumes c64eae614d1d53c3285fe46ccbd08538635a4e616a331dba92feb9a745fc4477 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:47:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:47:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:47:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:14 prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container 18:47: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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:47:14 $ docker top c67e12670d29e6f6855f3b3a7ea01f8be951c8a6d6af9b596e0f9a2effb8f17d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:47:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:47:14 [ssh-agent] Looking for ssh-agent implementation... 18:47:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:47:14 $ docker exec c67e12670d29e6f6855f3b3a7ea01f8be951c8a6d6af9b596e0f9a2effb8f17d ssh-agent 18:47:14 SSH_AUTH_SOCK=/tmp/ssh-BPTKpc7gpoMc/agent.32 18:47:14 SSH_AGENT_PID=38 18:47:14 Running ssh-add (command line suppressed) 18:47:14 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12945374309061801583.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12945374309061801583.key) 18:47:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:47:15 + git semver bump pre 18:47:15 2023-09-19 18:47:15,342 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:47:15 2023-09-19 18:47:15,343 [bump_version] DEBUG bumping version:3.1.0-dev.26 on axis:pre with prefix:dev 18:47:15 2023-09-19 18:47:15,343 [bump_version] DEBUG bumped version:3.1.0-dev.27 18:47:15 2023-09-19 18:47:15,343 [write_version] DEBUG write version:3.1.0-dev.27 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 18:47:15 2023-09-19 18:47:15,343 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:47:15 2023-09-19 18:47:15,343 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:47:15 2023-09-19 18:47:15,345 [execute] INFO git cat-file --batch-check 18:47:15 2023-09-19 18:47:15,345 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:47:15 2023-09-19 18:47:15,350 [execute] INFO git cat-file --batch 18:47:15 2023-09-19 18:47:15,350 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:47:15 2023-09-19 18:47:15,354 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:47:15 3.1.0-dev.27 [Pipeline] } 18:47:15 $ docker exec --env ******** --env ******** c67e12670d29e6f6855f3b3a7ea01f8be951c8a6d6af9b596e0f9a2effb8f17d ssh-agent -k 18:47:15 unset SSH_AUTH_SOCK; 18:47:15 unset SSH_AGENT_PID; 18:47:15 echo Agent pid 38 killed; 18:47:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:47:15 + git semver [Pipeline] } 18:47:16 $ docker stop --time=1 c67e12670d29e6f6855f3b3a7ea01f8be951c8a6d6af9b596e0f9a2effb8f17d 18:47:17 $ docker rm -f --volumes c67e12670d29e6f6855f3b3a7ea01f8be951c8a6d6af9b596e0f9a2effb8f17d [Pipeline] // withDockerContainer [Pipeline] sh 18:47:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:47:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:47:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:18 prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container 18:47:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:47:18 $ docker top a0e7a48585d7e79ae5172bcef542e47fee19bf9348f11625c1e5fab6b820fe62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:47:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:47:18 [ssh-agent] Looking for ssh-agent implementation... 18:47:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:47:18 $ docker exec a0e7a48585d7e79ae5172bcef542e47fee19bf9348f11625c1e5fab6b820fe62 ssh-agent 18:47:18 SSH_AUTH_SOCK=/tmp/ssh-W2yahhjG50Lu/agent.32 18:47:18 SSH_AGENT_PID=38 18:47:18 Running ssh-add (command line suppressed) 18:47:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8582693469352333469.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8582693469352333469.key) 18:47:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:47:19 + git semver push 18:47:19 2023-09-19 18:47:19,344 [run_push] DEBUG push 18:47:19 2023-09-19 18:47:19,344 [execute] INFO git cat-file --batch-check 18:47:19 2023-09-19 18:47:19,344 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:47:19 2023-09-19 18:47:19,348 [execute] INFO git rev-list 45d72dcab24c0bfd60c6a6eb8031d06604191a0b -- 18:47:19 2023-09-19 18:47:19,348 [execute] DEBUG Popen(['git', 'rev-list', '45d72dcab24c0bfd60c6a6eb8031d06604191a0b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:47:19 2023-09-19 18:47:19,363 [execute] INFO git fetch -v origin 18:47:19 2023-09-19 18:47:19,363 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:47:19 2023-09-19 18:47:19,847 [run_push] DEBUG no remote changes detected 18:47:19 2023-09-19 18:47:19,847 [execute] INFO git push origin semver 18:47:19 2023-09-19 18:47:19,847 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:47:20 2023-09-19 18:47:20,658 [run_push] DEBUG push all version tags 18:47:20 2023-09-19 18:47:20,659 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:47:20 2023-09-19 18:47:20,659 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:47:21 2023-09-19 18:47:21,419 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:47:21 3.1.0-dev.27 [Pipeline] } 18:47:21 $ docker exec --env ******** --env ******** a0e7a48585d7e79ae5172bcef542e47fee19bf9348f11625c1e5fab6b820fe62 ssh-agent -k 18:47:21 unset SSH_AUTH_SOCK; 18:47:21 unset SSH_AGENT_PID; 18:47:21 echo Agent pid 38 killed; 18:47:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:47:21 + git semver [Pipeline] } 18:47:22 $ docker stop --time=1 a0e7a48585d7e79ae5172bcef542e47fee19bf9348f11625c1e5fab6b820fe62 18:47:23 $ docker rm -f --volumes a0e7a48585d7e79ae5172bcef542e47fee19bf9348f11625c1e5fab6b820fe62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:47:24 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 18:47:24 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:47:24 total 16 18:47:24 drwxr-xr-x 3 root root 4096 Sep 19 18:37 . 18:47:24 drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:47 .. 18:47:24 drwxr-xr-x 2 root root 4096 Sep 19 18:37 cost 18:47:24 -rw-r--r-- 1 root root 85 Sep 19 18:37 cost.csv 18:47:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:47:24 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:47:24 total 16 18:47:24 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 18:37 . 18:47:24 drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:47 .. 18:47:24 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 18:37 cost 18:47:24 -rw-r--r-- 1 jenkins jenkins 85 Sep 19 18:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:47:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:47:25 ---> package-listing.sh 18:47:25 ++ facter osfamily 18:47:25 ++ tr '[:upper:]' '[:lower:]' 18:47:25 + OS_FAMILY=debian 18:47:25 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 18:47:25 + START_PACKAGES=/tmp/packages_start.txt 18:47:25 + END_PACKAGES=/tmp/packages_end.txt 18:47:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:47:25 + PACKAGES=/tmp/packages_start.txt 18:47:25 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:47:25 + PACKAGES=/tmp/packages_end.txt 18:47:25 + case "${OS_FAMILY}" in 18:47:25 + dpkg -l 18:47:25 + grep '^ii' 18:47:25 + '[' -f /tmp/packages_start.txt ']' 18:47:25 + '[' -f /tmp/packages_end.txt ']' 18:47:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:47:25 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:47:25 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 18:47:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 18:47:25 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:47:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:47:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:26 prd-ubuntu20.04-docker-8c-8g-6603 does not seem to be running inside a container 18:47:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:47:26 $ docker top 773fc6dbe4fb545212d1869e680820c76c29262047a1264e78a22ce3ca186bc5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:26 + touch /tmp/pre-build-complete [Pipeline] sh 18:47:27 + mkdir -p /var/log/sysstat [Pipeline] sh 18:47:27 + ls /var/log/sa-host 18:47:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:47:27 provisioning config files... 18:47:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6206932313809518436tmp [Pipeline] { [Pipeline] echo 18:47:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:47:27 ---> create-netrc.sh [Pipeline] } 18:47:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:47:28 ---> python-tools-install.sh [Pipeline] echo 18:47:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:47:28 ---> sudo-logs.sh 18:47:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:47:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:47:28 ---> job-cost.sh 18:47:28 lf-activate-venv: SKIPPING 18:47:28 DEBUG: total: 0.2199999988079071 18:47:28 INFO: Retrieving Stack Cost... 18:47:29 INFO: Retrieving Pricing Info for: v3-standard-8 18:47:29 INFO: Archiving Costs [Pipeline] echo 18:47:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:47:29 ---> logs-deploy.sh 18:47:29 lf-activate-venv: SKIPPING 18:47:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/255 18:47:29 INFO: archiving workspace using pattern(s): 18:47:30 Archives upload complete. 18:47:30 INFO: archiving logs to Nexus