Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 88f03503c07c02c451459ab8c2d5aba4061d83b0 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-ssh2069845912510331386.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh16812381246795274034.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh1527985159272575861.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh13961065558889751075.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-ssh3796780141426347282.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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5639 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 88f03503c07c02c451459ab8c2d5aba4061d83b0 (main) Commit message: "fix: Adjust GetFileType() function for new secret URI format (#1507)" > 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 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 > git rev-list --no-walk 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:27:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:27:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:27:13 ========================================================= 18:27:13 EdgeX Global Pipelines Version Info 18:27:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:27:13 ------------------- 18:27:13 stable info: 18:27:13 ------------------- 18:27:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:27:13 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 18:27:13 Message: update stable to v1.0.253 18:27:14 ------------------- 18:27:14 experimental info: 18:27:14 ------------------- 18:27:14 Commited By: **** collab-it+edgex@linuxfoundation.org 18:27:14 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 18:27:14 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:27:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88f0350 [Pipeline] echo 18:27:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:27:15 provisioning config files... 18:27:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11953156436393791816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:15 ---> docker-login.sh 18:27:15 nexus3.edgexfoundry.org:10001 18:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:15 Configure a credential helper to remove this warning. See 18:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:15 18:27:15 Login Succeeded 18:27:15 nexus3.edgexfoundry.org:10002 18:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:16 Configure a credential helper to remove this warning. See 18:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:16 18:27:16 Login Succeeded 18:27:16 nexus3.edgexfoundry.org:10003 18:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:16 Configure a credential helper to remove this warning. See 18:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:16 18:27:16 Login Succeeded 18:27:16 nexus3.edgexfoundry.org:10004 18:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:16 Configure a credential helper to remove this warning. See 18:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:16 18:27:16 Login Succeeded 18:27:16 docker.io 18:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:16 Configure a credential helper to remove this warning. See 18:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:16 18:27:16 Login Succeeded 18:27:16 ---> docker-login.sh ends [Pipeline] } 18:27:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:27:16 + git rev-list -1 --merges 88f03503c07c02c451459ab8c2d5aba4061d83b0~1..88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] echo 18:27:17 -----------> git rev-list -1 --merges 88f03503c07c02c451459ab8c2d5aba4061d83b0~1..88f03503c07c02c451459ab8c2d5aba4061d83b0 88f03503c07c02c451459ab8c2d5aba4061d83b0 [false] [Pipeline] sh 18:27:17 + git log --format=format:%s -1 88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] echo 18:27:17 ========================================================= 18:27:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:27:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:27:17 + git log --format=format:%s -1 88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] echo 18:27:17 [semverPrep] GIT_COMMIT: 88f03503c07c02c451459ab8c2d5aba4061d83b0, Commit Message: fix: Adjust GetFileType() function for new secret URI format (#1507) [Pipeline] echo 18:27:17 [semverPrep] This is not a build commit. [Pipeline] sh 18:27:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:27:18 + grep -v github /etc/ssh/ssh_known_hosts 18:27:18 + [ -e /tmp/ssh_known_hosts ] 18:27:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:27:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:27:18 + sudo tee -a /etc/ssh/ssh_known_hosts 18:27:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:18 18:27:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:18 0.1.4: Pulling from edgex-devops/py-git-semver 18:27:18 b85a868b505f: Pulling fs layer 18:27:18 e2be974225ed: Pulling fs layer 18:27:18 339a4e72a1f5: Pulling fs layer 18:27:18 988bab9f4d93: Pulling fs layer 18:27:18 1469e6f7b9e6: Pulling fs layer 18:27:18 eaf3925da568: Pulling fs layer 18:27:18 bab4dde63d76: Pulling fs layer 18:27:18 bde34c3a00c8: Pulling fs layer 18:27:18 b352a97aabf1: Pulling fs layer 18:27:18 4872d77fe225: Pulling fs layer 18:27:18 5851b861e8e6: Pulling fs layer 18:27:18 988bab9f4d93: Waiting 18:27:18 1469e6f7b9e6: Waiting 18:27:18 eaf3925da568: Waiting 18:27:18 bab4dde63d76: Waiting 18:27:18 bde34c3a00c8: Waiting 18:27:18 b352a97aabf1: Waiting 18:27:18 4872d77fe225: Waiting 18:27:18 5851b861e8e6: Waiting 18:27:18 e2be974225ed: Download complete 18:27:18 988bab9f4d93: Verifying Checksum 18:27:18 988bab9f4d93: Download complete 18:27:18 1469e6f7b9e6: Verifying Checksum 18:27:18 339a4e72a1f5: Verifying Checksum 18:27:18 339a4e72a1f5: Download complete 18:27:18 eaf3925da568: Download complete 18:27:19 bde34c3a00c8: Verifying Checksum 18:27:19 bde34c3a00c8: Download complete 18:27:19 b352a97aabf1: Download complete 18:27:19 4872d77fe225: Download complete 18:27:19 5851b861e8e6: Download complete 18:27:19 b85a868b505f: Verifying Checksum 18:27:19 b85a868b505f: Download complete 18:27:19 bab4dde63d76: Verifying Checksum 18:27:19 bab4dde63d76: Download complete 18:27:20 b85a868b505f: Pull complete 18:27:20 e2be974225ed: Pull complete 18:27:20 339a4e72a1f5: Pull complete 18:27:21 988bab9f4d93: Pull complete 18:27:21 1469e6f7b9e6: Pull complete 18:27:21 eaf3925da568: Pull complete 18:27:23 bab4dde63d76: Pull complete 18:27:23 bde34c3a00c8: Pull complete 18:27:23 b352a97aabf1: Pull complete 18:27:23 4872d77fe225: Pull complete 18:27:23 5851b861e8e6: Pull complete 18:27:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:27:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:27:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:23 prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container 18:27:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:27:26 $ docker top f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 -eo pid,comm 18:27:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:27:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:27:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:27:26 [ssh-agent] Looking for ssh-agent implementation... 18:27:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:27:26 $ docker exec f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 ssh-agent 18:27:26 SSH_AUTH_SOCK=/tmp/ssh-sTJAmGToYdrM/agent.31 18:27:26 SSH_AGENT_PID=37 18:27:26 Running ssh-add (command line suppressed) 18:27:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_785222154644016815.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_785222154644016815.key) 18:27:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:27:27 + git tag --points-at HEAD [Pipeline] } 18:27:27 $ docker exec --env ******** --env ******** f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 ssh-agent -k 18:27:27 unset SSH_AUTH_SOCK; 18:27:27 unset SSH_AGENT_PID; 18:27:27 echo Agent pid 37 killed; 18:27:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:27:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:27:27 [ssh-agent] Looking for ssh-agent implementation... 18:27:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:27:27 $ docker exec f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 ssh-agent 18:27:27 SSH_AUTH_SOCK=/tmp/ssh-DsBFMbUgee60/agent.69 18:27:27 SSH_AGENT_PID=75 18:27:27 Running ssh-add (command line suppressed) 18:27:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6133467519132734056.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6133467519132734056.key) 18:27:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:27:27 + git semver init 18:27:28 2023-09-08 18:27:27,957 [run_init] DEBUG init version:0.0.0 force:False 18:27:28 2023-09-08 18:27:27,958 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:27:28 2023-09-08 18:27:27,958 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:27:28 2023-09-08 18:27:27,958 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:27:28 2023-09-08 18:27:28,842 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 18:27:28 2023-09-08 18:27:28,843 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 18:27:28 2023-09-08 18:27:28,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:27:28 2023-09-08 18:27:28,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:27:28 3.1.0-dev.20 [Pipeline] } 18:27:28 $ docker exec --env ******** --env ******** f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 ssh-agent -k 18:27:29 unset SSH_AUTH_SOCK; 18:27:29 unset SSH_AGENT_PID; 18:27:29 echo Agent pid 75 killed; 18:27:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:27:29 + git semver [Pipeline] } 18:27:29 $ docker stop --time=1 f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 18:27:30 $ docker rm -f --volumes f98a2ed300661226151d3f92bb1348215828fd0e906165e3a3f12ac4a3b135c9 [Pipeline] // withDockerContainer [Pipeline] sh 18:27:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:27:31 Stashed 1 file(s) [Pipeline] echo 18:27:31 [edgeXSemver]: initialized semver on version 3.1.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:27:31 provisioning config files... 18:27:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14781584642948810674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:31 ---> docker-login.sh 18:27:31 nexus3.edgexfoundry.org:10001 18:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:31 Configure a credential helper to remove this warning. See 18:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:31 18:27:31 Login Succeeded 18:27:31 nexus3.edgexfoundry.org:10002 18:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:31 Configure a credential helper to remove this warning. See 18:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:31 18:27:31 Login Succeeded 18:27:31 nexus3.edgexfoundry.org:10003 18:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:32 Configure a credential helper to remove this warning. See 18:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:32 18:27:32 Login Succeeded 18:27:32 nexus3.edgexfoundry.org:10004 18:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:32 Configure a credential helper to remove this warning. See 18:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:32 18:27:32 Login Succeeded 18:27:32 docker.io 18:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:32 Configure a credential helper to remove this warning. See 18:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:32 18:27:32 Login Succeeded 18:27:32 ---> docker-login.sh ends [Pipeline] } 18:27:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:27:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:27:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:27:32 ========================================================= 18:27:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:27:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:32 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 18:27:32 Sending build context to Docker daemon 11.09MB 18:27:32 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:27:32 Step 2/10 : FROM ${BASE} AS builder 18:27:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:27:32 4db1b89c0bd1: Pulling fs layer 18:27:32 6911f1a30b25: Pulling fs layer 18:27:32 e194b8c5c2a9: Pulling fs layer 18:27:32 6863d3e3a2b1: Pulling fs layer 18:27:32 ec0bb842ea78: Pulling fs layer 18:27:32 40a00589a448: Pulling fs layer 18:27:32 6c08303d61cc: Pulling fs layer 18:27:32 798269fcf238: Pulling fs layer 18:27:32 40a00589a448: Waiting 18:27:32 6c08303d61cc: Waiting 18:27:32 798269fcf238: Waiting 18:27:32 6863d3e3a2b1: Waiting 18:27:32 ec0bb842ea78: Waiting 18:27:33 6911f1a30b25: Verifying Checksum 18:27:33 6911f1a30b25: Download complete 18:27:33 6863d3e3a2b1: Verifying Checksum 18:27:33 6863d3e3a2b1: Download complete 18:27:33 ec0bb842ea78: Verifying Checksum 18:27:33 ec0bb842ea78: Download complete 18:27:33 4db1b89c0bd1: Verifying Checksum 18:27:33 4db1b89c0bd1: Download complete 18:27:33 40a00589a448: Verifying Checksum 18:27:33 40a00589a448: Download complete 18:27:33 4db1b89c0bd1: Pull complete 18:27:33 6911f1a30b25: Pull complete 18:27:33 798269fcf238: Verifying Checksum 18:27:33 798269fcf238: Download complete 18:27:33 e194b8c5c2a9: Verifying Checksum 18:27:33 e194b8c5c2a9: Download complete 18:27:33 6c08303d61cc: Verifying Checksum 18:27:33 6c08303d61cc: Download complete 18:27:37 e194b8c5c2a9: Pull complete 18:27:37 6863d3e3a2b1: Pull complete 18:27:37 ec0bb842ea78: Pull complete 18:27:37 40a00589a448: Pull complete 18:27:40 6c08303d61cc: Pull complete 18:27:40 798269fcf238: Pull complete 18:27:40 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 18:27:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:27:40 ---> ec979cd7f677 18:27:40 Step 3/10 : ARG MAKE=make build 18:27:46 ---> Running in dc9f5d6a54d7 18:27:46 Removing intermediate container dc9f5d6a54d7 18:27:46 ---> 88d3e710091c 18:27:46 Step 4/10 : WORKDIR /device-sdk-go 18:27:46 ---> Running in 2c7989a4d467 18:27:46 Removing intermediate container 2c7989a4d467 18:27:46 ---> b8dfcebfb4b4 18:27:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:27:46 ---> Running in dc162ade44a2 18:27:46 Removing intermediate container dc162ade44a2 18:27:46 ---> 532f037c22ed 18:27:46 Step 6/10 : RUN apk add --update --no-cache make git 18:27:46 ---> Running in e4b54e3dc4dc 18:27:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:27:46 Still waiting to schedule task 18:27:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:27:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:27:47 OK: 265 MiB in 53 packages 18:27:47 Removing intermediate container e4b54e3dc4dc 18:27:47 ---> 618364cb3955 18:27:47 Step 7/10 : COPY go.mod vendor* ./ 18:27:47 ---> a0f96831897e 18:27:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:27:47 ---> Running in 663adaaa6850 18:28:33 Removing intermediate container 663adaaa6850 18:28:33 ---> 773545761463 18:28:33 Step 9/10 : COPY . . 18:28:33 ---> a4adfaf5f192 18:28:33 Step 10/10 : RUN ${MAKE} 18:28:33 ---> Running in c213db65fb9e 18:28:33 noop 18:28:34 Removing intermediate container c213db65fb9e 18:28:34 ---> 2ac099f66c2e 18:28:34 Successfully built 2ac099f66c2e 18:28:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:34 + docker inspect -f . ci-base-image-x86_64 18:28:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:34 prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container 18:28:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:28:34 $ docker top 3ae4f6181e995bdb2965c8907753fcd8c4af1cc4b797a427881d84d3d77f22f1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:28:35 + go version 18:28:35 go version go1.20.6 linux/amd64 [Pipeline] } 18:28:35 $ docker stop --time=1 3ae4f6181e995bdb2965c8907753fcd8c4af1cc4b797a427881d84d3d77f22f1 18:28:36 $ docker rm -f --volumes 3ae4f6181e995bdb2965c8907753fcd8c4af1cc4b797a427881d84d3d77f22f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:28:37 + docker inspect -f . ci-base-image-x86_64 18:28:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:28:37 prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container 18:28:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:28:37 $ docker top 440f16f6a468f59490cf8c9e2b3fbfa896513de87fd879c37a637760b2e83a87 -eo pid,comm [Pipeline] { [Pipeline] sh 18:28:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 18:28:38 + make test 18:28:38 go test -race -coverprofile=coverage.out ./... 18:28:44 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:28:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:28:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:28:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:28:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:28:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:28:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.074s coverage: 27.6% of statements 18:28:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:28:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:28:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 80.2% of statements 18:28:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:28:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.080s coverage: 86.0% of statements 18:28:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 71.8% of statements 18:28:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:28:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:28:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:29:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 14.1% of statements 18:29:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.198s coverage: 44.2% of statements 18:29:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.102s coverage: 68.5% of statements 18:29:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.106s coverage: 89.2% of statements 18:29:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 18:29:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5640 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 18:29:15 Running in /w/workspace/device-sdk-go/249 [Pipeline] { [Pipeline] checkout 18:29:15 The recommended git tool is: git 18:29:18 GO111MODULE=on go vet ./... 18:29:21 using credential edgex-jenkins-ssh 18:29:21 Cloning the remote Git repository 18:29:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:29:21 > git init /w/workspace/device-sdk-go/249 # timeout=10 18:29:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:29:21 > git --version # timeout=10 18:29:21 > git --version # 'git version 2.25.1' 18:29:21 using GIT_SSH to set credentials SSH Credentials for GitHub 18:29:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:29:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:29:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:29:23 ./bin/test-attribution-txt.sh [Pipeline] echo 18:29:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:29:23 $ docker stop --time=1 440f16f6a468f59490cf8c9e2b3fbfa896513de87fd879c37a637760b2e83a87 18:29:24 Avoid second fetch 18:29:24 Checking out Revision 88f03503c07c02c451459ab8c2d5aba4061d83b0 (main) 18:29:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:29:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:29:24 > git config core.sparsecheckout # timeout=10 18:29:24 > git checkout -f 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 18:29:24 Commit message: "fix: Adjust GetFileType() function for new secret URI format (#1507)" 18:29:29 $ docker rm -f --volumes 440f16f6a468f59490cf8c9e2b3fbfa896513de87fd879c37a637760b2e83a87 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:29:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:29:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 18:29:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:29:30 % Total % Received % Xferd Average Speed Time Time Time Current 18:29:30 Dload Upload Total Spent Left Speed 18:29:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 101k 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [Pipeline] sh 18:29:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:29:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:29:30 + ls -al . 18:29:30 total 304 18:29:30 drwxrwxr-x 11 jenkins jenkins 4096 Sep 8 18:28 . 18:29:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 18:27 .. 18:29:30 -rw-rw-r-- 1 jenkins jenkins 140 Sep 8 18:27 .dockerignore 18:29:30 drwxrwxr-x 8 jenkins jenkins 4096 Sep 8 18:27 .git 18:29:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 18:27 .github 18:29:30 -rw-rw-r-- 1 jenkins jenkins 137 Sep 8 18:27 .gitignore 18:29:30 -rw-rw-r-- 1 jenkins jenkins 42 Sep 8 18:27 .golangci.yml 18:29:30 drwxr-xr-x 3 jenkins jenkins 4096 Sep 8 18:27 .semver 18:29:30 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 8 18:27 CHANGELOG.md 18:29:30 -rw-rw-r-- 1 jenkins jenkins 677 Sep 8 18:27 GOVERNANCE.md 18:29:30 -rw-rw-r-- 1 jenkins jenkins 885 Sep 8 18:27 Jenkinsfile 18:29:30 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 8 18:27 LICENSE 18:29:30 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 8 18:27 Makefile 18:29:30 -rw-rw-r-- 1 jenkins jenkins 619 Sep 8 18:27 OWNERS.md 18:29:30 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 8 18:27 README.md 18:29:30 -rw-rw-r-- 1 jenkins jenkins 12 Sep 8 18:27 VERSION 18:29:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 18:27 bin 18:29:30 -rw-r--r-- 1 jenkins jenkins 120468 Sep 8 18:29 coverage.out 18:29:30 drwxrwxr-x 5 jenkins jenkins 4096 Sep 8 18:27 example 18:29:30 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 8 18:27 go.mod 18:29:30 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 8 18:27 go.sum 18:29:30 drwxrwxr-x 12 jenkins jenkins 4096 Sep 8 18:27 internal 18:29:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 8 18:27 openapi 18:29:30 drwxrwxr-x 6 jenkins jenkins 4096 Sep 8 18:27 pkg 18:29:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 18:27 snap 18:29:30 -rw-rw-r-- 1 jenkins jenkins 222 Sep 8 18:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:29:30 + sudo tee /etc/docker/daemon.new 18:29:30 { 18:29:30 "registry-mirrors": [ 18:29:30 "https://nexus3.edgexfoundry.org:10001" 18:29:30 ], 18:29:30 "bip": "10.250.0.254/24", 18:29:30 "hosts": [ 18:29:30 "tcp://0.0.0.0:5555", 18:29:30 "unix:///var/run/docker.sock" 18:29:30 ], 18:29:30 "mtu": 1458, 18:29:30 "selinux-enabled": true, 18:29:30 "seccomp-profile": "/etc/docker/seccomp.json" 18:29:30 } [Pipeline] sh 18:29:31 + 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=88f03503c07c02c451459ab8c2d5aba4061d83b0 --label arch=amd64 --label version=3.1.0-dev.20 . 18:29:31 Sending build context to Docker daemon 11.21MB 18:29:31 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:29:31 Step 2/23 : FROM ${BASE} AS builder 18:29:31 ---> 2ac099f66c2e 18:29:31 Step 3/23 : ARG MAKE=make build 18:29:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:29:31 ---> Running in 6ff5f6bd876a 18:29:31 Removing intermediate container 6ff5f6bd876a 18:29:31 ---> cceadc4662f1 18:29:31 Step 4/23 : WORKDIR /device-sdk-go 18:29:31 ---> Running in 180a442125b0 18:29:31 + sudo service docker restart 18:29:31 Removing intermediate container 180a442125b0 18:29:31 ---> 23596af4d943 18:29:31 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:29:31 ---> Running in f55107130e42 18:29:31 Removing intermediate container f55107130e42 18:29:31 ---> ee6631ea4fc7 18:29:31 Step 6/23 : RUN apk add --update --no-cache make git 18:29:31 ---> Running in 5109dc0e4472 18:29:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:29:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:29:32 OK: 265 MiB in 53 packages 18:29:32 Removing intermediate container 5109dc0e4472 18:29:32 ---> 9c94471cbf9b 18:29:32 Step 7/23 : COPY go.mod vendor* ./ 18:29:32 ---> 12001ff997b0 18:29:32 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:29:32 ---> Running in 7df463ada6aa 18:29:33 Removing intermediate container 7df463ada6aa 18:29:33 ---> 5423375e1015 18:29:33 Step 9/23 : COPY . . 18:29:33 ---> 48deae89f19a 18:29:33 Step 10/23 : RUN ${MAKE} 18:29:33 ---> Running in 8a0d9e2ee6a5 18:29:33 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.20" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:29:49 provisioning config files... 18:29:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/249@tmp/config11019741827561708363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:29:50 ---> docker-login.sh 18:29:50 nexus3.edgexfoundry.org:10001 18:29:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:50 Configure a credential helper to remove this warning. See 18:29:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:50 18:29:50 Login Succeeded 18:29:50 nexus3.edgexfoundry.org:10002 18:29:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:50 Configure a credential helper to remove this warning. See 18:29:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:50 18:29:50 Login Succeeded 18:29:50 nexus3.edgexfoundry.org:10003 18:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:51 Configure a credential helper to remove this warning. See 18:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:51 18:29:51 Login Succeeded 18:29:51 nexus3.edgexfoundry.org:10004 18:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:51 Configure a credential helper to remove this warning. See 18:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:51 18:29:51 Login Succeeded 18:29:51 docker.io 18:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:52 Configure a credential helper to remove this warning. See 18:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:52 18:29:52 Login Succeeded 18:29:52 ---> docker-login.sh ends [Pipeline] } 18:29:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:29:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:29:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:29:52 ========================================================= 18:29:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:29:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:52 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 18:29:53 Sending build context to Docker daemon 5.928MB 18:29:53 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:29:53 Step 2/10 : FROM ${BASE} AS builder 18:29:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:29:53 edb6bdbacee9: Pulling fs layer 18:29:53 5f9638ab2659: Pulling fs layer 18:29:53 8d51d6327a98: Pulling fs layer 18:29:53 8b374f2dd631: Pulling fs layer 18:29:53 ec14aa9079de: Pulling fs layer 18:29:53 2f466654f4bb: Pulling fs layer 18:29:53 554e91adad29: Pulling fs layer 18:29:53 8b374f2dd631: Waiting 18:29:53 ec14aa9079de: Waiting 18:29:53 2f466654f4bb: Waiting 18:29:53 554e91adad29: Waiting 18:29:53 5f9638ab2659: Verifying Checksum 18:29:53 5f9638ab2659: Download complete 18:29:53 8b374f2dd631: Verifying Checksum 18:29:53 8b374f2dd631: Download complete 18:29:53 edb6bdbacee9: Verifying Checksum 18:29:53 edb6bdbacee9: Download complete 18:29:53 ec14aa9079de: Verifying Checksum 18:29:53 ec14aa9079de: Download complete 18:29:54 edb6bdbacee9: Pull complete 18:29:54 554e91adad29: Verifying Checksum 18:29:54 554e91adad29: Download complete 18:29:55 5f9638ab2659: Pull complete 18:29:56 Removing intermediate container 8a0d9e2ee6a5 18:29:56 ---> 359ef088d5fe 18:29:56 Step 11/23 : FROM alpine:3.17 18:29:56 3.17: Pulling from library/alpine 18:29:56 9398808236ff: Pulling fs layer 18:29:56 9398808236ff: Verifying Checksum 18:29:56 9398808236ff: Download complete 18:29:56 9398808236ff: Pull complete 18:29:56 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 18:29:56 Status: Downloaded newer image for alpine:3.17 18:29:56 ---> 1e0b8b5322fc 18:29:56 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:29:56 ---> Running in 8a9dc35563b6 18:29:56 Removing intermediate container 8a9dc35563b6 18:29:56 ---> 4c6dc8015769 18:29:56 Step 13/23 : RUN apk add --update --no-cache 18:29:56 ---> Running in 0633545d7acc 18:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:29:56 8d51d6327a98: Verifying Checksum 18:29:56 8d51d6327a98: Download complete 18:29:56 2f466654f4bb: Verifying Checksum 18:29:56 2f466654f4bb: Download complete 18:29:56 OK: 7 MiB in 15 packages 18:29:56 Removing intermediate container 0633545d7acc 18:29:56 ---> c1254973d525 18:29:56 Step 14/23 : WORKDIR / 18:29:56 ---> Running in ffb85c1cee05 18:29:56 Removing intermediate container ffb85c1cee05 18:29:56 ---> 9aef7d308a63 18:29:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:29:56 ---> 2dd9cb7bc88e 18:29:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:29:57 ---> f01f329d9b8c 18:29:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:29:57 ---> 5cda54e441e0 18:29:57 Step 18/23 : EXPOSE 59999 18:29:57 ---> Running in 3416679088e0 18:29:58 Removing intermediate container 3416679088e0 18:29:58 ---> cd3fc33df24e 18:29:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:29:58 ---> Running in f70ad439225c 18:29:58 Removing intermediate container f70ad439225c 18:29:58 ---> bc7f93a73c90 18:29:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:29:58 ---> Running in 1062d336e182 18:29:58 Removing intermediate container 1062d336e182 18:29:58 ---> 229d01dac2ed 18:29:58 Step 21/23 : LABEL arch=amd64 18:29:58 ---> Running in 983a095ca493 18:29:58 Removing intermediate container 983a095ca493 18:29:58 ---> 5c590a372841 18:29:58 Step 22/23 : LABEL git_sha=88f03503c07c02c451459ab8c2d5aba4061d83b0 18:29:58 ---> Running in f014957b8f4b 18:29:58 Removing intermediate container f014957b8f4b 18:29:58 ---> c059a10cce95 18:29:58 Step 23/23 : LABEL version=3.1.0-dev.20 18:29:58 ---> Running in b69d7167d9dd 18:29:58 Removing intermediate container b69d7167d9dd 18:29:58 ---> ecff7b4e2535 18:29:58 [Warning] One or more build-args [ARCH] were not consumed 18:29:58 Successfully built ecff7b4e2535 18:29:58 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:29:58 18:29:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:29:59 latest: Pulling from edgex-lftools-log-publisher 18:29:59 5eb5b503b376: Pulling fs layer 18:29:59 5c69ac0246d0: Pulling fs layer 18:29:59 ec43610c2a17: Pulling fs layer 18:29:59 3a2ae6a8a46f: Pulling fs layer 18:29:59 33b1e0a273af: Pulling fs layer 18:29:59 5d3b04190fa2: Pulling fs layer 18:29:59 2f39f015ded8: Pulling fs layer 18:29:59 33b1e0a273af: Waiting 18:29:59 3a2ae6a8a46f: Waiting 18:29:59 2f39f015ded8: Waiting 18:29:59 5d3b04190fa2: Waiting 18:29:59 5c69ac0246d0: Verifying Checksum 18:29:59 5c69ac0246d0: Download complete 18:29:59 3a2ae6a8a46f: Verifying Checksum 18:29:59 3a2ae6a8a46f: Download complete 18:29:59 33b1e0a273af: Download complete 18:29:59 ec43610c2a17: Verifying Checksum 18:29:59 ec43610c2a17: Download complete 18:29:59 5d3b04190fa2: Download complete 18:29:59 5eb5b503b376: Verifying Checksum 18:29:59 5eb5b503b376: Download complete 18:29:59 2f39f015ded8: Download complete 18:30:00 5eb5b503b376: Pull complete 18:30:00 5c69ac0246d0: Pull complete 18:30:00 ec43610c2a17: Pull complete 18:30:01 3a2ae6a8a46f: Pull complete 18:30:01 33b1e0a273af: Pull complete 18:30:01 5d3b04190fa2: Pull complete 18:30:05 2f39f015ded8: Pull complete 18:30:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:30:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:30:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:05 prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container 18:30:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:30:08 8d51d6327a98: Pull complete 18:30:08 8b374f2dd631: Pull complete 18:30:08 ec14aa9079de: Pull complete 18:30:10 $ docker top e5059760fc48f1bf2ee9cb3e9b327964e3203209060a8a1f750bf4bffa4eb3b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:10 ---> job-cost.sh 18:30:10 lf-activate-venv: SKIPPING 18:30:10 INFO: No Stack... 18:30:10 INFO: Retrieving Pricing Info for: v3-standard-8 18:30:11 INFO: Archiving Costs [Pipeline] sh 18:30:11 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 18:30:11 + cut -d, -f6 [Pipeline] lock 18:30:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] 18:30:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] did not exist. Created. 18:30:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:30:11 + echo total: 0.2199999988079071 [Pipeline] stash 18:30:11 Stashed 1 file(s) [Pipeline] } 18:30:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] [Pipeline] // lock [Pipeline] } 18:30:11 $ docker stop --time=1 e5059760fc48f1bf2ee9cb3e9b327964e3203209060a8a1f750bf4bffa4eb3b4 18:30:12 $ docker rm -f --volumes e5059760fc48f1bf2ee9cb3e9b327964e3203209060a8a1f750bf4bffa4eb3b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:30:15 2f466654f4bb: Pull complete 18:30:17 554e91adad29: Pull complete 18:30:17 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 18:30:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:30:17 ---> 1e15ea492957 18:30:17 Step 3/10 : ARG MAKE=make build 18:30:19 ---> Running in 690b410f3f7e 18:30:19 Removing intermediate container 690b410f3f7e 18:30:19 ---> ab36cd828d21 18:30:19 Step 4/10 : WORKDIR /device-sdk-go 18:30:19 ---> Running in c47cabd2b0eb 18:30:20 Removing intermediate container c47cabd2b0eb 18:30:20 ---> 50ac577bf744 18:30:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:30:20 ---> Running in 2efa00666314 18:30:20 Removing intermediate container 2efa00666314 18:30:20 ---> 970149609667 18:30:20 Step 6/10 : RUN apk add --update --no-cache make git 18:30:20 ---> Running in 0e77a481af99 18:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:30:23 OK: 263 MiB in 53 packages 18:30:24 Removing intermediate container 0e77a481af99 18:30:24 ---> 48da48f4d357 18:30:24 Step 7/10 : COPY go.mod vendor* ./ 18:30:24 ---> 49dc2e152db6 18:30:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:30:24 ---> Running in 59c7643e03e8 18:31:32 Removing intermediate container 59c7643e03e8 18:31:32 ---> a2eef6ff49d7 18:31:32 Step 9/10 : COPY . . 18:31:32 ---> d68b0f8d10d9 18:31:32 Step 10/10 : RUN ${MAKE} 18:31:32 ---> Running in 08349418d7f2 18:31:32 noop 18:31:32 Removing intermediate container 08349418d7f2 18:31:32 ---> 3db482dfe5cb 18:31:32 Successfully built 3db482dfe5cb 18:31:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:32 + docker inspect -f . ci-base-image-arm64 18:31:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:33 prd-ubuntu20.04-docker-arm64-4c-16g-5640 does not seem to be running inside a container 18:31:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/249 -v /w/workspace/device-sdk-go/249:/w/workspace/device-sdk-go/249:rw,z -v /w/workspace/device-sdk-go/249@tmp:/w/workspace/device-sdk-go/249@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:31:34 $ docker top ad59425118719defda1f040bd917e79a3bc0bbaad9623dc36278d7bffda2e874 -eo pid,comm [Pipeline] { [Pipeline] sh 18:31:35 + go version 18:31:35 go version go1.20.6 linux/arm64 [Pipeline] } 18:31:35 $ docker stop --time=1 ad59425118719defda1f040bd917e79a3bc0bbaad9623dc36278d7bffda2e874 18:31:36 $ docker rm -f --volumes ad59425118719defda1f040bd917e79a3bc0bbaad9623dc36278d7bffda2e874 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:37 + docker inspect -f . ci-base-image-arm64 18:31:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:37 prd-ubuntu20.04-docker-arm64-4c-16g-5640 does not seem to be running inside a container 18:31:37 $ 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/249 -v /w/workspace/device-sdk-go/249:/w/workspace/device-sdk-go/249:rw,z -v /w/workspace/device-sdk-go/249@tmp:/w/workspace/device-sdk-go/249@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:31:38 $ docker top 858a08533a9cee405eb47e5cb2a048b3a2b7a4d00a8454c89f530a35eed289d2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:31:39 + git config --global --add safe.directory /w/workspace/device-sdk-go/249 [Pipeline] fileExists [Pipeline] sh 18:31:39 + make test 18:31:39 go test -race -coverprofile=coverage.out ./... 18:32:26 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:34:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:34:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:34:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:34:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:34:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:34:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.232s coverage: 27.6% of statements 18:34:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.283s coverage: 80.2% of statements 18:35:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:35:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:35:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.386s coverage: 86.0% of statements 18:35:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:35:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.451s coverage: 71.8% of statements 18:35:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.341s coverage: 14.1% of statements 18:35:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:35:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:35:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.415s coverage: 44.2% of statements 18:35:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.410s coverage: 68.5% of statements 18:35:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.433s coverage: 89.2% of statements 18:35:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:35:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.257s coverage: 5.5% of statements 18:35:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:35:23 GO111MODULE=on go vet ./... 18:37:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:37:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:37:45 ./bin/test-attribution-txt.sh [Pipeline] echo 18:37:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:37:45 $ docker stop --time=1 858a08533a9cee405eb47e5cb2a048b3a2b7a4d00a8454c89f530a35eed289d2 18:37:49 $ docker rm -f --volumes 858a08533a9cee405eb47e5cb2a048b3a2b7a4d00a8454c89f530a35eed289d2 [Pipeline] // withDockerContainer [Pipeline] sh 18:37:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:37:51 Warning: overwriting stash ‘coverage-report’ 18:37:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:37:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:37:52 + ls -al . 18:37:52 total 300 18:37:52 drwxrwxr-x 10 jenkins jenkins 4096 Sep 8 18:31 . 18:37:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 18:29 .. 18:37:52 -rw-rw-r-- 1 jenkins jenkins 140 Sep 8 18:29 .dockerignore 18:37:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 8 18:29 .git 18:37:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 18:29 .github 18:37:52 -rw-rw-r-- 1 jenkins jenkins 137 Sep 8 18:29 .gitignore 18:37:52 -rw-rw-r-- 1 jenkins jenkins 42 Sep 8 18:29 .golangci.yml 18:37:52 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 8 18:29 CHANGELOG.md 18:37:52 -rw-rw-r-- 1 jenkins jenkins 677 Sep 8 18:29 GOVERNANCE.md 18:37:52 -rw-rw-r-- 1 jenkins jenkins 885 Sep 8 18:29 Jenkinsfile 18:37:52 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 8 18:29 LICENSE 18:37:52 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 8 18:29 Makefile 18:37:52 -rw-rw-r-- 1 jenkins jenkins 619 Sep 8 18:29 OWNERS.md 18:37:52 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 8 18:29 README.md 18:37:52 -rw-rw-r-- 1 jenkins jenkins 12 Sep 8 18:27 VERSION 18:37:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 18:29 bin 18:37:52 -rw-r--r-- 1 jenkins jenkins 120468 Sep 8 18:35 coverage.out 18:37:52 drwxrwxr-x 5 jenkins jenkins 4096 Sep 8 18:29 example 18:37:52 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 8 18:29 go.mod 18:37:52 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 8 18:29 go.sum 18:37:52 drwxrwxr-x 12 jenkins jenkins 4096 Sep 8 18:29 internal 18:37:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 8 18:29 openapi 18:37:52 drwxrwxr-x 6 jenkins jenkins 4096 Sep 8 18:29 pkg 18:37:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 18:29 snap 18:37:52 -rw-rw-r-- 1 jenkins jenkins 222 Sep 8 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:52 + 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=88f03503c07c02c451459ab8c2d5aba4061d83b0 --label arch=arm64 --label version=3.1.0-dev.20 . 18:37:52 Sending build context to Docker daemon 6.05MB 18:37:53 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 18:37:53 Step 2/23 : FROM ${BASE} AS builder 18:37:53 ---> 3db482dfe5cb 18:37:53 Step 3/23 : ARG MAKE=make build 18:37:53 ---> Running in 4af3f7396a10 18:37:53 Removing intermediate container 4af3f7396a10 18:37:53 ---> 7f14a5aa7958 18:37:53 Step 4/23 : WORKDIR /device-sdk-go 18:37:53 ---> Running in 727b2062d94a 18:37:53 Removing intermediate container 727b2062d94a 18:37:53 ---> 431d498d7cfb 18:37:53 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:37:54 ---> Running in 9fb07b4bcc0d 18:37:54 Removing intermediate container 9fb07b4bcc0d 18:37:54 ---> 4c364e72623c 18:37:54 Step 6/23 : RUN apk add --update --no-cache make git 18:37:54 ---> Running in 024d27d925a4 18:37:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:37:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:37:56 OK: 263 MiB in 53 packages 18:37:57 Removing intermediate container 024d27d925a4 18:37:57 ---> 817781377adc 18:37:57 Step 7/23 : COPY go.mod vendor* ./ 18:37:58 ---> f0aece0b5429 18:37:58 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:37:58 ---> Running in 995ed32f4a86 18:38:00 Removing intermediate container 995ed32f4a86 18:38:00 ---> 598fde7c595f 18:38:00 Step 9/23 : COPY . . 18:38:02 ---> 6537a92933cf 18:38:02 Step 10/23 : RUN ${MAKE} 18:38:02 ---> Running in 8bb8ffb100ba 18:38:03 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.20" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:40:25 Removing intermediate container 8bb8ffb100ba 18:40:25 ---> b4791021b233 18:40:25 Step 11/23 : FROM alpine:3.17 18:40:25 3.17: Pulling from library/alpine 18:40:25 4060ece20d7a: Pulling fs layer 18:40:25 4060ece20d7a: Verifying Checksum 18:40:25 4060ece20d7a: Download complete 18:40:25 4060ece20d7a: Pull complete 18:40:25 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 18:40:25 Status: Downloaded newer image for alpine:3.17 18:40:25 ---> 8650cd65339b 18:40:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:40:25 ---> Running in 33f323b13568 18:40:25 Removing intermediate container 33f323b13568 18:40:25 ---> 16b5d2f334a4 18:40:25 Step 13/23 : RUN apk add --update --no-cache 18:40:25 ---> Running in e6cdb24811f5 18:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:40:25 OK: 7 MiB in 15 packages 18:40:25 Removing intermediate container e6cdb24811f5 18:40:25 ---> 531d2b29457c 18:40:25 Step 14/23 : WORKDIR / 18:40:26 ---> Running in 82b2168bb42d 18:40:26 Removing intermediate container 82b2168bb42d 18:40:26 ---> bb62d68d0282 18:40:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:40:26 ---> 177b571b9121 18:40:26 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:40:28 ---> 253933fecbf3 18:40:28 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:40:28 ---> bf5696f44904 18:40:28 Step 18/23 : EXPOSE 59999 18:40:28 ---> Running in 8c6bc7e8caad 18:40:29 Removing intermediate container 8c6bc7e8caad 18:40:29 ---> fea128ef11eb 18:40:29 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:40:29 ---> Running in d48577989f4a 18:40:29 Removing intermediate container d48577989f4a 18:40:29 ---> daccbccfb393 18:40:29 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:40:29 ---> Running in 1edf0314300f 18:40:29 Removing intermediate container 1edf0314300f 18:40:29 ---> a2ed30f10761 18:40:29 Step 21/23 : LABEL arch=arm64 18:40:30 ---> Running in ff10be2b5301 18:40:30 Removing intermediate container ff10be2b5301 18:40:30 ---> 8636e1c88fc8 18:40:30 Step 22/23 : LABEL git_sha=88f03503c07c02c451459ab8c2d5aba4061d83b0 18:40:30 ---> Running in c94e08ef1ce7 18:40:30 Removing intermediate container c94e08ef1ce7 18:40:30 ---> f318ec4b5caf 18:40:30 Step 23/23 : LABEL version=3.1.0-dev.20 18:40:30 ---> Running in 1ac4c86bbb76 18:40:30 Removing intermediate container 1ac4c86bbb76 18:40:30 ---> 106f112b80ee 18:40:30 [Warning] One or more build-args [ARCH] were not consumed 18:40:31 Successfully built 106f112b80ee 18:40:31 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:40:31 18:40:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:40:31 arm64: Pulling from edgex-lftools-log-publisher 18:40:31 8998bd30e6a1: Pulling fs layer 18:40:31 04944245beec: Pulling fs layer 18:40:31 699f458cf7ca: Pulling fs layer 18:40:31 765212b225bb: Pulling fs layer 18:40:31 f23df028b6ca: Pulling fs layer 18:40:31 d65c8cfc05b1: Pulling fs layer 18:40:31 2437ff75d9bd: Pulling fs layer 18:40:31 765212b225bb: Waiting 18:40:31 f23df028b6ca: Waiting 18:40:31 d65c8cfc05b1: Waiting 18:40:31 2437ff75d9bd: Waiting 18:40:32 04944245beec: Verifying Checksum 18:40:32 04944245beec: Download complete 18:40:32 765212b225bb: Verifying Checksum 18:40:32 765212b225bb: Download complete 18:40:32 f23df028b6ca: Download complete 18:40:32 d65c8cfc05b1: Verifying Checksum 18:40:32 d65c8cfc05b1: Download complete 18:40:32 699f458cf7ca: Verifying Checksum 18:40:32 699f458cf7ca: Download complete 18:40:32 8998bd30e6a1: Verifying Checksum 18:40:32 8998bd30e6a1: Download complete 18:40:35 2437ff75d9bd: Verifying Checksum 18:40:35 2437ff75d9bd: Download complete 18:40:36 8998bd30e6a1: Pull complete 18:40:37 04944245beec: Pull complete 18:40:38 699f458cf7ca: Pull complete 18:40:38 765212b225bb: Pull complete 18:40:39 f23df028b6ca: Pull complete 18:40:39 d65c8cfc05b1: Pull complete 18:40:54 2437ff75d9bd: Pull complete 18:40:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:40:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:40:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:40:54 prd-ubuntu20.04-docker-arm64-4c-16g-5640 does not seem to be running inside a container 18:40:54 $ 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/249 -v /w/workspace/device-sdk-go/249:/w/workspace/device-sdk-go/249:rw,z -v /w/workspace/device-sdk-go/249@tmp:/w/workspace/device-sdk-go/249@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:40:57 $ docker top 24c7dbc565e3a92fae6197ead7eee11e412be9495ca3a07b8cb464fd5d9dc980 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:58 ---> job-cost.sh 18:40:58 lf-activate-venv: SKIPPING 18:40:58 INFO: No Stack... 18:40:59 INFO: Retrieving Pricing Info for: v3-standard-4 18:40:59 INFO: Archiving Costs [Pipeline] sh 18:41:00 + cat /w/workspace/device-sdk-go/249/archives/cost.csv 18:41:00 + cut -d, -f6 [Pipeline] lock 18:41:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] 18:41:00 Resource [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] did not exist. Created. 18:41:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:41:01 /w/workspace/device-sdk-go/249@tmp/durable-e038e0cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:41:01 + echo total: 0.10999999940395355 [Pipeline] stash 18:41:01 Warning: overwriting stash ‘stack-cost’ 18:41:01 Stashed 1 file(s) [Pipeline] } 18:41:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-249-stack-cost] [Pipeline] // lock [Pipeline] } 18:41:01 $ docker stop --time=1 24c7dbc565e3a92fae6197ead7eee11e412be9495ca3a07b8cb464fd5d9dc980 18:41:03 $ docker rm -f --volumes 24c7dbc565e3a92fae6197ead7eee11e412be9495ca3a07b8cb464fd5d9dc980 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:41:03 provisioning config files... 18:41:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17432847897891564544tmp [Pipeline] { [Pipeline] sh 18:41:04 + set +x 18:41:04 + curl -s https://codecov.io/bash 18:41:04 + bash -s -- 18:41:04 18:41:04 _____ _ 18:41:04 / ____| | | 18:41:04 | | ___ __| | ___ ___ _____ __ 18:41:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:41:04 | |___| (_) | (_| | __/ (_| (_) \ V / 18:41:04 \_____\___/ \__,_|\___|\___\___/ \_/ 18:41:04 Bash-1.0.6 18:41:04 18:41:04 18:41:04 ==> git version 2.25.1 found 18:41:04 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:41:04 Release-Date: 2020-01-08 18:41:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:41:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:41:04 ==> Jenkins CI detected. 18:41:04 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 18:41:04 project root: . 18:41:04 --> token set from env 18:41:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:41:04 ==> Running gcov in . (disable via -X gcov) 18:41:04 ==> Python coveragepy not found 18:41:04 ==> Searching for coverage reports in: 18:41:04 + . 18:41:04 -> Found 1 reports 18:41:04 ==> Detecting git/mercurial file structure 18:41:04 ==> Reading reports 18:41:04 + ./coverage.out bytes=120468 18:41:04 ==> Appending adjustments 18:41:04 https://docs.codecov.io/docs/fixing-reports 18:41:04 + Found adjustments 18:41:04 ==> Gzipping contents 18:41:04 20K /tmp/codecov.6EvBMf.gz 18:41:04 ==> Uploading reports 18:41:04 url: https://codecov.io 18:41:04 query: branch=main&commit=88f03503c07c02c451459ab8c2d5aba4061d83b0&build=249&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F249%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:41:04 -> Pinging Codecov 18:41:04 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=88f03503c07c02c451459ab8c2d5aba4061d83b0&build=249&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F249%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:41:04 -> Uploading to 18:41:04 https://storage.googleapis.com/codecov/v4/raw/2023-09-08/7E55EF52A471D76F132DFD9A03CDDE97/88f03503c07c02c451459ab8c2d5aba4061d83b0/1b654acf-a554-4115-aacd-9352c39bc95b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230908%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230908T184104Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d6be7a3ea69f5476b0c9cb9ae1f824e71d5c99aee1ba14c4596ee22f23b9e997 18:41:04 % Total % Received % Xferd Average Speed Time Time Time Current 18:41:04 Dload Upload Total Spent Left Speed 18:41:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16419 0 0 100 16419 0 81282 --:--:-- --:--:-- --:--:-- 81282 18:41:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] } 18:41:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:41:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:41:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:41:05 18:41:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:41:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:41:05 df9b9388f04a: Pulling fs layer 18:41:05 52dc419b0ee2: Pulling fs layer 18:41:05 25bc292e5bac: Pulling fs layer 18:41:05 114826534d7a: Pulling fs layer 18:41:05 4657fd5d0bcf: Pulling fs layer 18:41:05 6ad1cebc031e: Pulling fs layer 18:41:05 8a3aa393b2d8: Pulling fs layer 18:41:05 8a3aa393b2d8: Waiting 18:41:05 4657fd5d0bcf: Waiting 18:41:05 114826534d7a: Waiting 18:41:05 6ad1cebc031e: Waiting 18:41:05 25bc292e5bac: Verifying Checksum 18:41:05 25bc292e5bac: Download complete 18:41:05 52dc419b0ee2: Download complete 18:41:05 4657fd5d0bcf: Verifying Checksum 18:41:05 4657fd5d0bcf: Download complete 18:41:05 df9b9388f04a: Download complete 18:41:05 6ad1cebc031e: Verifying Checksum 18:41:05 6ad1cebc031e: Download complete 18:41:05 df9b9388f04a: Pull complete 18:41:05 52dc419b0ee2: Pull complete 18:41:05 25bc292e5bac: Pull complete 18:41:06 114826534d7a: Verifying Checksum 18:41:06 114826534d7a: Download complete 18:41:06 8a3aa393b2d8: Verifying Checksum 18:41:06 8a3aa393b2d8: Download complete 18:41:09 114826534d7a: Pull complete 18:41:09 4657fd5d0bcf: Pull complete 18:41:09 6ad1cebc031e: Pull complete 18:41:12 8a3aa393b2d8: Pull complete 18:41:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:41:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:41:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:12 prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container 18:41:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:41:16 $ docker top ac068ad707d0e102ada65a6baf6e6d030451c0d9285665ef36b817fb5b4fa1d4 -eo pid,comm [Pipeline] { [Pipeline] echo 18:41:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 18:41:16 + set -o pipefail 18:41:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 18:41:24 18:41:24 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 18:41:24 18:41:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/10650e00-9806-43e3-9320-5d546deefddd 18:41:24 18:41:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:41:24 18:41:24 18:41:24 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:41:24 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:41:24 More details here: https://snyk.co/ue1NS 18:41:24 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 18:41:24 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 18:41:24 $ docker stop --time=1 ac068ad707d0e102ada65a6baf6e6d030451c0d9285665ef36b817fb5b4fa1d4 18:41:28 $ docker rm -f --volumes ac068ad707d0e102ada65a6baf6e6d030451c0d9285665ef36b817fb5b4fa1d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 18:41:28 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:28 provisioning config files... 18:41:28 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10204875127718301342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:29 --> edgex-publish-swagger.sh 18:41:29 === Publish openapi/v3 API === 18:41:29 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 18:41:29 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 18:41:29 % Total % Received % Xferd Average Speed Time Time Time Current 18:41:29 Dload Upload Total Spent Left Speed 18:41:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 46602 --:--:-- --:--:-- --:--:-- 46510 100 23674 0 0 100 23674 0 46602 --:--:-- --:--:-- --:--:-- 46510 18:41:29 18:41:29 [Pipeline] } 18:41:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:41:30 + git log --format=format:%s -1 88f03503c07c02c451459ab8c2d5aba4061d83b0 [Pipeline] sh 18:41:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:30 prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container 18:41:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:41:31 $ docker top a87d5047762bbac55501b2e1bec0f5f75f025ec85d0a82186d59e9500cc7d60b -eo pid,comm 18:41:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:41:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:31 [ssh-agent] Looking for ssh-agent implementation... 18:41:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:31 $ docker exec a87d5047762bbac55501b2e1bec0f5f75f025ec85d0a82186d59e9500cc7d60b ssh-agent 18:41:31 SSH_AUTH_SOCK=/tmp/ssh-dnHUmYk4BVLI/agent.32 18:41:31 SSH_AGENT_PID=38 18:41:31 Running ssh-add (command line suppressed) 18:41:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17950185987184464358.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17950185987184464358.key) 18:41:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:32 + git semver tag 18:41:32 2023-09-08 18:41:32,180 [run_tag] DEBUG tag force:False 18:41:32 2023-09-08 18:41:32,180 [check_head_tag] DEBUG check head tag 18:41:32 2023-09-08 18:41:32,181 [execute] INFO git cat-file --batch-check 18:41:32 2023-09-08 18:41:32,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:41:32 2023-09-08 18:41:32,185 [execute] INFO git cat-file --batch 18:41:32 2023-09-08 18:41:32,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:41:32 2023-09-08 18:41:32,200 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:41:32 2023-09-08 18:41:32,200 [execute] INFO git tag -a v3.1.0-dev.20 -m v3.1.0-dev.20 18:41:32 2023-09-08 18:41:32,200 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.20', '-m', 'v3.1.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:41:32 2023-09-08 18:41:32,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:41:32 3.1.0-dev.20 [Pipeline] } 18:41:32 $ docker exec --env ******** --env ******** a87d5047762bbac55501b2e1bec0f5f75f025ec85d0a82186d59e9500cc7d60b ssh-agent -k 18:41:32 unset SSH_AUTH_SOCK; 18:41:32 unset SSH_AGENT_PID; 18:41:32 echo Agent pid 38 killed; 18:41:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:32 + git semver [Pipeline] } 18:41:32 $ docker stop --time=1 a87d5047762bbac55501b2e1bec0f5f75f025ec85d0a82186d59e9500cc7d60b 18:41:34 $ docker rm -f --volumes a87d5047762bbac55501b2e1bec0f5f75f025ec85d0a82186d59e9500cc7d60b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:41:34 18:41:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:41:34 0.23.1-centos7: Pulling from edgex-lftools 18:41:34 ab5ef0e58194: Pulling fs layer 18:41:34 9712f1f96733: Pulling fs layer 18:41:34 63f879dbbcfc: Pulling fs layer 18:41:34 0d9ebad4ef96: Pulling fs layer 18:41:34 e9a5061849ea: Pulling fs layer 18:41:34 d747dcd14b5f: Pulling fs layer 18:41:34 0d9ebad4ef96: Waiting 18:41:34 d747dcd14b5f: Waiting 18:41:34 e9a5061849ea: Waiting 18:41:34 2de7ff778b66: Pulling fs layer 18:41:34 2de7ff778b66: Waiting 18:41:34 9712f1f96733: Verifying Checksum 18:41:34 9712f1f96733: Download complete 18:41:35 63f879dbbcfc: Verifying Checksum 18:41:35 63f879dbbcfc: Download complete 18:41:35 e9a5061849ea: Verifying Checksum 18:41:35 e9a5061849ea: Download complete 18:41:35 d747dcd14b5f: Download complete 18:41:35 0d9ebad4ef96: Verifying Checksum 18:41:35 0d9ebad4ef96: Download complete 18:41:35 ab5ef0e58194: Verifying Checksum 18:41:35 ab5ef0e58194: Download complete 18:41:35 2de7ff778b66: Verifying Checksum 18:41:35 2de7ff778b66: Download complete 18:41:38 ab5ef0e58194: Pull complete 18:41:38 9712f1f96733: Pull complete 18:41:38 63f879dbbcfc: Pull complete 18:41:42 0d9ebad4ef96: Pull complete 18:41:42 e9a5061849ea: Pull complete 18:41:42 d747dcd14b5f: Pull complete 18:41:43 2de7ff778b66: Pull complete 18:41:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:41:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:41:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:43 prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container 18:41:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:41:48 $ docker top 2510f99633f463b48006c6065f0bfb477dcc07a0e9863092dda43567af1dfc9c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:41:48 provisioning config files... 18:41:48 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15598352335961904719tmp 18:41:48 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config198647647697271690tmp 18:41:48 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14320225534116625670tmp [Pipeline] { [Pipeline] echo 18:41:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:41:48 ---> sigul-configuration.sh 18:41:48 gpg: directory `/root/.gnupg' created 18:41:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:41:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:41:48 gpg: keyring `/root/.gnupg/secring.gpg' created 18:41:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:41:48 gpg: CAST5 encrypted data 18:41:48 gpg: encrypted with 1 passphrase 18:41:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:41:49 + mkdir /home/jenkins 18:41:49 + mkdir /home/jenkins/sigul [Pipeline] sh 18:41:49 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:41:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:41:49 ---> sigul-install.sh 18:41:49 Sigul already installed; skipping installation. [Pipeline] sh 18:41:49 + git tag --list 18:41:49 0.7.1 18:41:49 delhi-tag 18:41:49 v1.0.0 18:41:49 v1.1.0 18:41:49 v1.1.1 18:41:49 v1.1.2 18:41:49 v1.2.0 18:41:49 v1.2.1 18:41:49 v1.2.2 18:41:49 v1.2.3 18:41:49 v1.3.0 18:41:49 v1.4.0 18:41:49 v2.0.0 18:41:49 v2.1.0 18:41:49 v2.1.1 18:41:49 v2.2.0 18:41:49 v2.3.0 18:41:49 v2.3.1 18:41:49 v3.0 18:41:49 v3.0.0 18:41:49 v3.0.1-dev.1 18:41:49 v3.1.0-dev.1 18:41:49 v3.1.0-dev.10 18:41:49 v3.1.0-dev.11 18:41:49 v3.1.0-dev.12 18:41:49 v3.1.0-dev.13 18:41:49 v3.1.0-dev.14 18:41:49 v3.1.0-dev.15 18:41:49 v3.1.0-dev.16 18:41:49 v3.1.0-dev.17 18:41:49 v3.1.0-dev.18 18:41:49 v3.1.0-dev.19 18:41:49 v3.1.0-dev.2 18:41:49 v3.1.0-dev.20 18:41:49 v3.1.0-dev.3 18:41:49 v3.1.0-dev.4 18:41:49 v3.1.0-dev.5 18:41:49 v3.1.0-dev.6 18:41:49 v3.1.0-dev.7 18:41:49 v3.1.0-dev.8 18:41:49 v3.1.0-dev.9 [Pipeline] sh 18:41:50 + lftools sign git-tag v3.1.0-dev.20 18:41:50 Signing Git tag with Sigul... 18:41:50 Signing v3.1.0-dev.20 [Pipeline] echo 18:41:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:41:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:41:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:41:51 $ docker stop --time=1 2510f99633f463b48006c6065f0bfb477dcc07a0e9863092dda43567af1dfc9c 18:41:52 $ docker rm -f --volumes 2510f99633f463b48006c6065f0bfb477dcc07a0e9863092dda43567af1dfc9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:41:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:53 prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container 18:41:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:41:53 $ docker top 7bf82701e9c7c1da2a23af9a6cd5d4bb459794ec982555eb18ccb88cd9ceeb09 -eo pid,comm 18:41:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:41:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:53 [ssh-agent] Looking for ssh-agent implementation... 18:41:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:53 $ docker exec 7bf82701e9c7c1da2a23af9a6cd5d4bb459794ec982555eb18ccb88cd9ceeb09 ssh-agent 18:41:54 SSH_AUTH_SOCK=/tmp/ssh-DiQcjrFAz5ON/agent.32 18:41:54 SSH_AGENT_PID=38 18:41:54 Running ssh-add (command line suppressed) 18:41:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4683174734406943849.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4683174734406943849.key) 18:41:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:54 + git semver bump pre 18:41:54 2023-09-08 18:41:54,673 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:41:54 2023-09-08 18:41:54,674 [bump_version] DEBUG bumping version:3.1.0-dev.20 on axis:pre with prefix:dev 18:41:54 2023-09-08 18:41:54,674 [bump_version] DEBUG bumped version:3.1.0-dev.21 18:41:54 2023-09-08 18:41:54,674 [write_version] DEBUG write version:3.1.0-dev.21 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 18:41:54 2023-09-08 18:41:54,674 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:41:54 2023-09-08 18:41:54,675 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:41:54 2023-09-08 18:41:54,679 [execute] INFO git cat-file --batch-check 18:41:54 2023-09-08 18:41:54,679 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:41:54 2023-09-08 18:41:54,683 [execute] INFO git cat-file --batch 18:41:54 2023-09-08 18:41:54,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:41:54 2023-09-08 18:41:54,687 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:41:54 3.1.0-dev.21 [Pipeline] } 18:41:54 $ docker exec --env ******** --env ******** 7bf82701e9c7c1da2a23af9a6cd5d4bb459794ec982555eb18ccb88cd9ceeb09 ssh-agent -k 18:41:54 unset SSH_AUTH_SOCK; 18:41:54 unset SSH_AGENT_PID; 18:41:54 echo Agent pid 38 killed; 18:41:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:41:55 + git semver [Pipeline] } 18:41:55 $ docker stop --time=1 7bf82701e9c7c1da2a23af9a6cd5d4bb459794ec982555eb18ccb88cd9ceeb09 18:41:56 $ docker rm -f --volumes 7bf82701e9c7c1da2a23af9a6cd5d4bb459794ec982555eb18ccb88cd9ceeb09 [Pipeline] // withDockerContainer [Pipeline] sh 18:41:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:57 prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container 18:41:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:41:57 $ docker top ed3cc64f9b8619f812b06dc75c30148810d3a4b3a93c24af60b5f10881f3e623 -eo pid,comm 18:41:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:41:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:57 [ssh-agent] Looking for ssh-agent implementation... 18:41:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:41:57 $ docker exec ed3cc64f9b8619f812b06dc75c30148810d3a4b3a93c24af60b5f10881f3e623 ssh-agent 18:41:58 SSH_AUTH_SOCK=/tmp/ssh-WGsqXURiujod/agent.32 18:41:58 SSH_AGENT_PID=38 18:41:58 Running ssh-add (command line suppressed) 18:41:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8072126827520736365.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8072126827520736365.key) 18:41:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:41:58 + git semver push 18:41:58 2023-09-08 18:41:58,587 [run_push] DEBUG push 18:41:58 2023-09-08 18:41:58,588 [execute] INFO git cat-file --batch-check 18:41:58 2023-09-08 18:41:58,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:41:58 2023-09-08 18:41:58,592 [execute] INFO git rev-list a9f2f8b91723196d2f8a1a584462eb88800e5c14 -- 18:41:58 2023-09-08 18:41:58,593 [execute] DEBUG Popen(['git', 'rev-list', 'a9f2f8b91723196d2f8a1a584462eb88800e5c14', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:41:58 2023-09-08 18:41:58,606 [execute] INFO git fetch -v origin 18:41:58 2023-09-08 18:41:58,606 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:41:59 2023-09-08 18:41:59,102 [run_push] DEBUG no remote changes detected 18:41:59 2023-09-08 18:41:59,102 [execute] INFO git push origin semver 18:41:59 2023-09-08 18:41:59,103 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:42:00 2023-09-08 18:41:59,890 [run_push] DEBUG push all version tags 18:42:00 2023-09-08 18:41:59,891 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:42:00 2023-09-08 18:41:59,891 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:42:01 2023-09-08 18:42:00,994 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:42:01 3.1.0-dev.21 [Pipeline] } 18:42:01 $ docker exec --env ******** --env ******** ed3cc64f9b8619f812b06dc75c30148810d3a4b3a93c24af60b5f10881f3e623 ssh-agent -k 18:42:01 unset SSH_AUTH_SOCK; 18:42:01 unset SSH_AGENT_PID; 18:42:01 echo Agent pid 38 killed; 18:42:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:01 + git semver [Pipeline] } 18:42:01 $ docker stop --time=1 ed3cc64f9b8619f812b06dc75c30148810d3a4b3a93c24af60b5f10881f3e623 18:42:03 $ docker rm -f --volumes ed3cc64f9b8619f812b06dc75c30148810d3a4b3a93c24af60b5f10881f3e623 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:42:03 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 18:42:03 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:42:03 total 16 18:42:03 drwxr-xr-x 3 root root 4096 Sep 8 18:30 . 18:42:03 drwxrwxr-x 12 jenkins jenkins 4096 Sep 8 18:41 .. 18:42:03 drwxr-xr-x 2 root root 4096 Sep 8 18:30 cost 18:42:03 -rw-r--r-- 1 root root 85 Sep 8 18:30 cost.csv 18:42:03 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:42:03 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:42:03 total 16 18:42:03 drwxr-xr-x 3 jenkins jenkins 4096 Sep 8 18:30 . 18:42:03 drwxrwxr-x 12 jenkins jenkins 4096 Sep 8 18:41 .. 18:42:03 drwxr-xr-x 2 jenkins jenkins 4096 Sep 8 18:30 cost 18:42:03 -rw-r--r-- 1 jenkins jenkins 85 Sep 8 18:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:42:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:42:04 ---> package-listing.sh 18:42:04 ++ facter osfamily 18:42:04 ++ tr '[:upper:]' '[:lower:]' 18:42:05 + OS_FAMILY=debian 18:42:05 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 18:42:05 + START_PACKAGES=/tmp/packages_start.txt 18:42:05 + END_PACKAGES=/tmp/packages_end.txt 18:42:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:42:05 + PACKAGES=/tmp/packages_start.txt 18:42:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:42:05 + PACKAGES=/tmp/packages_end.txt 18:42:05 + case "${OS_FAMILY}" in 18:42:05 + dpkg -l 18:42:05 + grep '^ii' 18:42:05 + '[' -f /tmp/packages_start.txt ']' 18:42:05 + '[' -f /tmp/packages_end.txt ']' 18:42:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:42:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:42:05 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 18:42:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 18:42:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:42:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:06 prd-ubuntu20.04-docker-8c-8g-5639 does not seem to be running inside a container 18:42:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:42:06 $ docker top 4c74fdc23da9fc71b8f05c906da5f11c032ca82b6b1036925a3342c91c79a31f -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:06 + touch /tmp/pre-build-complete [Pipeline] sh 18:42:06 + mkdir -p /var/log/sysstat [Pipeline] sh 18:42:07 + ls /var/log/sa-host 18:42:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:07 provisioning config files... 18:42:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9659729138850021125tmp [Pipeline] { [Pipeline] echo 18:42:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:42:07 ---> create-netrc.sh [Pipeline] } 18:42:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:42:08 ---> python-tools-install.sh [Pipeline] echo 18:42:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:42:08 ---> sudo-logs.sh 18:42:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:42:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:42:08 ---> job-cost.sh 18:42:08 lf-activate-venv: SKIPPING 18:42:08 DEBUG: total: 0.2199999988079071 18:42:08 INFO: Retrieving Stack Cost... 18:42:09 INFO: Retrieving Pricing Info for: v3-standard-8 18:42:09 INFO: Archiving Costs [Pipeline] echo 18:42:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:42:10 ---> logs-deploy.sh 18:42:10 lf-activate-venv: SKIPPING 18:42:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/249 18:42:10 INFO: archiving workspace using pattern(s): 18:42:11 Archives upload complete. 18:42:11 INFO: archiving logs to Nexus