Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cdda6ba38339e8ee36b58c288de44ad2194d3f5d 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-ssh15973782179509787319.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6623941794956484572.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10391925465669192187.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15989143469483913257.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-ssh11960106748946185549.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16158 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision cdda6ba38339e8ee36b58c288de44ad2194d3f5d (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1533)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdda6ba38339e8ee36b58c288de44ad2194d3f5d # timeout=10 > git rev-list --no-walk abc21ca26102b759b02d11fb71eec9f0d2267cdf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:46:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:46:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:46:54 ========================================================= 15:46:54 EdgeX Global Pipelines Version Info 15:46:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:46:55 ------------------- 15:46:55 stable info: 15:46:55 ------------------- 15:46:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:46:55 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 15:46:55 Message: update stable to v1.0.255 15:46:55 ------------------- 15:46:55 experimental info: 15:46:55 ------------------- 15:46:55 Commited By: **** collab-it+edgex@linuxfoundation.org 15:46:55 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 15:46:55 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdda6ba [Pipeline] echo 15:46:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:46:56 provisioning config files... 15:46:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6139145833192868206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:56 ---> docker-login.sh 15:46:56 nexus3.edgexfoundry.org:10001 15:47:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:01 Configure a credential helper to remove this warning. See 15:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:01 15:47:01 Login Succeeded 15:47:01 nexus3.edgexfoundry.org:10002 15:47:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:01 Configure a credential helper to remove this warning. See 15:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:01 15:47:01 Login Succeeded 15:47:01 nexus3.edgexfoundry.org:10003 15:47:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:01 Configure a credential helper to remove this warning. See 15:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:01 15:47:01 Login Succeeded 15:47:01 nexus3.edgexfoundry.org:10004 15:47:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:01 Configure a credential helper to remove this warning. See 15:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:01 15:47:01 Login Succeeded 15:47:01 docker.io 15:47:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:01 Configure a credential helper to remove this warning. See 15:47:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:01 15:47:01 Login Succeeded 15:47:01 ---> docker-login.sh ends [Pipeline] } 15:47:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:47:01 + git rev-list -1 --merges cdda6ba38339e8ee36b58c288de44ad2194d3f5d~1..cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] echo 15:47:01 -----------> git rev-list -1 --merges cdda6ba38339e8ee36b58c288de44ad2194d3f5d~1..cdda6ba38339e8ee36b58c288de44ad2194d3f5d cdda6ba38339e8ee36b58c288de44ad2194d3f5d [false] [Pipeline] sh 15:47:02 + git log --format=format:%s -1 cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] echo 15:47:02 ========================================================= 15:47:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:47:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:47:02 + git log --format=format:%s -1 cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] echo 15:47:02 [semverPrep] GIT_COMMIT: cdda6ba38339e8ee36b58c288de44ad2194d3f5d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1533) [Pipeline] echo 15:47:02 [semverPrep] This is not a build commit. [Pipeline] sh 15:47:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:47:02 + grep -v github /etc/ssh/ssh_known_hosts 15:47:02 + [ -e /tmp/ssh_known_hosts ] 15:47:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:47:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:47:02 + sudo tee -a /etc/ssh/ssh_known_hosts 15:47:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:47:03 15:47:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:47:05 0.1.4: Pulling from edgex-devops/py-git-semver 15:47:05 b85a868b505f: Pulling fs layer 15:47:05 e2be974225ed: Pulling fs layer 15:47:05 339a4e72a1f5: Pulling fs layer 15:47:05 988bab9f4d93: Pulling fs layer 15:47:05 1469e6f7b9e6: Pulling fs layer 15:47:05 eaf3925da568: Pulling fs layer 15:47:05 bab4dde63d76: Pulling fs layer 15:47:05 bde34c3a00c8: Pulling fs layer 15:47:05 b352a97aabf1: Pulling fs layer 15:47:05 4872d77fe225: Pulling fs layer 15:47:05 5851b861e8e6: Pulling fs layer 15:47:05 988bab9f4d93: Waiting 15:47:05 1469e6f7b9e6: Waiting 15:47:05 eaf3925da568: Waiting 15:47:05 bab4dde63d76: Waiting 15:47:05 bde34c3a00c8: Waiting 15:47:05 b352a97aabf1: Waiting 15:47:05 4872d77fe225: Waiting 15:47:05 5851b861e8e6: Waiting 15:47:05 e2be974225ed: Download complete 15:47:05 988bab9f4d93: Verifying Checksum 15:47:05 988bab9f4d93: Download complete 15:47:05 1469e6f7b9e6: Verifying Checksum 15:47:05 1469e6f7b9e6: Download complete 15:47:05 eaf3925da568: Verifying Checksum 15:47:05 eaf3925da568: Download complete 15:47:05 339a4e72a1f5: Verifying Checksum 15:47:05 339a4e72a1f5: Download complete 15:47:05 bde34c3a00c8: Verifying Checksum 15:47:05 bde34c3a00c8: Download complete 15:47:05 b352a97aabf1: Verifying Checksum 15:47:05 b352a97aabf1: Download complete 15:47:05 4872d77fe225: Verifying Checksum 15:47:05 4872d77fe225: Download complete 15:47:05 5851b861e8e6: Verifying Checksum 15:47:05 5851b861e8e6: Download complete 15:47:05 b85a868b505f: Verifying Checksum 15:47:05 b85a868b505f: Download complete 15:47:05 bab4dde63d76: Download complete 15:47:06 b85a868b505f: Pull complete 15:47:06 e2be974225ed: Pull complete 15:47:07 339a4e72a1f5: Pull complete 15:47:07 988bab9f4d93: Pull complete 15:47:07 1469e6f7b9e6: Pull complete 15:47:08 eaf3925da568: Pull complete 15:47:09 bab4dde63d76: Pull complete 15:47:09 bde34c3a00c8: Pull complete 15:47:09 b352a97aabf1: Pull complete 15:47:09 4872d77fe225: Pull complete 15:47:09 5851b861e8e6: Pull complete 15:47:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:47:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:47:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:10 prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container 15:47:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:47:20 $ docker top ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f -eo pid,comm 15:47: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). 15:47:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:47:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:20 [ssh-agent] Looking for ssh-agent implementation... 15:47:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:20 $ docker exec ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f ssh-agent 15:47:20 SSH_AUTH_SOCK=/tmp/ssh-DgI6rFo29lo7/agent.14 15:47:20 SSH_AGENT_PID=20 15:47:20 Running ssh-add (command line suppressed) 15:47:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11546765073184781994.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11546765073184781994.key) 15:47:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:21 + git tag --points-at HEAD [Pipeline] } 15:47:21 $ docker exec --env ******** --env ******** ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f ssh-agent -k 15:47:21 unset SSH_AUTH_SOCK; 15:47:21 unset SSH_AGENT_PID; 15:47:21 echo Agent pid 20 killed; 15:47:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:47:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:47:21 [ssh-agent] Looking for ssh-agent implementation... 15:47:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:47:21 $ docker exec ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f ssh-agent 15:47:21 SSH_AUTH_SOCK=/tmp/ssh-qV1JiB2Bd1lc/agent.70 15:47:21 SSH_AGENT_PID=76 15:47:21 Running ssh-add (command line suppressed) 15:47:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12707978937084422351.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12707978937084422351.key) 15:47:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:47:22 + git semver init 15:47:22 2023-11-01 15:47:22,301 [run_init] DEBUG init version:0.0.0 force:False 15:47:22 2023-11-01 15:47:22,302 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:47:22 2023-11-01 15:47:22,303 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:47:22 2023-11-01 15:47:22,304 [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) 15:47:23 2023-11-01 15:47:23,642 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:47:23 2023-11-01 15:47:23,642 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:47:23 2023-11-01 15:47:23,642 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:47:23 2023-11-01 15:47:23,643 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:47:23 3.1.0-dev.38 [Pipeline] } 15:47:23 $ docker exec --env ******** --env ******** ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f ssh-agent -k 15:47:23 unset SSH_AUTH_SOCK; 15:47:23 unset SSH_AGENT_PID; 15:47:23 echo Agent pid 76 killed; 15:47:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:47:24 + git semver [Pipeline] } 15:47:24 $ docker stop --time=1 ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f 15:47:26 $ docker rm -f --volumes ea506be2ccc384853a24c6a582f59ec3042249571abdff5c5535e81f17e66a4f [Pipeline] // withDockerContainer [Pipeline] sh 15:47:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:47:27 Stashed 1 file(s) [Pipeline] echo 15:47:27 [edgeXSemver]: initialized semver on version 3.1.0-dev.38 [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 15:47:27 provisioning config files... 15:47:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3540700359112792055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:27 ---> docker-login.sh 15:47:27 nexus3.edgexfoundry.org:10001 15:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:27 Configure a credential helper to remove this warning. See 15:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:27 15:47:27 Login Succeeded 15:47:27 nexus3.edgexfoundry.org:10002 15:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:27 Configure a credential helper to remove this warning. See 15:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:27 15:47:27 Login Succeeded 15:47:27 nexus3.edgexfoundry.org:10003 15:47:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:27 Configure a credential helper to remove this warning. See 15:47:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:27 15:47:27 Login Succeeded 15:47:27 nexus3.edgexfoundry.org:10004 15:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:28 Configure a credential helper to remove this warning. See 15:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:28 15:47:28 Login Succeeded 15:47:28 docker.io 15:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:28 Configure a credential helper to remove this warning. See 15:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:28 15:47:28 Login Succeeded 15:47:28 ---> docker-login.sh ends [Pipeline] } 15:47:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:47:28 ========================================================= 15:47:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:47:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:28 + 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 . 15:47:28 Sending build context to Docker daemon 11.25MB 15:47:28 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 15:47:28 Step 2/10 : FROM ${BASE} AS builder 15:47:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:47:29 7264a8db6415: Pulling fs layer 15:47:29 c4d48a809fc2: Pulling fs layer 15:47:29 4f1c88b9dad5: Pulling fs layer 15:47:29 ad3a456e5733: Pulling fs layer 15:47:29 33e27b845d1e: Pulling fs layer 15:47:29 ad3a456e5733: Waiting 15:47:29 c68163c4e522: Pulling fs layer 15:47:29 50da416c3ac9: Pulling fs layer 15:47:29 23d2d4c4bb30: Pulling fs layer 15:47:29 33e27b845d1e: Waiting 15:47:29 c68163c4e522: Waiting 15:47:29 50da416c3ac9: Waiting 15:47:29 c4d48a809fc2: Verifying Checksum 15:47:29 c4d48a809fc2: Download complete 15:47:29 ad3a456e5733: Verifying Checksum 15:47:29 ad3a456e5733: Download complete 15:47:29 33e27b845d1e: Verifying Checksum 15:47:29 33e27b845d1e: Download complete 15:47:29 7264a8db6415: Verifying Checksum 15:47:29 7264a8db6415: Download complete 15:47:29 c68163c4e522: Verifying Checksum 15:47:29 c68163c4e522: Download complete 15:47:29 23d2d4c4bb30: Verifying Checksum 15:47:29 23d2d4c4bb30: Download complete 15:47:29 4f1c88b9dad5: Verifying Checksum 15:47:29 4f1c88b9dad5: Download complete 15:47:30 7264a8db6415: Pull complete 15:47:30 50da416c3ac9: Verifying Checksum 15:47:30 50da416c3ac9: Download complete 15:47:30 c4d48a809fc2: Pull complete 15:47:34 4f1c88b9dad5: Pull complete 15:47:34 ad3a456e5733: Pull complete 15:47:34 33e27b845d1e: Pull complete 15:47:35 c68163c4e522: Pull complete 15:47:37 50da416c3ac9: Pull complete 15:47:37 23d2d4c4bb30: Pull complete 15:47:37 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:47:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:47:37 ---> 0786185ac409 15:47:37 Step 3/10 : ARG MAKE=make build 15:47:42 Still waiting to schedule task 15:47:42 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:47:47 ---> Running in e9c02aac1713 15:47:47 Removing intermediate container e9c02aac1713 15:47:47 ---> edfb779a2b5a 15:47:47 Step 4/10 : WORKDIR /device-sdk-go 15:47:47 ---> Running in e4babe1a89cf 15:47:47 Removing intermediate container e4babe1a89cf 15:47:47 ---> 5e81607e4516 15:47:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:47:47 ---> Running in 1b0547906538 15:47:47 Removing intermediate container 1b0547906538 15:47:47 ---> 72b27d3bed9d 15:47:47 Step 6/10 : RUN apk add --update --no-cache make git 15:47:47 ---> Running in e5b7e63a54f6 15:47:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:47:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:47:48 OK: 264 MiB in 52 packages 15:47:48 Removing intermediate container e5b7e63a54f6 15:47:48 ---> 204b4c356866 15:47:48 Step 7/10 : COPY go.mod vendor* ./ 15:47:49 ---> 584a389f66b6 15:47:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:47:49 ---> Running in 0d10ab49e975 15:49:41 Removing intermediate container 0d10ab49e975 15:49:41 ---> 1be070d88f78 15:49:41 Step 9/10 : COPY . . 15:49:41 ---> 3aaa1222ddeb 15:49:41 Step 10/10 : RUN ${MAKE} 15:49:41 ---> Running in c15b5a9dc22f 15:49:41 noop 15:49:41 Removing intermediate container c15b5a9dc22f 15:49:41 ---> fa19af1d1bd3 15:49:41 Successfully built fa19af1d1bd3 15:49:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:41 + docker inspect -f . ci-base-image-x86_64 15:49:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:41 prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container 15:49:41 $ 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 15:49:43 $ docker top b5bfe16f72c40effab5c6c56665bed05add595fa7800adc00e181a128764af73 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:43 + go version 15:49:43 go version go1.21.0 linux/amd64 [Pipeline] } 15:49:43 $ docker stop --time=1 b5bfe16f72c40effab5c6c56665bed05add595fa7800adc00e181a128764af73 15:49:45 $ docker rm -f --volumes b5bfe16f72c40effab5c6c56665bed05add595fa7800adc00e181a128764af73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:45 + docker inspect -f . ci-base-image-x86_64 15:49:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:45 prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container 15:49:45 $ 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 15:49:47 $ docker top e5d5feb22623026826c5d6921cc5ebd7721997304e8bc8f9c2807cd918e62587 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:47 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:49:48 + make test 15:49:48 go test -race -coverprofile=coverage.out ./... 15:49:58 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:50:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:50:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:50:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:50:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:50:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:50:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:50:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:50:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:50:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.087s coverage: 27.6% of statements 15:50:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.065s coverage: 81.5% of statements 15:50:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.064s coverage: 86.0% of statements 15:50:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.079s coverage: 71.8% of statements 15:50:14 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:50:14 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:50:15 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:50:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.4% of statements 15:50:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.149s coverage: 45.9% of statements 15:50:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.067s coverage: 68.5% of statements 15:50:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.099s coverage: 89.2% of statements 15:50:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.066s coverage: 5.5% of statements 15:50:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16165 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:50:50 Running in /w/workspace/device-sdk-go/267 [Pipeline] { [Pipeline] checkout 15:50:51 The recommended git tool is: git 15:50:56 GO111MODULE=on go vet ./... 15:50:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:50:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:50:57 ./bin/test-attribution-txt.sh [Pipeline] echo 15:50:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:50:57 $ docker stop --time=1 e5d5feb22623026826c5d6921cc5ebd7721997304e8bc8f9c2807cd918e62587 15:50:59 using credential edgex-jenkins-ssh 15:50:59 Cloning the remote Git repository 15:50:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:50:59 > git init /w/workspace/device-sdk-go/267 # timeout=10 15:50:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:50:59 > git --version # timeout=10 15:50:59 > git --version # 'git version 2.25.1' 15:50:59 using GIT_SSH to set credentials SSH Credentials for GitHub 15:50:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:51:02 Avoid second fetch 15:51:02 Checking out Revision cdda6ba38339e8ee36b58c288de44ad2194d3f5d (main) 15:51:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:51:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:51:02 > git config core.sparsecheckout # timeout=10 15:51:03 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1533)" 15:51:02 > git checkout -f cdda6ba38339e8ee36b58c288de44ad2194d3f5d # timeout=10 15:51:14 $ docker rm -f --volumes e5d5feb22623026826c5d6921cc5ebd7721997304e8bc8f9c2807cd918e62587 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:51:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:51:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:51:16 % Total % Received % Xferd Average Speed Time Time Time Current 15:51:16 Dload Upload Total Spent Left Speed 15:51:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k 15:51:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh 15:51:16 + ls -al . 15:51:16 total 304 15:51:16 drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 15:49 . 15:51:16 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:46 .. 15:51:16 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 15:46 .dockerignore 15:51:16 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 15:50 .git 15:51:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:46 .github 15:51:16 -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 15:46 .gitignore 15:51:16 -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 15:46 .golangci.yml 15:51:16 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 15:47 .semver 15:51:16 -rw-rw-r-- 1 jenkins jenkins 44878 Nov 1 15:46 CHANGELOG.md 15:51:16 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 15:46 GOVERNANCE.md 15:51:16 -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 15:46 Jenkinsfile 15:51:16 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 15:46 LICENSE 15:51:16 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 15:46 Makefile 15:51:16 -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 15:46 OWNERS.md 15:51:16 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 15:46 README.md 15:51:16 -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 15:47 VERSION 15:51:16 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 15:46 bin 15:51:16 -rw-r--r-- 1 jenkins jenkins 122153 Nov 1 15:50 coverage.out 15:51:16 drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 15:46 example 15:51:16 -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 15:46 go.mod 15:51:16 -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 15:46 go.sum 15:51:16 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 15:46 internal 15:51:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:46 openapi 15:51:16 drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 15:46 pkg 15:51:16 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:46 snap 15:51:16 -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 15:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:51:17 + 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=cdda6ba38339e8ee36b58c288de44ad2194d3f5d --label arch=amd64 --label version=3.1.0-dev.38 . 15:51:17 Sending build context to Docker daemon 11.37MB 15:51:17 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 15:51:17 Step 2/23 : FROM ${BASE} AS builder 15:51:17 ---> fa19af1d1bd3 15:51:17 Step 3/23 : ARG MAKE=make build 15:51:17 + sudo tee /etc/docker/daemon.new 15:51:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:51:17 { 15:51:17 "registry-mirrors": [ 15:51:17 "https://nexus3.edgexfoundry.org:10001" 15:51:17 ], 15:51:17 "bip": "10.250.0.254/24", 15:51:17 "hosts": [ 15:51:17 "tcp://0.0.0.0:5555", 15:51:17 "unix:///var/run/docker.sock" 15:51:17 ], 15:51:17 "mtu": 1458, 15:51:17 "selinux-enabled": true, 15:51:17 "seccomp-profile": "/etc/docker/seccomp.json" 15:51:17 } [Pipeline] sh 15:51:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:51:18 + sudo service docker restart 15:51:20 ---> Running in f68f8900fb51 15:51:21 Removing intermediate container f68f8900fb51 15:51:21 ---> 6085f7a81675 15:51:21 Step 4/23 : WORKDIR /device-sdk-go 15:51:22 ---> Running in f5ee71212912 15:51:23 Removing intermediate container f5ee71212912 15:51:23 ---> 42cd7c0273a8 15:51:23 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:51:23 ---> Running in ed94fc3bfeb1 15:51:24 Removing intermediate container ed94fc3bfeb1 15:51:24 ---> f07b8a27e278 15:51:24 Step 6/23 : RUN apk add --update --no-cache make git 15:51:24 ---> Running in b06e42965d68 15:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:51:25 OK: 264 MiB in 52 packages 15:51:27 Removing intermediate container b06e42965d68 15:51:27 ---> d6c84d20a79d 15:51:27 Step 7/23 : COPY go.mod vendor* ./ 15:51:27 ---> 074fc4c5bea7 15:51:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:51:27 ---> Running in 2a399343907e 15:51:28 Removing intermediate container 2a399343907e 15:51:28 ---> b67f69290474 15:51:28 Step 9/23 : COPY . . 15:51:30 ---> ff2980267da2 15:51:30 Step 10/23 : RUN ${MAKE} 15:51:30 ---> Running in bfb8cefb2e3a 15:51:32 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.38 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.38" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:51:36 provisioning config files... 15:51:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/267@tmp/config16097171761592663263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:51:36 ---> docker-login.sh 15:51:36 nexus3.edgexfoundry.org:10001 15:51:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:37 Configure a credential helper to remove this warning. See 15:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:37 15:51:37 Login Succeeded 15:51:37 nexus3.edgexfoundry.org:10002 15:51:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:37 Configure a credential helper to remove this warning. See 15:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:37 15:51:37 Login Succeeded 15:51:37 nexus3.edgexfoundry.org:10003 15:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:38 Configure a credential helper to remove this warning. See 15:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:38 15:51:38 Login Succeeded 15:51:38 nexus3.edgexfoundry.org:10004 15:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:38 Configure a credential helper to remove this warning. See 15:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:38 15:51:38 Login Succeeded 15:51:38 docker.io 15:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:39 Configure a credential helper to remove this warning. See 15:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:39 15:51:39 Login Succeeded 15:51:39 ---> docker-login.sh ends [Pipeline] } 15:51:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:51:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:51:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:51:39 ========================================================= 15:51:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:51:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:40 + 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 . 15:51:40 Sending build context to Docker daemon 6.019MB 15:51:40 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 15:51:40 Step 2/10 : FROM ${BASE} AS builder 15:51:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:51:40 9fda8d8052c6: Pulling fs layer 15:51:40 5d54e960e981: Pulling fs layer 15:51:40 c4a7e357bf2a: Pulling fs layer 15:51:40 f0e02332f6b5: Pulling fs layer 15:51:40 cefa15bbcfad: Pulling fs layer 15:51:40 17808c966233: Pulling fs layer 15:51:40 f4c1fc716caa: Pulling fs layer 15:51:40 f0e02332f6b5: Waiting 15:51:40 cefa15bbcfad: Waiting 15:51:40 17808c966233: Waiting 15:51:40 f4c1fc716caa: Waiting 15:51:40 5d54e960e981: Download complete 15:51:40 f0e02332f6b5: Verifying Checksum 15:51:40 f0e02332f6b5: Download complete 15:51:40 cefa15bbcfad: Verifying Checksum 15:51:40 cefa15bbcfad: Download complete 15:51:40 9fda8d8052c6: Download complete 15:51:41 f4c1fc716caa: Verifying Checksum 15:51:41 f4c1fc716caa: Download complete 15:51:41 9fda8d8052c6: Pull complete 15:51:42 5d54e960e981: Pull complete 15:51:42 c4a7e357bf2a: Verifying Checksum 15:51:42 c4a7e357bf2a: Download complete 15:51:43 17808c966233: Verifying Checksum 15:51:43 17808c966233: Download complete 15:51:56 c4a7e357bf2a: Pull complete 15:51:56 f0e02332f6b5: Pull complete 15:51:56 cefa15bbcfad: Pull complete 15:52:08 17808c966233: Pull complete 15:52:10 f4c1fc716caa: Pull complete 15:52:10 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:52:10 ---> ea914061e18c 15:52:10 Step 3/10 : ARG MAKE=make build 15:52:11 Removing intermediate container bfb8cefb2e3a 15:52:11 ---> 6dd53822ad48 15:52:11 Step 11/23 : FROM alpine:3.18 15:52:11 3.18: Pulling from library/alpine 15:52:11 ---> Running in 98e4461b6a41 15:52:11 Removing intermediate container 98e4461b6a41 15:52:11 ---> 67684828eb0e 15:52:11 Step 4/10 : WORKDIR /device-sdk-go 15:52:11 96526aa774ef: Pulling fs layer 15:52:11 ---> Running in b452e73b8136 15:52:11 96526aa774ef: Verifying Checksum 15:52:11 96526aa774ef: Download complete 15:52:12 Removing intermediate container b452e73b8136 15:52:12 ---> 4d53c3947e30 15:52:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:52:12 ---> Running in 957e8502aff0 15:52:12 Removing intermediate container 957e8502aff0 15:52:12 ---> 46785e580845 15:52:12 Step 6/10 : RUN apk add --update --no-cache make git 15:52:12 96526aa774ef: Pull complete 15:52:12 ---> Running in a7d09b43ca52 15:52:12 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:52:13 Status: Downloaded newer image for alpine:3.18 15:52:13 ---> 8ca4688f4f35 15:52:13 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:52:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:52:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:52:14 ---> Running in acb47f447c25 15:52:15 OK: 266 MiB in 52 packages 15:52:15 Removing intermediate container acb47f447c25 15:52:15 ---> b5e56ffb3b2e 15:52:15 Step 13/23 : RUN apk add --update --no-cache 15:52:16 Removing intermediate container a7d09b43ca52 15:52:16 ---> 72228d05f74d 15:52:16 Step 7/10 : COPY go.mod vendor* ./ 15:52:16 ---> Running in 314b6f1f2102 15:52:16 ---> 64fde5e2048e 15:52:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:52:16 ---> Running in 13372b59ee01 15:52:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:52:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:52:18 OK: 7 MiB in 15 packages 15:52:20 Removing intermediate container 314b6f1f2102 15:52:20 ---> 5515377c3fe6 15:52:20 Step 14/23 : WORKDIR / 15:52:21 ---> Running in 3132ebe51fb2 15:52:22 Removing intermediate container 3132ebe51fb2 15:52:22 ---> 2d6c71bfb8b7 15:52:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:52:24 ---> 50a58f0e8109 15:52:24 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:52:27 ---> b89d62d66de9 15:52:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:52:28 ---> aeebaef6e5a7 15:52:28 Step 18/23 : EXPOSE 59999 15:52:29 ---> Running in 730e64d108aa 15:52:29 Removing intermediate container 730e64d108aa 15:52:29 ---> 1c22e75fc3bc 15:52:29 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:52:30 ---> Running in d4d8bd9bed2e 15:52:31 Removing intermediate container d4d8bd9bed2e 15:52:31 ---> e475d97aa139 15:52:31 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:52:32 ---> Running in 15402d4334c2 15:52:33 Removing intermediate container 15402d4334c2 15:52:33 ---> 3617604278e6 15:52:33 Step 21/23 : LABEL arch=amd64 15:52:34 ---> Running in 5a9d1768249f 15:52:36 Removing intermediate container 5a9d1768249f 15:52:36 ---> 876254b39e42 15:52:36 Step 22/23 : LABEL git_sha=cdda6ba38339e8ee36b58c288de44ad2194d3f5d 15:52:36 ---> Running in 3f370cc09f99 15:52:36 Removing intermediate container 3f370cc09f99 15:52:36 ---> f8144839cfe5 15:52:36 Step 23/23 : LABEL version=3.1.0-dev.38 15:52:36 ---> Running in 9108bd1d243f 15:52:36 Removing intermediate container 9108bd1d243f 15:52:36 ---> 09317fbc58ef 15:52:36 [Warning] One or more build-args [ARCH] were not consumed 15:52:36 Successfully built 09317fbc58ef 15:52:36 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 15:52:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:37 15:52:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:37 latest: Pulling from edgex-lftools-log-publisher 15:52:37 5eb5b503b376: Pulling fs layer 15:52:37 5c69ac0246d0: Pulling fs layer 15:52:37 ec43610c2a17: Pulling fs layer 15:52:37 3a2ae6a8a46f: Pulling fs layer 15:52:37 33b1e0a273af: Pulling fs layer 15:52:37 5d3b04190fa2: Pulling fs layer 15:52:37 2f39f015ded8: Pulling fs layer 15:52:37 3a2ae6a8a46f: Waiting 15:52:37 33b1e0a273af: Waiting 15:52:37 2f39f015ded8: Waiting 15:52:37 5d3b04190fa2: Waiting 15:52:37 5c69ac0246d0: Verifying Checksum 15:52:37 5c69ac0246d0: Download complete 15:52:37 3a2ae6a8a46f: Verifying Checksum 15:52:37 3a2ae6a8a46f: Download complete 15:52:37 33b1e0a273af: Verifying Checksum 15:52:37 33b1e0a273af: Download complete 15:52:37 ec43610c2a17: Verifying Checksum 15:52:37 ec43610c2a17: Download complete 15:52:37 5d3b04190fa2: Verifying Checksum 15:52:37 5d3b04190fa2: Download complete 15:52:37 5eb5b503b376: Verifying Checksum 15:52:37 5eb5b503b376: Download complete 15:52:38 2f39f015ded8: Download complete 15:52:40 5eb5b503b376: Pull complete 15:52:42 5c69ac0246d0: Pull complete 15:52:43 ec43610c2a17: Pull complete 15:52:43 3a2ae6a8a46f: Pull complete 15:52:45 33b1e0a273af: Pull complete 15:52:45 5d3b04190fa2: Pull complete 15:52:51 2f39f015ded8: Pull complete 15:52:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:52:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:52 prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container 15:52: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 15:53:06 $ docker top 8acd3fa207a7904a9984f89eb54a8ed4a40bf85e0488ebcb1257f68ba31ade19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:06 ---> job-cost.sh 15:53:06 lf-activate-venv: SKIPPING 15:53:06 INFO: No Stack... 15:53:06 INFO: Retrieving Pricing Info for: v3-standard-8 15:53:07 INFO: Archiving Costs [Pipeline] sh 15:53:07 + + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:53:07 cut -d, -f6 [Pipeline] lock 15:53:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] 15:53:07 Resource [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] did not exist. Created. 15:53:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:53:08 + echo total: 0.2199999988079071 [Pipeline] stash 15:53:08 Stashed 1 file(s) [Pipeline] } 15:53:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] [Pipeline] // lock [Pipeline] } 15:53:08 $ docker stop --time=1 8acd3fa207a7904a9984f89eb54a8ed4a40bf85e0488ebcb1257f68ba31ade19 15:53:09 $ docker rm -f --volumes 8acd3fa207a7904a9984f89eb54a8ed4a40bf85e0488ebcb1257f68ba31ade19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:53:38 Removing intermediate container 13372b59ee01 15:53:38 ---> 1874a83580db 15:53:38 Step 9/10 : COPY . . 15:53:38 ---> d87021a2b3ac 15:53:38 Step 10/10 : RUN ${MAKE} 15:53:38 ---> Running in b1fb2c89dea3 15:53:38 noop 15:53:38 Removing intermediate container b1fb2c89dea3 15:53:38 ---> 9b5e2f83b06b 15:53:38 Successfully built 9b5e2f83b06b 15:53:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:38 + docker inspect -f . ci-base-image-arm64 15:53:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:38 prd-ubuntu20.04-docker-arm64-4c-16g-16165 does not seem to be running inside a container 15:53:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/267 -v /w/workspace/device-sdk-go/267:/w/workspace/device-sdk-go/267:rw,z -v /w/workspace/device-sdk-go/267@tmp:/w/workspace/device-sdk-go/267@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 15:53:40 $ docker top f31bff909d0c5bb3622a5f6af042d11b8f0d36c040429886921116b7feb36096 -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:41 + go version 15:53:41 go version go1.21.0 linux/arm64 [Pipeline] } 15:53:41 $ docker stop --time=1 f31bff909d0c5bb3622a5f6af042d11b8f0d36c040429886921116b7feb36096 15:53:42 $ docker rm -f --volumes f31bff909d0c5bb3622a5f6af042d11b8f0d36c040429886921116b7feb36096 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:43 + docker inspect -f . ci-base-image-arm64 15:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:43 prd-ubuntu20.04-docker-arm64-4c-16g-16165 does not seem to be running inside a container 15:53:43 $ 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/267 -v /w/workspace/device-sdk-go/267:/w/workspace/device-sdk-go/267:rw,z -v /w/workspace/device-sdk-go/267@tmp:/w/workspace/device-sdk-go/267@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 15:53:44 $ docker top 689b114553c0eabaa4d631c2a2852d55703f74b61eba7e2b2cf73b88461ab4f1 -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:45 + git config --global --add safe.directory /w/workspace/device-sdk-go/267 [Pipeline] fileExists [Pipeline] sh 15:53:46 + make test 15:53:46 go test -race -coverprofile=coverage.out ./... 15:54:33 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:56:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:56:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:56:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:56:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:56:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:56:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.228s coverage: 27.6% of statements 15:56:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.338s coverage: 81.5% of statements 15:56:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:56:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:56:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.372s coverage: 86.0% of statements 15:56:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:56:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.452s coverage: 71.8% of statements 15:56:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.317s coverage: 14.4% of statements 15:56:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.804s coverage: 45.9% of statements 15:56:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:56:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:56:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.459s coverage: 68.5% of statements 15:56:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.482s coverage: 89.2% of statements 15:56:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:57:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.267s coverage: 5.5% of statements 15:57:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:57:02 GO111MODULE=on go vet ./... 15:59:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:59:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:59:24 ./bin/test-attribution-txt.sh [Pipeline] echo 15:59:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:59:24 $ docker stop --time=1 689b114553c0eabaa4d631c2a2852d55703f74b61eba7e2b2cf73b88461ab4f1 15:59:26 $ docker rm -f --volumes 689b114553c0eabaa4d631c2a2852d55703f74b61eba7e2b2cf73b88461ab4f1 [Pipeline] // withDockerContainer [Pipeline] sh 15:59:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:59:28 Warning: overwriting stash ‘coverage-report’ 15:59:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:59:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:59:29 + ls -al . 15:59:29 total 300 15:59:29 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 15:53 . 15:59:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:50 .. 15:59:29 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 15:51 .dockerignore 15:59:29 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 15:51 .git 15:59:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:51 .github 15:59:29 -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 15:51 .gitignore 15:59:29 -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 15:51 .golangci.yml 15:59:29 -rw-rw-r-- 1 jenkins jenkins 44878 Nov 1 15:51 CHANGELOG.md 15:59:29 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 15:51 GOVERNANCE.md 15:59:29 -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 15:51 Jenkinsfile 15:59:29 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 15:51 LICENSE 15:59:29 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 15:51 Makefile 15:59:29 -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 15:51 OWNERS.md 15:59:29 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 15:51 README.md 15:59:29 -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 15:47 VERSION 15:59:29 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 15:51 bin 15:59:29 -rw-r--r-- 1 jenkins jenkins 122153 Nov 1 15:57 coverage.out 15:59:29 drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 15:51 example 15:59:29 -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 15:51 go.mod 15:59:29 -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 15:51 go.sum 15:59:29 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 15:51 internal 15:59:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:51 openapi 15:59:29 drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 15:51 pkg 15:59:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:51 snap 15:59:29 -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 15:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:30 + 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=cdda6ba38339e8ee36b58c288de44ad2194d3f5d --label arch=arm64 --label version=3.1.0-dev.38 . 15:59:30 Sending build context to Docker daemon 6.142MB 15:59:30 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 15:59:30 Step 2/23 : FROM ${BASE} AS builder 15:59:30 ---> 9b5e2f83b06b 15:59:30 Step 3/23 : ARG MAKE=make build 15:59:30 ---> Running in fcaa6b94e79b 15:59:31 Removing intermediate container fcaa6b94e79b 15:59:31 ---> d9ba50383b76 15:59:31 Step 4/23 : WORKDIR /device-sdk-go 15:59:31 ---> Running in cb49de908156 15:59:31 Removing intermediate container cb49de908156 15:59:31 ---> c136bef83f7f 15:59:31 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:59:31 ---> Running in d760414cdfc9 15:59:32 Removing intermediate container d760414cdfc9 15:59:32 ---> c108c4bdc38b 15:59:32 Step 6/23 : RUN apk add --update --no-cache make git 15:59:32 ---> Running in 4e167e524f7b 15:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:59:35 OK: 266 MiB in 52 packages 15:59:35 Removing intermediate container 4e167e524f7b 15:59:35 ---> c932ef1bad45 15:59:35 Step 7/23 : COPY go.mod vendor* ./ 15:59:36 ---> 161992e9ef3e 15:59:36 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:36 ---> Running in 6f0c42fd7375 15:59:39 Removing intermediate container 6f0c42fd7375 15:59:39 ---> b8a47b1b14a9 15:59:39 Step 9/23 : COPY . . 15:59:40 ---> 3a9a5b48f0c0 15:59:40 Step 10/23 : RUN ${MAKE} 15:59:40 ---> Running in e303b689b9d9 15:59:41 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.38 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.38" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:02:03 Removing intermediate container e303b689b9d9 16:02:03 ---> 3e4661ad756a 16:02:03 Step 11/23 : FROM alpine:3.18 16:02:03 3.18: Pulling from library/alpine 16:02:03 579b34f0a95b: Pulling fs layer 16:02:03 579b34f0a95b: Verifying Checksum 16:02:03 579b34f0a95b: Download complete 16:02:03 579b34f0a95b: Pull complete 16:02:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 16:02:03 Status: Downloaded newer image for alpine:3.18 16:02:03 ---> 3cc203321400 16:02:03 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:02:03 ---> Running in 48ced31be4e2 16:02:03 Removing intermediate container 48ced31be4e2 16:02:03 ---> c27042671f2a 16:02:03 Step 13/23 : RUN apk add --update --no-cache 16:02:03 ---> Running in 0cc82029cff2 16:02:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:02:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:02:03 OK: 8 MiB in 15 packages 16:02:03 Removing intermediate container 0cc82029cff2 16:02:03 ---> de042f6a4171 16:02:03 Step 14/23 : WORKDIR / 16:02:03 ---> Running in 6ea104690d54 16:02:03 Removing intermediate container 6ea104690d54 16:02:03 ---> 366f7a3248d8 16:02:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:02:03 ---> e53d9bff6af3 16:02:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:02:03 ---> bf97c4004fe9 16:02:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:02:04 ---> a6708cedfed2 16:02:04 Step 18/23 : EXPOSE 59999 16:02:04 ---> Running in dea567ff29c6 16:02:04 Removing intermediate container dea567ff29c6 16:02:04 ---> 1b3f8892486f 16:02:04 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:02:04 ---> Running in a5fc3fe6859f 16:02:04 Removing intermediate container a5fc3fe6859f 16:02:04 ---> e53ddd86dcb5 16:02:04 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:02:05 ---> Running in 97a270ce7254 16:02:05 Removing intermediate container 97a270ce7254 16:02:05 ---> 657037f2b105 16:02:05 Step 21/23 : LABEL arch=arm64 16:02:05 ---> Running in 00834bb6217e 16:02:05 Removing intermediate container 00834bb6217e 16:02:05 ---> 93218bddbdd6 16:02:05 Step 22/23 : LABEL git_sha=cdda6ba38339e8ee36b58c288de44ad2194d3f5d 16:02:06 ---> Running in 358eced4b13c 16:02:06 Removing intermediate container 358eced4b13c 16:02:06 ---> 6c01d54f229c 16:02:06 Step 23/23 : LABEL version=3.1.0-dev.38 16:02:06 ---> Running in de99ae50a622 16:02:06 Removing intermediate container de99ae50a622 16:02:06 ---> 905f5a89068b 16:02:06 [Warning] One or more build-args [ARCH] were not consumed 16:02:06 Successfully built 905f5a89068b 16:02:06 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:02:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:07 16:02:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:07 arm64: Pulling from edgex-lftools-log-publisher 16:02:07 8998bd30e6a1: Pulling fs layer 16:02:07 04944245beec: Pulling fs layer 16:02:07 699f458cf7ca: Pulling fs layer 16:02:07 765212b225bb: Pulling fs layer 16:02:07 f23df028b6ca: Pulling fs layer 16:02:07 d65c8cfc05b1: Pulling fs layer 16:02:07 2437ff75d9bd: Pulling fs layer 16:02:07 f23df028b6ca: Waiting 16:02:07 765212b225bb: Waiting 16:02:07 d65c8cfc05b1: Waiting 16:02:07 2437ff75d9bd: Waiting 16:02:07 04944245beec: Verifying Checksum 16:02:07 04944245beec: Download complete 16:02:07 765212b225bb: Verifying Checksum 16:02:07 765212b225bb: Download complete 16:02:07 f23df028b6ca: Verifying Checksum 16:02:07 f23df028b6ca: Download complete 16:02:08 d65c8cfc05b1: Verifying Checksum 16:02:08 d65c8cfc05b1: Download complete 16:02:08 699f458cf7ca: Verifying Checksum 16:02:08 699f458cf7ca: Download complete 16:02:08 8998bd30e6a1: Verifying Checksum 16:02:08 8998bd30e6a1: Download complete 16:02:11 2437ff75d9bd: Verifying Checksum 16:02:11 2437ff75d9bd: Download complete 16:02:13 8998bd30e6a1: Pull complete 16:02:14 04944245beec: Pull complete 16:02:17 699f458cf7ca: Pull complete 16:02:17 765212b225bb: Pull complete 16:02:18 f23df028b6ca: Pull complete 16:02:18 d65c8cfc05b1: Pull complete 16:02:36 2437ff75d9bd: Pull complete 16:02:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:02:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:37 prd-ubuntu20.04-docker-arm64-4c-16g-16165 does not seem to be running inside a container 16:02:37 $ 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/267 -v /w/workspace/device-sdk-go/267:/w/workspace/device-sdk-go/267:rw,z -v /w/workspace/device-sdk-go/267@tmp:/w/workspace/device-sdk-go/267@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:02:40 $ docker top e2650eaca4892bfc28d9d5013a9a75da36c8d1d036324c4c3e31295ae9208ab9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:02:41 ---> job-cost.sh 16:02:41 lf-activate-venv: SKIPPING 16:02:41 INFO: No Stack... 16:02:41 INFO: Retrieving Pricing Info for: v3-standard-4 16:02:42 INFO: Archiving Costs [Pipeline] sh 16:02:43 + cat /w/workspace/device-sdk-go/267/archives/cost.csv 16:02:43 + cut -d, -f6 [Pipeline] lock 16:02:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] 16:02:43 Resource [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] did not exist. Created. 16:02:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:02:43 /w/workspace/device-sdk-go/267@tmp/durable-9f0008bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:02:44 + echo total: 0.10999999940395355 [Pipeline] stash 16:02:44 Warning: overwriting stash ‘stack-cost’ 16:02:44 Stashed 1 file(s) [Pipeline] } 16:02:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-267-stack-cost] [Pipeline] // lock [Pipeline] } 16:02:44 $ docker stop --time=1 e2650eaca4892bfc28d9d5013a9a75da36c8d1d036324c4c3e31295ae9208ab9 16:02:46 $ docker rm -f --volumes e2650eaca4892bfc28d9d5013a9a75da36c8d1d036324c4c3e31295ae9208ab9 [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:02:46 provisioning config files... 16:02:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5560659679322379125tmp [Pipeline] { [Pipeline] sh 16:02:47 + set +x 16:02:47 + bash -s -- 16:02:47 + curl -s https://codecov.io/bash 16:02:47 16:02:47 _____ _ 16:02:47 / ____| | | 16:02:47 | | ___ __| | ___ ___ _____ __ 16:02:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:02:47 | |___| (_) | (_| | __/ (_| (_) \ V / 16:02:47 \_____\___/ \__,_|\___|\___\___/ \_/ 16:02:47 Bash-1.0.6 16:02:47 16:02:47 16:02:47 ==> git version 2.25.1 found 16:02:47 ==> 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:02:47 Release-Date: 2020-01-08 16:02:47 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:02:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:02:47 ==> Jenkins CI detected. 16:02:47 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 16:02:47 project root: . 16:02:47 --> token set from env 16:02:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:02:47 ==> Running gcov in . (disable via -X gcov) 16:02:47 ==> Python coveragepy not found 16:02:47 ==> Searching for coverage reports in: 16:02:47 + . 16:02:47 -> Found 1 reports 16:02:47 ==> Detecting git/mercurial file structure 16:02:47 ==> Reading reports 16:02:47 + ./coverage.out bytes=122153 16:02:47 ==> Appending adjustments 16:02:47 https://docs.codecov.io/docs/fixing-reports 16:02:47 + Found adjustments 16:02:47 ==> Gzipping contents 16:02:47 20K /tmp/codecov.Y0Y12M.gz 16:02:47 ==> Uploading reports 16:02:47 url: https://codecov.io 16:02:47 query: branch=main&commit=cdda6ba38339e8ee36b58c288de44ad2194d3f5d&build=267&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F267%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:02:47 -> Pinging Codecov 16:02:47 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=cdda6ba38339e8ee36b58c288de44ad2194d3f5d&build=267&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F267%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:02:47 -> Uploading to 16:02:47 https://storage.googleapis.com/codecov/v4/raw/2023-11-01/7E55EF52A471D76F132DFD9A03CDDE97/cdda6ba38339e8ee36b58c288de44ad2194d3f5d/de10acde-489e-48c2-8ad2-27f5a4b4060b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T160247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2f6573f9cffbd03e757b5caebe1ae775608113882dc8b094cd659b633e542912 16:02:47 % Total % Received % Xferd Average Speed Time Time Time Current 16:02:47 Dload Upload Total Spent Left Speed 16:02:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16752 0 0 100 16752 0 58166 --:--:-- --:--:-- --:--:-- 58166 16:02:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] } 16:02:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:02:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:02:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:02:48 16:02:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:02:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:02:48 df9b9388f04a: Pulling fs layer 16:02:48 52dc419b0ee2: Pulling fs layer 16:02:48 25bc292e5bac: Pulling fs layer 16:02:48 114826534d7a: Pulling fs layer 16:02:48 4657fd5d0bcf: Pulling fs layer 16:02:48 6ad1cebc031e: Pulling fs layer 16:02:48 8a3aa393b2d8: Pulling fs layer 16:02:48 4657fd5d0bcf: Waiting 16:02:48 6ad1cebc031e: Waiting 16:02:48 8a3aa393b2d8: Waiting 16:02:48 114826534d7a: Waiting 16:02:48 25bc292e5bac: Verifying Checksum 16:02:48 25bc292e5bac: Download complete 16:02:48 52dc419b0ee2: Verifying Checksum 16:02:48 52dc419b0ee2: Download complete 16:02:48 4657fd5d0bcf: Verifying Checksum 16:02:48 4657fd5d0bcf: Download complete 16:02:48 df9b9388f04a: Verifying Checksum 16:02:48 df9b9388f04a: Download complete 16:02:48 6ad1cebc031e: Verifying Checksum 16:02:48 6ad1cebc031e: Download complete 16:02:48 df9b9388f04a: Pull complete 16:02:48 52dc419b0ee2: Pull complete 16:02:49 25bc292e5bac: Pull complete 16:02:49 114826534d7a: Verifying Checksum 16:02:49 114826534d7a: Download complete 16:02:49 8a3aa393b2d8: Verifying Checksum 16:02:49 8a3aa393b2d8: Download complete 16:02:53 114826534d7a: Pull complete 16:02:53 4657fd5d0bcf: Pull complete 16:02:53 6ad1cebc031e: Pull complete 16:02:55 8a3aa393b2d8: Pull complete 16:02:55 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:02:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:02:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:55 prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container 16:02:55 $ 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:03:03 $ docker top 1b5cac13844b4de5b0a6150932652468a4e81bc00884014b3eff9388ae8ced27 -eo pid,comm [Pipeline] { [Pipeline] echo 16:03:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 16:03:03 + set -o pipefail 16:03:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 16:03:09 16:03:09 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 16:03:09 16:03:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/87ac14d3-ee0f-45b2-99c2-19ebaeae3688 16:03:09 16:03:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:03:09 16:03:09 16:03:09 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:03:09 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:03:09 More details here: https://snyk.co/ue1NS 16:03:09 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 16:03:09 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 16:03:09 $ docker stop --time=1 1b5cac13844b4de5b0a6150932652468a4e81bc00884014b3eff9388ae8ced27 16:03:14 $ docker rm -f --volumes 1b5cac13844b4de5b0a6150932652468a4e81bc00884014b3eff9388ae8ced27 [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:03:15 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:03:15 provisioning config files... 16:03:15 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5212418440598380330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:03:15 --> edgex-publish-swagger.sh 16:03:15 === Publish openapi/v3 API === 16:03:15 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 16:03:15 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 16:03:15 % Total % Received % Xferd Average Speed Time Time Time Current 16:03:15 Dload Upload Total Spent Left Speed 16:03:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 105k --:--:-- --:--:-- --:--:-- 104k 100 23674 0 0 100 23674 0 50156 --:--:-- --:--:-- --:--:-- 50050 16:03:15 16:03:15 [Pipeline] } 16:03:15 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:03:16 + git log --format=format:%s -1 cdda6ba38339e8ee36b58c288de44ad2194d3f5d [Pipeline] sh 16:03:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:03:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:03:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:16 prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container 16:03:17 $ 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:03:17 $ docker top b1f497cfd29ab5c6da97ae6ea4211eba4f6bcadfa51981e7cef171ff88ed8f02 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:03:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:17 [ssh-agent] Looking for ssh-agent implementation... 16:03:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:17 $ docker exec b1f497cfd29ab5c6da97ae6ea4211eba4f6bcadfa51981e7cef171ff88ed8f02 ssh-agent 16:03:17 SSH_AUTH_SOCK=/tmp/ssh-ubFzUBLwOwF1/agent.31 16:03:17 SSH_AGENT_PID=37 16:03:17 Running ssh-add (command line suppressed) 16:03:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7464132197269656184.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7464132197269656184.key) 16:03:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:18 + git semver tag 16:03:18 2023-11-01 16:03:18,424 [run_tag] DEBUG tag force:False 16:03:18 2023-11-01 16:03:18,424 [check_head_tag] DEBUG check head tag 16:03:18 2023-11-01 16:03:18,425 [execute] INFO git cat-file --batch-check 16:03:18 2023-11-01 16:03:18,425 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:03:18 2023-11-01 16:03:18,428 [execute] INFO git cat-file --batch 16:03:18 2023-11-01 16:03:18,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:03:18 2023-11-01 16:03:18,447 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:18 2023-11-01 16:03:18,447 [execute] INFO git tag -a v3.1.0-dev.38 -m v3.1.0-dev.38 16:03:18 2023-11-01 16:03:18,447 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.38', '-m', 'v3.1.0-dev.38'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:03:18 2023-11-01 16:03:18,450 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:18 3.1.0-dev.38 [Pipeline] } 16:03:18 $ docker exec --env ******** --env ******** b1f497cfd29ab5c6da97ae6ea4211eba4f6bcadfa51981e7cef171ff88ed8f02 ssh-agent -k 16:03:18 unset SSH_AUTH_SOCK; 16:03:18 unset SSH_AGENT_PID; 16:03:18 echo Agent pid 37 killed; 16:03:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:03:18 + git semver [Pipeline] } 16:03:19 $ docker stop --time=1 b1f497cfd29ab5c6da97ae6ea4211eba4f6bcadfa51981e7cef171ff88ed8f02 16:03:20 $ docker rm -f --volumes b1f497cfd29ab5c6da97ae6ea4211eba4f6bcadfa51981e7cef171ff88ed8f02 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:03:20 16:03:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:03:21 0.23.1-centos7: Pulling from edgex-lftools 16:03:21 ab5ef0e58194: Pulling fs layer 16:03:21 9712f1f96733: Pulling fs layer 16:03:21 63f879dbbcfc: Pulling fs layer 16:03:21 0d9ebad4ef96: Pulling fs layer 16:03:21 e9a5061849ea: Pulling fs layer 16:03:21 d747dcd14b5f: Pulling fs layer 16:03:21 2de7ff778b66: Pulling fs layer 16:03:21 0d9ebad4ef96: Waiting 16:03:21 e9a5061849ea: Waiting 16:03:21 d747dcd14b5f: Waiting 16:03:21 2de7ff778b66: Waiting 16:03:21 9712f1f96733: Download complete 16:03:21 63f879dbbcfc: Verifying Checksum 16:03:21 63f879dbbcfc: Download complete 16:03:21 0d9ebad4ef96: Verifying Checksum 16:03:21 0d9ebad4ef96: Download complete 16:03:21 d747dcd14b5f: Verifying Checksum 16:03:21 d747dcd14b5f: Download complete 16:03:21 e9a5061849ea: Verifying Checksum 16:03:21 e9a5061849ea: Download complete 16:03:21 ab5ef0e58194: Download complete 16:03:21 2de7ff778b66: Verifying Checksum 16:03:21 2de7ff778b66: Download complete 16:03:24 ab5ef0e58194: Pull complete 16:03:24 9712f1f96733: Pull complete 16:03:25 63f879dbbcfc: Pull complete 16:03:29 0d9ebad4ef96: Pull complete 16:03:29 e9a5061849ea: Pull complete 16:03:29 d747dcd14b5f: Pull complete 16:03:30 2de7ff778b66: Pull complete 16:03:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:03:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:03:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:30 prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container 16:03:30 $ 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:03:42 $ docker top 6509fd1ea5493faa2b74382232b6e49b0214434843b5ed9f26cee79457bcc523 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:03:42 provisioning config files... 16:03:42 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1569473157726261905tmp 16:03:42 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11481361772047497785tmp 16:03:42 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2108336094588488540tmp [Pipeline] { [Pipeline] echo 16:03:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:03:42 ---> sigul-configuration.sh 16:03:42 gpg: directory `/root/.gnupg' created 16:03:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:03:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:03:42 gpg: keyring `/root/.gnupg/secring.gpg' created 16:03:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:03:42 gpg: CAST5 encrypted data 16:03:42 gpg: encrypted with 1 passphrase 16:03:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:03:42 + mkdir /home/jenkins 16:03:42 + mkdir /home/jenkins/sigul [Pipeline] sh 16:03:43 + 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:03:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:03:43 ---> sigul-install.sh 16:03:43 Sigul already installed; skipping installation. [Pipeline] sh 16:03:43 + git tag --list 16:03:43 0.7.1 16:03:43 delhi-tag 16:03:43 v1.0.0 16:03:43 v1.1.0 16:03:43 v1.1.1 16:03:43 v1.1.2 16:03:43 v1.2.0 16:03:43 v1.2.1 16:03:43 v1.2.2 16:03:43 v1.2.3 16:03:43 v1.3.0 16:03:43 v1.4.0 16:03:43 v2.0.0 16:03:43 v2.1.0 16:03:43 v2.1.1 16:03:43 v2.2.0 16:03:43 v2.3.0 16:03:43 v2.3.1 16:03:43 v3.0 16:03:43 v3.0.0 16:03:43 v3.0.1-dev.1 16:03:43 v3.1.0-dev.1 16:03:43 v3.1.0-dev.10 16:03:43 v3.1.0-dev.11 16:03:43 v3.1.0-dev.12 16:03:43 v3.1.0-dev.13 16:03:43 v3.1.0-dev.14 16:03:43 v3.1.0-dev.15 16:03:43 v3.1.0-dev.16 16:03:43 v3.1.0-dev.17 16:03:43 v3.1.0-dev.18 16:03:43 v3.1.0-dev.19 16:03:43 v3.1.0-dev.2 16:03:43 v3.1.0-dev.20 16:03:43 v3.1.0-dev.21 16:03:43 v3.1.0-dev.22 16:03:43 v3.1.0-dev.23 16:03:43 v3.1.0-dev.24 16:03:43 v3.1.0-dev.25 16:03:43 v3.1.0-dev.26 16:03:43 v3.1.0-dev.27 16:03:43 v3.1.0-dev.28 16:03:43 v3.1.0-dev.29 16:03:43 v3.1.0-dev.3 16:03:43 v3.1.0-dev.30 16:03:43 v3.1.0-dev.31 16:03:43 v3.1.0-dev.32 16:03:43 v3.1.0-dev.33 16:03:43 v3.1.0-dev.34 16:03:43 v3.1.0-dev.35 16:03:43 v3.1.0-dev.36 16:03:43 v3.1.0-dev.37 16:03:43 v3.1.0-dev.38 16:03:43 v3.1.0-dev.4 16:03:43 v3.1.0-dev.5 16:03:43 v3.1.0-dev.6 16:03:43 v3.1.0-dev.7 16:03:43 v3.1.0-dev.8 16:03:43 v3.1.0-dev.9 [Pipeline] sh 16:03:44 + lftools sign git-tag v3.1.0-dev.38 16:03:44 Signing Git tag with Sigul... 16:03:44 Signing v3.1.0-dev.38 [Pipeline] echo 16:03:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:03:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:03:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:03:45 $ docker stop --time=1 6509fd1ea5493faa2b74382232b6e49b0214434843b5ed9f26cee79457bcc523 16:03:46 $ docker rm -f --volumes 6509fd1ea5493faa2b74382232b6e49b0214434843b5ed9f26cee79457bcc523 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:03:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:03:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:03:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:47 prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container 16:03:47 $ 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:03:47 $ docker top 3658c44a020bd85380b7a0dff4b06aa7458cc2921d590c2c7ad606c0d09ba6a2 -eo pid,comm 16:03:47 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:03:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:03:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:47 [ssh-agent] Looking for ssh-agent implementation... 16:03:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:47 $ docker exec 3658c44a020bd85380b7a0dff4b06aa7458cc2921d590c2c7ad606c0d09ba6a2 ssh-agent 16:03:47 SSH_AUTH_SOCK=/tmp/ssh-uSykcJ5j0twG/agent.32 16:03:47 SSH_AGENT_PID=38 16:03:48 Running ssh-add (command line suppressed) 16:03:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15917179011253245560.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15917179011253245560.key) 16:03:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:48 + git semver bump pre 16:03:48 2023-11-01 16:03:48,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:48 2023-11-01 16:03:48,587 [bump_version] DEBUG bumping version:3.1.0-dev.38 on axis:pre with prefix:dev 16:03:48 2023-11-01 16:03:48,587 [bump_version] DEBUG bumped version:3.1.0-dev.39 16:03:48 2023-11-01 16:03:48,587 [write_version] DEBUG write version:3.1.0-dev.39 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 16:03:48 2023-11-01 16:03:48,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:48 2023-11-01 16:03:48,587 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:48 2023-11-01 16:03:48,589 [execute] INFO git cat-file --batch-check 16:03:48 2023-11-01 16:03:48,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:03:48 2023-11-01 16:03:48,594 [execute] INFO git cat-file --batch 16:03:48 2023-11-01 16:03:48,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:03:48 2023-11-01 16:03:48,599 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:48 3.1.0-dev.39 [Pipeline] } 16:03:48 $ docker exec --env ******** --env ******** 3658c44a020bd85380b7a0dff4b06aa7458cc2921d590c2c7ad606c0d09ba6a2 ssh-agent -k 16:03:48 unset SSH_AUTH_SOCK; 16:03:48 unset SSH_AGENT_PID; 16:03:48 echo Agent pid 38 killed; 16:03:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:03:49 + git semver [Pipeline] } 16:03:49 $ docker stop --time=1 3658c44a020bd85380b7a0dff4b06aa7458cc2921d590c2c7ad606c0d09ba6a2 16:03:50 $ docker rm -f --volumes 3658c44a020bd85380b7a0dff4b06aa7458cc2921d590c2c7ad606c0d09ba6a2 [Pipeline] // withDockerContainer [Pipeline] sh 16:03:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:03:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:03:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:51 prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container 16:03:51 $ 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:03:51 $ docker top a6ec0d286522a2b6ba92be2b96a8e257baad7010ce08da223e25f5953d5bfd43 -eo pid,comm 16:03:51 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:03:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:03:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:51 [ssh-agent] Looking for ssh-agent implementation... 16:03:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:51 $ docker exec a6ec0d286522a2b6ba92be2b96a8e257baad7010ce08da223e25f5953d5bfd43 ssh-agent 16:03:51 SSH_AUTH_SOCK=/tmp/ssh-gUpUcLkY09HA/agent.32 16:03:51 SSH_AGENT_PID=38 16:03:51 Running ssh-add (command line suppressed) 16:03:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_476216036301920922.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_476216036301920922.key) 16:03:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:52 + git semver push 16:03:52 2023-11-01 16:03:52,548 [run_push] DEBUG push 16:03:52 2023-11-01 16:03:52,549 [execute] INFO git cat-file --batch-check 16:03:52 2023-11-01 16:03:52,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:03:52 2023-11-01 16:03:52,553 [execute] INFO git rev-list faccf54a2bf7a95f9b8af30b8a3e0c8887ecc1cb -- 16:03:52 2023-11-01 16:03:52,553 [execute] DEBUG Popen(['git', 'rev-list', 'faccf54a2bf7a95f9b8af30b8a3e0c8887ecc1cb', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:03:52 2023-11-01 16:03:52,564 [execute] INFO git fetch -v origin 16:03:52 2023-11-01 16:03:52,565 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:03:53 2023-11-01 16:03:53,125 [run_push] DEBUG no remote changes detected 16:03:53 2023-11-01 16:03:53,125 [execute] INFO git push origin semver 16:03:53 2023-11-01 16:03:53,126 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:03:54 2023-11-01 16:03:53,972 [run_push] DEBUG push all version tags 16:03:54 2023-11-01 16:03:53,973 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:03:54 2023-11-01 16:03:53,973 [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:03:54 2023-11-01 16:03:54,801 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:54 3.1.0-dev.39 [Pipeline] } 16:03:54 $ docker exec --env ******** --env ******** a6ec0d286522a2b6ba92be2b96a8e257baad7010ce08da223e25f5953d5bfd43 ssh-agent -k 16:03:55 unset SSH_AUTH_SOCK; 16:03:55 unset SSH_AGENT_PID; 16:03:55 echo Agent pid 38 killed; 16:03:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:03:55 + git semver [Pipeline] } 16:03:55 $ docker stop --time=1 a6ec0d286522a2b6ba92be2b96a8e257baad7010ce08da223e25f5953d5bfd43 16:03:56 $ docker rm -f --volumes a6ec0d286522a2b6ba92be2b96a8e257baad7010ce08da223e25f5953d5bfd43 [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:03:57 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 16:03:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:03:57 total 16 16:03:57 drwxr-xr-x 3 root root 4096 Nov 1 15:53 . 16:03:57 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 16:03 .. 16:03:57 drwxr-xr-x 2 root root 4096 Nov 1 15:53 cost 16:03:57 -rw-r--r-- 1 root root 85 Nov 1 15:53 cost.csv 16:03:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:03:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:03:57 total 16 16:03:57 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 15:53 . 16:03:57 drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 16:03 .. 16:03:57 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 15:53 cost 16:03:57 -rw-r--r-- 1 jenkins jenkins 85 Nov 1 15:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:03:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:03:58 ---> package-listing.sh 16:03:58 ++ facter osfamily 16:03:58 ++ tr '[:upper:]' '[:lower:]' 16:03:58 + OS_FAMILY=debian 16:03:58 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 16:03:58 + START_PACKAGES=/tmp/packages_start.txt 16:03:58 + END_PACKAGES=/tmp/packages_end.txt 16:03:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:03:58 + PACKAGES=/tmp/packages_start.txt 16:03:58 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:03:58 + PACKAGES=/tmp/packages_end.txt 16:03:58 + case "${OS_FAMILY}" in 16:03:58 + dpkg -l 16:03:58 + grep '^ii' 16:03:58 + '[' -f /tmp/packages_start.txt ']' 16:03:58 + '[' -f /tmp/packages_end.txt ']' 16:03:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:03:58 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:03:58 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 16:03:58 + 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:03:58 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:03:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:03:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:59 prd-ubuntu20.04-docker-8c-8g-16158 does not seem to be running inside a container 16:03:59 $ 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:04:00 $ docker top e03af0e00fd63e40a708143515fb7c0760ead3ca725dcb115bda97023ee0e660 -eo pid,comm [Pipeline] { [Pipeline] sh 16:04:00 + touch /tmp/pre-build-complete [Pipeline] sh 16:04:00 + mkdir -p /var/log/sysstat [Pipeline] sh 16:04:01 + ls /var/log/sa-host 16:04:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:04:01 provisioning config files... 16:04:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10261095099915057412tmp [Pipeline] { [Pipeline] echo 16:04:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:04:01 ---> create-netrc.sh [Pipeline] } 16:04:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:04:01 ---> python-tools-install.sh [Pipeline] echo 16:04:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:04:02 ---> sudo-logs.sh 16:04:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:04:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:04:02 ---> job-cost.sh 16:04:02 lf-activate-venv: SKIPPING 16:04:02 DEBUG: total: 0.2199999988079071 16:04:02 INFO: Retrieving Stack Cost... 16:04:02 INFO: Retrieving Pricing Info for: v3-standard-8 16:04:03 INFO: Archiving Costs [Pipeline] echo 16:04:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:04:03 ---> logs-deploy.sh 16:04:03 lf-activate-venv: SKIPPING 16:04:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/267 16:04:03 INFO: archiving workspace using pattern(s): 16:04:04 Archives upload complete. 16:04:04 INFO: archiving logs to Nexus