Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 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-ssh11422554359842641852.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6981239556065784184.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh3507494712700278268.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh6932625477893924972.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-ssh7381306207368256659.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-9261’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9263 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 cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Commit message: "Merge pull request #1430 from weichou1229/bump-bootstrap" > git config core.sparsecheckout # timeout=10 > git checkout -f cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 # timeout=10 > git rev-list --no-walk 68f2c3776b57ed1a5eef5a5e3525a947923e1899 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:01:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:01:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:01:02 ========================================================= 07:01:02 EdgeX Global Pipelines Version Info 07:01:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:01:02 ------------------- 07:01:02 stable info: 07:01:02 ------------------- 07:01:02 Commited By: Bill Mahoney bill.mahoney@intel.com 07:01:02 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:01:02 Message: update stable to v1.0.248 07:01:03 ------------------- 07:01:03 experimental info: 07:01:03 ------------------- 07:01:03 Commited By: **** collab-it+edgex@linuxfoundation.org 07:01:03 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:01:03 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:01:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cde88bf [Pipeline] echo 07:01:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:01:04 provisioning config files... 07:01:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8400330590028552742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:01:04 ---> docker-login.sh 07:01:04 nexus3.edgexfoundry.org:10001 07:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:04 Configure a credential helper to remove this warning. See 07:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:04 07:01:04 Login Succeeded 07:01:04 nexus3.edgexfoundry.org:10002 07:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:05 Configure a credential helper to remove this warning. See 07:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:05 07:01:05 Login Succeeded 07:01:05 nexus3.edgexfoundry.org:10003 07:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:05 Configure a credential helper to remove this warning. See 07:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:05 07:01:05 Login Succeeded 07:01:05 nexus3.edgexfoundry.org:10004 07:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:05 Configure a credential helper to remove this warning. See 07:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:05 07:01:05 Login Succeeded 07:01:05 docker.io 07:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:05 Configure a credential helper to remove this warning. See 07:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:05 07:01:05 Login Succeeded 07:01:05 ---> docker-login.sh ends [Pipeline] } 07:01:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:01:06 + git rev-list -1 --merges cde88bf2b5c9128080ea31e517add5c9ccc9a0d0~1..cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 [Pipeline] echo 07:01:06 -----------> git rev-list -1 --merges cde88bf2b5c9128080ea31e517add5c9ccc9a0d0~1..cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 07:01:06 cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 [false] [Pipeline] sh 07:01:06 + git log --format=format:%s -1 cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 [Pipeline] echo 07:01:06 ========================================================= 07:01:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:01:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:01:06 + git log --format=format:%s -1 cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 [Pipeline] echo 07:01:06 [semverPrep] GIT_COMMIT: cde88bf2b5c9128080ea31e517add5c9ccc9a0d0, Commit Message: Merge pull request #1430 from weichou1229/bump-bootstrap [Pipeline] echo 07:01:06 [semverPrep] This is not a build commit. [Pipeline] sh 07:01:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:01:07 + grep -v github /etc/ssh/ssh_known_hosts 07:01:07 + [ -e /tmp/ssh_known_hosts ] 07:01:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:01:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:01:07 + sudo tee -a /etc/ssh/ssh_known_hosts 07:01:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:01:07 07:01:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:01:07 0.1.4: Pulling from edgex-devops/py-git-semver 07:01:07 b85a868b505f: Pulling fs layer 07:01:07 e2be974225ed: Pulling fs layer 07:01:07 339a4e72a1f5: Pulling fs layer 07:01:07 988bab9f4d93: Pulling fs layer 07:01:07 1469e6f7b9e6: Pulling fs layer 07:01:07 eaf3925da568: Pulling fs layer 07:01:07 bab4dde63d76: Pulling fs layer 07:01:07 bde34c3a00c8: Pulling fs layer 07:01:07 b352a97aabf1: Pulling fs layer 07:01:07 4872d77fe225: Pulling fs layer 07:01:07 5851b861e8e6: Pulling fs layer 07:01:07 bab4dde63d76: Waiting 07:01:07 bde34c3a00c8: Waiting 07:01:07 b352a97aabf1: Waiting 07:01:07 4872d77fe225: Waiting 07:01:07 5851b861e8e6: Waiting 07:01:07 988bab9f4d93: Waiting 07:01:07 1469e6f7b9e6: Waiting 07:01:07 eaf3925da568: Waiting 07:01:07 e2be974225ed: Download complete 07:01:07 988bab9f4d93: Verifying Checksum 07:01:07 988bab9f4d93: Download complete 07:01:07 1469e6f7b9e6: Verifying Checksum 07:01:07 1469e6f7b9e6: Download complete 07:01:07 eaf3925da568: Download complete 07:01:07 339a4e72a1f5: Verifying Checksum 07:01:07 339a4e72a1f5: Download complete 07:01:08 bde34c3a00c8: Verifying Checksum 07:01:08 bde34c3a00c8: Download complete 07:01:08 b352a97aabf1: Download complete 07:01:08 4872d77fe225: Download complete 07:01:08 5851b861e8e6: Verifying Checksum 07:01:08 5851b861e8e6: Download complete 07:01:08 b85a868b505f: Download complete 07:01:08 bab4dde63d76: Verifying Checksum 07:01:08 bab4dde63d76: Download complete 07:01:09 b85a868b505f: Pull complete 07:01:09 e2be974225ed: Pull complete 07:01:10 339a4e72a1f5: Pull complete 07:01:10 988bab9f4d93: Pull complete 07:01:10 1469e6f7b9e6: Pull complete 07:01:10 eaf3925da568: Pull complete 07:01:12 bab4dde63d76: Pull complete 07:01:12 bde34c3a00c8: Pull complete 07:01:12 b352a97aabf1: Pull complete 07:01:12 4872d77fe225: Pull complete 07:01:12 5851b861e8e6: Pull complete 07:01:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:01:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:01:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:12 prd-ubuntu20.04-docker-8c-8g-9263 does not seem to be running inside a container 07:01:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:01:14 $ docker top 78203de9bfb736eb80249c9bca356b664018db9974e8fdf0fd6436a407342e76 -eo pid,comm 07:01:14 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). 07:01:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:01:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:01:15 [ssh-agent] Looking for ssh-agent implementation... 07:01:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:01:15 $ docker exec 78203de9bfb736eb80249c9bca356b664018db9974e8fdf0fd6436a407342e76 ssh-agent 07:01:15 SSH_AUTH_SOCK=/tmp/ssh-0zrb4bIQqX8Q/agent.32 07:01:15 SSH_AGENT_PID=38 07:01:15 Running ssh-add (command line suppressed) 07:01:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3705634366163297591.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3705634366163297591.key) 07:01:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:01:15 + git tag --points-at HEAD [Pipeline] } 07:01:15 $ docker exec --env ******** --env ******** 78203de9bfb736eb80249c9bca356b664018db9974e8fdf0fd6436a407342e76 ssh-agent -k 07:01:15 unset SSH_AUTH_SOCK; 07:01:15 unset SSH_AGENT_PID; 07:01:15 echo Agent pid 38 killed; 07:01:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:01:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:01:15 [ssh-agent] Looking for ssh-agent implementation... 07:01:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:01:15 $ docker exec 78203de9bfb736eb80249c9bca356b664018db9974e8fdf0fd6436a407342e76 ssh-agent 07:01:16 SSH_AUTH_SOCK=/tmp/ssh-jnlGpoYVcCe4/agent.70 07:01:16 SSH_AGENT_PID=76 07:01:16 Running ssh-add (command line suppressed) 07:01:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17951137521340700325.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17951137521340700325.key) 07:01:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:01:16 + git semver init 07:01:16 2023-04-21 07:01:16,635 [run_init] DEBUG init version:0.0.0 force:False 07:01:16 2023-04-21 07:01:16,636 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:01:16 2023-04-21 07:01:16,636 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:01:16 2023-04-21 07:01:16,637 [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) 07:01:17 2023-04-21 07:01:17,500 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 07:01:17 2023-04-21 07:01:17,501 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 07:01:17 2023-04-21 07:01:17,501 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:01:17 2023-04-21 07:01:17,501 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:01:17 3.0.0-dev.73 [Pipeline] } 07:01:17 $ docker exec --env ******** --env ******** 78203de9bfb736eb80249c9bca356b664018db9974e8fdf0fd6436a407342e76 ssh-agent -k 07:01:17 unset SSH_AUTH_SOCK; 07:01:17 unset SSH_AGENT_PID; 07:01:17 echo Agent pid 76 killed; 07:01:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:01:18 + git semver [Pipeline] } 07:01:18 $ docker stop --time=1 78203de9bfb736eb80249c9bca356b664018db9974e8fdf0fd6436a407342e76 07:01:19 $ docker rm -f --volumes 78203de9bfb736eb80249c9bca356b664018db9974e8fdf0fd6436a407342e76 [Pipeline] // withDockerContainer [Pipeline] sh 07:01:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:01:20 Stashed 1 file(s) [Pipeline] echo 07:01:20 [edgeXSemver]: initialized semver on version 3.0.0-dev.73 [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 07:01:20 provisioning config files... 07:01:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15564606373838411210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:01:20 ---> docker-login.sh 07:01:20 nexus3.edgexfoundry.org:10001 07:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:20 Configure a credential helper to remove this warning. See 07:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:20 07:01:20 Login Succeeded 07:01:20 nexus3.edgexfoundry.org:10002 07:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:20 Configure a credential helper to remove this warning. See 07:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:20 07:01:20 Login Succeeded 07:01:20 nexus3.edgexfoundry.org:10003 07:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:20 Configure a credential helper to remove this warning. See 07:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:20 07:01:20 Login Succeeded 07:01:20 nexus3.edgexfoundry.org:10004 07:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:20 Configure a credential helper to remove this warning. See 07:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:20 07:01:20 Login Succeeded 07:01:20 docker.io 07:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:21 Configure a credential helper to remove this warning. See 07:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:21 07:01:21 Login Succeeded 07:01:21 ---> docker-login.sh ends [Pipeline] } 07:01:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:01:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:01:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:01:21 ========================================================= 07:01:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:01:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:21 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:01:21 Sending build context to Docker daemon 10.98MB 07:01:21 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:01:21 Step 2/10 : FROM ${BASE} AS builder 07:01:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:01:21 63b65145d645: Pulling fs layer 07:01:21 a2d21d5440eb: Pulling fs layer 07:01:21 935e6c44a52c: Pulling fs layer 07:01:21 94cc34f8dd06: Pulling fs layer 07:01:21 30dea6a524f1: Pulling fs layer 07:01:21 a2aff8979fd8: Pulling fs layer 07:01:21 6808be2612f2: Pulling fs layer 07:01:21 f25807f1079a: Pulling fs layer 07:01:21 30dea6a524f1: Waiting 07:01:21 a2aff8979fd8: Waiting 07:01:21 94cc34f8dd06: Waiting 07:01:21 6808be2612f2: Waiting 07:01:21 f25807f1079a: Waiting 07:01:21 a2d21d5440eb: Verifying Checksum 07:01:21 94cc34f8dd06: Verifying Checksum 07:01:21 94cc34f8dd06: Download complete 07:01:21 30dea6a524f1: Download complete 07:01:21 63b65145d645: Verifying Checksum 07:01:21 63b65145d645: Download complete 07:01:21 a2aff8979fd8: Verifying Checksum 07:01:21 a2aff8979fd8: Download complete 07:01:21 63b65145d645: Pull complete 07:01:22 a2d21d5440eb: Pull complete 07:01:22 f25807f1079a: Verifying Checksum 07:01:22 f25807f1079a: Download complete 07:01:22 935e6c44a52c: Verifying Checksum 07:01:22 935e6c44a52c: Download complete 07:01:22 6808be2612f2: Verifying Checksum 07:01:22 6808be2612f2: Download complete 07:01:25 935e6c44a52c: Pull complete 07:01:25 94cc34f8dd06: Pull complete 07:01:25 30dea6a524f1: Pull complete 07:01:26 a2aff8979fd8: Pull complete 07:01:28 6808be2612f2: Pull complete 07:01:29 f25807f1079a: Pull complete 07:01:29 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:01:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:01:29 ---> 3b553350e43f 07:01:29 Step 3/10 : ARG MAKE=make build 07:01:31 ---> Running in 1659f41e59f5 07:01:31 Removing intermediate container 1659f41e59f5 07:01:31 ---> bf78577c7438 07:01:31 Step 4/10 : WORKDIR /device-sdk-go 07:01:31 ---> Running in 11068787a799 07:01:32 Removing intermediate container 11068787a799 07:01:32 ---> 2e94d025e10b 07:01:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:01:32 ---> Running in a1f932f3a6ee 07:01:32 Removing intermediate container a1f932f3a6ee 07:01:32 ---> 2889d612b5d3 07:01:32 Step 6/10 : RUN apk add --update --no-cache make git 07:01:32 ---> Running in 0649e7b24f84 07:01:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:01:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:01:32 OK: 265 MiB in 53 packages 07:01:32 Removing intermediate container 0649e7b24f84 07:01:32 ---> 08b53014a365 07:01:32 Step 7/10 : COPY go.mod vendor* ./ 07:01:33 ---> 37cb3971b46d 07:01:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:01:33 ---> Running in f361415f50c5 07:01:35 Still waiting to schedule task 07:01:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9262’ is offline 07:02:05 Removing intermediate container f361415f50c5 07:02:05 ---> 6781c802c20a 07:02:05 Step 9/10 : COPY . . 07:02:05 ---> eaf325b142ea 07:02:05 Step 10/10 : RUN ${MAKE} 07:02:05 ---> Running in 8c046b8da155 07:02:05 noop 07:02:05 Removing intermediate container 8c046b8da155 07:02:05 ---> af902eb72270 07:02:05 Successfully built af902eb72270 07:02:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:05 + docker inspect -f . ci-base-image-x86_64 07:02:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:05 prd-ubuntu20.04-docker-8c-8g-9263 does not seem to be running inside a container 07:02:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:02:06 $ docker top 0179a2a3df70951e238253a48afc13a8cbbf6415dc40a37c559e9beda0023a87 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:06 + go version 07:02:06 go version go1.20.2 linux/amd64 [Pipeline] } 07:02:06 $ docker stop --time=1 0179a2a3df70951e238253a48afc13a8cbbf6415dc40a37c559e9beda0023a87 07:02:07 $ docker rm -f --volumes 0179a2a3df70951e238253a48afc13a8cbbf6415dc40a37c559e9beda0023a87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:08 + docker inspect -f . ci-base-image-x86_64 07:02:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:08 prd-ubuntu20.04-docker-8c-8g-9263 does not seem to be running inside a container 07:02:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:02:08 $ docker top 85445b5bcda9a95b0b5e39fd522b4b3d82f69f0a501f8ae775daef30838068ed -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 07:02:09 + make test 07:02:09 go test -race -coverprofile=coverage.out ./... 07:02:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:02:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:02:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:02:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:02:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:02:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:02:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.053s coverage: 27.6% of statements 07:02:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.075s coverage: 80.2% of statements 07:02:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:02:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:02:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.080s coverage: 86.0% of statements 07:02:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:02:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.104s coverage: 77.5% of statements 07:02:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 07:02:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:02:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:02:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:02:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.077s coverage: 14.6% of statements 07:02:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements 07:02:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.112s coverage: 89.2% of statements 07:02:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 07:02:58 GO111MODULE=on go vet ./... 07:03:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:03:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:03:00 ./bin/test-attribution-txt.sh [Pipeline] echo 07:03:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:03:00 $ docker stop --time=1 85445b5bcda9a95b0b5e39fd522b4b3d82f69f0a501f8ae775daef30838068ed 07:03:03 $ docker rm -f --volumes 85445b5bcda9a95b0b5e39fd522b4b3d82f69f0a501f8ae775daef30838068ed [Pipeline] // withDockerContainer [Pipeline] sh 07:03:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:03:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:03:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:03:04 + ls -al . 07:03:04 total 272 07:03:04 drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 07:02 . 07:03:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 07:01 .. 07:03:04 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 07:01 .dockerignore 07:03:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 07:01 .git 07:03:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 07:01 .github 07:03:04 -rw-rw-r-- 1 jenkins jenkins 131 Apr 21 07:01 .gitignore 07:03:04 -rw-rw-r-- 1 jenkins jenkins 42 Apr 21 07:01 .golangci.yml 07:03:04 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 07:01 .semver 07:03:04 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 21 07:01 CHANGELOG.md 07:03:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 07:01 GOVERNANCE.md 07:03:04 -rw-rw-r-- 1 jenkins jenkins 885 Apr 21 07:01 Jenkinsfile 07:03:04 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 07:01 LICENSE 07:03:04 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 21 07:01 Makefile 07:03:04 -rw-rw-r-- 1 jenkins jenkins 619 Apr 21 07:01 OWNERS.md 07:03:04 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 21 07:01 README.md 07:03:04 -rw-rw-r-- 1 jenkins jenkins 12 Apr 21 07:01 VERSION 07:03:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 07:01 bin 07:03:04 -rw-r--r-- 1 jenkins jenkins 106119 Apr 21 07:02 coverage.out 07:03:04 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 07:01 example 07:03:04 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 21 07:01 go.mod 07:03:04 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 21 07:01 go.sum 07:03:04 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 07:01 internal 07:03:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 07:01 openapi 07:03:04 drwxrwxr-x 6 jenkins jenkins 4096 Apr 21 07:01 pkg 07:03:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 07:01 snap 07:03:04 -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 07:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:04 + 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=cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 --label arch=amd64 --label version=3.0.0-dev.73 . 07:03:04 Sending build context to Docker daemon 11.09MB 07:03:04 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 07:03:04 Step 2/23 : FROM ${BASE} AS builder 07:03:04 ---> af902eb72270 07:03:04 Step 3/23 : ARG MAKE=make build 07:03:05 ---> Running in 078374555a15 07:03:05 Removing intermediate container 078374555a15 07:03:05 ---> c4cabbebbc37 07:03:05 Step 4/23 : WORKDIR /device-sdk-go 07:03:05 ---> Running in 7b90846c1e4a 07:03:05 Removing intermediate container 7b90846c1e4a 07:03:05 ---> f4e386e7a0b6 07:03:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:03:05 ---> Running in 4c270dcd28c0 07:03:05 Removing intermediate container 4c270dcd28c0 07:03:05 ---> 1ff3cec26e37 07:03:05 Step 6/23 : RUN apk add --update --no-cache make git 07:03:05 ---> Running in 91a507de135d 07:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:03:05 OK: 265 MiB in 53 packages 07:03:06 Removing intermediate container 91a507de135d 07:03:06 ---> 2089460f54a3 07:03:06 Step 7/23 : COPY go.mod vendor* ./ 07:03:06 ---> 91d39ec8395c 07:03:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:03:06 ---> Running in 61b62514631f 07:03:07 Removing intermediate container 61b62514631f 07:03:07 ---> d9f71367ebf3 07:03:07 Step 9/23 : COPY . . 07:03:07 ---> cb5e79926500 07:03:07 Step 10/23 : RUN ${MAKE} 07:03:07 ---> Running in be2e74bd8afe 07:03:07 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.73" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:03:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9265 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 07:03:13 Running in /w/workspace/device-sdk-go/204 [Pipeline] { [Pipeline] checkout 07:03:13 The recommended git tool is: git 07:03:19 using credential edgex-jenkins-ssh 07:03:19 Cloning the remote Git repository 07:03:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:03:19 > git init /w/workspace/device-sdk-go/204 # timeout=10 07:03:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:03:19 > git --version # timeout=10 07:03:19 > git --version # 'git version 2.25.1' 07:03:19 using GIT_SSH to set credentials SSH Credentials for GitHub 07:03:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:03:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:03:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:03:22 Avoid second fetch 07:03:22 Checking out Revision cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 (main) 07:03:23 Commit message: "Merge pull request #1430 from weichou1229/bump-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:03:22 > git config core.sparsecheckout # timeout=10 07:03:22 > git checkout -f cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 # timeout=10 07:03:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:03:23 % Total % Received % Xferd Average Speed Time Time Time Current 07:03:23 Dload Upload Total Spent Left Speed 07:03:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10503 0 0 81418 0 --:--:-- --:--:-- --:--:-- 80792 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 07:03:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:03:24 + + sudo tee /etc/docker/daemon.new 07:03:24 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:03:24 { 07:03:24 "registry-mirrors": [ 07:03:24 "https://nexus3.edgexfoundry.org:10001" 07:03:24 ], 07:03:24 "bip": "10.250.0.254/24", 07:03:24 "hosts": [ 07:03:24 "tcp://0.0.0.0:5555", 07:03:24 "unix:///var/run/docker.sock" 07:03:24 ], 07:03:24 "mtu": 1458, 07:03:24 "selinux-enabled": true, 07:03:24 "seccomp-profile": "/etc/docker/seccomp.json" 07:03:24 } [Pipeline] sh 07:03:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:03:25 + sudo service docker restart 07:03:26 Removing intermediate container be2e74bd8afe 07:03:26 ---> f91510b26871 07:03:26 Step 11/23 : FROM alpine:3.17 07:03:26 3.17: Pulling from library/alpine 07:03:26 f56be85fc22e: Pulling fs layer 07:03:26 f56be85fc22e: Download complete 07:03:26 f56be85fc22e: Pull complete 07:03:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:03:26 Status: Downloaded newer image for alpine:3.17 07:03:26 ---> 9ed4aefc74f6 07:03:26 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:03:26 ---> Running in 6f206e1362eb 07:03:26 Removing intermediate container 6f206e1362eb 07:03:26 ---> c17c04bcdb41 07:03:26 Step 13/23 : RUN apk add --update --no-cache 07:03:26 ---> Running in 89eae2dea1a5 07:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:03:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:03:30 OK: 7 MiB in 15 packages 07:03:30 Removing intermediate container 89eae2dea1a5 07:03:30 ---> 5206d6033b99 07:03:30 Step 14/23 : WORKDIR / 07:03:30 ---> Running in 07ee6bed63e5 07:03:30 Removing intermediate container 07ee6bed63e5 07:03:30 ---> 9b23a7bccd58 07:03:30 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:03:30 ---> de4eb2665991 07:03:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:03:31 ---> 9f6ce8a5d5fe 07:03:31 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:03:31 ---> 0332ce8d1dd5 07:03:31 Step 18/23 : EXPOSE 59999 07:03:31 ---> Running in 4b2ecc1bf5a9 07:03:31 Removing intermediate container 4b2ecc1bf5a9 07:03:31 ---> 510d7fee432d 07:03:31 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:03:31 ---> Running in b0cba03d2a7b 07:03:31 Removing intermediate container b0cba03d2a7b 07:03:31 ---> 7ec9f1de62a4 07:03:31 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:03:31 ---> Running in 11eb3ae2af6b 07:03:31 Removing intermediate container 11eb3ae2af6b 07:03:31 ---> 834160e12eeb 07:03:31 Step 21/23 : LABEL arch=amd64 07:03:31 ---> Running in f5045938ca7d 07:03:31 Removing intermediate container f5045938ca7d 07:03:31 ---> dc10dc043ede 07:03:31 Step 22/23 : LABEL git_sha=cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 07:03:32 ---> Running in 13e3969a92bc 07:03:32 Removing intermediate container 13e3969a92bc 07:03:32 ---> 93afd41f855a 07:03:32 Step 23/23 : LABEL version=3.0.0-dev.73 07:03:32 ---> Running in 01f65d50e92e 07:03:32 Removing intermediate container 01f65d50e92e 07:03:32 ---> f344c28e03f2 07:03:32 [Warning] One or more build-args [ARCH] were not consumed 07:03:32 Successfully built f344c28e03f2 07:03:32 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 07:03:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:03:32 07:03:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:03:32 latest: Pulling from edgex-lftools-log-publisher 07:03:32 5eb5b503b376: Pulling fs layer 07:03:32 5c69ac0246d0: Pulling fs layer 07:03:32 ec43610c2a17: Pulling fs layer 07:03:32 3a2ae6a8a46f: Pulling fs layer 07:03:32 33b1e0a273af: Pulling fs layer 07:03:32 5d3b04190fa2: Pulling fs layer 07:03:32 2f39f015ded8: Pulling fs layer 07:03:32 3a2ae6a8a46f: Waiting 07:03:32 33b1e0a273af: Waiting 07:03:32 5d3b04190fa2: Waiting 07:03:32 2f39f015ded8: Waiting 07:03:32 5c69ac0246d0: Verifying Checksum 07:03:32 5c69ac0246d0: Download complete 07:03:32 3a2ae6a8a46f: Verifying Checksum 07:03:32 3a2ae6a8a46f: Download complete 07:03:33 ec43610c2a17: Verifying Checksum 07:03:33 ec43610c2a17: Download complete 07:03:33 33b1e0a273af: Verifying Checksum 07:03:33 33b1e0a273af: Download complete 07:03:33 5d3b04190fa2: Verifying Checksum 07:03:33 5d3b04190fa2: Download complete 07:03:33 5eb5b503b376: Verifying Checksum 07:03:33 5eb5b503b376: Download complete 07:03:33 2f39f015ded8: Download complete 07:03:34 5eb5b503b376: Pull complete 07:03:34 5c69ac0246d0: Pull complete 07:03:35 ec43610c2a17: Pull complete 07:03:35 3a2ae6a8a46f: Pull complete 07:03:35 33b1e0a273af: Pull complete 07:03:35 5d3b04190fa2: Pull complete 07:03:40 2f39f015ded8: Pull complete 07:03:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:03:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:03:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:03:40 prd-ubuntu20.04-docker-8c-8g-9263 does not seem to be running inside a container 07:03:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:03:42 $ docker top d5e7a1cbde69f123739bb85ad9a755a85ae38b368be3d45b3d1169d6413a92ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:03:43 ---> job-cost.sh 07:03:43 lf-activate-venv: SKIPPING 07:03:43 INFO: No Stack... 07:03:43 INFO: Retrieving Pricing Info for: v3-standard-8 07:03:43 INFO: Archiving Costs [Pipeline] sh 07:03:43 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 07:03:43 + cut -d, -f6 [Pipeline] withEnv [Pipeline] { [Pipeline] lock 07:03:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-204-stack-cost] 07:03:43 Resource [jenkins-edgexfoundry-device-sdk-go-main-204-stack-cost] did not exist. Created. 07:03:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-204-stack-cost] [Pipeline] { [Pipeline] configFileProvider 07:03:43 provisioning config files... [Pipeline] unstash [Pipeline] sh 07:03:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/204@tmp/config7072533743057904737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:03:44 + echo total: 0.2199999988079071 [Pipeline] stash 07:03:44 Stashed 1 file(s) [Pipeline] } 07:03:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-204-stack-cost] [Pipeline] // lock [Pipeline] } 07:03:44 $ docker stop --time=1 d5e7a1cbde69f123739bb85ad9a755a85ae38b368be3d45b3d1169d6413a92ac 07:03:44 ---> docker-login.sh 07:03:44 nexus3.edgexfoundry.org:10001 07:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:03:44 Configure a credential helper to remove this warning. See 07:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:03:44 07:03:44 Login Succeeded 07:03:44 nexus3.edgexfoundry.org:10002 07:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:03:45 Configure a credential helper to remove this warning. See 07:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:03:45 07:03:45 Login Succeeded 07:03:45 nexus3.edgexfoundry.org:10003 07:03:45 $ docker rm -f --volumes d5e7a1cbde69f123739bb85ad9a755a85ae38b368be3d45b3d1169d6413a92ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:03:45 Configure a credential helper to remove this warning. See 07:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:03:45 07:03:45 Login Succeeded 07:03:45 nexus3.edgexfoundry.org:10004 07:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:03:46 Configure a credential helper to remove this warning. See 07:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:03:46 07:03:46 Login Succeeded 07:03:46 docker.io 07:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:03:46 Configure a credential helper to remove this warning. See 07:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:03:46 07:03:46 Login Succeeded 07:03:46 ---> docker-login.sh ends [Pipeline] } 07:03:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:03:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:03:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:03:46 ========================================================= 07:03:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:03:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:47 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:03:48 Sending build context to Docker daemon 5.896MB 07:03:48 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 07:03:48 Step 2/10 : FROM ${BASE} AS builder 07:03:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:03:48 af6eaf76a39c: Pulling fs layer 07:03:48 55522c791124: Pulling fs layer 07:03:48 ce5c4a1c91eb: Pulling fs layer 07:03:48 169dfbe0d373: Pulling fs layer 07:03:48 e1ff8fa3b103: Pulling fs layer 07:03:48 52ebb69f0ebf: Pulling fs layer 07:03:48 5abe8eddf0d5: Pulling fs layer 07:03:48 e1ff8fa3b103: Waiting 07:03:48 52ebb69f0ebf: Waiting 07:03:48 5abe8eddf0d5: Waiting 07:03:48 169dfbe0d373: Waiting 07:03:48 55522c791124: Verifying Checksum 07:03:48 55522c791124: Download complete 07:03:48 169dfbe0d373: Verifying Checksum 07:03:48 169dfbe0d373: Download complete 07:03:48 e1ff8fa3b103: Verifying Checksum 07:03:48 e1ff8fa3b103: Download complete 07:03:48 af6eaf76a39c: Verifying Checksum 07:03:48 af6eaf76a39c: Download complete 07:03:50 5abe8eddf0d5: Verifying Checksum 07:03:50 5abe8eddf0d5: Download complete 07:03:50 af6eaf76a39c: Pull complete 07:03:50 55522c791124: Pull complete 07:03:51 ce5c4a1c91eb: Verifying Checksum 07:03:51 ce5c4a1c91eb: Download complete 07:03:51 52ebb69f0ebf: Verifying Checksum 07:03:51 52ebb69f0ebf: Download complete 07:04:03 ce5c4a1c91eb: Pull complete 07:04:03 169dfbe0d373: Pull complete 07:04:03 e1ff8fa3b103: Pull complete 07:04:10 52ebb69f0ebf: Pull complete 07:04:15 5abe8eddf0d5: Pull complete 07:04:15 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:04:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:04:15 ---> 6cb57ee374ae 07:04:15 Step 3/10 : ARG MAKE=make build 07:04:16 ---> Running in 1e74ee177a96 07:04:17 Removing intermediate container 1e74ee177a96 07:04:17 ---> 6c410f6d5cfe 07:04:17 Step 4/10 : WORKDIR /device-sdk-go 07:04:17 ---> Running in cbc73962b157 07:04:17 Removing intermediate container cbc73962b157 07:04:17 ---> 6c889d4f9a74 07:04:17 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:04:17 ---> Running in 62a333b728de 07:04:17 Removing intermediate container 62a333b728de 07:04:17 ---> 18e03a218c80 07:04:17 Step 6/10 : RUN apk add --update --no-cache make git 07:04:18 ---> Running in 5cc6850f4e50 07:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:04:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:04:20 OK: 263 MiB in 53 packages 07:04:21 Removing intermediate container 5cc6850f4e50 07:04:21 ---> 2cd806523f3a 07:04:21 Step 7/10 : COPY go.mod vendor* ./ 07:04:22 ---> df35376b0d7d 07:04:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:04:22 ---> Running in 51cc95882ba3 07:05:43 Removing intermediate container 51cc95882ba3 07:05:43 ---> ccb2cc30694d 07:05:43 Step 9/10 : COPY . . 07:05:43 ---> 8f3828483da3 07:05:43 Step 10/10 : RUN ${MAKE} 07:05:43 ---> Running in 3f7bcf782ae2 07:05:43 noop 07:05:44 Removing intermediate container 3f7bcf782ae2 07:05:44 ---> 7dee942feefb 07:05:44 Successfully built 7dee942feefb 07:05:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:45 + docker inspect -f . ci-base-image-arm64 07:05:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:05:45 prd-ubuntu20.04-docker-arm64-4c-16g-9265 does not seem to be running inside a container 07:05:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/204 -v /w/workspace/device-sdk-go/204:/w/workspace/device-sdk-go/204:rw,z -v /w/workspace/device-sdk-go/204@tmp:/w/workspace/device-sdk-go/204@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 07:05:48 $ docker top 3adb253372f79a9ebb022d2f277c1d5f4f7bdaba0f09b566badbe4475dc9a3cc -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:49 + go version 07:05:49 go version go1.20.2 linux/arm64 [Pipeline] } 07:05:49 $ docker stop --time=1 3adb253372f79a9ebb022d2f277c1d5f4f7bdaba0f09b566badbe4475dc9a3cc 07:05:50 $ docker rm -f --volumes 3adb253372f79a9ebb022d2f277c1d5f4f7bdaba0f09b566badbe4475dc9a3cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:51 + docker inspect -f . ci-base-image-arm64 07:05:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:05:51 prd-ubuntu20.04-docker-arm64-4c-16g-9265 does not seem to be running inside a container 07:05:51 $ 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/204 -v /w/workspace/device-sdk-go/204:/w/workspace/device-sdk-go/204:rw,z -v /w/workspace/device-sdk-go/204@tmp:/w/workspace/device-sdk-go/204@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 07:05:52 $ docker top 6aeb9b97fe54a7c49a8a88a6618bc80258421f4345d8f5132635f15a48fbf267 -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:53 + git config --global --add safe.directory /w/workspace/device-sdk-go/204 [Pipeline] fileExists [Pipeline] sh 07:05:53 + make test 07:05:53 go test -race -coverprofile=coverage.out ./... 07:06:32 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:08:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:08:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:08:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:08:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:08:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:08:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.213s coverage: 27.6% of statements 07:08:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.262s coverage: 80.2% of statements 07:09:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:09:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:09:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.383s coverage: 86.0% of statements 07:09:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:09:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 07:09:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.481s coverage: 77.5% of statements 07:09:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.248s coverage: 14.6% of statements 07:09:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:09:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:09:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.453s coverage: 68.5% of statements 07:09:15 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.459s coverage: 89.2% of statements 07:09:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:09:18 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.237s coverage: 5.5% of statements 07:09:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:09:18 GO111MODULE=on go vet ./... 07:11:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:11:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:11:55 ./bin/test-attribution-txt.sh [Pipeline] echo 07:11:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:11:55 $ docker stop --time=1 6aeb9b97fe54a7c49a8a88a6618bc80258421f4345d8f5132635f15a48fbf267 07:11:57 $ docker rm -f --volumes 6aeb9b97fe54a7c49a8a88a6618bc80258421f4345d8f5132635f15a48fbf267 [Pipeline] // withDockerContainer [Pipeline] sh 07:11:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:11:59 Warning: overwriting stash ‘coverage-report’ 07:11:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:12:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:12:00 + ls -al . 07:12:00 total 268 07:12:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 07:05 . 07:12:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 07:03 .. 07:12:00 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 07:03 .dockerignore 07:12:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 07:03 .git 07:12:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 07:03 .github 07:12:00 -rw-rw-r-- 1 jenkins jenkins 131 Apr 21 07:03 .gitignore 07:12:00 -rw-rw-r-- 1 jenkins jenkins 42 Apr 21 07:03 .golangci.yml 07:12:00 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 21 07:03 CHANGELOG.md 07:12:00 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 07:03 GOVERNANCE.md 07:12:00 -rw-rw-r-- 1 jenkins jenkins 885 Apr 21 07:03 Jenkinsfile 07:12:00 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 07:03 LICENSE 07:12:00 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 21 07:03 Makefile 07:12:00 -rw-rw-r-- 1 jenkins jenkins 619 Apr 21 07:03 OWNERS.md 07:12:00 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 21 07:03 README.md 07:12:00 -rw-rw-r-- 1 jenkins jenkins 12 Apr 21 07:01 VERSION 07:12:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 07:03 bin 07:12:00 -rw-r--r-- 1 jenkins jenkins 106121 Apr 21 07:09 coverage.out 07:12:00 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 07:03 example 07:12:00 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 21 07:03 go.mod 07:12:00 -rw-rw-r-- 1 jenkins jenkins 30896 Apr 21 07:03 go.sum 07:12:00 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 07:03 internal 07:12:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 07:03 openapi 07:12:00 drwxrwxr-x 6 jenkins jenkins 4096 Apr 21 07:03 pkg 07:12:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 07:03 snap 07:12:00 -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 07:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:00 + 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=cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 --label arch=arm64 --label version=3.0.0-dev.73 . 07:12:01 Sending build context to Docker daemon 6.003MB 07:12:01 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 07:12:01 Step 2/23 : FROM ${BASE} AS builder 07:12:01 ---> 7dee942feefb 07:12:01 Step 3/23 : ARG MAKE=make build 07:12:01 ---> Running in a1d837e19a0d 07:12:01 Removing intermediate container a1d837e19a0d 07:12:01 ---> 70bbd693abae 07:12:01 Step 4/23 : WORKDIR /device-sdk-go 07:12:01 ---> Running in bdc30ce01c44 07:12:02 Removing intermediate container bdc30ce01c44 07:12:02 ---> 52f3236223e1 07:12:02 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:12:02 ---> Running in e4657a984ecb 07:12:02 Removing intermediate container e4657a984ecb 07:12:02 ---> 19ae61ca14e5 07:12:02 Step 6/23 : RUN apk add --update --no-cache make git 07:12:02 ---> Running in 57647c89f462 07:12:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:12:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:12:05 OK: 263 MiB in 53 packages 07:12:07 Removing intermediate container 57647c89f462 07:12:07 ---> a2a6efd152cf 07:12:07 Step 7/23 : COPY go.mod vendor* ./ 07:12:07 ---> 21f4173aaa7f 07:12:07 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:12:07 ---> Running in d5d7d964ceb4 07:12:09 Removing intermediate container d5d7d964ceb4 07:12:09 ---> 30904cc8c449 07:12:09 Step 9/23 : COPY . . 07:12:10 ---> b3d18198ac67 07:12:10 Step 10/23 : RUN ${MAKE} 07:12:11 ---> Running in 51f9c1e3ab91 07:12:12 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.73" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:14:34 Removing intermediate container 51f9c1e3ab91 07:14:34 ---> 09080fcc1bb1 07:14:34 Step 11/23 : FROM alpine:3.17 07:14:34 3.17: Pulling from library/alpine 07:14:34 c41833b44d91: Pulling fs layer 07:14:34 c41833b44d91: Verifying Checksum 07:14:34 c41833b44d91: Download complete 07:14:34 c41833b44d91: Pull complete 07:14:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:14:34 Status: Downloaded newer image for alpine:3.17 07:14:34 ---> 51e60588ff2c 07:14:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:14:34 ---> Running in e187cc070b6a 07:14:34 Removing intermediate container e187cc070b6a 07:14:34 ---> 5768ba7980e7 07:14:34 Step 13/23 : RUN apk add --update --no-cache 07:14:34 ---> Running in a59c57880b2a 07:14:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:14:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:14:34 OK: 7 MiB in 15 packages 07:14:34 Removing intermediate container a59c57880b2a 07:14:34 ---> 845cc2e8a7bf 07:14:34 Step 14/23 : WORKDIR / 07:14:34 ---> Running in 68c2df089a3f 07:14:34 Removing intermediate container 68c2df089a3f 07:14:34 ---> 9595c11ee700 07:14:34 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:14:34 ---> a0d6c503de59 07:14:34 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:14:34 ---> eb6d122047be 07:14:34 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:14:34 ---> 5f2693884320 07:14:34 Step 18/23 : EXPOSE 59999 07:14:34 ---> Running in 5177e1dc4e57 07:14:34 Removing intermediate container 5177e1dc4e57 07:14:34 ---> 733b578d0c95 07:14:34 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:14:34 ---> Running in f4765f71c066 07:14:34 Removing intermediate container f4765f71c066 07:14:34 ---> 2d9a4c936f0f 07:14:34 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:14:34 ---> Running in bb33b0715387 07:14:34 Removing intermediate container bb33b0715387 07:14:34 ---> b2ec81f2c0d6 07:14:34 Step 21/23 : LABEL arch=arm64 07:14:34 ---> Running in 88c4ae483477 07:14:35 Removing intermediate container 88c4ae483477 07:14:35 ---> b3c88b13e080 07:14:35 Step 22/23 : LABEL git_sha=cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 07:14:35 ---> Running in d9613d772fde 07:14:35 Removing intermediate container d9613d772fde 07:14:35 ---> 727f4915cca3 07:14:35 Step 23/23 : LABEL version=3.0.0-dev.73 07:14:35 ---> Running in c234c139b944 07:14:36 Removing intermediate container c234c139b944 07:14:36 ---> 131fb832acf4 07:14:36 [Warning] One or more build-args [ARCH] were not consumed 07:14:36 Successfully built 131fb832acf4 07:14:36 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 07:14:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:14:36 07:14:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:14:37 arm64: Pulling from edgex-lftools-log-publisher 07:14:37 8998bd30e6a1: Pulling fs layer 07:14:37 04944245beec: Pulling fs layer 07:14:37 699f458cf7ca: Pulling fs layer 07:14:37 765212b225bb: Pulling fs layer 07:14:37 f23df028b6ca: Pulling fs layer 07:14:37 d65c8cfc05b1: Pulling fs layer 07:14:37 2437ff75d9bd: Pulling fs layer 07:14:37 f23df028b6ca: Waiting 07:14:37 d65c8cfc05b1: Waiting 07:14:37 2437ff75d9bd: Waiting 07:14:37 765212b225bb: Waiting 07:14:37 04944245beec: Verifying Checksum 07:14:37 04944245beec: Download complete 07:14:37 765212b225bb: Verifying Checksum 07:14:37 765212b225bb: Download complete 07:14:37 f23df028b6ca: Verifying Checksum 07:14:37 f23df028b6ca: Download complete 07:14:37 d65c8cfc05b1: Verifying Checksum 07:14:37 d65c8cfc05b1: Download complete 07:14:37 699f458cf7ca: Verifying Checksum 07:14:37 699f458cf7ca: Download complete 07:14:37 8998bd30e6a1: Verifying Checksum 07:14:37 8998bd30e6a1: Download complete 07:14:39 2437ff75d9bd: Verifying Checksum 07:14:39 2437ff75d9bd: Download complete 07:14:41 8998bd30e6a1: Pull complete 07:14:41 04944245beec: Pull complete 07:14:43 699f458cf7ca: Pull complete 07:14:43 765212b225bb: Pull complete 07:14:43 f23df028b6ca: Pull complete 07:14:44 d65c8cfc05b1: Pull complete 07:14:59 2437ff75d9bd: Pull complete 07:14:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:14:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:14:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:59 prd-ubuntu20.04-docker-arm64-4c-16g-9265 does not seem to be running inside a container 07:14:59 $ 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/204 -v /w/workspace/device-sdk-go/204:/w/workspace/device-sdk-go/204:rw,z -v /w/workspace/device-sdk-go/204@tmp:/w/workspace/device-sdk-go/204@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 07:15:01 $ docker top 676fc46acbf28c5a03e7706a4cfd1870b067a2f3b70ad2373d105924045c77e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:02 ---> job-cost.sh 07:15:02 lf-activate-venv: SKIPPING 07:15:02 INFO: No Stack... 07:15:02 INFO: Retrieving Pricing Info for: v3-standard-4 07:15:03 INFO: Archiving Costs [Pipeline] sh 07:15:04 + cat /w/workspace/device-sdk-go/204/archives/cost.csv 07:15:04 + cut -d, -f6 [Pipeline] lock 07:15:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-204-stack-cost] 07:15:04 Resource [jenkins-edgexfoundry-device-sdk-go-main-204-stack-cost] did not exist. Created. 07:15:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-204-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:15:04 /w/workspace/device-sdk-go/204@tmp/durable-0d0c188e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:15:04 + echo total: 0.10999999940395355 [Pipeline] stash 07:15:04 Warning: overwriting stash ‘stack-cost’ 07:15:05 Stashed 1 file(s) [Pipeline] } 07:15:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-204-stack-cost] [Pipeline] // lock [Pipeline] } 07:15:05 $ docker stop --time=1 676fc46acbf28c5a03e7706a4cfd1870b067a2f3b70ad2373d105924045c77e8 07:15:06 $ docker rm -f --volumes 676fc46acbf28c5a03e7706a4cfd1870b067a2f3b70ad2373d105924045c77e8 [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 07:15:07 provisioning config files... 07:15:07 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17659503264525068622tmp [Pipeline] { [Pipeline] sh 07:15:07 + set +x 07:15:07 + curl -s https://codecov.io/bash 07:15:07 + bash -s -- 07:15:07 07:15:07 _____ _ 07:15:07 / ____| | | 07:15:07 | | ___ __| | ___ ___ _____ __ 07:15:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:15:07 | |___| (_) | (_| | __/ (_| (_) \ V / 07:15:07 \_____\___/ \__,_|\___|\___\___/ \_/ 07:15:07 Bash-1.0.6 07:15:07 07:15:07 07:15:07 ==> git version 2.25.1 found 07:15:07 ==> 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 07:15:07 Release-Date: 2020-01-08 07:15:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:15:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:15:07 ==> Jenkins CI detected. 07:15:07 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 07:15:07 project root: . 07:15:07 --> token set from env 07:15:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:15:07 ==> Running gcov in . (disable via -X gcov) 07:15:07 ==> Python coveragepy not found 07:15:07 ==> Searching for coverage reports in: 07:15:07 + . 07:15:07 -> Found 1 reports 07:15:07 ==> Detecting git/mercurial file structure 07:15:07 ==> Reading reports 07:15:07 + ./coverage.out bytes=106121 07:15:07 ==> Appending adjustments 07:15:07 https://docs.codecov.io/docs/fixing-reports 07:15:07 + Found adjustments 07:15:07 ==> Gzipping contents 07:15:07 16K /tmp/codecov.Doy7LL.gz 07:15:07 ==> Uploading reports 07:15:07 url: https://codecov.io 07:15:07 query: branch=main&commit=cde88bf2b5c9128080ea31e517add5c9ccc9a0d0&build=204&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F204%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:15:07 -> Pinging Codecov 07:15:07 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=cde88bf2b5c9128080ea31e517add5c9ccc9a0d0&build=204&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F204%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:15:07 -> Uploading to 07:15:07 https://storage.googleapis.com/codecov/v4/raw/2023-04-21/7E55EF52A471D76F132DFD9A03CDDE97/cde88bf2b5c9128080ea31e517add5c9ccc9a0d0/fe03794a-9282-4504-b638-496ef0ebca65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230421T071507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fec232b3e327814072f9681596d45df2ad67b3a3689748513efde2bfff7fd92d 07:15:07 % Total % Received % Xferd Average Speed Time Time Time Current 07:15:07 Dload Upload Total Spent Left Speed 07:15:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14992 0 0 100 14992 0 68456 --:--:-- --:--:-- --:--:-- 68456 07:15:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 [Pipeline] } 07:15:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:15:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:15:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:15:08 07:15:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:15:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:15:08 df9b9388f04a: Pulling fs layer 07:15:08 52dc419b0ee2: Pulling fs layer 07:15:08 25bc292e5bac: Pulling fs layer 07:15:08 114826534d7a: Pulling fs layer 07:15:08 4657fd5d0bcf: Pulling fs layer 07:15:08 6ad1cebc031e: Pulling fs layer 07:15:08 8a3aa393b2d8: Pulling fs layer 07:15:08 114826534d7a: Waiting 07:15:08 4657fd5d0bcf: Waiting 07:15:08 6ad1cebc031e: Waiting 07:15:08 8a3aa393b2d8: Waiting 07:15:08 25bc292e5bac: Verifying Checksum 07:15:08 25bc292e5bac: Download complete 07:15:08 52dc419b0ee2: Download complete 07:15:08 4657fd5d0bcf: Verifying Checksum 07:15:08 4657fd5d0bcf: Download complete 07:15:08 df9b9388f04a: Verifying Checksum 07:15:08 df9b9388f04a: Download complete 07:15:09 df9b9388f04a: Pull complete 07:15:09 6ad1cebc031e: Verifying Checksum 07:15:09 6ad1cebc031e: Download complete 07:15:09 52dc419b0ee2: Pull complete 07:15:09 25bc292e5bac: Pull complete 07:15:09 114826534d7a: Download complete 07:15:09 8a3aa393b2d8: Verifying Checksum 07:15:09 8a3aa393b2d8: Download complete 07:15:13 114826534d7a: Pull complete 07:15:13 4657fd5d0bcf: Pull complete 07:15:13 6ad1cebc031e: Pull complete 07:15:16 8a3aa393b2d8: Pull complete 07:15:16 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:15:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:15:16 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:16 prd-ubuntu20.04-docker-8c-8g-9263 does not seem to be running inside a container 07:15:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:15:19 $ docker top 1b5e762fabd3aba8cef6d19c4073c3b0b657cf002015fcffd57c9a49752d2418 -eo pid,comm [Pipeline] { [Pipeline] echo 07:15:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 07:15:19 + set -o pipefail 07:15:19 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 07:15:25 07:15:25 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 07:15:25 07:15:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/432a0c08-c522-4343-b395-57dace3cf0a4 07:15:25 07:15:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:15:25 07:15:26 07:15:26 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:15:26 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:15:26 More details here: https://snyk.co/ue1NS [Pipeline] } 07:15:26 $ docker stop --time=1 1b5e762fabd3aba8cef6d19c4073c3b0b657cf002015fcffd57c9a49752d2418 07:15:28 $ docker rm -f --volumes 1b5e762fabd3aba8cef6d19c4073c3b0b657cf002015fcffd57c9a49752d2418 [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 07:15:28 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:28 provisioning config files... 07:15:28 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16236353177085509383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:29 --> edgex-publish-swagger.sh 07:15:29 === Publish openapi/v3 API === 07:15:29 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 07:15:29 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 07:15:29 % Total % Received % Xferd Average Speed Time Time Time Current 07:15:29 Dload Upload Total Spent Left Speed 07:15:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 36932 --:--:-- --:--:-- --:--:-- 36932 07:15:29 07:15:29 [Pipeline] } 07:15:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:15:30 + git log --format=format:%s -1 cde88bf2b5c9128080ea31e517add5c9ccc9a0d0 [Pipeline] sh 07:15:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:15:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:30 prd-ubuntu20.04-docker-8c-8g-9263 does not seem to be running inside a container 07:15:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:15:31 $ docker top 85b107faea5fbeb05ac19ba5ad3912c529be97771c544629fc60192b78c74f28 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:31 [ssh-agent] Looking for ssh-agent implementation... 07:15:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:31 $ docker exec 85b107faea5fbeb05ac19ba5ad3912c529be97771c544629fc60192b78c74f28 ssh-agent 07:15:31 SSH_AUTH_SOCK=/tmp/ssh-BZ2u4uoiN3Oe/agent.33 07:15:31 SSH_AGENT_PID=39 07:15:31 Running ssh-add (command line suppressed) 07:15:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17475666538627873934.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17475666538627873934.key) 07:15:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:32 + git semver tag 07:15:32 2023-04-21 07:15:32,297 [run_tag] DEBUG tag force:False 07:15:32 2023-04-21 07:15:32,297 [check_head_tag] DEBUG check head tag 07:15:32 2023-04-21 07:15:32,300 [execute] INFO git cat-file --batch-check 07:15:32 2023-04-21 07:15:32,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:15:32 2023-04-21 07:15:32,304 [execute] INFO git cat-file --batch 07:15:32 2023-04-21 07:15:32,305 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:15:32 2023-04-21 07:15:32,342 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:15:32 2023-04-21 07:15:32,342 [execute] INFO git tag -a v3.0.0-dev.73 -m v3.0.0-dev.73 07:15:32 2023-04-21 07:15:32,343 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.73', '-m', 'v3.0.0-dev.73'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 07:15:32 2023-04-21 07:15:32,348 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:15:32 3.0.0-dev.73 [Pipeline] } 07:15:32 $ docker exec --env ******** --env ******** 85b107faea5fbeb05ac19ba5ad3912c529be97771c544629fc60192b78c74f28 ssh-agent -k 07:15:32 unset SSH_AUTH_SOCK; 07:15:32 unset SSH_AGENT_PID; 07:15:32 echo Agent pid 39 killed; 07:15:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:32 + git semver [Pipeline] } 07:15:33 $ docker stop --time=1 85b107faea5fbeb05ac19ba5ad3912c529be97771c544629fc60192b78c74f28 07:15:34 $ docker rm -f --volumes 85b107faea5fbeb05ac19ba5ad3912c529be97771c544629fc60192b78c74f28 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:15:34 07:15:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:15:35 0.23.1-centos7: Pulling from edgex-lftools 07:15:35 ab5ef0e58194: Pulling fs layer 07:15:35 9712f1f96733: Pulling fs layer 07:15:35 63f879dbbcfc: Pulling fs layer 07:15:35 0d9ebad4ef96: Pulling fs layer 07:15:35 e9a5061849ea: Pulling fs layer 07:15:35 d747dcd14b5f: Pulling fs layer 07:15:35 2de7ff778b66: Pulling fs layer 07:15:35 0d9ebad4ef96: Waiting 07:15:35 2de7ff778b66: Waiting 07:15:35 e9a5061849ea: Waiting 07:15:35 d747dcd14b5f: Waiting 07:15:35 9712f1f96733: Verifying Checksum 07:15:35 9712f1f96733: Download complete 07:15:35 63f879dbbcfc: Verifying Checksum 07:15:35 63f879dbbcfc: Download complete 07:15:35 0d9ebad4ef96: Verifying Checksum 07:15:35 0d9ebad4ef96: Download complete 07:15:35 e9a5061849ea: Verifying Checksum 07:15:35 e9a5061849ea: Download complete 07:15:35 ab5ef0e58194: Verifying Checksum 07:15:35 ab5ef0e58194: Download complete 07:15:35 2de7ff778b66: Verifying Checksum 07:15:35 2de7ff778b66: Download complete 07:15:39 ab5ef0e58194: Pull complete 07:15:39 9712f1f96733: Pull complete 07:15:39 63f879dbbcfc: Pull complete 07:15:43 0d9ebad4ef96: Pull complete 07:15:43 e9a5061849ea: Pull complete 07:15:43 d747dcd14b5f: Pull complete 07:15:44 2de7ff778b66: Pull complete 07:15:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:15:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:15:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:44 prd-ubuntu20.04-docker-8c-8g-9263 does not seem to be running inside a container 07:15:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:15:47 $ docker top a6ba07bbde827c47fb4ccb7ee231bb5a9efbf13d57bfc427af39e5af5ea223c5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:15:47 provisioning config files... 07:15:47 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6644280879977686676tmp 07:15:47 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8757079712441473525tmp 07:15:47 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4760145567076419186tmp [Pipeline] { [Pipeline] echo 07:15:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:15:48 ---> sigul-configuration.sh 07:15:48 gpg: directory `/root/.gnupg' created 07:15:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:15:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:15:48 gpg: keyring `/root/.gnupg/secring.gpg' created 07:15:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:15:48 gpg: CAST5 encrypted data 07:15:48 gpg: encrypted with 1 passphrase 07:15:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:15:49 + mkdir /home/jenkins 07:15:49 + mkdir /home/jenkins/sigul [Pipeline] sh 07:15:49 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:15:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:15:49 ---> sigul-install.sh 07:15:49 Sigul already installed; skipping installation. [Pipeline] sh 07:15:49 + git tag --list 07:15:49 0.7.1 07:15:49 delhi-tag 07:15:49 v1.0.0 07:15:49 v1.1.0 07:15:49 v1.1.1 07:15:49 v1.1.2 07:15:49 v1.2.0 07:15:49 v1.2.1 07:15:49 v1.2.2 07:15:49 v1.2.3 07:15:49 v1.3.0 07:15:49 v1.4.0 07:15:49 v2.0.0 07:15:49 v2.1.0 07:15:49 v2.1.1 07:15:49 v2.1.1-dev.2 07:15:49 v2.1.1-dev.3 07:15:49 v2.2.0 07:15:49 v2.2.1-dev.1 07:15:49 v2.2.1-dev.10 07:15:49 v2.2.1-dev.11 07:15:49 v2.2.1-dev.12 07:15:49 v2.2.1-dev.13 07:15:49 v2.2.1-dev.14 07:15:49 v2.2.1-dev.2 07:15:49 v2.2.1-dev.3 07:15:49 v2.2.1-dev.4 07:15:49 v2.2.1-dev.5 07:15:49 v2.2.1-dev.6 07:15:49 v2.2.1-dev.7 07:15:49 v2.2.1-dev.8 07:15:49 v2.2.1-dev.9 07:15:49 v2.3.0 07:15:49 v2.3.0-dev.14 07:15:49 v2.3.0-dev.15 07:15:49 v2.3.0-dev.16 07:15:49 v2.3.0-dev.17 07:15:49 v2.3.0-dev.18 07:15:49 v2.3.0-dev.19 07:15:49 v2.3.0-dev.20 07:15:49 v2.3.0-dev.21 07:15:49 v2.3.0-dev.22 07:15:49 v2.3.0-dev.23 07:15:49 v2.3.0-dev.24 07:15:49 v2.3.0-dev.25 07:15:49 v2.3.0-dev.26 07:15:49 v2.3.0-dev.27 07:15:49 v2.3.0-dev.28 07:15:49 v2.3.0-dev.29 07:15:49 v2.3.0-dev.30 07:15:49 v2.3.0-dev.31 07:15:49 v2.3.0-dev.32 07:15:49 v2.3.0-dev.33 07:15:49 v2.3.0-dev.34 07:15:49 v2.3.0-dev.35 07:15:49 v2.3.0-dev.36 07:15:49 v2.3.0-dev.37 07:15:49 v2.3.0-dev.38 07:15:49 v2.3.0-dev.39 07:15:49 v2.3.0-dev.40 07:15:49 v2.3.0-dev.41 07:15:49 v2.3.0-dev.42 07:15:49 v2.3.0-dev.43 07:15:49 v2.3.0-dev.44 07:15:49 v2.3.0-dev.45 07:15:49 v2.3.0-dev.46 07:15:49 v2.3.0-dev.47 07:15:49 v2.3.0-dev.48 07:15:49 v2.3.0-dev.49 07:15:49 v2.3.0-dev.50 07:15:49 v2.3.0-dev.51 07:15:49 v2.3.1 07:15:49 v2.3.1-dev.1 07:15:49 v2.3.1-dev.2 07:15:49 v2.3.1-dev.3 07:15:49 v2.3.1-dev.4 07:15:49 v3.0.0-dev.1 07:15:49 v3.0.0-dev.10 07:15:49 v3.0.0-dev.11 07:15:49 v3.0.0-dev.12 07:15:49 v3.0.0-dev.13 07:15:49 v3.0.0-dev.14 07:15:49 v3.0.0-dev.15 07:15:49 v3.0.0-dev.16 07:15:49 v3.0.0-dev.17 07:15:49 v3.0.0-dev.18 07:15:49 v3.0.0-dev.19 07:15:49 v3.0.0-dev.2 07:15:49 v3.0.0-dev.20 07:15:49 v3.0.0-dev.21 07:15:49 v3.0.0-dev.22 07:15:49 v3.0.0-dev.23 07:15:49 v3.0.0-dev.24 07:15:49 v3.0.0-dev.25 07:15:49 v3.0.0-dev.26 07:15:49 v3.0.0-dev.27 07:15:49 v3.0.0-dev.28 07:15:49 v3.0.0-dev.29 07:15:49 v3.0.0-dev.3 07:15:49 v3.0.0-dev.30 07:15:49 v3.0.0-dev.31 07:15:49 v3.0.0-dev.32 07:15:49 v3.0.0-dev.33 07:15:49 v3.0.0-dev.34 07:15:49 v3.0.0-dev.35 07:15:49 v3.0.0-dev.36 07:15:49 v3.0.0-dev.37 07:15:49 v3.0.0-dev.38 07:15:49 v3.0.0-dev.39 07:15:49 v3.0.0-dev.4 07:15:49 v3.0.0-dev.40 07:15:49 v3.0.0-dev.41 07:15:49 v3.0.0-dev.42 07:15:49 v3.0.0-dev.43 07:15:49 v3.0.0-dev.44 07:15:49 v3.0.0-dev.45 07:15:49 v3.0.0-dev.46 07:15:49 v3.0.0-dev.47 07:15:49 v3.0.0-dev.48 07:15:49 v3.0.0-dev.49 07:15:49 v3.0.0-dev.5 07:15:49 v3.0.0-dev.50 07:15:49 v3.0.0-dev.51 07:15:49 v3.0.0-dev.52 07:15:49 v3.0.0-dev.53 07:15:49 v3.0.0-dev.54 07:15:49 v3.0.0-dev.55 07:15:49 v3.0.0-dev.56 07:15:49 v3.0.0-dev.57 07:15:49 v3.0.0-dev.58 07:15:49 v3.0.0-dev.59 07:15:49 v3.0.0-dev.6 07:15:49 v3.0.0-dev.60 07:15:49 v3.0.0-dev.61 07:15:49 v3.0.0-dev.62 07:15:49 v3.0.0-dev.63 07:15:49 v3.0.0-dev.64 07:15:49 v3.0.0-dev.65 07:15:49 v3.0.0-dev.66 07:15:49 v3.0.0-dev.67 07:15:49 v3.0.0-dev.68 07:15:49 v3.0.0-dev.69 07:15:49 v3.0.0-dev.7 07:15:49 v3.0.0-dev.70 07:15:49 v3.0.0-dev.71 07:15:49 v3.0.0-dev.72 07:15:49 v3.0.0-dev.73 07:15:49 v3.0.0-dev.8 07:15:49 v3.0.0-dev.9 [Pipeline] sh 07:15:50 + lftools sign git-tag v3.0.0-dev.73 07:15:50 Signing Git tag with Sigul... 07:15:50 Signing v3.0.0-dev.73 [Pipeline] echo 07:15:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:15:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:15:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:15:51 $ docker stop --time=1 a6ba07bbde827c47fb4ccb7ee231bb5a9efbf13d57bfc427af39e5af5ea223c5 07:15:52 $ docker rm -f --volumes a6ba07bbde827c47fb4ccb7ee231bb5a9efbf13d57bfc427af39e5af5ea223c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:15:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:15:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:53 prd-ubuntu20.04-docker-8c-8g-9263 does not seem to be running inside a container 07:15:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:15:53 $ docker top 6c8c24bd83311ea5b36f97672392f06bb486bc95fca56b49b3d404e4171ac2a6 -eo pid,comm 07:15:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:15:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:53 [ssh-agent] Looking for ssh-agent implementation... 07:15:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:54 $ docker exec 6c8c24bd83311ea5b36f97672392f06bb486bc95fca56b49b3d404e4171ac2a6 ssh-agent 07:15:54 SSH_AUTH_SOCK=/tmp/ssh-oCGUfmI6B7nm/agent.32 07:15:54 SSH_AGENT_PID=38 07:15:54 Running ssh-add (command line suppressed) 07:15:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4736411549988108138.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4736411549988108138.key) 07:15:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:54 + git semver bump pre 07:15:54 2023-04-21 07:15:54,805 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:15:54 2023-04-21 07:15:54,805 [bump_version] DEBUG bumping version:3.0.0-dev.73 on axis:pre with prefix:dev 07:15:54 2023-04-21 07:15:54,805 [bump_version] DEBUG bumped version:3.0.0-dev.74 07:15:54 2023-04-21 07:15:54,805 [write_version] DEBUG write version:3.0.0-dev.74 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 07:15:54 2023-04-21 07:15:54,805 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:15:54 2023-04-21 07:15:54,805 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:15:54 2023-04-21 07:15:54,807 [execute] INFO git cat-file --batch-check 07:15:54 2023-04-21 07:15:54,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:15:54 2023-04-21 07:15:54,812 [execute] INFO git cat-file --batch 07:15:54 2023-04-21 07:15:54,812 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:15:54 2023-04-21 07:15:54,817 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:15:54 3.0.0-dev.74 [Pipeline] } 07:15:54 $ docker exec --env ******** --env ******** 6c8c24bd83311ea5b36f97672392f06bb486bc95fca56b49b3d404e4171ac2a6 ssh-agent -k 07:15:54 unset SSH_AUTH_SOCK; 07:15:54 unset SSH_AGENT_PID; 07:15:54 echo Agent pid 38 killed; 07:15:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:55 + git semver [Pipeline] } 07:15:55 $ docker stop --time=1 6c8c24bd83311ea5b36f97672392f06bb486bc95fca56b49b3d404e4171ac2a6 07:15:56 $ docker rm -f --volumes 6c8c24bd83311ea5b36f97672392f06bb486bc95fca56b49b3d404e4171ac2a6 [Pipeline] // withDockerContainer [Pipeline] sh 07:15:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:15:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:57 prd-ubuntu20.04-docker-8c-8g-9263 does not seem to be running inside a container 07:15:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:15:57 $ docker top 7c7dbf7a3053a60d585dd04587a64be85978eb94ce7db24b082b170a777a6723 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:58 [ssh-agent] Looking for ssh-agent implementation... 07:15:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:58 $ docker exec 7c7dbf7a3053a60d585dd04587a64be85978eb94ce7db24b082b170a777a6723 ssh-agent 07:15:58 SSH_AUTH_SOCK=/tmp/ssh-Lw5qbXESIpIN/agent.33 07:15:58 SSH_AGENT_PID=39 07:15:58 Running ssh-add (command line suppressed) 07:15:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3582572633590032068.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3582572633590032068.key) 07:15:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:58 + git semver push 07:15:58 2023-04-21 07:15:58,871 [run_push] DEBUG push 07:15:58 2023-04-21 07:15:58,872 [execute] INFO git cat-file --batch-check 07:15:58 2023-04-21 07:15:58,872 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:15:58 2023-04-21 07:15:58,875 [execute] INFO git rev-list 919439c36261e3ee4c938e4af80ff264f03bce47 -- 07:15:58 2023-04-21 07:15:58,876 [execute] DEBUG Popen(['git', 'rev-list', '919439c36261e3ee4c938e4af80ff264f03bce47', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:15:58 2023-04-21 07:15:58,885 [execute] INFO git fetch -v origin 07:15:58 2023-04-21 07:15:58,886 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:15:59 2023-04-21 07:15:59,332 [run_push] DEBUG no remote changes detected 07:15:59 2023-04-21 07:15:59,333 [execute] INFO git push origin semver 07:15:59 2023-04-21 07:15:59,333 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:16:00 2023-04-21 07:16:00,137 [run_push] DEBUG push all version tags 07:16:00 2023-04-21 07:16:00,138 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:16:00 2023-04-21 07:16:00,138 [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) 07:16:01 2023-04-21 07:16:00,893 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:16:01 3.0.0-dev.74 [Pipeline] } 07:16:01 $ docker exec --env ******** --env ******** 7c7dbf7a3053a60d585dd04587a64be85978eb94ce7db24b082b170a777a6723 ssh-agent -k 07:16:01 unset SSH_AUTH_SOCK; 07:16:01 unset SSH_AGENT_PID; 07:16:01 echo Agent pid 39 killed; 07:16:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:16:01 + git semver [Pipeline] } 07:16:01 $ docker stop --time=1 7c7dbf7a3053a60d585dd04587a64be85978eb94ce7db24b082b170a777a6723 07:16:03 $ docker rm -f --volumes 7c7dbf7a3053a60d585dd04587a64be85978eb94ce7db24b082b170a777a6723 [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 07:16:03 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 07:16:03 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:16:03 total 16 07:16:03 drwxr-xr-x 3 root root 4096 Apr 21 07:03 . 07:16:03 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 07:15 .. 07:16:03 drwxr-xr-x 2 root root 4096 Apr 21 07:03 cost 07:16:03 -rw-r--r-- 1 root root 85 Apr 21 07:03 cost.csv 07:16:03 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:16:03 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:16:03 total 16 07:16:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 07:03 . 07:16:03 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 07:15 .. 07:16:03 drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 07:03 cost 07:16:03 -rw-r--r-- 1 jenkins jenkins 85 Apr 21 07:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:16:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:16:04 ---> package-listing.sh 07:16:04 ++ facter osfamily 07:16:04 ++ tr '[:upper:]' '[:lower:]' 07:16:05 + OS_FAMILY=debian 07:16:05 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 07:16:05 + START_PACKAGES=/tmp/packages_start.txt 07:16:05 + END_PACKAGES=/tmp/packages_end.txt 07:16:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:16:05 + PACKAGES=/tmp/packages_start.txt 07:16:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:16:05 + PACKAGES=/tmp/packages_end.txt 07:16:05 + case "${OS_FAMILY}" in 07:16:05 + dpkg -l 07:16:05 + grep '^ii' 07:16:05 + '[' -f /tmp/packages_start.txt ']' 07:16:05 + '[' -f /tmp/packages_end.txt ']' 07:16:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:16:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:16:05 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 07:16:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 07:16:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:16:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:16:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:05 prd-ubuntu20.04-docker-8c-8g-9263 does not seem to be running inside a container 07:16:05 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:16:06 $ docker top 33816909c800117e9dcfb5fa62e0b59281ceacb0d5d7acb057a5f36d55ba25ce -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:06 + touch /tmp/pre-build-complete [Pipeline] sh 07:16:07 + mkdir -p /var/log/sysstat [Pipeline] sh 07:16:07 + ls /var/log/sa-host 07:16:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:16:07 provisioning config files... 07:16:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config798828884573747844tmp [Pipeline] { [Pipeline] echo 07:16:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:16:07 ---> create-netrc.sh [Pipeline] } 07:16:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:16:08 ---> python-tools-install.sh [Pipeline] echo 07:16:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:16:08 ---> sudo-logs.sh 07:16:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:16:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:16:11 ---> job-cost.sh 07:16:11 lf-activate-venv: SKIPPING 07:16:11 DEBUG: total: 0.2199999988079071 07:16:11 INFO: Retrieving Stack Cost... 07:16:12 INFO: Retrieving Pricing Info for: v3-standard-8 07:16:15 INFO: Archiving Costs [Pipeline] echo 07:16:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:16:17 ---> logs-deploy.sh 07:16:17 lf-activate-venv: SKIPPING 07:16:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/204 07:16:17 INFO: archiving workspace using pattern(s): 07:16:17 Archives upload complete. 07:16:17 INFO: archiving logs to Nexus