Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c9092965fc0e73fdbee605785b6ca16e2186cbeb 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-ssh8723509210669188572.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-ssh11491748231399518722.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-ssh10724052922367783331.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-ssh10259998625374617772.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-ssh18229597844817227976.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 Running on prd-ubuntu20.04-docker-8c-8g-6669 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 c9092965fc0e73fdbee605785b6ca16e2186cbeb (main) Commit message: "Merge pull request #1516 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.40" > 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 c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 > git rev-list --no-walk 26847311c5e80852903f42d5f4b76f1d4cba51bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:38:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:38:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:38:36 ========================================================= 05:38:36 EdgeX Global Pipelines Version Info 05:38:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:38:36 ------------------- 05:38:36 stable info: 05:38:36 ------------------- 05:38:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:38:36 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:38:36 Message: update stable to v1.0.254 05:38:37 ------------------- 05:38:37 experimental info: 05:38:37 ------------------- 05:38:37 Commited By: **** collab-it+edgex@linuxfoundation.org 05:38:37 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 05:38:37 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c909296 [Pipeline] echo 05:38:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:38:38 provisioning config files... 05:38:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5787578459989312011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:38:38 ---> docker-login.sh 05:38:38 nexus3.edgexfoundry.org:10001 05:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:38 Configure a credential helper to remove this warning. See 05:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:38 05:38:38 Login Succeeded 05:38:38 nexus3.edgexfoundry.org:10002 05:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:38 Configure a credential helper to remove this warning. See 05:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:38 05:38:38 Login Succeeded 05:38:38 nexus3.edgexfoundry.org:10003 05:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:38 Configure a credential helper to remove this warning. See 05:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:38 05:38:38 Login Succeeded 05:38:38 nexus3.edgexfoundry.org:10004 05:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:38 Configure a credential helper to remove this warning. See 05:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:38 05:38:38 Login Succeeded 05:38:38 docker.io 05:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:39 Configure a credential helper to remove this warning. See 05:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:39 05:38:39 Login Succeeded 05:38:39 ---> docker-login.sh ends [Pipeline] } 05:38:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:38:39 + git rev-list -1 --merges c9092965fc0e73fdbee605785b6ca16e2186cbeb~1..c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] echo 05:38:39 -----------> git rev-list -1 --merges c9092965fc0e73fdbee605785b6ca16e2186cbeb~1..c9092965fc0e73fdbee605785b6ca16e2186cbeb c9092965fc0e73fdbee605785b6ca16e2186cbeb 05:38:39 c9092965fc0e73fdbee605785b6ca16e2186cbeb [false] [Pipeline] sh 05:38:39 + git log --format=format:%s -1 c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] echo 05:38:39 ========================================================= 05:38:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:38:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:38:40 + git log --format=format:%s -1 c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] echo 05:38:40 [semverPrep] GIT_COMMIT: c9092965fc0e73fdbee605785b6ca16e2186cbeb, Commit Message: Merge pull request #1516 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.40 [Pipeline] echo 05:38:40 [semverPrep] This is not a build commit. [Pipeline] sh 05:38:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:38:40 + grep -v github /etc/ssh/ssh_known_hosts 05:38:40 + [ -e /tmp/ssh_known_hosts ] 05:38:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:38:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:38:40 + sudo tee -a /etc/ssh/ssh_known_hosts 05:38:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:38:40 05:38:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:38:41 0.1.4: Pulling from edgex-devops/py-git-semver 05:38:41 b85a868b505f: Pulling fs layer 05:38:41 e2be974225ed: Pulling fs layer 05:38:41 339a4e72a1f5: Pulling fs layer 05:38:41 988bab9f4d93: Pulling fs layer 05:38:41 1469e6f7b9e6: Pulling fs layer 05:38:41 eaf3925da568: Pulling fs layer 05:38:41 bab4dde63d76: Pulling fs layer 05:38:41 bde34c3a00c8: Pulling fs layer 05:38:41 b352a97aabf1: Pulling fs layer 05:38:41 4872d77fe225: Pulling fs layer 05:38:41 5851b861e8e6: Pulling fs layer 05:38:41 988bab9f4d93: Waiting 05:38:41 eaf3925da568: Waiting 05:38:41 1469e6f7b9e6: Waiting 05:38:41 bde34c3a00c8: Waiting 05:38:41 b352a97aabf1: Waiting 05:38:41 4872d77fe225: Waiting 05:38:41 e2be974225ed: Verifying Checksum 05:38:41 e2be974225ed: Download complete 05:38:41 988bab9f4d93: Download complete 05:38:41 1469e6f7b9e6: Verifying Checksum 05:38:41 1469e6f7b9e6: Download complete 05:38:41 339a4e72a1f5: Verifying Checksum 05:38:41 339a4e72a1f5: Download complete 05:38:41 eaf3925da568: Verifying Checksum 05:38:41 eaf3925da568: Download complete 05:38:41 bde34c3a00c8: Download complete 05:38:41 b352a97aabf1: Download complete 05:38:41 4872d77fe225: Verifying Checksum 05:38:41 4872d77fe225: Download complete 05:38:41 5851b861e8e6: Verifying Checksum 05:38:41 5851b861e8e6: Download complete 05:38:41 b85a868b505f: Verifying Checksum 05:38:41 b85a868b505f: Download complete 05:38:41 bab4dde63d76: Verifying Checksum 05:38:41 bab4dde63d76: Download complete 05:38:42 b85a868b505f: Pull complete 05:38:43 e2be974225ed: Pull complete 05:38:43 339a4e72a1f5: Pull complete 05:38:43 988bab9f4d93: Pull complete 05:38:43 1469e6f7b9e6: Pull complete 05:38:43 eaf3925da568: Pull complete 05:38:45 bab4dde63d76: Pull complete 05:38:45 bde34c3a00c8: Pull complete 05:38:45 b352a97aabf1: Pull complete 05:38:45 4872d77fe225: Pull complete 05:38:45 5851b861e8e6: Pull complete 05:38:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:38:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:38:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:38:45 prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container 05:38:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:38:48 $ docker top 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:38:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:38:48 [ssh-agent] Looking for ssh-agent implementation... 05:38:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:38:48 $ docker exec 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f ssh-agent 05:38:48 SSH_AUTH_SOCK=/tmp/ssh-1rSvvEvtMtkZ/agent.32 05:38:48 SSH_AGENT_PID=38 05:38:48 Running ssh-add (command line suppressed) 05:38:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7075868649420369267.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7075868649420369267.key) 05:38:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:38:48 + git tag --points-at HEAD [Pipeline] } 05:38:48 $ docker exec --env ******** --env ******** 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f ssh-agent -k 05:38:48 unset SSH_AUTH_SOCK; 05:38:48 unset SSH_AGENT_PID; 05:38:48 echo Agent pid 38 killed; 05:38:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:38:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:38:49 [ssh-agent] Looking for ssh-agent implementation... 05:38:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:38:49 $ docker exec 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f ssh-agent 05:38:49 SSH_AUTH_SOCK=/tmp/ssh-u4QguCcyCYE0/agent.71 05:38:49 SSH_AGENT_PID=77 05:38:49 Running ssh-add (command line suppressed) 05:38:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1780934412855080757.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1780934412855080757.key) 05:38:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:38:49 + git semver init 05:38:49 2023-09-20 05:38:49,794 [run_init] DEBUG init version:0.0.0 force:False 05:38:49 2023-09-20 05:38:49,794 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:38:49 2023-09-20 05:38:49,795 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:38:49 2023-09-20 05:38:49,795 [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) 05:38:50 2023-09-20 05:38:50,740 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:38:50 2023-09-20 05:38:50,741 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:38:50 2023-09-20 05:38:50,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:38:50 2023-09-20 05:38:50,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:38:50 3.1.0-dev.28 [Pipeline] } 05:38:50 $ docker exec --env ******** --env ******** 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f ssh-agent -k 05:38:50 unset SSH_AUTH_SOCK; 05:38:50 unset SSH_AGENT_PID; 05:38:50 echo Agent pid 77 killed; 05:38:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:38:51 + git semver [Pipeline] } 05:38:51 $ docker stop --time=1 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f 05:38:52 $ docker rm -f --volumes 2c130e6a11121257370f62b639d8f2e487b75311422648be9f5035d4e67f618f [Pipeline] // withDockerContainer [Pipeline] sh 05:38:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:38:53 Stashed 1 file(s) [Pipeline] echo 05:38:53 [edgeXSemver]: initialized semver on version 3.1.0-dev.28 [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 05:38:53 provisioning config files... 05:38:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config704612026542572914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:38:53 ---> docker-login.sh 05:38:53 nexus3.edgexfoundry.org:10001 05:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:53 Configure a credential helper to remove this warning. See 05:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:53 05:38:53 Login Succeeded 05:38:53 nexus3.edgexfoundry.org:10002 05:38:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:53 Configure a credential helper to remove this warning. See 05:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:53 05:38:53 Login Succeeded 05:38:53 nexus3.edgexfoundry.org:10003 05:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:54 Configure a credential helper to remove this warning. See 05:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:54 05:38:54 Login Succeeded 05:38:54 nexus3.edgexfoundry.org:10004 05:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:54 Configure a credential helper to remove this warning. See 05:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:54 05:38:54 Login Succeeded 05:38:54 docker.io 05:38:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:54 Configure a credential helper to remove this warning. See 05:38:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:54 05:38:54 Login Succeeded 05:38:54 ---> docker-login.sh ends [Pipeline] } 05:38:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:38:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:38:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:38:54 ========================================================= 05:38:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:38:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:38:54 + 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 . 05:38:54 Sending build context to Docker daemon 11.15MB 05:38:54 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:38:54 Step 2/10 : FROM ${BASE} AS builder 05:38:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:38:54 7264a8db6415: Pulling fs layer 05:38:54 c4d48a809fc2: Pulling fs layer 05:38:54 4f1c88b9dad5: Pulling fs layer 05:38:54 ad3a456e5733: Pulling fs layer 05:38:54 9e4f439ed901: Pulling fs layer 05:38:54 feaf6a47b606: Pulling fs layer 05:38:54 5e8b037d7d82: Pulling fs layer 05:38:54 8ac70367396e: Pulling fs layer 05:38:54 6db16350a2e2: Pulling fs layer 05:38:54 9250d5d63582: Pulling fs layer 05:38:54 8ac70367396e: Waiting 05:38:54 9e4f439ed901: Waiting 05:38:54 feaf6a47b606: Waiting 05:38:54 5e8b037d7d82: Waiting 05:38:54 6db16350a2e2: Waiting 05:38:54 9250d5d63582: Waiting 05:38:54 c4d48a809fc2: Download complete 05:38:55 ad3a456e5733: Verifying Checksum 05:38:55 ad3a456e5733: Download complete 05:38:55 9e4f439ed901: Download complete 05:38:55 7264a8db6415: Verifying Checksum 05:38:55 7264a8db6415: Download complete 05:38:55 feaf6a47b606: Verifying Checksum 05:38:55 feaf6a47b606: Download complete 05:38:55 7264a8db6415: Pull complete 05:38:55 8ac70367396e: Verifying Checksum 05:38:55 8ac70367396e: Download complete 05:38:55 c4d48a809fc2: Pull complete 05:38:55 4f1c88b9dad5: Verifying Checksum 05:38:55 4f1c88b9dad5: Download complete 05:38:55 6db16350a2e2: Verifying Checksum 05:38:55 6db16350a2e2: Download complete 05:38:55 9250d5d63582: Verifying Checksum 05:38:55 9250d5d63582: Download complete 05:38:55 5e8b037d7d82: Verifying Checksum 05:38:55 5e8b037d7d82: Download complete 05:38:58 4f1c88b9dad5: Pull complete 05:38:58 ad3a456e5733: Pull complete 05:38:58 9e4f439ed901: Pull complete 05:38:58 feaf6a47b606: Pull complete 05:39:00 5e8b037d7d82: Pull complete 05:39:00 8ac70367396e: Pull complete 05:39:01 6db16350a2e2: Pull complete 05:39:01 9250d5d63582: Pull complete 05:39:01 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 05:39:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:39:01 ---> fa269f55d9b9 05:39:01 Step 3/10 : ARG MAKE=make build 05:39:06 ---> Running in 99c0cf42d4ab 05:39:06 Removing intermediate container 99c0cf42d4ab 05:39:06 ---> 9356d54847cc 05:39:06 Step 4/10 : WORKDIR /device-sdk-go 05:39:06 ---> Running in 81884892c6ec 05:39:06 Removing intermediate container 81884892c6ec 05:39:06 ---> c62b31f00543 05:39:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:39:06 ---> Running in daaac65d0661 05:39:06 Removing intermediate container daaac65d0661 05:39:06 ---> da7246ac488a 05:39:06 Step 6/10 : RUN apk add --update --no-cache make git 05:39:06 ---> Running in 7725825d5550 05:39:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:39:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:39:06 OK: 265 MiB in 56 packages 05:39:06 Removing intermediate container 7725825d5550 05:39:06 ---> a2c86afa7a39 05:39:06 Step 7/10 : COPY go.mod vendor* ./ 05:39:06 ---> fa57da53a0a5 05:39:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:39:06 ---> Running in 3f26a8413ff4 05:39:08 Still waiting to schedule task 05:39:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:40:03 Removing intermediate container 3f26a8413ff4 05:40:03 ---> b7081ecc535e 05:40:03 Step 9/10 : COPY . . 05:40:03 ---> 406dba49e420 05:40:03 Step 10/10 : RUN ${MAKE} 05:40:03 ---> Running in 2d816f5a749c 05:40:03 noop 05:40:03 Removing intermediate container 2d816f5a749c 05:40:03 ---> 93aa1eb92db2 05:40:03 Successfully built 93aa1eb92db2 05:40:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:03 + docker inspect -f . ci-base-image-x86_64 05:40:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:03 prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container 05:40:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:40:03 $ docker top bebb76996d9760a0f957f88c1b9da186fac194dfd9449f1e304e7f9af44475b0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:40:04 + go version 05:40:04 go version go1.21.0 linux/amd64 [Pipeline] } 05:40:04 $ docker stop --time=1 bebb76996d9760a0f957f88c1b9da186fac194dfd9449f1e304e7f9af44475b0 05:40:05 $ docker rm -f --volumes bebb76996d9760a0f957f88c1b9da186fac194dfd9449f1e304e7f9af44475b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:05 + docker inspect -f . ci-base-image-x86_64 05:40:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:05 prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container 05:40:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:40:06 $ docker top 7fd70bbeb1555099518d9457539cf6474c29003407db9359a13a288c35fe7a1b -eo pid,comm [Pipeline] { [Pipeline] sh 05:40:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:40:06 + make test 05:40:06 go test -race -coverprofile=coverage.out ./... 05:40:13 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:40:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:40:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:40:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:40:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:40:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:40:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:40:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:40:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:40:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.038s coverage: 27.6% of statements 05:40:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.064s coverage: 80.2% of statements 05:40:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.063s coverage: 86.0% of statements 05:40:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.071s coverage: 71.8% of statements 05:40:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:40:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:40:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.045s coverage: 14.4% of statements 05:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.828s coverage: 45.9% of statements 05:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.064s coverage: 68.5% of statements 05:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.104s coverage: 89.2% of statements 05:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements 05:40:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6671 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:40:36 Running in /w/workspace/device-sdk-go/257 [Pipeline] { [Pipeline] checkout 05:40:36 The recommended git tool is: git 05:40:40 using credential edgex-jenkins-ssh 05:40:40 Cloning the remote Git repository 05:40:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:40:40 > git init /w/workspace/device-sdk-go/257 # timeout=10 05:40:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:40:40 > git --version # timeout=10 05:40:40 > git --version # 'git version 2.25.1' 05:40:40 using GIT_SSH to set credentials SSH Credentials for GitHub 05:40:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:40:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:40:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:40:43 Avoid second fetch 05:40:43 Checking out Revision c9092965fc0e73fdbee605785b6ca16e2186cbeb (main) 05:40:44 Commit message: "Merge pull request #1516 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.40" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:40:43 > git config core.sparsecheckout # timeout=10 05:40:43 > git checkout -f c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 05:40:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:40:44 % Total % Received % Xferd Average Speed Time Time Time Current 05:40:44 Dload Upload Total Spent Left Speed 05:40:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 05:40:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:40:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:40:45 + sudo tee /etc/docker/daemon.new 05:40:45 { 05:40:45 "registry-mirrors": [ 05:40:45 "https://nexus3.edgexfoundry.org:10001" 05:40:45 ], 05:40:45 "bip": "10.250.0.254/24", 05:40:45 "hosts": [ 05:40:45 "tcp://0.0.0.0:5555", 05:40:45 "unix:///var/run/docker.sock" 05:40:45 ], 05:40:45 "mtu": 1458, 05:40:45 "selinux-enabled": true, 05:40:45 "seccomp-profile": "/etc/docker/seccomp.json" 05:40:45 } [Pipeline] sh 05:40:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:40:46 + sudo service docker restart 05:40:48 GO111MODULE=on go vet ./... 05:40:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:40:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:40:51 ./bin/test-attribution-txt.sh [Pipeline] echo 05:40:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:40:51 $ docker stop --time=1 7fd70bbeb1555099518d9457539cf6474c29003407db9359a13a288c35fe7a1b 05:40:56 $ docker rm -f --volumes 7fd70bbeb1555099518d9457539cf6474c29003407db9359a13a288c35fe7a1b [Pipeline] // withDockerContainer [Pipeline] sh 05:40:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:40:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:40:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:40:58 + ls -al . 05:40:58 total 304 05:40:58 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 05:40 . 05:40:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:38 .. 05:40:58 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 05:38 .dockerignore 05:40:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 05:40 .git 05:40:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:38 .github 05:40:58 -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 05:38 .gitignore 05:40:58 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 05:38 .golangci.yml 05:40:58 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 05:38 .semver 05:40:58 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 05:38 CHANGELOG.md 05:40:58 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 05:38 GOVERNANCE.md 05:40:58 -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 05:38 Jenkinsfile 05:40:58 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 05:38 LICENSE 05:40:58 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 05:38 Makefile 05:40:58 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 05:38 OWNERS.md 05:40:58 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 05:38 README.md 05:40:58 -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 05:38 VERSION 05:40:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:38 bin 05:40:58 -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 05:40 coverage.out 05:40:58 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 05:38 example 05:40:58 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 05:38 go.mod 05:40:58 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 05:38 go.sum 05:40:58 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:38 internal 05:40:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:38 openapi 05:40:58 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 05:38 pkg 05:40:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:38 snap 05:40:58 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 05:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:58 + 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=c9092965fc0e73fdbee605785b6ca16e2186cbeb --label arch=amd64 --label version=3.1.0-dev.28 . 05:40:58 Sending build context to Docker daemon 11.28MB 05:40:58 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:40:58 Step 2/23 : FROM ${BASE} AS builder 05:40:58 ---> 93aa1eb92db2 05:40:58 Step 3/23 : ARG MAKE=make build 05:40:58 ---> Running in b95687bb2852 05:40:59 Removing intermediate container b95687bb2852 05:40:59 ---> ba34646e9ed4 05:40:59 Step 4/23 : WORKDIR /device-sdk-go 05:40:59 ---> Running in 5f96a4e00967 05:40:59 Removing intermediate container 5f96a4e00967 05:40:59 ---> d9911404adf0 05:40:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:40:59 ---> Running in f2ac077a821f 05:40:59 Removing intermediate container f2ac077a821f 05:40:59 ---> 1e76c76e6bd2 05:40:59 Step 6/23 : RUN apk add --update --no-cache make git 05:40:59 ---> Running in e8303d19f053 05:40:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:40:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:40:59 OK: 265 MiB in 56 packages 05:41:00 Removing intermediate container e8303d19f053 05:41:00 ---> 08643d42dac4 05:41:00 Step 7/23 : COPY go.mod vendor* ./ 05:41:00 ---> fb8072796983 05:41:00 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:41:00 ---> Running in bfa622520a27 05:41:01 Removing intermediate container bfa622520a27 05:41:01 ---> e0ba8c080ec9 05:41:01 Step 9/23 : COPY . . 05:41:01 ---> c5e8b33b003c 05:41:01 Step 10/23 : RUN ${MAKE} 05:41:01 ---> Running in cd1de8ecb045 05:41:01 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.28" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:41:04 provisioning config files... 05:41:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/257@tmp/config10580011085120324993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:05 ---> docker-login.sh 05:41:05 nexus3.edgexfoundry.org:10001 05:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:05 Configure a credential helper to remove this warning. See 05:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:05 05:41:05 Login Succeeded 05:41:05 nexus3.edgexfoundry.org:10002 05:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:06 Configure a credential helper to remove this warning. See 05:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:06 05:41:06 Login Succeeded 05:41:06 nexus3.edgexfoundry.org:10003 05:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:06 Configure a credential helper to remove this warning. See 05:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:06 05:41:06 Login Succeeded 05:41:06 nexus3.edgexfoundry.org:10004 05:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:06 Configure a credential helper to remove this warning. See 05:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:06 05:41:06 Login Succeeded 05:41:06 docker.io 05:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:07 Configure a credential helper to remove this warning. See 05:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:07 05:41:07 Login Succeeded 05:41:07 ---> docker-login.sh ends [Pipeline] } 05:41:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:41:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:41:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:41:07 ========================================================= 05:41:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:41:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:08 + 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 . 05:41:08 Sending build context to Docker daemon 5.958MB 05:41:08 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:41:08 Step 2/10 : FROM ${BASE} AS builder 05:41:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:41:08 9fda8d8052c6: Pulling fs layer 05:41:08 5d54e960e981: Pulling fs layer 05:41:08 c4a7e357bf2a: Pulling fs layer 05:41:08 f0e02332f6b5: Pulling fs layer 05:41:08 66412af1f25a: Pulling fs layer 05:41:08 1baf3a5c0e64: Pulling fs layer 05:41:08 9a37bb91b891: Pulling fs layer 05:41:08 a29adfc67d43: Pulling fs layer 05:41:08 d5de9f91c1a4: Pulling fs layer 05:41:08 1baf3a5c0e64: Waiting 05:41:08 9a37bb91b891: Waiting 05:41:08 a29adfc67d43: Waiting 05:41:08 d5de9f91c1a4: Waiting 05:41:08 f0e02332f6b5: Waiting 05:41:08 66412af1f25a: Waiting 05:41:08 5d54e960e981: Verifying Checksum 05:41:08 5d54e960e981: Download complete 05:41:08 f0e02332f6b5: Verifying Checksum 05:41:08 f0e02332f6b5: Download complete 05:41:08 66412af1f25a: Verifying Checksum 05:41:08 66412af1f25a: Download complete 05:41:08 9fda8d8052c6: Verifying Checksum 05:41:08 9fda8d8052c6: Download complete 05:41:09 9a37bb91b891: Verifying Checksum 05:41:09 9a37bb91b891: Download complete 05:41:09 a29adfc67d43: Verifying Checksum 05:41:09 a29adfc67d43: Download complete 05:41:09 9fda8d8052c6: Pull complete 05:41:10 d5de9f91c1a4: Verifying Checksum 05:41:10 d5de9f91c1a4: Download complete 05:41:10 c4a7e357bf2a: Verifying Checksum 05:41:10 c4a7e357bf2a: Download complete 05:41:11 1baf3a5c0e64: Verifying Checksum 05:41:11 1baf3a5c0e64: Download complete 05:41:12 5d54e960e981: Pull complete 05:41:20 Removing intermediate container cd1de8ecb045 05:41:20 ---> 49435199b8c8 05:41:20 Step 11/23 : FROM alpine:3.18 05:41:20 3.18: Pulling from library/alpine 05:41:20 7264a8db6415: Already exists 05:41:20 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 05:41:20 Status: Downloaded newer image for alpine:3.18 05:41:20 ---> 7e01a0d0a1dc 05:41:20 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:41:20 ---> Running in a8e7f22f97f3 05:41:20 Removing intermediate container a8e7f22f97f3 05:41:20 ---> 1121f0cb9543 05:41:20 Step 13/23 : RUN apk add --update --no-cache 05:41:20 ---> Running in 4a673987dcab 05:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:41:20 OK: 7 MiB in 15 packages 05:41:21 Removing intermediate container 4a673987dcab 05:41:21 ---> 06ced803b3bf 05:41:21 Step 14/23 : WORKDIR / 05:41:21 ---> Running in 281bb5df0c54 05:41:21 Removing intermediate container 281bb5df0c54 05:41:21 ---> 2f4530f8bd9b 05:41:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:41:21 ---> bd2ef59b4fd5 05:41:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:41:22 ---> 98ac4d705e18 05:41:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:41:22 ---> 9263b121c3ef 05:41:22 Step 18/23 : EXPOSE 59999 05:41:22 ---> Running in 48d9ccf4b3b1 05:41:22 Removing intermediate container 48d9ccf4b3b1 05:41:22 ---> 7bd3a5a20e12 05:41:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:41:22 ---> Running in a75db26b19ee 05:41:22 Removing intermediate container a75db26b19ee 05:41:22 ---> 0c71699ce92b 05:41:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:41:22 ---> Running in 6e274b0ea778 05:41:22 Removing intermediate container 6e274b0ea778 05:41:22 ---> a09cec42547d 05:41:22 Step 21/23 : LABEL arch=amd64 05:41:22 ---> Running in 2bbc79b43b81 05:41:22 Removing intermediate container 2bbc79b43b81 05:41:22 ---> b3e918343d09 05:41:22 Step 22/23 : LABEL git_sha=c9092965fc0e73fdbee605785b6ca16e2186cbeb 05:41:22 ---> Running in f74af0b6c3d9 05:41:22 Removing intermediate container f74af0b6c3d9 05:41:22 ---> f079034df870 05:41:22 Step 23/23 : LABEL version=3.1.0-dev.28 05:41:22 ---> Running in 92d44f45dfdf 05:41:22 Removing intermediate container 92d44f45dfdf 05:41:22 ---> f1bee85b6307 05:41:22 [Warning] One or more build-args [ARCH] were not consumed 05:41:22 Successfully built f1bee85b6307 05:41:22 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 05:41:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:41:23 05:41:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:41:23 latest: Pulling from edgex-lftools-log-publisher 05:41:23 5eb5b503b376: Pulling fs layer 05:41:23 5c69ac0246d0: Pulling fs layer 05:41:23 ec43610c2a17: Pulling fs layer 05:41:23 3a2ae6a8a46f: Pulling fs layer 05:41:23 33b1e0a273af: Pulling fs layer 05:41:23 5d3b04190fa2: Pulling fs layer 05:41:23 2f39f015ded8: Pulling fs layer 05:41:23 33b1e0a273af: Waiting 05:41:23 5d3b04190fa2: Waiting 05:41:23 2f39f015ded8: Waiting 05:41:23 3a2ae6a8a46f: Waiting 05:41:23 5c69ac0246d0: Download complete 05:41:23 3a2ae6a8a46f: Download complete 05:41:23 33b1e0a273af: Verifying Checksum 05:41:23 33b1e0a273af: Download complete 05:41:23 5d3b04190fa2: Verifying Checksum 05:41:23 5d3b04190fa2: Download complete 05:41:23 ec43610c2a17: Verifying Checksum 05:41:23 ec43610c2a17: Download complete 05:41:23 5eb5b503b376: Verifying Checksum 05:41:23 5eb5b503b376: Download complete 05:41:24 2f39f015ded8: Download complete 05:41:24 5eb5b503b376: Pull complete 05:41:24 5c69ac0246d0: Pull complete 05:41:25 ec43610c2a17: Pull complete 05:41:25 3a2ae6a8a46f: Pull complete 05:41:25 33b1e0a273af: Pull complete 05:41:25 5d3b04190fa2: Pull complete 05:41:27 c4a7e357bf2a: Pull complete 05:41:27 f0e02332f6b5: Pull complete 05:41:27 66412af1f25a: Pull complete 05:41:29 2f39f015ded8: Pull complete 05:41:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:41:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:41:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:41:30 prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container 05:41:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:41:33 1baf3a5c0e64: Pull complete 05:41:34 9a37bb91b891: Pull complete 05:41:34 $ docker top 4d7bb4ed2516ea2e9a8825294d6d98b8a91fc9f6168ff44d7635c327c280e019 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:35 ---> job-cost.sh 05:41:35 lf-activate-venv: SKIPPING 05:41:35 INFO: No Stack... 05:41:35 INFO: Retrieving Pricing Info for: v3-standard-8 05:41:35 a29adfc67d43: Pull complete 05:41:36 INFO: Archiving Costs [Pipeline] sh 05:41:36 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:41:36 + cut -d, -f6 [Pipeline] lock 05:41:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] 05:41:36 Resource [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] did not exist. Created. 05:41:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:41:36 + echo total: 0.2199999988079071 [Pipeline] stash 05:41:36 Stashed 1 file(s) [Pipeline] } 05:41:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] [Pipeline] // lock [Pipeline] } 05:41:36 $ docker stop --time=1 4d7bb4ed2516ea2e9a8825294d6d98b8a91fc9f6168ff44d7635c327c280e019 05:41:36 d5de9f91c1a4: Pull complete 05:41:36 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 05:41:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:41:37 ---> 746ca1b523b5 05:41:37 Step 3/10 : ARG MAKE=make build 05:41:37 $ docker rm -f --volumes 4d7bb4ed2516ea2e9a8825294d6d98b8a91fc9f6168ff44d7635c327c280e019 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:41:39 ---> Running in 29d981c62ebf 05:41:39 Removing intermediate container 29d981c62ebf 05:41:39 ---> 5a8010bedb28 05:41:39 Step 4/10 : WORKDIR /device-sdk-go 05:41:39 ---> Running in 7d86fff652d4 05:41:39 Removing intermediate container 7d86fff652d4 05:41:39 ---> 7c602fb4eb43 05:41:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:41:39 ---> Running in 1f44c45711b8 05:41:39 Removing intermediate container 1f44c45711b8 05:41:39 ---> 67aa3e1b2368 05:41:39 Step 6/10 : RUN apk add --update --no-cache make git 05:41:39 ---> Running in 02503a6fb9f6 05:41:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:41:42 OK: 267 MiB in 56 packages 05:41:43 Removing intermediate container 02503a6fb9f6 05:41:43 ---> 23bc82f4c4f0 05:41:43 Step 7/10 : COPY go.mod vendor* ./ 05:41:43 ---> 4f34b60e2fb0 05:41:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:41:43 ---> Running in 2167d056a2c0 05:42:51 Removing intermediate container 2167d056a2c0 05:42:51 ---> 53eb4419a252 05:42:51 Step 9/10 : COPY . . 05:42:51 ---> 0a8ace82e6bc 05:42:51 Step 10/10 : RUN ${MAKE} 05:42:51 ---> Running in f4e7d0f1a53f 05:42:51 noop 05:42:51 Removing intermediate container f4e7d0f1a53f 05:42:51 ---> 32541ca9ad3a 05:42:51 Successfully built 32541ca9ad3a 05:42:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:51 + docker inspect -f . ci-base-image-arm64 05:42:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:42:52 prd-ubuntu20.04-docker-arm64-4c-16g-6671 does not seem to be running inside a container 05:42:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/257 -v /w/workspace/device-sdk-go/257:/w/workspace/device-sdk-go/257:rw,z -v /w/workspace/device-sdk-go/257@tmp:/w/workspace/device-sdk-go/257@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 05:42:53 $ docker top 5229c903e4d8ba02890ba8b79d8d84d8024625fa3d42c1371355a451e61444e6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:54 + go version 05:42:54 go version go1.21.0 linux/arm64 [Pipeline] } 05:42:54 $ docker stop --time=1 5229c903e4d8ba02890ba8b79d8d84d8024625fa3d42c1371355a451e61444e6 05:42:55 $ docker rm -f --volumes 5229c903e4d8ba02890ba8b79d8d84d8024625fa3d42c1371355a451e61444e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:56 + docker inspect -f . ci-base-image-arm64 05:42:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:42:56 prd-ubuntu20.04-docker-arm64-4c-16g-6671 does not seem to be running inside a container 05:42:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/257 -v /w/workspace/device-sdk-go/257:/w/workspace/device-sdk-go/257:rw,z -v /w/workspace/device-sdk-go/257@tmp:/w/workspace/device-sdk-go/257@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 05:42:57 $ docker top 8c61a925a6b18ef6bb0756a09f9678560584e458617b35d6e59d4b66a03bb488 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:58 + git config --global --add safe.directory /w/workspace/device-sdk-go/257 [Pipeline] fileExists [Pipeline] sh 05:42:59 + make test 05:42:59 go test -race -coverprofile=coverage.out ./... 05:43:31 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:45:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:45:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:45:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:45:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:45:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:45:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.206s coverage: 27.6% of statements 05:45:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.238s coverage: 80.2% of statements 05:45:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:45:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:45:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.470s coverage: 86.0% of statements 05:45:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:45:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.498s coverage: 71.8% of statements 05:45:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.319s coverage: 14.4% of statements 05:45:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.774s coverage: 45.9% of statements 05:45:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:45:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:45:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.413s coverage: 68.5% of statements 05:45:41 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.442s coverage: 89.2% of statements 05:45:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:45:43 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.330s coverage: 5.5% of statements 05:45:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:45:44 GO111MODULE=on go vet ./... 05:47:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:47:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:47:36 ./bin/test-attribution-txt.sh [Pipeline] echo 05:47:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:47:36 $ docker stop --time=1 8c61a925a6b18ef6bb0756a09f9678560584e458617b35d6e59d4b66a03bb488 05:47:38 $ docker rm -f --volumes 8c61a925a6b18ef6bb0756a09f9678560584e458617b35d6e59d4b66a03bb488 [Pipeline] // withDockerContainer [Pipeline] sh 05:47:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:47:39 Warning: overwriting stash ‘coverage-report’ 05:47:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:47:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:47:40 + ls -al . 05:47:40 total 300 05:47:40 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 05:43 . 05:47:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:40 .. 05:47:40 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 05:40 .dockerignore 05:47:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 05:40 .git 05:47:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:40 .github 05:47:40 -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 05:40 .gitignore 05:47:40 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 05:40 .golangci.yml 05:47:40 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 05:40 CHANGELOG.md 05:47:40 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 05:40 GOVERNANCE.md 05:47:40 -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 05:40 Jenkinsfile 05:47:40 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 05:40 LICENSE 05:47:40 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 05:40 Makefile 05:47:40 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 05:40 OWNERS.md 05:47:40 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 05:40 README.md 05:47:40 -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 05:38 VERSION 05:47:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:40 bin 05:47:40 -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 05:45 coverage.out 05:47:40 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 05:40 example 05:47:40 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 05:40 go.mod 05:47:40 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 05:40 go.sum 05:47:40 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:40 internal 05:47:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:40 openapi 05:47:40 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 05:40 pkg 05:47:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:40 snap 05:47:40 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 05:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:41 + 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=c9092965fc0e73fdbee605785b6ca16e2186cbeb --label arch=arm64 --label version=3.1.0-dev.28 . 05:47:41 Sending build context to Docker daemon 6.081MB 05:47:41 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:47:41 Step 2/23 : FROM ${BASE} AS builder 05:47:41 ---> 32541ca9ad3a 05:47:41 Step 3/23 : ARG MAKE=make build 05:47:41 ---> Running in fadbaec3296d 05:47:42 Removing intermediate container fadbaec3296d 05:47:42 ---> bc4f9813a198 05:47:42 Step 4/23 : WORKDIR /device-sdk-go 05:47:42 ---> Running in 09290e49539d 05:47:42 Removing intermediate container 09290e49539d 05:47:42 ---> d8f035f56c20 05:47:42 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:47:42 ---> Running in 182c79c7f63f 05:47:42 Removing intermediate container 182c79c7f63f 05:47:42 ---> 1f553d3ed3c6 05:47:42 Step 6/23 : RUN apk add --update --no-cache make git 05:47:42 ---> Running in 8d610786e4ec 05:47:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:47:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:47:47 OK: 267 MiB in 56 packages 05:47:48 Removing intermediate container 8d610786e4ec 05:47:48 ---> fb0dc997f6cc 05:47:48 Step 7/23 : COPY go.mod vendor* ./ 05:47:48 ---> ddd810af5ec9 05:47:48 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:47:48 ---> Running in 3c052679ca8f 05:47:53 Removing intermediate container 3c052679ca8f 05:47:53 ---> 4185ff4b9274 05:47:53 Step 9/23 : COPY . . 05:47:53 ---> 4f24270de9e2 05:47:53 Step 10/23 : RUN ${MAKE} 05:47:53 ---> Running in 1dacbb414b19 05:47:54 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.28" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:49:31 Removing intermediate container 1dacbb414b19 05:49:31 ---> 875a927c713f 05:49:31 Step 11/23 : FROM alpine:3.18 05:49:32 3.18: Pulling from library/alpine 05:49:32 9fda8d8052c6: Already exists 05:49:32 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 05:49:32 Status: Downloaded newer image for alpine:3.18 05:49:32 ---> f6648c04cd6c 05:49:32 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:49:32 ---> Running in 81798a1548ba 05:49:32 Removing intermediate container 81798a1548ba 05:49:32 ---> 3c0c7a574f0e 05:49:32 Step 13/23 : RUN apk add --update --no-cache 05:49:33 ---> Running in 14cb2cc47e4d 05:49:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:49:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:49:35 OK: 8 MiB in 15 packages 05:49:37 Removing intermediate container 14cb2cc47e4d 05:49:37 ---> f5eaf17e2686 05:49:37 Step 14/23 : WORKDIR / 05:49:37 ---> Running in 77a921589f3f 05:49:38 Removing intermediate container 77a921589f3f 05:49:38 ---> b2559d03cdc8 05:49:38 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:49:38 ---> 809c8b2070b0 05:49:38 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:49:40 ---> 217d81643afd 05:49:40 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:49:40 ---> 776a9154179f 05:49:40 Step 18/23 : EXPOSE 59999 05:49:40 ---> Running in 21cd8fc0f1eb 05:49:40 Removing intermediate container 21cd8fc0f1eb 05:49:40 ---> ed780e6a30f5 05:49:40 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:49:40 ---> Running in 6fe1123b24bd 05:49:41 Removing intermediate container 6fe1123b24bd 05:49:41 ---> 6bc045b451c9 05:49:41 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:49:41 ---> Running in 52736ee13307 05:49:41 Removing intermediate container 52736ee13307 05:49:41 ---> b478f9ba1f7b 05:49:41 Step 21/23 : LABEL arch=arm64 05:49:41 ---> Running in 6f3d1724cc28 05:49:41 Removing intermediate container 6f3d1724cc28 05:49:41 ---> 5b6aa586bea0 05:49:41 Step 22/23 : LABEL git_sha=c9092965fc0e73fdbee605785b6ca16e2186cbeb 05:49:41 ---> Running in ef646fab488e 05:49:41 Removing intermediate container ef646fab488e 05:49:41 ---> f97f7d754689 05:49:41 Step 23/23 : LABEL version=3.1.0-dev.28 05:49:42 ---> Running in 1a6968ac837d 05:49:42 Removing intermediate container 1a6968ac837d 05:49:42 ---> 4d6460c42f02 05:49:42 [Warning] One or more build-args [ARCH] were not consumed 05:49:42 Successfully built 4d6460c42f02 05:49:42 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 05:49:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:49:42 05:49:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:49:43 arm64: Pulling from edgex-lftools-log-publisher 05:49:43 8998bd30e6a1: Pulling fs layer 05:49:43 04944245beec: Pulling fs layer 05:49:43 699f458cf7ca: Pulling fs layer 05:49:43 765212b225bb: Pulling fs layer 05:49:43 f23df028b6ca: Pulling fs layer 05:49:43 d65c8cfc05b1: Pulling fs layer 05:49:43 2437ff75d9bd: Pulling fs layer 05:49:43 765212b225bb: Waiting 05:49:43 d65c8cfc05b1: Waiting 05:49:43 2437ff75d9bd: Waiting 05:49:43 f23df028b6ca: Waiting 05:49:43 04944245beec: Verifying Checksum 05:49:43 04944245beec: Download complete 05:49:43 765212b225bb: Verifying Checksum 05:49:43 765212b225bb: Download complete 05:49:43 f23df028b6ca: Verifying Checksum 05:49:43 f23df028b6ca: Download complete 05:49:43 d65c8cfc05b1: Verifying Checksum 05:49:43 d65c8cfc05b1: Download complete 05:49:43 699f458cf7ca: Verifying Checksum 05:49:43 699f458cf7ca: Download complete 05:49:44 8998bd30e6a1: Verifying Checksum 05:49:44 8998bd30e6a1: Download complete 05:49:46 2437ff75d9bd: Verifying Checksum 05:49:46 2437ff75d9bd: Download complete 05:49:47 8998bd30e6a1: Pull complete 05:49:48 04944245beec: Pull complete 05:49:49 699f458cf7ca: Pull complete 05:49:49 765212b225bb: Pull complete 05:49:50 f23df028b6ca: Pull complete 05:49:50 d65c8cfc05b1: Pull complete 05:50:05 2437ff75d9bd: Pull complete 05:50:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:50:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:06 prd-ubuntu20.04-docker-arm64-4c-16g-6671 does not seem to be running inside a container 05:50:06 $ 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/257 -v /w/workspace/device-sdk-go/257:/w/workspace/device-sdk-go/257:rw,z -v /w/workspace/device-sdk-go/257@tmp:/w/workspace/device-sdk-go/257@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 05:50:08 $ docker top c7a04a4c11e73605e4dd1959c4c51966450e675b0d206468e3e7be96e9adf6a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:09 ---> job-cost.sh 05:50:09 lf-activate-venv: SKIPPING 05:50:09 INFO: No Stack... 05:50:09 INFO: Retrieving Pricing Info for: v3-standard-4 05:50:10 INFO: Archiving Costs [Pipeline] sh 05:50:11 + cat /w/workspace/device-sdk-go/257/archives/cost.csv 05:50:11 + cut -d, -f6 [Pipeline] lock 05:50:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] 05:50:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] did not exist. Created. 05:50:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:50:11 /w/workspace/device-sdk-go/257@tmp/durable-97436f05/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:50:12 + echo total: 0.10999999940395355 [Pipeline] stash 05:50:12 Warning: overwriting stash ‘stack-cost’ 05:50:12 Stashed 1 file(s) [Pipeline] } 05:50:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-257-stack-cost] [Pipeline] // lock [Pipeline] } 05:50:12 $ docker stop --time=1 c7a04a4c11e73605e4dd1959c4c51966450e675b0d206468e3e7be96e9adf6a0 05:50:14 $ docker rm -f --volumes c7a04a4c11e73605e4dd1959c4c51966450e675b0d206468e3e7be96e9adf6a0 [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 05:50:14 provisioning config files... 05:50:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2905860576354915358tmp [Pipeline] { [Pipeline] sh 05:50:14 + set +x 05:50:14 + + curlbash -s -s https://codecov.io/bash -- 05:50:14 05:50:14 05:50:14 _____ _ 05:50:14 / ____| | | 05:50:14 | | ___ __| | ___ ___ _____ __ 05:50:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:50:14 | |___| (_) | (_| | __/ (_| (_) \ V / 05:50:14 \_____\___/ \__,_|\___|\___\___/ \_/ 05:50:14 Bash-1.0.6 05:50:14 05:50:14 05:50:14 ==> git version 2.25.1 found 05:50:14 ==> 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 05:50:14 Release-Date: 2020-01-08 05:50:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:50:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:50:14 ==> Jenkins CI detected. 05:50:14 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:50:14 project root: . 05:50:14 --> token set from env 05:50:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:50:14 ==> Running gcov in . (disable via -X gcov) 05:50:14 ==> Python coveragepy not found 05:50:14 ==> Searching for coverage reports in: 05:50:14 + . 05:50:14 -> Found 1 reports 05:50:14 ==> Detecting git/mercurial file structure 05:50:14 ==> Reading reports 05:50:14 + ./coverage.out bytes=121385 05:50:14 ==> Appending adjustments 05:50:14 https://docs.codecov.io/docs/fixing-reports 05:50:15 + Found adjustments 05:50:15 ==> Gzipping contents 05:50:15 20K /tmp/codecov.NZLbQ5.gz 05:50:15 ==> Uploading reports 05:50:15 url: https://codecov.io 05:50:15 query: branch=main&commit=c9092965fc0e73fdbee605785b6ca16e2186cbeb&build=257&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F257%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:50:15 -> Pinging Codecov 05:50:15 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=c9092965fc0e73fdbee605785b6ca16e2186cbeb&build=257&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F257%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:50:15 -> Uploading to 05:50:15 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7E55EF52A471D76F132DFD9A03CDDE97/c9092965fc0e73fdbee605785b6ca16e2186cbeb/fc6d682e-7010-4f02-8da3-0904da5b8eb9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T055015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be64db380f6c78cc3cb4cecf231d8512ba66afed5ca91b80e1d14057480520d5 05:50:15 % Total % Received % Xferd Average Speed Time Time Time Current 05:50:15 Dload Upload Total Spent Left Speed 05:50:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16541 0 0 100 16541 0 69500 --:--:-- --:--:-- --:--:-- 69500 05:50:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] } 05:50:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:50:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:50:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:50:15 05:50:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:50:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:50:16 df9b9388f04a: Pulling fs layer 05:50:16 52dc419b0ee2: Pulling fs layer 05:50:16 25bc292e5bac: Pulling fs layer 05:50:16 114826534d7a: Pulling fs layer 05:50:16 4657fd5d0bcf: Pulling fs layer 05:50:16 6ad1cebc031e: Pulling fs layer 05:50:16 8a3aa393b2d8: Pulling fs layer 05:50:16 6ad1cebc031e: Waiting 05:50:16 114826534d7a: Waiting 05:50:16 8a3aa393b2d8: Waiting 05:50:16 25bc292e5bac: Verifying Checksum 05:50:16 25bc292e5bac: Download complete 05:50:16 52dc419b0ee2: Download complete 05:50:16 4657fd5d0bcf: Verifying Checksum 05:50:16 4657fd5d0bcf: Download complete 05:50:16 df9b9388f04a: Verifying Checksum 05:50:16 df9b9388f04a: Download complete 05:50:16 df9b9388f04a: Pull complete 05:50:16 6ad1cebc031e: Verifying Checksum 05:50:16 6ad1cebc031e: Download complete 05:50:16 52dc419b0ee2: Pull complete 05:50:16 25bc292e5bac: Pull complete 05:50:17 114826534d7a: Verifying Checksum 05:50:17 114826534d7a: Download complete 05:50:17 8a3aa393b2d8: Verifying Checksum 05:50:17 8a3aa393b2d8: Download complete 05:50:20 114826534d7a: Pull complete 05:50:20 4657fd5d0bcf: Pull complete 05:50:20 6ad1cebc031e: Pull complete 05:50:23 8a3aa393b2d8: Pull complete 05:50:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:50:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:50:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:23 prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container 05:50:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:50:27 $ docker top 5887b72d69f64a602adf9bf27e10f484a4d919906671672aded4f1f11661f66b -eo pid,comm [Pipeline] { [Pipeline] echo 05:50:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:50:27 + set -o pipefail 05:50:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:50:33 05:50:33 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:50:33 05:50:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/4517e1a3-4e4a-43c9-aa52-0e41a6c32ca2 05:50:33 05:50:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:50:33 05:50:33 05:50:33 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:50:33 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:50:33 More details here: https://snyk.co/ue1NS [Pipeline] } 05:50:33 $ docker stop --time=1 5887b72d69f64a602adf9bf27e10f484a4d919906671672aded4f1f11661f66b 05:50:37 $ docker rm -f --volumes 5887b72d69f64a602adf9bf27e10f484a4d919906671672aded4f1f11661f66b [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 05:50:38 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:38 provisioning config files... 05:50:38 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15730739067506882927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:38 --> edgex-publish-swagger.sh 05:50:38 === Publish openapi/v3 API === 05:50:38 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:50:38 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:50:38 % Total % Received % Xferd Average Speed Time Time Time Current 05:50:38 Dload Upload Total Spent Left Speed 05:50:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 43200 --:--:-- --:--:-- --:--:-- 43122 100 23674 0 0 100 23674 0 43122 --:--:-- --:--:-- --:--:-- 43043 05:50:38 05:50:38 [Pipeline] } 05:50:38 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 05:50:39 + git log --format=format:%s -1 c9092965fc0e73fdbee605785b6ca16e2186cbeb [Pipeline] sh 05:50:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:50:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:50:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:39 prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container 05:50:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:50:40 $ docker top d870aa2d8b4fb61b0fdc652d3d79140e7bdb1f76bf9fbf29f3319432bf299ff4 -eo pid,comm 05:50:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:50:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:50:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:40 [ssh-agent] Looking for ssh-agent implementation... 05:50:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:40 $ docker exec d870aa2d8b4fb61b0fdc652d3d79140e7bdb1f76bf9fbf29f3319432bf299ff4 ssh-agent 05:50:40 SSH_AUTH_SOCK=/tmp/ssh-ueFgb8zyQSUm/agent.31 05:50:40 SSH_AGENT_PID=37 05:50:40 Running ssh-add (command line suppressed) 05:50:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15959557796356072903.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15959557796356072903.key) 05:50:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:41 + git semver tag 05:50:41 2023-09-20 05:50:41,242 [run_tag] DEBUG tag force:False 05:50:41 2023-09-20 05:50:41,242 [check_head_tag] DEBUG check head tag 05:50:41 2023-09-20 05:50:41,243 [execute] INFO git cat-file --batch-check 05:50:41 2023-09-20 05:50:41,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:50:41 2023-09-20 05:50:41,246 [execute] INFO git cat-file --batch 05:50:41 2023-09-20 05:50:41,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:50:41 2023-09-20 05:50:41,259 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:50:41 2023-09-20 05:50:41,259 [execute] INFO git tag -a v3.1.0-dev.28 -m v3.1.0-dev.28 05:50:41 2023-09-20 05:50:41,259 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.28', '-m', 'v3.1.0-dev.28'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:50:41 2023-09-20 05:50:41,263 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:50:41 3.1.0-dev.28 [Pipeline] } 05:50:41 $ docker exec --env ******** --env ******** d870aa2d8b4fb61b0fdc652d3d79140e7bdb1f76bf9fbf29f3319432bf299ff4 ssh-agent -k 05:50:41 unset SSH_AUTH_SOCK; 05:50:41 unset SSH_AGENT_PID; 05:50:41 echo Agent pid 37 killed; 05:50:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:41 + git semver [Pipeline] } 05:50:42 $ docker stop --time=1 d870aa2d8b4fb61b0fdc652d3d79140e7bdb1f76bf9fbf29f3319432bf299ff4 05:50:43 $ docker rm -f --volumes d870aa2d8b4fb61b0fdc652d3d79140e7bdb1f76bf9fbf29f3319432bf299ff4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:50:43 05:50:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:50:43 0.23.1-centos7: Pulling from edgex-lftools 05:50:43 ab5ef0e58194: Pulling fs layer 05:50:43 9712f1f96733: Pulling fs layer 05:50:43 63f879dbbcfc: Pulling fs layer 05:50:43 0d9ebad4ef96: Pulling fs layer 05:50:43 e9a5061849ea: Pulling fs layer 05:50:43 d747dcd14b5f: Pulling fs layer 05:50:43 2de7ff778b66: Pulling fs layer 05:50:43 e9a5061849ea: Waiting 05:50:43 d747dcd14b5f: Waiting 05:50:43 2de7ff778b66: Waiting 05:50:43 0d9ebad4ef96: Waiting 05:50:43 9712f1f96733: Verifying Checksum 05:50:43 9712f1f96733: Download complete 05:50:44 63f879dbbcfc: Verifying Checksum 05:50:44 63f879dbbcfc: Download complete 05:50:44 0d9ebad4ef96: Verifying Checksum 05:50:44 0d9ebad4ef96: Download complete 05:50:44 ab5ef0e58194: Verifying Checksum 05:50:44 ab5ef0e58194: Download complete 05:50:44 e9a5061849ea: Verifying Checksum 05:50:44 e9a5061849ea: Download complete 05:50:44 d747dcd14b5f: Download complete 05:50:44 2de7ff778b66: Verifying Checksum 05:50:44 2de7ff778b66: Download complete 05:50:47 ab5ef0e58194: Pull complete 05:50:47 9712f1f96733: Pull complete 05:50:47 63f879dbbcfc: Pull complete 05:50:51 0d9ebad4ef96: Pull complete 05:50:51 e9a5061849ea: Pull complete 05:50:51 d747dcd14b5f: Pull complete 05:50:56 2de7ff778b66: Pull complete 05:50:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:50:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:50:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:56 prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container 05:50:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:51:02 $ docker top b3a0ba65b21a049fcaca94c20677723dd6fc0bdc628ef49d13450075949189ac -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:51:02 provisioning config files... 05:51:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6893860468905614148tmp 05:51:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5411743979766258755tmp 05:51:02 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11741300457842145505tmp [Pipeline] { [Pipeline] echo 05:51:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:51:02 ---> sigul-configuration.sh 05:51:02 gpg: directory `/root/.gnupg' created 05:51:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:51:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:51:02 gpg: keyring `/root/.gnupg/secring.gpg' created 05:51:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:51:02 gpg: CAST5 encrypted data 05:51:02 gpg: encrypted with 1 passphrase 05:51:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:51:03 + mkdir /home/jenkins 05:51:03 + mkdir /home/jenkins/sigul [Pipeline] sh 05:51:03 + 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 05:51:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:51:03 ---> sigul-install.sh 05:51:03 Sigul already installed; skipping installation. [Pipeline] sh 05:51:04 + git tag --list 05:51:04 0.7.1 05:51:04 delhi-tag 05:51:04 v1.0.0 05:51:04 v1.1.0 05:51:04 v1.1.1 05:51:04 v1.1.2 05:51:04 v1.2.0 05:51:04 v1.2.1 05:51:04 v1.2.2 05:51:04 v1.2.3 05:51:04 v1.3.0 05:51:04 v1.4.0 05:51:04 v2.0.0 05:51:04 v2.1.0 05:51:04 v2.1.1 05:51:04 v2.2.0 05:51:04 v2.3.0 05:51:04 v2.3.1 05:51:04 v3.0 05:51:04 v3.0.0 05:51:04 v3.0.1-dev.1 05:51:04 v3.1.0-dev.1 05:51:04 v3.1.0-dev.10 05:51:04 v3.1.0-dev.11 05:51:04 v3.1.0-dev.12 05:51:04 v3.1.0-dev.13 05:51:04 v3.1.0-dev.14 05:51:04 v3.1.0-dev.15 05:51:04 v3.1.0-dev.16 05:51:04 v3.1.0-dev.17 05:51:04 v3.1.0-dev.18 05:51:04 v3.1.0-dev.19 05:51:04 v3.1.0-dev.2 05:51:04 v3.1.0-dev.20 05:51:04 v3.1.0-dev.21 05:51:04 v3.1.0-dev.22 05:51:04 v3.1.0-dev.23 05:51:04 v3.1.0-dev.24 05:51:04 v3.1.0-dev.25 05:51:04 v3.1.0-dev.26 05:51:04 v3.1.0-dev.27 05:51:04 v3.1.0-dev.28 05:51:04 v3.1.0-dev.3 05:51:04 v3.1.0-dev.4 05:51:04 v3.1.0-dev.5 05:51:04 v3.1.0-dev.6 05:51:04 v3.1.0-dev.7 05:51:04 v3.1.0-dev.8 05:51:04 v3.1.0-dev.9 [Pipeline] sh 05:51:04 + lftools sign git-tag v3.1.0-dev.28 05:51:04 Signing Git tag with Sigul... 05:51:04 Signing v3.1.0-dev.28 [Pipeline] echo 05:51:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:51:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:51:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:51:05 $ docker stop --time=1 b3a0ba65b21a049fcaca94c20677723dd6fc0bdc628ef49d13450075949189ac 05:51:06 $ docker rm -f --volumes b3a0ba65b21a049fcaca94c20677723dd6fc0bdc628ef49d13450075949189ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:51:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:51:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:51:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:07 prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container 05:51:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:51:07 $ docker top e3e5fc3f21a4a8151269e316262dfb0880f6a57008225f528bd6ecd14e0f27dc -eo pid,comm 05:51:07 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). 05:51:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:51:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:07 [ssh-agent] Looking for ssh-agent implementation... 05:51:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:08 $ docker exec e3e5fc3f21a4a8151269e316262dfb0880f6a57008225f528bd6ecd14e0f27dc ssh-agent 05:51:08 SSH_AUTH_SOCK=/tmp/ssh-4LvC2xxB0E0E/agent.31 05:51:08 SSH_AGENT_PID=37 05:51:08 Running ssh-add (command line suppressed) 05:51:08 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13946404968574445962.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13946404968574445962.key) 05:51:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:08 + git semver bump pre 05:51:08 2023-09-20 05:51:08,817 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:51:08 2023-09-20 05:51:08,818 [bump_version] DEBUG bumping version:3.1.0-dev.28 on axis:pre with prefix:dev 05:51:08 2023-09-20 05:51:08,818 [bump_version] DEBUG bumped version:3.1.0-dev.29 05:51:08 2023-09-20 05:51:08,818 [write_version] DEBUG write version:3.1.0-dev.29 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:51:08 2023-09-20 05:51:08,818 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:51:08 2023-09-20 05:51:08,818 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:51:08 2023-09-20 05:51:08,820 [execute] INFO git cat-file --batch-check 05:51:08 2023-09-20 05:51:08,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:51:08 2023-09-20 05:51:08,825 [execute] INFO git cat-file --batch 05:51:08 2023-09-20 05:51:08,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:51:08 2023-09-20 05:51:08,831 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:51:08 3.1.0-dev.29 [Pipeline] } 05:51:08 $ docker exec --env ******** --env ******** e3e5fc3f21a4a8151269e316262dfb0880f6a57008225f528bd6ecd14e0f27dc ssh-agent -k 05:51:08 unset SSH_AUTH_SOCK; 05:51:08 unset SSH_AGENT_PID; 05:51:08 echo Agent pid 37 killed; 05:51:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:51:09 + git semver [Pipeline] } 05:51:09 $ docker stop --time=1 e3e5fc3f21a4a8151269e316262dfb0880f6a57008225f528bd6ecd14e0f27dc 05:51:10 $ docker rm -f --volumes e3e5fc3f21a4a8151269e316262dfb0880f6a57008225f528bd6ecd14e0f27dc [Pipeline] // withDockerContainer [Pipeline] sh 05:51:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:51:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:51:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:11 prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container 05:51:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:51:11 $ docker top 8a4e52cb79c34daa8b661561bebe4d802f75bf49541fc0ff2d0ccc13c219477a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:51:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:11 [ssh-agent] Looking for ssh-agent implementation... 05:51:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:12 $ docker exec 8a4e52cb79c34daa8b661561bebe4d802f75bf49541fc0ff2d0ccc13c219477a ssh-agent 05:51:12 SSH_AUTH_SOCK=/tmp/ssh-9i9AnrLWFGTU/agent.32 05:51:12 SSH_AGENT_PID=38 05:51:12 Running ssh-add (command line suppressed) 05:51:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10874127403665303819.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10874127403665303819.key) 05:51:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:12 + git semver push 05:51:12 2023-09-20 05:51:12,746 [run_push] DEBUG push 05:51:12 2023-09-20 05:51:12,746 [execute] INFO git cat-file --batch-check 05:51:12 2023-09-20 05:51:12,747 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:51:12 2023-09-20 05:51:12,750 [execute] INFO git rev-list 8f0e054e487713f69ceac6e8e6b76f7795b6f408 -- 05:51:12 2023-09-20 05:51:12,751 [execute] DEBUG Popen(['git', 'rev-list', '8f0e054e487713f69ceac6e8e6b76f7795b6f408', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:51:12 2023-09-20 05:51:12,762 [execute] INFO git fetch -v origin 05:51:12 2023-09-20 05:51:12,763 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:51:13 2023-09-20 05:51:13,233 [run_push] DEBUG no remote changes detected 05:51:13 2023-09-20 05:51:13,233 [execute] INFO git push origin semver 05:51:13 2023-09-20 05:51:13,233 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:51:14 2023-09-20 05:51:14,018 [run_push] DEBUG push all version tags 05:51:14 2023-09-20 05:51:14,019 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:51:14 2023-09-20 05:51:14,019 [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) 05:51:14 2023-09-20 05:51:14,719 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:51:14 3.1.0-dev.29 [Pipeline] } 05:51:14 $ docker exec --env ******** --env ******** 8a4e52cb79c34daa8b661561bebe4d802f75bf49541fc0ff2d0ccc13c219477a ssh-agent -k 05:51:15 unset SSH_AUTH_SOCK; 05:51:15 unset SSH_AGENT_PID; 05:51:15 echo Agent pid 38 killed; 05:51:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:51:15 + git semver [Pipeline] } 05:51:15 $ docker stop --time=1 8a4e52cb79c34daa8b661561bebe4d802f75bf49541fc0ff2d0ccc13c219477a 05:51:16 $ docker rm -f --volumes 8a4e52cb79c34daa8b661561bebe4d802f75bf49541fc0ff2d0ccc13c219477a [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 05:51:17 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:51:17 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:51:17 total 16 05:51:17 drwxr-xr-x 3 root root 4096 Sep 20 05:41 . 05:51:17 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:51 .. 05:51:17 drwxr-xr-x 2 root root 4096 Sep 20 05:41 cost 05:51:17 -rw-r--r-- 1 root root 86 Sep 20 05:41 cost.csv 05:51:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:51:17 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:51:17 total 16 05:51:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 05:41 . 05:51:17 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:51 .. 05:51:17 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 05:41 cost 05:51:17 -rw-r--r-- 1 jenkins jenkins 86 Sep 20 05:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:51:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:51:18 ---> package-listing.sh 05:51:18 ++ facter osfamily 05:51:18 ++ tr '[:upper:]' '[:lower:]' 05:51:18 + OS_FAMILY=debian 05:51:18 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:51:18 + START_PACKAGES=/tmp/packages_start.txt 05:51:18 + END_PACKAGES=/tmp/packages_end.txt 05:51:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:51:18 + PACKAGES=/tmp/packages_start.txt 05:51:18 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:51:18 + PACKAGES=/tmp/packages_end.txt 05:51:18 + case "${OS_FAMILY}" in 05:51:18 + dpkg -l 05:51:18 + grep '^ii' 05:51:19 + '[' -f /tmp/packages_start.txt ']' 05:51:19 + '[' -f /tmp/packages_end.txt ']' 05:51:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:51:19 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:51:19 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:51:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:51:19 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 05:51:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:19 prd-ubuntu20.04-docker-8c-8g-6669 does not seem to be running inside a container 05:51:19 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:51:20 $ docker top 82a73a6ec46a1cdcef70156509ad4ce5e8eb03028fcfff3634928d459ad7916f -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:20 + touch /tmp/pre-build-complete [Pipeline] sh 05:51:20 + mkdir -p /var/log/sysstat [Pipeline] sh 05:51:21 + ls /var/log/sa-host 05:51:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:21 provisioning config files... 05:51:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4366822410722133621tmp [Pipeline] { [Pipeline] echo 05:51:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:51:21 ---> create-netrc.sh [Pipeline] } 05:51:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:51:21 ---> python-tools-install.sh [Pipeline] echo 05:51:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:51:22 ---> sudo-logs.sh 05:51:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:51:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:51:22 ---> job-cost.sh 05:51:22 lf-activate-venv: SKIPPING 05:51:22 DEBUG: total: 0.2199999988079071 05:51:22 INFO: Retrieving Stack Cost... 05:51:22 INFO: Retrieving Pricing Info for: v3-standard-8 05:51:23 INFO: Archiving Costs [Pipeline] echo 05:51:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:51:23 ---> logs-deploy.sh 05:51:23 lf-activate-venv: SKIPPING 05:51:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/257 05:51:23 INFO: archiving workspace using pattern(s): 05:51:24 Archives upload complete. 05:51:24 INFO: archiving logs to Nexus