Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 487ca8dbaf5a7983b4dd4e8681142a99360f28bf 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-ssh12446067631416696165.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh13072727733471488400.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh15914876896085908362.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh10409875411959488450.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-ssh5541368739628984023.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16241 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 487ca8dbaf5a7983b4dd4e8681142a99360f28bf (main) > 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 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 Commit message: "docs: Update changelog for 3.1 release (#1534)" > git rev-list --no-walk cdda6ba38339e8ee36b58c288de44ad2194d3f5d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:59:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:59:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:59:51 ========================================================= 16:59:51 EdgeX Global Pipelines Version Info 16:59:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:59:52 ------------------- 16:59:52 stable info: 16:59:52 ------------------- 16:59:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:59:52 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 16:59:52 Message: update stable to v1.0.255 16:59:53 ------------------- 16:59:53 experimental info: 16:59:53 ------------------- 16:59:53 Commited By: **** collab-it+edgex@linuxfoundation.org 16:59:53 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 16:59:53 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 487ca8d [Pipeline] echo 16:59:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:59:53 provisioning config files... 16:59:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12929636718017605507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:59:54 ---> docker-login.sh 16:59:54 nexus3.edgexfoundry.org:10001 16:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:54 Configure a credential helper to remove this warning. See 16:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:54 16:59:54 Login Succeeded 16:59:54 nexus3.edgexfoundry.org:10002 16:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:54 Configure a credential helper to remove this warning. See 16:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:54 16:59:54 Login Succeeded 16:59:54 nexus3.edgexfoundry.org:10003 16:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:54 Configure a credential helper to remove this warning. See 16:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:54 16:59:54 Login Succeeded 16:59:54 nexus3.edgexfoundry.org:10004 16:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:54 Configure a credential helper to remove this warning. See 16:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:54 16:59:54 Login Succeeded 16:59:54 docker.io 16:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:59:54 Configure a credential helper to remove this warning. See 16:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:59:54 16:59:54 Login Succeeded 16:59:54 ---> docker-login.sh ends [Pipeline] } 16:59:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:59:55 + git rev-list -1 --merges 487ca8dbaf5a7983b4dd4e8681142a99360f28bf~1..487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] echo 16:59:55 -----------> git rev-list -1 --merges 487ca8dbaf5a7983b4dd4e8681142a99360f28bf~1..487ca8dbaf5a7983b4dd4e8681142a99360f28bf 487ca8dbaf5a7983b4dd4e8681142a99360f28bf [false] [Pipeline] sh 16:59:55 + git log --format=format:%s -1 487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] echo 16:59:55 ========================================================= 16:59:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:59:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:59:55 + git log --format=format:%s -1 487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] echo 16:59:55 [semverPrep] GIT_COMMIT: 487ca8dbaf5a7983b4dd4e8681142a99360f28bf, Commit Message: docs: Update changelog for 3.1 release (#1534) [Pipeline] echo 16:59:55 [semverPrep] This is not a build commit. [Pipeline] sh 16:59:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:59:56 + grep -v github /etc/ssh/ssh_known_hosts 16:59:56 + [ -e /tmp/ssh_known_hosts ] 16:59:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:59:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:59:56 + sudo tee -a /etc/ssh/ssh_known_hosts 16:59:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:59:56 16:59:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:59:56 0.1.4: Pulling from edgex-devops/py-git-semver 16:59:56 b85a868b505f: Pulling fs layer 16:59:56 e2be974225ed: Pulling fs layer 16:59:56 339a4e72a1f5: Pulling fs layer 16:59:56 988bab9f4d93: Pulling fs layer 16:59:56 1469e6f7b9e6: Pulling fs layer 16:59:56 eaf3925da568: Pulling fs layer 16:59:56 bab4dde63d76: Pulling fs layer 16:59:56 bde34c3a00c8: Pulling fs layer 16:59:56 b352a97aabf1: Pulling fs layer 16:59:56 4872d77fe225: Pulling fs layer 16:59:56 5851b861e8e6: Pulling fs layer 16:59:56 bab4dde63d76: Waiting 16:59:56 bde34c3a00c8: Waiting 16:59:56 988bab9f4d93: Waiting 16:59:56 b352a97aabf1: Waiting 16:59:56 1469e6f7b9e6: Waiting 16:59:56 4872d77fe225: Waiting 16:59:56 eaf3925da568: Waiting 16:59:56 5851b861e8e6: Waiting 16:59:56 e2be974225ed: Download complete 16:59:56 988bab9f4d93: Verifying Checksum 16:59:56 988bab9f4d93: Download complete 16:59:56 339a4e72a1f5: Verifying Checksum 16:59:56 339a4e72a1f5: Download complete 16:59:56 1469e6f7b9e6: Verifying Checksum 16:59:56 1469e6f7b9e6: Download complete 16:59:57 eaf3925da568: Download complete 16:59:57 bde34c3a00c8: Verifying Checksum 16:59:57 bde34c3a00c8: Download complete 16:59:57 b352a97aabf1: Verifying Checksum 16:59:57 b352a97aabf1: Download complete 16:59:57 4872d77fe225: Verifying Checksum 16:59:57 4872d77fe225: Download complete 16:59:57 5851b861e8e6: Verifying Checksum 16:59:57 5851b861e8e6: Download complete 16:59:57 b85a868b505f: Verifying Checksum 16:59:57 b85a868b505f: Download complete 16:59:57 bab4dde63d76: Verifying Checksum 16:59:57 bab4dde63d76: Download complete 16:59:58 b85a868b505f: Pull complete 16:59:58 e2be974225ed: Pull complete 16:59:59 339a4e72a1f5: Pull complete 16:59:59 988bab9f4d93: Pull complete 17:00:00 1469e6f7b9e6: Pull complete 17:00:00 eaf3925da568: Pull complete 17:00:02 bab4dde63d76: Pull complete 17:00:02 bde34c3a00c8: Pull complete 17:00:03 b352a97aabf1: Pull complete 17:00:03 4872d77fe225: Pull complete 17:00:03 5851b861e8e6: Pull complete 17:00:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:00:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:00:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:03 prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container 17:00:03 $ 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 17:00:06 $ docker top 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 -eo pid,comm 17:00:06 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). 17:00:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:00:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:00:06 [ssh-agent] Looking for ssh-agent implementation... 17:00:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:00:06 $ docker exec 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 ssh-agent 17:00:06 SSH_AUTH_SOCK=/tmp/ssh-euWDmuKnvEA8/agent.33 17:00:06 SSH_AGENT_PID=39 17:00:06 Running ssh-add (command line suppressed) 17:00:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2669110773018782324.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2669110773018782324.key) 17:00:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:00:07 + git tag --points-at HEAD [Pipeline] } 17:00:07 $ docker exec --env ******** --env ******** 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 ssh-agent -k 17:00:07 unset SSH_AUTH_SOCK; 17:00:07 unset SSH_AGENT_PID; 17:00:07 echo Agent pid 39 killed; 17:00:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:00:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:00:07 [ssh-agent] Looking for ssh-agent implementation... 17:00:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:00:07 $ docker exec 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 ssh-agent 17:00:07 SSH_AUTH_SOCK=/tmp/ssh-pM2lCrlbhCPQ/agent.71 17:00:07 SSH_AGENT_PID=77 17:00:07 Running ssh-add (command line suppressed) 17:00:07 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3436880289029000318.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3436880289029000318.key) 17:00:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:00:07 + git semver init 17:00:08 2023-11-01 17:00:08,151 [run_init] DEBUG init version:0.0.0 force:False 17:00:08 2023-11-01 17:00:08,152 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 17:00:08 2023-11-01 17:00:08,153 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 17:00:08 2023-11-01 17:00:08,153 [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) 17:00:09 2023-11-01 17:00:09,160 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 17:00:09 2023-11-01 17:00:09,160 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 17:00:09 2023-11-01 17:00:09,161 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:00:09 2023-11-01 17:00:09,161 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:00:09 3.1.0-dev.39 [Pipeline] } 17:00:09 $ docker exec --env ******** --env ******** 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 ssh-agent -k 17:00:09 unset SSH_AUTH_SOCK; 17:00:09 unset SSH_AGENT_PID; 17:00:09 echo Agent pid 77 killed; 17:00:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:00:09 + git semver [Pipeline] } 17:00:09 $ docker stop --time=1 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 17:00:11 $ docker rm -f --volumes 0657c015f3e09d3a1341420c35bf4ff89d225df94bb3ea3ab6da3002bf997c50 [Pipeline] // withDockerContainer [Pipeline] sh 17:00:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:00:11 Stashed 1 file(s) [Pipeline] echo 17:00:11 [edgeXSemver]: initialized semver on version 3.1.0-dev.39 [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 17:00:11 provisioning config files... 17:00:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14182074850830134039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:12 ---> docker-login.sh 17:00:12 nexus3.edgexfoundry.org:10001 17:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:12 Configure a credential helper to remove this warning. See 17:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:12 17:00:12 Login Succeeded 17:00:12 nexus3.edgexfoundry.org:10002 17:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:12 Configure a credential helper to remove this warning. See 17:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:12 17:00:12 Login Succeeded 17:00:12 nexus3.edgexfoundry.org:10003 17:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:12 Configure a credential helper to remove this warning. See 17:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:12 17:00:12 Login Succeeded 17:00:12 nexus3.edgexfoundry.org:10004 17:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:12 Configure a credential helper to remove this warning. See 17:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:12 17:00:12 Login Succeeded 17:00:12 docker.io 17:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:12 Configure a credential helper to remove this warning. See 17:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:12 17:00:12 Login Succeeded 17:00:12 ---> docker-login.sh ends [Pipeline] } 17:00:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:00:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:00:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:00:12 ========================================================= 17:00:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:00:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:13 + 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 . 17:00:13 Sending build context to Docker daemon 11.26MB 17:00:13 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 17:00:13 Step 2/10 : FROM ${BASE} AS builder 17:00:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:00:13 7264a8db6415: Pulling fs layer 17:00:13 c4d48a809fc2: Pulling fs layer 17:00:13 4f1c88b9dad5: Pulling fs layer 17:00:13 ad3a456e5733: Pulling fs layer 17:00:13 33e27b845d1e: Pulling fs layer 17:00:13 c68163c4e522: Pulling fs layer 17:00:13 50da416c3ac9: Pulling fs layer 17:00:13 23d2d4c4bb30: Pulling fs layer 17:00:13 c68163c4e522: Waiting 17:00:13 50da416c3ac9: Waiting 17:00:13 ad3a456e5733: Waiting 17:00:13 23d2d4c4bb30: Waiting 17:00:13 33e27b845d1e: Waiting 17:00:13 c4d48a809fc2: Download complete 17:00:13 ad3a456e5733: Verifying Checksum 17:00:13 ad3a456e5733: Download complete 17:00:13 33e27b845d1e: Verifying Checksum 17:00:13 33e27b845d1e: Download complete 17:00:13 7264a8db6415: Verifying Checksum 17:00:13 7264a8db6415: Download complete 17:00:13 c68163c4e522: Verifying Checksum 17:00:13 c68163c4e522: Download complete 17:00:13 7264a8db6415: Pull complete 17:00:13 c4d48a809fc2: Pull complete 17:00:13 4f1c88b9dad5: Download complete 17:00:13 23d2d4c4bb30: Verifying Checksum 17:00:13 23d2d4c4bb30: Download complete 17:00:14 50da416c3ac9: Verifying Checksum 17:00:14 50da416c3ac9: Download complete 17:00:17 4f1c88b9dad5: Pull complete 17:00:17 ad3a456e5733: Pull complete 17:00:17 33e27b845d1e: Pull complete 17:00:17 c68163c4e522: Pull complete 17:00:19 50da416c3ac9: Pull complete 17:00:19 23d2d4c4bb30: Pull complete 17:00:19 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 17:00:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:00:19 ---> 0786185ac409 17:00:19 Step 3/10 : ARG MAKE=make build 17:00:26 ---> Running in 05587c516f32 17:00:26 Removing intermediate container 05587c516f32 17:00:26 ---> 34fd179cc5d0 17:00:26 Step 4/10 : WORKDIR /device-sdk-go 17:00:26 ---> Running in cde852a32921 17:00:26 Removing intermediate container cde852a32921 17:00:26 ---> df58963f3418 17:00:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:00:26 ---> Running in dca5574576f6 17:00:26 Removing intermediate container dca5574576f6 17:00:26 ---> 6533f73f6189 17:00:26 Step 6/10 : RUN apk add --update --no-cache make git 17:00:26 ---> Running in bc741129081d 17:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:00:26 OK: 264 MiB in 52 packages 17:00:26 Removing intermediate container bc741129081d 17:00:26 ---> daa353eecae0 17:00:26 Step 7/10 : COPY go.mod vendor* ./ 17:00:26 Still waiting to schedule task 17:00:26 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:00:27 ---> 7e9f8be6c3f9 17:00:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:00:27 ---> Running in 6819d5a89e8d 17:01:14 Removing intermediate container 6819d5a89e8d 17:01:14 ---> 45235366b60b 17:01:14 Step 9/10 : COPY . . 17:01:14 ---> 1a6facf4b432 17:01:14 Step 10/10 : RUN ${MAKE} 17:01:14 ---> Running in a049239eac53 17:01:14 noop 17:01:14 Removing intermediate container a049239eac53 17:01:14 ---> 8c59196387de 17:01:14 Successfully built 8c59196387de 17:01:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:14 + docker inspect -f . ci-base-image-x86_64 17:01:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:14 prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container 17:01:14 $ 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 17:01:14 $ docker top 71425e6b5a59efc79ff2a304a538a5035146166a13ff33abb4169f8ae33fd27f -eo pid,comm [Pipeline] { [Pipeline] sh 17:01:15 + go version 17:01:15 go version go1.21.0 linux/amd64 [Pipeline] } 17:01:15 $ docker stop --time=1 71425e6b5a59efc79ff2a304a538a5035146166a13ff33abb4169f8ae33fd27f 17:01:16 $ docker rm -f --volumes 71425e6b5a59efc79ff2a304a538a5035146166a13ff33abb4169f8ae33fd27f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:16 + docker inspect -f . ci-base-image-x86_64 17:01:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:17 prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container 17:01:17 $ 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 17:01:17 $ docker top 434d1a7a984150ee9cd0871497b8be5838c0705c8ddef9f63b3db05d93063de1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:01:17 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 17:01:17 + make test 17:01:17 go test -race -coverprofile=coverage.out ./... 17:01:24 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:01:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:01:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:01:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:01:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:01:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:01:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:01:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:01:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.037s coverage: 27.6% of statements 17:01:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:01:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.059s coverage: 81.5% of statements 17:01:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements 17:01:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:01:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:01:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.070s coverage: 71.8% of statements 17:01:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:01:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.044s coverage: 14.4% of statements 17:01:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.941s coverage: 45.9% of statements 17:01:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.053s coverage: 68.5% of statements 17:01:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 89.2% of statements 17:01:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements 17:02:06 GO111MODULE=on go vet ./... 17:02:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:02:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:02:07 ./bin/test-attribution-txt.sh [Pipeline] echo 17:02:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:02:07 $ docker stop --time=1 434d1a7a984150ee9cd0871497b8be5838c0705c8ddef9f63b3db05d93063de1 17:02:10 $ docker rm -f --volumes 434d1a7a984150ee9cd0871497b8be5838c0705c8ddef9f63b3db05d93063de1 [Pipeline] // withDockerContainer [Pipeline] sh 17:02:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:02:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:02:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:02:12 + ls -al . 17:02:12 total 308 17:02:12 drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 17:01 . 17:02:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 16:59 .. 17:02:12 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 16:59 .dockerignore 17:02:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 17:01 .git 17:02:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 16:59 .github 17:02:12 -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 16:59 .gitignore 17:02:12 -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 16:59 .golangci.yml 17:02:12 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:00 .semver 17:02:12 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 1 16:59 CHANGELOG.md 17:02:12 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 16:59 GOVERNANCE.md 17:02:12 -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 16:59 Jenkinsfile 17:02:12 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 16:59 LICENSE 17:02:12 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 16:59 Makefile 17:02:12 -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 16:59 OWNERS.md 17:02:12 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 16:59 README.md 17:02:12 -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 17:00 VERSION 17:02:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 16:59 bin 17:02:12 -rw-r--r-- 1 jenkins jenkins 122153 Nov 1 17:01 coverage.out 17:02:12 drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 16:59 example 17:02:12 -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 16:59 go.mod 17:02:12 -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 16:59 go.sum 17:02:12 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 16:59 internal 17:02:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 16:59 openapi 17:02:12 drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 16:59 pkg 17:02:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 16:59 snap 17:02:12 -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 16:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:12 + 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=487ca8dbaf5a7983b4dd4e8681142a99360f28bf --label arch=amd64 --label version=3.1.0-dev.39 . 17:02:12 Sending build context to Docker daemon 11.39MB 17:02:12 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 17:02:12 Step 2/23 : FROM ${BASE} AS builder 17:02:12 ---> 8c59196387de 17:02:12 Step 3/23 : ARG MAKE=make build 17:02:12 ---> Running in 43273f397775 17:02:12 Removing intermediate container 43273f397775 17:02:12 ---> e3bf45636e7e 17:02:12 Step 4/23 : WORKDIR /device-sdk-go 17:02:12 ---> Running in 039250da2f69 17:02:12 Removing intermediate container 039250da2f69 17:02:12 ---> cadbb36a02e0 17:02:12 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:02:12 ---> Running in e0b593e233a3 17:02:12 Removing intermediate container e0b593e233a3 17:02:12 ---> 172436667782 17:02:12 Step 6/23 : RUN apk add --update --no-cache make git 17:02:12 ---> Running in 9dd22a445d02 17:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:02:13 OK: 264 MiB in 52 packages 17:02:13 Removing intermediate container 9dd22a445d02 17:02:13 ---> c1b296f23a1e 17:02:13 Step 7/23 : COPY go.mod vendor* ./ 17:02:13 ---> b5c32191be99 17:02:13 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:02:13 ---> Running in f9c2f4c27c2b 17:02:14 Removing intermediate container f9c2f4c27c2b 17:02:14 ---> 67bc4505f017 17:02:14 Step 9/23 : COPY . . 17:02:15 ---> 3bec16ba5620 17:02:15 Step 10/23 : RUN ${MAKE} 17:02:15 ---> Running in 78039e8a3bc8 17:02:15 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.39 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.39" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:02:33 Removing intermediate container 78039e8a3bc8 17:02:33 ---> 81bd498086aa 17:02:33 Step 11/23 : FROM alpine:3.18 17:02:33 3.18: Pulling from library/alpine 17:02:34 96526aa774ef: Pulling fs layer 17:02:34 96526aa774ef: Verifying Checksum 17:02:34 96526aa774ef: Download complete 17:02:34 96526aa774ef: Pull complete 17:02:34 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 17:02:34 Status: Downloaded newer image for alpine:3.18 17:02:34 ---> 8ca4688f4f35 17:02:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:02:34 ---> Running in 3a4add80132b 17:02:34 Removing intermediate container 3a4add80132b 17:02:34 ---> c6295419f8d4 17:02:34 Step 13/23 : RUN apk add --update --no-cache 17:02:34 ---> Running in f7e5793876c0 17:02:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:02:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:02:35 OK: 7 MiB in 15 packages 17:02:35 Removing intermediate container f7e5793876c0 17:02:35 ---> 47ca26c01cb5 17:02:35 Step 14/23 : WORKDIR / 17:02:35 ---> Running in 272de7d2d18c 17:02:35 Removing intermediate container 272de7d2d18c 17:02:35 ---> 3a8eadb927df 17:02:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:02:35 ---> 7f99bb80ad5e 17:02:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:02:36 ---> aade89736b26 17:02:36 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:02:36 ---> 25d805a9fd5f 17:02:36 Step 18/23 : EXPOSE 59999 17:02:36 ---> Running in dba5c15ed97f 17:02:37 Removing intermediate container dba5c15ed97f 17:02:37 ---> 9f95d6551947 17:02:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:02:37 ---> Running in 16ee8b39064a 17:02:37 Removing intermediate container 16ee8b39064a 17:02:37 ---> fa25b9c125a3 17:02:37 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:02:37 ---> Running in 195cda855cc4 17:02:37 Removing intermediate container 195cda855cc4 17:02:37 ---> 4613bb65aa48 17:02:37 Step 21/23 : LABEL arch=amd64 17:02:37 ---> Running in 3385c1548cc8 17:02:37 Removing intermediate container 3385c1548cc8 17:02:37 ---> 81306ebedc35 17:02:37 Step 22/23 : LABEL git_sha=487ca8dbaf5a7983b4dd4e8681142a99360f28bf 17:02:37 ---> Running in 2f7a74910936 17:02:37 Removing intermediate container 2f7a74910936 17:02:37 ---> a7748561ed55 17:02:37 Step 23/23 : LABEL version=3.1.0-dev.39 17:02:37 ---> Running in 2405c54c222a 17:02:37 Removing intermediate container 2405c54c222a 17:02:37 ---> 7fd31a101605 17:02:37 [Warning] One or more build-args [ARCH] were not consumed 17:02:37 Successfully built 7fd31a101605 17:02:37 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 17:02:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:02:37 17:02:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:02:38 latest: Pulling from edgex-lftools-log-publisher 17:02:38 5eb5b503b376: Pulling fs layer 17:02:38 5c69ac0246d0: Pulling fs layer 17:02:38 ec43610c2a17: Pulling fs layer 17:02:38 3a2ae6a8a46f: Pulling fs layer 17:02:38 33b1e0a273af: Pulling fs layer 17:02:38 5d3b04190fa2: Pulling fs layer 17:02:38 2f39f015ded8: Pulling fs layer 17:02:38 33b1e0a273af: Waiting 17:02:38 5d3b04190fa2: Waiting 17:02:38 3a2ae6a8a46f: Waiting 17:02:38 2f39f015ded8: Waiting 17:02:38 5c69ac0246d0: Verifying Checksum 17:02:38 5c69ac0246d0: Download complete 17:02:38 3a2ae6a8a46f: Verifying Checksum 17:02:38 3a2ae6a8a46f: Download complete 17:02:38 ec43610c2a17: Verifying Checksum 17:02:38 ec43610c2a17: Download complete 17:02:38 33b1e0a273af: Verifying Checksum 17:02:38 33b1e0a273af: Download complete 17:02:38 5d3b04190fa2: Download complete 17:02:38 5eb5b503b376: Verifying Checksum 17:02:38 5eb5b503b376: Download complete 17:02:38 2f39f015ded8: Download complete 17:02:39 5eb5b503b376: Pull complete 17:02:39 5c69ac0246d0: Pull complete 17:02:39 ec43610c2a17: Pull complete 17:02:39 3a2ae6a8a46f: Pull complete 17:02:40 33b1e0a273af: Pull complete 17:02:40 5d3b04190fa2: Pull complete 17:02:44 2f39f015ded8: Pull complete 17:02:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:02:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:02:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:44 prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container 17:02:44 $ 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 17:02:48 $ docker top c1ee474e64ba8f2b0e40937c9f5af830258f5697bd80ad1d8a912d8e47d51351 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:02:49 ---> job-cost.sh 17:02:49 lf-activate-venv: SKIPPING 17:02:49 INFO: No Stack... 17:02:49 INFO: Retrieving Pricing Info for: v3-standard-8 17:02:49 INFO: Archiving Costs [Pipeline] sh 17:02:50 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 17:02:50 + cut -d, -f6 [Pipeline] lock 17:02:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] 17:02:50 Resource [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] did not exist. Created. 17:02:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:02:50 + echo total: 0.2199999988079071 [Pipeline] stash 17:02:50 Stashed 1 file(s) [Pipeline] } 17:02:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] [Pipeline] // lock [Pipeline] } 17:02:50 $ docker stop --time=1 c1ee474e64ba8f2b0e40937c9f5af830258f5697bd80ad1d8a912d8e47d51351 17:02:51 $ docker rm -f --volumes c1ee474e64ba8f2b0e40937c9f5af830258f5697bd80ad1d8a912d8e47d51351 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:03:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16243 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 17:03:33 Running in /w/workspace/device-sdk-go/268 [Pipeline] { [Pipeline] checkout 17:03:33 The recommended git tool is: git 17:03:42 using credential edgex-jenkins-ssh 17:03:42 Cloning the remote Git repository 17:03:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:03:43 > git init /w/workspace/device-sdk-go/268 # timeout=10 17:03:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:03:43 > git --version # timeout=10 17:03:43 > git --version # 'git version 2.25.1' 17:03:43 using GIT_SSH to set credentials SSH Credentials for GitHub 17:03:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:03:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:03:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:03:47 Avoid second fetch 17:03:47 Checking out Revision 487ca8dbaf5a7983b4dd4e8681142a99360f28bf (main) 17:03:48 Commit message: "docs: Update changelog for 3.1 release (#1534)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 17:03:47 > git config core.sparsecheckout # timeout=10 17:03:47 > git checkout -f 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 [Pipeline] sh 17:03:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:03:49 % Total % Received % Xferd Average Speed Time Time Time Current 17:03:49 Dload Upload Total Spent Left Speed 17:03:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 17:03:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:03:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:03:50 + sudo tee /etc/docker/daemon.new 17:03:51 { 17:03:51 "registry-mirrors": [ 17:03:51 "https://nexus3.edgexfoundry.org:10001" 17:03:51 ], 17:03:51 "bip": "10.250.0.254/24", 17:03:51 "hosts": [ 17:03:51 "tcp://0.0.0.0:5555", 17:03:51 "unix:///var/run/docker.sock" 17:03:51 ], 17:03:51 "mtu": 1458, 17:03:51 "selinux-enabled": true, 17:03:51 "seccomp-profile": "/etc/docker/seccomp.json" 17:03:51 } [Pipeline] sh 17:03:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:03:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:04:10 provisioning config files... 17:04:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/268@tmp/config5175376494150556465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:04:10 ---> docker-login.sh 17:04:10 nexus3.edgexfoundry.org:10001 17:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:11 Configure a credential helper to remove this warning. See 17:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:11 17:04:11 Login Succeeded 17:04:11 nexus3.edgexfoundry.org:10002 17:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:12 Configure a credential helper to remove this warning. See 17:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:12 17:04:12 Login Succeeded 17:04:12 nexus3.edgexfoundry.org:10003 17:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:12 Configure a credential helper to remove this warning. See 17:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:12 17:04:12 Login Succeeded 17:04:12 nexus3.edgexfoundry.org:10004 17:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:12 Configure a credential helper to remove this warning. See 17:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:12 17:04:12 Login Succeeded 17:04:12 docker.io 17:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:04:13 Configure a credential helper to remove this warning. See 17:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:04:13 17:04:13 Login Succeeded 17:04:13 ---> docker-login.sh ends [Pipeline] } 17:04:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:04:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:04:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:04:13 ========================================================= 17:04:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:04:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:14 + 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 . 17:04:14 Sending build context to Docker daemon 6.029MB 17:04:14 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 17:04:14 Step 2/10 : FROM ${BASE} AS builder 17:04:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:04:14 9fda8d8052c6: Pulling fs layer 17:04:14 5d54e960e981: Pulling fs layer 17:04:14 c4a7e357bf2a: Pulling fs layer 17:04:14 f0e02332f6b5: Pulling fs layer 17:04:14 cefa15bbcfad: Pulling fs layer 17:04:14 17808c966233: Pulling fs layer 17:04:14 f4c1fc716caa: Pulling fs layer 17:04:14 f0e02332f6b5: Waiting 17:04:14 cefa15bbcfad: Waiting 17:04:14 17808c966233: Waiting 17:04:14 f4c1fc716caa: Waiting 17:04:14 5d54e960e981: Verifying Checksum 17:04:14 5d54e960e981: Download complete 17:04:15 f0e02332f6b5: Verifying Checksum 17:04:15 f0e02332f6b5: Download complete 17:04:15 cefa15bbcfad: Verifying Checksum 17:04:15 cefa15bbcfad: Download complete 17:04:15 9fda8d8052c6: Verifying Checksum 17:04:15 9fda8d8052c6: Download complete 17:04:15 f4c1fc716caa: Verifying Checksum 17:04:15 f4c1fc716caa: Download complete 17:04:16 9fda8d8052c6: Pull complete 17:04:16 5d54e960e981: Pull complete 17:04:17 c4a7e357bf2a: Verifying Checksum 17:04:17 c4a7e357bf2a: Download complete 17:04:18 17808c966233: Verifying Checksum 17:04:18 17808c966233: Download complete 17:04:30 c4a7e357bf2a: Pull complete 17:04:30 f0e02332f6b5: Pull complete 17:04:30 cefa15bbcfad: Pull complete 17:04:40 17808c966233: Pull complete 17:04:41 f4c1fc716caa: Pull complete 17:04:41 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 17:04:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:04:41 ---> ea914061e18c 17:04:41 Step 3/10 : ARG MAKE=make build 17:04:42 ---> Running in 8269ca2d0ad2 17:04:42 Removing intermediate container 8269ca2d0ad2 17:04:42 ---> a489e2d06a51 17:04:42 Step 4/10 : WORKDIR /device-sdk-go 17:04:42 ---> Running in 6cc4f47df1ed 17:04:43 Removing intermediate container 6cc4f47df1ed 17:04:43 ---> 9a23cb0d26ab 17:04:43 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:04:43 ---> Running in e570c3ec1212 17:04:43 Removing intermediate container e570c3ec1212 17:04:43 ---> 64c15de97547 17:04:43 Step 6/10 : RUN apk add --update --no-cache make git 17:04:43 ---> Running in 349fc31a4df9 17:04:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:04:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:04:46 OK: 266 MiB in 52 packages 17:04:47 Removing intermediate container 349fc31a4df9 17:04:47 ---> 11812ded15f5 17:04:47 Step 7/10 : COPY go.mod vendor* ./ 17:04:48 ---> 0f2f50251536 17:04:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:04:48 ---> Running in d0160edd975a 17:06:10 Removing intermediate container d0160edd975a 17:06:10 ---> 36b49415202e 17:06:10 Step 9/10 : COPY . . 17:06:10 ---> 19b8fa3941a4 17:06:10 Step 10/10 : RUN ${MAKE} 17:06:10 ---> Running in 40f539902997 17:06:10 noop 17:06:10 Removing intermediate container 40f539902997 17:06:10 ---> 2a27d5c7a3ec 17:06:10 Successfully built 2a27d5c7a3ec 17:06:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:10 + docker inspect -f . ci-base-image-arm64 17:06:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:10 prd-ubuntu20.04-docker-arm64-4c-16g-16243 does not seem to be running inside a container 17:06:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/268 -v /w/workspace/device-sdk-go/268:/w/workspace/device-sdk-go/268:rw,z -v /w/workspace/device-sdk-go/268@tmp:/w/workspace/device-sdk-go/268@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 17:06:12 $ docker top 8449c0d3307a4d7a0d9589e31ceed840b033478a6df1057eb3327800bbcdb56e -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:13 + go version 17:06:13 go version go1.21.0 linux/arm64 [Pipeline] } 17:06:13 $ docker stop --time=1 8449c0d3307a4d7a0d9589e31ceed840b033478a6df1057eb3327800bbcdb56e 17:06:18 $ docker rm -f --volumes 8449c0d3307a4d7a0d9589e31ceed840b033478a6df1057eb3327800bbcdb56e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:19 + docker inspect -f . ci-base-image-arm64 17:06:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:19 prd-ubuntu20.04-docker-arm64-4c-16g-16243 does not seem to be running inside a container 17:06:19 $ 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/268 -v /w/workspace/device-sdk-go/268:/w/workspace/device-sdk-go/268:rw,z -v /w/workspace/device-sdk-go/268@tmp:/w/workspace/device-sdk-go/268@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 17:06:21 $ docker top 615899063e4ec40c6ca418f3c89b17581c065b91c9e3ae988e3e6d595818e542 -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:21 + git config --global --add safe.directory /w/workspace/device-sdk-go/268 [Pipeline] fileExists [Pipeline] sh 17:06:22 + make test 17:06:22 go test -race -coverprofile=coverage.out ./... 17:07:01 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:08:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:08:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:08:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:08:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:08:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:08:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.203s coverage: 27.6% of statements 17:09:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.260s coverage: 81.5% of statements 17:09:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:09:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:09:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.380s coverage: 86.0% of statements 17:09:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:09:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.485s coverage: 71.8% of statements 17:09:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.279s coverage: 14.4% of statements 17:09:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.957s coverage: 45.9% of statements 17:09:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:09:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:09:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.385s coverage: 68.5% of statements 17:09:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.438s coverage: 89.2% of statements 17:09:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:09:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.240s coverage: 5.5% of statements 17:09:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:09:29 GO111MODULE=on go vet ./... 17:11:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:11:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:11:36 ./bin/test-attribution-txt.sh [Pipeline] echo 17:11:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:11:37 $ docker stop --time=1 615899063e4ec40c6ca418f3c89b17581c065b91c9e3ae988e3e6d595818e542 17:11:41 $ docker rm -f --volumes 615899063e4ec40c6ca418f3c89b17581c065b91c9e3ae988e3e6d595818e542 [Pipeline] // withDockerContainer [Pipeline] sh 17:11:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:11:43 Warning: overwriting stash ‘coverage-report’ 17:11:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:11:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:11:44 + ls -al . 17:11:44 total 304 17:11:44 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 17:06 . 17:11:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:03 .. 17:11:44 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 17:03 .dockerignore 17:11:44 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 17:03 .git 17:11:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:03 .github 17:11:44 -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 17:03 .gitignore 17:11:44 -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 17:03 .golangci.yml 17:11:44 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 1 17:03 CHANGELOG.md 17:11:44 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 17:03 GOVERNANCE.md 17:11:44 -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 17:03 Jenkinsfile 17:11:44 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 17:03 LICENSE 17:11:44 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 17:03 Makefile 17:11:44 -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 17:03 OWNERS.md 17:11:44 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 17:03 README.md 17:11:44 -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 17:00 VERSION 17:11:44 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 17:03 bin 17:11:44 -rw-r--r-- 1 jenkins jenkins 122153 Nov 1 17:09 coverage.out 17:11:44 drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 17:03 example 17:11:44 -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 17:03 go.mod 17:11:44 -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 17:03 go.sum 17:11:44 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:03 internal 17:11:44 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 17:03 openapi 17:11:44 drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 17:03 pkg 17:11:44 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 17:03 snap 17:11:44 -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 17:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:45 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=487ca8dbaf5a7983b4dd4e8681142a99360f28bf --label arch=arm64 --label version=3.1.0-dev.39 . 17:11:45 Sending build context to Docker daemon 6.152MB 17:11:45 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 17:11:45 Step 2/23 : FROM ${BASE} AS builder 17:11:45 ---> 2a27d5c7a3ec 17:11:45 Step 3/23 : ARG MAKE=make build 17:11:45 ---> Running in 87597a21b80c 17:11:46 Removing intermediate container 87597a21b80c 17:11:46 ---> 0f9bcbe06b48 17:11:46 Step 4/23 : WORKDIR /device-sdk-go 17:11:46 ---> Running in 455d24112cf5 17:11:46 Removing intermediate container 455d24112cf5 17:11:46 ---> 7496521785da 17:11:46 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:11:46 ---> Running in bfd2a679c1d0 17:11:46 Removing intermediate container bfd2a679c1d0 17:11:46 ---> ac4a0cd01d18 17:11:46 Step 6/23 : RUN apk add --update --no-cache make git 17:11:47 ---> Running in fa509d9e1905 17:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:11:50 OK: 266 MiB in 52 packages 17:11:53 Removing intermediate container fa509d9e1905 17:11:53 ---> 5f106a218b54 17:11:53 Step 7/23 : COPY go.mod vendor* ./ 17:11:54 ---> 402f9ba50c53 17:11:54 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:11:54 ---> Running in cfa1c0dde287 17:11:56 Removing intermediate container cfa1c0dde287 17:11:56 ---> 95848f5b3f7d 17:11:56 Step 9/23 : COPY . . 17:11:57 ---> e7f9a26e0fa8 17:11:57 Step 10/23 : RUN ${MAKE} 17:11:57 ---> Running in 2bf61a384846 17:11:58 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.39 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.39" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:14:05 Removing intermediate container 2bf61a384846 17:14:05 ---> e41116f62b43 17:14:05 Step 11/23 : FROM alpine:3.18 17:14:05 3.18: Pulling from library/alpine 17:14:05 579b34f0a95b: Pulling fs layer 17:14:05 579b34f0a95b: Verifying Checksum 17:14:05 579b34f0a95b: Download complete 17:14:05 579b34f0a95b: Pull complete 17:14:05 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 17:14:05 Status: Downloaded newer image for alpine:3.18 17:14:05 ---> 3cc203321400 17:14:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:14:05 ---> Running in cea429b49ecc 17:14:05 Removing intermediate container cea429b49ecc 17:14:05 ---> 8416f1734532 17:14:05 Step 13/23 : RUN apk add --update --no-cache 17:14:05 ---> Running in cccd5fcb140e 17:14:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:14:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:14:05 OK: 8 MiB in 15 packages 17:14:05 Removing intermediate container cccd5fcb140e 17:14:05 ---> 602fc7cb2a50 17:14:05 Step 14/23 : WORKDIR / 17:14:05 ---> Running in 8bc79f7a02e9 17:14:05 Removing intermediate container 8bc79f7a02e9 17:14:05 ---> ea41672c0046 17:14:05 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:14:05 ---> 73cfbd02be4a 17:14:05 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:14:05 ---> 4bffa2a97a86 17:14:05 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:14:05 ---> b4e5279044f1 17:14:05 Step 18/23 : EXPOSE 59999 17:14:05 ---> Running in 18596edde49a 17:14:05 Removing intermediate container 18596edde49a 17:14:05 ---> 45f925c4cee9 17:14:05 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:14:05 ---> Running in a59c58840aaf 17:14:05 Removing intermediate container a59c58840aaf 17:14:05 ---> 6fc83b439284 17:14:05 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:14:05 ---> Running in 206be3bc203c 17:14:06 Removing intermediate container 206be3bc203c 17:14:06 ---> e5ee600795e2 17:14:06 Step 21/23 : LABEL arch=arm64 17:14:06 ---> Running in 8a46e047d2fb 17:14:06 Removing intermediate container 8a46e047d2fb 17:14:06 ---> cfcd6bd9c309 17:14:06 Step 22/23 : LABEL git_sha=487ca8dbaf5a7983b4dd4e8681142a99360f28bf 17:14:06 ---> Running in 4519b38b9904 17:14:07 Removing intermediate container 4519b38b9904 17:14:07 ---> 90420ab74a9e 17:14:07 Step 23/23 : LABEL version=3.1.0-dev.39 17:14:07 ---> Running in fd6b498114e1 17:14:07 Removing intermediate container fd6b498114e1 17:14:07 ---> a414592394bb 17:14:07 [Warning] One or more build-args [ARCH] were not consumed 17:14:07 Successfully built a414592394bb 17:14:07 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 17:14:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:14:07 17:14:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:14:08 arm64: Pulling from edgex-lftools-log-publisher 17:14:08 8998bd30e6a1: Pulling fs layer 17:14:08 04944245beec: Pulling fs layer 17:14:08 699f458cf7ca: Pulling fs layer 17:14:08 765212b225bb: Pulling fs layer 17:14:08 f23df028b6ca: Pulling fs layer 17:14:08 d65c8cfc05b1: Pulling fs layer 17:14:08 2437ff75d9bd: Pulling fs layer 17:14:08 765212b225bb: Waiting 17:14:08 f23df028b6ca: Waiting 17:14:08 d65c8cfc05b1: Waiting 17:14:08 2437ff75d9bd: Waiting 17:14:08 04944245beec: Verifying Checksum 17:14:08 04944245beec: Download complete 17:14:08 765212b225bb: Verifying Checksum 17:14:08 765212b225bb: Download complete 17:14:08 f23df028b6ca: Verifying Checksum 17:14:08 f23df028b6ca: Download complete 17:14:08 d65c8cfc05b1: Verifying Checksum 17:14:08 d65c8cfc05b1: Download complete 17:14:08 699f458cf7ca: Verifying Checksum 17:14:08 699f458cf7ca: Download complete 17:14:08 8998bd30e6a1: Verifying Checksum 17:14:08 8998bd30e6a1: Download complete 17:14:11 2437ff75d9bd: Verifying Checksum 17:14:11 2437ff75d9bd: Download complete 17:14:13 8998bd30e6a1: Pull complete 17:14:13 04944245beec: Pull complete 17:14:15 699f458cf7ca: Pull complete 17:14:15 765212b225bb: Pull complete 17:14:16 f23df028b6ca: Pull complete 17:14:16 d65c8cfc05b1: Pull complete 17:14:34 2437ff75d9bd: Pull complete 17:14:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:14:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:35 prd-ubuntu20.04-docker-arm64-4c-16g-16243 does not seem to be running inside a container 17:14:35 $ 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/268 -v /w/workspace/device-sdk-go/268:/w/workspace/device-sdk-go/268:rw,z -v /w/workspace/device-sdk-go/268@tmp:/w/workspace/device-sdk-go/268@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 17:14:38 $ docker top cfe9cf985dd54f4060707db63ec3980f0c0dcb24703dffd56222a1db882404f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:38 ---> job-cost.sh 17:14:38 lf-activate-venv: SKIPPING 17:14:38 INFO: No Stack... 17:14:39 INFO: Retrieving Pricing Info for: v3-standard-4 17:14:40 INFO: Archiving Costs [Pipeline] sh 17:14:40 + cat /w/workspace/device-sdk-go/268/archives/cost.csv 17:14:40 + cut -d, -f6 [Pipeline] lock 17:14:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] 17:14:40 Resource [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] did not exist. Created. 17:14:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:14:41 /w/workspace/device-sdk-go/268@tmp/durable-5f9502b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:14:42 + echo total: 0.10999999940395355 [Pipeline] stash 17:14:42 Warning: overwriting stash ‘stack-cost’ 17:14:42 Stashed 1 file(s) [Pipeline] } 17:14:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-268-stack-cost] [Pipeline] // lock [Pipeline] } 17:14:42 $ docker stop --time=1 cfe9cf985dd54f4060707db63ec3980f0c0dcb24703dffd56222a1db882404f2 17:14:43 $ docker rm -f --volumes cfe9cf985dd54f4060707db63ec3980f0c0dcb24703dffd56222a1db882404f2 [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 17:14:44 provisioning config files... 17:14:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10334166170146697500tmp [Pipeline] { [Pipeline] sh 17:14:44 + set +x 17:14:44 + bash -s -- 17:14:44 + curl -s https://codecov.io/bash 17:14:44 17:14:44 _____ _ 17:14:44 / ____| | | 17:14:44 | | ___ __| | ___ ___ _____ __ 17:14:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:14:44 | |___| (_) | (_| | __/ (_| (_) \ V / 17:14:44 \_____\___/ \__,_|\___|\___\___/ \_/ 17:14:44 Bash-1.0.6 17:14:44 17:14:44 17:14:44 ==> git version 2.25.1 found 17:14:44 ==> 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 17:14:44 Release-Date: 2020-01-08 17:14:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:14:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:14:44 ==> Jenkins CI detected. 17:14:44 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 17:14:44 project root: . 17:14:44 --> token set from env 17:14:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:14:44 ==> Running gcov in . (disable via -X gcov) 17:14:44 ==> Python coveragepy not found 17:14:44 ==> Searching for coverage reports in: 17:14:44 + . 17:14:44 -> Found 1 reports 17:14:44 ==> Detecting git/mercurial file structure 17:14:44 ==> Reading reports 17:14:44 + ./coverage.out bytes=122153 17:14:44 ==> Appending adjustments 17:14:44 https://docs.codecov.io/docs/fixing-reports 17:14:45 + Found adjustments 17:14:45 ==> Gzipping contents 17:14:45 20K /tmp/codecov.3ULhqo.gz 17:14:45 ==> Uploading reports 17:14:45 url: https://codecov.io 17:14:45 query: branch=main&commit=487ca8dbaf5a7983b4dd4e8681142a99360f28bf&build=268&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F268%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:14:45 -> Pinging Codecov 17:14:45 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=487ca8dbaf5a7983b4dd4e8681142a99360f28bf&build=268&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F268%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:14:45 -> Uploading to 17:14:45 https://storage.googleapis.com/codecov/v4/raw/2023-11-01/7E55EF52A471D76F132DFD9A03CDDE97/487ca8dbaf5a7983b4dd4e8681142a99360f28bf/a49e7bc2-e48a-4ab0-9a54-28888094f774.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T171444Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0fdf82a75827e923255acec6f4da9b1fcd0c57eb42c4cf9535e481266b21b65a 17:14:45 % Total % Received % Xferd Average Speed Time Time Time Current 17:14:45 Dload Upload Total Spent Left Speed 17:14:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16752 0 0 100 16752 0 63454 --:--:-- --:--:-- --:--:-- 63454 17:14:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] } 17:14:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:14:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:14:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:14:45 17:14:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:14:46 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:14:46 df9b9388f04a: Pulling fs layer 17:14:46 52dc419b0ee2: Pulling fs layer 17:14:46 25bc292e5bac: Pulling fs layer 17:14:46 114826534d7a: Pulling fs layer 17:14:46 4657fd5d0bcf: Pulling fs layer 17:14:46 6ad1cebc031e: Pulling fs layer 17:14:46 8a3aa393b2d8: Pulling fs layer 17:14:46 114826534d7a: Waiting 17:14:46 4657fd5d0bcf: Waiting 17:14:46 6ad1cebc031e: Waiting 17:14:46 25bc292e5bac: Verifying Checksum 17:14:46 25bc292e5bac: Download complete 17:14:46 52dc419b0ee2: Download complete 17:14:46 4657fd5d0bcf: Verifying Checksum 17:14:46 4657fd5d0bcf: Download complete 17:14:46 df9b9388f04a: Verifying Checksum 17:14:46 df9b9388f04a: Download complete 17:14:46 df9b9388f04a: Pull complete 17:14:46 6ad1cebc031e: Verifying Checksum 17:14:46 6ad1cebc031e: Download complete 17:14:46 52dc419b0ee2: Pull complete 17:14:46 25bc292e5bac: Pull complete 17:14:46 114826534d7a: Verifying Checksum 17:14:46 114826534d7a: Download complete 17:14:46 8a3aa393b2d8: Verifying Checksum 17:14:46 8a3aa393b2d8: Download complete 17:14:50 114826534d7a: Pull complete 17:14:50 4657fd5d0bcf: Pull complete 17:14:50 6ad1cebc031e: Pull complete 17:14:53 8a3aa393b2d8: Pull complete 17:14:53 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:14:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:14:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:53 prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container 17:14:53 $ 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 17:14:58 $ docker top 81ea0b4abb19f0fcfc752e660cd2aff61f429baf08d6678e64951fed3ac2b5b0 -eo pid,comm [Pipeline] { [Pipeline] echo 17:14:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 17:14:59 + set -o pipefail 17:14:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 17:15:04 17:15:04 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 17:15:04 17:15:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/9898b9d9-ff1d-4cbf-81d4-1e06393088f0 17:15:04 17:15:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:15:04 17:15:04 17:15:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:15:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:15:04 More details here: https://snyk.co/ue1NS 17:15:04 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 17:15:04 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 17:15:04 $ docker stop --time=1 81ea0b4abb19f0fcfc752e660cd2aff61f429baf08d6678e64951fed3ac2b5b0 17:15:09 $ docker rm -f --volumes 81ea0b4abb19f0fcfc752e660cd2aff61f429baf08d6678e64951fed3ac2b5b0 [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 17:15:09 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:15:09 provisioning config files... 17:15:09 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2918456467725799954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:09 --> edgex-publish-swagger.sh 17:15:09 === Publish openapi/v3 API === 17:15:09 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 17:15:09 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 17:15:09 % Total % Received % Xferd Average Speed Time Time Time Current 17:15:09 Dload Upload Total Spent Left Speed 17:15:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 50693 --:--:-- --:--:-- --:--:-- 50693 17:15:10 17:15:10 [Pipeline] } 17:15:10 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 17:15:10 + git log --format=format:%s -1 487ca8dbaf5a7983b4dd4e8681142a99360f28bf [Pipeline] sh 17:15:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:15:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:15:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:11 prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container 17:15:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:15:11 $ docker top bdff96a07613f4df3de20325d8bbb71372f98ea836eded5a9cabcb84bd3943a3 -eo pid,comm 17:15: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). 17:15:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:15:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:15:11 [ssh-agent] Looking for ssh-agent implementation... 17:15:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:15:11 $ docker exec bdff96a07613f4df3de20325d8bbb71372f98ea836eded5a9cabcb84bd3943a3 ssh-agent 17:15:11 SSH_AUTH_SOCK=/tmp/ssh-svtt3a0XjXzY/agent.33 17:15:11 SSH_AGENT_PID=39 17:15:11 Running ssh-add (command line suppressed) 17:15:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6417460602656050393.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6417460602656050393.key) 17:15:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:15:12 + git semver tag 17:15:12 2023-11-01 17:15:12,621 [run_tag] DEBUG tag force:False 17:15:12 2023-11-01 17:15:12,621 [check_head_tag] DEBUG check head tag 17:15:12 2023-11-01 17:15:12,622 [execute] INFO git cat-file --batch-check 17:15:12 2023-11-01 17:15:12,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:15:12 2023-11-01 17:15:12,627 [execute] INFO git cat-file --batch 17:15:12 2023-11-01 17:15:12,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:15:12 2023-11-01 17:15:12,650 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:15:12 2023-11-01 17:15:12,650 [execute] INFO git tag -a v3.1.0-dev.39 -m v3.1.0-dev.39 17:15:12 2023-11-01 17:15:12,650 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.39', '-m', 'v3.1.0-dev.39'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 17:15:12 2023-11-01 17:15:12,656 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:15:12 3.1.0-dev.39 [Pipeline] } 17:15:12 $ docker exec --env ******** --env ******** bdff96a07613f4df3de20325d8bbb71372f98ea836eded5a9cabcb84bd3943a3 ssh-agent -k 17:15:13 unset SSH_AUTH_SOCK; 17:15:13 unset SSH_AGENT_PID; 17:15:13 echo Agent pid 39 killed; 17:15:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:15:13 + git semver [Pipeline] } 17:15:13 $ docker stop --time=1 bdff96a07613f4df3de20325d8bbb71372f98ea836eded5a9cabcb84bd3943a3 17:15:14 $ docker rm -f --volumes bdff96a07613f4df3de20325d8bbb71372f98ea836eded5a9cabcb84bd3943a3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:15:15 17:15:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:15:15 0.23.1-centos7: Pulling from edgex-lftools 17:15:15 ab5ef0e58194: Pulling fs layer 17:15:15 9712f1f96733: Pulling fs layer 17:15:15 63f879dbbcfc: Pulling fs layer 17:15:15 0d9ebad4ef96: Pulling fs layer 17:15:15 e9a5061849ea: Pulling fs layer 17:15:15 d747dcd14b5f: Pulling fs layer 17:15:15 2de7ff778b66: Pulling fs layer 17:15:15 e9a5061849ea: Waiting 17:15:15 d747dcd14b5f: Waiting 17:15:15 2de7ff778b66: Waiting 17:15:15 0d9ebad4ef96: Waiting 17:15:15 9712f1f96733: Verifying Checksum 17:15:15 9712f1f96733: Download complete 17:15:15 63f879dbbcfc: Verifying Checksum 17:15:15 63f879dbbcfc: Download complete 17:15:17 e9a5061849ea: Download complete 17:15:17 0d9ebad4ef96: Verifying Checksum 17:15:17 0d9ebad4ef96: Download complete 17:15:17 d747dcd14b5f: Download complete 17:15:17 ab5ef0e58194: Download complete 17:15:17 2de7ff778b66: Verifying Checksum 17:15:17 2de7ff778b66: Download complete 17:15:19 ab5ef0e58194: Pull complete 17:15:19 9712f1f96733: Pull complete 17:15:19 63f879dbbcfc: Pull complete 17:15:24 0d9ebad4ef96: Pull complete 17:15:24 e9a5061849ea: Pull complete 17:15:24 d747dcd14b5f: Pull complete 17:15:24 2de7ff778b66: Pull complete 17:15:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:15:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:15:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:25 prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container 17:15:25 $ 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 17:15:32 $ docker top 463ce3b7c2bf3e63d37cb08fee71dcf949374b4db2d4db6c6443c2616cb23396 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:15:32 provisioning config files... 17:15:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17501090289801740673tmp 17:15:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5965605602710182073tmp 17:15:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12361920607799578097tmp [Pipeline] { [Pipeline] echo 17:15:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:15:32 ---> sigul-configuration.sh 17:15:32 gpg: directory `/root/.gnupg' created 17:15:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:15:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:15:32 gpg: keyring `/root/.gnupg/secring.gpg' created 17:15:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:15:32 gpg: CAST5 encrypted data 17:15:32 gpg: encrypted with 1 passphrase 17:15:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:15:32 + mkdir /home/jenkins 17:15:32 + mkdir /home/jenkins/sigul [Pipeline] sh 17:15:32 + 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 17:15:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:15:33 ---> sigul-install.sh 17:15:33 Sigul already installed; skipping installation. [Pipeline] sh 17:15:33 + git tag --list 17:15:33 0.7.1 17:15:33 delhi-tag 17:15:33 v1.0.0 17:15:33 v1.1.0 17:15:33 v1.1.1 17:15:33 v1.1.2 17:15:33 v1.2.0 17:15:33 v1.2.1 17:15:33 v1.2.2 17:15:33 v1.2.3 17:15:33 v1.3.0 17:15:33 v1.4.0 17:15:33 v2.0.0 17:15:33 v2.1.0 17:15:33 v2.1.1 17:15:33 v2.2.0 17:15:33 v2.3.0 17:15:33 v2.3.1 17:15:33 v3.0 17:15:33 v3.0.0 17:15:33 v3.0.1-dev.1 17:15:33 v3.1.0-dev.1 17:15:33 v3.1.0-dev.10 17:15:33 v3.1.0-dev.11 17:15:33 v3.1.0-dev.12 17:15:33 v3.1.0-dev.13 17:15:33 v3.1.0-dev.14 17:15:33 v3.1.0-dev.15 17:15:33 v3.1.0-dev.16 17:15:33 v3.1.0-dev.17 17:15:33 v3.1.0-dev.18 17:15:33 v3.1.0-dev.19 17:15:33 v3.1.0-dev.2 17:15:33 v3.1.0-dev.20 17:15:33 v3.1.0-dev.21 17:15:33 v3.1.0-dev.22 17:15:33 v3.1.0-dev.23 17:15:33 v3.1.0-dev.24 17:15:33 v3.1.0-dev.25 17:15:33 v3.1.0-dev.26 17:15:33 v3.1.0-dev.27 17:15:33 v3.1.0-dev.28 17:15:33 v3.1.0-dev.29 17:15:33 v3.1.0-dev.3 17:15:33 v3.1.0-dev.30 17:15:33 v3.1.0-dev.31 17:15:33 v3.1.0-dev.32 17:15:33 v3.1.0-dev.33 17:15:33 v3.1.0-dev.34 17:15:33 v3.1.0-dev.35 17:15:33 v3.1.0-dev.36 17:15:33 v3.1.0-dev.37 17:15:33 v3.1.0-dev.38 17:15:33 v3.1.0-dev.39 17:15:33 v3.1.0-dev.4 17:15:33 v3.1.0-dev.5 17:15:33 v3.1.0-dev.6 17:15:33 v3.1.0-dev.7 17:15:33 v3.1.0-dev.8 17:15:33 v3.1.0-dev.9 [Pipeline] sh 17:15:33 + lftools sign git-tag v3.1.0-dev.39 17:15:34 Signing Git tag with Sigul... 17:15:34 Signing v3.1.0-dev.39 [Pipeline] echo 17:15:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:15:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:15:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:15:35 $ docker stop --time=1 463ce3b7c2bf3e63d37cb08fee71dcf949374b4db2d4db6c6443c2616cb23396 17:15:36 $ docker rm -f --volumes 463ce3b7c2bf3e63d37cb08fee71dcf949374b4db2d4db6c6443c2616cb23396 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:15:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:15:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:15:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:37 prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container 17:15: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 17:15:37 $ docker top c0bec8b4aeafea260bc43ae601ad6ef0a6855de54ce1e37bb15c0b652144411b -eo pid,comm 17:15:37 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). 17:15:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:15:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:15:37 [ssh-agent] Looking for ssh-agent implementation... 17:15:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:15:37 $ docker exec c0bec8b4aeafea260bc43ae601ad6ef0a6855de54ce1e37bb15c0b652144411b ssh-agent 17:15:37 SSH_AUTH_SOCK=/tmp/ssh-WwUG9gRGurof/agent.33 17:15:37 SSH_AGENT_PID=39 17:15:37 Running ssh-add (command line suppressed) 17:15:37 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2250746454331828775.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2250746454331828775.key) 17:15:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:15:38 + git semver bump pre 17:15:38 2023-11-01 17:15:38,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:15:38 2023-11-01 17:15:38,428 [bump_version] DEBUG bumping version:3.1.0-dev.39 on axis:pre with prefix:dev 17:15:38 2023-11-01 17:15:38,428 [bump_version] DEBUG bumped version:3.1.0-dev.40 17:15:38 2023-11-01 17:15:38,428 [write_version] DEBUG write version:3.1.0-dev.40 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 17:15:38 2023-11-01 17:15:38,429 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:15:38 2023-11-01 17:15:38,429 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:15:38 2023-11-01 17:15:38,431 [execute] INFO git cat-file --batch-check 17:15:38 2023-11-01 17:15:38,431 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:15:38 2023-11-01 17:15:38,438 [execute] INFO git cat-file --batch 17:15:38 2023-11-01 17:15:38,439 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:15:38 2023-11-01 17:15:38,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:15:38 3.1.0-dev.40 [Pipeline] } 17:15:38 $ docker exec --env ******** --env ******** c0bec8b4aeafea260bc43ae601ad6ef0a6855de54ce1e37bb15c0b652144411b ssh-agent -k 17:15:38 unset SSH_AUTH_SOCK; 17:15:38 unset SSH_AGENT_PID; 17:15:38 echo Agent pid 39 killed; 17:15:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:15:38 + git semver [Pipeline] } 17:15:39 $ docker stop --time=1 c0bec8b4aeafea260bc43ae601ad6ef0a6855de54ce1e37bb15c0b652144411b 17:15:40 $ docker rm -f --volumes c0bec8b4aeafea260bc43ae601ad6ef0a6855de54ce1e37bb15c0b652144411b [Pipeline] // withDockerContainer [Pipeline] sh 17:15:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:15:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:15:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:41 prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container 17:15: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 17:15:41 $ docker top b45c25a2570425c357d3683158cbf15c79219bf615049b42f7b0b2f683f8fcf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:15:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:15:41 [ssh-agent] Looking for ssh-agent implementation... 17:15:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:15:41 $ docker exec b45c25a2570425c357d3683158cbf15c79219bf615049b42f7b0b2f683f8fcf5 ssh-agent 17:15:41 SSH_AUTH_SOCK=/tmp/ssh-cOiZ8PylEejY/agent.32 17:15:41 SSH_AGENT_PID=38 17:15:41 Running ssh-add (command line suppressed) 17:15:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13040419790874403503.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13040419790874403503.key) 17:15:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:15:42 + git semver push 17:15:42 2023-11-01 17:15:42,497 [run_push] DEBUG push 17:15:42 2023-11-01 17:15:42,498 [execute] INFO git cat-file --batch-check 17:15:42 2023-11-01 17:15:42,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:15:42 2023-11-01 17:15:42,503 [execute] INFO git rev-list 0f47c13e40ed999e7c017e16299ebd92af35ac89 -- 17:15:42 2023-11-01 17:15:42,503 [execute] DEBUG Popen(['git', 'rev-list', '0f47c13e40ed999e7c017e16299ebd92af35ac89', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:15:42 2023-11-01 17:15:42,518 [execute] INFO git fetch -v origin 17:15:42 2023-11-01 17:15:42,519 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:15:43 2023-11-01 17:15:43,074 [run_push] DEBUG no remote changes detected 17:15:43 2023-11-01 17:15:43,074 [execute] INFO git push origin semver 17:15:43 2023-11-01 17:15:43,075 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:15:44 2023-11-01 17:15:44,048 [run_push] DEBUG push all version tags 17:15:44 2023-11-01 17:15:44,049 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:15:44 2023-11-01 17:15:44,049 [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) 17:15:45 2023-11-01 17:15:44,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:15:45 3.1.0-dev.40 [Pipeline] } 17:15:45 $ docker exec --env ******** --env ******** b45c25a2570425c357d3683158cbf15c79219bf615049b42f7b0b2f683f8fcf5 ssh-agent -k 17:15:45 unset SSH_AUTH_SOCK; 17:15:45 unset SSH_AGENT_PID; 17:15:45 echo Agent pid 38 killed; 17:15:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:15:45 + git semver [Pipeline] } 17:15:45 $ docker stop --time=1 b45c25a2570425c357d3683158cbf15c79219bf615049b42f7b0b2f683f8fcf5 17:15:47 $ docker rm -f --volumes b45c25a2570425c357d3683158cbf15c79219bf615049b42f7b0b2f683f8fcf5 [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 17:15:47 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 17:15:47 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:15:47 total 16 17:15:47 drwxr-xr-x 3 root root 4096 Nov 1 17:02 . 17:15:47 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:15 .. 17:15:47 drwxr-xr-x 2 root root 4096 Nov 1 17:02 cost 17:15:47 -rw-r--r-- 1 root root 85 Nov 1 17:02 cost.csv 17:15:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:15:47 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:15:47 total 16 17:15:47 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 17:02 . 17:15:47 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 17:15 .. 17:15:47 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 17:02 cost 17:15:47 -rw-r--r-- 1 jenkins jenkins 85 Nov 1 17:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:15:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:15:48 ---> package-listing.sh 17:15:48 ++ facter osfamily 17:15:48 ++ tr '[:upper:]' '[:lower:]' 17:15:48 + OS_FAMILY=debian 17:15:48 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 17:15:48 + START_PACKAGES=/tmp/packages_start.txt 17:15:48 + END_PACKAGES=/tmp/packages_end.txt 17:15:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:15:48 + PACKAGES=/tmp/packages_start.txt 17:15:48 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:15:48 + PACKAGES=/tmp/packages_end.txt 17:15:48 + case "${OS_FAMILY}" in 17:15:48 + dpkg -l 17:15:48 + grep '^ii' 17:15:48 + '[' -f /tmp/packages_start.txt ']' 17:15:48 + '[' -f /tmp/packages_end.txt ']' 17:15:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:15:48 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:15:48 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 17:15:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 17:15:48 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 17:15:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:49 prd-ubuntu20.04-docker-8c-8g-16241 does not seem to be running inside a container 17:15:49 $ 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 17:15:50 $ docker top 86f1635e8d2aaad932c165e864354bee368df1d2ef0d4c32cf45d70baab29bdb -eo pid,comm [Pipeline] { [Pipeline] sh 17:15:50 + touch /tmp/pre-build-complete [Pipeline] sh 17:15:50 + mkdir -p /var/log/sysstat [Pipeline] sh 17:15:51 + ls /var/log/sa-host 17:15:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:15:51 provisioning config files... 17:15:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6554281257663588718tmp [Pipeline] { [Pipeline] echo 17:15:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:15:51 ---> create-netrc.sh [Pipeline] } 17:15:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:15:51 ---> python-tools-install.sh [Pipeline] echo 17:15:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:15:52 ---> sudo-logs.sh 17:15:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:15:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:15:52 ---> job-cost.sh 17:15:52 lf-activate-venv: SKIPPING 17:15:52 DEBUG: total: 0.2199999988079071 17:15:52 INFO: Retrieving Stack Cost... 17:15:52 INFO: Retrieving Pricing Info for: v3-standard-8 17:15:53 INFO: Archiving Costs [Pipeline] echo 17:15:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:15:53 ---> logs-deploy.sh 17:15:53 lf-activate-venv: SKIPPING 17:15:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/268 17:15:53 INFO: archiving workspace using pattern(s): 17:15:54 Archives upload complete. 17:15:54 INFO: archiving logs to Nexus