Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d75af8d7736dd893bcb45da5c89d1e2b765d6b8d 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-ssh5432625668004373422.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh5291622033086623844.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh4670288414022726918.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh15076896157950592501.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-ssh16983954408585781030.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 Running on prd-ubuntu20.04-docker-8c-8g-14682 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 d75af8d7736dd893bcb45da5c89d1e2b765d6b8d (main) Commit message: "feat: Enhance autodiscovery to better support multiple instances of same device service (#1444)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d75af8d7736dd893bcb45da5c89d1e2b765d6b8d # timeout=10 > git rev-list --no-walk 4b4cbc68eff8b9bdf916251102062655915288eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:44:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:44:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:44:59 ========================================================= 14:44:59 EdgeX Global Pipelines Version Info 14:44:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:45:00 ------------------- 14:45:00 stable info: 14:45:00 ------------------- 14:45:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:45:00 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 14:45:00 Message: update stable to v1.0.249 14:45:01 ------------------- 14:45:01 experimental info: 14:45:01 ------------------- 14:45:01 Commited By: **** collab-it+edgex@linuxfoundation.org 14:45:01 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 14:45:01 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d75af8d7736dd893bcb45da5c89d1e2b765d6b8d [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d75af8d [Pipeline] echo 14:45:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:45:01 provisioning config files... 14:45:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9211982566516444274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:45:02 ---> docker-login.sh 14:45:02 nexus3.edgexfoundry.org:10001 14:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:02 Configure a credential helper to remove this warning. See 14:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:02 14:45:02 Login Succeeded 14:45:02 nexus3.edgexfoundry.org:10002 14:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:02 Configure a credential helper to remove this warning. See 14:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:02 14:45:02 Login Succeeded 14:45:02 nexus3.edgexfoundry.org:10003 14:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:02 Configure a credential helper to remove this warning. See 14:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:02 14:45:02 Login Succeeded 14:45:02 nexus3.edgexfoundry.org:10004 14:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:02 Configure a credential helper to remove this warning. See 14:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:02 14:45:02 Login Succeeded 14:45:02 docker.io 14:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:03 Configure a credential helper to remove this warning. See 14:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:03 14:45:03 Login Succeeded 14:45:03 ---> docker-login.sh ends [Pipeline] } 14:45:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:45:04 + git rev-list -1 --merges d75af8d7736dd893bcb45da5c89d1e2b765d6b8d~1..d75af8d7736dd893bcb45da5c89d1e2b765d6b8d [Pipeline] echo 14:45:04 -----------> git rev-list -1 --merges d75af8d7736dd893bcb45da5c89d1e2b765d6b8d~1..d75af8d7736dd893bcb45da5c89d1e2b765d6b8d d75af8d7736dd893bcb45da5c89d1e2b765d6b8d [false] [Pipeline] sh 14:45:04 + git log --format=format:%s -1 d75af8d7736dd893bcb45da5c89d1e2b765d6b8d [Pipeline] echo 14:45:04 ========================================================= 14:45:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:45:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:04 + git log --format=format:%s -1 d75af8d7736dd893bcb45da5c89d1e2b765d6b8d [Pipeline] echo 14:45:04 [semverPrep] GIT_COMMIT: d75af8d7736dd893bcb45da5c89d1e2b765d6b8d, Commit Message: feat: Enhance autodiscovery to better support multiple instances of same device service (#1444) [Pipeline] echo 14:45:04 [semverPrep] This is not a build commit. [Pipeline] sh 14:45:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:45:05 + grep -v github /etc/ssh/ssh_known_hosts 14:45:05 + [ -e /tmp/ssh_known_hosts ] 14:45:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:45:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:45:05 + sudo tee -a /etc/ssh/ssh_known_hosts 14:45:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:45:05 14:45:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:45:06 0.1.4: Pulling from edgex-devops/py-git-semver 14:45:06 b85a868b505f: Pulling fs layer 14:45:06 e2be974225ed: Pulling fs layer 14:45:06 339a4e72a1f5: Pulling fs layer 14:45:06 988bab9f4d93: Pulling fs layer 14:45:06 1469e6f7b9e6: Pulling fs layer 14:45:06 eaf3925da568: Pulling fs layer 14:45:06 bab4dde63d76: Pulling fs layer 14:45:06 bde34c3a00c8: Pulling fs layer 14:45:06 b352a97aabf1: Pulling fs layer 14:45:06 4872d77fe225: Pulling fs layer 14:45:06 5851b861e8e6: Pulling fs layer 14:45:06 eaf3925da568: Waiting 14:45:06 bab4dde63d76: Waiting 14:45:06 bde34c3a00c8: Waiting 14:45:06 5851b861e8e6: Waiting 14:45:06 b352a97aabf1: Waiting 14:45:06 4872d77fe225: Waiting 14:45:06 e2be974225ed: Verifying Checksum 14:45:06 e2be974225ed: Download complete 14:45:06 988bab9f4d93: Verifying Checksum 14:45:06 988bab9f4d93: Download complete 14:45:06 1469e6f7b9e6: Download complete 14:45:06 eaf3925da568: Verifying Checksum 14:45:06 eaf3925da568: Download complete 14:45:06 339a4e72a1f5: Verifying Checksum 14:45:06 339a4e72a1f5: Download complete 14:45:06 bde34c3a00c8: Verifying Checksum 14:45:06 bde34c3a00c8: Download complete 14:45:06 b352a97aabf1: Download complete 14:45:06 4872d77fe225: Verifying Checksum 14:45:06 4872d77fe225: Download complete 14:45:06 5851b861e8e6: Verifying Checksum 14:45:06 5851b861e8e6: Download complete 14:45:06 b85a868b505f: Verifying Checksum 14:45:06 b85a868b505f: Download complete 14:45:06 bab4dde63d76: Verifying Checksum 14:45:06 bab4dde63d76: Download complete 14:45:07 b85a868b505f: Pull complete 14:45:07 e2be974225ed: Pull complete 14:45:08 339a4e72a1f5: Pull complete 14:45:08 988bab9f4d93: Pull complete 14:45:08 1469e6f7b9e6: Pull complete 14:45:08 eaf3925da568: Pull complete 14:45:10 bab4dde63d76: Pull complete 14:45:10 bde34c3a00c8: Pull complete 14:45:10 b352a97aabf1: Pull complete 14:45:10 4872d77fe225: Pull complete 14:45:10 5851b861e8e6: Pull complete 14:45:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:45:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:45:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:45:10 prd-ubuntu20.04-docker-8c-8g-14682 does not seem to be running inside a container 14:45:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:45:12 $ docker top a9f002a89bbda8495a079cdb137a9f3a993636eca4a48db01fdd898e5da29ea1 -eo pid,comm 14:45:12 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). 14:45:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:45:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:45:12 [ssh-agent] Looking for ssh-agent implementation... 14:45:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:45:12 $ docker exec a9f002a89bbda8495a079cdb137a9f3a993636eca4a48db01fdd898e5da29ea1 ssh-agent 14:45:12 SSH_AUTH_SOCK=/tmp/ssh-Ek2boO0wjDME/agent.32 14:45:12 SSH_AGENT_PID=38 14:45:12 Running ssh-add (command line suppressed) 14:45:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5127660476929055663.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5127660476929055663.key) 14:45:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:45:13 + git tag --points-at HEAD [Pipeline] } 14:45:13 $ docker exec --env ******** --env ******** a9f002a89bbda8495a079cdb137a9f3a993636eca4a48db01fdd898e5da29ea1 ssh-agent -k 14:45:13 unset SSH_AUTH_SOCK; 14:45:13 unset SSH_AGENT_PID; 14:45:13 echo Agent pid 38 killed; 14:45:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:45:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:45:13 [ssh-agent] Looking for ssh-agent implementation... 14:45:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:45:13 $ docker exec a9f002a89bbda8495a079cdb137a9f3a993636eca4a48db01fdd898e5da29ea1 ssh-agent 14:45:13 SSH_AUTH_SOCK=/tmp/ssh-IHzrsduhtpkL/agent.71 14:45:13 SSH_AGENT_PID=77 14:45:13 Running ssh-add (command line suppressed) 14:45:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17002699039835960979.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17002699039835960979.key) 14:45:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:45:13 + git semver init 14:45:14 2023-05-09 14:45:14,161 [run_init] DEBUG init version:0.0.0 force:False 14:45:14 2023-05-09 14:45:14,162 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 14:45:14 2023-05-09 14:45:14,162 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 14:45:14 2023-05-09 14:45:14,162 [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) 14:45:15 2023-05-09 14:45:15,205 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 14:45:15 2023-05-09 14:45:15,206 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 14:45:15 2023-05-09 14:45:15,206 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:45:15 2023-05-09 14:45:15,206 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:45:15 3.0.0-dev.85 [Pipeline] } 14:45:15 $ docker exec --env ******** --env ******** a9f002a89bbda8495a079cdb137a9f3a993636eca4a48db01fdd898e5da29ea1 ssh-agent -k 14:45:15 unset SSH_AUTH_SOCK; 14:45:15 unset SSH_AGENT_PID; 14:45:15 echo Agent pid 77 killed; 14:45:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:45:16 + git semver [Pipeline] } 14:45:16 $ docker stop --time=1 a9f002a89bbda8495a079cdb137a9f3a993636eca4a48db01fdd898e5da29ea1 14:45:17 $ docker rm -f --volumes a9f002a89bbda8495a079cdb137a9f3a993636eca4a48db01fdd898e5da29ea1 [Pipeline] // withDockerContainer [Pipeline] sh 14:45:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:45:18 Stashed 1 file(s) [Pipeline] echo 14:45:18 [edgeXSemver]: initialized semver on version 3.0.0-dev.85 [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 14:45:18 provisioning config files... 14:45:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1052892802417851056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:45:18 ---> docker-login.sh 14:45:18 nexus3.edgexfoundry.org:10001 14:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:18 Configure a credential helper to remove this warning. See 14:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:18 14:45:18 Login Succeeded 14:45:18 nexus3.edgexfoundry.org:10002 14:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:18 Configure a credential helper to remove this warning. See 14:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:18 14:45:18 Login Succeeded 14:45:18 nexus3.edgexfoundry.org:10003 14:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:18 Configure a credential helper to remove this warning. See 14:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:18 14:45:18 Login Succeeded 14:45:18 nexus3.edgexfoundry.org:10004 14:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:18 Configure a credential helper to remove this warning. See 14:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:18 14:45:18 Login Succeeded 14:45:18 docker.io 14:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:19 Configure a credential helper to remove this warning. See 14:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:19 14:45:19 Login Succeeded 14:45:19 ---> docker-login.sh ends [Pipeline] } 14:45:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:45:19 ========================================================= 14:45:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 14:45:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:19 + 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 . 14:45:19 Sending build context to Docker daemon 11.08MB 14:45:19 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 14:45:19 Step 2/10 : FROM ${BASE} AS builder 14:45:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 14:45:19 f56be85fc22e: Pulling fs layer 14:45:19 85791d961cd3: Pulling fs layer 14:45:19 d694b5ae8c79: Pulling fs layer 14:45:19 9f32a84ed3da: Pulling fs layer 14:45:19 4d19c01a9841: Pulling fs layer 14:45:19 9325e15d5711: Pulling fs layer 14:45:19 556b6ee489ea: Pulling fs layer 14:45:19 c5a4b2cf53e6: Pulling fs layer 14:45:19 9f32a84ed3da: Waiting 14:45:19 4d19c01a9841: Waiting 14:45:19 9325e15d5711: Waiting 14:45:19 556b6ee489ea: Waiting 14:45:19 c5a4b2cf53e6: Waiting 14:45:19 85791d961cd3: Download complete 14:45:19 9f32a84ed3da: Verifying Checksum 14:45:19 9f32a84ed3da: Download complete 14:45:19 4d19c01a9841: Verifying Checksum 14:45:19 4d19c01a9841: Download complete 14:45:19 f56be85fc22e: Verifying Checksum 14:45:19 f56be85fc22e: Download complete 14:45:19 9325e15d5711: Verifying Checksum 14:45:19 9325e15d5711: Download complete 14:45:19 f56be85fc22e: Pull complete 14:45:20 85791d961cd3: Pull complete 14:45:20 d694b5ae8c79: Verifying Checksum 14:45:20 d694b5ae8c79: Download complete 14:45:20 c5a4b2cf53e6: Verifying Checksum 14:45:20 c5a4b2cf53e6: Download complete 14:45:20 556b6ee489ea: Verifying Checksum 14:45:20 556b6ee489ea: Download complete 14:45:23 d694b5ae8c79: Pull complete 14:45:23 9f32a84ed3da: Pull complete 14:45:23 4d19c01a9841: Pull complete 14:45:23 9325e15d5711: Pull complete 14:45:25 556b6ee489ea: Pull complete 14:45:26 c5a4b2cf53e6: Pull complete 14:45:26 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 14:45:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 14:45:26 ---> c4be618373d6 14:45:26 Step 3/10 : ARG MAKE=make build 14:45:30 ---> Running in da84fc7cf943 14:45:30 Removing intermediate container da84fc7cf943 14:45:30 ---> 9291fe0af238 14:45:30 Step 4/10 : WORKDIR /device-sdk-go 14:45:30 ---> Running in b0e3cd9d009b 14:45:30 Removing intermediate container b0e3cd9d009b 14:45:30 ---> 471b4d1ceae3 14:45:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:45:30 ---> Running in 687775c62186 14:45:30 Removing intermediate container 687775c62186 14:45:30 ---> 8b7520827abc 14:45:30 Step 6/10 : RUN apk add --update --no-cache make git 14:45:30 ---> Running in 4ada3c30185f 14:45:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:45:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:45:30 OK: 265 MiB in 53 packages 14:45:31 Removing intermediate container 4ada3c30185f 14:45:31 ---> a3396b641897 14:45:31 Step 7/10 : COPY go.mod vendor* ./ 14:45:31 ---> 35ff92a7b36c 14:45:31 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:45:31 ---> Running in 0848224c128f 14:45:33 Still waiting to schedule task 14:45:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:45:58 Removing intermediate container 0848224c128f 14:45:58 ---> 8f725e42be27 14:45:58 Step 9/10 : COPY . . 14:45:58 ---> 663fea641ae4 14:45:58 Step 10/10 : RUN ${MAKE} 14:45:58 ---> Running in b188c7cfa43e 14:45:58 noop 14:45:58 Removing intermediate container b188c7cfa43e 14:45:58 ---> c47ed80d8397 14:45:58 Successfully built c47ed80d8397 14:45:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:58 + docker inspect -f . ci-base-image-x86_64 14:45:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:45:58 prd-ubuntu20.04-docker-8c-8g-14682 does not seem to be running inside a container 14:45:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:45:58 $ docker top df1dc7e9072e7a247192d33fe317d9f0c320b00eb2d4be94cceaafb19cb6a623 -eo pid,comm [Pipeline] { [Pipeline] sh 14:45:59 + go version 14:45:59 go version go1.20.2 linux/amd64 [Pipeline] } 14:45:59 $ docker stop --time=1 df1dc7e9072e7a247192d33fe317d9f0c320b00eb2d4be94cceaafb19cb6a623 14:46:00 $ docker rm -f --volumes df1dc7e9072e7a247192d33fe317d9f0c320b00eb2d4be94cceaafb19cb6a623 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:00 + docker inspect -f . ci-base-image-x86_64 14:46:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:46:00 prd-ubuntu20.04-docker-8c-8g-14682 does not seem to be running inside a container 14:46:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:46:01 $ docker top e323789a93353083c577fe62b6387c1b11bf0ebefecc4e3e3e52b7bf8eab4ac0 -eo pid,comm [Pipeline] { [Pipeline] sh 14:46:01 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 14:46:02 + make test 14:46:02 go test -race -coverprofile=coverage.out ./... 14:46:09 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 14:46:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.048s coverage: 27.6% of statements 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 14:46:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 80.2% of statements 14:46:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.091s coverage: 86.0% of statements 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 14:46:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 77.5% of statements 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 14:46:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 14:46:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 14.3% of statements 14:46:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.069s coverage: 68.5% of statements 14:46:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.118s coverage: 89.2% of statements 14:46:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 5.5% of statements 14:46:42 GO111MODULE=on go vet ./... 14:46:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:46:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:46:45 ./bin/test-attribution-txt.sh [Pipeline] echo 14:46:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:46:45 $ docker stop --time=1 e323789a93353083c577fe62b6387c1b11bf0ebefecc4e3e3e52b7bf8eab4ac0 14:46:48 $ docker rm -f --volumes e323789a93353083c577fe62b6387c1b11bf0ebefecc4e3e3e52b7bf8eab4ac0 [Pipeline] // withDockerContainer [Pipeline] sh 14:46:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:46:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:46:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:46:50 + ls -al . 14:46:50 total 272 14:46:50 drwxrwxr-x 11 jenkins jenkins 4096 May 9 14:46 . 14:46:50 drwxrwxr-x 4 jenkins jenkins 4096 May 9 14:44 .. 14:46:50 -rw-rw-r-- 1 jenkins jenkins 140 May 9 14:44 .dockerignore 14:46:50 drwxrwxr-x 8 jenkins jenkins 4096 May 9 14:45 .git 14:46:50 drwxrwxr-x 2 jenkins jenkins 4096 May 9 14:44 .github 14:46:50 -rw-rw-r-- 1 jenkins jenkins 131 May 9 14:44 .gitignore 14:46:50 -rw-rw-r-- 1 jenkins jenkins 42 May 9 14:44 .golangci.yml 14:46:50 drwxr-xr-x 3 jenkins jenkins 4096 May 9 14:45 .semver 14:46:50 -rw-rw-r-- 1 jenkins jenkins 31677 May 9 14:44 CHANGELOG.md 14:46:50 -rw-rw-r-- 1 jenkins jenkins 677 May 9 14:44 GOVERNANCE.md 14:46:50 -rw-rw-r-- 1 jenkins jenkins 885 May 9 14:44 Jenkinsfile 14:46:50 -rw-rw-r-- 1 jenkins jenkins 11341 May 9 14:44 LICENSE 14:46:50 -rw-rw-r-- 1 jenkins jenkins 1714 May 9 14:44 Makefile 14:46:50 -rw-rw-r-- 1 jenkins jenkins 619 May 9 14:44 OWNERS.md 14:46:50 -rw-rw-r-- 1 jenkins jenkins 4891 May 9 14:44 README.md 14:46:50 -rw-rw-r-- 1 jenkins jenkins 12 May 9 14:45 VERSION 14:46:50 drwxrwxr-x 2 jenkins jenkins 4096 May 9 14:44 bin 14:46:50 -rw-r--r-- 1 jenkins jenkins 106406 May 9 14:46 coverage.out 14:46:50 drwxrwxr-x 5 jenkins jenkins 4096 May 9 14:44 example 14:46:50 -rw-rw-r-- 1 jenkins jenkins 3246 May 9 14:44 go.mod 14:46:50 -rw-rw-r-- 1 jenkins jenkins 30781 May 9 14:44 go.sum 14:46:50 drwxrwxr-x 12 jenkins jenkins 4096 May 9 14:44 internal 14:46:50 drwxrwxr-x 3 jenkins jenkins 4096 May 9 14:44 openapi 14:46:50 drwxrwxr-x 6 jenkins jenkins 4096 May 9 14:44 pkg 14:46:50 drwxrwxr-x 4 jenkins jenkins 4096 May 9 14:44 snap 14:46:50 -rw-rw-r-- 1 jenkins jenkins 222 May 9 14:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:50 + 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=d75af8d7736dd893bcb45da5c89d1e2b765d6b8d --label arch=amd64 --label version=3.0.0-dev.85 . 14:46:50 Sending build context to Docker daemon 11.19MB 14:46:50 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 14:46:50 Step 2/23 : FROM ${BASE} AS builder 14:46:50 ---> c47ed80d8397 14:46:50 Step 3/23 : ARG MAKE=make build 14:46:50 ---> Running in f117763d036c 14:46:50 Removing intermediate container f117763d036c 14:46:50 ---> 5299538bbe05 14:46:50 Step 4/23 : WORKDIR /device-sdk-go 14:46:50 ---> Running in 48e06e5c88bd 14:46:50 Removing intermediate container 48e06e5c88bd 14:46:50 ---> aacce2bfbfbe 14:46:50 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:46:50 ---> Running in b8b6c5395db4 14:46:51 Removing intermediate container b8b6c5395db4 14:46:51 ---> 3becd9ae50fa 14:46:51 Step 6/23 : RUN apk add --update --no-cache make git 14:46:51 ---> Running in e081058df631 14:46:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:46:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:46:51 OK: 265 MiB in 53 packages 14:46:52 Removing intermediate container e081058df631 14:46:52 ---> 5162f9732900 14:46:52 Step 7/23 : COPY go.mod vendor* ./ 14:46:52 ---> ccff69ef5933 14:46:52 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:46:52 ---> Running in 4cadac2d535f 14:46:52 Removing intermediate container 4cadac2d535f 14:46:52 ---> b55afca2575f 14:46:52 Step 9/23 : COPY . . 14:46:53 ---> abdc5635668a 14:46:53 Step 10/23 : RUN ${MAKE} 14:46:53 ---> Running in 95ec65c77349 14:46:53 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.85" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:47:11 Removing intermediate container 95ec65c77349 14:47:11 ---> 1c4e23eb047c 14:47:11 Step 11/23 : FROM alpine:3.17 14:47:11 3.17: Pulling from library/alpine 14:47:11 f56be85fc22e: Already exists 14:47:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 14:47:11 Status: Downloaded newer image for alpine:3.17 14:47:11 ---> 9ed4aefc74f6 14:47:11 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:47:11 ---> Running in 3defb85d49e0 14:47:11 Removing intermediate container 3defb85d49e0 14:47:11 ---> a8f53cc6e427 14:47:11 Step 13/23 : RUN apk add --update --no-cache 14:47:11 ---> Running in e0d0ce2a9779 14:47:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:47:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:47:11 OK: 7 MiB in 15 packages 14:47:12 Removing intermediate container e0d0ce2a9779 14:47:12 ---> c13af7d9f9c3 14:47:12 Step 14/23 : WORKDIR / 14:47:12 ---> Running in e46602a65fa1 14:47:12 Removing intermediate container e46602a65fa1 14:47:12 ---> ce87c0b9c654 14:47:12 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:47:12 ---> b409acfab217 14:47:12 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:47:12 ---> 6e6f4442006e 14:47:12 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:47:12 ---> db96b1c7221c 14:47:12 Step 18/23 : EXPOSE 59999 14:47:13 ---> Running in 0597616cf3c2 14:47:13 Removing intermediate container 0597616cf3c2 14:47:13 ---> babb09831681 14:47:13 Step 19/23 : ENTRYPOINT ["/device-simple"] 14:47:13 ---> Running in 692c9688995b 14:47:13 Removing intermediate container 692c9688995b 14:47:13 ---> 73b3b38f9124 14:47:13 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:47:13 ---> Running in 0a37e285f86d 14:47:13 Removing intermediate container 0a37e285f86d 14:47:13 ---> d9f52fcec25e 14:47:13 Step 21/23 : LABEL arch=amd64 14:47:13 ---> Running in fdf3a932908e 14:47:13 Removing intermediate container fdf3a932908e 14:47:13 ---> 02fc56531f0a 14:47:13 Step 22/23 : LABEL git_sha=d75af8d7736dd893bcb45da5c89d1e2b765d6b8d 14:47:13 ---> Running in 18cfbc467b43 14:47:13 Removing intermediate container 18cfbc467b43 14:47:13 ---> 7ac5768e2cdf 14:47:13 Step 23/23 : LABEL version=3.0.0-dev.85 14:47:13 ---> Running in b72bf96d8011 14:47:13 Removing intermediate container b72bf96d8011 14:47:13 ---> 4ae690dd48b5 14:47:13 [Warning] One or more build-args [ARCH] were not consumed 14:47:13 Successfully built 4ae690dd48b5 14:47:13 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 14:47:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:47:14 14:47:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:47:14 latest: Pulling from edgex-lftools-log-publisher 14:47:14 5eb5b503b376: Pulling fs layer 14:47:14 5c69ac0246d0: Pulling fs layer 14:47:14 ec43610c2a17: Pulling fs layer 14:47:14 3a2ae6a8a46f: Pulling fs layer 14:47:14 33b1e0a273af: Pulling fs layer 14:47:14 5d3b04190fa2: Pulling fs layer 14:47:14 2f39f015ded8: Pulling fs layer 14:47:14 3a2ae6a8a46f: Waiting 14:47:14 33b1e0a273af: Waiting 14:47:14 5d3b04190fa2: Waiting 14:47:14 2f39f015ded8: Waiting 14:47:14 5c69ac0246d0: Verifying Checksum 14:47:14 5c69ac0246d0: Download complete 14:47:14 3a2ae6a8a46f: Verifying Checksum 14:47:14 3a2ae6a8a46f: Download complete 14:47:14 33b1e0a273af: Verifying Checksum 14:47:14 33b1e0a273af: Download complete 14:47:14 ec43610c2a17: Verifying Checksum 14:47:14 ec43610c2a17: Download complete 14:47:14 5d3b04190fa2: Verifying Checksum 14:47:14 5d3b04190fa2: Download complete 14:47:14 5eb5b503b376: Verifying Checksum 14:47:14 5eb5b503b376: Download complete 14:47:15 2f39f015ded8: Download complete 14:47:15 5eb5b503b376: Pull complete 14:47:15 5c69ac0246d0: Pull complete 14:47:16 ec43610c2a17: Pull complete 14:47:16 3a2ae6a8a46f: Pull complete 14:47:16 33b1e0a273af: Pull complete 14:47:16 5d3b04190fa2: Pull complete 14:47:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14684 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 14:47:20 Running in /w/workspace/device-sdk-go/216 [Pipeline] { [Pipeline] checkout 14:47:20 The recommended git tool is: git 14:47:20 2f39f015ded8: Pull complete 14:47:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:47:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:47:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:47:20 prd-ubuntu20.04-docker-8c-8g-14682 does not seem to be running inside a container 14:47:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:47:23 $ docker top 1f272fdf05c7ba33f86bb5d32278ef8f0bd027c0b8164f51da26af3abd0de210 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:47:24 ---> job-cost.sh 14:47:24 lf-activate-venv: SKIPPING 14:47:24 INFO: No Stack... 14:47:24 INFO: Retrieving Pricing Info for: v3-standard-8 14:47:25 INFO: Archiving Costs [Pipeline] sh 14:47:25 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 14:47:25 + cut -d, -f6 [Pipeline] lock 14:47:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-216-stack-cost] 14:47:25 Resource [jenkins-edgexfoundry-device-sdk-go-main-216-stack-cost] did not exist. Created. 14:47:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-216-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:47:25 + echo total: 0.2199999988079071 [Pipeline] stash 14:47:25 Stashed 1 file(s) [Pipeline] } 14:47:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-216-stack-cost] [Pipeline] // lock [Pipeline] } 14:47:25 $ docker stop --time=1 1f272fdf05c7ba33f86bb5d32278ef8f0bd027c0b8164f51da26af3abd0de210 14:47:26 using credential edgex-jenkins-ssh 14:47:26 Cloning the remote Git repository 14:47:26 $ docker rm -f --volumes 1f272fdf05c7ba33f86bb5d32278ef8f0bd027c0b8164f51da26af3abd0de210 14:47:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:47:26 > git init /w/workspace/device-sdk-go/216 # timeout=10 14:47:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:47:26 > git --version # timeout=10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:47:26 > git --version # 'git version 2.25.1' 14:47:26 using GIT_SSH to set credentials SSH Credentials for GitHub 14:47:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:47:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:47:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:47:29 Avoid second fetch 14:47:29 Checking out Revision d75af8d7736dd893bcb45da5c89d1e2b765d6b8d (main) 14:47:30 Commit message: "feat: Enhance autodiscovery to better support multiple instances of same device service (#1444)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:47:29 > git config core.sparsecheckout # timeout=10 14:47:29 > git checkout -f d75af8d7736dd893bcb45da5c89d1e2b765d6b8d # timeout=10 14:47:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:47:31 % Total % Received % Xferd Average Speed Time Time Time Current 14:47:31 Dload Upload Total Spent Left Speed 14:47:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 14:47:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:47:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 14:47:32 sudo tee /etc/docker/daemon.new 14:47:32 { 14:47:32 "registry-mirrors": [ 14:47:32 "https://nexus3.edgexfoundry.org:10001" 14:47:32 ], 14:47:32 "bip": "10.250.0.254/24", 14:47:32 "hosts": [ 14:47:32 "tcp://0.0.0.0:5555", 14:47:32 "unix:///var/run/docker.sock" 14:47:32 ], 14:47:32 "mtu": 1458, 14:47:32 "selinux-enabled": true, 14:47:32 "seccomp-profile": "/etc/docker/seccomp.json" 14:47:32 } [Pipeline] sh 14:47:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:47:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:47:51 provisioning config files... 14:47:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/216@tmp/config7557342274963291574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:47:51 ---> docker-login.sh 14:47:51 nexus3.edgexfoundry.org:10001 14:47:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:47:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:47:52 Configure a credential helper to remove this warning. See 14:47:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:47:52 14:47:52 Login Succeeded 14:47:52 nexus3.edgexfoundry.org:10002 14:47:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:47:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:47:52 Configure a credential helper to remove this warning. See 14:47:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:47:52 14:47:52 Login Succeeded 14:47:52 nexus3.edgexfoundry.org:10003 14:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:47:53 Configure a credential helper to remove this warning. See 14:47:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:47:53 14:47:53 Login Succeeded 14:47:53 nexus3.edgexfoundry.org:10004 14:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:47:53 Configure a credential helper to remove this warning. See 14:47:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:47:53 14:47:53 Login Succeeded 14:47:53 docker.io 14:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:47:53 Configure a credential helper to remove this warning. See 14:47:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:47:53 14:47:53 Login Succeeded 14:47:53 ---> docker-login.sh ends [Pipeline] } 14:47:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:47:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:47:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:47:54 ========================================================= 14:47:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 14:47:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:54 + 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 . 14:47:54 Sending build context to Docker daemon 5.955MB 14:47:55 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 14:47:55 Step 2/10 : FROM ${BASE} AS builder 14:47:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:47:55 c41833b44d91: Pulling fs layer 14:47:55 ed15518f5707: Pulling fs layer 14:47:55 feae8fd75edb: Pulling fs layer 14:47:55 242c74f7c9fa: Pulling fs layer 14:47:55 3cdef696dda3: Pulling fs layer 14:47:55 2ced38df9373: Pulling fs layer 14:47:55 58f1dce35555: Pulling fs layer 14:47:55 3cdef696dda3: Waiting 14:47:55 2ced38df9373: Waiting 14:47:55 58f1dce35555: Waiting 14:47:55 242c74f7c9fa: Waiting 14:47:55 ed15518f5707: Verifying Checksum 14:47:55 ed15518f5707: Download complete 14:47:55 242c74f7c9fa: Verifying Checksum 14:47:55 242c74f7c9fa: Download complete 14:47:55 3cdef696dda3: Verifying Checksum 14:47:55 3cdef696dda3: Download complete 14:47:55 c41833b44d91: Verifying Checksum 14:47:55 c41833b44d91: Download complete 14:47:56 c41833b44d91: Pull complete 14:47:56 58f1dce35555: Verifying Checksum 14:47:56 58f1dce35555: Download complete 14:47:57 ed15518f5707: Pull complete 14:47:57 feae8fd75edb: Verifying Checksum 14:47:57 feae8fd75edb: Download complete 14:47:57 2ced38df9373: Verifying Checksum 14:47:57 2ced38df9373: Download complete 14:48:10 feae8fd75edb: Pull complete 14:48:10 242c74f7c9fa: Pull complete 14:48:10 3cdef696dda3: Pull complete 14:48:17 2ced38df9373: Pull complete 14:48:19 58f1dce35555: Pull complete 14:48:19 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 14:48:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 14:48:19 ---> fadd8f120f05 14:48:19 Step 3/10 : ARG MAKE=make build 14:48:21 ---> Running in a5a44050c1ba 14:48:21 Removing intermediate container a5a44050c1ba 14:48:21 ---> 6346e2092f83 14:48:21 Step 4/10 : WORKDIR /device-sdk-go 14:48:21 ---> Running in 5e5aca1dfc18 14:48:22 Removing intermediate container 5e5aca1dfc18 14:48:22 ---> c47e47b46130 14:48:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:48:22 ---> Running in 0568e09ea4b2 14:48:22 Removing intermediate container 0568e09ea4b2 14:48:22 ---> 3a574a0ed269 14:48:22 Step 6/10 : RUN apk add --update --no-cache make git 14:48:22 ---> Running in 35ff14121920 14:48:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:48:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:48:25 OK: 263 MiB in 53 packages 14:48:26 Removing intermediate container 35ff14121920 14:48:26 ---> 9a1d37b3ad01 14:48:26 Step 7/10 : COPY go.mod vendor* ./ 14:48:26 ---> 79487533306f 14:48:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:48:26 ---> Running in 575e4da1f427 14:49:34 Removing intermediate container 575e4da1f427 14:49:34 ---> b7902537df92 14:49:34 Step 9/10 : COPY . . 14:49:34 ---> c1695d126d37 14:49:34 Step 10/10 : RUN ${MAKE} 14:49:34 ---> Running in e24da9545e93 14:49:34 noop 14:49:34 Removing intermediate container e24da9545e93 14:49:34 ---> b611976c3050 14:49:34 Successfully built b611976c3050 14:49:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:35 + docker inspect -f . ci-base-image-arm64 14:49:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:49:35 prd-ubuntu20.04-docker-arm64-4c-16g-14684 does not seem to be running inside a container 14:49:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/216 -v /w/workspace/device-sdk-go/216:/w/workspace/device-sdk-go/216:rw,z -v /w/workspace/device-sdk-go/216@tmp:/w/workspace/device-sdk-go/216@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 14:49:36 $ docker top a317039cb5f1b66f6c39753972a751fb74892cbde0570aa309ea8f354172c780 -eo pid,comm [Pipeline] { [Pipeline] sh 14:49:37 + go version 14:49:37 go version go1.20.2 linux/arm64 [Pipeline] } 14:49:37 $ docker stop --time=1 a317039cb5f1b66f6c39753972a751fb74892cbde0570aa309ea8f354172c780 14:49:39 $ docker rm -f --volumes a317039cb5f1b66f6c39753972a751fb74892cbde0570aa309ea8f354172c780 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:49:39 + docker inspect -f . ci-base-image-arm64 14:49:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:49:39 prd-ubuntu20.04-docker-arm64-4c-16g-14684 does not seem to be running inside a container 14:49:40 $ 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/216 -v /w/workspace/device-sdk-go/216:/w/workspace/device-sdk-go/216:rw,z -v /w/workspace/device-sdk-go/216@tmp:/w/workspace/device-sdk-go/216@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 14:49:41 $ docker top 04b75fc23915212db2ba4b967aaed1ad66799eab0542b8933a53b78c219301ba -eo pid,comm [Pipeline] { [Pipeline] sh 14:49:42 + git config --global --add safe.directory /w/workspace/device-sdk-go/216 [Pipeline] fileExists [Pipeline] sh 14:49:42 + make test 14:49:42 go test -race -coverprofile=coverage.out ./... 14:50:21 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 14:52:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 14:52:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 14:52:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 14:52:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 14:52:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 14:52:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.227s coverage: 27.6% of statements 14:52:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.248s coverage: 80.2% of statements 14:52:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 14:52:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 14:52:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.342s coverage: 86.0% of statements 14:52:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 14:52:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.451s coverage: 77.5% of statements 14:52:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 14:52:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 14:52:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 14:52:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.297s coverage: 14.3% of statements 14:52:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.416s coverage: 68.5% of statements 14:52:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.452s coverage: 89.2% of statements 14:52:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 14:52:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.239s coverage: 5.5% of statements 14:52:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:52:53 GO111MODULE=on go vet ./... 14:55:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:55:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:55:15 ./bin/test-attribution-txt.sh [Pipeline] echo 14:55:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:55:15 $ docker stop --time=1 04b75fc23915212db2ba4b967aaed1ad66799eab0542b8933a53b78c219301ba 14:55:17 $ docker rm -f --volumes 04b75fc23915212db2ba4b967aaed1ad66799eab0542b8933a53b78c219301ba [Pipeline] // withDockerContainer [Pipeline] sh 14:55:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:55:19 Warning: overwriting stash ‘coverage-report’ 14:55:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:55:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:55:20 + ls -al . 14:55:20 total 268 14:55:20 drwxrwxr-x 10 jenkins jenkins 4096 May 9 14:49 . 14:55:20 drwxrwxr-x 4 jenkins jenkins 4096 May 9 14:47 .. 14:55:20 -rw-rw-r-- 1 jenkins jenkins 140 May 9 14:47 .dockerignore 14:55:20 drwxrwxr-x 8 jenkins jenkins 4096 May 9 14:47 .git 14:55:20 drwxrwxr-x 2 jenkins jenkins 4096 May 9 14:47 .github 14:55:20 -rw-rw-r-- 1 jenkins jenkins 131 May 9 14:47 .gitignore 14:55:20 -rw-rw-r-- 1 jenkins jenkins 42 May 9 14:47 .golangci.yml 14:55:20 -rw-rw-r-- 1 jenkins jenkins 31677 May 9 14:47 CHANGELOG.md 14:55:20 -rw-rw-r-- 1 jenkins jenkins 677 May 9 14:47 GOVERNANCE.md 14:55:20 -rw-rw-r-- 1 jenkins jenkins 885 May 9 14:47 Jenkinsfile 14:55:20 -rw-rw-r-- 1 jenkins jenkins 11341 May 9 14:47 LICENSE 14:55:20 -rw-rw-r-- 1 jenkins jenkins 1714 May 9 14:47 Makefile 14:55:20 -rw-rw-r-- 1 jenkins jenkins 619 May 9 14:47 OWNERS.md 14:55:20 -rw-rw-r-- 1 jenkins jenkins 4891 May 9 14:47 README.md 14:55:20 -rw-rw-r-- 1 jenkins jenkins 12 May 9 14:45 VERSION 14:55:20 drwxrwxr-x 2 jenkins jenkins 4096 May 9 14:47 bin 14:55:20 -rw-r--r-- 1 jenkins jenkins 106406 May 9 14:52 coverage.out 14:55:20 drwxrwxr-x 5 jenkins jenkins 4096 May 9 14:47 example 14:55:20 -rw-rw-r-- 1 jenkins jenkins 3246 May 9 14:47 go.mod 14:55:20 -rw-rw-r-- 1 jenkins jenkins 30781 May 9 14:47 go.sum 14:55:20 drwxrwxr-x 12 jenkins jenkins 4096 May 9 14:47 internal 14:55:20 drwxrwxr-x 3 jenkins jenkins 4096 May 9 14:47 openapi 14:55:20 drwxrwxr-x 6 jenkins jenkins 4096 May 9 14:47 pkg 14:55:20 drwxrwxr-x 4 jenkins jenkins 4096 May 9 14:47 snap 14:55:20 -rw-rw-r-- 1 jenkins jenkins 222 May 9 14:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:20 + 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=d75af8d7736dd893bcb45da5c89d1e2b765d6b8d --label arch=arm64 --label version=3.0.0-dev.85 . 14:55:21 Sending build context to Docker daemon 6.062MB 14:55:21 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 14:55:21 Step 2/23 : FROM ${BASE} AS builder 14:55:21 ---> b611976c3050 14:55:21 Step 3/23 : ARG MAKE=make build 14:55:21 ---> Running in a7577cf0b54b 14:55:21 Removing intermediate container a7577cf0b54b 14:55:21 ---> 6a8e098e8a13 14:55:21 Step 4/23 : WORKDIR /device-sdk-go 14:55:22 ---> Running in eecd4d8e542d 14:55:22 Removing intermediate container eecd4d8e542d 14:55:22 ---> ddc986689e20 14:55:22 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:55:22 ---> Running in 292b353e1e70 14:55:22 Removing intermediate container 292b353e1e70 14:55:22 ---> b697c4b44ec0 14:55:22 Step 6/23 : RUN apk add --update --no-cache make git 14:55:22 ---> Running in e96edec6f963 14:55:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:55:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:55:25 OK: 263 MiB in 53 packages 14:55:26 Removing intermediate container e96edec6f963 14:55:26 ---> 2ae258cbdb1a 14:55:26 Step 7/23 : COPY go.mod vendor* ./ 14:55:26 ---> 31b7e3ddf9ba 14:55:26 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:55:26 ---> Running in 1ebbc7fd8966 14:55:29 Removing intermediate container 1ebbc7fd8966 14:55:29 ---> 5c30e4a757a6 14:55:29 Step 9/23 : COPY . . 14:55:30 ---> feee80a7db1e 14:55:30 Step 10/23 : RUN ${MAKE} 14:55:30 ---> Running in 111c66e764cb 14:55:31 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.85" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:57:53 Removing intermediate container 111c66e764cb 14:57:53 ---> ff7c5a311bee 14:57:53 Step 11/23 : FROM alpine:3.17 14:57:53 3.17: Pulling from library/alpine 14:57:53 c41833b44d91: Already exists 14:57:53 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 14:57:53 Status: Downloaded newer image for alpine:3.17 14:57:53 ---> 51e60588ff2c 14:57:53 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:57:53 ---> Running in eb88ab5dd350 14:57:53 Removing intermediate container eb88ab5dd350 14:57:53 ---> d592ff4439eb 14:57:53 Step 13/23 : RUN apk add --update --no-cache 14:57:53 ---> Running in 88e200d4954c 14:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:57:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:57:53 OK: 7 MiB in 15 packages 14:57:53 Removing intermediate container 88e200d4954c 14:57:53 ---> 94d7ff4cd716 14:57:53 Step 14/23 : WORKDIR / 14:57:53 ---> Running in ec04d532ce14 14:57:53 Removing intermediate container ec04d532ce14 14:57:53 ---> ec46ef527912 14:57:53 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:57:53 ---> 9ced34f82929 14:57:53 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:57:53 ---> beee2067b7ba 14:57:53 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:57:53 ---> 20a180f62dfa 14:57:53 Step 18/23 : EXPOSE 59999 14:57:53 ---> Running in 363573e06005 14:57:53 Removing intermediate container 363573e06005 14:57:53 ---> bf99c128dc3d 14:57:53 Step 19/23 : ENTRYPOINT ["/device-simple"] 14:57:53 ---> Running in 92a0024fa39d 14:57:53 Removing intermediate container 92a0024fa39d 14:57:53 ---> 5c51a02f317f 14:57:53 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:57:53 ---> Running in 2d51bba23e30 14:57:53 Removing intermediate container 2d51bba23e30 14:57:53 ---> 52143954f7b9 14:57:53 Step 21/23 : LABEL arch=arm64 14:57:53 ---> Running in d3e9a914b23b 14:57:53 Removing intermediate container d3e9a914b23b 14:57:53 ---> d875fce27be1 14:57:53 Step 22/23 : LABEL git_sha=d75af8d7736dd893bcb45da5c89d1e2b765d6b8d 14:57:53 ---> Running in 1f7eadeaf5c5 14:57:53 Removing intermediate container 1f7eadeaf5c5 14:57:53 ---> 486f71401166 14:57:53 Step 23/23 : LABEL version=3.0.0-dev.85 14:57:53 ---> Running in d9313ddb083c 14:57:53 Removing intermediate container d9313ddb083c 14:57:53 ---> 66b7e0d96253 14:57:53 [Warning] One or more build-args [ARCH] were not consumed 14:57:53 Successfully built 66b7e0d96253 14:57:53 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 14:57:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:57:53 14:57:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:57:53 arm64: Pulling from edgex-lftools-log-publisher 14:57:53 8998bd30e6a1: Pulling fs layer 14:57:53 04944245beec: Pulling fs layer 14:57:53 699f458cf7ca: Pulling fs layer 14:57:53 765212b225bb: Pulling fs layer 14:57:53 f23df028b6ca: Pulling fs layer 14:57:53 d65c8cfc05b1: Pulling fs layer 14:57:53 2437ff75d9bd: Pulling fs layer 14:57:53 765212b225bb: Waiting 14:57:53 f23df028b6ca: Waiting 14:57:53 d65c8cfc05b1: Waiting 14:57:53 2437ff75d9bd: Waiting 14:57:54 04944245beec: Verifying Checksum 14:57:54 04944245beec: Download complete 14:57:54 765212b225bb: Verifying Checksum 14:57:54 765212b225bb: Download complete 14:57:54 f23df028b6ca: Verifying Checksum 14:57:54 f23df028b6ca: Download complete 14:57:54 d65c8cfc05b1: Verifying Checksum 14:57:54 d65c8cfc05b1: Download complete 14:57:54 699f458cf7ca: Verifying Checksum 14:57:54 699f458cf7ca: Download complete 14:57:54 8998bd30e6a1: Verifying Checksum 14:57:54 8998bd30e6a1: Download complete 14:57:56 2437ff75d9bd: Verifying Checksum 14:57:56 2437ff75d9bd: Download complete 14:57:58 8998bd30e6a1: Pull complete 14:57:59 04944245beec: Pull complete 14:58:00 699f458cf7ca: Pull complete 14:58:00 765212b225bb: Pull complete 14:58:01 f23df028b6ca: Pull complete 14:58:01 d65c8cfc05b1: Pull complete 14:58:16 2437ff75d9bd: Pull complete 14:58:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:58:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:58:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:17 prd-ubuntu20.04-docker-arm64-4c-16g-14684 does not seem to be running inside a container 14:58:17 $ 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/216 -v /w/workspace/device-sdk-go/216:/w/workspace/device-sdk-go/216:rw,z -v /w/workspace/device-sdk-go/216@tmp:/w/workspace/device-sdk-go/216@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 14:58:23 $ docker top 4ae1b4360980087312292a9009926b2ec5194c15d7b42c3950157c5d2b1835ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:58:24 ---> job-cost.sh 14:58:24 lf-activate-venv: SKIPPING 14:58:24 INFO: No Stack... 14:58:24 INFO: Retrieving Pricing Info for: v3-standard-4 14:58:25 INFO: Archiving Costs [Pipeline] sh 14:58:26 + cat /w/workspace/device-sdk-go/216/archives/cost.csv 14:58:26 + cut -d, -f6 [Pipeline] lock 14:58:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-216-stack-cost] 14:58:26 Resource [jenkins-edgexfoundry-device-sdk-go-main-216-stack-cost] did not exist. Created. 14:58:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-216-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:58:26 /w/workspace/device-sdk-go/216@tmp/durable-9f653b86/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:58:27 + echo total: 0.10999999940395355 [Pipeline] stash 14:58:27 Warning: overwriting stash ‘stack-cost’ 14:58:27 Stashed 1 file(s) [Pipeline] } 14:58:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-216-stack-cost] [Pipeline] // lock [Pipeline] } 14:58:27 $ docker stop --time=1 4ae1b4360980087312292a9009926b2ec5194c15d7b42c3950157c5d2b1835ba 14:58:29 $ docker rm -f --volumes 4ae1b4360980087312292a9009926b2ec5194c15d7b42c3950157c5d2b1835ba [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 14:58:29 provisioning config files... 14:58:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16793642645074432038tmp [Pipeline] { [Pipeline] sh 14:58:29 + set +x 14:58:29 + curl -s https://codecov.io/bash 14:58:29 + bash -s -- 14:58:29 14:58:29 _____ _ 14:58:29 / ____| | | 14:58:29 | | ___ __| | ___ ___ _____ __ 14:58:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:58:29 | |___| (_) | (_| | __/ (_| (_) \ V / 14:58:29 \_____\___/ \__,_|\___|\___\___/ \_/ 14:58:29 Bash-1.0.6 14:58:29 14:58:29 14:58:29 ==> git version 2.25.1 found 14:58:29 ==> 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 14:58:29 Release-Date: 2020-01-08 14:58:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:58:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:58:29 ==> Jenkins CI detected. 14:58:29 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 14:58:29 project root: . 14:58:29 --> token set from env 14:58:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:58:29 ==> Running gcov in . (disable via -X gcov) 14:58:29 ==> Python coveragepy not found 14:58:29 ==> Searching for coverage reports in: 14:58:29 + . 14:58:29 -> Found 1 reports 14:58:30 ==> Detecting git/mercurial file structure 14:58:30 ==> Reading reports 14:58:30 + ./coverage.out bytes=106406 14:58:30 ==> Appending adjustments 14:58:30 https://docs.codecov.io/docs/fixing-reports 14:58:30 + Found adjustments 14:58:30 ==> Gzipping contents 14:58:30 16K /tmp/codecov.DrSPxE.gz 14:58:30 ==> Uploading reports 14:58:30 url: https://codecov.io 14:58:30 query: branch=main&commit=d75af8d7736dd893bcb45da5c89d1e2b765d6b8d&build=216&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F216%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:58:30 -> Pinging Codecov 14:58:30 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=d75af8d7736dd893bcb45da5c89d1e2b765d6b8d&build=216&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F216%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:58:30 -> Uploading to 14:58:30 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/7E55EF52A471D76F132DFD9A03CDDE97/d75af8d7736dd893bcb45da5c89d1e2b765d6b8d/7d71b17b-6cbb-44b4-843a-529593f07c20.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T145830Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6fdaea9e37c696cf6d4710680f344f881096aaae287d118da28795a1998184c9 14:58:30 % Total % Received % Xferd Average Speed Time Time Time Current 14:58:30 Dload Upload Total Spent Left Speed 14:58:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15098 0 0 100 15098 0 68940 --:--:-- --:--:-- --:--:-- 68940 14:58:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d75af8d7736dd893bcb45da5c89d1e2b765d6b8d [Pipeline] } 14:58:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:58:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:58:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:58:31 14:58:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:58:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:58:31 df9b9388f04a: Pulling fs layer 14:58:31 52dc419b0ee2: Pulling fs layer 14:58:31 25bc292e5bac: Pulling fs layer 14:58:31 114826534d7a: Pulling fs layer 14:58:31 4657fd5d0bcf: Pulling fs layer 14:58:31 6ad1cebc031e: Pulling fs layer 14:58:31 8a3aa393b2d8: Pulling fs layer 14:58:31 4657fd5d0bcf: Waiting 14:58:31 6ad1cebc031e: Waiting 14:58:31 8a3aa393b2d8: Waiting 14:58:31 114826534d7a: Waiting 14:58:31 25bc292e5bac: Verifying Checksum 14:58:31 25bc292e5bac: Download complete 14:58:31 52dc419b0ee2: Download complete 14:58:31 4657fd5d0bcf: Verifying Checksum 14:58:31 4657fd5d0bcf: Download complete 14:58:31 df9b9388f04a: Download complete 14:58:31 6ad1cebc031e: Verifying Checksum 14:58:31 6ad1cebc031e: Download complete 14:58:31 df9b9388f04a: Pull complete 14:58:31 52dc419b0ee2: Pull complete 14:58:31 25bc292e5bac: Pull complete 14:58:32 114826534d7a: Verifying Checksum 14:58:32 114826534d7a: Download complete 14:58:32 8a3aa393b2d8: Verifying Checksum 14:58:32 8a3aa393b2d8: Download complete 14:58:35 114826534d7a: Pull complete 14:58:35 4657fd5d0bcf: Pull complete 14:58:35 6ad1cebc031e: Pull complete 14:58:39 8a3aa393b2d8: Pull complete 14:58:39 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:58:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:58:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:39 prd-ubuntu20.04-docker-8c-8g-14682 does not seem to be running inside a container 14:58:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:58:43 $ docker top 474553aa339a3a92a730b8787885ea19daac54ba689a5240bef7121554dda961 -eo pid,comm [Pipeline] { [Pipeline] echo 14:58:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 14:58:44 + set -o pipefail 14:58:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 14:58:49 14:58:49 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 14:58:49 14:58:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/3c42bd01-92e7-4453-ab70-945068456b1b 14:58:49 14:58:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:58:49 14:58:49 14:58:49 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:58:49 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:58:49 More details here: https://snyk.co/ue1NS 14:58:49 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 14:58:49 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 14:58:49 $ docker stop --time=1 474553aa339a3a92a730b8787885ea19daac54ba689a5240bef7121554dda961 14:58:52 $ docker rm -f --volumes 474553aa339a3a92a730b8787885ea19daac54ba689a5240bef7121554dda961 [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 14:58:52 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:58:52 provisioning config files... 14:58:53 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12402598597243414772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:58:53 --> edgex-publish-swagger.sh 14:58:53 === Publish openapi/v3 API === 14:58:53 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 14:58:53 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 14:58:53 % Total % Received % Xferd Average Speed Time Time Time Current 14:58:53 Dload Upload Total Spent Left Speed 14:58:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 104k --:--:-- --:--:-- --:--:-- 103k 100 23674 0 0 100 23674 0 45352 --:--:-- --:--:-- --:--:-- 45265 14:58:53 14:58:53 [Pipeline] } 14:58:53 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 14:58:54 + git log --format=format:%s -1 d75af8d7736dd893bcb45da5c89d1e2b765d6b8d [Pipeline] sh 14:58:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:58:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:58:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:54 prd-ubuntu20.04-docker-8c-8g-14682 does not seem to be running inside a container 14:58:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:58:55 $ docker top 36c326add8a517b5532829ae404d2dec96679e5c4c8bd4fb64c99fbb81639cf9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:58:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:58:55 [ssh-agent] Looking for ssh-agent implementation... 14:58:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:58:55 $ docker exec 36c326add8a517b5532829ae404d2dec96679e5c4c8bd4fb64c99fbb81639cf9 ssh-agent 14:58:55 SSH_AUTH_SOCK=/tmp/ssh-9I1OH1UTNQyZ/agent.32 14:58:55 SSH_AGENT_PID=38 14:58:55 Running ssh-add (command line suppressed) 14:58:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6985269344730709461.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6985269344730709461.key) 14:58:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:58:56 + git semver tag 14:58:56 2023-05-09 14:58:56,237 [run_tag] DEBUG tag force:False 14:58:56 2023-05-09 14:58:56,237 [check_head_tag] DEBUG check head tag 14:58:56 2023-05-09 14:58:56,239 [execute] INFO git cat-file --batch-check 14:58:56 2023-05-09 14:58:56,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 14:58:56 2023-05-09 14:58:56,242 [execute] INFO git cat-file --batch 14:58:56 2023-05-09 14:58:56,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 14:58:56 2023-05-09 14:58:56,294 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:58:56 2023-05-09 14:58:56,294 [execute] INFO git tag -a v3.0.0-dev.85 -m v3.0.0-dev.85 14:58:56 2023-05-09 14:58:56,294 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.85', '-m', 'v3.0.0-dev.85'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 14:58:56 2023-05-09 14:58:56,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:58:56 3.0.0-dev.85 [Pipeline] } 14:58:56 $ docker exec --env ******** --env ******** 36c326add8a517b5532829ae404d2dec96679e5c4c8bd4fb64c99fbb81639cf9 ssh-agent -k 14:58:56 unset SSH_AUTH_SOCK; 14:58:56 unset SSH_AGENT_PID; 14:58:56 echo Agent pid 38 killed; 14:58:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:58:56 + git semver [Pipeline] } 14:58:57 $ docker stop --time=1 36c326add8a517b5532829ae404d2dec96679e5c4c8bd4fb64c99fbb81639cf9 14:58:58 $ docker rm -f --volumes 36c326add8a517b5532829ae404d2dec96679e5c4c8bd4fb64c99fbb81639cf9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:58:58 14:58:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:58:58 0.23.1-centos7: Pulling from edgex-lftools 14:58:58 ab5ef0e58194: Pulling fs layer 14:58:58 9712f1f96733: Pulling fs layer 14:58:58 63f879dbbcfc: Pulling fs layer 14:58:58 0d9ebad4ef96: Pulling fs layer 14:58:58 e9a5061849ea: Pulling fs layer 14:58:58 d747dcd14b5f: Pulling fs layer 14:58:58 2de7ff778b66: Pulling fs layer 14:58:58 e9a5061849ea: Waiting 14:58:58 0d9ebad4ef96: Waiting 14:58:58 d747dcd14b5f: Waiting 14:58:58 2de7ff778b66: Waiting 14:58:58 9712f1f96733: Verifying Checksum 14:58:58 9712f1f96733: Download complete 14:58:59 63f879dbbcfc: Verifying Checksum 14:58:59 63f879dbbcfc: Download complete 14:58:59 e9a5061849ea: Verifying Checksum 14:58:59 e9a5061849ea: Download complete 14:58:59 d747dcd14b5f: Download complete 14:58:59 0d9ebad4ef96: Verifying Checksum 14:58:59 0d9ebad4ef96: Download complete 14:58:59 ab5ef0e58194: Verifying Checksum 14:58:59 ab5ef0e58194: Download complete 14:58:59 2de7ff778b66: Verifying Checksum 14:58:59 2de7ff778b66: Download complete 14:59:02 ab5ef0e58194: Pull complete 14:59:02 9712f1f96733: Pull complete 14:59:02 63f879dbbcfc: Pull complete 14:59:05 0d9ebad4ef96: Pull complete 14:59:06 e9a5061849ea: Pull complete 14:59:06 d747dcd14b5f: Pull complete 14:59:07 2de7ff778b66: Pull complete 14:59:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:59:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:59:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:07 prd-ubuntu20.04-docker-8c-8g-14682 does not seem to be running inside a container 14:59:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:59:12 $ docker top 1455b0824ba00120ca65a111ab907e2adab038c61e83267ae8cffceac8f357d9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:59:12 provisioning config files... 14:59:12 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5896779889117339510tmp 14:59:12 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3826140962898740077tmp 14:59:12 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12684867095648806896tmp [Pipeline] { [Pipeline] echo 14:59:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:59:13 ---> sigul-configuration.sh 14:59:13 gpg: directory `/root/.gnupg' created 14:59:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:59:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:59:13 gpg: keyring `/root/.gnupg/secring.gpg' created 14:59:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:59:13 gpg: CAST5 encrypted data 14:59:13 gpg: encrypted with 1 passphrase 14:59:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:59:13 + mkdir /home/jenkins 14:59:13 + mkdir /home/jenkins/sigul [Pipeline] sh 14:59:13 + 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 14:59:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:59:13 ---> sigul-install.sh 14:59:13 Sigul already installed; skipping installation. [Pipeline] sh 14:59:14 + git tag --list 14:59:14 0.7.1 14:59:14 delhi-tag 14:59:14 v1.0.0 14:59:14 v1.1.0 14:59:14 v1.1.1 14:59:14 v1.1.2 14:59:14 v1.2.0 14:59:14 v1.2.1 14:59:14 v1.2.2 14:59:14 v1.2.3 14:59:14 v1.3.0 14:59:14 v1.4.0 14:59:14 v2.0.0 14:59:14 v2.1.0 14:59:14 v2.1.1 14:59:14 v2.1.1-dev.2 14:59:14 v2.1.1-dev.3 14:59:14 v2.2.0 14:59:14 v2.2.1-dev.1 14:59:14 v2.2.1-dev.10 14:59:14 v2.2.1-dev.11 14:59:14 v2.2.1-dev.12 14:59:14 v2.2.1-dev.13 14:59:14 v2.2.1-dev.14 14:59:14 v2.2.1-dev.2 14:59:14 v2.2.1-dev.3 14:59:14 v2.2.1-dev.4 14:59:14 v2.2.1-dev.5 14:59:14 v2.2.1-dev.6 14:59:14 v2.2.1-dev.7 14:59:14 v2.2.1-dev.8 14:59:14 v2.2.1-dev.9 14:59:14 v2.3.0 14:59:14 v2.3.0-dev.14 14:59:14 v2.3.0-dev.15 14:59:14 v2.3.0-dev.16 14:59:14 v2.3.0-dev.17 14:59:14 v2.3.0-dev.18 14:59:14 v2.3.0-dev.19 14:59:14 v2.3.0-dev.20 14:59:14 v2.3.0-dev.21 14:59:14 v2.3.0-dev.22 14:59:14 v2.3.0-dev.23 14:59:14 v2.3.0-dev.24 14:59:14 v2.3.0-dev.25 14:59:14 v2.3.0-dev.26 14:59:14 v2.3.0-dev.27 14:59:14 v2.3.0-dev.28 14:59:14 v2.3.0-dev.29 14:59:14 v2.3.0-dev.30 14:59:14 v2.3.0-dev.31 14:59:14 v2.3.0-dev.32 14:59:14 v2.3.0-dev.33 14:59:14 v2.3.0-dev.34 14:59:14 v2.3.0-dev.35 14:59:14 v2.3.0-dev.36 14:59:14 v2.3.0-dev.37 14:59:14 v2.3.0-dev.38 14:59:14 v2.3.0-dev.39 14:59:14 v2.3.0-dev.40 14:59:14 v2.3.0-dev.41 14:59:14 v2.3.0-dev.42 14:59:14 v2.3.0-dev.43 14:59:14 v2.3.0-dev.44 14:59:14 v2.3.0-dev.45 14:59:14 v2.3.0-dev.46 14:59:14 v2.3.0-dev.47 14:59:14 v2.3.0-dev.48 14:59:14 v2.3.0-dev.49 14:59:14 v2.3.0-dev.50 14:59:14 v2.3.0-dev.51 14:59:14 v2.3.1 14:59:14 v2.3.1-dev.1 14:59:14 v2.3.1-dev.2 14:59:14 v2.3.1-dev.3 14:59:14 v2.3.1-dev.4 14:59:14 v3.0.0-dev.1 14:59:14 v3.0.0-dev.10 14:59:14 v3.0.0-dev.11 14:59:14 v3.0.0-dev.12 14:59:14 v3.0.0-dev.13 14:59:14 v3.0.0-dev.14 14:59:14 v3.0.0-dev.15 14:59:14 v3.0.0-dev.16 14:59:14 v3.0.0-dev.17 14:59:14 v3.0.0-dev.18 14:59:14 v3.0.0-dev.19 14:59:14 v3.0.0-dev.2 14:59:14 v3.0.0-dev.20 14:59:14 v3.0.0-dev.21 14:59:14 v3.0.0-dev.22 14:59:14 v3.0.0-dev.23 14:59:14 v3.0.0-dev.24 14:59:14 v3.0.0-dev.25 14:59:14 v3.0.0-dev.26 14:59:14 v3.0.0-dev.27 14:59:14 v3.0.0-dev.28 14:59:14 v3.0.0-dev.29 14:59:14 v3.0.0-dev.3 14:59:14 v3.0.0-dev.30 14:59:14 v3.0.0-dev.31 14:59:14 v3.0.0-dev.32 14:59:14 v3.0.0-dev.33 14:59:14 v3.0.0-dev.34 14:59:14 v3.0.0-dev.35 14:59:14 v3.0.0-dev.36 14:59:14 v3.0.0-dev.37 14:59:14 v3.0.0-dev.38 14:59:14 v3.0.0-dev.39 14:59:14 v3.0.0-dev.4 14:59:14 v3.0.0-dev.40 14:59:14 v3.0.0-dev.41 14:59:14 v3.0.0-dev.42 14:59:14 v3.0.0-dev.43 14:59:14 v3.0.0-dev.44 14:59:14 v3.0.0-dev.45 14:59:14 v3.0.0-dev.46 14:59:14 v3.0.0-dev.47 14:59:14 v3.0.0-dev.48 14:59:14 v3.0.0-dev.49 14:59:14 v3.0.0-dev.5 14:59:14 v3.0.0-dev.50 14:59:14 v3.0.0-dev.51 14:59:14 v3.0.0-dev.52 14:59:14 v3.0.0-dev.53 14:59:14 v3.0.0-dev.54 14:59:14 v3.0.0-dev.55 14:59:14 v3.0.0-dev.56 14:59:14 v3.0.0-dev.57 14:59:14 v3.0.0-dev.58 14:59:14 v3.0.0-dev.59 14:59:14 v3.0.0-dev.6 14:59:14 v3.0.0-dev.60 14:59:14 v3.0.0-dev.61 14:59:14 v3.0.0-dev.62 14:59:14 v3.0.0-dev.63 14:59:14 v3.0.0-dev.64 14:59:14 v3.0.0-dev.65 14:59:14 v3.0.0-dev.66 14:59:14 v3.0.0-dev.67 14:59:14 v3.0.0-dev.68 14:59:14 v3.0.0-dev.69 14:59:14 v3.0.0-dev.7 14:59:14 v3.0.0-dev.70 14:59:14 v3.0.0-dev.71 14:59:14 v3.0.0-dev.72 14:59:14 v3.0.0-dev.73 14:59:14 v3.0.0-dev.74 14:59:14 v3.0.0-dev.75 14:59:14 v3.0.0-dev.76 14:59:14 v3.0.0-dev.77 14:59:14 v3.0.0-dev.78 14:59:14 v3.0.0-dev.79 14:59:14 v3.0.0-dev.8 14:59:14 v3.0.0-dev.80 14:59:14 v3.0.0-dev.81 14:59:14 v3.0.0-dev.82 14:59:14 v3.0.0-dev.83 14:59:14 v3.0.0-dev.84 14:59:14 v3.0.0-dev.85 14:59:14 v3.0.0-dev.9 [Pipeline] sh 14:59:14 + lftools sign git-tag v3.0.0-dev.85 14:59:15 Signing Git tag with Sigul... 14:59:15 Signing v3.0.0-dev.85 [Pipeline] echo 14:59:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:59:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:59:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:59:15 $ docker stop --time=1 1455b0824ba00120ca65a111ab907e2adab038c61e83267ae8cffceac8f357d9 14:59:17 $ docker rm -f --volumes 1455b0824ba00120ca65a111ab907e2adab038c61e83267ae8cffceac8f357d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:59:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:59:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:59:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:18 prd-ubuntu20.04-docker-8c-8g-14682 does not seem to be running inside a container 14:59:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:59:18 $ docker top f06ad2219f8ee3e8f0060925301fbf14ebf275815f65be1b0fc913a20a55ebaa -eo pid,comm 14:59:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:59:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:59:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:59:18 [ssh-agent] Looking for ssh-agent implementation... 14:59:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:59:18 $ docker exec f06ad2219f8ee3e8f0060925301fbf14ebf275815f65be1b0fc913a20a55ebaa ssh-agent 14:59:18 SSH_AUTH_SOCK=/tmp/ssh-c0VO9P4TF6t3/agent.31 14:59:18 SSH_AGENT_PID=37 14:59:18 Running ssh-add (command line suppressed) 14:59:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4964651214723679735.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4964651214723679735.key) 14:59:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:59:19 + git semver bump pre 14:59:19 2023-05-09 14:59:19,260 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:59:19 2023-05-09 14:59:19,260 [bump_version] DEBUG bumping version:3.0.0-dev.85 on axis:pre with prefix:dev 14:59:19 2023-05-09 14:59:19,260 [bump_version] DEBUG bumped version:3.0.0-dev.86 14:59:19 2023-05-09 14:59:19,260 [write_version] DEBUG write version:3.0.0-dev.86 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 14:59:19 2023-05-09 14:59:19,260 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:59:19 2023-05-09 14:59:19,260 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:59:19 2023-05-09 14:59:19,262 [execute] INFO git cat-file --batch-check 14:59:19 2023-05-09 14:59:19,262 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:59:19 2023-05-09 14:59:19,268 [execute] INFO git cat-file --batch 14:59:19 2023-05-09 14:59:19,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:59:19 2023-05-09 14:59:19,273 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:59:19 3.0.0-dev.86 [Pipeline] } 14:59:19 $ docker exec --env ******** --env ******** f06ad2219f8ee3e8f0060925301fbf14ebf275815f65be1b0fc913a20a55ebaa ssh-agent -k 14:59:19 unset SSH_AUTH_SOCK; 14:59:19 unset SSH_AGENT_PID; 14:59:19 echo Agent pid 37 killed; 14:59:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:59:19 + git semver [Pipeline] } 14:59:20 $ docker stop --time=1 f06ad2219f8ee3e8f0060925301fbf14ebf275815f65be1b0fc913a20a55ebaa 14:59:21 $ docker rm -f --volumes f06ad2219f8ee3e8f0060925301fbf14ebf275815f65be1b0fc913a20a55ebaa [Pipeline] // withDockerContainer [Pipeline] sh 14:59:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:59:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:59:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:22 prd-ubuntu20.04-docker-8c-8g-14682 does not seem to be running inside a container 14:59:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:59:22 $ docker top 509eb1b3fa228ca338a528d560e41f234634242312c4884127045276a5fbc297 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:59:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:59:22 [ssh-agent] Looking for ssh-agent implementation... 14:59:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:59:22 $ docker exec 509eb1b3fa228ca338a528d560e41f234634242312c4884127045276a5fbc297 ssh-agent 14:59:22 SSH_AUTH_SOCK=/tmp/ssh-D2tnwATFd3Gq/agent.33 14:59:22 SSH_AGENT_PID=39 14:59:22 Running ssh-add (command line suppressed) 14:59:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3208472131815330546.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3208472131815330546.key) 14:59:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:59:23 + git semver push 14:59:23 2023-05-09 14:59:23,289 [run_push] DEBUG push 14:59:23 2023-05-09 14:59:23,289 [execute] INFO git cat-file --batch-check 14:59:23 2023-05-09 14:59:23,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:59:23 2023-05-09 14:59:23,292 [execute] INFO git rev-list 46d890ab3961a8b226769f61be805917c024fbcb -- 14:59:23 2023-05-09 14:59:23,292 [execute] DEBUG Popen(['git', 'rev-list', '46d890ab3961a8b226769f61be805917c024fbcb', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:59:23 2023-05-09 14:59:23,304 [execute] INFO git fetch -v origin 14:59:23 2023-05-09 14:59:23,304 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:59:23 2023-05-09 14:59:23,764 [run_push] DEBUG no remote changes detected 14:59:23 2023-05-09 14:59:23,765 [execute] INFO git push origin semver 14:59:23 2023-05-09 14:59:23,765 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:59:24 2023-05-09 14:59:24,665 [run_push] DEBUG push all version tags 14:59:24 2023-05-09 14:59:24,665 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:59:24 2023-05-09 14:59:24,666 [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) 14:59:25 2023-05-09 14:59:25,473 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:59:25 3.0.0-dev.86 [Pipeline] } 14:59:25 $ docker exec --env ******** --env ******** 509eb1b3fa228ca338a528d560e41f234634242312c4884127045276a5fbc297 ssh-agent -k 14:59:25 unset SSH_AUTH_SOCK; 14:59:25 unset SSH_AGENT_PID; 14:59:25 echo Agent pid 39 killed; 14:59:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:59:26 + git semver [Pipeline] } 14:59:26 $ docker stop --time=1 509eb1b3fa228ca338a528d560e41f234634242312c4884127045276a5fbc297 14:59:28 $ docker rm -f --volumes 509eb1b3fa228ca338a528d560e41f234634242312c4884127045276a5fbc297 [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 14:59:28 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 14:59:28 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:59:28 total 16 14:59:28 drwxr-xr-x 3 root root 4096 May 9 14:47 . 14:59:28 drwxrwxr-x 12 jenkins jenkins 4096 May 9 14:59 .. 14:59:28 drwxr-xr-x 2 root root 4096 May 9 14:47 cost 14:59:28 -rw-r--r-- 1 root root 86 May 9 14:47 cost.csv 14:59:28 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:59:28 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:59:28 total 16 14:59:28 drwxr-xr-x 3 jenkins jenkins 4096 May 9 14:47 . 14:59:28 drwxrwxr-x 12 jenkins jenkins 4096 May 9 14:59 .. 14:59:28 drwxr-xr-x 2 jenkins jenkins 4096 May 9 14:47 cost 14:59:28 -rw-r--r-- 1 jenkins jenkins 86 May 9 14:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:59:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:59:29 ---> package-listing.sh 14:59:29 ++ facter osfamily 14:59:29 ++ tr '[:upper:]' '[:lower:]' 14:59:30 + OS_FAMILY=debian 14:59:30 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 14:59:30 + START_PACKAGES=/tmp/packages_start.txt 14:59:30 + END_PACKAGES=/tmp/packages_end.txt 14:59:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:59:30 + PACKAGES=/tmp/packages_start.txt 14:59:30 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 14:59:30 + PACKAGES=/tmp/packages_end.txt 14:59:30 + case "${OS_FAMILY}" in 14:59:30 + dpkg -l 14:59:30 + grep '^ii' 14:59:30 + '[' -f /tmp/packages_start.txt ']' 14:59:30 + '[' -f /tmp/packages_end.txt ']' 14:59:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:59:30 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 14:59:30 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 14:59:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 14:59:30 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 14:59:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:59:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:31 prd-ubuntu20.04-docker-8c-8g-14682 does not seem to be running inside a container 14:59:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:59:31 $ docker top efc3b9101a45b9e098cb4442748073c5dc1e043bba3bfc1bd443ef9267a33f71 -eo pid,comm [Pipeline] { [Pipeline] sh 14:59:31 + touch /tmp/pre-build-complete [Pipeline] sh 14:59:31 + mkdir -p /var/log/sysstat [Pipeline] sh 14:59:32 + ls /var/log/sa-host 14:59:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:59:32 provisioning config files... 14:59:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15219579751276268610tmp [Pipeline] { [Pipeline] echo 14:59:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:59:32 ---> create-netrc.sh [Pipeline] } 14:59:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:59:33 ---> python-tools-install.sh [Pipeline] echo 14:59:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:59:33 ---> sudo-logs.sh 14:59:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:59:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:59:33 ---> job-cost.sh 14:59:33 lf-activate-venv: SKIPPING 14:59:33 DEBUG: total: 0.2199999988079071 14:59:33 INFO: Retrieving Stack Cost... 14:59:33 INFO: Retrieving Pricing Info for: v3-standard-8 14:59:34 INFO: Archiving Costs [Pipeline] echo 14:59:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:59:34 ---> logs-deploy.sh 14:59:34 lf-activate-venv: SKIPPING 14:59:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/216 14:59:34 INFO: archiving workspace using pattern(s): 14:59:35 Archives upload complete. 14:59:35 INFO: archiving logs to Nexus 14:59:36 ---> uname -a: 14:59:36 Linux prd-ubuntu20-04-docker-8c-8g-14682 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 14:59:36 14:59:36 14:59:36 ---> lscpu: 14:59:36 Architecture: x86_64 14:59:36 CPU op-mode(s): 32-bit, 64-bit 14:59:36 Byte Order: Little Endian 14:59:36 Address sizes: 40 bits physical, 48 bits virtual 14:59:36 CPU(s): 8 14:59:36 On-line CPU(s) list: 0-7 14:59:36 Thread(s) per core: 1 14:59:36 Core(s) per socket: 1 14:59:36 Socket(s): 8 14:59:36 NUMA node(s): 1 14:59:36 Vendor ID: AuthenticAMD 14:59:36 CPU family: 23 14:59:36 Model: 49 14:59:36 Model name: AMD EPYC-Rome Processor 14:59:36 Stepping: 0 14:59:36 CPU MHz: 2800.000 14:59:36 BogoMIPS: 5600.00 14:59:36 Virtualization: AMD-V 14:59:36 Hypervisor vendor: KVM 14:59:36 Virtualization type: full 14:59:36 L1d cache: 256 KiB 14:59:36 L1i cache: 256 KiB 14:59:36 L2 cache: 4 MiB 14:59:36 L3 cache: 128 MiB 14:59:36 NUMA node0 CPU(s): 0-7 14:59:36 Vulnerability Itlb multihit: Not affected 14:59:36 Vulnerability L1tf: Not affected 14:59:36 Vulnerability Mds: Not affected 14:59:36 Vulnerability Meltdown: Not affected 14:59:36 Vulnerability Mmio stale data: Not affected 14:59:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:59:36 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 14:59:36 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 14:59:36 Vulnerability Srbds: Not affected 14:59:36 Vulnerability Tsx async abort: Not affected 14:59:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 14:59:36 14:59:36 14:59:36 ---> nproc: 14:59:36 8 14:59:36 14:59:36 14:59:36 ---> df -h: 14:59:36 Filesystem Size Used Avail Use% Mounted on 14:59:36 overlay 155G 13G 143G 9% / 14:59:36 tmpfs 64M 0 64M 0% /dev 14:59:36 tmpfs 16G 0 16G 0% /sys/fs/cgroup 14:59:36 shm 64M 0 64M 0% /dev/shm 14:59:36 /dev/vda1 155G 13G 143G 9% /facter-os 14:59:36 14:59:36