Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 18bdfa4300a1cbb146f35f15047514081a18ddfa 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-ssh8336044930244848096.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-ssh15650744416329658492.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-ssh9004487018128290364.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-ssh16787807450804090537.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-ssh12340637394977332613.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-15121’ Running on prd-ubuntu20.04-docker-8c-8g-15123 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 18bdfa4300a1cbb146f35f15047514081a18ddfa (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1457)" > 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 18bdfa4300a1cbb146f35f15047514081a18ddfa # timeout=10 > git rev-list --no-walk 57c5392183b4f70d46be0be9f61e727b75abeab9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:57:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:57:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:57:39 ========================================================= 23:57:39 EdgeX Global Pipelines Version Info 23:57:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:57:40 ------------------- 23:57:40 stable info: 23:57:40 ------------------- 23:57:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:57:40 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:57:40 Message: update stable to v1.0.249 23:57:40 ------------------- 23:57:40 experimental info: 23:57:40 ------------------- 23:57:40 Commited By: **** collab-it+edgex@linuxfoundation.org 23:57:40 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:57:40 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18bdfa4300a1cbb146f35f15047514081a18ddfa [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18bdfa4 [Pipeline] echo 23:57:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:41 provisioning config files... 23:57:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17253999996813255898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:41 ---> docker-login.sh 23:57:41 nexus3.edgexfoundry.org:10001 23:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:42 Configure a credential helper to remove this warning. See 23:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:42 23:57:42 Login Succeeded 23:57:42 nexus3.edgexfoundry.org:10002 23:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:42 Configure a credential helper to remove this warning. See 23:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:42 23:57:42 Login Succeeded 23:57:42 nexus3.edgexfoundry.org:10003 23:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:42 Configure a credential helper to remove this warning. See 23:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:42 23:57:42 Login Succeeded 23:57:42 nexus3.edgexfoundry.org:10004 23:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:42 Configure a credential helper to remove this warning. See 23:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:42 23:57:42 Login Succeeded 23:57:42 docker.io 23:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:42 Configure a credential helper to remove this warning. See 23:57:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:42 23:57:42 Login Succeeded 23:57:43 ---> docker-login.sh ends [Pipeline] } 23:57:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:57:43 + git rev-list -1 --merges 18bdfa4300a1cbb146f35f15047514081a18ddfa~1..18bdfa4300a1cbb146f35f15047514081a18ddfa [Pipeline] echo 23:57:43 -----------> git rev-list -1 --merges 18bdfa4300a1cbb146f35f15047514081a18ddfa~1..18bdfa4300a1cbb146f35f15047514081a18ddfa 18bdfa4300a1cbb146f35f15047514081a18ddfa [false] [Pipeline] sh 23:57:43 + git log --format=format:%s -1 18bdfa4300a1cbb146f35f15047514081a18ddfa [Pipeline] echo 23:57:43 ========================================================= 23:57:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:57:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:57:44 + git log --format=format:%s -1 18bdfa4300a1cbb146f35f15047514081a18ddfa [Pipeline] echo 23:57:44 [semverPrep] GIT_COMMIT: 18bdfa4300a1cbb146f35f15047514081a18ddfa, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1457) [Pipeline] echo 23:57:44 [semverPrep] This is not a build commit. [Pipeline] sh 23:57:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:57:44 + grep -v github /etc/ssh/ssh_known_hosts 23:57:44 + [ -e /tmp/ssh_known_hosts ] 23:57:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:57:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:57:44 + sudo tee -a /etc/ssh/ssh_known_hosts 23:57:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:44 23:57:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:45 0.1.4: Pulling from edgex-devops/py-git-semver 23:57:45 b85a868b505f: Pulling fs layer 23:57:45 e2be974225ed: Pulling fs layer 23:57:45 339a4e72a1f5: Pulling fs layer 23:57:45 988bab9f4d93: Pulling fs layer 23:57:45 1469e6f7b9e6: Pulling fs layer 23:57:45 eaf3925da568: Pulling fs layer 23:57:45 bab4dde63d76: Pulling fs layer 23:57:45 bde34c3a00c8: Pulling fs layer 23:57:45 b352a97aabf1: Pulling fs layer 23:57:45 4872d77fe225: Pulling fs layer 23:57:45 5851b861e8e6: Pulling fs layer 23:57:45 1469e6f7b9e6: Waiting 23:57:45 eaf3925da568: Waiting 23:57:45 bab4dde63d76: Waiting 23:57:45 bde34c3a00c8: Waiting 23:57:45 b352a97aabf1: Waiting 23:57:45 4872d77fe225: Waiting 23:57:45 5851b861e8e6: Waiting 23:57:45 988bab9f4d93: Waiting 23:57:45 e2be974225ed: Verifying Checksum 23:57:45 e2be974225ed: Download complete 23:57:45 988bab9f4d93: Verifying Checksum 23:57:45 988bab9f4d93: Download complete 23:57:45 1469e6f7b9e6: Verifying Checksum 23:57:45 1469e6f7b9e6: Download complete 23:57:45 eaf3925da568: Download complete 23:57:45 339a4e72a1f5: Verifying Checksum 23:57:45 339a4e72a1f5: Download complete 23:57:45 bde34c3a00c8: Verifying Checksum 23:57:45 bde34c3a00c8: Download complete 23:57:45 b352a97aabf1: Verifying Checksum 23:57:45 b352a97aabf1: Download complete 23:57:45 4872d77fe225: Verifying Checksum 23:57:45 4872d77fe225: Download complete 23:57:45 5851b861e8e6: Verifying Checksum 23:57:45 5851b861e8e6: Download complete 23:57:45 b85a868b505f: Verifying Checksum 23:57:45 b85a868b505f: Download complete 23:57:45 bab4dde63d76: Verifying Checksum 23:57:45 bab4dde63d76: Download complete 23:57:46 b85a868b505f: Pull complete 23:57:46 e2be974225ed: Pull complete 23:57:47 339a4e72a1f5: Pull complete 23:57:47 988bab9f4d93: Pull complete 23:57:47 1469e6f7b9e6: Pull complete 23:57:47 eaf3925da568: Pull complete 23:57:49 bab4dde63d76: Pull complete 23:57:49 bde34c3a00c8: Pull complete 23:57:49 b352a97aabf1: Pull complete 23:57:49 4872d77fe225: Pull complete 23:57:49 5851b861e8e6: Pull complete 23:57:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:57:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:49 prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container 23:57:49 $ 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:57:50 $ docker top f35ed0fa84bfa0ebe9e454113d3344ed9b511b49cffd38a205dac1e40f404a83 -eo pid,comm 23:57:50 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:57:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:57:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:57:51 [ssh-agent] Looking for ssh-agent implementation... 23:57:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:57:51 $ docker exec f35ed0fa84bfa0ebe9e454113d3344ed9b511b49cffd38a205dac1e40f404a83 ssh-agent 23:57:51 SSH_AUTH_SOCK=/tmp/ssh-7TCERdEc7MZl/agent.32 23:57:51 SSH_AGENT_PID=38 23:57:51 Running ssh-add (command line suppressed) 23:57:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16219349237749300563.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16219349237749300563.key) 23:57:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:57:51 + git tag --points-at HEAD [Pipeline] } 23:57:51 $ docker exec --env ******** --env ******** f35ed0fa84bfa0ebe9e454113d3344ed9b511b49cffd38a205dac1e40f404a83 ssh-agent -k 23:57:51 unset SSH_AUTH_SOCK; 23:57:51 unset SSH_AGENT_PID; 23:57:51 echo Agent pid 38 killed; 23:57:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:57:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:57:51 [ssh-agent] Looking for ssh-agent implementation... 23:57:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:57:51 $ docker exec f35ed0fa84bfa0ebe9e454113d3344ed9b511b49cffd38a205dac1e40f404a83 ssh-agent 23:57:52 SSH_AUTH_SOCK=/tmp/ssh-XY8TLNxgKsX5/agent.70 23:57:52 SSH_AGENT_PID=77 23:57:52 Running ssh-add (command line suppressed) 23:57:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17441495845832361741.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17441495845832361741.key) 23:57:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:57:52 + git semver init 23:57:52 2023-05-10 23:57:52,602 [run_init] DEBUG init version:0.0.0 force:False 23:57:52 2023-05-10 23:57:52,602 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 23:57:52 2023-05-10 23:57:52,603 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 23:57:52 2023-05-10 23:57:52,603 [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:57:53 2023-05-10 23:57:53,454 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 23:57:53 2023-05-10 23:57:53,455 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 23:57:53 2023-05-10 23:57:53,455 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:57:53 2023-05-10 23:57:53,455 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:57:53 3.0.0-dev.90 [Pipeline] } 23:57:53 $ docker exec --env ******** --env ******** f35ed0fa84bfa0ebe9e454113d3344ed9b511b49cffd38a205dac1e40f404a83 ssh-agent -k 23:57:53 unset SSH_AUTH_SOCK; 23:57:53 unset SSH_AGENT_PID; 23:57:53 echo Agent pid 77 killed; 23:57:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:57:54 + git semver [Pipeline] } 23:57:54 $ docker stop --time=1 f35ed0fa84bfa0ebe9e454113d3344ed9b511b49cffd38a205dac1e40f404a83 23:57:55 $ docker rm -f --volumes f35ed0fa84bfa0ebe9e454113d3344ed9b511b49cffd38a205dac1e40f404a83 [Pipeline] // withDockerContainer [Pipeline] sh 23:57:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:57:56 Stashed 1 file(s) [Pipeline] echo 23:57:56 [edgeXSemver]: initialized semver on version 3.0.0-dev.90 [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:57:56 provisioning config files... 23:57:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3413928975087098298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:56 ---> docker-login.sh 23:57:56 nexus3.edgexfoundry.org:10001 23:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:56 Configure a credential helper to remove this warning. See 23:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:56 23:57:56 Login Succeeded 23:57:56 nexus3.edgexfoundry.org:10002 23:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:56 Configure a credential helper to remove this warning. See 23:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:56 23:57:56 Login Succeeded 23:57:56 nexus3.edgexfoundry.org:10003 23:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:56 Configure a credential helper to remove this warning. See 23:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:56 23:57:56 Login Succeeded 23:57:56 nexus3.edgexfoundry.org:10004 23:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:56 Configure a credential helper to remove this warning. See 23:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:56 23:57:56 Login Succeeded 23:57:56 docker.io 23:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:57 Configure a credential helper to remove this warning. See 23:57:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:57 23:57:57 Login Succeeded 23:57:57 ---> docker-login.sh ends [Pipeline] } 23:57:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:57:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:57 ========================================================= 23:57:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:57:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:57 + 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:57:57 Sending build context to Docker daemon 11.15MB 23:57:57 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 23:57:57 Step 2/10 : FROM ${BASE} AS builder 23:57:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:57:57 f56be85fc22e: Pulling fs layer 23:57:57 85791d961cd3: Pulling fs layer 23:57:57 d694b5ae8c79: Pulling fs layer 23:57:57 9f32a84ed3da: Pulling fs layer 23:57:57 4d19c01a9841: Pulling fs layer 23:57:57 9325e15d5711: Pulling fs layer 23:57:57 556b6ee489ea: Pulling fs layer 23:57:57 9325e15d5711: Waiting 23:57:57 4d19c01a9841: Waiting 23:57:57 556b6ee489ea: Waiting 23:57:57 c5a4b2cf53e6: Pulling fs layer 23:57:57 c5a4b2cf53e6: Waiting 23:57:57 85791d961cd3: Download complete 23:57:57 9f32a84ed3da: Verifying Checksum 23:57:57 9f32a84ed3da: Download complete 23:57:57 4d19c01a9841: Download complete 23:57:57 f56be85fc22e: Verifying Checksum 23:57:57 f56be85fc22e: Download complete 23:57:57 9325e15d5711: Verifying Checksum 23:57:57 9325e15d5711: Download complete 23:57:57 f56be85fc22e: Pull complete 23:57:58 85791d961cd3: Pull complete 23:57:58 c5a4b2cf53e6: Download complete 23:57:58 d694b5ae8c79: Verifying Checksum 23:57:58 d694b5ae8c79: Download complete 23:57:58 556b6ee489ea: Verifying Checksum 23:57:58 556b6ee489ea: Download complete 23:58:01 d694b5ae8c79: Pull complete 23:58:01 9f32a84ed3da: Pull complete 23:58:01 4d19c01a9841: Pull complete 23:58:01 9325e15d5711: Pull complete 23:58:03 556b6ee489ea: Pull complete 23:58:04 c5a4b2cf53e6: Pull complete 23:58:04 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:58:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:58:04 ---> c4be618373d6 23:58:04 Step 3/10 : ARG MAKE=make build 23:58:06 ---> Running in 31c57a702a0f 23:58:06 Removing intermediate container 31c57a702a0f 23:58:06 ---> 8325ec041e9a 23:58:06 Step 4/10 : WORKDIR /device-sdk-go 23:58:06 ---> Running in 7681411e10a2 23:58:06 Removing intermediate container 7681411e10a2 23:58:06 ---> 4f4d47d7a183 23:58:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:58:06 ---> Running in c796175f8eef 23:58:06 Removing intermediate container c796175f8eef 23:58:06 ---> 03c7d750115d 23:58:06 Step 6/10 : RUN apk add --update --no-cache make git 23:58:06 ---> Running in 69b6e08b4bf4 23:58:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:58:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:58:07 OK: 265 MiB in 53 packages 23:58:07 Removing intermediate container 69b6e08b4bf4 23:58:07 ---> 6e0e4d16c323 23:58:07 Step 7/10 : COPY go.mod vendor* ./ 23:58:07 ---> f6302472464b 23:58:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:07 ---> Running in 6395f82585f8 23:58:11 Still waiting to schedule task 23:58:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15122’ is offline 23:58:34 Removing intermediate container 6395f82585f8 23:58:34 ---> ffc56eee6657 23:58:34 Step 9/10 : COPY . . 23:58:34 ---> 73c080d0f89f 23:58:34 Step 10/10 : RUN ${MAKE} 23:58:34 ---> Running in 3e808c64c79a 23:58:34 noop 23:58:34 Removing intermediate container 3e808c64c79a 23:58:34 ---> 2443b5cd5f4f 23:58:34 Successfully built 2443b5cd5f4f 23:58:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:34 + docker inspect -f . ci-base-image-x86_64 23:58:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:34 prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container 23:58:34 $ 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:58:34 $ docker top 1bfb9923299497cdf83f40c78d2b717062d0867428e8e9ff01d11d342f1e88b3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:35 + go version 23:58:35 go version go1.20.2 linux/amd64 [Pipeline] } 23:58:35 $ docker stop --time=1 1bfb9923299497cdf83f40c78d2b717062d0867428e8e9ff01d11d342f1e88b3 23:58:36 $ docker rm -f --volumes 1bfb9923299497cdf83f40c78d2b717062d0867428e8e9ff01d11d342f1e88b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:36 + docker inspect -f . ci-base-image-x86_64 23:58:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:36 prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container 23:58:37 $ 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:58:37 $ docker top 9d674fa59d1b70ebe1a14bd1950ef58871c3747b49c53a0d3e8eebb94a6fffd6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 23:58:37 + make test 23:58:37 go test -race -coverprofile=coverage.out ./... 23:58:44 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 23:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 23:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 23:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 23:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 23:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 23:58:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.059s coverage: 27.6% of statements 23:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 23:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 23:58:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 80.2% of statements 23:58:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.067s coverage: 86.0% of statements 23:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 23:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 23:58:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.111s coverage: 77.5% of statements 23:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 23:58:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 23:59:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 23:59:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.060s coverage: 14.3% of statements 23:59:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements 23:59:02 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.111s coverage: 89.2% of statements 23:59:02 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.7% of statements 23:59:20 GO111MODULE=on go vet ./... 23:59:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:59:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:59:24 ./bin/test-attribution-txt.sh [Pipeline] echo 23:59:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:59:24 $ docker stop --time=1 9d674fa59d1b70ebe1a14bd1950ef58871c3747b49c53a0d3e8eebb94a6fffd6 23:59:26 $ docker rm -f --volumes 9d674fa59d1b70ebe1a14bd1950ef58871c3747b49c53a0d3e8eebb94a6fffd6 [Pipeline] // withDockerContainer [Pipeline] sh 23:59:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:59:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:59:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:59:28 + ls -al . 23:59:28 total 272 23:59:28 drwxrwxr-x 11 jenkins jenkins 4096 May 10 23:58 . 23:59:28 drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:57 .. 23:59:28 -rw-rw-r-- 1 jenkins jenkins 140 May 10 23:57 .dockerignore 23:59:28 drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:57 .git 23:59:28 drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:57 .github 23:59:28 -rw-rw-r-- 1 jenkins jenkins 137 May 10 23:57 .gitignore 23:59:28 -rw-rw-r-- 1 jenkins jenkins 42 May 10 23:57 .golangci.yml 23:59:28 drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:57 .semver 23:59:28 -rw-rw-r-- 1 jenkins jenkins 31677 May 10 23:57 CHANGELOG.md 23:59:28 -rw-rw-r-- 1 jenkins jenkins 677 May 10 23:57 GOVERNANCE.md 23:59:28 -rw-rw-r-- 1 jenkins jenkins 885 May 10 23:57 Jenkinsfile 23:59:28 -rw-rw-r-- 1 jenkins jenkins 11341 May 10 23:57 LICENSE 23:59:28 -rw-rw-r-- 1 jenkins jenkins 1714 May 10 23:57 Makefile 23:59:28 -rw-rw-r-- 1 jenkins jenkins 619 May 10 23:57 OWNERS.md 23:59:28 -rw-rw-r-- 1 jenkins jenkins 4891 May 10 23:57 README.md 23:59:28 -rw-rw-r-- 1 jenkins jenkins 12 May 10 23:57 VERSION 23:59:28 drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:57 bin 23:59:28 -rw-r--r-- 1 jenkins jenkins 106150 May 10 23:59 coverage.out 23:59:28 drwxrwxr-x 5 jenkins jenkins 4096 May 10 23:57 example 23:59:28 -rw-rw-r-- 1 jenkins jenkins 3234 May 10 23:57 go.mod 23:59:28 -rw-rw-r-- 1 jenkins jenkins 30781 May 10 23:57 go.sum 23:59:28 drwxrwxr-x 12 jenkins jenkins 4096 May 10 23:57 internal 23:59:28 drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:57 openapi 23:59:28 drwxrwxr-x 6 jenkins jenkins 4096 May 10 23:57 pkg 23:59:28 drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:57 snap 23:59:28 -rw-rw-r-- 1 jenkins jenkins 222 May 10 23:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:28 + 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=18bdfa4300a1cbb146f35f15047514081a18ddfa --label arch=amd64 --label version=3.0.0-dev.90 . 23:59:28 Sending build context to Docker daemon 11.25MB 23:59:28 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 23:59:28 Step 2/23 : FROM ${BASE} AS builder 23:59:28 ---> 2443b5cd5f4f 23:59:28 Step 3/23 : ARG MAKE=make build 23:59:28 ---> Running in f1bc695d4729 23:59:28 Removing intermediate container f1bc695d4729 23:59:28 ---> 76789310dc49 23:59:28 Step 4/23 : WORKDIR /device-sdk-go 23:59:28 ---> Running in 60039e7082a4 23:59:28 Removing intermediate container 60039e7082a4 23:59:28 ---> 3bd67b164cce 23:59:28 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:59:28 ---> Running in b8e56f5329c0 23:59:28 Removing intermediate container b8e56f5329c0 23:59:28 ---> 3e4b9a66daa6 23:59:28 Step 6/23 : RUN apk add --update --no-cache make git 23:59:28 ---> Running in 4bf8ccc1903c 23:59:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:59:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:59:29 OK: 265 MiB in 53 packages 23:59:29 Removing intermediate container 4bf8ccc1903c 23:59:29 ---> 148a3f5efde6 23:59:29 Step 7/23 : COPY go.mod vendor* ./ 23:59:29 ---> 3e0dca05992c 23:59:29 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:59:29 ---> Running in 61478a060478 23:59:30 Removing intermediate container 61478a060478 23:59:30 ---> 24c35786729e 23:59:30 Step 9/23 : COPY . . 23:59:30 ---> 1b3792c0c2f4 23:59:30 Step 10/23 : RUN ${MAKE} 23:59:30 ---> Running in 94a3ee6ed468 23:59:31 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.90" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:59:49 Removing intermediate container 94a3ee6ed468 23:59:49 ---> b266955d6192 23:59:49 Step 11/23 : FROM alpine:3.17 23:59:49 3.17: Pulling from library/alpine 23:59:49 f56be85fc22e: Already exists 23:59:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:59:49 Status: Downloaded newer image for alpine:3.17 23:59:49 ---> 9ed4aefc74f6 23:59:49 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:59:49 ---> Running in b9747f6b591d 23:59:49 Removing intermediate container b9747f6b591d 23:59:49 ---> 55bfa99d00af 23:59:49 Step 13/23 : RUN apk add --update --no-cache 23:59:49 ---> Running in a40273bdbed7 23:59:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:59:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:59:49 OK: 7 MiB in 15 packages 23:59:49 Removing intermediate container a40273bdbed7 23:59:49 ---> c47b9160ee8d 23:59:49 Step 14/23 : WORKDIR / 23:59:49 ---> Running in 8fad0a56560b 23:59:49 Removing intermediate container 8fad0a56560b 23:59:49 ---> bf91315c4e19 23:59:49 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:59:49 ---> fe6678b7e123 23:59:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:59:49 ---> e3e6e3b40dff 23:59:49 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:59:49 ---> 4d2a59ea117b 23:59:49 Step 18/23 : EXPOSE 59999 23:59:49 ---> Running in c5d5b6d44e20 23:59:49 Removing intermediate container c5d5b6d44e20 23:59:49 ---> 3964e152cecd 23:59:49 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:59:49 ---> Running in 166722f3b491 23:59:49 Removing intermediate container 166722f3b491 23:59:49 ---> c861f23b4846 23:59:49 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:59:49 ---> Running in a852dddef58f 23:59:50 Removing intermediate container a852dddef58f 23:59:50 ---> 292d7e9370e2 23:59:50 Step 21/23 : LABEL arch=amd64 23:59:50 ---> Running in 70837c7ee5b6 23:59:50 Removing intermediate container 70837c7ee5b6 23:59:50 ---> 5d166432d6e8 23:59:50 Step 22/23 : LABEL git_sha=18bdfa4300a1cbb146f35f15047514081a18ddfa 23:59:50 ---> Running in c531ad4f5757 23:59:50 Removing intermediate container c531ad4f5757 23:59:50 ---> 3de2f62ba90b 23:59:50 Step 23/23 : LABEL version=3.0.0-dev.90 23:59:50 ---> Running in 08e824f13c00 23:59:50 Removing intermediate container 08e824f13c00 23:59:50 ---> b60588ccf8ae 23:59:50 [Warning] One or more build-args [ARCH] were not consumed 23:59:50 Successfully built b60588ccf8ae 23:59:50 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:59:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:50 23:59:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:51 latest: Pulling from edgex-lftools-log-publisher 23:59:51 5eb5b503b376: Pulling fs layer 23:59:51 5c69ac0246d0: Pulling fs layer 23:59:51 ec43610c2a17: Pulling fs layer 23:59:51 3a2ae6a8a46f: Pulling fs layer 23:59:51 33b1e0a273af: Pulling fs layer 23:59:51 5d3b04190fa2: Pulling fs layer 23:59:51 2f39f015ded8: Pulling fs layer 23:59:51 3a2ae6a8a46f: Waiting 23:59:51 33b1e0a273af: Waiting 23:59:51 5d3b04190fa2: Waiting 23:59:51 2f39f015ded8: Waiting 23:59:51 5c69ac0246d0: Verifying Checksum 23:59:51 5c69ac0246d0: Download complete 23:59:51 3a2ae6a8a46f: Verifying Checksum 23:59:51 3a2ae6a8a46f: Download complete 23:59:51 33b1e0a273af: Verifying Checksum 23:59:51 33b1e0a273af: Download complete 23:59:51 ec43610c2a17: Verifying Checksum 23:59:51 ec43610c2a17: Download complete 23:59:51 5d3b04190fa2: Download complete 23:59:51 5eb5b503b376: Verifying Checksum 23:59:51 5eb5b503b376: Download complete 23:59:52 2f39f015ded8: Download complete 23:59:52 5eb5b503b376: Pull complete 23:59:52 5c69ac0246d0: Pull complete 23:59:53 ec43610c2a17: Pull complete 23:59:53 3a2ae6a8a46f: Pull complete 23:59:53 33b1e0a273af: Pull complete 23:59:53 5d3b04190fa2: Pull complete 23:59:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15124 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 23:59:56 Running in /w/workspace/device-sdk-go/221 [Pipeline] { [Pipeline] checkout 23:59:56 The recommended git tool is: git 23:59:57 2f39f015ded8: Pull complete 23:59:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:59:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:57 prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container 23:59:57 $ 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:59:58 $ docker top 83c20292b27d76e1e005c210633b544409064bb590a006b5fde97065506c6249 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:59 ---> job-cost.sh 23:59:59 lf-activate-venv: SKIPPING 23:59:59 INFO: No Stack... 23:59:59 INFO: Retrieving Pricing Info for: v3-standard-8 23:59:59 INFO: Archiving Costs [Pipeline] sh 23:59:59 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 23:59:59 + cut -d, -f6 [Pipeline] lock 23:59:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-221-stack-cost] 23:59:59 Resource [jenkins-edgexfoundry-device-sdk-go-main-221-stack-cost] did not exist. Created. 23:59:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-221-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:00:00 + echo total: 0.2199999988079071 [Pipeline] stash 00:00:00 Stashed 1 file(s) [Pipeline] } 00:00:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-221-stack-cost] [Pipeline] // lock [Pipeline] } 00:00:00 $ docker stop --time=1 83c20292b27d76e1e005c210633b544409064bb590a006b5fde97065506c6249 00:00:01 $ docker rm -f --volumes 83c20292b27d76e1e005c210633b544409064bb590a006b5fde97065506c6249 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:00:06 using credential edgex-jenkins-ssh 00:00:06 Cloning the remote Git repository 00:00:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:00:07 > git init /w/workspace/device-sdk-go/221 # timeout=10 00:00:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:00:07 > git --version # timeout=10 00:00:07 > git --version # 'git version 2.25.1' 00:00:07 using GIT_SSH to set credentials SSH Credentials for GitHub 00:00:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:00:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:00:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:00:11 Avoid second fetch 00:00:11 Checking out Revision 18bdfa4300a1cbb146f35f15047514081a18ddfa (main) 00:00:11 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1457)" 00:00:11 > git config core.sparsecheckout # timeout=10 00:00:11 > git checkout -f 18bdfa4300a1cbb146f35f15047514081a18ddfa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:00:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:00:12 % Total % Received % Xferd Average Speed Time Time Time Current 00:00:12 Dload Upload Total Spent Left Speed 00:00:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 00:00:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:00:13 + sudo tee /etc/docker/daemon.new 00:00:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:00:13 { 00:00:13 "registry-mirrors": [ 00:00:13 "https://nexus3.edgexfoundry.org:10001" 00:00:13 ], 00:00:13 "bip": "10.250.0.254/24", 00:00:13 "hosts": [ 00:00:13 "tcp://0.0.0.0:5555", 00:00:13 "unix:///var/run/docker.sock" 00:00:13 ], 00:00:13 "mtu": 1458, 00:00:13 "selinux-enabled": true, 00:00:13 "seccomp-profile": "/etc/docker/seccomp.json" 00:00:13 } [Pipeline] sh 00:00:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:00:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:00:32 provisioning config files... 00:00:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/221@tmp/config425907453152060021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:33 ---> docker-login.sh 00:00:33 nexus3.edgexfoundry.org:10001 00:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:33 Configure a credential helper to remove this warning. See 00:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:33 00:00:33 Login Succeeded 00:00:33 nexus3.edgexfoundry.org:10002 00:00:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:34 Configure a credential helper to remove this warning. See 00:00:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:34 00:00:34 Login Succeeded 00:00:34 nexus3.edgexfoundry.org:10003 00:00:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:34 Configure a credential helper to remove this warning. See 00:00:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:34 00:00:34 Login Succeeded 00:00:34 nexus3.edgexfoundry.org:10004 00:00:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:34 Configure a credential helper to remove this warning. See 00:00:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:34 00:00:34 Login Succeeded 00:00:34 docker.io 00:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:35 Configure a credential helper to remove this warning. See 00:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:35 00:00:35 Login Succeeded 00:00:35 ---> docker-login.sh ends [Pipeline] } 00:00:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:00:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:00:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:00:35 ========================================================= 00:00:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:00:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:36 + 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 . 00:00:36 Sending build context to Docker daemon 5.989MB 00:00:36 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:00:36 Step 2/10 : FROM ${BASE} AS builder 00:00:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:00:36 c41833b44d91: Pulling fs layer 00:00:36 ed15518f5707: Pulling fs layer 00:00:36 feae8fd75edb: Pulling fs layer 00:00:36 242c74f7c9fa: Pulling fs layer 00:00:36 3cdef696dda3: Pulling fs layer 00:00:36 2ced38df9373: Pulling fs layer 00:00:36 58f1dce35555: Pulling fs layer 00:00:36 242c74f7c9fa: Waiting 00:00:36 3cdef696dda3: Waiting 00:00:36 2ced38df9373: Waiting 00:00:36 58f1dce35555: Waiting 00:00:36 ed15518f5707: Verifying Checksum 00:00:36 ed15518f5707: Download complete 00:00:36 242c74f7c9fa: Verifying Checksum 00:00:36 242c74f7c9fa: Download complete 00:00:36 3cdef696dda3: Verifying Checksum 00:00:36 3cdef696dda3: Download complete 00:00:36 c41833b44d91: Verifying Checksum 00:00:36 c41833b44d91: Download complete 00:00:37 c41833b44d91: Pull complete 00:00:38 58f1dce35555: Verifying Checksum 00:00:38 58f1dce35555: Download complete 00:00:38 ed15518f5707: Pull complete 00:00:39 feae8fd75edb: Verifying Checksum 00:00:39 feae8fd75edb: Download complete 00:00:39 2ced38df9373: Verifying Checksum 00:00:39 2ced38df9373: Download complete 00:00:49 feae8fd75edb: Pull complete 00:00:49 242c74f7c9fa: Pull complete 00:00:50 3cdef696dda3: Pull complete 00:00:58 2ced38df9373: Pull complete 00:01:00 58f1dce35555: Pull complete 00:01:00 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:01:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:01:00 ---> fadd8f120f05 00:01:00 Step 3/10 : ARG MAKE=make build 00:01:02 ---> Running in 72d1879c902a 00:01:02 Removing intermediate container 72d1879c902a 00:01:02 ---> cc2d935d083c 00:01:02 Step 4/10 : WORKDIR /device-sdk-go 00:01:02 ---> Running in ee0d81bcbe37 00:01:02 Removing intermediate container ee0d81bcbe37 00:01:02 ---> 0f28fb9c3588 00:01:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:01:02 ---> Running in 620276c5cdcb 00:01:02 Removing intermediate container 620276c5cdcb 00:01:02 ---> 3be29216393d 00:01:02 Step 6/10 : RUN apk add --update --no-cache make git 00:01:03 ---> Running in 8f19e64920a5 00:01:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:01:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:01:05 OK: 263 MiB in 53 packages 00:01:06 Removing intermediate container 8f19e64920a5 00:01:06 ---> 291d3e3755c4 00:01:06 Step 7/10 : COPY go.mod vendor* ./ 00:01:07 ---> dcfe1ce0b756 00:01:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:01:07 ---> Running in bb018ef70bb1 00:02:15 Removing intermediate container bb018ef70bb1 00:02:15 ---> 2a9960d71548 00:02:15 Step 9/10 : COPY . . 00:02:15 ---> 8ce2632f0ead 00:02:15 Step 10/10 : RUN ${MAKE} 00:02:15 ---> Running in 85c3c651747d 00:02:15 noop 00:02:15 Removing intermediate container 85c3c651747d 00:02:15 ---> 82e96bfaaa2c 00:02:15 Successfully built 82e96bfaaa2c 00:02:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:15 + docker inspect -f . ci-base-image-arm64 00:02:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:15 prd-ubuntu20.04-docker-arm64-4c-16g-15124 does not seem to be running inside a container 00:02:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/221 -v /w/workspace/device-sdk-go/221:/w/workspace/device-sdk-go/221:rw,z -v /w/workspace/device-sdk-go/221@tmp:/w/workspace/device-sdk-go/221@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 00:02:17 $ docker top b54531ced09085f66f4e2efbd46c06a93635634ea88ea24f9e3ded116cddf515 -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:18 + go version 00:02:18 go version go1.20.2 linux/arm64 [Pipeline] } 00:02:18 $ docker stop --time=1 b54531ced09085f66f4e2efbd46c06a93635634ea88ea24f9e3ded116cddf515 00:02:20 $ docker rm -f --volumes b54531ced09085f66f4e2efbd46c06a93635634ea88ea24f9e3ded116cddf515 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:20 + docker inspect -f . ci-base-image-arm64 00:02:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:20 prd-ubuntu20.04-docker-arm64-4c-16g-15124 does not seem to be running inside a container 00:02:20 $ 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/221 -v /w/workspace/device-sdk-go/221:/w/workspace/device-sdk-go/221:rw,z -v /w/workspace/device-sdk-go/221@tmp:/w/workspace/device-sdk-go/221@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 00:02:21 $ docker top 65753fc8da4d826f65ad4ce5225924b992d0c4e4a1ffaffd010a511714ce8225 -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:22 + git config --global --add safe.directory /w/workspace/device-sdk-go/221 [Pipeline] fileExists [Pipeline] sh 00:02:23 + make test 00:02:23 go test -race -coverprofile=coverage.out ./... 00:03:02 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:04:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:04:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:04:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:04:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:04:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:05:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.208s coverage: 27.6% of statements 00:05:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.251s coverage: 80.2% of statements 00:05:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:05:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:05:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.323s coverage: 86.0% of statements 00:05:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:05:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.430s coverage: 77.5% of statements 00:05:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 00:05:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:05:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:05:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.241s coverage: 14.3% of statements 00:05:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.407s coverage: 68.5% of statements 00:05:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.452s coverage: 89.2% of statements 00:05:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:05:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.238s coverage: 5.7% of statements 00:05:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:05:37 GO111MODULE=on go vet ./... 00:07:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:07:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:07:59 ./bin/test-attribution-txt.sh [Pipeline] echo 00:07:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:07:59 $ docker stop --time=1 65753fc8da4d826f65ad4ce5225924b992d0c4e4a1ffaffd010a511714ce8225 00:08:01 $ docker rm -f --volumes 65753fc8da4d826f65ad4ce5225924b992d0c4e4a1ffaffd010a511714ce8225 [Pipeline] // withDockerContainer [Pipeline] sh 00:08:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:08:02 Warning: overwriting stash ‘coverage-report’ 00:08:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:08:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:08:03 + ls -al . 00:08:03 total 268 00:08:03 drwxrwxr-x 10 jenkins jenkins 4096 May 11 00:02 . 00:08:03 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:00 .. 00:08:03 -rw-rw-r-- 1 jenkins jenkins 140 May 11 00:00 .dockerignore 00:08:03 drwxrwxr-x 8 jenkins jenkins 4096 May 11 00:00 .git 00:08:03 drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:00 .github 00:08:03 -rw-rw-r-- 1 jenkins jenkins 137 May 11 00:00 .gitignore 00:08:03 -rw-rw-r-- 1 jenkins jenkins 42 May 11 00:00 .golangci.yml 00:08:03 -rw-rw-r-- 1 jenkins jenkins 31677 May 11 00:00 CHANGELOG.md 00:08:03 -rw-rw-r-- 1 jenkins jenkins 677 May 11 00:00 GOVERNANCE.md 00:08:03 -rw-rw-r-- 1 jenkins jenkins 885 May 11 00:00 Jenkinsfile 00:08:03 -rw-rw-r-- 1 jenkins jenkins 11341 May 11 00:00 LICENSE 00:08:03 -rw-rw-r-- 1 jenkins jenkins 1714 May 11 00:00 Makefile 00:08:03 -rw-rw-r-- 1 jenkins jenkins 619 May 11 00:00 OWNERS.md 00:08:03 -rw-rw-r-- 1 jenkins jenkins 4891 May 11 00:00 README.md 00:08:03 -rw-rw-r-- 1 jenkins jenkins 12 May 10 23:57 VERSION 00:08:03 drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:00 bin 00:08:03 -rw-r--r-- 1 jenkins jenkins 106150 May 11 00:05 coverage.out 00:08:03 drwxrwxr-x 5 jenkins jenkins 4096 May 11 00:00 example 00:08:03 -rw-rw-r-- 1 jenkins jenkins 3234 May 11 00:00 go.mod 00:08:03 -rw-rw-r-- 1 jenkins jenkins 30781 May 11 00:00 go.sum 00:08:03 drwxrwxr-x 12 jenkins jenkins 4096 May 11 00:00 internal 00:08:03 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:00 openapi 00:08:03 drwxrwxr-x 6 jenkins jenkins 4096 May 11 00:00 pkg 00:08:03 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:00 snap 00:08:03 -rw-rw-r-- 1 jenkins jenkins 222 May 11 00:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:04 + 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=18bdfa4300a1cbb146f35f15047514081a18ddfa --label arch=arm64 --label version=3.0.0-dev.90 . 00:08:04 Sending build context to Docker daemon 6.096MB 00:08:04 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 00:08:04 Step 2/23 : FROM ${BASE} AS builder 00:08:04 ---> 82e96bfaaa2c 00:08:04 Step 3/23 : ARG MAKE=make build 00:08:04 ---> Running in 081846175f9e 00:08:05 Removing intermediate container 081846175f9e 00:08:05 ---> 5d449e7c4b12 00:08:05 Step 4/23 : WORKDIR /device-sdk-go 00:08:05 ---> Running in 4f1efcbe16b9 00:08:05 Removing intermediate container 4f1efcbe16b9 00:08:05 ---> e6168cb17b63 00:08:05 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:08:05 ---> Running in 1dc359aa98f2 00:08:05 Removing intermediate container 1dc359aa98f2 00:08:05 ---> c461d7b43b46 00:08:05 Step 6/23 : RUN apk add --update --no-cache make git 00:08:05 ---> Running in 41f976218ce5 00:08:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:08:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:08:08 OK: 263 MiB in 53 packages 00:08:09 Removing intermediate container 41f976218ce5 00:08:09 ---> aa12c8865b2f 00:08:09 Step 7/23 : COPY go.mod vendor* ./ 00:08:09 ---> aa313d8d7f34 00:08:09 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:08:09 ---> Running in f2c3b81457e6 00:08:12 Removing intermediate container f2c3b81457e6 00:08:12 ---> bbef865174aa 00:08:12 Step 9/23 : COPY . . 00:08:13 ---> 1710e65b6c39 00:08:13 Step 10/23 : RUN ${MAKE} 00:08:13 ---> Running in ac5d300ad26f 00:08:14 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.90" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:10:35 Removing intermediate container ac5d300ad26f 00:10:35 ---> 1d22f36fe3a3 00:10:35 Step 11/23 : FROM alpine:3.17 00:10:35 3.17: Pulling from library/alpine 00:10:35 c41833b44d91: Already exists 00:10:35 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:10:35 Status: Downloaded newer image for alpine:3.17 00:10:35 ---> 51e60588ff2c 00:10:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:10:35 ---> Running in 942d8d13de6e 00:10:35 Removing intermediate container 942d8d13de6e 00:10:35 ---> d99742f9002c 00:10:35 Step 13/23 : RUN apk add --update --no-cache 00:10:35 ---> Running in 07b082490f9f 00:10:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:10:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:10:35 OK: 7 MiB in 15 packages 00:10:35 Removing intermediate container 07b082490f9f 00:10:35 ---> e78c1184cbaf 00:10:35 Step 14/23 : WORKDIR / 00:10:35 ---> Running in 4ecd36e2048b 00:10:35 Removing intermediate container 4ecd36e2048b 00:10:35 ---> 8e2133264edf 00:10:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:10:35 ---> 0bbea307a3d9 00:10:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:10:35 ---> 19d824373766 00:10:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:10:35 ---> bb8d0915c0bb 00:10:35 Step 18/23 : EXPOSE 59999 00:10:35 ---> Running in 47b6bb8f91db 00:10:35 Removing intermediate container 47b6bb8f91db 00:10:35 ---> b406cf3e67ca 00:10:35 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:10:35 ---> Running in ce548f2ac81a 00:10:35 Removing intermediate container ce548f2ac81a 00:10:35 ---> c278acfe625a 00:10:35 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:10:35 ---> Running in 817cbcee6b8b 00:10:35 Removing intermediate container 817cbcee6b8b 00:10:35 ---> 07a56049f561 00:10:35 Step 21/23 : LABEL arch=arm64 00:10:35 ---> Running in 7d2596d27847 00:10:35 Removing intermediate container 7d2596d27847 00:10:35 ---> 2d936b02217a 00:10:35 Step 22/23 : LABEL git_sha=18bdfa4300a1cbb146f35f15047514081a18ddfa 00:10:35 ---> Running in f05cb3d95484 00:10:35 Removing intermediate container f05cb3d95484 00:10:35 ---> 514430fadf22 00:10:35 Step 23/23 : LABEL version=3.0.0-dev.90 00:10:35 ---> Running in 1209a8eddb4f 00:10:35 Removing intermediate container 1209a8eddb4f 00:10:35 ---> 183c6ff77757 00:10:35 [Warning] One or more build-args [ARCH] were not consumed 00:10:35 Successfully built 183c6ff77757 00:10:35 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:10:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:10:36 00:10:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:10:36 arm64: Pulling from edgex-lftools-log-publisher 00:10:36 8998bd30e6a1: Pulling fs layer 00:10:36 04944245beec: Pulling fs layer 00:10:36 699f458cf7ca: Pulling fs layer 00:10:36 765212b225bb: Pulling fs layer 00:10:36 f23df028b6ca: Pulling fs layer 00:10:36 d65c8cfc05b1: Pulling fs layer 00:10:36 2437ff75d9bd: Pulling fs layer 00:10:36 765212b225bb: Waiting 00:10:36 f23df028b6ca: Waiting 00:10:36 d65c8cfc05b1: Waiting 00:10:36 2437ff75d9bd: Waiting 00:10:36 04944245beec: Verifying Checksum 00:10:36 04944245beec: Download complete 00:10:37 765212b225bb: Verifying Checksum 00:10:37 765212b225bb: Download complete 00:10:37 f23df028b6ca: Verifying Checksum 00:10:37 f23df028b6ca: Download complete 00:10:37 d65c8cfc05b1: Verifying Checksum 00:10:37 d65c8cfc05b1: Download complete 00:10:37 699f458cf7ca: Verifying Checksum 00:10:37 699f458cf7ca: Download complete 00:10:37 8998bd30e6a1: Verifying Checksum 00:10:37 8998bd30e6a1: Download complete 00:10:39 2437ff75d9bd: Verifying Checksum 00:10:39 2437ff75d9bd: Download complete 00:10:41 8998bd30e6a1: Pull complete 00:10:42 04944245beec: Pull complete 00:10:43 699f458cf7ca: Pull complete 00:10:43 765212b225bb: Pull complete 00:10:44 f23df028b6ca: Pull complete 00:10:44 d65c8cfc05b1: Pull complete 00:10:56 2437ff75d9bd: Pull complete 00:10:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:10:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:10:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:56 prd-ubuntu20.04-docker-arm64-4c-16g-15124 does not seem to be running inside a container 00:10:56 $ 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/221 -v /w/workspace/device-sdk-go/221:/w/workspace/device-sdk-go/221:rw,z -v /w/workspace/device-sdk-go/221@tmp:/w/workspace/device-sdk-go/221@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:10:59 $ docker top 122da938a65b67b91d7266124b712db08efec3ad29d2e9326ac440949ab2ffb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:00 ---> job-cost.sh 00:11:00 lf-activate-venv: SKIPPING 00:11:00 INFO: No Stack... 00:11:00 INFO: Retrieving Pricing Info for: v3-standard-4 00:11:01 INFO: Archiving Costs [Pipeline] sh 00:11:02 + + cat /w/workspace/device-sdk-go/221/archives/cost.csvcut 00:11:02 -d, -f6 [Pipeline] lock 00:11:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-221-stack-cost] 00:11:02 Resource [jenkins-edgexfoundry-device-sdk-go-main-221-stack-cost] did not exist. Created. 00:11:02 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-221-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:11:03 /w/workspace/device-sdk-go/221@tmp/durable-9c84275c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:11:03 + echo total: 0.10999999940395355 [Pipeline] stash 00:11:03 Warning: overwriting stash ‘stack-cost’ 00:11:03 Stashed 1 file(s) [Pipeline] } 00:11:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-221-stack-cost] [Pipeline] // lock [Pipeline] } 00:11:03 $ docker stop --time=1 122da938a65b67b91d7266124b712db08efec3ad29d2e9326ac440949ab2ffb1 00:11:05 $ docker rm -f --volumes 122da938a65b67b91d7266124b712db08efec3ad29d2e9326ac440949ab2ffb1 [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:11:05 provisioning config files... 00:11:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9082283819711957015tmp [Pipeline] { [Pipeline] sh 00:11:05 + set +x 00:11:05 + curl -s https://codecov.io/bash 00:11:05 + bash -s -- 00:11:05 00:11:05 _____ _ 00:11:05 / ____| | | 00:11:05 | | ___ __| | ___ ___ _____ __ 00:11:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:11:05 | |___| (_) | (_| | __/ (_| (_) \ V / 00:11:05 \_____\___/ \__,_|\___|\___\___/ \_/ 00:11:05 Bash-1.0.6 00:11:05 00:11:05 00:11:05 ==> git version 2.25.1 found 00:11:05 ==> 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:11:05 Release-Date: 2020-01-08 00:11:05 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:11:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:11:05 ==> Jenkins CI detected. 00:11:05 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 00:11:05 project root: . 00:11:05 --> token set from env 00:11:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:11:05 ==> Running gcov in . (disable via -X gcov) 00:11:05 ==> Python coveragepy not found 00:11:05 ==> Searching for coverage reports in: 00:11:05 + . 00:11:05 -> Found 1 reports 00:11:05 ==> Detecting git/mercurial file structure 00:11:05 ==> Reading reports 00:11:06 + ./coverage.out bytes=106150 00:11:06 ==> Appending adjustments 00:11:06 https://docs.codecov.io/docs/fixing-reports 00:11:06 + Found adjustments 00:11:06 ==> Gzipping contents 00:11:06 16K /tmp/codecov.UD0P67.gz 00:11:06 ==> Uploading reports 00:11:06 url: https://codecov.io 00:11:06 query: branch=main&commit=18bdfa4300a1cbb146f35f15047514081a18ddfa&build=221&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F221%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:11:06 -> Pinging Codecov 00:11:06 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=18bdfa4300a1cbb146f35f15047514081a18ddfa&build=221&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F221%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:11:06 -> Uploading to 00:11:06 https://storage.googleapis.com/codecov/v4/raw/2023-05-11/7E55EF52A471D76F132DFD9A03CDDE97/18bdfa4300a1cbb146f35f15047514081a18ddfa/72827533-31dd-44be-b751-569fd154cdcd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T001106Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d44f99abc4ceeeb9f17d7806edf1c25a68ad4f05a3f82aed8be8cd41cf96494 00:11:06 % Total % Received % Xferd Average Speed Time Time Time Current 00:11:06 Dload Upload Total Spent Left Speed 00:11:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15154 0 0 100 15154 0 65038 --:--:-- --:--:-- --:--:-- 65038 00:11:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/18bdfa4300a1cbb146f35f15047514081a18ddfa [Pipeline] } 00:11:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:11:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:11:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:11:07 00:11:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:11:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:11:07 df9b9388f04a: Pulling fs layer 00:11:07 52dc419b0ee2: Pulling fs layer 00:11:07 25bc292e5bac: Pulling fs layer 00:11:07 114826534d7a: Pulling fs layer 00:11:07 4657fd5d0bcf: Pulling fs layer 00:11:07 6ad1cebc031e: Pulling fs layer 00:11:07 8a3aa393b2d8: Pulling fs layer 00:11:07 4657fd5d0bcf: Waiting 00:11:07 6ad1cebc031e: Waiting 00:11:07 8a3aa393b2d8: Waiting 00:11:07 114826534d7a: Waiting 00:11:07 25bc292e5bac: Verifying Checksum 00:11:07 25bc292e5bac: Download complete 00:11:07 52dc419b0ee2: Download complete 00:11:07 4657fd5d0bcf: Verifying Checksum 00:11:07 4657fd5d0bcf: Download complete 00:11:07 df9b9388f04a: Download complete 00:11:07 6ad1cebc031e: Verifying Checksum 00:11:07 6ad1cebc031e: Download complete 00:11:07 df9b9388f04a: Pull complete 00:11:07 52dc419b0ee2: Pull complete 00:11:08 114826534d7a: Download complete 00:11:08 25bc292e5bac: Pull complete 00:11:08 8a3aa393b2d8: Verifying Checksum 00:11:08 8a3aa393b2d8: Download complete 00:11:12 114826534d7a: Pull complete 00:11:12 4657fd5d0bcf: Pull complete 00:11:12 6ad1cebc031e: Pull complete 00:11:15 8a3aa393b2d8: Pull complete 00:11:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:11:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:11:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:15 prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container 00:11:15 $ 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:11:24 $ docker top a9b4754e76592503b444043b2b9bfb1f217555033a82db7157bf85997f6a8651 -eo pid,comm [Pipeline] { [Pipeline] echo 00:11:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 00:11:24 + set -o pipefail 00:11:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 00:11:31 00:11:31 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 00:11:31 00:11:31 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/3fdb6a7f-a6fa-4f74-881d-5f650779b234 00:11:31 00:11:31 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:11:31 00:11:31 00:11:31 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:11:31 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:11:31 More details here: https://snyk.co/ue1NS 00:11:31 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:11:31 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:11:31 $ docker stop --time=1 a9b4754e76592503b444043b2b9bfb1f217555033a82db7157bf85997f6a8651 00:11:35 $ docker rm -f --volumes a9b4754e76592503b444043b2b9bfb1f217555033a82db7157bf85997f6a8651 [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:11:36 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:36 provisioning config files... 00:11:36 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16405306908297186239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:36 --> edgex-publish-swagger.sh 00:11:36 === Publish openapi/v3 API === 00:11:36 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 00:11:36 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 00:11:36 % Total % Received % Xferd Average Speed Time Time Time Current 00:11:36 Dload Upload Total Spent Left Speed 00:11:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 34409 --:--:-- --:--:-- --:--:-- 34409 00:11:37 00:11:37 [Pipeline] } 00:11:37 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:11:37 + git log --format=format:%s -1 18bdfa4300a1cbb146f35f15047514081a18ddfa [Pipeline] sh 00:11:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:11:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:11:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:38 prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container 00:11:38 $ 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:11:39 $ docker top 055b6cbf291ebb4db04be4702ae7cd4af4dd5e8ec2591ff96f4a48a778b3d250 -eo pid,comm 00:11:39 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:11:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:11:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:39 [ssh-agent] Looking for ssh-agent implementation... 00:11:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:39 $ docker exec 055b6cbf291ebb4db04be4702ae7cd4af4dd5e8ec2591ff96f4a48a778b3d250 ssh-agent 00:11:39 SSH_AUTH_SOCK=/tmp/ssh-30AvRPUUeZ4j/agent.13 00:11:39 SSH_AGENT_PID=19 00:11:39 Running ssh-add (command line suppressed) 00:11:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16003721651033037340.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16003721651033037340.key) 00:11:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:39 + git semver tag 00:11:40 2023-05-11 00:11:40,143 [run_tag] DEBUG tag force:False 00:11:40 2023-05-11 00:11:40,143 [check_head_tag] DEBUG check head tag 00:11:40 2023-05-11 00:11:40,148 [execute] INFO git cat-file --batch-check 00:11:40 2023-05-11 00:11:40,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:11:40 2023-05-11 00:11:40,153 [execute] INFO git cat-file --batch 00:11:40 2023-05-11 00:11:40,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:11:40 2023-05-11 00:11:40,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:11:40 2023-05-11 00:11:40,197 [execute] INFO git tag -a v3.0.0-dev.90 -m v3.0.0-dev.90 00:11:40 2023-05-11 00:11:40,197 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.90', '-m', 'v3.0.0-dev.90'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:11:40 2023-05-11 00:11:40,202 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:11:40 3.0.0-dev.90 [Pipeline] } 00:11:40 $ docker exec --env ******** --env ******** 055b6cbf291ebb4db04be4702ae7cd4af4dd5e8ec2591ff96f4a48a778b3d250 ssh-agent -k 00:11:40 unset SSH_AUTH_SOCK; 00:11:40 unset SSH_AGENT_PID; 00:11:40 echo Agent pid 19 killed; 00:11:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:40 + git semver [Pipeline] } 00:11:40 $ docker stop --time=1 055b6cbf291ebb4db04be4702ae7cd4af4dd5e8ec2591ff96f4a48a778b3d250 00:11:42 $ docker rm -f --volumes 055b6cbf291ebb4db04be4702ae7cd4af4dd5e8ec2591ff96f4a48a778b3d250 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:11:43 00:11:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:11:43 0.23.1-centos7: Pulling from edgex-lftools 00:11:43 ab5ef0e58194: Pulling fs layer 00:11:43 9712f1f96733: Pulling fs layer 00:11:43 63f879dbbcfc: Pulling fs layer 00:11:43 0d9ebad4ef96: Pulling fs layer 00:11:43 e9a5061849ea: Pulling fs layer 00:11:43 d747dcd14b5f: Pulling fs layer 00:11:43 2de7ff778b66: Pulling fs layer 00:11:43 0d9ebad4ef96: Waiting 00:11:43 e9a5061849ea: Waiting 00:11:43 d747dcd14b5f: Waiting 00:11:43 2de7ff778b66: Waiting 00:11:43 9712f1f96733: Verifying Checksum 00:11:43 9712f1f96733: Download complete 00:11:43 63f879dbbcfc: Verifying Checksum 00:11:43 63f879dbbcfc: Download complete 00:11:44 e9a5061849ea: Verifying Checksum 00:11:44 e9a5061849ea: Download complete 00:11:44 d747dcd14b5f: Verifying Checksum 00:11:44 d747dcd14b5f: Download complete 00:11:44 0d9ebad4ef96: Verifying Checksum 00:11:44 0d9ebad4ef96: Download complete 00:11:44 ab5ef0e58194: Verifying Checksum 00:11:44 ab5ef0e58194: Download complete 00:11:44 2de7ff778b66: Verifying Checksum 00:11:44 2de7ff778b66: Download complete 00:11:47 ab5ef0e58194: Pull complete 00:11:47 9712f1f96733: Pull complete 00:11:48 63f879dbbcfc: Pull complete 00:11:52 0d9ebad4ef96: Pull complete 00:11:53 e9a5061849ea: Pull complete 00:11:53 d747dcd14b5f: Pull complete 00:11:54 2de7ff778b66: Pull complete 00:11:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:11:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:11:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:55 prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container 00:11:55 $ 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:12:06 $ docker top 414907aa5fb640f288dee6631a3f0120c95b77aff0d97329b2e2e4a3ccffd27a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:12:06 provisioning config files... 00:12:06 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16729709442928558930tmp 00:12:06 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5631270543368392778tmp 00:12:06 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17737612718863079564tmp [Pipeline] { [Pipeline] echo 00:12:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:12:07 ---> sigul-configuration.sh 00:12:07 gpg: directory `/root/.gnupg' created 00:12:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:12:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:12:07 gpg: keyring `/root/.gnupg/secring.gpg' created 00:12:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:12:07 gpg: CAST5 encrypted data 00:12:07 gpg: encrypted with 1 passphrase 00:12:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:12:07 + mkdir /home/jenkins 00:12:07 + mkdir /home/jenkins/sigul [Pipeline] sh 00:12:07 + 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:12:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:12:07 ---> sigul-install.sh 00:12:07 Sigul already installed; skipping installation. [Pipeline] sh 00:12:08 + git tag --list 00:12:08 0.7.1 00:12:08 delhi-tag 00:12:08 v1.0.0 00:12:08 v1.1.0 00:12:08 v1.1.1 00:12:08 v1.1.2 00:12:08 v1.2.0 00:12:08 v1.2.1 00:12:08 v1.2.2 00:12:08 v1.2.3 00:12:08 v1.3.0 00:12:08 v1.4.0 00:12:08 v2.0.0 00:12:08 v2.1.0 00:12:08 v2.1.1 00:12:08 v2.1.1-dev.2 00:12:08 v2.1.1-dev.3 00:12:08 v2.2.0 00:12:08 v2.2.1-dev.1 00:12:08 v2.2.1-dev.10 00:12:08 v2.2.1-dev.11 00:12:08 v2.2.1-dev.12 00:12:08 v2.2.1-dev.13 00:12:08 v2.2.1-dev.14 00:12:08 v2.2.1-dev.2 00:12:08 v2.2.1-dev.3 00:12:08 v2.2.1-dev.4 00:12:08 v2.2.1-dev.5 00:12:08 v2.2.1-dev.6 00:12:08 v2.2.1-dev.7 00:12:08 v2.2.1-dev.8 00:12:08 v2.2.1-dev.9 00:12:08 v2.3.0 00:12:08 v2.3.0-dev.14 00:12:08 v2.3.0-dev.15 00:12:08 v2.3.0-dev.16 00:12:08 v2.3.0-dev.17 00:12:08 v2.3.0-dev.18 00:12:08 v2.3.0-dev.19 00:12:08 v2.3.0-dev.20 00:12:08 v2.3.0-dev.21 00:12:08 v2.3.0-dev.22 00:12:08 v2.3.0-dev.23 00:12:08 v2.3.0-dev.24 00:12:08 v2.3.0-dev.25 00:12:08 v2.3.0-dev.26 00:12:08 v2.3.0-dev.27 00:12:08 v2.3.0-dev.28 00:12:08 v2.3.0-dev.29 00:12:08 v2.3.0-dev.30 00:12:08 v2.3.0-dev.31 00:12:08 v2.3.0-dev.32 00:12:08 v2.3.0-dev.33 00:12:08 v2.3.0-dev.34 00:12:08 v2.3.0-dev.35 00:12:08 v2.3.0-dev.36 00:12:08 v2.3.0-dev.37 00:12:08 v2.3.0-dev.38 00:12:08 v2.3.0-dev.39 00:12:08 v2.3.0-dev.40 00:12:08 v2.3.0-dev.41 00:12:08 v2.3.0-dev.42 00:12:08 v2.3.0-dev.43 00:12:08 v2.3.0-dev.44 00:12:08 v2.3.0-dev.45 00:12:08 v2.3.0-dev.46 00:12:08 v2.3.0-dev.47 00:12:08 v2.3.0-dev.48 00:12:08 v2.3.0-dev.49 00:12:08 v2.3.0-dev.50 00:12:08 v2.3.0-dev.51 00:12:08 v2.3.1 00:12:08 v2.3.1-dev.1 00:12:08 v2.3.1-dev.2 00:12:08 v2.3.1-dev.3 00:12:08 v2.3.1-dev.4 00:12:08 v3.0.0-dev.1 00:12:08 v3.0.0-dev.10 00:12:08 v3.0.0-dev.11 00:12:08 v3.0.0-dev.12 00:12:08 v3.0.0-dev.13 00:12:08 v3.0.0-dev.14 00:12:08 v3.0.0-dev.15 00:12:08 v3.0.0-dev.16 00:12:08 v3.0.0-dev.17 00:12:08 v3.0.0-dev.18 00:12:08 v3.0.0-dev.19 00:12:08 v3.0.0-dev.2 00:12:08 v3.0.0-dev.20 00:12:08 v3.0.0-dev.21 00:12:08 v3.0.0-dev.22 00:12:08 v3.0.0-dev.23 00:12:08 v3.0.0-dev.24 00:12:08 v3.0.0-dev.25 00:12:08 v3.0.0-dev.26 00:12:08 v3.0.0-dev.27 00:12:08 v3.0.0-dev.28 00:12:08 v3.0.0-dev.29 00:12:08 v3.0.0-dev.3 00:12:08 v3.0.0-dev.30 00:12:08 v3.0.0-dev.31 00:12:08 v3.0.0-dev.32 00:12:08 v3.0.0-dev.33 00:12:08 v3.0.0-dev.34 00:12:08 v3.0.0-dev.35 00:12:08 v3.0.0-dev.36 00:12:08 v3.0.0-dev.37 00:12:08 v3.0.0-dev.38 00:12:08 v3.0.0-dev.39 00:12:08 v3.0.0-dev.4 00:12:08 v3.0.0-dev.40 00:12:08 v3.0.0-dev.41 00:12:08 v3.0.0-dev.42 00:12:08 v3.0.0-dev.43 00:12:08 v3.0.0-dev.44 00:12:08 v3.0.0-dev.45 00:12:08 v3.0.0-dev.46 00:12:08 v3.0.0-dev.47 00:12:08 v3.0.0-dev.48 00:12:08 v3.0.0-dev.49 00:12:08 v3.0.0-dev.5 00:12:08 v3.0.0-dev.50 00:12:08 v3.0.0-dev.51 00:12:08 v3.0.0-dev.52 00:12:08 v3.0.0-dev.53 00:12:08 v3.0.0-dev.54 00:12:08 v3.0.0-dev.55 00:12:08 v3.0.0-dev.56 00:12:08 v3.0.0-dev.57 00:12:08 v3.0.0-dev.58 00:12:08 v3.0.0-dev.59 00:12:08 v3.0.0-dev.6 00:12:08 v3.0.0-dev.60 00:12:08 v3.0.0-dev.61 00:12:08 v3.0.0-dev.62 00:12:08 v3.0.0-dev.63 00:12:08 v3.0.0-dev.64 00:12:08 v3.0.0-dev.65 00:12:08 v3.0.0-dev.66 00:12:08 v3.0.0-dev.67 00:12:08 v3.0.0-dev.68 00:12:08 v3.0.0-dev.69 00:12:08 v3.0.0-dev.7 00:12:08 v3.0.0-dev.70 00:12:08 v3.0.0-dev.71 00:12:08 v3.0.0-dev.72 00:12:08 v3.0.0-dev.73 00:12:08 v3.0.0-dev.74 00:12:08 v3.0.0-dev.75 00:12:08 v3.0.0-dev.76 00:12:08 v3.0.0-dev.77 00:12:08 v3.0.0-dev.78 00:12:08 v3.0.0-dev.79 00:12:08 v3.0.0-dev.8 00:12:08 v3.0.0-dev.80 00:12:08 v3.0.0-dev.81 00:12:08 v3.0.0-dev.82 00:12:08 v3.0.0-dev.83 00:12:08 v3.0.0-dev.84 00:12:08 v3.0.0-dev.85 00:12:08 v3.0.0-dev.86 00:12:08 v3.0.0-dev.87 00:12:08 v3.0.0-dev.88 00:12:08 v3.0.0-dev.89 00:12:08 v3.0.0-dev.9 00:12:08 v3.0.0-dev.90 [Pipeline] sh 00:12:08 + lftools sign git-tag v3.0.0-dev.90 00:12:09 Signing Git tag with Sigul... 00:12:09 Signing v3.0.0-dev.90 [Pipeline] echo 00:12:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:12:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:12:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:12:09 $ docker stop --time=1 414907aa5fb640f288dee6631a3f0120c95b77aff0d97329b2e2e4a3ccffd27a 00:12:11 $ docker rm -f --volumes 414907aa5fb640f288dee6631a3f0120c95b77aff0d97329b2e2e4a3ccffd27a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:12:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:12 prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container 00:12:12 $ 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:12:12 $ docker top d38f7daaf84d79baf3fe47a7ef16ea8e03da84675aea94783c9de9180f5236cb -eo pid,comm 00:12:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:12:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:12 [ssh-agent] Looking for ssh-agent implementation... 00:12:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:13 $ docker exec d38f7daaf84d79baf3fe47a7ef16ea8e03da84675aea94783c9de9180f5236cb ssh-agent 00:12:13 SSH_AUTH_SOCK=/tmp/ssh-sPZSzqxTWe6v/agent.15 00:12:13 SSH_AGENT_PID=21 00:12:13 Running ssh-add (command line suppressed) 00:12:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5460531826956033841.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5460531826956033841.key) 00:12:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:13 + git semver bump pre 00:12:13 2023-05-11 00:12:13,863 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:12:13 2023-05-11 00:12:13,863 [bump_version] DEBUG bumping version:3.0.0-dev.90 on axis:pre with prefix:dev 00:12:13 2023-05-11 00:12:13,863 [bump_version] DEBUG bumped version:3.0.0-dev.91 00:12:13 2023-05-11 00:12:13,863 [write_version] DEBUG write version:3.0.0-dev.91 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 00:12:13 2023-05-11 00:12:13,863 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:12:13 2023-05-11 00:12:13,864 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:12:13 2023-05-11 00:12:13,867 [execute] INFO git cat-file --batch-check 00:12:13 2023-05-11 00:12:13,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:12:13 2023-05-11 00:12:13,872 [execute] INFO git cat-file --batch 00:12:13 2023-05-11 00:12:13,872 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:12:13 2023-05-11 00:12:13,876 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:12:13 3.0.0-dev.91 [Pipeline] } 00:12:13 $ docker exec --env ******** --env ******** d38f7daaf84d79baf3fe47a7ef16ea8e03da84675aea94783c9de9180f5236cb ssh-agent -k 00:12:14 unset SSH_AUTH_SOCK; 00:12:14 unset SSH_AGENT_PID; 00:12:14 echo Agent pid 21 killed; 00:12:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:14 + git semver [Pipeline] } 00:12:14 $ docker stop --time=1 d38f7daaf84d79baf3fe47a7ef16ea8e03da84675aea94783c9de9180f5236cb 00:12:15 $ docker rm -f --volumes d38f7daaf84d79baf3fe47a7ef16ea8e03da84675aea94783c9de9180f5236cb [Pipeline] // withDockerContainer [Pipeline] sh 00:12:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:16 prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container 00:12:16 $ 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:12:17 $ docker top e366a281022363af150637e38246a3e43567ed2969e6d4114f836c55d66b8ccb -eo pid,comm 00:12:17 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:12:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:17 [ssh-agent] Looking for ssh-agent implementation... 00:12:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:17 $ docker exec e366a281022363af150637e38246a3e43567ed2969e6d4114f836c55d66b8ccb ssh-agent 00:12:17 SSH_AUTH_SOCK=/tmp/ssh-lqvaOeJHWxFj/agent.33 00:12:17 SSH_AGENT_PID=39 00:12:17 Running ssh-add (command line suppressed) 00:12:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13329771345465692877.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13329771345465692877.key) 00:12:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:17 + git semver push 00:12:18 2023-05-11 00:12:18,136 [run_push] DEBUG push 00:12:18 2023-05-11 00:12:18,137 [execute] INFO git cat-file --batch-check 00:12:18 2023-05-11 00:12:18,138 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:12:18 2023-05-11 00:12:18,143 [execute] INFO git rev-list fb2bd148e67191f9a32e405ccbeceb3a83b2e150 -- 00:12:18 2023-05-11 00:12:18,143 [execute] DEBUG Popen(['git', 'rev-list', 'fb2bd148e67191f9a32e405ccbeceb3a83b2e150', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:12:18 2023-05-11 00:12:18,156 [execute] INFO git fetch -v origin 00:12:18 2023-05-11 00:12:18,157 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:12:18 2023-05-11 00:12:18,732 [run_push] DEBUG no remote changes detected 00:12:18 2023-05-11 00:12:18,732 [execute] INFO git push origin semver 00:12:18 2023-05-11 00:12:18,733 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:12:19 2023-05-11 00:12:19,520 [run_push] DEBUG push all version tags 00:12:19 2023-05-11 00:12:19,521 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:12:19 2023-05-11 00:12:19,521 [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:12:20 2023-05-11 00:12:20,268 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:12:20 3.0.0-dev.91 [Pipeline] } 00:12:20 $ docker exec --env ******** --env ******** e366a281022363af150637e38246a3e43567ed2969e6d4114f836c55d66b8ccb ssh-agent -k 00:12:20 unset SSH_AUTH_SOCK; 00:12:20 unset SSH_AGENT_PID; 00:12:20 echo Agent pid 39 killed; 00:12:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:21 + git semver [Pipeline] } 00:12:21 $ docker stop --time=1 e366a281022363af150637e38246a3e43567ed2969e6d4114f836c55d66b8ccb 00:12:23 $ docker rm -f --volumes e366a281022363af150637e38246a3e43567ed2969e6d4114f836c55d66b8ccb [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:12:24 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 00:12:24 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:12:24 total 16 00:12:24 drwxr-xr-x 3 root root 4096 May 10 23:59 . 00:12:24 drwxrwxr-x 12 jenkins jenkins 4096 May 11 00:12 .. 00:12:24 drwxr-xr-x 2 root root 4096 May 10 23:59 cost 00:12:24 -rw-r--r-- 1 root root 85 May 10 23:59 cost.csv 00:12:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:12:24 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:12:24 total 16 00:12:24 drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:59 . 00:12:24 drwxrwxr-x 12 jenkins jenkins 4096 May 11 00:12 .. 00:12:24 drwxr-xr-x 2 jenkins jenkins 4096 May 10 23:59 cost 00:12:24 -rw-r--r-- 1 jenkins jenkins 85 May 10 23:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:12:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:12:25 ---> package-listing.sh 00:12:25 ++ facter osfamily 00:12:25 ++ tr '[:upper:]' '[:lower:]' 00:12:25 + OS_FAMILY=debian 00:12:25 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 00:12:25 + START_PACKAGES=/tmp/packages_start.txt 00:12:25 + END_PACKAGES=/tmp/packages_end.txt 00:12:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:12:25 + PACKAGES=/tmp/packages_start.txt 00:12:25 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:12:25 + PACKAGES=/tmp/packages_end.txt 00:12:25 + case "${OS_FAMILY}" in 00:12:25 + grep '^ii' 00:12:25 + dpkg -l 00:12:25 + '[' -f /tmp/packages_start.txt ']' 00:12:25 + '[' -f /tmp/packages_end.txt ']' 00:12:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:12:25 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:12:25 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 00:12:25 + 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:12:25 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:12:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:12:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:26 prd-ubuntu20.04-docker-8c-8g-15123 does not seem to be running inside a container 00:12:26 $ 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:12:26 $ docker top 40ec978e4e19b6ad05b6c371f7bc31da46b6b56afe56c3f03bbffa6d6bc5583d -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:27 + touch /tmp/pre-build-complete [Pipeline] sh 00:12:27 + mkdir -p /var/log/sysstat [Pipeline] sh 00:12:27 + ls /var/log/sa-host 00:12:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:27 provisioning config files... 00:12:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15222834279107814949tmp [Pipeline] { [Pipeline] echo 00:12:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:12:28 ---> create-netrc.sh [Pipeline] } 00:12:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:12:28 ---> python-tools-install.sh [Pipeline] echo 00:12:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:12:29 ---> sudo-logs.sh 00:12:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:12:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:12:29 ---> job-cost.sh 00:12:29 lf-activate-venv: SKIPPING 00:12:29 DEBUG: total: 0.2199999988079071 00:12:29 INFO: Retrieving Stack Cost... 00:12:30 INFO: Retrieving Pricing Info for: v3-standard-8 00:12:30 INFO: Archiving Costs [Pipeline] echo 00:12:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:12:30 ---> logs-deploy.sh 00:12:30 lf-activate-venv: SKIPPING 00:12:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/221 00:12:30 INFO: archiving workspace using pattern(s): 00:12:31 Archives upload complete. 00:12:31 INFO: archiving logs to Nexus