Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c 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-ssh10403850379462767931.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-ssh3817598030894326110.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-ssh13848698773039209349.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-ssh10129092224133236349.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-ssh6541340672157550629.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-7218’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-7219’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7214’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7215’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7226’ is offline ‘prd-ubuntu20.04-docker-8c-8g-7227’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-7217’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7229 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 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c (main) Commit message: "Merge pull request #1517 from ernestojeda/create-release" > 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 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c # timeout=10 > git rev-list --no-walk c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:55:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:55:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:55:58 ========================================================= 20:55:58 EdgeX Global Pipelines Version Info 20:55:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:55:59 ------------------- 20:55:59 stable info: 20:55:59 ------------------- 20:55:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:55:59 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:55:59 Message: update stable to v1.0.254 20:55:59 ------------------- 20:55:59 experimental info: 20:55:59 ------------------- 20:55:59 Commited By: **** collab-it+edgex@linuxfoundation.org 20:55:59 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:55:59 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:55:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:55:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:55:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:55:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b02d0a [Pipeline] echo 20:56:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:00 provisioning config files... 20:56:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12179360716465481639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:00 ---> docker-login.sh 20:56:00 nexus3.edgexfoundry.org:10001 20:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:01 Configure a credential helper to remove this warning. See 20:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:01 20:56:01 Login Succeeded 20:56:01 nexus3.edgexfoundry.org:10002 20:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:01 Configure a credential helper to remove this warning. See 20:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:01 20:56:01 Login Succeeded 20:56:01 nexus3.edgexfoundry.org:10003 20:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:01 Configure a credential helper to remove this warning. See 20:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:01 20:56:01 Login Succeeded 20:56:01 nexus3.edgexfoundry.org:10004 20:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:01 Configure a credential helper to remove this warning. See 20:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:01 20:56:01 Login Succeeded 20:56:01 docker.io 20:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:01 Configure a credential helper to remove this warning. See 20:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:01 20:56:01 Login Succeeded 20:56:01 ---> docker-login.sh ends [Pipeline] } 20:56:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:56:02 + git rev-list -1 --merges 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c~1..3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] echo 20:56:02 -----------> git rev-list -1 --merges 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c~1..3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c 20:56:02 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [false] [Pipeline] sh 20:56:02 + git log --format=format:%s -1 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] echo 20:56:02 ========================================================= 20:56:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:56:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:03 + git log --format=format:%s -1 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] echo 20:56:03 [semverPrep] GIT_COMMIT: 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c, Commit Message: Merge pull request #1517 from ernestojeda/create-release [Pipeline] echo 20:56:03 [semverPrep] This is not a build commit. [Pipeline] sh 20:56:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:56:03 + grep -v github /etc/ssh/ssh_known_hosts 20:56:03 + [ -e /tmp/ssh_known_hosts ] 20:56:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:56:03 + sudo tee -a /etc/ssh/ssh_known_hosts 20:56:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:56:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:03 20:56:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:04 0.1.4: Pulling from edgex-devops/py-git-semver 20:56:04 b85a868b505f: Pulling fs layer 20:56:04 e2be974225ed: Pulling fs layer 20:56:04 339a4e72a1f5: Pulling fs layer 20:56:04 988bab9f4d93: Pulling fs layer 20:56:04 1469e6f7b9e6: Pulling fs layer 20:56:04 eaf3925da568: Pulling fs layer 20:56:04 bab4dde63d76: Pulling fs layer 20:56:04 bde34c3a00c8: Pulling fs layer 20:56:04 b352a97aabf1: Pulling fs layer 20:56:04 4872d77fe225: Pulling fs layer 20:56:04 5851b861e8e6: Pulling fs layer 20:56:04 988bab9f4d93: Waiting 20:56:04 bde34c3a00c8: Waiting 20:56:04 b352a97aabf1: Waiting 20:56:04 4872d77fe225: Waiting 20:56:04 1469e6f7b9e6: Waiting 20:56:04 5851b861e8e6: Waiting 20:56:04 eaf3925da568: Waiting 20:56:04 bab4dde63d76: Waiting 20:56:04 e2be974225ed: Verifying Checksum 20:56:04 e2be974225ed: Download complete 20:56:04 988bab9f4d93: Verifying Checksum 20:56:04 988bab9f4d93: Download complete 20:56:04 1469e6f7b9e6: Verifying Checksum 20:56:04 1469e6f7b9e6: Download complete 20:56:04 eaf3925da568: Verifying Checksum 20:56:04 eaf3925da568: Download complete 20:56:04 339a4e72a1f5: Verifying Checksum 20:56:04 339a4e72a1f5: Download complete 20:56:04 bde34c3a00c8: Download complete 20:56:04 b352a97aabf1: Verifying Checksum 20:56:04 b352a97aabf1: Download complete 20:56:04 4872d77fe225: Download complete 20:56:04 5851b861e8e6: Download complete 20:56:04 b85a868b505f: Verifying Checksum 20:56:04 b85a868b505f: Download complete 20:56:04 bab4dde63d76: Verifying Checksum 20:56:04 bab4dde63d76: Download complete 20:56:05 b85a868b505f: Pull complete 20:56:06 e2be974225ed: Pull complete 20:56:06 339a4e72a1f5: Pull complete 20:56:06 988bab9f4d93: Pull complete 20:56:07 1469e6f7b9e6: Pull complete 20:56:07 eaf3925da568: Pull complete 20:56:09 bab4dde63d76: Pull complete 20:56:09 bde34c3a00c8: Pull complete 20:56:10 b352a97aabf1: Pull complete 20:56:10 4872d77fe225: Pull complete 20:56:10 5851b861e8e6: Pull complete 20:56:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:56:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:11 prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container 20:56: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:56:17 $ docker top cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 -eo pid,comm 20:56:17 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). 20:56:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:17 [ssh-agent] Looking for ssh-agent implementation... 20:56:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:17 $ docker exec cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 ssh-agent 20:56:18 SSH_AUTH_SOCK=/tmp/ssh-v57dPCNNSM1D/agent.31 20:56:18 SSH_AGENT_PID=37 20:56:18 Running ssh-add (command line suppressed) 20:56:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13817706959711062547.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13817706959711062547.key) 20:56:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:18 + git tag --points-at HEAD [Pipeline] } 20:56:18 $ docker exec --env ******** --env ******** cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 ssh-agent -k 20:56:18 unset SSH_AUTH_SOCK; 20:56:18 unset SSH_AGENT_PID; 20:56:18 echo Agent pid 37 killed; 20:56:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:56:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:18 [ssh-agent] Looking for ssh-agent implementation... 20:56:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:18 $ docker exec cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 ssh-agent 20:56:18 SSH_AUTH_SOCK=/tmp/ssh-X4f13yZY9LAA/agent.69 20:56:18 SSH_AGENT_PID=75 20:56:18 Running ssh-add (command line suppressed) 20:56:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9611296020690246501.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9611296020690246501.key) 20:56:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:19 + git semver init 20:56:19 2023-09-20 20:56:19,427 [run_init] DEBUG init version:0.0.0 force:False 20:56:19 2023-09-20 20:56:19,427 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:56:19 2023-09-20 20:56:19,428 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:56:19 2023-09-20 20:56:19,428 [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) 20:56:20 2023-09-20 20:56:20,368 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 20:56:20 2023-09-20 20:56:20,369 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 20:56:20 2023-09-20 20:56:20,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:56:20 2023-09-20 20:56:20,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:56:20 3.1.0-dev.29 [Pipeline] } 20:56:20 $ docker exec --env ******** --env ******** cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 ssh-agent -k 20:56:20 unset SSH_AUTH_SOCK; 20:56:20 unset SSH_AGENT_PID; 20:56:20 echo Agent pid 75 killed; 20:56:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:56:20 + git semver [Pipeline] } 20:56:21 $ docker stop --time=1 cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 20:56:22 $ docker rm -f --volumes cff968542d50b5acec8988a16f8183a97e9bc3566420ac638e77fa99e90d2080 [Pipeline] // withDockerContainer [Pipeline] sh 20:56:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:56:23 Stashed 1 file(s) [Pipeline] echo 20:56:23 [edgeXSemver]: initialized semver on version 3.1.0-dev.29 [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 20:56:23 provisioning config files... 20:56:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8223643783217103668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:23 ---> docker-login.sh 20:56:23 nexus3.edgexfoundry.org:10001 20:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:23 Configure a credential helper to remove this warning. See 20:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:23 20:56:23 Login Succeeded 20:56:23 nexus3.edgexfoundry.org:10002 20:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:23 Configure a credential helper to remove this warning. See 20:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:23 20:56:23 Login Succeeded 20:56:23 nexus3.edgexfoundry.org:10003 20:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:23 Configure a credential helper to remove this warning. See 20:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:23 20:56:23 Login Succeeded 20:56:23 nexus3.edgexfoundry.org:10004 20:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:23 Configure a credential helper to remove this warning. See 20:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:23 20:56:23 Login Succeeded 20:56:23 docker.io 20:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:24 Configure a credential helper to remove this warning. See 20:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:24 20:56:24 Login Succeeded 20:56:24 ---> docker-login.sh ends [Pipeline] } 20:56:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:24 ========================================================= 20:56:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:56:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:24 + 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 . 20:56:24 Sending build context to Docker daemon 11.16MB 20:56:24 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:56:24 Step 2/10 : FROM ${BASE} AS builder 20:56:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:56:24 7264a8db6415: Pulling fs layer 20:56:24 c4d48a809fc2: Pulling fs layer 20:56:24 4f1c88b9dad5: Pulling fs layer 20:56:24 ad3a456e5733: Pulling fs layer 20:56:24 33e27b845d1e: Pulling fs layer 20:56:24 c68163c4e522: Pulling fs layer 20:56:24 50da416c3ac9: Pulling fs layer 20:56:24 23d2d4c4bb30: Pulling fs layer 20:56:24 ad3a456e5733: Waiting 20:56:24 33e27b845d1e: Waiting 20:56:24 c68163c4e522: Waiting 20:56:24 23d2d4c4bb30: Waiting 20:56:24 50da416c3ac9: Waiting 20:56:24 c4d48a809fc2: Download complete 20:56:24 ad3a456e5733: Download complete 20:56:24 33e27b845d1e: Verifying Checksum 20:56:24 33e27b845d1e: Download complete 20:56:24 c68163c4e522: Verifying Checksum 20:56:24 c68163c4e522: Download complete 20:56:24 7264a8db6415: Verifying Checksum 20:56:24 7264a8db6415: Download complete 20:56:24 7264a8db6415: Pull complete 20:56:24 23d2d4c4bb30: Verifying Checksum 20:56:24 23d2d4c4bb30: Download complete 20:56:24 c4d48a809fc2: Pull complete 20:56:24 4f1c88b9dad5: Verifying Checksum 20:56:24 4f1c88b9dad5: Download complete 20:56:25 50da416c3ac9: Download complete 20:56:28 4f1c88b9dad5: Pull complete 20:56:28 ad3a456e5733: Pull complete 20:56:28 33e27b845d1e: Pull complete 20:56:28 c68163c4e522: Pull complete 20:56:30 50da416c3ac9: Pull complete 20:56:31 23d2d4c4bb30: Pull complete 20:56:31 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:56:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:56:31 ---> 0786185ac409 20:56:31 Step 3/10 : ARG MAKE=make build 20:56:38 Still waiting to schedule task 20:56:38 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:56:38 ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:56:38 ‘prd-ubuntu20.04-docker-8c-8g-7216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:56:38 ‘prd-ubuntu20.04-docker-8c-8g-7233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:56:38 ‘prd-ubuntu20.04-docker-8c-8g-7236’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:56:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7231’ is offline 20:56:46 ---> Running in e3d9106b1b54 20:56:48 Removing intermediate container e3d9106b1b54 20:56:48 ---> 9b3adca1e7d2 20:56:48 Step 4/10 : WORKDIR /device-sdk-go 20:56:49 ---> Running in 11cf01fdf77f 20:56:49 Removing intermediate container 11cf01fdf77f 20:56:49 ---> 5f07829a5f3e 20:56:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:56:50 ---> Running in f2d1f13d5ca0 20:56:51 Removing intermediate container f2d1f13d5ca0 20:56:51 ---> 8f81e1f974fd 20:56:51 Step 6/10 : RUN apk add --update --no-cache make git 20:56:51 ---> Running in 14dcee4e1271 20:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:56:52 OK: 264 MiB in 52 packages 20:56:53 Removing intermediate container 14dcee4e1271 20:56:53 ---> e65aa020e7d4 20:56:53 Step 7/10 : COPY go.mod vendor* ./ 20:56:53 ---> 8e5003346582 20:56:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:53 ---> Running in 6f261bc3231d 20:57:40 Removing intermediate container 6f261bc3231d 20:57:40 ---> 350ed3c74094 20:57:40 Step 9/10 : COPY . . 20:57:40 ---> 242572f84cbf 20:57:40 Step 10/10 : RUN ${MAKE} 20:57:40 ---> Running in 782200a25a2e 20:57:40 noop 20:57:40 Removing intermediate container 782200a25a2e 20:57:40 ---> 7b2d03d33265 20:57:40 Successfully built 7b2d03d33265 20:57:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:40 + docker inspect -f . ci-base-image-x86_64 20:57:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:40 prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container 20:57:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:57:41 $ docker top bb5aca1b34a131fb925d70b2d9fda92334232dbf5dd8ad0bbcd6ca20ba7d54d5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:41 + go version 20:57:41 go version go1.21.0 linux/amd64 [Pipeline] } 20:57:41 $ docker stop --time=1 bb5aca1b34a131fb925d70b2d9fda92334232dbf5dd8ad0bbcd6ca20ba7d54d5 20:57:43 $ docker rm -f --volumes bb5aca1b34a131fb925d70b2d9fda92334232dbf5dd8ad0bbcd6ca20ba7d54d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:43 + docker inspect -f . ci-base-image-x86_64 20:57:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:43 prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container 20:57:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:57:44 $ docker top 1a5fa7df224ce62d68336ed35d94afa2c589910c133f75dbd429ab74a901d608 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 20:57:44 + make test 20:57:44 go test -race -coverprofile=coverage.out ./... 20:57:51 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:58:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.062s coverage: 27.6% of statements 20:58:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.057s coverage: 80.2% of statements 20:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:58:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.056s coverage: 86.0% of statements 20:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:58:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.073s coverage: 71.8% of statements 20:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:58:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.048s coverage: 14.4% of statements 20:58:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.088s coverage: 45.9% of statements 20:58:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.072s coverage: 68.5% of statements 20:58:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.121s coverage: 89.2% of statements 20:58:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.5% of statements 20:58:37 GO111MODULE=on go vet ./... 20:58:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:58:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:58:37 ./bin/test-attribution-txt.sh [Pipeline] echo 20:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:58:37 $ docker stop --time=1 1a5fa7df224ce62d68336ed35d94afa2c589910c133f75dbd429ab74a901d608 20:58:43 $ docker rm -f --volumes 1a5fa7df224ce62d68336ed35d94afa2c589910c133f75dbd429ab74a901d608 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:58:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:58:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:58:44 + ls -al . 20:58:44 total 304 20:58:44 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 20:57 . 20:58:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:55 .. 20:58:44 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 20:55 .dockerignore 20:58:44 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:58 .git 20:58:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:55 .github 20:58:44 -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 20:55 .gitignore 20:58:44 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 20:55 .golangci.yml 20:58:44 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:56 .semver 20:58:44 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 20:55 CHANGELOG.md 20:58:44 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:55 GOVERNANCE.md 20:58:44 -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 20:55 Jenkinsfile 20:58:44 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 20:55 LICENSE 20:58:44 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 20:55 Makefile 20:58:44 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 20:55 OWNERS.md 20:58:44 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 20:55 README.md 20:58:44 -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:56 VERSION 20:58:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:55 bin 20:58:44 -rw-r--r-- 1 jenkins jenkins 121387 Sep 20 20:58 coverage.out 20:58:44 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 20:55 example 20:58:44 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 20:55 go.mod 20:58:44 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 20:55 go.sum 20:58:44 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 20:55 internal 20:58:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:55 openapi 20:58:44 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 20:55 pkg 20:58:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:55 snap 20:58:44 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:44 + 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=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c --label arch=amd64 --label version=3.1.0-dev.29 . 20:58:44 Sending build context to Docker daemon 11.28MB 20:58:44 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 20:58:44 Step 2/23 : FROM ${BASE} AS builder 20:58:44 ---> 7b2d03d33265 20:58:44 Step 3/23 : ARG MAKE=make build 20:58:45 ---> Running in 06f19c700f6f 20:58:46 Removing intermediate container 06f19c700f6f 20:58:46 ---> 151a44e4b27d 20:58:46 Step 4/23 : WORKDIR /device-sdk-go 20:58:46 ---> Running in 9b52320ed3f3 20:58:46 Removing intermediate container 9b52320ed3f3 20:58:46 ---> 7f78d8f869f8 20:58:46 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:58:47 ---> Running in 2fea4aca0a2a 20:58:47 Removing intermediate container 2fea4aca0a2a 20:58:47 ---> 5e19d90f49f2 20:58:47 Step 6/23 : RUN apk add --update --no-cache make git 20:58:47 ---> Running in 9bd22b025148 20:58:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:58:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:58:48 OK: 264 MiB in 52 packages 20:58:49 Removing intermediate container 9bd22b025148 20:58:49 ---> b536396dc2a1 20:58:49 Step 7/23 : COPY go.mod vendor* ./ 20:58:49 ---> aaee489dd130 20:58:49 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:49 ---> Running in 89657e867a27 20:58:50 Removing intermediate container 89657e867a27 20:58:50 ---> e7edffff065c 20:58:50 Step 9/23 : COPY . . 20:58:50 ---> e73b61b396c4 20:58:50 Step 10/23 : RUN ${MAKE} 20:58:50 ---> Running in cb50338de4e2 20:58:51 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.29" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:58:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7242 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 20:58:58 Running in /w/workspace/device-sdk-go/258 [Pipeline] { [Pipeline] checkout 20:58:58 The recommended git tool is: git 20:59:08 using credential edgex-jenkins-ssh 20:59:08 Cloning the remote Git repository 20:59:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:59:09 > git init /w/workspace/device-sdk-go/258 # timeout=10 20:59:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:59:09 > git --version # timeout=10 20:59:09 > git --version # 'git version 2.25.1' 20:59:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:59:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:15 Avoid second fetch 20:59:15 Checking out Revision 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c (main) 20:59:15 > git config core.sparsecheckout # timeout=10 20:59:16 > git checkout -f 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c # timeout=10 20:59:17 Commit message: "Merge pull request #1517 from ernestojeda/create-release" 20:59:17 Removing intermediate container cb50338de4e2 20:59:17 ---> c35d0e4f1c1a 20:59:17 Step 11/23 : FROM alpine:3.18 20:59:17 3.18: Pulling from library/alpine 20:59:17 7264a8db6415: Already exists 20:59:17 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:18 Status: Downloaded newer image for alpine:3.18 20:59:18 ---> 7e01a0d0a1dc 20:59:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:59:18 ---> Running in e19b0c429a7f 20:59:18 Removing intermediate container e19b0c429a7f 20:59:18 ---> 5e26cbcd0229 20:59:18 Step 13/23 : RUN apk add --update --no-cache 20:59:18 ---> Running in 517c4c10afa6 20:59:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:59:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:59:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:59:18 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:18 Dload Upload Total Spent Left Speed 20:59:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k 20:59:18 OK: 7 MiB in 15 packages [Pipeline] sh 20:59:19 Removing intermediate container 517c4c10afa6 20:59:19 ---> 96c611545fcb 20:59:19 Step 14/23 : WORKDIR / 20:59:19 ---> Running in e5d7b13d41f0 20:59:19 Removing intermediate container e5d7b13d41f0 20:59:19 ---> a0ee1cd869b1 20:59:19 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:59:19 ---> 15842c56c0b2 20:59:19 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:59:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:59:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:59:20 + sudo tee /etc/docker/daemon.new 20:59:20 { 20:59:20 "registry-mirrors": [ 20:59:20 "https://nexus3.edgexfoundry.org:10001" 20:59:20 ], 20:59:20 "bip": "10.250.0.254/24", 20:59:20 "hosts": [ 20:59:20 "tcp://0.0.0.0:5555", 20:59:20 "unix:///var/run/docker.sock" 20:59:20 ], 20:59:20 "mtu": 1458, 20:59:20 "selinux-enabled": true, 20:59:20 "seccomp-profile": "/etc/docker/seccomp.json" 20:59:20 } [Pipeline] sh 20:59:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:59:20 ---> fd122778cc31 20:59:20 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:59:20 ---> 1841332f433b 20:59:20 Step 18/23 : EXPOSE 59999 20:59:20 ---> Running in 1ed90fb515bc 20:59:20 Removing intermediate container 1ed90fb515bc 20:59:20 ---> 12c78f6c3531 20:59:20 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:59:20 + sudo service docker restart 20:59:21 ---> Running in 6ae432359e34 20:59:22 Removing intermediate container 6ae432359e34 20:59:22 ---> c8f70bc22fa9 20:59:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:59:22 ---> Running in 49d1a051fe72 20:59:22 Removing intermediate container 49d1a051fe72 20:59:22 ---> f78f91cdc13a 20:59:22 Step 21/23 : LABEL arch=amd64 20:59:22 ---> Running in e42df1b97152 20:59:22 Removing intermediate container e42df1b97152 20:59:22 ---> d3669bad708e 20:59:22 Step 22/23 : LABEL git_sha=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c 20:59:22 ---> Running in 53f534f7f91b 20:59:22 Removing intermediate container 53f534f7f91b 20:59:22 ---> f1222fb71a53 20:59:22 Step 23/23 : LABEL version=3.1.0-dev.29 20:59:22 ---> Running in a5ed065a89ff 20:59:22 Removing intermediate container a5ed065a89ff 20:59:22 ---> a1a2f8563dcd 20:59:22 [Warning] One or more build-args [ARCH] were not consumed 20:59:22 Successfully built a1a2f8563dcd 20:59: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 20:59:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:23 20:59:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:23 latest: Pulling from edgex-lftools-log-publisher 20:59:23 5eb5b503b376: Pulling fs layer 20:59:23 5c69ac0246d0: Pulling fs layer 20:59:23 ec43610c2a17: Pulling fs layer 20:59:23 3a2ae6a8a46f: Pulling fs layer 20:59:23 33b1e0a273af: Pulling fs layer 20:59:23 5d3b04190fa2: Pulling fs layer 20:59:23 2f39f015ded8: Pulling fs layer 20:59:23 5d3b04190fa2: Waiting 20:59:23 3a2ae6a8a46f: Waiting 20:59:23 33b1e0a273af: Waiting 20:59:23 2f39f015ded8: Waiting 20:59:23 5c69ac0246d0: Download complete 20:59:23 3a2ae6a8a46f: Verifying Checksum 20:59:23 3a2ae6a8a46f: Download complete 20:59:23 33b1e0a273af: Download complete 20:59:23 ec43610c2a17: Verifying Checksum 20:59:23 ec43610c2a17: Download complete 20:59:23 5d3b04190fa2: Download complete 20:59:24 5eb5b503b376: Verifying Checksum 20:59:24 5eb5b503b376: Download complete 20:59:24 2f39f015ded8: Verifying Checksum 20:59:24 2f39f015ded8: Download complete 20:59:26 5eb5b503b376: Pull complete 20:59:26 5c69ac0246d0: Pull complete 20:59:26 ec43610c2a17: Pull complete 20:59:26 3a2ae6a8a46f: Pull complete 20:59:28 33b1e0a273af: Pull complete 20:59:28 5d3b04190fa2: Pull complete 20:59:31 2f39f015ded8: Pull complete 20:59:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:59:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:31 prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container 20:59:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:59:42 $ docker top 9381df27adde880d76b83dff4c4569de25404bf45b3711abc05d39d493ab1bee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 20:59:42 provisioning config files... 20:59:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/258@tmp/config6775821154159723215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:42 ---> job-cost.sh 20:59:42 lf-activate-venv: SKIPPING 20:59:42 INFO: No Stack... 20:59:42 ---> docker-login.sh 20:59:42 nexus3.edgexfoundry.org:10001 20:59:42 INFO: Retrieving Pricing Info for: v3-standard-8 20:59:43 INFO: Archiving Costs [Pipeline] sh 20:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:43 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 20:59:43 + cut -d, -f6 [Pipeline] lock 20:59:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] 20:59:43 Resource [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] did not exist. Created. 20:59:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:43 Configure a credential helper to remove this warning. See 20:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:43 20:59:43 Login Succeeded 20:59:43 nexus3.edgexfoundry.org:10002 20:59:43 + echo total: 0.2199999988079071 [Pipeline] stash 20:59:43 Stashed 1 file(s) [Pipeline] } 20:59:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] [Pipeline] // lock [Pipeline] } 20:59:43 $ docker stop --time=1 9381df27adde880d76b83dff4c4569de25404bf45b3711abc05d39d493ab1bee 20:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:43 Configure a credential helper to remove this warning. See 20:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:43 20:59:43 Login Succeeded 20:59:43 nexus3.edgexfoundry.org:10003 20:59:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:44 Configure a credential helper to remove this warning. See 20:59:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:44 20:59:44 Login Succeeded 20:59:44 nexus3.edgexfoundry.org:10004 20:59:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:44 $ docker rm -f --volumes 9381df27adde880d76b83dff4c4569de25404bf45b3711abc05d39d493ab1bee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:45 Configure a credential helper to remove this warning. See 20:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:45 20:59:45 Login Succeeded 20:59:45 docker.io 20:59:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:45 Configure a credential helper to remove this warning. See 20:59:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:45 20:59:45 Login Succeeded 20:59:45 ---> docker-login.sh ends [Pipeline] } 20:59:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:46 ========================================================= 20:59:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:59:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:46 + 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 . 20:59:47 Sending build context to Docker daemon 5.963MB 20:59:47 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:59:47 Step 2/10 : FROM ${BASE} AS builder 20:59:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:59:47 9fda8d8052c6: Pulling fs layer 20:59:47 5d54e960e981: Pulling fs layer 20:59:47 c4a7e357bf2a: Pulling fs layer 20:59:47 f0e02332f6b5: Pulling fs layer 20:59:47 cefa15bbcfad: Pulling fs layer 20:59:47 17808c966233: Pulling fs layer 20:59:47 f4c1fc716caa: Pulling fs layer 20:59:47 cefa15bbcfad: Waiting 20:59:47 17808c966233: Waiting 20:59:47 f4c1fc716caa: Waiting 20:59:47 f0e02332f6b5: Waiting 20:59:47 5d54e960e981: Verifying Checksum 20:59:47 5d54e960e981: Download complete 20:59:47 f0e02332f6b5: Verifying Checksum 20:59:47 f0e02332f6b5: Download complete 20:59:47 cefa15bbcfad: Verifying Checksum 20:59:47 cefa15bbcfad: Download complete 20:59:47 9fda8d8052c6: Verifying Checksum 20:59:47 9fda8d8052c6: Download complete 20:59:48 f4c1fc716caa: Verifying Checksum 20:59:48 f4c1fc716caa: Download complete 20:59:48 9fda8d8052c6: Pull complete 20:59:48 5d54e960e981: Pull complete 20:59:49 c4a7e357bf2a: Verifying Checksum 20:59:49 c4a7e357bf2a: Download complete 20:59:50 17808c966233: Verifying Checksum 20:59:50 17808c966233: Download complete 21:00:00 c4a7e357bf2a: Pull complete 21:00:00 f0e02332f6b5: Pull complete 21:00:00 cefa15bbcfad: Pull complete 21:00:09 17808c966233: Pull complete 21:00:10 f4c1fc716caa: Pull complete 21:00:10 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:00:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:00:10 ---> ea914061e18c 21:00:10 Step 3/10 : ARG MAKE=make build 21:00:11 ---> Running in bb15f9db8ebb 21:00:11 Removing intermediate container bb15f9db8ebb 21:00:11 ---> 27e75cbd8954 21:00:11 Step 4/10 : WORKDIR /device-sdk-go 21:00:11 ---> Running in 2054d5b6fcb0 21:00:12 Removing intermediate container 2054d5b6fcb0 21:00:12 ---> 108d739453ce 21:00:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:00:12 ---> Running in 5e204c9ee436 21:00:12 Removing intermediate container 5e204c9ee436 21:00:12 ---> 7a30f67375d9 21:00:12 Step 6/10 : RUN apk add --update --no-cache make git 21:00:13 ---> Running in c804eb75b6ca 21:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:00:16 OK: 266 MiB in 52 packages 21:00:17 Removing intermediate container c804eb75b6ca 21:00:17 ---> b72546db2423 21:00:17 Step 7/10 : COPY go.mod vendor* ./ 21:00:18 ---> f26fe5dce79d 21:00:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:18 ---> Running in da62bbb16d82 21:01:40 Removing intermediate container da62bbb16d82 21:01:40 ---> 1322de51fd62 21:01:40 Step 9/10 : COPY . . 21:01:40 ---> bac133652c91 21:01:40 Step 10/10 : RUN ${MAKE} 21:01:40 ---> Running in b1395a148983 21:01:40 noop 21:01:40 Removing intermediate container b1395a148983 21:01:40 ---> ca31c9bed312 21:01:40 Successfully built ca31c9bed312 21:01:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:40 + docker inspect -f . ci-base-image-arm64 21:01:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:40 prd-ubuntu20.04-docker-arm64-4c-16g-7242 does not seem to be running inside a container 21:01:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/258 -v /w/workspace/device-sdk-go/258:/w/workspace/device-sdk-go/258:rw,z -v /w/workspace/device-sdk-go/258@tmp:/w/workspace/device-sdk-go/258@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 21:01:42 $ docker top affbb816f899f470a4f9319ff61d35ecbde40cd1fb2895db58be21174abbdff0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:43 + go version 21:01:43 go version go1.21.0 linux/arm64 [Pipeline] } 21:01:43 $ docker stop --time=1 affbb816f899f470a4f9319ff61d35ecbde40cd1fb2895db58be21174abbdff0 21:01:45 $ docker rm -f --volumes affbb816f899f470a4f9319ff61d35ecbde40cd1fb2895db58be21174abbdff0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:46 + docker inspect -f . ci-base-image-arm64 21:01:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:46 prd-ubuntu20.04-docker-arm64-4c-16g-7242 does not seem to be running inside a container 21:01:46 $ 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/258 -v /w/workspace/device-sdk-go/258:/w/workspace/device-sdk-go/258:rw,z -v /w/workspace/device-sdk-go/258@tmp:/w/workspace/device-sdk-go/258@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 21:01:47 $ docker top bfe3fde28846de6c3df32642989d8fc242efee8eadb9223da46d5a7c7c11908e -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:48 + git config --global --add safe.directory /w/workspace/device-sdk-go/258 [Pipeline] fileExists [Pipeline] sh 21:01:49 + make test 21:01:49 go test -race -coverprofile=coverage.out ./... 21:02:46 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:05:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:05:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:05:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:05:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:05:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:05:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.227s coverage: 27.6% of statements 21:05:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.295s coverage: 80.2% of statements 21:05:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:05:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:05:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.428s coverage: 86.0% of statements 21:05:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:05:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.656s coverage: 71.8% of statements 21:05:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.355s coverage: 14.4% of statements 21:05:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:05:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:05:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.203s coverage: 45.9% of statements 21:06:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.451s coverage: 68.5% of statements 21:06:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.522s coverage: 89.2% of statements 21:06:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:06:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.288s coverage: 5.5% of statements 21:06:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:06:07 GO111MODULE=on go vet ./... 21:08:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:28 ./bin/test-attribution-txt.sh [Pipeline] echo 21:08:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:08:28 $ docker stop --time=1 bfe3fde28846de6c3df32642989d8fc242efee8eadb9223da46d5a7c7c11908e 21:08:31 $ docker rm -f --volumes bfe3fde28846de6c3df32642989d8fc242efee8eadb9223da46d5a7c7c11908e [Pipeline] // withDockerContainer [Pipeline] sh 21:08:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:33 Warning: overwriting stash ‘coverage-report’ 21:08:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:34 + ls -al . 21:08:34 total 300 21:08:34 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:01 . 21:08:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 .. 21:08:34 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 20:59 .dockerignore 21:08:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:59 .git 21:08:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 .github 21:08:34 -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 20:59 .gitignore 21:08:34 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 20:59 .golangci.yml 21:08:34 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 20:59 CHANGELOG.md 21:08:34 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:59 GOVERNANCE.md 21:08:34 -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 20:59 Jenkinsfile 21:08:34 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 20:59 LICENSE 21:08:34 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 20:59 Makefile 21:08:34 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 20:59 OWNERS.md 21:08:34 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 20:59 README.md 21:08:34 -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:56 VERSION 21:08:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:59 bin 21:08:34 -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 21:06 coverage.out 21:08:34 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 20:59 example 21:08:34 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 20:59 go.mod 21:08:34 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 20:59 go.sum 21:08:34 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 20:59 internal 21:08:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 openapi 21:08:34 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 20:59 pkg 21:08:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 snap 21:08:34 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:35 + 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=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c --label arch=arm64 --label version=3.1.0-dev.29 . 21:08:35 Sending build context to Docker daemon 6.086MB 21:08:35 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 21:08:35 Step 2/23 : FROM ${BASE} AS builder 21:08:35 ---> ca31c9bed312 21:08:35 Step 3/23 : ARG MAKE=make build 21:08:35 ---> Running in 9895944f1563 21:08:35 Removing intermediate container 9895944f1563 21:08:35 ---> 83037a6cf95a 21:08:35 Step 4/23 : WORKDIR /device-sdk-go 21:08:36 ---> Running in 6c3304e65949 21:08:36 Removing intermediate container 6c3304e65949 21:08:36 ---> 70f6d4ed0f8b 21:08:36 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:08:36 ---> Running in 92f63af493cb 21:08:37 Removing intermediate container 92f63af493cb 21:08:37 ---> 99142f3d9604 21:08:37 Step 6/23 : RUN apk add --update --no-cache make git 21:08:37 ---> Running in 5be0d3061b8e 21:08:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:08:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:08:40 OK: 266 MiB in 52 packages 21:08:41 Removing intermediate container 5be0d3061b8e 21:08:41 ---> da2b62b8326e 21:08:41 Step 7/23 : COPY go.mod vendor* ./ 21:08:41 ---> 3e76bbffaabb 21:08:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:41 ---> Running in 58601c4366e6 21:08:44 Removing intermediate container 58601c4366e6 21:08:44 ---> fe91fc8d0185 21:08:44 Step 9/23 : COPY . . 21:08:45 ---> a87afd0cc40c 21:08:45 Step 10/23 : RUN ${MAKE} 21:08:45 ---> Running in 3902320e95fe 21:08:47 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.29 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.29" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:11:10 Removing intermediate container 3902320e95fe 21:11:10 ---> 24688bc2a5c4 21:11:10 Step 11/23 : FROM alpine:3.18 21:11:10 3.18: Pulling from library/alpine 21:11:10 9fda8d8052c6: Already exists 21:11:10 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:11:10 Status: Downloaded newer image for alpine:3.18 21:11:10 ---> f6648c04cd6c 21:11:10 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:11:10 ---> Running in 053ad5cbceac 21:11:10 Removing intermediate container 053ad5cbceac 21:11:10 ---> c0ba3deeffe3 21:11:10 Step 13/23 : RUN apk add --update --no-cache 21:11:10 ---> Running in e69ecb8bcec6 21:11:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:11:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:11:10 OK: 8 MiB in 15 packages 21:11:10 Removing intermediate container e69ecb8bcec6 21:11:10 ---> 130c7850a053 21:11:10 Step 14/23 : WORKDIR / 21:11:10 ---> Running in 03ea637d6b43 21:11:10 Removing intermediate container 03ea637d6b43 21:11:10 ---> bb6ffe3ad733 21:11:10 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:11:10 ---> 5b3f0525b54c 21:11:10 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:11:10 ---> 4f31ac171aa4 21:11:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:11:10 ---> 3974a388220b 21:11:10 Step 18/23 : EXPOSE 59999 21:11:10 ---> Running in 2da432f04a25 21:11:10 Removing intermediate container 2da432f04a25 21:11:10 ---> e0f0a7832e6a 21:11:10 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:11:10 ---> Running in 6443d9631ed9 21:11:10 Removing intermediate container 6443d9631ed9 21:11:10 ---> b3db38bfefe9 21:11:10 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:11:10 ---> Running in 69ecc2749d43 21:11:10 Removing intermediate container 69ecc2749d43 21:11:10 ---> 5f9907f2a9b3 21:11:10 Step 21/23 : LABEL arch=arm64 21:11:10 ---> Running in 0cc31613ec97 21:11:10 Removing intermediate container 0cc31613ec97 21:11:10 ---> 25ebc3dbd008 21:11:10 Step 22/23 : LABEL git_sha=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c 21:11:10 ---> Running in 061bc9ed8214 21:11:10 Removing intermediate container 061bc9ed8214 21:11:10 ---> 14511ffec8d0 21:11:10 Step 23/23 : LABEL version=3.1.0-dev.29 21:11:10 ---> Running in 140b2f89a9ed 21:11:10 Removing intermediate container 140b2f89a9ed 21:11:10 ---> c4bdc7e021f6 21:11:10 [Warning] One or more build-args [ARCH] were not consumed 21:11:10 Successfully built c4bdc7e021f6 21:11:10 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 21:11:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:10 21:11:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:11 arm64: Pulling from edgex-lftools-log-publisher 21:11:11 8998bd30e6a1: Pulling fs layer 21:11:11 04944245beec: Pulling fs layer 21:11:11 699f458cf7ca: Pulling fs layer 21:11:11 765212b225bb: Pulling fs layer 21:11:11 f23df028b6ca: Pulling fs layer 21:11:11 d65c8cfc05b1: Pulling fs layer 21:11:11 2437ff75d9bd: Pulling fs layer 21:11:11 765212b225bb: Waiting 21:11:11 f23df028b6ca: Waiting 21:11:11 d65c8cfc05b1: Waiting 21:11:11 2437ff75d9bd: Waiting 21:11:11 04944245beec: Verifying Checksum 21:11:11 04944245beec: Download complete 21:11:11 765212b225bb: Verifying Checksum 21:11:11 765212b225bb: Download complete 21:11:11 f23df028b6ca: Verifying Checksum 21:11:11 f23df028b6ca: Download complete 21:11:11 d65c8cfc05b1: Verifying Checksum 21:11:11 d65c8cfc05b1: Download complete 21:11:11 699f458cf7ca: Verifying Checksum 21:11:11 699f458cf7ca: Download complete 21:11:11 8998bd30e6a1: Verifying Checksum 21:11:11 8998bd30e6a1: Download complete 21:11:13 2437ff75d9bd: Verifying Checksum 21:11:13 2437ff75d9bd: Download complete 21:11:15 8998bd30e6a1: Pull complete 21:11:16 04944245beec: Pull complete 21:11:17 699f458cf7ca: Pull complete 21:11:17 765212b225bb: Pull complete 21:11:18 f23df028b6ca: Pull complete 21:11:18 d65c8cfc05b1: Pull complete 21:11:30 2437ff75d9bd: Pull complete 21:11:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:11:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:30 prd-ubuntu20.04-docker-arm64-4c-16g-7242 does not seem to be running inside a container 21:11:31 $ 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/258 -v /w/workspace/device-sdk-go/258:/w/workspace/device-sdk-go/258:rw,z -v /w/workspace/device-sdk-go/258@tmp:/w/workspace/device-sdk-go/258@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 21:11:33 $ docker top c33bdb5c4c0a6dcbb1df528054cd77665632e9c2b459c4a0b8a62951871f3423 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:34 ---> job-cost.sh 21:11:34 lf-activate-venv: SKIPPING 21:11:34 INFO: No Stack... 21:11:34 INFO: Retrieving Pricing Info for: v3-standard-4 21:11:35 INFO: Archiving Costs [Pipeline] sh 21:11:36 + cat /w/workspace/device-sdk-go/258/archives/cost.csv 21:11:36 + cut -d, -f6 [Pipeline] lock 21:11:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] 21:11:36 Resource [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] did not exist. Created. 21:11:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:37 /w/workspace/device-sdk-go/258@tmp/durable-836526b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:11:37 + echo total: 0.10999999940395355 [Pipeline] stash 21:11:37 Warning: overwriting stash ‘stack-cost’ 21:11:37 Stashed 1 file(s) [Pipeline] } 21:11:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-258-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:37 $ docker stop --time=1 c33bdb5c4c0a6dcbb1df528054cd77665632e9c2b459c4a0b8a62951871f3423 21:11:39 $ docker rm -f --volumes c33bdb5c4c0a6dcbb1df528054cd77665632e9c2b459c4a0b8a62951871f3423 [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 21:11:39 provisioning config files... 21:11:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11137900614978170686tmp [Pipeline] { [Pipeline] sh 21:11:40 + set +x 21:11:40 + curl -s https://codecov.io/bash 21:11:40 + bash -s -- 21:11:40 21:11:40 _____ _ 21:11:40 / ____| | | 21:11:40 | | ___ __| | ___ ___ _____ __ 21:11:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:11:40 | |___| (_) | (_| | __/ (_| (_) \ V / 21:11:40 \_____\___/ \__,_|\___|\___\___/ \_/ 21:11:40 Bash-1.0.6 21:11:40 21:11:40 21:11:40 ==> git version 2.25.1 found 21:11:40 ==> 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 21:11:40 Release-Date: 2020-01-08 21:11:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:11:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:11:40 ==> Jenkins CI detected. 21:11:40 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 21:11:40 project root: . 21:11:40 --> token set from env 21:11:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:11:40 ==> Running gcov in . (disable via -X gcov) 21:11:40 ==> Python coveragepy not found 21:11:40 ==> Searching for coverage reports in: 21:11:40 + . 21:11:40 -> Found 1 reports 21:11:40 ==> Detecting git/mercurial file structure 21:11:40 ==> Reading reports 21:11:40 + ./coverage.out bytes=121385 21:11:40 ==> Appending adjustments 21:11:40 https://docs.codecov.io/docs/fixing-reports 21:11:40 + Found adjustments 21:11:40 ==> Gzipping contents 21:11:40 20K /tmp/codecov.RtWNTB.gz 21:11:40 ==> Uploading reports 21:11:40 url: https://codecov.io 21:11:40 query: branch=main&commit=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c&build=258&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F258%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:11:40 -> Pinging Codecov 21:11:40 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=3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c&build=258&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F258%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:11:40 -> Uploading to 21:11:40 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7E55EF52A471D76F132DFD9A03CDDE97/3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c/2012385c-4b3e-4cab-b16f-4307e930d328.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T211140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=395a97f70c66715d26caef1efeb5e47fbdc9af12b3e1b68e380a5ae1f8da1ed5 21:11:40 % Total % Received % Xferd Average Speed Time Time Time Current 21:11:40 Dload Upload Total Spent Left Speed 21:11:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16521 0 0 100 16521 0 79811 --:--:-- --:--:-- --:--:-- 80199 21:11:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] } 21:11:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:11:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:11:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:41 21:11:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:11:41 df9b9388f04a: Pulling fs layer 21:11:41 52dc419b0ee2: Pulling fs layer 21:11:41 25bc292e5bac: Pulling fs layer 21:11:41 114826534d7a: Pulling fs layer 21:11:41 4657fd5d0bcf: Pulling fs layer 21:11:41 6ad1cebc031e: Pulling fs layer 21:11:41 8a3aa393b2d8: Pulling fs layer 21:11:41 114826534d7a: Waiting 21:11:41 4657fd5d0bcf: Waiting 21:11:41 6ad1cebc031e: Waiting 21:11:41 8a3aa393b2d8: Waiting 21:11:41 25bc292e5bac: Verifying Checksum 21:11:41 25bc292e5bac: Download complete 21:11:41 52dc419b0ee2: Verifying Checksum 21:11:41 52dc419b0ee2: Download complete 21:11:41 4657fd5d0bcf: Verifying Checksum 21:11:41 4657fd5d0bcf: Download complete 21:11:41 df9b9388f04a: Download complete 21:11:41 6ad1cebc031e: Verifying Checksum 21:11:41 6ad1cebc031e: Download complete 21:11:41 df9b9388f04a: Pull complete 21:11:41 52dc419b0ee2: Pull complete 21:11:41 25bc292e5bac: Pull complete 21:11:42 114826534d7a: Verifying Checksum 21:11:42 114826534d7a: Download complete 21:11:42 8a3aa393b2d8: Verifying Checksum 21:11:42 8a3aa393b2d8: Download complete 21:11:45 114826534d7a: Pull complete 21:11:45 4657fd5d0bcf: Pull complete 21:11:45 6ad1cebc031e: Pull complete 21:11:48 8a3aa393b2d8: Pull complete 21:11:48 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:11:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:48 prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container 21:11:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:11:58 $ docker top 28abb1c08b6c1bead78376681e420276cb8518f6a26b79965dc50c52048c50e6 -eo pid,comm [Pipeline] { [Pipeline] echo 21:11:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 21:11:58 + set -o pipefail 21:11:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 21:12:03 21:12:03 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 21:12:03 21:12:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a00f9450-d971-4a85-b351-f45686f72a04 21:12:03 21:12:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:12:03 21:12:03 21:12:03 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:12:03 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:12:03 More details here: https://snyk.co/ue1NS [Pipeline] } 21:12:03 $ docker stop --time=1 28abb1c08b6c1bead78376681e420276cb8518f6a26b79965dc50c52048c50e6 21:12:08 $ docker rm -f --volumes 28abb1c08b6c1bead78376681e420276cb8518f6a26b79965dc50c52048c50e6 [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 21:12:09 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:09 provisioning config files... 21:12:09 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17662831372902692713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:09 --> edgex-publish-swagger.sh 21:12:09 === Publish openapi/v3 API === 21:12:09 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 21:12:09 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 21:12:09 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:09 Dload Upload Total Spent Left Speed 21:12:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 51021 --:--:-- --:--:-- --:--:-- 51021 21:12:09 21:12:09 [Pipeline] } 21:12:09 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 21:12:09 + git log --format=format:%s -1 3b02d0a22aabd8b2528e5fef2667f07c40fe7c1c [Pipeline] sh 21:12:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:10 prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container 21:12:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:12:11 $ docker top dc3470d3f7c6e1eb219b381bc6f04b74e4f1c13e895d3876f615444a6b6df4ef -eo pid,comm 21:12:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:12:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:11 [ssh-agent] Looking for ssh-agent implementation... 21:12:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:11 $ docker exec dc3470d3f7c6e1eb219b381bc6f04b74e4f1c13e895d3876f615444a6b6df4ef ssh-agent 21:12:11 SSH_AUTH_SOCK=/tmp/ssh-cNnnToIj9agw/agent.32 21:12:11 SSH_AGENT_PID=38 21:12:11 Running ssh-add (command line suppressed) 21:12:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18029332375934885930.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18029332375934885930.key) 21:12:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:11 + git semver tag 21:12:12 2023-09-20 21:12:11,962 [run_tag] DEBUG tag force:False 21:12:12 2023-09-20 21:12:11,963 [check_head_tag] DEBUG check head tag 21:12:12 2023-09-20 21:12:11,963 [execute] INFO git cat-file --batch-check 21:12:12 2023-09-20 21:12:11,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:12:12 2023-09-20 21:12:11,967 [execute] INFO git cat-file --batch 21:12:12 2023-09-20 21:12:11,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:12:12 2023-09-20 21:12:11,982 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:12:12 2023-09-20 21:12:11,982 [execute] INFO git tag -a v3.1.0-dev.29 -m v3.1.0-dev.29 21:12:12 2023-09-20 21:12:11,982 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.29', '-m', 'v3.1.0-dev.29'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:12:12 2023-09-20 21:12:11,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:12:12 3.1.0-dev.29 [Pipeline] } 21:12:12 $ docker exec --env ******** --env ******** dc3470d3f7c6e1eb219b381bc6f04b74e4f1c13e895d3876f615444a6b6df4ef ssh-agent -k 21:12:12 unset SSH_AUTH_SOCK; 21:12:12 unset SSH_AGENT_PID; 21:12:12 echo Agent pid 38 killed; 21:12:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:12 + git semver [Pipeline] } 21:12:12 $ docker stop --time=1 dc3470d3f7c6e1eb219b381bc6f04b74e4f1c13e895d3876f615444a6b6df4ef 21:12:14 $ docker rm -f --volumes dc3470d3f7c6e1eb219b381bc6f04b74e4f1c13e895d3876f615444a6b6df4ef [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:12:15 21:12:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:12:15 0.23.1-centos7: Pulling from edgex-lftools 21:12:15 ab5ef0e58194: Pulling fs layer 21:12:15 9712f1f96733: Pulling fs layer 21:12:15 63f879dbbcfc: Pulling fs layer 21:12:15 0d9ebad4ef96: Pulling fs layer 21:12:15 e9a5061849ea: Pulling fs layer 21:12:15 d747dcd14b5f: Pulling fs layer 21:12:15 2de7ff778b66: Pulling fs layer 21:12:15 d747dcd14b5f: Waiting 21:12:15 0d9ebad4ef96: Waiting 21:12:15 e9a5061849ea: Waiting 21:12:15 9712f1f96733: Verifying Checksum 21:12:15 9712f1f96733: Download complete 21:12:16 63f879dbbcfc: Verifying Checksum 21:12:16 63f879dbbcfc: Download complete 21:12:16 e9a5061849ea: Verifying Checksum 21:12:16 e9a5061849ea: Download complete 21:12:16 d747dcd14b5f: Verifying Checksum 21:12:16 d747dcd14b5f: Download complete 21:12:16 ab5ef0e58194: Verifying Checksum 21:12:16 ab5ef0e58194: Download complete 21:12:16 0d9ebad4ef96: Download complete 21:12:16 2de7ff778b66: Verifying Checksum 21:12:16 2de7ff778b66: Download complete 21:12:18 ab5ef0e58194: Pull complete 21:12:18 9712f1f96733: Pull complete 21:12:19 63f879dbbcfc: Pull complete 21:12:23 0d9ebad4ef96: Pull complete 21:12:23 e9a5061849ea: Pull complete 21:12:23 d747dcd14b5f: Pull complete 21:12:24 2de7ff778b66: Pull complete 21:12:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:12:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:12:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:24 prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container 21:12:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:12:32 $ docker top 3ab3fe81e99accf208c9587dcb9913163fde2acdf56f9302a5095e3502db2a63 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:12:32 provisioning config files... 21:12:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config896032633011820233tmp 21:12:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16760869115761260814tmp 21:12:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2997975929359684744tmp [Pipeline] { [Pipeline] echo 21:12:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:12:33 ---> sigul-configuration.sh 21:12:33 gpg: directory `/root/.gnupg' created 21:12:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:12:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:12:33 gpg: keyring `/root/.gnupg/secring.gpg' created 21:12:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:12:33 gpg: CAST5 encrypted data 21:12:33 gpg: encrypted with 1 passphrase 21:12:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:12:33 + mkdir /home/jenkins 21:12:33 + mkdir /home/jenkins/sigul [Pipeline] sh 21:12:33 + 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 21:12:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:12:33 ---> sigul-install.sh 21:12:33 Sigul already installed; skipping installation. [Pipeline] sh 21:12:34 + git tag --list 21:12:34 0.7.1 21:12:34 delhi-tag 21:12:34 v1.0.0 21:12:34 v1.1.0 21:12:34 v1.1.1 21:12:34 v1.1.2 21:12:34 v1.2.0 21:12:34 v1.2.1 21:12:34 v1.2.2 21:12:34 v1.2.3 21:12:34 v1.3.0 21:12:34 v1.4.0 21:12:34 v2.0.0 21:12:34 v2.1.0 21:12:34 v2.1.1 21:12:34 v2.2.0 21:12:34 v2.3.0 21:12:34 v2.3.1 21:12:34 v3.0 21:12:34 v3.0.0 21:12:34 v3.0.1-dev.1 21:12:34 v3.1.0-dev.1 21:12:34 v3.1.0-dev.10 21:12:34 v3.1.0-dev.11 21:12:34 v3.1.0-dev.12 21:12:34 v3.1.0-dev.13 21:12:34 v3.1.0-dev.14 21:12:34 v3.1.0-dev.15 21:12:34 v3.1.0-dev.16 21:12:34 v3.1.0-dev.17 21:12:34 v3.1.0-dev.18 21:12:34 v3.1.0-dev.19 21:12:34 v3.1.0-dev.2 21:12:34 v3.1.0-dev.20 21:12:34 v3.1.0-dev.21 21:12:34 v3.1.0-dev.22 21:12:34 v3.1.0-dev.23 21:12:34 v3.1.0-dev.24 21:12:34 v3.1.0-dev.25 21:12:34 v3.1.0-dev.26 21:12:34 v3.1.0-dev.27 21:12:34 v3.1.0-dev.28 21:12:34 v3.1.0-dev.29 21:12:34 v3.1.0-dev.3 21:12:34 v3.1.0-dev.4 21:12:34 v3.1.0-dev.5 21:12:34 v3.1.0-dev.6 21:12:34 v3.1.0-dev.7 21:12:34 v3.1.0-dev.8 21:12:34 v3.1.0-dev.9 [Pipeline] sh 21:12:34 + lftools sign git-tag v3.1.0-dev.29 21:12:35 Signing Git tag with Sigul... 21:12:35 Signing v3.1.0-dev.29 [Pipeline] echo 21:12:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:12:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:12:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:12:35 $ docker stop --time=1 3ab3fe81e99accf208c9587dcb9913163fde2acdf56f9302a5095e3502db2a63 21:12:36 $ docker rm -f --volumes 3ab3fe81e99accf208c9587dcb9913163fde2acdf56f9302a5095e3502db2a63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:12:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:37 prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container 21:12:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:12:38 $ docker top 481657124c2862cb2de7e289475879c8086aebb1995bb755d7abc5b69e2c2ae3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:38 [ssh-agent] Looking for ssh-agent implementation... 21:12:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:38 $ docker exec 481657124c2862cb2de7e289475879c8086aebb1995bb755d7abc5b69e2c2ae3 ssh-agent 21:12:38 SSH_AUTH_SOCK=/tmp/ssh-qRQAOuizBfNj/agent.31 21:12:38 SSH_AGENT_PID=37 21:12:38 Running ssh-add (command line suppressed) 21:12:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2981871191515594412.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2981871191515594412.key) 21:12:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:38 + git semver bump pre 21:12:39 2023-09-20 21:12:38,964 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:12:39 2023-09-20 21:12:38,964 [bump_version] DEBUG bumping version:3.1.0-dev.29 on axis:pre with prefix:dev 21:12:39 2023-09-20 21:12:38,965 [bump_version] DEBUG bumped version:3.1.0-dev.30 21:12:39 2023-09-20 21:12:38,965 [write_version] DEBUG write version:3.1.0-dev.30 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 21:12:39 2023-09-20 21:12:38,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:12:39 2023-09-20 21:12:38,965 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:12:39 2023-09-20 21:12:38,967 [execute] INFO git cat-file --batch-check 21:12:39 2023-09-20 21:12:38,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:12:39 2023-09-20 21:12:38,972 [execute] INFO git cat-file --batch 21:12:39 2023-09-20 21:12:38,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:12:39 2023-09-20 21:12:38,979 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:12:39 3.1.0-dev.30 [Pipeline] } 21:12:39 $ docker exec --env ******** --env ******** 481657124c2862cb2de7e289475879c8086aebb1995bb755d7abc5b69e2c2ae3 ssh-agent -k 21:12:39 unset SSH_AUTH_SOCK; 21:12:39 unset SSH_AGENT_PID; 21:12:39 echo Agent pid 37 killed; 21:12:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:39 + git semver [Pipeline] } 21:12:39 $ docker stop --time=1 481657124c2862cb2de7e289475879c8086aebb1995bb755d7abc5b69e2c2ae3 21:12:41 $ docker rm -f --volumes 481657124c2862cb2de7e289475879c8086aebb1995bb755d7abc5b69e2c2ae3 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:12:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:12:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:41 prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container 21:12:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:12:42 $ docker top ed9ccd41c30f0691ddb6cf70376128bc1237fc4b85779e9a18e544fb4ae656ad -eo pid,comm 21:12:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:12:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:42 [ssh-agent] Looking for ssh-agent implementation... 21:12:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:42 $ docker exec ed9ccd41c30f0691ddb6cf70376128bc1237fc4b85779e9a18e544fb4ae656ad ssh-agent 21:12:42 SSH_AUTH_SOCK=/tmp/ssh-STIrl0BWLHkU/agent.32 21:12:42 SSH_AGENT_PID=38 21:12:42 Running ssh-add (command line suppressed) 21:12:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15662824341079077188.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15662824341079077188.key) 21:12:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:42 + git semver push 21:12:43 2023-09-20 21:12:43,013 [run_push] DEBUG push 21:12:43 2023-09-20 21:12:43,013 [execute] INFO git cat-file --batch-check 21:12:43 2023-09-20 21:12:43,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:12:43 2023-09-20 21:12:43,017 [execute] INFO git rev-list 5729a45f417ea35b5e339dacd0dd4317d504ff5b -- 21:12:43 2023-09-20 21:12:43,017 [execute] DEBUG Popen(['git', 'rev-list', '5729a45f417ea35b5e339dacd0dd4317d504ff5b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:12:43 2023-09-20 21:12:43,029 [execute] INFO git fetch -v origin 21:12:43 2023-09-20 21:12:43,029 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:12:43 2023-09-20 21:12:43,516 [run_push] DEBUG no remote changes detected 21:12:43 2023-09-20 21:12:43,517 [execute] INFO git push origin semver 21:12:43 2023-09-20 21:12:43,517 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:12:44 2023-09-20 21:12:44,337 [run_push] DEBUG push all version tags 21:12:44 2023-09-20 21:12:44,338 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:12:44 2023-09-20 21:12:44,338 [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) 21:12:45 2023-09-20 21:12:45,206 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:12:45 3.1.0-dev.30 [Pipeline] } 21:12:45 $ docker exec --env ******** --env ******** ed9ccd41c30f0691ddb6cf70376128bc1237fc4b85779e9a18e544fb4ae656ad ssh-agent -k 21:12:45 unset SSH_AUTH_SOCK; 21:12:45 unset SSH_AGENT_PID; 21:12:45 echo Agent pid 38 killed; 21:12:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:46 + git semver [Pipeline] } 21:12:46 $ docker stop --time=1 ed9ccd41c30f0691ddb6cf70376128bc1237fc4b85779e9a18e544fb4ae656ad 21:12:47 $ docker rm -f --volumes ed9ccd41c30f0691ddb6cf70376128bc1237fc4b85779e9a18e544fb4ae656ad [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 21:12:48 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 21:12:48 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:12:48 total 16 21:12:48 drwxr-xr-x 3 root root 4096 Sep 20 20:59 . 21:12:48 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 21:12 .. 21:12:48 drwxr-xr-x 2 root root 4096 Sep 20 20:59 cost 21:12:48 -rw-r--r-- 1 root root 85 Sep 20 20:59 cost.csv 21:12:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:12:48 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:12:48 total 16 21:12:48 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:59 . 21:12:48 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 21:12 .. 21:12:48 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:59 cost 21:12:48 -rw-r--r-- 1 jenkins jenkins 85 Sep 20 20:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:12:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:12:49 ---> package-listing.sh 21:12:49 ++ facter osfamily 21:12:49 ++ tr '[:upper:]' '[:lower:]' 21:12:49 + OS_FAMILY=debian 21:12:49 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 21:12:49 + START_PACKAGES=/tmp/packages_start.txt 21:12:49 + END_PACKAGES=/tmp/packages_end.txt 21:12:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:12:49 + PACKAGES=/tmp/packages_start.txt 21:12:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:12:49 + PACKAGES=/tmp/packages_end.txt 21:12:49 + case "${OS_FAMILY}" in 21:12:49 + dpkg -l 21:12:49 + grep '^ii' 21:12:49 + '[' -f /tmp/packages_start.txt ']' 21:12:49 + '[' -f /tmp/packages_end.txt ']' 21:12:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:12:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:12:49 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 21:12:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 21:12:49 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 21:12:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:50 prd-ubuntu20.04-docker-8c-8g-7229 does not seem to be running inside a container 21:12:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:12:50 $ docker top 71337fa07d223192f9a50f058b5a01a60c47d2e9d162f367f2d3b02daf7919e6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:51 + touch /tmp/pre-build-complete [Pipeline] sh 21:12:51 + mkdir -p /var/log/sysstat [Pipeline] sh 21:12:51 + ls /var/log/sa-host 21:12:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:51 provisioning config files... 21:12:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17741587419374599580tmp [Pipeline] { [Pipeline] echo 21:12:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:12:52 ---> create-netrc.sh [Pipeline] } 21:12:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:12:52 ---> python-tools-install.sh [Pipeline] echo 21:12:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:12:52 ---> sudo-logs.sh 21:12:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:12:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:12:52 ---> job-cost.sh 21:12:52 lf-activate-venv: SKIPPING 21:12:52 DEBUG: total: 0.2199999988079071 21:12:52 INFO: Retrieving Stack Cost... 21:12:53 INFO: Retrieving Pricing Info for: v3-standard-8 21:12:53 INFO: Archiving Costs [Pipeline] echo 21:12:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:12:54 ---> logs-deploy.sh 21:12:54 lf-activate-venv: SKIPPING 21:12:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/258 21:12:54 INFO: archiving workspace using pattern(s): 21:12:55 Archives upload complete. 21:12:55 INFO: archiving logs to Nexus