Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from abc21ca26102b759b02d11fb71eec9f0d2267cdf 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-ssh13429127423555483160.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8544495510331736944.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9688715208017621009.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15840264871068728416.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-ssh7132931547143676279.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11936 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 > 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 Avoid second fetch Checking out Revision abc21ca26102b759b02d11fb71eec9f0d2267cdf (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1530)" > git config core.sparsecheckout # timeout=10 > git checkout -f abc21ca26102b759b02d11fb71eec9f0d2267cdf # timeout=10 > git rev-list --no-walk ea75771316a3345bae478dacd5fb79870eb29e09 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:14:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:14:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:14:03 ========================================================= 16:14:03 EdgeX Global Pipelines Version Info 16:14:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:14:03 ------------------- 16:14:03 stable info: 16:14:03 ------------------- 16:14:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:14:03 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 16:14:03 Message: update stable to v1.0.254 16:14:04 ------------------- 16:14:04 experimental info: 16:14:04 ------------------- 16:14:04 Commited By: **** collab-it+edgex@linuxfoundation.org 16:14:04 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 16:14:04 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = abc21ca [Pipeline] echo 16:14:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:14:04 provisioning config files... 16:14:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16775233956594967668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:05 ---> docker-login.sh 16:14:05 nexus3.edgexfoundry.org:10001 16:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:05 Configure a credential helper to remove this warning. See 16:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:05 16:14:05 Login Succeeded 16:14:05 nexus3.edgexfoundry.org:10002 16:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:05 Configure a credential helper to remove this warning. See 16:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:05 16:14:05 Login Succeeded 16:14:05 nexus3.edgexfoundry.org:10003 16:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:05 Configure a credential helper to remove this warning. See 16:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:05 16:14:05 Login Succeeded 16:14:05 nexus3.edgexfoundry.org:10004 16:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:05 Configure a credential helper to remove this warning. See 16:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:05 16:14:05 Login Succeeded 16:14:05 docker.io 16:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:06 Configure a credential helper to remove this warning. See 16:14:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:06 16:14:06 Login Succeeded 16:14:06 ---> docker-login.sh ends [Pipeline] } 16:14:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:14:06 + git rev-list -1 --merges abc21ca26102b759b02d11fb71eec9f0d2267cdf~1..abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] echo 16:14:06 -----------> git rev-list -1 --merges abc21ca26102b759b02d11fb71eec9f0d2267cdf~1..abc21ca26102b759b02d11fb71eec9f0d2267cdf abc21ca26102b759b02d11fb71eec9f0d2267cdf [false] [Pipeline] sh 16:14:07 + git log --format=format:%s -1 abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] echo 16:14:07 ========================================================= 16:14:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:14:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:07 + git log --format=format:%s -1 abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] echo 16:14:07 [semverPrep] GIT_COMMIT: abc21ca26102b759b02d11fb71eec9f0d2267cdf, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1530) [Pipeline] echo 16:14:07 [semverPrep] This is not a build commit. [Pipeline] sh 16:14:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:14:07 + grep -v github /etc/ssh/ssh_known_hosts 16:14:07 + [ -e /tmp/ssh_known_hosts ] 16:14:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:14:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 16:14:07 sudo tee -a /etc/ssh/ssh_known_hosts 16:14:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:14:08 16:14:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:14:08 0.1.4: Pulling from edgex-devops/py-git-semver 16:14:08 b85a868b505f: Pulling fs layer 16:14:08 e2be974225ed: Pulling fs layer 16:14:08 339a4e72a1f5: Pulling fs layer 16:14:08 988bab9f4d93: Pulling fs layer 16:14:08 1469e6f7b9e6: Pulling fs layer 16:14:08 eaf3925da568: Pulling fs layer 16:14:08 bab4dde63d76: Pulling fs layer 16:14:08 bde34c3a00c8: Pulling fs layer 16:14:08 b352a97aabf1: Pulling fs layer 16:14:08 4872d77fe225: Pulling fs layer 16:14:08 5851b861e8e6: Pulling fs layer 16:14:08 bab4dde63d76: Waiting 16:14:08 988bab9f4d93: Waiting 16:14:08 1469e6f7b9e6: Waiting 16:14:08 bde34c3a00c8: Waiting 16:14:08 eaf3925da568: Waiting 16:14:08 b352a97aabf1: Waiting 16:14:08 4872d77fe225: Waiting 16:14:08 5851b861e8e6: Waiting 16:14:08 e2be974225ed: Verifying Checksum 16:14:08 e2be974225ed: Download complete 16:14:08 988bab9f4d93: Download complete 16:14:08 1469e6f7b9e6: Verifying Checksum 16:14:08 1469e6f7b9e6: Download complete 16:14:08 339a4e72a1f5: Verifying Checksum 16:14:08 339a4e72a1f5: Download complete 16:14:08 eaf3925da568: Verifying Checksum 16:14:08 eaf3925da568: Download complete 16:14:08 bde34c3a00c8: Download complete 16:14:08 b352a97aabf1: Verifying Checksum 16:14:08 b352a97aabf1: Download complete 16:14:08 4872d77fe225: Verifying Checksum 16:14:08 4872d77fe225: Download complete 16:14:08 5851b861e8e6: Verifying Checksum 16:14:08 5851b861e8e6: Download complete 16:14:08 b85a868b505f: Download complete 16:14:08 bab4dde63d76: Verifying Checksum 16:14:08 bab4dde63d76: Download complete 16:14:10 b85a868b505f: Pull complete 16:14:10 e2be974225ed: Pull complete 16:14:10 339a4e72a1f5: Pull complete 16:14:10 988bab9f4d93: Pull complete 16:14:11 1469e6f7b9e6: Pull complete 16:14:11 eaf3925da568: Pull complete 16:14:13 bab4dde63d76: Pull complete 16:14:13 bde34c3a00c8: Pull complete 16:14:13 b352a97aabf1: Pull complete 16:14:13 4872d77fe225: Pull complete 16:14:13 5851b861e8e6: Pull complete 16:14:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:14:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:14:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:14:13 prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container 16:14:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:14:19 $ docker top 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca -eo pid,comm 16:14:20 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). 16:14:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:14:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:20 [ssh-agent] Looking for ssh-agent implementation... 16:14:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:20 $ docker exec 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca ssh-agent 16:14:20 SSH_AUTH_SOCK=/tmp/ssh-jTCAHilnGQVM/agent.32 16:14:20 SSH_AGENT_PID=38 16:14:20 Running ssh-add (command line suppressed) 16:14:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5649053875550002969.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5649053875550002969.key) 16:14:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:20 + git tag --points-at HEAD [Pipeline] } 16:14:20 $ docker exec --env ******** --env ******** 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca ssh-agent -k 16:14:20 unset SSH_AUTH_SOCK; 16:14:20 unset SSH_AGENT_PID; 16:14:20 echo Agent pid 38 killed; 16:14:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:14:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:14:20 [ssh-agent] Looking for ssh-agent implementation... 16:14:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:14:21 $ docker exec 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca ssh-agent 16:14:21 SSH_AUTH_SOCK=/tmp/ssh-QYYFs5GtKXIQ/agent.70 16:14:21 SSH_AGENT_PID=76 16:14:21 Running ssh-add (command line suppressed) 16:14:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16335537029548099068.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16335537029548099068.key) 16:14:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:21 + git semver init 16:14:21 2023-10-26 16:14:21,749 [run_init] DEBUG init version:0.0.0 force:False 16:14:21 2023-10-26 16:14:21,749 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:14:21 2023-10-26 16:14:21,750 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:14:21 2023-10-26 16:14:21,750 [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) 16:14:23 2023-10-26 16:14:22,986 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 16:14:23 2023-10-26 16:14:22,987 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 16:14:23 2023-10-26 16:14:22,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:14:23 2023-10-26 16:14:22,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:14:23 3.1.0-dev.37 [Pipeline] } 16:14:23 $ docker exec --env ******** --env ******** 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca ssh-agent -k 16:14:23 unset SSH_AUTH_SOCK; 16:14:23 unset SSH_AGENT_PID; 16:14:23 echo Agent pid 76 killed; 16:14:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:14:23 + git semver [Pipeline] } 16:14:23 $ docker stop --time=1 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca 16:14:25 $ docker rm -f --volumes 13a7f0223b6f4af8bf37f6d0ac64c8280e4c11a1140bc77102d9b09dadccddca [Pipeline] // withDockerContainer [Pipeline] sh 16:14:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:14:25 Stashed 1 file(s) [Pipeline] echo 16:14:25 [edgeXSemver]: initialized semver on version 3.1.0-dev.37 [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 16:14:25 provisioning config files... 16:14:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12314613400379282024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:26 ---> docker-login.sh 16:14:26 nexus3.edgexfoundry.org:10001 16:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:26 Configure a credential helper to remove this warning. See 16:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:26 16:14:26 Login Succeeded 16:14:26 nexus3.edgexfoundry.org:10002 16:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:26 Configure a credential helper to remove this warning. See 16:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:26 16:14:26 Login Succeeded 16:14:26 nexus3.edgexfoundry.org:10003 16:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:26 Configure a credential helper to remove this warning. See 16:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:26 16:14:26 Login Succeeded 16:14:26 nexus3.edgexfoundry.org:10004 16:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:26 Configure a credential helper to remove this warning. See 16:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:26 16:14:26 Login Succeeded 16:14:26 docker.io 16:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:26 Configure a credential helper to remove this warning. See 16:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:26 16:14:26 Login Succeeded 16:14:26 ---> docker-login.sh ends [Pipeline] } 16:14:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:14:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:26 ========================================================= 16:14:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 16:14:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:27 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 16:14:27 Sending build context to Docker daemon 11.24MB 16:14:27 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 16:14:27 Step 2/10 : FROM ${BASE} AS builder 16:14:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 16:14:27 7264a8db6415: Pulling fs layer 16:14:27 c4d48a809fc2: Pulling fs layer 16:14:27 4f1c88b9dad5: Pulling fs layer 16:14:27 ad3a456e5733: Pulling fs layer 16:14:27 33e27b845d1e: Pulling fs layer 16:14:27 c68163c4e522: Pulling fs layer 16:14:27 50da416c3ac9: Pulling fs layer 16:14:27 23d2d4c4bb30: Pulling fs layer 16:14:27 50da416c3ac9: Waiting 16:14:27 c68163c4e522: Waiting 16:14:27 ad3a456e5733: Waiting 16:14:27 23d2d4c4bb30: Waiting 16:14:27 33e27b845d1e: Waiting 16:14:27 c4d48a809fc2: Download complete 16:14:27 ad3a456e5733: Verifying Checksum 16:14:27 ad3a456e5733: Download complete 16:14:27 33e27b845d1e: Verifying Checksum 16:14:27 33e27b845d1e: Download complete 16:14:27 7264a8db6415: Verifying Checksum 16:14:27 7264a8db6415: Download complete 16:14:27 c68163c4e522: Verifying Checksum 16:14:27 c68163c4e522: Download complete 16:14:27 7264a8db6415: Pull complete 16:14:27 23d2d4c4bb30: Download complete 16:14:27 c4d48a809fc2: Pull complete 16:14:27 4f1c88b9dad5: Verifying Checksum 16:14:27 4f1c88b9dad5: Download complete 16:14:28 50da416c3ac9: Verifying Checksum 16:14:28 50da416c3ac9: Download complete 16:14:31 4f1c88b9dad5: Pull complete 16:14:31 ad3a456e5733: Pull complete 16:14:31 33e27b845d1e: Pull complete 16:14:31 c68163c4e522: Pull complete 16:14:34 50da416c3ac9: Pull complete 16:14:35 23d2d4c4bb30: Pull complete 16:14:35 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 16:14:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 16:14:35 ---> 0786185ac409 16:14:35 Step 3/10 : ARG MAKE=make build 16:14:40 Still waiting to schedule task 16:14:40 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:14:47 ---> Running in 0d6fc1088780 16:14:47 Removing intermediate container 0d6fc1088780 16:14:47 ---> d22ec0912066 16:14:47 Step 4/10 : WORKDIR /device-sdk-go 16:14:47 ---> Running in da8e2418f8f9 16:14:47 Removing intermediate container da8e2418f8f9 16:14:47 ---> 015ba1abcb96 16:14:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:14:47 ---> Running in cab77bedc8bc 16:14:47 Removing intermediate container cab77bedc8bc 16:14:47 ---> 2f88846914b2 16:14:47 Step 6/10 : RUN apk add --update --no-cache make git 16:14:47 ---> Running in 8b5049517def 16:14:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:14:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:14:47 OK: 264 MiB in 52 packages 16:14:47 Removing intermediate container 8b5049517def 16:14:47 ---> f3b767793bfa 16:14:47 Step 7/10 : COPY go.mod vendor* ./ 16:14:47 ---> 59483b62da03 16:14:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:14:47 ---> Running in c03a887eb8e0 16:16:09 Removing intermediate container c03a887eb8e0 16:16:09 ---> 7dcbee3e4b8a 16:16:09 Step 9/10 : COPY . . 16:16:09 ---> c62851c0e240 16:16:09 Step 10/10 : RUN ${MAKE} 16:16:09 ---> Running in 4fde951c8bf1 16:16:09 noop 16:16:09 Removing intermediate container 4fde951c8bf1 16:16:09 ---> d71d7b8ccfc5 16:16:09 Successfully built d71d7b8ccfc5 16:16:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:09 + docker inspect -f . ci-base-image-x86_64 16:16:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:09 prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container 16:16:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:16:09 $ docker top 18a78b06d230881d27bf49d5c9423f8c852415c4870525c394ca2fea60b70a20 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:10 + go version 16:16:10 go version go1.21.0 linux/amd64 [Pipeline] } 16:16:10 $ docker stop --time=1 18a78b06d230881d27bf49d5c9423f8c852415c4870525c394ca2fea60b70a20 16:16:11 $ docker rm -f --volumes 18a78b06d230881d27bf49d5c9423f8c852415c4870525c394ca2fea60b70a20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:11 + docker inspect -f . ci-base-image-x86_64 16:16:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:11 prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container 16:16:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:16:12 $ docker top 4687c672ff4e6d90154bb8037e500beecbbe701fd61b3cc84f553df864c54f9c -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:12 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 16:16:12 + make test 16:16:12 go test -race -coverprofile=coverage.out ./... 16:16:21 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:16:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:16:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:16:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:16:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:16:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:16:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:16:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:16:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:16:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements 16:16:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.064s coverage: 81.5% of statements 16:16:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.072s coverage: 86.0% of statements 16:16:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.074s coverage: 71.8% of statements 16:16:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:16:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:16:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:16:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.060s coverage: 14.4% of statements 16:16:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.984s coverage: 45.9% of statements 16:16:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.066s coverage: 68.5% of statements 16:16:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.101s coverage: 89.2% of statements 16:16:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.054s coverage: 5.5% of statements 16:17:05 GO111MODULE=on go vet ./... 16:17:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:17:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:17:05 ./bin/test-attribution-txt.sh [Pipeline] echo 16:17:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:17:06 $ docker stop --time=1 4687c672ff4e6d90154bb8037e500beecbbe701fd61b3cc84f553df864c54f9c 16:17:12 $ docker rm -f --volumes 4687c672ff4e6d90154bb8037e500beecbbe701fd61b3cc84f553df864c54f9c [Pipeline] // withDockerContainer [Pipeline] sh 16:17:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:17:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:17:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:17:14 + ls -al . 16:17:14 total 304 16:17:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 16:16 . 16:17:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:14 .. 16:17:14 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 16:14 .dockerignore 16:17:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 16:16 .git 16:17:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:14 .github 16:17:14 -rw-rw-r-- 1 jenkins jenkins 137 Oct 26 16:14 .gitignore 16:17:14 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 16:14 .golangci.yml 16:17:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:14 .semver 16:17:14 -rw-rw-r-- 1 jenkins jenkins 44878 Oct 26 16:14 CHANGELOG.md 16:17:14 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 16:14 GOVERNANCE.md 16:17:14 -rw-rw-r-- 1 jenkins jenkins 885 Oct 26 16:14 Jenkinsfile 16:17:14 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 16:14 LICENSE 16:17:14 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 26 16:14 Makefile 16:17:14 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 16:14 OWNERS.md 16:17:14 -rw-rw-r-- 1 jenkins jenkins 4933 Oct 26 16:14 README.md 16:17:14 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 16:14 VERSION 16:17:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:14 bin 16:17:14 -rw-r--r-- 1 jenkins jenkins 122153 Oct 26 16:16 coverage.out 16:17:14 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 16:14 example 16:17:14 -rw-rw-r-- 1 jenkins jenkins 3723 Oct 26 16:14 go.mod 16:17:14 -rw-rw-r-- 1 jenkins jenkins 34277 Oct 26 16:14 go.sum 16:17:14 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 16:14 internal 16:17:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:14 openapi 16:17:14 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 16:14 pkg 16:17:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:14 snap 16:17:14 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 16:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:14 + 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=abc21ca26102b759b02d11fb71eec9f0d2267cdf --label arch=amd64 --label version=3.1.0-dev.37 . 16:17:14 Sending build context to Docker daemon 11.36MB 16:17:14 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 16:17:14 Step 2/23 : FROM ${BASE} AS builder 16:17:14 ---> d71d7b8ccfc5 16:17:14 Step 3/23 : ARG MAKE=make build 16:17:15 ---> Running in 0d37d4f9818d 16:17:15 Removing intermediate container 0d37d4f9818d 16:17:15 ---> 6ed44e7d3572 16:17:15 Step 4/23 : WORKDIR /device-sdk-go 16:17:15 ---> Running in 649f154fa6ca 16:17:15 Removing intermediate container 649f154fa6ca 16:17:15 ---> cbd8b78bab0d 16:17:15 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:17:15 ---> Running in 8df1bec70f05 16:17:15 Removing intermediate container 8df1bec70f05 16:17:15 ---> a76c769c4ff8 16:17:15 Step 6/23 : RUN apk add --update --no-cache make git 16:17:15 ---> Running in e0ff4bd51909 16:17:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:17:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:17:16 OK: 264 MiB in 52 packages 16:17:16 Removing intermediate container e0ff4bd51909 16:17:16 ---> 3490a36ab9e2 16:17:16 Step 7/23 : COPY go.mod vendor* ./ 16:17:16 ---> 1741e39de62d 16:17:16 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:17:16 ---> Running in 7f948eca6b59 16:17:17 Removing intermediate container 7f948eca6b59 16:17:17 ---> 22153be3341c 16:17:17 Step 9/23 : COPY . . 16:17:17 ---> 7ad0a95c731c 16:17:17 Step 10/23 : RUN ${MAKE} 16:17:17 ---> Running in 098386db03b6 16:17:17 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.37 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.37" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:17:40 Removing intermediate container 098386db03b6 16:17:40 ---> fbd6bfbf10ad 16:17:40 Step 11/23 : FROM alpine:3.18 16:17:40 3.18: Pulling from library/alpine 16:17:40 96526aa774ef: Pulling fs layer 16:17:40 96526aa774ef: Verifying Checksum 16:17:40 96526aa774ef: Download complete 16:17:40 96526aa774ef: Pull complete 16:17:40 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 16:17:40 Status: Downloaded newer image for alpine:3.18 16:17:40 ---> 8ca4688f4f35 16:17:40 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:17:40 ---> Running in 4853c029c268 16:17:40 Removing intermediate container 4853c029c268 16:17:40 ---> 8ebbecd93ef3 16:17:40 Step 13/23 : RUN apk add --update --no-cache 16:17:40 ---> Running in d163f5128e5b 16:17:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:17:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:17:40 OK: 7 MiB in 15 packages 16:17:40 Removing intermediate container d163f5128e5b 16:17:40 ---> 0dba83e7156a 16:17:40 Step 14/23 : WORKDIR / 16:17:40 ---> Running in a6e4612bf5f8 16:17:40 Removing intermediate container a6e4612bf5f8 16:17:40 ---> 94323b7e5ac4 16:17:40 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:17:41 ---> 81f728c1a011 16:17:41 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:17:42 ---> dbe4e05e5169 16:17:42 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:17:42 ---> 829e071702f3 16:17:42 Step 18/23 : EXPOSE 59999 16:17:42 ---> Running in df321dc7bf82 16:17:42 Removing intermediate container df321dc7bf82 16:17:42 ---> 696e9a730d94 16:17:42 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:17:42 ---> Running in 552062b59147 16:17:42 Removing intermediate container 552062b59147 16:17:42 ---> cc454c6ec828 16:17:42 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:17:42 ---> Running in 0e37dee1d2f8 16:17:42 Removing intermediate container 0e37dee1d2f8 16:17:42 ---> 8cfb9e161cc0 16:17:42 Step 21/23 : LABEL arch=amd64 16:17:42 ---> Running in c124964d0fea 16:17:42 Removing intermediate container c124964d0fea 16:17:42 ---> 227bca1497fc 16:17:42 Step 22/23 : LABEL git_sha=abc21ca26102b759b02d11fb71eec9f0d2267cdf 16:17:42 ---> Running in 5cf9da7325ed 16:17:42 Removing intermediate container 5cf9da7325ed 16:17:42 ---> d76ccd994d54 16:17:42 Step 23/23 : LABEL version=3.1.0-dev.37 16:17:42 ---> Running in 057cf59a24b0 16:17:42 Removing intermediate container 057cf59a24b0 16:17:42 ---> 2625b44f7d4a 16:17:42 [Warning] One or more build-args [ARCH] were not consumed 16:17:43 Successfully built 2625b44f7d4a 16:17:43 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 16:17:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:43 16:17:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:43 latest: Pulling from edgex-lftools-log-publisher 16:17:43 5eb5b503b376: Pulling fs layer 16:17:43 5c69ac0246d0: Pulling fs layer 16:17:43 ec43610c2a17: Pulling fs layer 16:17:43 3a2ae6a8a46f: Pulling fs layer 16:17:43 33b1e0a273af: Pulling fs layer 16:17:43 5d3b04190fa2: Pulling fs layer 16:17:43 2f39f015ded8: Pulling fs layer 16:17:43 33b1e0a273af: Waiting 16:17:43 2f39f015ded8: Waiting 16:17:43 5d3b04190fa2: Waiting 16:17:43 3a2ae6a8a46f: Waiting 16:17:43 5c69ac0246d0: Verifying Checksum 16:17:43 5c69ac0246d0: Download complete 16:17:43 3a2ae6a8a46f: Verifying Checksum 16:17:43 3a2ae6a8a46f: Download complete 16:17:43 33b1e0a273af: Verifying Checksum 16:17:43 33b1e0a273af: Download complete 16:17:43 5d3b04190fa2: Verifying Checksum 16:17:43 5d3b04190fa2: Download complete 16:17:43 ec43610c2a17: Verifying Checksum 16:17:43 ec43610c2a17: Download complete 16:17:43 5eb5b503b376: Download complete 16:17:44 2f39f015ded8: Download complete 16:17:45 5eb5b503b376: Pull complete 16:17:45 5c69ac0246d0: Pull complete 16:17:46 ec43610c2a17: Pull complete 16:17:46 3a2ae6a8a46f: Pull complete 16:17:46 33b1e0a273af: Pull complete 16:17:46 5d3b04190fa2: Pull complete 16:17:51 2f39f015ded8: Pull complete 16:17:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:17:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:52 prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container 16:17:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:18:06 $ docker top a6eb563324c1ef9e95e06d41d3a4a0b05c5b1a37b68d2cb42572a594dea86183 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:18:06 ---> job-cost.sh 16:18:06 lf-activate-venv: SKIPPING 16:18:06 INFO: No Stack... 16:18:06 INFO: Retrieving Pricing Info for: v3-standard-8 16:18:06 INFO: Archiving Costs [Pipeline] sh 16:18:07 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 16:18:07 + cut -d, -f6 [Pipeline] lock 16:18:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] 16:18:07 Resource [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] did not exist. Created. 16:18:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:18:07 + echo total: 0.2199999988079071 [Pipeline] stash 16:18:07 Stashed 1 file(s) [Pipeline] } 16:18:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] [Pipeline] // lock [Pipeline] } 16:18:07 $ docker stop --time=1 a6eb563324c1ef9e95e06d41d3a4a0b05c5b1a37b68d2cb42572a594dea86183 16:18:08 $ docker rm -f --volumes a6eb563324c1ef9e95e06d41d3a4a0b05c5b1a37b68d2cb42572a594dea86183 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:19:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11960 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 16:19:41 Running in /w/workspace/device-sdk-go/266 [Pipeline] { [Pipeline] checkout 16:19:42 The recommended git tool is: git 16:19:48 using credential edgex-jenkins-ssh 16:19:48 Cloning the remote Git repository 16:19:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:19:48 > git init /w/workspace/device-sdk-go/266 # timeout=10 16:19:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:19:48 > git --version # timeout=10 16:19:48 > git --version # 'git version 2.25.1' 16:19:48 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:19:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:51 Avoid second fetch 16:19:51 Checking out Revision abc21ca26102b759b02d11fb71eec9f0d2267cdf (main) 16:19:51 > git config core.sparsecheckout # timeout=10 16:19:51 > git checkout -f abc21ca26102b759b02d11fb71eec9f0d2267cdf # timeout=10 16:19:52 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1530)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:19:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:19:54 % Total % Received % Xferd Average Speed Time Time Time Current 16:19:54 Dload Upload Total Spent Left Speed 16:19:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 16:19:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:19:55 + sudo tee /etc/docker/daemon.new 16:19:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:19:55 { 16:19:55 "registry-mirrors": [ 16:19:55 "https://nexus3.edgexfoundry.org:10001" 16:19:55 ], 16:19:55 "bip": "10.250.0.254/24", 16:19:55 "hosts": [ 16:19:55 "tcp://0.0.0.0:5555", 16:19:55 "unix:///var/run/docker.sock" 16:19:55 ], 16:19:55 "mtu": 1458, 16:19:55 "selinux-enabled": true, 16:19:55 "seccomp-profile": "/etc/docker/seccomp.json" 16:19:55 } [Pipeline] sh 16:19:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:19:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:14 provisioning config files... 16:20:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/266@tmp/config4800435307195201649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:14 ---> docker-login.sh 16:20:14 nexus3.edgexfoundry.org:10001 16:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:15 Configure a credential helper to remove this warning. See 16:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:15 16:20:15 Login Succeeded 16:20:15 nexus3.edgexfoundry.org:10002 16:20:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:15 Configure a credential helper to remove this warning. See 16:20:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:15 16:20:15 Login Succeeded 16:20:15 nexus3.edgexfoundry.org:10003 16:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:16 Configure a credential helper to remove this warning. See 16:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:16 16:20:16 Login Succeeded 16:20:16 nexus3.edgexfoundry.org:10004 16:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:16 Configure a credential helper to remove this warning. See 16:20:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:16 16:20:16 Login Succeeded 16:20:16 docker.io 16:20:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:17 Configure a credential helper to remove this warning. See 16:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:17 16:20:17 Login Succeeded 16:20:17 ---> docker-login.sh ends [Pipeline] } 16:20:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:20:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:17 ========================================================= 16:20:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 16:20:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:17 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 16:20:18 Sending build context to Docker daemon 6.011MB 16:20:18 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 16:20:18 Step 2/10 : FROM ${BASE} AS builder 16:20:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:20:18 9fda8d8052c6: Pulling fs layer 16:20:18 5d54e960e981: Pulling fs layer 16:20:18 c4a7e357bf2a: Pulling fs layer 16:20:18 f0e02332f6b5: Pulling fs layer 16:20:18 cefa15bbcfad: Pulling fs layer 16:20:18 17808c966233: Pulling fs layer 16:20:18 f4c1fc716caa: Pulling fs layer 16:20:18 f0e02332f6b5: Waiting 16:20:18 cefa15bbcfad: Waiting 16:20:18 17808c966233: Waiting 16:20:18 f4c1fc716caa: Waiting 16:20:18 5d54e960e981: Verifying Checksum 16:20:18 5d54e960e981: Download complete 16:20:18 f0e02332f6b5: Download complete 16:20:18 cefa15bbcfad: Verifying Checksum 16:20:18 cefa15bbcfad: Download complete 16:20:18 9fda8d8052c6: Download complete 16:20:19 f4c1fc716caa: Verifying Checksum 16:20:19 f4c1fc716caa: Download complete 16:20:19 9fda8d8052c6: Pull complete 16:20:20 5d54e960e981: Pull complete 16:20:20 c4a7e357bf2a: Verifying Checksum 16:20:20 c4a7e357bf2a: Download complete 16:20:21 17808c966233: Verifying Checksum 16:20:21 17808c966233: Download complete 16:20:33 c4a7e357bf2a: Pull complete 16:20:33 f0e02332f6b5: Pull complete 16:20:34 cefa15bbcfad: Pull complete 16:20:42 17808c966233: Pull complete 16:20:44 f4c1fc716caa: Pull complete 16:20:44 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 16:20:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 16:20:44 ---> ea914061e18c 16:20:44 Step 3/10 : ARG MAKE=make build 16:20:47 ---> Running in 312653c15d88 16:20:47 Removing intermediate container 312653c15d88 16:20:47 ---> 0db25d8f64be 16:20:47 Step 4/10 : WORKDIR /device-sdk-go 16:20:47 ---> Running in 12871a5cc789 16:20:47 Removing intermediate container 12871a5cc789 16:20:47 ---> 6742a74c1a32 16:20:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:20:47 ---> Running in 2037abe0ce29 16:20:47 Removing intermediate container 2037abe0ce29 16:20:47 ---> 8884d2b40aad 16:20:47 Step 6/10 : RUN apk add --update --no-cache make git 16:20:47 ---> Running in 5f917b26da13 16:20:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:20:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:20:51 OK: 266 MiB in 52 packages 16:20:52 Removing intermediate container 5f917b26da13 16:20:52 ---> 5bdd14e6756d 16:20:52 Step 7/10 : COPY go.mod vendor* ./ 16:20:53 ---> 396264f5e186 16:20:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:53 ---> Running in 9251ef96aeeb 16:22:30 Removing intermediate container 9251ef96aeeb 16:22:30 ---> d7f19296f8c7 16:22:30 Step 9/10 : COPY . . 16:22:30 ---> 1510724d82d2 16:22:30 Step 10/10 : RUN ${MAKE} 16:22:30 ---> Running in c4d8ab34e67d 16:22:30 noop 16:22:30 Removing intermediate container c4d8ab34e67d 16:22:30 ---> fda9c1801ec1 16:22:30 Successfully built fda9c1801ec1 16:22:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:30 + docker inspect -f . ci-base-image-arm64 16:22:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:30 prd-ubuntu20.04-docker-arm64-4c-16g-11960 does not seem to be running inside a container 16:22:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/266 -v /w/workspace/device-sdk-go/266:/w/workspace/device-sdk-go/266:rw,z -v /w/workspace/device-sdk-go/266@tmp:/w/workspace/device-sdk-go/266@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 16:22:32 $ docker top 8b1c089a37dbe2f5390fca87aa374f0bc300a2e73f24ac996b7b8e149114ad07 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:33 + go version 16:22:33 go version go1.21.0 linux/arm64 [Pipeline] } 16:22:33 $ docker stop --time=1 8b1c089a37dbe2f5390fca87aa374f0bc300a2e73f24ac996b7b8e149114ad07 16:22:34 $ docker rm -f --volumes 8b1c089a37dbe2f5390fca87aa374f0bc300a2e73f24ac996b7b8e149114ad07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:35 + docker inspect -f . ci-base-image-arm64 16:22:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:35 prd-ubuntu20.04-docker-arm64-4c-16g-11960 does not seem to be running inside a container 16:22:35 $ 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/266 -v /w/workspace/device-sdk-go/266:/w/workspace/device-sdk-go/266:rw,z -v /w/workspace/device-sdk-go/266@tmp:/w/workspace/device-sdk-go/266@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 16:22:37 $ docker top 82bd86addd65830a95728aa2a85cde5f984ae6e51a1de5592d68eff1c201f4ce -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:37 + git config --global --add safe.directory /w/workspace/device-sdk-go/266 [Pipeline] fileExists [Pipeline] sh 16:22:38 + make test 16:22:38 go test -race -coverprofile=coverage.out ./... 16:23:17 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:25:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:25:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:25:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:25:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:25:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:25:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.314s coverage: 27.6% of statements 16:25:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.273s coverage: 81.5% of statements 16:26:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:26:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:26:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.435s coverage: 86.0% of statements 16:26:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:26:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.425s coverage: 71.8% of statements 16:26:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.265s coverage: 14.4% of statements 16:26:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.870s coverage: 45.9% of statements 16:26:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:26:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:26:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.466s coverage: 68.5% of statements 16:26:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.562s coverage: 89.2% of statements 16:26:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:26:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.251s coverage: 5.5% of statements 16:26:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:26:26 GO111MODULE=on go vet ./... 16:28:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:28:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:28:33 ./bin/test-attribution-txt.sh [Pipeline] echo 16:28:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:28:33 $ docker stop --time=1 82bd86addd65830a95728aa2a85cde5f984ae6e51a1de5592d68eff1c201f4ce 16:28:35 $ docker rm -f --volumes 82bd86addd65830a95728aa2a85cde5f984ae6e51a1de5592d68eff1c201f4ce [Pipeline] // withDockerContainer [Pipeline] sh 16:28:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:28:37 Warning: overwriting stash ‘coverage-report’ 16:28:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:28:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:28:38 + ls -al . 16:28:38 total 300 16:28:38 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 16:22 . 16:28:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:19 .. 16:28:38 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 16:19 .dockerignore 16:28:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 16:19 .git 16:28:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:19 .github 16:28:38 -rw-rw-r-- 1 jenkins jenkins 137 Oct 26 16:19 .gitignore 16:28:38 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 16:19 .golangci.yml 16:28:38 -rw-rw-r-- 1 jenkins jenkins 44878 Oct 26 16:19 CHANGELOG.md 16:28:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 16:19 GOVERNANCE.md 16:28:38 -rw-rw-r-- 1 jenkins jenkins 885 Oct 26 16:19 Jenkinsfile 16:28:38 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 16:19 LICENSE 16:28:38 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 26 16:19 Makefile 16:28:38 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 16:19 OWNERS.md 16:28:38 -rw-rw-r-- 1 jenkins jenkins 4933 Oct 26 16:19 README.md 16:28:38 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 16:14 VERSION 16:28:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:19 bin 16:28:38 -rw-r--r-- 1 jenkins jenkins 122155 Oct 26 16:26 coverage.out 16:28:38 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 16:19 example 16:28:38 -rw-rw-r-- 1 jenkins jenkins 3723 Oct 26 16:19 go.mod 16:28:38 -rw-rw-r-- 1 jenkins jenkins 34277 Oct 26 16:19 go.sum 16:28:38 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 16:19 internal 16:28:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:19 openapi 16:28:38 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 16:19 pkg 16:28:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:19 snap 16:28:38 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 16:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:39 + 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=abc21ca26102b759b02d11fb71eec9f0d2267cdf --label arch=arm64 --label version=3.1.0-dev.37 . 16:28:39 Sending build context to Docker daemon 6.134MB 16:28:39 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 16:28:39 Step 2/23 : FROM ${BASE} AS builder 16:28:39 ---> fda9c1801ec1 16:28:39 Step 3/23 : ARG MAKE=make build 16:28:39 ---> Running in 542808d167ca 16:28:40 Removing intermediate container 542808d167ca 16:28:40 ---> 3084c4fdf934 16:28:40 Step 4/23 : WORKDIR /device-sdk-go 16:28:40 ---> Running in 2ed63974f6fd 16:28:40 Removing intermediate container 2ed63974f6fd 16:28:40 ---> 1b6c99356e4e 16:28:40 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:28:40 ---> Running in cb54057fd685 16:28:41 Removing intermediate container cb54057fd685 16:28:41 ---> b4b35de31649 16:28:41 Step 6/23 : RUN apk add --update --no-cache make git 16:28:41 ---> Running in c6700ff3d375 16:28:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:28:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:28:44 OK: 266 MiB in 52 packages 16:28:44 Removing intermediate container c6700ff3d375 16:28:44 ---> 315b7c95a132 16:28:44 Step 7/23 : COPY go.mod vendor* ./ 16:28:45 ---> ab380c27fea4 16:28:45 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:28:45 ---> Running in eea072925d4f 16:28:48 Removing intermediate container eea072925d4f 16:28:48 ---> 87ed242228ab 16:28:48 Step 9/23 : COPY . . 16:28:49 ---> db2ff926362e 16:28:49 Step 10/23 : RUN ${MAKE} 16:28:49 ---> Running in 5f39ccc2959b 16:28:50 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.37 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.37" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:30:57 Removing intermediate container 5f39ccc2959b 16:30:57 ---> 54fa46e3d949 16:30:57 Step 11/23 : FROM alpine:3.18 16:30:57 3.18: Pulling from library/alpine 16:30:57 579b34f0a95b: Pulling fs layer 16:30:57 579b34f0a95b: Download complete 16:30:57 579b34f0a95b: Pull complete 16:30:57 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 16:30:57 Status: Downloaded newer image for alpine:3.18 16:30:57 ---> 3cc203321400 16:30:57 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:30:57 ---> Running in c7bbfdc4b045 16:30:57 Removing intermediate container c7bbfdc4b045 16:30:57 ---> 439278b84dba 16:30:57 Step 13/23 : RUN apk add --update --no-cache 16:30:57 ---> Running in d1f10f1f1baf 16:30:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:30:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:30:57 OK: 8 MiB in 15 packages 16:30:57 Removing intermediate container d1f10f1f1baf 16:30:57 ---> 05e14598f507 16:30:57 Step 14/23 : WORKDIR / 16:30:57 ---> Running in 5b05c4cf78f3 16:30:57 Removing intermediate container 5b05c4cf78f3 16:30:57 ---> 192879cbed02 16:30:57 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:30:57 ---> 6eb470349278 16:30:57 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:30:57 ---> b8f98967cd65 16:30:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:30:57 ---> 429da468648f 16:30:57 Step 18/23 : EXPOSE 59999 16:30:57 ---> Running in ecbf536e88ec 16:30:57 Removing intermediate container ecbf536e88ec 16:30:57 ---> e0fedcc1caac 16:30:57 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:30:57 ---> Running in 39c9a5acad1c 16:30:57 Removing intermediate container 39c9a5acad1c 16:30:57 ---> 61c0cfff3145 16:30:57 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:30:57 ---> Running in bf4aeabe32d7 16:30:58 Removing intermediate container bf4aeabe32d7 16:30:58 ---> 19cce556102b 16:30:58 Step 21/23 : LABEL arch=arm64 16:30:58 ---> Running in a1bb369103d7 16:30:58 Removing intermediate container a1bb369103d7 16:30:58 ---> cd4f225b126c 16:30:58 Step 22/23 : LABEL git_sha=abc21ca26102b759b02d11fb71eec9f0d2267cdf 16:30:58 ---> Running in 6b674cad4558 16:30:58 Removing intermediate container 6b674cad4558 16:30:58 ---> b5fd27ca27dc 16:30:58 Step 23/23 : LABEL version=3.1.0-dev.37 16:30:58 ---> Running in 8286f624c3f4 16:30:59 Removing intermediate container 8286f624c3f4 16:30:59 ---> 69c2a2cd42a2 16:30:59 [Warning] One or more build-args [ARCH] were not consumed 16:30:59 Successfully built 69c2a2cd42a2 16:30:59 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 16:30:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:30:59 16:30:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:00 arm64: Pulling from edgex-lftools-log-publisher 16:31:00 8998bd30e6a1: Pulling fs layer 16:31:00 04944245beec: Pulling fs layer 16:31:00 699f458cf7ca: Pulling fs layer 16:31:00 765212b225bb: Pulling fs layer 16:31:00 f23df028b6ca: Pulling fs layer 16:31:00 d65c8cfc05b1: Pulling fs layer 16:31:00 2437ff75d9bd: Pulling fs layer 16:31:00 f23df028b6ca: Waiting 16:31:00 d65c8cfc05b1: Waiting 16:31:00 2437ff75d9bd: Waiting 16:31:00 765212b225bb: Waiting 16:31:00 04944245beec: Verifying Checksum 16:31:00 04944245beec: Download complete 16:31:00 765212b225bb: Verifying Checksum 16:31:00 765212b225bb: Download complete 16:31:00 f23df028b6ca: Verifying Checksum 16:31:00 f23df028b6ca: Download complete 16:31:00 d65c8cfc05b1: Verifying Checksum 16:31:00 d65c8cfc05b1: Download complete 16:31:00 699f458cf7ca: Verifying Checksum 16:31:00 699f458cf7ca: Download complete 16:31:01 8998bd30e6a1: Verifying Checksum 16:31:01 8998bd30e6a1: Download complete 16:31:04 2437ff75d9bd: Verifying Checksum 16:31:04 2437ff75d9bd: Download complete 16:31:08 8998bd30e6a1: Pull complete 16:31:08 04944245beec: Pull complete 16:31:10 699f458cf7ca: Pull complete 16:31:10 765212b225bb: Pull complete 16:31:11 f23df028b6ca: Pull complete 16:31:11 d65c8cfc05b1: Pull complete 16:31:29 2437ff75d9bd: Pull complete 16:31:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:31:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:29 prd-ubuntu20.04-docker-arm64-4c-16g-11960 does not seem to be running inside a container 16:31:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/266 -v /w/workspace/device-sdk-go/266:/w/workspace/device-sdk-go/266:rw,z -v /w/workspace/device-sdk-go/266@tmp:/w/workspace/device-sdk-go/266@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 16:31:36 $ docker top 2342705b2ff5c02095bf9f08d422a544348a3afde5c61eb3ce8bdfe16ad8669c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:31:37 ---> job-cost.sh 16:31:37 lf-activate-venv: SKIPPING 16:31:37 INFO: No Stack... 16:31:37 INFO: Retrieving Pricing Info for: v3-standard-4 16:31:38 INFO: Archiving Costs [Pipeline] sh 16:31:38 + cat /w/workspace/device-sdk-go/266/archives/cost.csv 16:31:38 + cut -d, -f6 [Pipeline] lock 16:31:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] 16:31:38 Resource [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] did not exist. Created. 16:31:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:31:39 /w/workspace/device-sdk-go/266@tmp/durable-b848198d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:31:40 + echo total: 0.10999999940395355 [Pipeline] stash 16:31:40 Warning: overwriting stash ‘stack-cost’ 16:31:40 Stashed 1 file(s) [Pipeline] } 16:31:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-266-stack-cost] [Pipeline] // lock [Pipeline] } 16:31:40 $ docker stop --time=1 2342705b2ff5c02095bf9f08d422a544348a3afde5c61eb3ce8bdfe16ad8669c 16:31:41 $ docker rm -f --volumes 2342705b2ff5c02095bf9f08d422a544348a3afde5c61eb3ce8bdfe16ad8669c [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 16:31:42 provisioning config files... 16:31:42 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3358819666717944222tmp [Pipeline] { [Pipeline] sh 16:31:42 + set +x 16:31:42 + curl -s https://codecov.io/bash 16:31:42 + bash -s -- 16:31:42 16:31:42 _____ _ 16:31:42 / ____| | | 16:31:42 | | ___ __| | ___ ___ _____ __ 16:31:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:31:42 | |___| (_) | (_| | __/ (_| (_) \ V / 16:31:42 \_____\___/ \__,_|\___|\___\___/ \_/ 16:31:42 Bash-1.0.6 16:31:42 16:31:42 16:31:42 ==> git version 2.25.1 found 16:31:42 ==> 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 16:31:42 Release-Date: 2020-01-08 16:31:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:31:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:31:42 ==> Jenkins CI detected. 16:31:42 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 16:31:42 project root: . 16:31:42 --> token set from env 16:31:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:31:42 ==> Running gcov in . (disable via -X gcov) 16:31:42 ==> Python coveragepy not found 16:31:42 ==> Searching for coverage reports in: 16:31:42 + . 16:31:42 -> Found 1 reports 16:31:42 ==> Detecting git/mercurial file structure 16:31:42 ==> Reading reports 16:31:42 + ./coverage.out bytes=122155 16:31:42 ==> Appending adjustments 16:31:42 https://docs.codecov.io/docs/fixing-reports 16:31:43 + Found adjustments 16:31:43 ==> Gzipping contents 16:31:43 20K /tmp/codecov.NAfHaI.gz 16:31:43 ==> Uploading reports 16:31:43 url: https://codecov.io 16:31:43 query: branch=main&commit=abc21ca26102b759b02d11fb71eec9f0d2267cdf&build=266&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F266%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:31:43 -> Pinging Codecov 16:31:43 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=abc21ca26102b759b02d11fb71eec9f0d2267cdf&build=266&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F266%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:31:43 -> Uploading to 16:31:43 https://storage.googleapis.com/codecov/v4/raw/2023-10-26/7E55EF52A471D76F132DFD9A03CDDE97/abc21ca26102b759b02d11fb71eec9f0d2267cdf/56daffac-2896-4453-99ed-36067089f1ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231026T163143Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d05c40dbbd7d333e4e7d69e3f1c84fdf19e0988e243d477d9be95fe43ef5970 16:31:43 % Total % Received % Xferd Average Speed Time Time Time Current 16:31:43 Dload Upload Total Spent Left Speed 16:31:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 50902 --:--:-- --:--:-- --:--:-- 50748 100 16747 0 0 100 16747 0 50902 --:--:-- --:--:-- --:--:-- 50748 16:31:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] } 16:31:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:31:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:31:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:31:44 16:31:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:31:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:31:44 df9b9388f04a: Pulling fs layer 16:31:44 52dc419b0ee2: Pulling fs layer 16:31:44 25bc292e5bac: Pulling fs layer 16:31:44 114826534d7a: Pulling fs layer 16:31:44 4657fd5d0bcf: Pulling fs layer 16:31:44 6ad1cebc031e: Pulling fs layer 16:31:44 8a3aa393b2d8: Pulling fs layer 16:31:44 114826534d7a: Waiting 16:31:44 4657fd5d0bcf: Waiting 16:31:44 6ad1cebc031e: Waiting 16:31:44 8a3aa393b2d8: Waiting 16:31:44 25bc292e5bac: Verifying Checksum 16:31:44 25bc292e5bac: Download complete 16:31:44 52dc419b0ee2: Verifying Checksum 16:31:44 52dc419b0ee2: Download complete 16:31:44 4657fd5d0bcf: Download complete 16:31:44 df9b9388f04a: Download complete 16:31:44 6ad1cebc031e: Verifying Checksum 16:31:44 6ad1cebc031e: Download complete 16:31:44 df9b9388f04a: Pull complete 16:31:44 52dc419b0ee2: Pull complete 16:31:44 25bc292e5bac: Pull complete 16:31:45 114826534d7a: Verifying Checksum 16:31:45 114826534d7a: Download complete 16:31:45 8a3aa393b2d8: Verifying Checksum 16:31:45 8a3aa393b2d8: Download complete 16:31:49 114826534d7a: Pull complete 16:31:49 4657fd5d0bcf: Pull complete 16:31:49 6ad1cebc031e: Pull complete 16:31:51 8a3aa393b2d8: Pull complete 16:31:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:31:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:31:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:52 prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container 16:31:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:32:02 $ docker top 146eaa916cedd244bc5db7a644a23abd1bbfb4b2e9bd6ddb336615b189c29bf5 -eo pid,comm [Pipeline] { [Pipeline] echo 16:32:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 16:32:02 + set -o pipefail 16:32:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 16:32:09 16:32:09 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 16:32:09 16:32:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/8b72a797-53ea-4f6b-8bea-89f419415bd7 16:32:09 16:32:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:32:09 16:32:09 16:32:09 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:32:09 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:32:09 More details here: https://snyk.co/ue1NS [Pipeline] } 16:32:09 $ docker stop --time=1 146eaa916cedd244bc5db7a644a23abd1bbfb4b2e9bd6ddb336615b189c29bf5 16:32:15 $ docker rm -f --volumes 146eaa916cedd244bc5db7a644a23abd1bbfb4b2e9bd6ddb336615b189c29bf5 [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 16:32:16 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:16 provisioning config files... 16:32:16 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10276308842384578156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:16 --> edgex-publish-swagger.sh 16:32:16 === Publish openapi/v3 API === 16:32:16 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 16:32:16 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 16:32:16 % Total % Received % Xferd Average Speed Time Time Time Current 16:32:16 Dload Upload Total Spent Left Speed 16:32:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 42124 --:--:-- --:--:-- --:--:-- 42049 16:32:17 16:32:17 [Pipeline] } 16:32:17 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 16:32:17 + git log --format=format:%s -1 abc21ca26102b759b02d11fb71eec9f0d2267cdf [Pipeline] sh 16:32:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:32:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:32:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:18 prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container 16:32:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:32:18 $ docker top 812738db204bb8e5c4ada0896b4c4008786baeca777a080a44a482d7d5f08b8f -eo pid,comm 16:32:18 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). 16:32:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:18 [ssh-agent] Looking for ssh-agent implementation... 16:32:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:19 $ docker exec 812738db204bb8e5c4ada0896b4c4008786baeca777a080a44a482d7d5f08b8f ssh-agent 16:32:19 SSH_AUTH_SOCK=/tmp/ssh-jAoNIf3Dfaxr/agent.31 16:32:19 SSH_AGENT_PID=37 16:32:19 Running ssh-add (command line suppressed) 16:32:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13709570059717826918.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13709570059717826918.key) 16:32:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:19 + git semver tag 16:32:19 2023-10-26 16:32:19,864 [run_tag] DEBUG tag force:False 16:32:19 2023-10-26 16:32:19,864 [check_head_tag] DEBUG check head tag 16:32:19 2023-10-26 16:32:19,865 [execute] INFO git cat-file --batch-check 16:32:19 2023-10-26 16:32:19,865 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:32:19 2023-10-26 16:32:19,870 [execute] INFO git cat-file --batch 16:32:19 2023-10-26 16:32:19,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:32:19 2023-10-26 16:32:19,893 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:19 2023-10-26 16:32:19,893 [execute] INFO git tag -a v3.1.0-dev.37 -m v3.1.0-dev.37 16:32:19 2023-10-26 16:32:19,893 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.37', '-m', 'v3.1.0-dev.37'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:32:19 2023-10-26 16:32:19,899 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:19 3.1.0-dev.37 [Pipeline] } 16:32:20 $ docker exec --env ******** --env ******** 812738db204bb8e5c4ada0896b4c4008786baeca777a080a44a482d7d5f08b8f ssh-agent -k 16:32:20 unset SSH_AUTH_SOCK; 16:32:20 unset SSH_AGENT_PID; 16:32:20 echo Agent pid 37 killed; 16:32:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:20 + git semver [Pipeline] } 16:32:20 $ docker stop --time=1 812738db204bb8e5c4ada0896b4c4008786baeca777a080a44a482d7d5f08b8f 16:32:22 $ docker rm -f --volumes 812738db204bb8e5c4ada0896b4c4008786baeca777a080a44a482d7d5f08b8f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:32:22 16:32:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:32:22 0.23.1-centos7: Pulling from edgex-lftools 16:32:22 ab5ef0e58194: Pulling fs layer 16:32:22 9712f1f96733: Pulling fs layer 16:32:22 63f879dbbcfc: Pulling fs layer 16:32:22 0d9ebad4ef96: Pulling fs layer 16:32:22 e9a5061849ea: Pulling fs layer 16:32:22 d747dcd14b5f: Pulling fs layer 16:32:22 e9a5061849ea: Waiting 16:32:22 0d9ebad4ef96: Waiting 16:32:22 2de7ff778b66: Pulling fs layer 16:32:22 2de7ff778b66: Waiting 16:32:22 d747dcd14b5f: Waiting 16:32:22 9712f1f96733: Download complete 16:32:23 63f879dbbcfc: Verifying Checksum 16:32:23 63f879dbbcfc: Download complete 16:32:23 e9a5061849ea: Verifying Checksum 16:32:23 e9a5061849ea: Download complete 16:32:23 d747dcd14b5f: Verifying Checksum 16:32:23 d747dcd14b5f: Download complete 16:32:23 ab5ef0e58194: Verifying Checksum 16:32:23 ab5ef0e58194: Download complete 16:32:23 0d9ebad4ef96: Verifying Checksum 16:32:23 0d9ebad4ef96: Download complete 16:32:23 2de7ff778b66: Verifying Checksum 16:32:23 2de7ff778b66: Download complete 16:32:25 ab5ef0e58194: Pull complete 16:32:25 9712f1f96733: Pull complete 16:32:26 63f879dbbcfc: Pull complete 16:32:31 0d9ebad4ef96: Pull complete 16:32:31 e9a5061849ea: Pull complete 16:32:31 d747dcd14b5f: Pull complete 16:32:32 2de7ff778b66: Pull complete 16:32:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:32:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:32:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:32 prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container 16:32:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:32:45 $ docker top ad0dda9315643a19c20cd8a143ab6ed5f04ab0a5eba9ff035de5a9caa52d3b46 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:32:45 provisioning config files... 16:32:45 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15335029153207894143tmp 16:32:45 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7493664312365452477tmp 16:32:45 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11181426470589757005tmp [Pipeline] { [Pipeline] echo 16:32:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:32:45 ---> sigul-configuration.sh 16:32:45 gpg: directory `/root/.gnupg' created 16:32:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:32:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:32:45 gpg: keyring `/root/.gnupg/secring.gpg' created 16:32:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:32:45 gpg: CAST5 encrypted data 16:32:45 gpg: encrypted with 1 passphrase 16:32:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:32:45 + mkdir /home/jenkins 16:32:45 + mkdir /home/jenkins/sigul [Pipeline] sh 16:32:46 + 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 16:32:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:32:46 ---> sigul-install.sh 16:32:46 Sigul already installed; skipping installation. [Pipeline] sh 16:32:46 + git tag --list 16:32:46 0.7.1 16:32:46 delhi-tag 16:32:46 v1.0.0 16:32:46 v1.1.0 16:32:46 v1.1.1 16:32:46 v1.1.2 16:32:46 v1.2.0 16:32:46 v1.2.1 16:32:46 v1.2.2 16:32:46 v1.2.3 16:32:46 v1.3.0 16:32:46 v1.4.0 16:32:46 v2.0.0 16:32:46 v2.1.0 16:32:46 v2.1.1 16:32:46 v2.2.0 16:32:46 v2.3.0 16:32:46 v2.3.1 16:32:46 v3.0 16:32:46 v3.0.0 16:32:46 v3.0.1-dev.1 16:32:46 v3.1.0-dev.1 16:32:46 v3.1.0-dev.10 16:32:46 v3.1.0-dev.11 16:32:46 v3.1.0-dev.12 16:32:46 v3.1.0-dev.13 16:32:46 v3.1.0-dev.14 16:32:46 v3.1.0-dev.15 16:32:46 v3.1.0-dev.16 16:32:46 v3.1.0-dev.17 16:32:46 v3.1.0-dev.18 16:32:46 v3.1.0-dev.19 16:32:46 v3.1.0-dev.2 16:32:46 v3.1.0-dev.20 16:32:46 v3.1.0-dev.21 16:32:46 v3.1.0-dev.22 16:32:46 v3.1.0-dev.23 16:32:46 v3.1.0-dev.24 16:32:46 v3.1.0-dev.25 16:32:46 v3.1.0-dev.26 16:32:46 v3.1.0-dev.27 16:32:46 v3.1.0-dev.28 16:32:46 v3.1.0-dev.29 16:32:46 v3.1.0-dev.3 16:32:46 v3.1.0-dev.30 16:32:46 v3.1.0-dev.31 16:32:46 v3.1.0-dev.32 16:32:46 v3.1.0-dev.33 16:32:46 v3.1.0-dev.34 16:32:46 v3.1.0-dev.35 16:32:46 v3.1.0-dev.36 16:32:46 v3.1.0-dev.37 16:32:46 v3.1.0-dev.4 16:32:46 v3.1.0-dev.5 16:32:46 v3.1.0-dev.6 16:32:46 v3.1.0-dev.7 16:32:46 v3.1.0-dev.8 16:32:46 v3.1.0-dev.9 [Pipeline] sh 16:32:47 + lftools sign git-tag v3.1.0-dev.37 16:32:47 Signing Git tag with Sigul... 16:32:47 Signing v3.1.0-dev.37 [Pipeline] echo 16:32:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:32:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:32:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:32:48 $ docker stop --time=1 ad0dda9315643a19c20cd8a143ab6ed5f04ab0a5eba9ff035de5a9caa52d3b46 16:32:49 $ docker rm -f --volumes ad0dda9315643a19c20cd8a143ab6ed5f04ab0a5eba9ff035de5a9caa52d3b46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:32:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:32:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:32:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:50 prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container 16:32:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:32:50 $ docker top 57f16b2c3823d0761ae6fc3e73746b63fe9d9480c2c451d4a5650ca588eaeac6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:50 [ssh-agent] Looking for ssh-agent implementation... 16:32:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:50 $ docker exec 57f16b2c3823d0761ae6fc3e73746b63fe9d9480c2c451d4a5650ca588eaeac6 ssh-agent 16:32:51 SSH_AUTH_SOCK=/tmp/ssh-aj3jGjAszrKq/agent.32 16:32:51 SSH_AGENT_PID=38 16:32:51 Running ssh-add (command line suppressed) 16:32:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17106006943545493867.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17106006943545493867.key) 16:32:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:51 + git semver bump pre 16:32:51 2023-10-26 16:32:51,576 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:51 2023-10-26 16:32:51,576 [bump_version] DEBUG bumping version:3.1.0-dev.37 on axis:pre with prefix:dev 16:32:51 2023-10-26 16:32:51,576 [bump_version] DEBUG bumped version:3.1.0-dev.38 16:32:51 2023-10-26 16:32:51,576 [write_version] DEBUG write version:3.1.0-dev.38 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 16:32:51 2023-10-26 16:32:51,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:51 2023-10-26 16:32:51,577 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:51 2023-10-26 16:32:51,578 [execute] INFO git cat-file --batch-check 16:32:51 2023-10-26 16:32:51,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:32:51 2023-10-26 16:32:51,583 [execute] INFO git cat-file --batch 16:32:51 2023-10-26 16:32:51,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:32:51 2023-10-26 16:32:51,588 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:51 3.1.0-dev.38 [Pipeline] } 16:32:51 $ docker exec --env ******** --env ******** 57f16b2c3823d0761ae6fc3e73746b63fe9d9480c2c451d4a5650ca588eaeac6 ssh-agent -k 16:32:51 unset SSH_AUTH_SOCK; 16:32:51 unset SSH_AGENT_PID; 16:32:51 echo Agent pid 38 killed; 16:32:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:52 + git semver [Pipeline] } 16:32:52 $ docker stop --time=1 57f16b2c3823d0761ae6fc3e73746b63fe9d9480c2c451d4a5650ca588eaeac6 16:32:53 $ docker rm -f --volumes 57f16b2c3823d0761ae6fc3e73746b63fe9d9480c2c451d4a5650ca588eaeac6 [Pipeline] // withDockerContainer [Pipeline] sh 16:32:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:32:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:32:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:32:54 prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container 16:32:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:32:54 $ docker top 58bf37810209243bcdeb2b735597ba8c8ccf6e62c4ce7dfe1b1be8fcd9aee59c -eo pid,comm 16:32:54 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). 16:32:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:32:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:32:54 [ssh-agent] Looking for ssh-agent implementation... 16:32:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:32:54 $ docker exec 58bf37810209243bcdeb2b735597ba8c8ccf6e62c4ce7dfe1b1be8fcd9aee59c ssh-agent 16:32:55 SSH_AUTH_SOCK=/tmp/ssh-hqOB2iy878JZ/agent.32 16:32:55 SSH_AGENT_PID=38 16:32:55 Running ssh-add (command line suppressed) 16:32:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13164876538524778845.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13164876538524778845.key) 16:32:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:32:55 + git semver push 16:32:55 2023-10-26 16:32:55,663 [run_push] DEBUG push 16:32:55 2023-10-26 16:32:55,664 [execute] INFO git cat-file --batch-check 16:32:55 2023-10-26 16:32:55,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:32:55 2023-10-26 16:32:55,667 [execute] INFO git rev-list 31f048e99a412f84b68561509f2eda028ca10580 -- 16:32:55 2023-10-26 16:32:55,667 [execute] DEBUG Popen(['git', 'rev-list', '31f048e99a412f84b68561509f2eda028ca10580', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:32:55 2023-10-26 16:32:55,678 [execute] INFO git fetch -v origin 16:32:55 2023-10-26 16:32:55,679 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:32:56 2023-10-26 16:32:56,286 [run_push] DEBUG no remote changes detected 16:32:56 2023-10-26 16:32:56,286 [execute] INFO git push origin semver 16:32:56 2023-10-26 16:32:56,286 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:32:57 2023-10-26 16:32:57,226 [run_push] DEBUG push all version tags 16:32:57 2023-10-26 16:32:57,226 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:32:57 2023-10-26 16:32:57,227 [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) 16:32:58 2023-10-26 16:32:58,080 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:32:58 3.1.0-dev.38 [Pipeline] } 16:32:58 $ docker exec --env ******** --env ******** 58bf37810209243bcdeb2b735597ba8c8ccf6e62c4ce7dfe1b1be8fcd9aee59c ssh-agent -k 16:32:58 unset SSH_AUTH_SOCK; 16:32:58 unset SSH_AGENT_PID; 16:32:58 echo Agent pid 38 killed; 16:32:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:32:58 + git semver [Pipeline] } 16:32:58 $ docker stop --time=1 58bf37810209243bcdeb2b735597ba8c8ccf6e62c4ce7dfe1b1be8fcd9aee59c 16:33:00 $ docker rm -f --volumes 58bf37810209243bcdeb2b735597ba8c8ccf6e62c4ce7dfe1b1be8fcd9aee59c [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 16:33:01 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 16:33:01 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:33:01 total 16 16:33:01 drwxr-xr-x 3 root root 4096 Oct 26 16:18 . 16:33:01 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 16:32 .. 16:33:01 drwxr-xr-x 2 root root 4096 Oct 26 16:18 cost 16:33:01 -rw-r--r-- 1 root root 85 Oct 26 16:18 cost.csv 16:33:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:33:01 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:33:01 total 16 16:33:01 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:18 . 16:33:01 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 16:32 .. 16:33:01 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 16:18 cost 16:33:01 -rw-r--r-- 1 jenkins jenkins 85 Oct 26 16:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:33:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:33:02 ---> package-listing.sh 16:33:02 ++ facter osfamily 16:33:02 ++ tr '[:upper:]' '[:lower:]' 16:33:02 + OS_FAMILY=debian 16:33:02 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 16:33:02 + START_PACKAGES=/tmp/packages_start.txt 16:33:02 + END_PACKAGES=/tmp/packages_end.txt 16:33:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:33:02 + PACKAGES=/tmp/packages_start.txt 16:33:02 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:33:02 + PACKAGES=/tmp/packages_end.txt 16:33:02 + case "${OS_FAMILY}" in 16:33:02 + dpkg -l 16:33:02 + grep '^ii' 16:33:02 + '[' -f /tmp/packages_start.txt ']' 16:33:02 + '[' -f /tmp/packages_end.txt ']' 16:33:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:33:02 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:33:02 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 16:33:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 16:33:02 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 16:33:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:33:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:03 prd-ubuntu20.04-docker-8c-8g-11936 does not seem to be running inside a container 16:33:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:33:03 $ docker top a56669a80309be25dd9d22c441d114ee8559e42a74ad1983e52c4ca10a68c785 -eo pid,comm [Pipeline] { [Pipeline] sh 16:33:04 + touch /tmp/pre-build-complete [Pipeline] sh 16:33:04 + mkdir -p /var/log/sysstat [Pipeline] sh 16:33:04 + ls /var/log/sa-host 16:33:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:33:04 provisioning config files... 16:33:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1421485656288004981tmp [Pipeline] { [Pipeline] echo 16:33:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:33:05 ---> create-netrc.sh [Pipeline] } 16:33:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:33:05 ---> python-tools-install.sh [Pipeline] echo 16:33:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:33:05 ---> sudo-logs.sh 16:33:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:33:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:33:05 ---> job-cost.sh 16:33:05 lf-activate-venv: SKIPPING 16:33:05 DEBUG: total: 0.2199999988079071 16:33:05 INFO: Retrieving Stack Cost... 16:33:06 INFO: Retrieving Pricing Info for: v3-standard-8 16:33:06 INFO: Archiving Costs [Pipeline] echo 16:33:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:33:07 ---> logs-deploy.sh 16:33:07 lf-activate-venv: SKIPPING 16:33:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/266 16:33:07 INFO: archiving workspace using pattern(s): 16:33:07 Archives upload complete. 16:33:07 INFO: archiving logs to Nexus