Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 73fd0cb522a429402bd3cc46187ecdcb61225433 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-ssh12295736035154224819.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-ssh10920267182308958715.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-ssh6994572876410083183.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-ssh12520663340281792550.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-ssh13837686125006120457.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16608’ Running on prd-ubuntu20.04-docker-8c-8g-16618 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 73fd0cb522a429402bd3cc46187ecdcb61225433 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1462)" > 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 73fd0cb522a429402bd3cc46187ecdcb61225433 # timeout=10 > git rev-list --no-walk c046c07be681eb47061b9e73bdc74da4165eb351 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:52:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:52:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:52:05 ========================================================= 23:52:05 EdgeX Global Pipelines Version Info 23:52:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:52:06 ------------------- 23:52:06 stable info: 23:52:06 ------------------- 23:52:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:52:06 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:52:06 Message: update stable to v1.0.249 23:52:06 ------------------- 23:52:06 experimental info: 23:52:06 ------------------- 23:52:06 Commited By: **** collab-it+edgex@linuxfoundation.org 23:52:06 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:52:06 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73fd0cb [Pipeline] echo 23:52:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:07 provisioning config files... 23:52:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1526345960449543423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:07 ---> docker-login.sh 23:52:07 nexus3.edgexfoundry.org:10001 23:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:08 Configure a credential helper to remove this warning. See 23:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:08 23:52:08 Login Succeeded 23:52:08 nexus3.edgexfoundry.org:10002 23:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:08 Configure a credential helper to remove this warning. See 23:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:08 23:52:08 Login Succeeded 23:52:08 nexus3.edgexfoundry.org:10003 23:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:08 Configure a credential helper to remove this warning. See 23:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:08 23:52:08 Login Succeeded 23:52:08 nexus3.edgexfoundry.org:10004 23:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:08 Configure a credential helper to remove this warning. See 23:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:08 23:52:08 Login Succeeded 23:52:08 docker.io 23:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:08 Configure a credential helper to remove this warning. See 23:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:08 23:52:08 Login Succeeded 23:52:08 ---> docker-login.sh ends [Pipeline] } 23:52:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:52:09 + git rev-list -1 --merges 73fd0cb522a429402bd3cc46187ecdcb61225433~1..73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] echo 23:52:09 -----------> git rev-list -1 --merges 73fd0cb522a429402bd3cc46187ecdcb61225433~1..73fd0cb522a429402bd3cc46187ecdcb61225433 73fd0cb522a429402bd3cc46187ecdcb61225433 [false] [Pipeline] sh 23:52:09 + git log --format=format:%s -1 73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] echo 23:52:09 ========================================================= 23:52:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:52:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:52:09 + git log --format=format:%s -1 73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] echo 23:52:09 [semverPrep] GIT_COMMIT: 73fd0cb522a429402bd3cc46187ecdcb61225433, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1462) [Pipeline] echo 23:52:09 [semverPrep] This is not a build commit. [Pipeline] sh 23:52:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:52:10 + grep -v github /etc/ssh/ssh_known_hosts 23:52:10 + [ -e /tmp/ssh_known_hosts ] 23:52:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:52:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:52:10 + sudo tee -a /etc/ssh/ssh_known_hosts 23:52:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:10 23:52:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:10 0.1.4: Pulling from edgex-devops/py-git-semver 23:52:10 b85a868b505f: Pulling fs layer 23:52:10 e2be974225ed: Pulling fs layer 23:52:10 339a4e72a1f5: Pulling fs layer 23:52:10 988bab9f4d93: Pulling fs layer 23:52:10 1469e6f7b9e6: Pulling fs layer 23:52:10 eaf3925da568: Pulling fs layer 23:52:10 bab4dde63d76: Pulling fs layer 23:52:10 bde34c3a00c8: Pulling fs layer 23:52:10 b352a97aabf1: Pulling fs layer 23:52:10 4872d77fe225: Pulling fs layer 23:52:10 5851b861e8e6: Pulling fs layer 23:52:10 1469e6f7b9e6: Waiting 23:52:10 eaf3925da568: Waiting 23:52:10 bde34c3a00c8: Waiting 23:52:10 bab4dde63d76: Waiting 23:52:10 b352a97aabf1: Waiting 23:52:10 4872d77fe225: Waiting 23:52:10 5851b861e8e6: Waiting 23:52:10 988bab9f4d93: Waiting 23:52:10 e2be974225ed: Verifying Checksum 23:52:10 e2be974225ed: Download complete 23:52:10 988bab9f4d93: Verifying Checksum 23:52:10 988bab9f4d93: Download complete 23:52:10 1469e6f7b9e6: Verifying Checksum 23:52:10 1469e6f7b9e6: Download complete 23:52:10 eaf3925da568: Verifying Checksum 23:52:10 eaf3925da568: Download complete 23:52:11 339a4e72a1f5: Verifying Checksum 23:52:11 339a4e72a1f5: Download complete 23:52:11 bde34c3a00c8: Verifying Checksum 23:52:11 bde34c3a00c8: Download complete 23:52:11 b352a97aabf1: Download complete 23:52:11 4872d77fe225: Verifying Checksum 23:52:11 4872d77fe225: Download complete 23:52:11 5851b861e8e6: Verifying Checksum 23:52:11 5851b861e8e6: Download complete 23:52:11 b85a868b505f: Verifying Checksum 23:52:11 b85a868b505f: Download complete 23:52:11 bab4dde63d76: Verifying Checksum 23:52:11 bab4dde63d76: Download complete 23:52:12 b85a868b505f: Pull complete 23:52:12 e2be974225ed: Pull complete 23:52:12 339a4e72a1f5: Pull complete 23:52:13 988bab9f4d93: Pull complete 23:52:13 1469e6f7b9e6: Pull complete 23:52:13 eaf3925da568: Pull complete 23:52:15 bab4dde63d76: Pull complete 23:52:15 bde34c3a00c8: Pull complete 23:52:15 b352a97aabf1: Pull complete 23:52:15 4872d77fe225: Pull complete 23:52:15 5851b861e8e6: Pull complete 23:52:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:52:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:15 prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container 23:52:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:52:18 $ docker top 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb -eo pid,comm 23:52: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). 23:52:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:52:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:18 [ssh-agent] Looking for ssh-agent implementation... 23:52:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:18 $ docker exec 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb ssh-agent 23:52:18 SSH_AUTH_SOCK=/tmp/ssh-PWifGq4XdOuO/agent.32 23:52:18 SSH_AGENT_PID=38 23:52:18 Running ssh-add (command line suppressed) 23:52:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2418224439891535040.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2418224439891535040.key) 23:52:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:19 + git tag --points-at HEAD [Pipeline] } 23:52:19 $ docker exec --env ******** --env ******** 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb ssh-agent -k 23:52:19 unset SSH_AUTH_SOCK; 23:52:19 unset SSH_AGENT_PID; 23:52:19 echo Agent pid 38 killed; 23:52:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:52:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:19 [ssh-agent] Looking for ssh-agent implementation... 23:52:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:19 $ docker exec 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb ssh-agent 23:52:19 SSH_AUTH_SOCK=/tmp/ssh-KqySLqqTnw75/agent.70 23:52:19 SSH_AGENT_PID=76 23:52:19 Running ssh-add (command line suppressed) 23:52:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2712879928303717828.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2712879928303717828.key) 23:52:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:19 + git semver init 23:52:20 2023-05-23 23:52:20,135 [run_init] DEBUG init version:0.0.0 force:False 23:52:20 2023-05-23 23:52:20,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 23:52:20 2023-05-23 23:52:20,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 23:52:20 2023-05-23 23:52:20,137 [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) 23:52:21 2023-05-23 23:52:21,003 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 23:52:21 2023-05-23 23:52:21,004 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 23:52:21 2023-05-23 23:52:21,004 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:52:21 2023-05-23 23:52:21,004 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:52:21 3.0.0-dev.94 [Pipeline] } 23:52:21 $ docker exec --env ******** --env ******** 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb ssh-agent -k 23:52:21 unset SSH_AUTH_SOCK; 23:52:21 unset SSH_AGENT_PID; 23:52:21 echo Agent pid 76 killed; 23:52:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:52:21 + git semver [Pipeline] } 23:52:21 $ docker stop --time=1 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb 23:52:23 $ docker rm -f --volumes 6e2321fb63255220d24c43fab5b7280b4b00762c7184fdc1d4c626de488fc0eb [Pipeline] // withDockerContainer [Pipeline] sh 23:52:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:52:23 Stashed 1 file(s) [Pipeline] echo 23:52:23 [edgeXSemver]: initialized semver on version 3.0.0-dev.94 [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 23:52:23 provisioning config files... 23:52:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9297964581993616986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:24 ---> docker-login.sh 23:52:24 nexus3.edgexfoundry.org:10001 23:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:24 Configure a credential helper to remove this warning. See 23:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:24 23:52:24 Login Succeeded 23:52:24 nexus3.edgexfoundry.org:10002 23:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:24 Configure a credential helper to remove this warning. See 23:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:24 23:52:24 Login Succeeded 23:52:24 nexus3.edgexfoundry.org:10003 23:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:24 Configure a credential helper to remove this warning. See 23:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:24 23:52:24 Login Succeeded 23:52:24 nexus3.edgexfoundry.org:10004 23:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:24 Configure a credential helper to remove this warning. See 23:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:24 23:52:24 Login Succeeded 23:52:24 docker.io 23:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:24 Configure a credential helper to remove this warning. See 23:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:24 23:52:24 Login Succeeded 23:52:24 ---> docker-login.sh ends [Pipeline] } 23:52:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:52:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:24 ========================================================= 23:52:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:52:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:25 + 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 . 23:52:25 Sending build context to Docker daemon 11.17MB 23:52:25 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:52:25 Step 2/10 : FROM ${BASE} AS builder 23:52:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:52:25 f56be85fc22e: Pulling fs layer 23:52:25 85791d961cd3: Pulling fs layer 23:52:25 d694b5ae8c79: Pulling fs layer 23:52:25 9f32a84ed3da: Pulling fs layer 23:52:25 4d19c01a9841: Pulling fs layer 23:52:25 9325e15d5711: Pulling fs layer 23:52:25 556b6ee489ea: Pulling fs layer 23:52:25 c5a4b2cf53e6: Pulling fs layer 23:52:25 9f32a84ed3da: Waiting 23:52:25 4d19c01a9841: Waiting 23:52:25 c5a4b2cf53e6: Waiting 23:52:25 556b6ee489ea: Waiting 23:52:25 9325e15d5711: Waiting 23:52:25 85791d961cd3: Verifying Checksum 23:52:25 85791d961cd3: Download complete 23:52:25 9f32a84ed3da: Download complete 23:52:25 4d19c01a9841: Verifying Checksum 23:52:25 4d19c01a9841: Download complete 23:52:25 f56be85fc22e: Verifying Checksum 23:52:25 f56be85fc22e: Download complete 23:52:25 9325e15d5711: Verifying Checksum 23:52:25 9325e15d5711: Download complete 23:52:25 f56be85fc22e: Pull complete 23:52:25 85791d961cd3: Pull complete 23:52:25 c5a4b2cf53e6: Verifying Checksum 23:52:25 c5a4b2cf53e6: Download complete 23:52:25 d694b5ae8c79: Verifying Checksum 23:52:25 d694b5ae8c79: Download complete 23:52:26 556b6ee489ea: Verifying Checksum 23:52:26 556b6ee489ea: Download complete 23:52:29 d694b5ae8c79: Pull complete 23:52:29 9f32a84ed3da: Pull complete 23:52:29 4d19c01a9841: Pull complete 23:52:29 9325e15d5711: Pull complete 23:52:31 556b6ee489ea: Pull complete 23:52:32 c5a4b2cf53e6: Pull complete 23:52:32 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:52:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:52:32 ---> c4be618373d6 23:52:32 Step 3/10 : ARG MAKE=make build 23:52:36 ---> Running in 73aeb8a50b3f 23:52:36 Removing intermediate container 73aeb8a50b3f 23:52:36 ---> dff1ac938867 23:52:36 Step 4/10 : WORKDIR /device-sdk-go 23:52:36 ---> Running in 1a5ccec8a431 23:52:36 Removing intermediate container 1a5ccec8a431 23:52:36 ---> d19b48c9881d 23:52:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:52:36 ---> Running in a942eadd9d91 23:52:36 Removing intermediate container a942eadd9d91 23:52:36 ---> 73eb1c75e3ee 23:52:36 Step 6/10 : RUN apk add --update --no-cache make git 23:52:36 ---> Running in 292f7b44905f 23:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:52:37 OK: 265 MiB in 53 packages 23:52:37 Removing intermediate container 292f7b44905f 23:52:37 ---> 21ee7ddfb6f6 23:52:37 Step 7/10 : COPY go.mod vendor* ./ 23:52:37 ---> b2606b3efbe9 23:52:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:52:37 ---> Running in a407803c71a1 23:52:38 Still waiting to schedule task 23:52:38 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16609’ 23:53:04 Removing intermediate container a407803c71a1 23:53:04 ---> 9655568161f4 23:53:04 Step 9/10 : COPY . . 23:53:04 ---> 68b1159e0fdb 23:53:04 Step 10/10 : RUN ${MAKE} 23:53:04 ---> Running in ef7935297207 23:53:04 noop 23:53:04 Removing intermediate container ef7935297207 23:53:04 ---> d8ade24b2e38 23:53:04 Successfully built d8ade24b2e38 23:53:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:04 + docker inspect -f . ci-base-image-x86_64 23:53:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:04 prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container 23:53:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:53:05 $ docker top 55906ea82d915a46e6b5f3d095086a828394bdce6ee149743adbff38689b361d -eo pid,comm [Pipeline] { [Pipeline] sh 23:53:05 + go version 23:53:05 go version go1.20.2 linux/amd64 [Pipeline] } 23:53:05 $ docker stop --time=1 55906ea82d915a46e6b5f3d095086a828394bdce6ee149743adbff38689b361d 23:53:06 $ docker rm -f --volumes 55906ea82d915a46e6b5f3d095086a828394bdce6ee149743adbff38689b361d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:07 + docker inspect -f . ci-base-image-x86_64 23:53:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:07 prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container 23:53:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:53:07 $ docker top 6f5d2ccbd17942935fc7559e3bf8dca34f3fff7a76d3a02adfb0e03ae3cd7665 -eo pid,comm [Pipeline] { [Pipeline] sh 23:53:07 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 23:53:08 + make test 23:53:08 go test -race -coverprofile=coverage.out ./... 23:53:16 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 23:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 23:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 23:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 23:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 23:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 23:53:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements 23:53:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.055s coverage: 80.2% of statements 23:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 23:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 23:53:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.078s coverage: 86.0% of statements 23:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 23:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 23:53:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.104s coverage: 77.5% of statements 23:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 23:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 23:53:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 23:53:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.059s coverage: 14.3% of statements 23:53:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.094s coverage: 68.5% of statements 23:53:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements 23:53:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.7% of statements 23:53:56 GO111MODULE=on go vet ./... 23:53:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:53:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:53:59 ./bin/test-attribution-txt.sh [Pipeline] echo 23:53:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:53:59 $ docker stop --time=1 6f5d2ccbd17942935fc7559e3bf8dca34f3fff7a76d3a02adfb0e03ae3cd7665 23:54:02 $ docker rm -f --volumes 6f5d2ccbd17942935fc7559e3bf8dca34f3fff7a76d3a02adfb0e03ae3cd7665 [Pipeline] // withDockerContainer [Pipeline] sh 23:54:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:54:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:54:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:54:03 + ls -al . 23:54:03 total 272 23:54:03 drwxrwxr-x 11 jenkins jenkins 4096 May 23 23:53 . 23:54:03 drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:52 .. 23:54:03 -rw-rw-r-- 1 jenkins jenkins 140 May 23 23:52 .dockerignore 23:54:03 drwxrwxr-x 8 jenkins jenkins 4096 May 23 23:52 .git 23:54:03 drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:52 .github 23:54:03 -rw-rw-r-- 1 jenkins jenkins 137 May 23 23:52 .gitignore 23:54:03 -rw-rw-r-- 1 jenkins jenkins 42 May 23 23:52 .golangci.yml 23:54:03 drwxr-xr-x 3 jenkins jenkins 4096 May 23 23:52 .semver 23:54:03 -rw-rw-r-- 1 jenkins jenkins 31677 May 23 23:52 CHANGELOG.md 23:54:03 -rw-rw-r-- 1 jenkins jenkins 677 May 23 23:52 GOVERNANCE.md 23:54:03 -rw-rw-r-- 1 jenkins jenkins 885 May 23 23:52 Jenkinsfile 23:54:03 -rw-rw-r-- 1 jenkins jenkins 11341 May 23 23:52 LICENSE 23:54:03 -rw-rw-r-- 1 jenkins jenkins 1714 May 23 23:52 Makefile 23:54:03 -rw-rw-r-- 1 jenkins jenkins 619 May 23 23:52 OWNERS.md 23:54:03 -rw-rw-r-- 1 jenkins jenkins 4891 May 23 23:52 README.md 23:54:03 -rw-rw-r-- 1 jenkins jenkins 12 May 23 23:52 VERSION 23:54:03 drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:52 bin 23:54:03 -rw-r--r-- 1 jenkins jenkins 106152 May 23 23:53 coverage.out 23:54:03 drwxrwxr-x 5 jenkins jenkins 4096 May 23 23:52 example 23:54:03 -rw-rw-r-- 1 jenkins jenkins 3193 May 23 23:52 go.mod 23:54:03 -rw-rw-r-- 1 jenkins jenkins 30699 May 23 23:52 go.sum 23:54:03 drwxrwxr-x 12 jenkins jenkins 4096 May 23 23:52 internal 23:54:03 drwxrwxr-x 3 jenkins jenkins 4096 May 23 23:52 openapi 23:54:03 drwxrwxr-x 6 jenkins jenkins 4096 May 23 23:52 pkg 23:54:03 drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:52 snap 23:54:03 -rw-rw-r-- 1 jenkins jenkins 222 May 23 23:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:04 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=73fd0cb522a429402bd3cc46187ecdcb61225433 --label arch=amd64 --label version=3.0.0-dev.94 . 23:54:04 Sending build context to Docker daemon 11.27MB 23:54:04 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 23:54:04 Step 2/23 : FROM ${BASE} AS builder 23:54:04 ---> d8ade24b2e38 23:54:04 Step 3/23 : ARG MAKE=make build 23:54:04 ---> Running in b3c63e014857 23:54:04 Removing intermediate container b3c63e014857 23:54:04 ---> d92e239de2ad 23:54:04 Step 4/23 : WORKDIR /device-sdk-go 23:54:04 ---> Running in 5ee04ffdbcbe 23:54:04 Removing intermediate container 5ee04ffdbcbe 23:54:04 ---> 7ffe2cb7301b 23:54:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:54:04 ---> Running in 271bfdade776 23:54:04 Removing intermediate container 271bfdade776 23:54:04 ---> 5078a1857de3 23:54:04 Step 6/23 : RUN apk add --update --no-cache make git 23:54:04 ---> Running in 048be198ef17 23:54:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:54:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:54:05 OK: 265 MiB in 53 packages 23:54:05 Removing intermediate container 048be198ef17 23:54:05 ---> 8817c823ac87 23:54:05 Step 7/23 : COPY go.mod vendor* ./ 23:54:05 ---> b21f533d0492 23:54:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:54:05 ---> Running in defe55f694e1 23:54:06 Removing intermediate container defe55f694e1 23:54:06 ---> 25d5be002b65 23:54:06 Step 9/23 : COPY . . 23:54:06 ---> 5f3d3c1e2cc6 23:54:06 Step 10/23 : RUN ${MAKE} 23:54:06 ---> Running in 03965cc006f8 23:54:07 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.94" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:54:29 Removing intermediate container 03965cc006f8 23:54:29 ---> 31bb4cc37455 23:54:29 Step 11/23 : FROM alpine:3.17 23:54:29 3.17: Pulling from library/alpine 23:54:29 f56be85fc22e: Already exists 23:54:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:54:29 Status: Downloaded newer image for alpine:3.17 23:54:29 ---> 9ed4aefc74f6 23:54:29 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:54:29 ---> Running in 79d2eaef9556 23:54:29 Removing intermediate container 79d2eaef9556 23:54:29 ---> e2f689ff59bf 23:54:29 Step 13/23 : RUN apk add --update --no-cache 23:54:29 ---> Running in b39ec0f934f6 23:54:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:54:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:54:29 OK: 7 MiB in 15 packages 23:54:29 Removing intermediate container b39ec0f934f6 23:54:29 ---> cef24087e00a 23:54:29 Step 14/23 : WORKDIR / 23:54:29 ---> Running in f8fde5e0b24b 23:54:29 Removing intermediate container f8fde5e0b24b 23:54:29 ---> 35719b29b732 23:54:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:54:29 ---> 50afd6a80717 23:54:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:54:29 ---> 623d5ebd1fd6 23:54:29 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:54:29 ---> 1235bdc4dd75 23:54:29 Step 18/23 : EXPOSE 59999 23:54:29 ---> Running in 22b0ded9691e 23:54:29 Removing intermediate container 22b0ded9691e 23:54:29 ---> 5e53a646611e 23:54:29 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:54:29 ---> Running in 0b506557cd0e 23:54:29 Removing intermediate container 0b506557cd0e 23:54:29 ---> 2e36e61b9e18 23:54:29 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:54:29 ---> Running in 438cdc4b36e2 23:54:29 Removing intermediate container 438cdc4b36e2 23:54:29 ---> ac4f53a3f402 23:54:29 Step 21/23 : LABEL arch=amd64 23:54:29 ---> Running in 4472b68ae98d 23:54:29 Removing intermediate container 4472b68ae98d 23:54:29 ---> f43705c2337e 23:54:29 Step 22/23 : LABEL git_sha=73fd0cb522a429402bd3cc46187ecdcb61225433 23:54:29 ---> Running in f7e7f8daed01 23:54:29 Removing intermediate container f7e7f8daed01 23:54:29 ---> 349921a80280 23:54:29 Step 23/23 : LABEL version=3.0.0-dev.94 23:54:29 ---> Running in 278adcd59dae 23:54:29 Removing intermediate container 278adcd59dae 23:54:29 ---> a97904de9ee8 23:54:29 [Warning] One or more build-args [ARCH] were not consumed 23:54:29 Successfully built a97904de9ee8 23:54:29 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 23:54:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:29 23:54:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:29 latest: Pulling from edgex-lftools-log-publisher 23:54:29 5eb5b503b376: Pulling fs layer 23:54:29 5c69ac0246d0: Pulling fs layer 23:54:29 ec43610c2a17: Pulling fs layer 23:54:29 3a2ae6a8a46f: Pulling fs layer 23:54:29 33b1e0a273af: Pulling fs layer 23:54:29 5d3b04190fa2: Pulling fs layer 23:54:29 2f39f015ded8: Pulling fs layer 23:54:29 3a2ae6a8a46f: Waiting 23:54:29 33b1e0a273af: Waiting 23:54:29 5d3b04190fa2: Waiting 23:54:29 2f39f015ded8: Waiting 23:54:29 5c69ac0246d0: Verifying Checksum 23:54:29 5c69ac0246d0: Download complete 23:54:29 3a2ae6a8a46f: Verifying Checksum 23:54:29 3a2ae6a8a46f: Download complete 23:54:29 33b1e0a273af: Verifying Checksum 23:54:29 33b1e0a273af: Download complete 23:54:29 ec43610c2a17: Verifying Checksum 23:54:29 5d3b04190fa2: Download complete 23:54:30 5eb5b503b376: Verifying Checksum 23:54:30 5eb5b503b376: Download complete 23:54:30 2f39f015ded8: Download complete 23:54:31 5eb5b503b376: Pull complete 23:54:31 5c69ac0246d0: Pull complete 23:54:31 ec43610c2a17: Pull complete 23:54:31 3a2ae6a8a46f: Pull complete 23:54:31 33b1e0a273af: Pull complete 23:54:31 5d3b04190fa2: Pull complete 23:54:37 2f39f015ded8: Pull complete 23:54:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:37 prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container 23:54:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:54:40 $ docker top 26c03cdd2e66b9e6cbcea7ca15697abcd8e7aa21e10a9a9d0eaf643b2d2e7ed0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:41 ---> job-cost.sh 23:54:41 lf-activate-venv: SKIPPING 23:54:41 INFO: No Stack... 23:54:41 INFO: Retrieving Pricing Info for: v3-standard-8 23:54:41 INFO: Archiving Costs [Pipeline] sh 23:54:41 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 23:54:41 + cut -d, -f6 [Pipeline] lock 23:54:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] 23:54:41 Resource [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] did not exist. Created. 23:54:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:54:42 + echo total: 0.2199999988079071 [Pipeline] stash 23:54:42 Stashed 1 file(s) [Pipeline] } 23:54:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] [Pipeline] // lock [Pipeline] } 23:54:42 $ docker stop --time=1 26c03cdd2e66b9e6cbcea7ca15697abcd8e7aa21e10a9a9d0eaf643b2d2e7ed0 23:54:43 $ docker rm -f --volumes 26c03cdd2e66b9e6cbcea7ca15697abcd8e7aa21e10a9a9d0eaf643b2d2e7ed0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:55:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16620 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 23:55:54 Running in /w/workspace/device-sdk-go/225 [Pipeline] { [Pipeline] checkout 23:55:54 The recommended git tool is: git 23:56:00 using credential edgex-jenkins-ssh 23:56:00 Cloning the remote Git repository 23:56:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:56:00 > git init /w/workspace/device-sdk-go/225 # timeout=10 23:56:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:56:00 > git --version # timeout=10 23:56:00 > git --version # 'git version 2.25.1' 23:56:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:56:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:03 Avoid second fetch 23:56:03 Checking out Revision 73fd0cb522a429402bd3cc46187ecdcb61225433 (main) 23:56:04 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1462)" 23:56:03 > git config core.sparsecheckout # timeout=10 23:56:03 > git checkout -f 73fd0cb522a429402bd3cc46187ecdcb61225433 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:56:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:56:05 % Total % Received % Xferd Average Speed Time Time Time Current 23:56:05 Dload Upload Total Spent Left Speed 23:56:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 23:56:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:56:06 + sudo tee /etc/docker/daemon.new 23:56:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:56:06 { 23:56:06 "registry-mirrors": [ 23:56:06 "https://nexus3.edgexfoundry.org:10001" 23:56:06 ], 23:56:06 "bip": "10.250.0.254/24", 23:56:06 "hosts": [ 23:56:06 "tcp://0.0.0.0:5555", 23:56:06 "unix:///var/run/docker.sock" 23:56:06 ], 23:56:06 "mtu": 1458, 23:56:06 "selinux-enabled": true, 23:56:06 "seccomp-profile": "/etc/docker/seccomp.json" 23:56:06 } [Pipeline] sh 23:56:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:56:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:56:25 provisioning config files... 23:56:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/225@tmp/config16420850003538188747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:25 ---> docker-login.sh 23:56:25 nexus3.edgexfoundry.org:10001 23:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:26 Configure a credential helper to remove this warning. See 23:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:26 23:56:26 Login Succeeded 23:56:26 nexus3.edgexfoundry.org:10002 23:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:26 Configure a credential helper to remove this warning. See 23:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:26 23:56:26 Login Succeeded 23:56:26 nexus3.edgexfoundry.org:10003 23:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:27 Configure a credential helper to remove this warning. See 23:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:27 23:56:27 Login Succeeded 23:56:27 nexus3.edgexfoundry.org:10004 23:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:27 Configure a credential helper to remove this warning. See 23:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:27 23:56:27 Login Succeeded 23:56:27 docker.io 23:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:28 Configure a credential helper to remove this warning. See 23:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:28 23:56:28 Login Succeeded 23:56:28 ---> docker-login.sh ends [Pipeline] } 23:56:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:56:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:56:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:56:28 ========================================================= 23:56:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:56:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:28 + 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 . 23:56:29 Sending build context to Docker daemon 6.003MB 23:56:29 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:56:29 Step 2/10 : FROM ${BASE} AS builder 23:56:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:56:29 c41833b44d91: Pulling fs layer 23:56:29 ed15518f5707: Pulling fs layer 23:56:29 feae8fd75edb: Pulling fs layer 23:56:29 242c74f7c9fa: Pulling fs layer 23:56:29 3cdef696dda3: Pulling fs layer 23:56:29 2ced38df9373: Pulling fs layer 23:56:29 3cdef696dda3: Waiting 23:56:29 242c74f7c9fa: Waiting 23:56:29 58f1dce35555: Pulling fs layer 23:56:29 2ced38df9373: Waiting 23:56:29 ed15518f5707: Verifying Checksum 23:56:29 ed15518f5707: Download complete 23:56:29 242c74f7c9fa: Download complete 23:56:29 3cdef696dda3: Verifying Checksum 23:56:29 3cdef696dda3: Download complete 23:56:29 c41833b44d91: Verifying Checksum 23:56:29 c41833b44d91: Download complete 23:56:31 c41833b44d91: Pull complete 23:56:31 58f1dce35555: Verifying Checksum 23:56:31 58f1dce35555: Download complete 23:56:31 ed15518f5707: Pull complete 23:56:32 feae8fd75edb: Verifying Checksum 23:56:32 feae8fd75edb: Download complete 23:56:32 2ced38df9373: Verifying Checksum 23:56:32 2ced38df9373: Download complete 23:56:44 feae8fd75edb: Pull complete 23:56:44 242c74f7c9fa: Pull complete 23:56:44 3cdef696dda3: Pull complete 23:56:50 2ced38df9373: Pull complete 23:56:52 58f1dce35555: Pull complete 23:56:52 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:56:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:56:52 ---> fadd8f120f05 23:56:52 Step 3/10 : ARG MAKE=make build 23:56:54 ---> Running in b0c896f1d6f6 23:56:54 Removing intermediate container b0c896f1d6f6 23:56:54 ---> 933a472de667 23:56:54 Step 4/10 : WORKDIR /device-sdk-go 23:56:55 ---> Running in efbcee558cd8 23:56:55 Removing intermediate container efbcee558cd8 23:56:55 ---> f73d5576003b 23:56:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:56:55 ---> Running in 405834645ebd 23:56:56 Removing intermediate container 405834645ebd 23:56:56 ---> c3e6f88b274b 23:56:56 Step 6/10 : RUN apk add --update --no-cache make git 23:56:56 ---> Running in f8dc4be5cd4f 23:56:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:56:59 OK: 263 MiB in 53 packages 23:57:02 Removing intermediate container f8dc4be5cd4f 23:57:02 ---> 35b6f8ed7655 23:57:02 Step 7/10 : COPY go.mod vendor* ./ 23:57:02 ---> f873898dbaa3 23:57:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:02 ---> Running in 9290515d5f97 23:58:10 Removing intermediate container 9290515d5f97 23:58:10 ---> 2ecbcd88054a 23:58:10 Step 9/10 : COPY . . 23:58:10 ---> b8d84f3a6cbf 23:58:10 Step 10/10 : RUN ${MAKE} 23:58:10 ---> Running in 087b0f518618 23:58:10 noop 23:58:10 Removing intermediate container 087b0f518618 23:58:10 ---> 736f1092e263 23:58:10 Successfully built 736f1092e263 23:58:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:10 + docker inspect -f . ci-base-image-arm64 23:58:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:10 prd-ubuntu20.04-docker-arm64-4c-16g-16620 does not seem to be running inside a container 23:58:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/225 -v /w/workspace/device-sdk-go/225:/w/workspace/device-sdk-go/225:rw,z -v /w/workspace/device-sdk-go/225@tmp:/w/workspace/device-sdk-go/225@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 23:58:12 $ docker top ef7fb1d83215f5b59407523e96952f98810888f4d013b73908ddc267dfef4d5f -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:13 + go version 23:58:13 go version go1.20.2 linux/arm64 [Pipeline] } 23:58:13 $ docker stop --time=1 ef7fb1d83215f5b59407523e96952f98810888f4d013b73908ddc267dfef4d5f 23:58:14 $ docker rm -f --volumes ef7fb1d83215f5b59407523e96952f98810888f4d013b73908ddc267dfef4d5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:15 + docker inspect -f . ci-base-image-arm64 23:58:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:15 prd-ubuntu20.04-docker-arm64-4c-16g-16620 does not seem to be running inside a container 23:58:15 $ 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/225 -v /w/workspace/device-sdk-go/225:/w/workspace/device-sdk-go/225:rw,z -v /w/workspace/device-sdk-go/225@tmp:/w/workspace/device-sdk-go/225@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 23:58:16 $ docker top f27d7c6374119d8a14467e1f32af4ea68151d05ed054cd468b3df734f590ea63 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:17 + git config --global --add safe.directory /w/workspace/device-sdk-go/225 [Pipeline] fileExists [Pipeline] sh 23:58:18 + make test 23:58:18 go test -race -coverprofile=coverage.out ./... 23:59:05 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:01:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:01:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:01:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:01:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:01:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:01:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.219s coverage: 27.6% of statements 00:01:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.275s coverage: 80.2% of statements 00:01:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:01:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:01:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.351s coverage: 86.0% of statements 00:01:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:01:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 00:01:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.494s coverage: 77.5% of statements 00:01:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.265s coverage: 14.3% of statements 00:01:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:01:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:01:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.445s coverage: 68.5% of statements 00:01:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.498s coverage: 89.2% of statements 00:02:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:02:02 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.252s coverage: 5.7% of statements 00:02:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:02:03 GO111MODULE=on go vet ./... 00:04:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:04:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:04:40 ./bin/test-attribution-txt.sh [Pipeline] echo 00:04:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:04:40 $ docker stop --time=1 f27d7c6374119d8a14467e1f32af4ea68151d05ed054cd468b3df734f590ea63 00:04:43 $ docker rm -f --volumes f27d7c6374119d8a14467e1f32af4ea68151d05ed054cd468b3df734f590ea63 [Pipeline] // withDockerContainer [Pipeline] sh 00:04:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:04:45 Warning: overwriting stash ‘coverage-report’ 00:04:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:04:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:04:46 + ls -al . 00:04:46 total 268 00:04:46 drwxrwxr-x 10 jenkins jenkins 4096 May 23 23:58 . 00:04:46 drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:56 .. 00:04:46 -rw-rw-r-- 1 jenkins jenkins 140 May 23 23:56 .dockerignore 00:04:46 drwxrwxr-x 8 jenkins jenkins 4096 May 23 23:56 .git 00:04:46 drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:56 .github 00:04:46 -rw-rw-r-- 1 jenkins jenkins 137 May 23 23:56 .gitignore 00:04:46 -rw-rw-r-- 1 jenkins jenkins 42 May 23 23:56 .golangci.yml 00:04:46 -rw-rw-r-- 1 jenkins jenkins 31677 May 23 23:56 CHANGELOG.md 00:04:46 -rw-rw-r-- 1 jenkins jenkins 677 May 23 23:56 GOVERNANCE.md 00:04:46 -rw-rw-r-- 1 jenkins jenkins 885 May 23 23:56 Jenkinsfile 00:04:46 -rw-rw-r-- 1 jenkins jenkins 11341 May 23 23:56 LICENSE 00:04:46 -rw-rw-r-- 1 jenkins jenkins 1714 May 23 23:56 Makefile 00:04:46 -rw-rw-r-- 1 jenkins jenkins 619 May 23 23:56 OWNERS.md 00:04:46 -rw-rw-r-- 1 jenkins jenkins 4891 May 23 23:56 README.md 00:04:46 -rw-rw-r-- 1 jenkins jenkins 12 May 23 23:52 VERSION 00:04:46 drwxrwxr-x 2 jenkins jenkins 4096 May 23 23:56 bin 00:04:46 -rw-r--r-- 1 jenkins jenkins 106150 May 24 00:02 coverage.out 00:04:46 drwxrwxr-x 5 jenkins jenkins 4096 May 23 23:56 example 00:04:46 -rw-rw-r-- 1 jenkins jenkins 3193 May 23 23:56 go.mod 00:04:46 -rw-rw-r-- 1 jenkins jenkins 30699 May 23 23:56 go.sum 00:04:46 drwxrwxr-x 12 jenkins jenkins 4096 May 23 23:56 internal 00:04:46 drwxrwxr-x 3 jenkins jenkins 4096 May 23 23:56 openapi 00:04:46 drwxrwxr-x 6 jenkins jenkins 4096 May 23 23:56 pkg 00:04:46 drwxrwxr-x 4 jenkins jenkins 4096 May 23 23:56 snap 00:04:46 -rw-rw-r-- 1 jenkins jenkins 222 May 23 23:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:47 + 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=73fd0cb522a429402bd3cc46187ecdcb61225433 --label arch=arm64 --label version=3.0.0-dev.94 . 00:04:47 Sending build context to Docker daemon 6.11MB 00:04:47 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 00:04:47 Step 2/23 : FROM ${BASE} AS builder 00:04:47 ---> 736f1092e263 00:04:47 Step 3/23 : ARG MAKE=make build 00:04:47 ---> Running in 173ec6bd08b7 00:04:48 Removing intermediate container 173ec6bd08b7 00:04:48 ---> eaa6975bd125 00:04:48 Step 4/23 : WORKDIR /device-sdk-go 00:04:48 ---> Running in af99d981d083 00:04:48 Removing intermediate container af99d981d083 00:04:48 ---> 054c4db40739 00:04:48 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:04:48 ---> Running in 314d2734d5a6 00:04:48 Removing intermediate container 314d2734d5a6 00:04:48 ---> 28c0c7a48c81 00:04:48 Step 6/23 : RUN apk add --update --no-cache make git 00:04:48 ---> Running in b37b34d3f160 00:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:04:51 OK: 263 MiB in 53 packages 00:04:52 Removing intermediate container b37b34d3f160 00:04:52 ---> f2b16cff833f 00:04:52 Step 7/23 : COPY go.mod vendor* ./ 00:04:53 ---> 0b8a985a6947 00:04:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:04:53 ---> Running in 88eb97507ddf 00:04:56 Removing intermediate container 88eb97507ddf 00:04:56 ---> 382e3814fcf8 00:04:56 Step 9/23 : COPY . . 00:04:57 ---> e080f6f8bff1 00:04:57 Step 10/23 : RUN ${MAKE} 00:04:57 ---> Running in f97b922bfb9d 00:04:58 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.94" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:07:20 Removing intermediate container f97b922bfb9d 00:07:20 ---> c973a00da474 00:07:20 Step 11/23 : FROM alpine:3.17 00:07:20 3.17: Pulling from library/alpine 00:07:20 c41833b44d91: Already exists 00:07:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:07:20 Status: Downloaded newer image for alpine:3.17 00:07:21 ---> 51e60588ff2c 00:07:21 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:07:21 ---> Running in 3ef35406d80e 00:07:21 Removing intermediate container 3ef35406d80e 00:07:21 ---> d5d945fd028f 00:07:21 Step 13/23 : RUN apk add --update --no-cache 00:07:21 ---> Running in 7d1cd82aa2d8 00:07:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:07:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:07:24 OK: 7 MiB in 15 packages 00:07:24 Removing intermediate container 7d1cd82aa2d8 00:07:24 ---> dd4c9ae621fc 00:07:24 Step 14/23 : WORKDIR / 00:07:24 ---> Running in 8d2597d12d15 00:07:25 Removing intermediate container 8d2597d12d15 00:07:25 ---> ed983041812d 00:07:25 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:07:25 ---> 1f572b8d0a13 00:07:25 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:07:27 ---> 26f5e7a400df 00:07:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:07:27 ---> 849a93cf1e17 00:07:27 Step 18/23 : EXPOSE 59999 00:07:27 ---> Running in feb2a4100ebf 00:07:27 Removing intermediate container feb2a4100ebf 00:07:27 ---> d336ae8fdc3c 00:07:27 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:07:27 ---> Running in 9acfe734ae77 00:07:28 Removing intermediate container 9acfe734ae77 00:07:28 ---> 4dca55df0d0f 00:07:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:07:28 ---> Running in ba83049e8166 00:07:28 Removing intermediate container ba83049e8166 00:07:28 ---> 62fa4cee9240 00:07:28 Step 21/23 : LABEL arch=arm64 00:07:28 ---> Running in cfd0077dae82 00:07:28 Removing intermediate container cfd0077dae82 00:07:28 ---> 211f5bc008cd 00:07:28 Step 22/23 : LABEL git_sha=73fd0cb522a429402bd3cc46187ecdcb61225433 00:07:29 ---> Running in 098cfb6156fe 00:07:29 Removing intermediate container 098cfb6156fe 00:07:29 ---> 33fcdcf065d7 00:07:29 Step 23/23 : LABEL version=3.0.0-dev.94 00:07:29 ---> Running in 2a7efade0e7c 00:07:29 Removing intermediate container 2a7efade0e7c 00:07:29 ---> 47e60f8c0921 00:07:29 [Warning] One or more build-args [ARCH] were not consumed 00:07:29 Successfully built 47e60f8c0921 00:07:29 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 00:07:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:29 00:07:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:30 arm64: Pulling from edgex-lftools-log-publisher 00:07:30 8998bd30e6a1: Pulling fs layer 00:07:30 04944245beec: Pulling fs layer 00:07:30 699f458cf7ca: Pulling fs layer 00:07:30 765212b225bb: Pulling fs layer 00:07:30 f23df028b6ca: Pulling fs layer 00:07:30 d65c8cfc05b1: Pulling fs layer 00:07:30 2437ff75d9bd: Pulling fs layer 00:07:30 f23df028b6ca: Waiting 00:07:30 d65c8cfc05b1: Waiting 00:07:30 2437ff75d9bd: Waiting 00:07:30 765212b225bb: Waiting 00:07:30 04944245beec: Verifying Checksum 00:07:30 04944245beec: Download complete 00:07:30 765212b225bb: Verifying Checksum 00:07:30 765212b225bb: Download complete 00:07:30 f23df028b6ca: Verifying Checksum 00:07:30 f23df028b6ca: Download complete 00:07:30 d65c8cfc05b1: Verifying Checksum 00:07:30 d65c8cfc05b1: Download complete 00:07:30 699f458cf7ca: Verifying Checksum 00:07:30 699f458cf7ca: Download complete 00:07:31 8998bd30e6a1: Verifying Checksum 00:07:31 8998bd30e6a1: Download complete 00:07:33 2437ff75d9bd: Verifying Checksum 00:07:33 2437ff75d9bd: Download complete 00:07:35 8998bd30e6a1: Pull complete 00:07:35 04944245beec: Pull complete 00:07:37 699f458cf7ca: Pull complete 00:07:37 765212b225bb: Pull complete 00:07:38 f23df028b6ca: Pull complete 00:07:38 d65c8cfc05b1: Pull complete 00:07:53 2437ff75d9bd: Pull complete 00:07:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:07:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:53 prd-ubuntu20.04-docker-arm64-4c-16g-16620 does not seem to be running inside a container 00:07:53 $ 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/225 -v /w/workspace/device-sdk-go/225:/w/workspace/device-sdk-go/225:rw,z -v /w/workspace/device-sdk-go/225@tmp:/w/workspace/device-sdk-go/225@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 00:07:56 $ docker top 5be224a5f46a4ae89cc88eaca756e40c073a0a17a6740a657e8540b018a4c18e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:56 ---> job-cost.sh 00:07:56 lf-activate-venv: SKIPPING 00:07:56 INFO: No Stack... 00:07:57 INFO: Retrieving Pricing Info for: v3-standard-4 00:07:58 INFO: Archiving Costs [Pipeline] sh 00:07:58 + cat /w/workspace/device-sdk-go/225/archives/cost.csv 00:07:58 + cut -d, -f6 [Pipeline] lock 00:07:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] 00:07:58 Resource [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] did not exist. Created. 00:07:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:07:59 /w/workspace/device-sdk-go/225@tmp/durable-9acb4083/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:08:00 + echo total: 0.10999999940395355 [Pipeline] stash 00:08:00 Warning: overwriting stash ‘stack-cost’ 00:08:00 Stashed 1 file(s) [Pipeline] } 00:08:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-225-stack-cost] [Pipeline] // lock [Pipeline] } 00:08:00 $ docker stop --time=1 5be224a5f46a4ae89cc88eaca756e40c073a0a17a6740a657e8540b018a4c18e 00:08:02 $ docker rm -f --volumes 5be224a5f46a4ae89cc88eaca756e40c073a0a17a6740a657e8540b018a4c18e [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 00:08:02 provisioning config files... 00:08:02 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6761665214346212589tmp [Pipeline] { [Pipeline] sh 00:08:03 + set +x 00:08:03 + curl -s https://codecov.io/bash 00:08:03 + bash -s -- 00:08:03 00:08:03 _____ _ 00:08:03 / ____| | | 00:08:03 | | ___ __| | ___ ___ _____ __ 00:08:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:08:03 | |___| (_) | (_| | __/ (_| (_) \ V / 00:08:03 \_____\___/ \__,_|\___|\___\___/ \_/ 00:08:03 Bash-1.0.6 00:08:03 00:08:03 00:08:03 ==> git version 2.25.1 found 00:08:03 ==> 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 00:08:03 Release-Date: 2020-01-08 00:08:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:08:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:08:03 ==> Jenkins CI detected. 00:08:03 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 00:08:03 project root: . 00:08:03 --> token set from env 00:08:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:08:03 ==> Running gcov in . (disable via -X gcov) 00:08:03 ==> Python coveragepy not found 00:08:03 ==> Searching for coverage reports in: 00:08:03 + . 00:08:03 -> Found 1 reports 00:08:03 ==> Detecting git/mercurial file structure 00:08:03 ==> Reading reports 00:08:03 + ./coverage.out bytes=106150 00:08:03 ==> Appending adjustments 00:08:03 https://docs.codecov.io/docs/fixing-reports 00:08:03 + Found adjustments 00:08:03 ==> Gzipping contents 00:08:03 16K /tmp/codecov.AZPGU8.gz 00:08:03 ==> Uploading reports 00:08:03 url: https://codecov.io 00:08:03 query: branch=main&commit=73fd0cb522a429402bd3cc46187ecdcb61225433&build=225&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F225%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:08:03 -> Pinging Codecov 00:08:03 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=73fd0cb522a429402bd3cc46187ecdcb61225433&build=225&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F225%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:08:03 -> Uploading to 00:08:03 https://storage.googleapis.com/codecov/v4/raw/2023-05-24/7E55EF52A471D76F132DFD9A03CDDE97/73fd0cb522a429402bd3cc46187ecdcb61225433/0244cf67-6cef-4f55-8bbd-a8d2737fec65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T000803Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb33cd9e9ba90b37fbe4059b40774af0352347a2c449238d8adad1ac33421299 00:08:03 % Total % Received % Xferd Average Speed Time Time Time Current 00:08:03 Dload Upload Total Spent Left Speed 00:08:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15118 0 0 100 15118 0 78331 --:--:-- --:--:-- --:--:-- 78331 00:08:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] } 00:08:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:08:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:08:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:08:04 00:08:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:08:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:08:04 df9b9388f04a: Pulling fs layer 00:08:04 52dc419b0ee2: Pulling fs layer 00:08:04 25bc292e5bac: Pulling fs layer 00:08:04 114826534d7a: Pulling fs layer 00:08:04 4657fd5d0bcf: Pulling fs layer 00:08:04 6ad1cebc031e: Pulling fs layer 00:08:04 8a3aa393b2d8: Pulling fs layer 00:08:04 114826534d7a: Waiting 00:08:04 4657fd5d0bcf: Waiting 00:08:04 6ad1cebc031e: Waiting 00:08:04 8a3aa393b2d8: Waiting 00:08:04 25bc292e5bac: Verifying Checksum 00:08:04 25bc292e5bac: Download complete 00:08:04 52dc419b0ee2: Verifying Checksum 00:08:04 52dc419b0ee2: Download complete 00:08:04 4657fd5d0bcf: Download complete 00:08:04 df9b9388f04a: Download complete 00:08:05 6ad1cebc031e: Verifying Checksum 00:08:05 6ad1cebc031e: Download complete 00:08:05 df9b9388f04a: Pull complete 00:08:05 52dc419b0ee2: Pull complete 00:08:05 25bc292e5bac: Pull complete 00:08:05 114826534d7a: Verifying Checksum 00:08:05 114826534d7a: Download complete 00:08:05 8a3aa393b2d8: Verifying Checksum 00:08:05 8a3aa393b2d8: Download complete 00:08:08 114826534d7a: Pull complete 00:08:08 4657fd5d0bcf: Pull complete 00:08:08 6ad1cebc031e: Pull complete 00:08:11 8a3aa393b2d8: Pull complete 00:08:11 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:08:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:08:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:11 prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container 00:08:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:08:13 $ docker top 4c4307739671f591c6d018785252b80340a9afe9c4e06c3f11dcf7985cdeb942 -eo pid,comm [Pipeline] { [Pipeline] echo 00:08:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 00:08:14 + set -o pipefail 00:08:14 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 00:08:18 00:08:18 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 00:08:18 00:08:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/7974feaf-0db7-4307-abe3-e5cbc311fb53 00:08:18 00:08:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:08:18 00:08:18 00:08:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:08:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:08:18 More details here: https://snyk.co/ue1NS [Pipeline] } 00:08:18 $ docker stop --time=1 4c4307739671f591c6d018785252b80340a9afe9c4e06c3f11dcf7985cdeb942 00:08:21 $ docker rm -f --volumes 4c4307739671f591c6d018785252b80340a9afe9c4e06c3f11dcf7985cdeb942 [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 00:08:21 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:21 provisioning config files... 00:08:21 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8154448143701764677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:21 --> edgex-publish-swagger.sh 00:08:21 === Publish openapi/v3 API === 00:08:21 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 00:08:21 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 00:08:21 % Total % Received % Xferd Average Speed Time Time Time Current 00:08:21 Dload Upload Total Spent Left Speed 00:08:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 47538 --:--:-- --:--:-- --:--:-- 47538 00:08:22 00:08:22 [Pipeline] } 00:08:22 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 00:08:22 + git log --format=format:%s -1 73fd0cb522a429402bd3cc46187ecdcb61225433 [Pipeline] sh 00:08:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:08:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:23 prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container 00:08:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:08:23 $ docker top 1cfee2390cdd34f6b487647b7e1823f7ae23fb061be289580d9a6064c22f9334 -eo pid,comm 00:08:23 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). 00:08:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:08:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:23 [ssh-agent] Looking for ssh-agent implementation... 00:08:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:23 $ docker exec 1cfee2390cdd34f6b487647b7e1823f7ae23fb061be289580d9a6064c22f9334 ssh-agent 00:08:23 SSH_AUTH_SOCK=/tmp/ssh-VUkzDOULyHAU/agent.32 00:08:23 SSH_AGENT_PID=38 00:08:23 Running ssh-add (command line suppressed) 00:08:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7335235965198589613.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7335235965198589613.key) 00:08:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:24 + git semver tag 00:08:24 2023-05-24 00:08:24,345 [run_tag] DEBUG tag force:False 00:08:24 2023-05-24 00:08:24,345 [check_head_tag] DEBUG check head tag 00:08:24 2023-05-24 00:08:24,347 [execute] INFO git cat-file --batch-check 00:08:24 2023-05-24 00:08:24,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:08:24 2023-05-24 00:08:24,352 [execute] INFO git cat-file --batch 00:08:24 2023-05-24 00:08:24,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:08:24 2023-05-24 00:08:24,395 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:08:24 2023-05-24 00:08:24,395 [execute] INFO git tag -a v3.0.0-dev.94 -m v3.0.0-dev.94 00:08:24 2023-05-24 00:08:24,395 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.94', '-m', 'v3.0.0-dev.94'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:08:24 2023-05-24 00:08:24,400 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:08:24 3.0.0-dev.94 [Pipeline] } 00:08:24 $ docker exec --env ******** --env ******** 1cfee2390cdd34f6b487647b7e1823f7ae23fb061be289580d9a6064c22f9334 ssh-agent -k 00:08:24 unset SSH_AUTH_SOCK; 00:08:24 unset SSH_AGENT_PID; 00:08:24 echo Agent pid 38 killed; 00:08:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:08:24 + git semver [Pipeline] } 00:08:25 $ docker stop --time=1 1cfee2390cdd34f6b487647b7e1823f7ae23fb061be289580d9a6064c22f9334 00:08:26 $ docker rm -f --volumes 1cfee2390cdd34f6b487647b7e1823f7ae23fb061be289580d9a6064c22f9334 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:08:26 00:08:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:08:27 0.23.1-centos7: Pulling from edgex-lftools 00:08:27 ab5ef0e58194: Pulling fs layer 00:08:27 9712f1f96733: Pulling fs layer 00:08:27 63f879dbbcfc: Pulling fs layer 00:08:27 0d9ebad4ef96: Pulling fs layer 00:08:27 e9a5061849ea: Pulling fs layer 00:08:27 d747dcd14b5f: Pulling fs layer 00:08:27 2de7ff778b66: Pulling fs layer 00:08:27 e9a5061849ea: Waiting 00:08:27 d747dcd14b5f: Waiting 00:08:27 2de7ff778b66: Waiting 00:08:27 0d9ebad4ef96: Waiting 00:08:27 9712f1f96733: Verifying Checksum 00:08:27 9712f1f96733: Download complete 00:08:27 63f879dbbcfc: Verifying Checksum 00:08:27 63f879dbbcfc: Download complete 00:08:27 e9a5061849ea: Verifying Checksum 00:08:27 e9a5061849ea: Download complete 00:08:27 d747dcd14b5f: Download complete 00:08:27 0d9ebad4ef96: Verifying Checksum 00:08:27 0d9ebad4ef96: Download complete 00:08:27 ab5ef0e58194: Verifying Checksum 00:08:27 ab5ef0e58194: Download complete 00:08:27 2de7ff778b66: Verifying Checksum 00:08:27 2de7ff778b66: Download complete 00:08:30 ab5ef0e58194: Pull complete 00:08:30 9712f1f96733: Pull complete 00:08:31 63f879dbbcfc: Pull complete 00:08:35 0d9ebad4ef96: Pull complete 00:08:35 e9a5061849ea: Pull complete 00:08:35 d747dcd14b5f: Pull complete 00:08:36 2de7ff778b66: Pull complete 00:08:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:08:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:08:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:36 prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container 00:08:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:08:39 $ docker top 67ae3ba9d5bb276dec4031f6248ac0ae622bfd15ca7fd447778e57ce0da60e33 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:08:39 provisioning config files... 00:08:39 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12032573746903651199tmp 00:08:39 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12350852327570362801tmp 00:08:39 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5845066216758950362tmp [Pipeline] { [Pipeline] echo 00:08:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:08:40 ---> sigul-configuration.sh 00:08:40 gpg: directory `/root/.gnupg' created 00:08:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:08:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:08:40 gpg: keyring `/root/.gnupg/secring.gpg' created 00:08:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:08:40 gpg: CAST5 encrypted data 00:08:40 gpg: encrypted with 1 passphrase 00:08:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:08:40 + mkdir /home/jenkins 00:08:40 + mkdir /home/jenkins/sigul [Pipeline] sh 00:08:40 + 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 00:08:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:08:41 ---> sigul-install.sh 00:08:41 Sigul already installed; skipping installation. [Pipeline] sh 00:08:41 + git tag --list 00:08:41 0.7.1 00:08:41 delhi-tag 00:08:41 v1.0.0 00:08:41 v1.1.0 00:08:41 v1.1.1 00:08:41 v1.1.2 00:08:41 v1.2.0 00:08:41 v1.2.1 00:08:41 v1.2.2 00:08:41 v1.2.3 00:08:41 v1.3.0 00:08:41 v1.4.0 00:08:41 v2.0.0 00:08:41 v2.1.0 00:08:41 v2.1.1 00:08:41 v2.1.1-dev.2 00:08:41 v2.1.1-dev.3 00:08:41 v2.2.0 00:08:41 v2.2.1-dev.1 00:08:41 v2.2.1-dev.10 00:08:41 v2.2.1-dev.11 00:08:41 v2.2.1-dev.12 00:08:41 v2.2.1-dev.13 00:08:41 v2.2.1-dev.14 00:08:41 v2.2.1-dev.2 00:08:41 v2.2.1-dev.3 00:08:41 v2.2.1-dev.4 00:08:41 v2.2.1-dev.5 00:08:41 v2.2.1-dev.6 00:08:41 v2.2.1-dev.7 00:08:41 v2.2.1-dev.8 00:08:41 v2.2.1-dev.9 00:08:41 v2.3.0 00:08:41 v2.3.0-dev.14 00:08:41 v2.3.0-dev.15 00:08:41 v2.3.0-dev.16 00:08:41 v2.3.0-dev.17 00:08:41 v2.3.0-dev.18 00:08:41 v2.3.0-dev.19 00:08:41 v2.3.0-dev.20 00:08:41 v2.3.0-dev.21 00:08:41 v2.3.0-dev.22 00:08:41 v2.3.0-dev.23 00:08:41 v2.3.0-dev.24 00:08:41 v2.3.0-dev.25 00:08:41 v2.3.0-dev.26 00:08:41 v2.3.0-dev.27 00:08:41 v2.3.0-dev.28 00:08:41 v2.3.0-dev.29 00:08:41 v2.3.0-dev.30 00:08:41 v2.3.0-dev.31 00:08:41 v2.3.0-dev.32 00:08:41 v2.3.0-dev.33 00:08:41 v2.3.0-dev.34 00:08:41 v2.3.0-dev.35 00:08:41 v2.3.0-dev.36 00:08:41 v2.3.0-dev.37 00:08:41 v2.3.0-dev.38 00:08:41 v2.3.0-dev.39 00:08:41 v2.3.0-dev.40 00:08:41 v2.3.0-dev.41 00:08:41 v2.3.0-dev.42 00:08:41 v2.3.0-dev.43 00:08:41 v2.3.0-dev.44 00:08:41 v2.3.0-dev.45 00:08:41 v2.3.0-dev.46 00:08:41 v2.3.0-dev.47 00:08:41 v2.3.0-dev.48 00:08:41 v2.3.0-dev.49 00:08:41 v2.3.0-dev.50 00:08:41 v2.3.0-dev.51 00:08:41 v2.3.1 00:08:41 v2.3.1-dev.1 00:08:41 v2.3.1-dev.2 00:08:41 v2.3.1-dev.3 00:08:41 v2.3.1-dev.4 00:08:41 v3.0.0-dev.1 00:08:41 v3.0.0-dev.10 00:08:41 v3.0.0-dev.11 00:08:41 v3.0.0-dev.12 00:08:41 v3.0.0-dev.13 00:08:41 v3.0.0-dev.14 00:08:41 v3.0.0-dev.15 00:08:41 v3.0.0-dev.16 00:08:41 v3.0.0-dev.17 00:08:41 v3.0.0-dev.18 00:08:41 v3.0.0-dev.19 00:08:41 v3.0.0-dev.2 00:08:41 v3.0.0-dev.20 00:08:41 v3.0.0-dev.21 00:08:41 v3.0.0-dev.22 00:08:41 v3.0.0-dev.23 00:08:41 v3.0.0-dev.24 00:08:41 v3.0.0-dev.25 00:08:41 v3.0.0-dev.26 00:08:41 v3.0.0-dev.27 00:08:41 v3.0.0-dev.28 00:08:41 v3.0.0-dev.29 00:08:41 v3.0.0-dev.3 00:08:41 v3.0.0-dev.30 00:08:41 v3.0.0-dev.31 00:08:41 v3.0.0-dev.32 00:08:41 v3.0.0-dev.33 00:08:41 v3.0.0-dev.34 00:08:41 v3.0.0-dev.35 00:08:41 v3.0.0-dev.36 00:08:41 v3.0.0-dev.37 00:08:41 v3.0.0-dev.38 00:08:41 v3.0.0-dev.39 00:08:41 v3.0.0-dev.4 00:08:41 v3.0.0-dev.40 00:08:41 v3.0.0-dev.41 00:08:41 v3.0.0-dev.42 00:08:41 v3.0.0-dev.43 00:08:41 v3.0.0-dev.44 00:08:41 v3.0.0-dev.45 00:08:41 v3.0.0-dev.46 00:08:41 v3.0.0-dev.47 00:08:41 v3.0.0-dev.48 00:08:41 v3.0.0-dev.49 00:08:41 v3.0.0-dev.5 00:08:41 v3.0.0-dev.50 00:08:41 v3.0.0-dev.51 00:08:41 v3.0.0-dev.52 00:08:41 v3.0.0-dev.53 00:08:41 v3.0.0-dev.54 00:08:41 v3.0.0-dev.55 00:08:41 v3.0.0-dev.56 00:08:41 v3.0.0-dev.57 00:08:41 v3.0.0-dev.58 00:08:41 v3.0.0-dev.59 00:08:41 v3.0.0-dev.6 00:08:41 v3.0.0-dev.60 00:08:41 v3.0.0-dev.61 00:08:41 v3.0.0-dev.62 00:08:41 v3.0.0-dev.63 00:08:41 v3.0.0-dev.64 00:08:41 v3.0.0-dev.65 00:08:41 v3.0.0-dev.66 00:08:41 v3.0.0-dev.67 00:08:41 v3.0.0-dev.68 00:08:41 v3.0.0-dev.69 00:08:41 v3.0.0-dev.7 00:08:41 v3.0.0-dev.70 00:08:41 v3.0.0-dev.71 00:08:41 v3.0.0-dev.72 00:08:41 v3.0.0-dev.73 00:08:41 v3.0.0-dev.74 00:08:41 v3.0.0-dev.75 00:08:41 v3.0.0-dev.76 00:08:41 v3.0.0-dev.77 00:08:41 v3.0.0-dev.78 00:08:41 v3.0.0-dev.79 00:08:41 v3.0.0-dev.8 00:08:41 v3.0.0-dev.80 00:08:41 v3.0.0-dev.81 00:08:41 v3.0.0-dev.82 00:08:41 v3.0.0-dev.83 00:08:41 v3.0.0-dev.84 00:08:41 v3.0.0-dev.85 00:08:41 v3.0.0-dev.86 00:08:41 v3.0.0-dev.87 00:08:41 v3.0.0-dev.88 00:08:41 v3.0.0-dev.89 00:08:41 v3.0.0-dev.9 00:08:41 v3.0.0-dev.90 00:08:41 v3.0.0-dev.91 00:08:41 v3.0.0-dev.92 00:08:41 v3.0.0-dev.93 00:08:41 v3.0.0-dev.94 [Pipeline] sh 00:08:41 + lftools sign git-tag v3.0.0-dev.94 00:08:42 Signing Git tag with Sigul... 00:08:42 Signing v3.0.0-dev.94 [Pipeline] echo 00:08:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:08:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:08:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:08:42 $ docker stop --time=1 67ae3ba9d5bb276dec4031f6248ac0ae622bfd15ca7fd447778e57ce0da60e33 00:08:44 $ docker rm -f --volumes 67ae3ba9d5bb276dec4031f6248ac0ae622bfd15ca7fd447778e57ce0da60e33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:08:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:08:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:44 prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container 00:08:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:08:45 $ docker top e944a242ba268d1a4528c1e2646d379b04e5c673c83c3b23b59f649b493f7c83 -eo pid,comm 00:08:45 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). 00:08:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:08:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:45 [ssh-agent] Looking for ssh-agent implementation... 00:08:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:45 $ docker exec e944a242ba268d1a4528c1e2646d379b04e5c673c83c3b23b59f649b493f7c83 ssh-agent 00:08:45 SSH_AUTH_SOCK=/tmp/ssh-1gIwi702cJT5/agent.32 00:08:45 SSH_AGENT_PID=38 00:08:45 Running ssh-add (command line suppressed) 00:08:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14002904210720694797.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14002904210720694797.key) 00:08:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:45 + git semver bump pre 00:08:46 2023-05-24 00:08:46,116 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:08:46 2023-05-24 00:08:46,116 [bump_version] DEBUG bumping version:3.0.0-dev.94 on axis:pre with prefix:dev 00:08:46 2023-05-24 00:08:46,116 [bump_version] DEBUG bumped version:3.0.0-dev.95 00:08:46 2023-05-24 00:08:46,116 [write_version] DEBUG write version:3.0.0-dev.95 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 00:08:46 2023-05-24 00:08:46,116 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:08:46 2023-05-24 00:08:46,116 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:08:46 2023-05-24 00:08:46,118 [execute] INFO git cat-file --batch-check 00:08:46 2023-05-24 00:08:46,118 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:08:46 2023-05-24 00:08:46,124 [execute] INFO git cat-file --batch 00:08:46 2023-05-24 00:08:46,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:08:46 2023-05-24 00:08:46,130 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:08:46 3.0.0-dev.95 [Pipeline] } 00:08:46 $ docker exec --env ******** --env ******** e944a242ba268d1a4528c1e2646d379b04e5c673c83c3b23b59f649b493f7c83 ssh-agent -k 00:08:46 unset SSH_AUTH_SOCK; 00:08:46 unset SSH_AGENT_PID; 00:08:46 echo Agent pid 38 killed; 00:08:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:08:46 + git semver [Pipeline] } 00:08:46 $ docker stop --time=1 e944a242ba268d1a4528c1e2646d379b04e5c673c83c3b23b59f649b493f7c83 00:08:48 $ docker rm -f --volumes e944a242ba268d1a4528c1e2646d379b04e5c673c83c3b23b59f649b493f7c83 [Pipeline] // withDockerContainer [Pipeline] sh 00:08:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:08:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:48 prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container 00:08:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:08:49 $ docker top 5d80ee89edf1b1f31fbd6d9363576ad3d27a1edabd8611749cb64387f610b633 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:08:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:49 [ssh-agent] Looking for ssh-agent implementation... 00:08:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:49 $ docker exec 5d80ee89edf1b1f31fbd6d9363576ad3d27a1edabd8611749cb64387f610b633 ssh-agent 00:08:49 SSH_AUTH_SOCK=/tmp/ssh-i04t2m8OoVf9/agent.32 00:08:49 SSH_AGENT_PID=38 00:08:49 Running ssh-add (command line suppressed) 00:08:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16999599851505421601.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16999599851505421601.key) 00:08:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:50 + git semver push 00:08:50 2023-05-24 00:08:50,212 [run_push] DEBUG push 00:08:50 2023-05-24 00:08:50,213 [execute] INFO git cat-file --batch-check 00:08:50 2023-05-24 00:08:50,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:08:50 2023-05-24 00:08:50,217 [execute] INFO git rev-list 7b165bc59686b471471421bf4963c2cd1ac7ce84 -- 00:08:50 2023-05-24 00:08:50,217 [execute] DEBUG Popen(['git', 'rev-list', '7b165bc59686b471471421bf4963c2cd1ac7ce84', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:08:50 2023-05-24 00:08:50,231 [execute] INFO git fetch -v origin 00:08:50 2023-05-24 00:08:50,231 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:08:50 2023-05-24 00:08:50,683 [run_push] DEBUG no remote changes detected 00:08:50 2023-05-24 00:08:50,684 [execute] INFO git push origin semver 00:08:50 2023-05-24 00:08:50,684 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:08:51 2023-05-24 00:08:51,491 [run_push] DEBUG push all version tags 00:08:51 2023-05-24 00:08:51,491 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:08:51 2023-05-24 00:08:51,492 [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) 00:08:52 2023-05-24 00:08:52,254 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:08:52 3.0.0-dev.95 [Pipeline] } 00:08:52 $ docker exec --env ******** --env ******** 5d80ee89edf1b1f31fbd6d9363576ad3d27a1edabd8611749cb64387f610b633 ssh-agent -k 00:08:52 unset SSH_AUTH_SOCK; 00:08:52 unset SSH_AGENT_PID; 00:08:52 echo Agent pid 38 killed; 00:08:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:08:52 + git semver [Pipeline] } 00:08:53 $ docker stop --time=1 5d80ee89edf1b1f31fbd6d9363576ad3d27a1edabd8611749cb64387f610b633 00:08:54 $ docker rm -f --volumes 5d80ee89edf1b1f31fbd6d9363576ad3d27a1edabd8611749cb64387f610b633 [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 00:08:54 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 00:08:54 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:08:54 total 16 00:08:54 drwxr-xr-x 3 root root 4096 May 23 23:54 . 00:08:54 drwxrwxr-x 12 jenkins jenkins 4096 May 24 00:08 .. 00:08:54 drwxr-xr-x 2 root root 4096 May 23 23:54 cost 00:08:54 -rw-r--r-- 1 root root 85 May 23 23:54 cost.csv 00:08:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:08:54 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:08:54 total 16 00:08:54 drwxr-xr-x 3 jenkins jenkins 4096 May 23 23:54 . 00:08:54 drwxrwxr-x 12 jenkins jenkins 4096 May 24 00:08 .. 00:08:54 drwxr-xr-x 2 jenkins jenkins 4096 May 23 23:54 cost 00:08:54 -rw-r--r-- 1 jenkins jenkins 85 May 23 23:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:08:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:08:55 ---> package-listing.sh 00:08:55 ++ facter osfamily 00:08:55 ++ tr '[:upper:]' '[:lower:]' 00:08:56 + OS_FAMILY=debian 00:08:56 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 00:08:56 + START_PACKAGES=/tmp/packages_start.txt 00:08:56 + END_PACKAGES=/tmp/packages_end.txt 00:08:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:08:56 + PACKAGES=/tmp/packages_start.txt 00:08:56 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:08:56 + PACKAGES=/tmp/packages_end.txt 00:08:56 + case "${OS_FAMILY}" in 00:08:56 + dpkg -l 00:08:56 + grep '^ii' 00:08:56 + '[' -f /tmp/packages_start.txt ']' 00:08:56 + '[' -f /tmp/packages_end.txt ']' 00:08:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:08:56 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:08:56 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 00:08:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 00:08:56 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 00:08:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:57 prd-ubuntu20.04-docker-8c-8g-16618 does not seem to be running inside a container 00:08:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:08:57 $ docker top 818e4f3e09f70ddbee28639969e3ba97bba7765fe53f334b6cf6922623702bb7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:57 + touch /tmp/pre-build-complete [Pipeline] sh 00:08:58 + mkdir -p /var/log/sysstat [Pipeline] sh 00:08:58 + ls /var/log/sa-host 00:08:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:58 provisioning config files... 00:08:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11476628040619226207tmp [Pipeline] { [Pipeline] echo 00:08:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:08:58 ---> create-netrc.sh [Pipeline] } 00:08:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:08:59 ---> python-tools-install.sh [Pipeline] echo 00:08:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:08:59 ---> sudo-logs.sh 00:08:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:08:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:08:59 ---> job-cost.sh 00:08:59 lf-activate-venv: SKIPPING 00:08:59 DEBUG: total: 0.2199999988079071 00:08:59 INFO: Retrieving Stack Cost... 00:09:00 INFO: Retrieving Pricing Info for: v3-standard-8 00:09:00 INFO: Archiving Costs [Pipeline] echo 00:09:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:09:00 ---> logs-deploy.sh 00:09:00 lf-activate-venv: SKIPPING 00:09:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/225 00:09:00 INFO: archiving workspace using pattern(s): 00:09:01 Archives upload complete. 00:09:01 INFO: archiving logs to Nexus