Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0269f5defae23ecfb21598e73301b9248fb3e022 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-ssh12156091249029589027.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-ssh3700692435546233198.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-ssh16145802011871303819.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-ssh12074837641596805115.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-ssh8770825643394642726.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17220 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 0269f5defae23ecfb21598e73301b9248fb3e022 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0269f5defae23ecfb21598e73301b9248fb3e022 # timeout=10 Commit message: "Merge pull request #1465 from jumpingliu/update-readme" > git rev-list --no-walk afe14f99071666e3a8a1e98015d177d59a71e5e7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:15:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:15:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:15:52 ========================================================= 00:15:52 EdgeX Global Pipelines Version Info 00:15:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:15:52 ------------------- 00:15:52 stable info: 00:15:52 ------------------- 00:15:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:15:52 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:15:52 Message: update stable to v1.0.249 00:15:53 ------------------- 00:15:53 experimental info: 00:15:53 ------------------- 00:15:53 Commited By: **** collab-it+edgex@linuxfoundation.org 00:15:53 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:15:53 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0269f5d [Pipeline] echo 00:15:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:54 provisioning config files... 00:15:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12007351354045831538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:54 ---> docker-login.sh 00:15:54 nexus3.edgexfoundry.org:10001 00:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:54 Configure a credential helper to remove this warning. See 00:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:54 00:15:54 Login Succeeded 00:15:54 nexus3.edgexfoundry.org:10002 00:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:54 Configure a credential helper to remove this warning. See 00:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:54 00:15:54 Login Succeeded 00:15:54 nexus3.edgexfoundry.org:10003 00:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:54 Configure a credential helper to remove this warning. See 00:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:54 00:15:54 Login Succeeded 00:15:54 nexus3.edgexfoundry.org:10004 00:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:55 Configure a credential helper to remove this warning. See 00:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:55 00:15:55 Login Succeeded 00:15:55 docker.io 00:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:55 Configure a credential helper to remove this warning. See 00:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:55 00:15:55 Login Succeeded 00:15:55 ---> docker-login.sh ends [Pipeline] } 00:15:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:15:55 + git rev-list -1 --merges 0269f5defae23ecfb21598e73301b9248fb3e022~1..0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] echo 00:15:55 -----------> git rev-list -1 --merges 0269f5defae23ecfb21598e73301b9248fb3e022~1..0269f5defae23ecfb21598e73301b9248fb3e022 0269f5defae23ecfb21598e73301b9248fb3e022 00:15:55 0269f5defae23ecfb21598e73301b9248fb3e022 [false] [Pipeline] sh 00:15:56 + git log --format=format:%s -1 0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] echo 00:15:56 ========================================================= 00:15:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:15:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:56 + git log --format=format:%s -1 0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] echo 00:15:56 [semverPrep] GIT_COMMIT: 0269f5defae23ecfb21598e73301b9248fb3e022, Commit Message: Merge pull request #1465 from jumpingliu/update-readme [Pipeline] echo 00:15:56 [semverPrep] This is not a build commit. [Pipeline] sh 00:15:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:15:56 + grep -v github /etc/ssh/ssh_known_hosts 00:15:56 + [ -e /tmp/ssh_known_hosts ] 00:15:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:15:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:15:56 + sudo tee -a /etc/ssh/ssh_known_hosts 00:15:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:15:57 00:15:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:15:57 0.1.4: Pulling from edgex-devops/py-git-semver 00:15:57 b85a868b505f: Pulling fs layer 00:15:57 e2be974225ed: Pulling fs layer 00:15:57 339a4e72a1f5: Pulling fs layer 00:15:57 988bab9f4d93: Pulling fs layer 00:15:57 1469e6f7b9e6: Pulling fs layer 00:15:57 eaf3925da568: Pulling fs layer 00:15:57 bab4dde63d76: Pulling fs layer 00:15:57 bde34c3a00c8: Pulling fs layer 00:15:57 b352a97aabf1: Pulling fs layer 00:15:57 4872d77fe225: Pulling fs layer 00:15:57 5851b861e8e6: Pulling fs layer 00:15:57 bab4dde63d76: Waiting 00:15:57 bde34c3a00c8: Waiting 00:15:57 1469e6f7b9e6: Waiting 00:15:57 b352a97aabf1: Waiting 00:15:57 eaf3925da568: Waiting 00:15:57 988bab9f4d93: Waiting 00:15:57 5851b861e8e6: Waiting 00:15:57 4872d77fe225: Waiting 00:15:57 e2be974225ed: Download complete 00:15:57 988bab9f4d93: Download complete 00:15:57 339a4e72a1f5: Verifying Checksum 00:15:57 339a4e72a1f5: Download complete 00:15:57 1469e6f7b9e6: Verifying Checksum 00:15:57 1469e6f7b9e6: Download complete 00:15:57 eaf3925da568: Verifying Checksum 00:15:57 eaf3925da568: Download complete 00:15:57 bde34c3a00c8: Verifying Checksum 00:15:57 bde34c3a00c8: Download complete 00:15:57 b352a97aabf1: Download complete 00:15:57 4872d77fe225: Download complete 00:15:57 5851b861e8e6: Verifying Checksum 00:15:57 5851b861e8e6: Download complete 00:15:57 b85a868b505f: Verifying Checksum 00:15:57 b85a868b505f: Download complete 00:15:57 bab4dde63d76: Verifying Checksum 00:15:57 bab4dde63d76: Download complete 00:15:58 b85a868b505f: Pull complete 00:15:59 e2be974225ed: Pull complete 00:15:59 339a4e72a1f5: Pull complete 00:15:59 988bab9f4d93: Pull complete 00:15:59 1469e6f7b9e6: Pull complete 00:15:59 eaf3925da568: Pull complete 00:16:01 bab4dde63d76: Pull complete 00:16:01 bde34c3a00c8: Pull complete 00:16:01 b352a97aabf1: Pull complete 00:16:02 4872d77fe225: Pull complete 00:16:02 5851b861e8e6: Pull complete 00:16:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:16:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:16:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:02 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 00:16:02 $ 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 00:16:05 $ docker top 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb -eo pid,comm 00:16:05 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:16:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:16:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:16:05 [ssh-agent] Looking for ssh-agent implementation... 00:16:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:16:05 $ docker exec 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb ssh-agent 00:16:05 SSH_AUTH_SOCK=/tmp/ssh-W90RaTMMpzKD/agent.32 00:16:05 SSH_AGENT_PID=38 00:16:05 Running ssh-add (command line suppressed) 00:16:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7586138855275870236.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7586138855275870236.key) 00:16:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:16:05 + git tag --points-at HEAD [Pipeline] } 00:16:05 $ docker exec --env ******** --env ******** 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb ssh-agent -k 00:16:06 unset SSH_AUTH_SOCK; 00:16:06 unset SSH_AGENT_PID; 00:16:06 echo Agent pid 38 killed; 00:16:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:16:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:16:06 [ssh-agent] Looking for ssh-agent implementation... 00:16:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:16:06 $ docker exec 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb ssh-agent 00:16:06 SSH_AUTH_SOCK=/tmp/ssh-GqTvoTMDnXXi/agent.70 00:16:06 SSH_AGENT_PID=77 00:16:06 Running ssh-add (command line suppressed) 00:16:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1480724155318793710.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1480724155318793710.key) 00:16:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:16:06 + git semver init 00:16:06 2023-05-30 00:16:06,880 [run_init] DEBUG init version:0.0.0 force:False 00:16:06 2023-05-30 00:16:06,881 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 00:16:06 2023-05-30 00:16:06,881 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 00:16:06 2023-05-30 00:16:06,882 [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) 00:16:07 2023-05-30 00:16:07,753 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 00:16:07 2023-05-30 00:16:07,754 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 00:16:07 2023-05-30 00:16:07,754 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:16:07 2023-05-30 00:16:07,754 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:16:07 3.0.1-dev.1 [Pipeline] } 00:16:07 $ docker exec --env ******** --env ******** 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb ssh-agent -k 00:16:08 unset SSH_AUTH_SOCK; 00:16:08 unset SSH_AGENT_PID; 00:16:08 echo Agent pid 77 killed; 00:16:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:16:08 + git semver [Pipeline] } 00:16:08 $ docker stop --time=1 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb 00:16:09 $ docker rm -f --volumes 548e5613adf749dd2c27f56dcacf372b526f595543c744c0881bcca41ca3cedb [Pipeline] // withDockerContainer [Pipeline] sh 00:16:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:16:10 Stashed 1 file(s) [Pipeline] echo 00:16:10 [edgeXSemver]: initialized semver on version 3.0.1-dev.1 [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 00:16:10 provisioning config files... 00:16:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11079139358918784764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:10 ---> docker-login.sh 00:16:10 nexus3.edgexfoundry.org:10001 00:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:10 Configure a credential helper to remove this warning. See 00:16:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:10 00:16:10 Login Succeeded 00:16:10 nexus3.edgexfoundry.org:10002 00:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:10 Configure a credential helper to remove this warning. See 00:16:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:10 00:16:10 Login Succeeded 00:16:10 nexus3.edgexfoundry.org:10003 00:16:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:11 Configure a credential helper to remove this warning. See 00:16:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:11 00:16:11 Login Succeeded 00:16:11 nexus3.edgexfoundry.org:10004 00:16:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:11 Configure a credential helper to remove this warning. See 00:16:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:11 00:16:11 Login Succeeded 00:16:11 docker.io 00:16:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:11 Configure a credential helper to remove this warning. See 00:16:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:11 00:16:11 Login Succeeded 00:16:11 ---> docker-login.sh ends [Pipeline] } 00:16:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:11 ========================================================= 00:16:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:16:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:11 + 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 . 00:16:11 Sending build context to Docker daemon 11.22MB 00:16:11 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:16:11 Step 2/10 : FROM ${BASE} AS builder 00:16:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:16:11 f56be85fc22e: Pulling fs layer 00:16:11 85791d961cd3: Pulling fs layer 00:16:11 d694b5ae8c79: Pulling fs layer 00:16:11 9f32a84ed3da: Pulling fs layer 00:16:11 4d19c01a9841: Pulling fs layer 00:16:11 9325e15d5711: Pulling fs layer 00:16:11 556b6ee489ea: Pulling fs layer 00:16:11 c5a4b2cf53e6: Pulling fs layer 00:16:11 4d19c01a9841: Waiting 00:16:11 9325e15d5711: Waiting 00:16:11 556b6ee489ea: Waiting 00:16:11 c5a4b2cf53e6: Waiting 00:16:11 9f32a84ed3da: Waiting 00:16:12 85791d961cd3: Verifying Checksum 00:16:12 85791d961cd3: Download complete 00:16:12 9f32a84ed3da: Verifying Checksum 00:16:12 9f32a84ed3da: Download complete 00:16:12 4d19c01a9841: Verifying Checksum 00:16:12 4d19c01a9841: Download complete 00:16:12 f56be85fc22e: Download complete 00:16:12 9325e15d5711: Verifying Checksum 00:16:12 9325e15d5711: Download complete 00:16:12 f56be85fc22e: Pull complete 00:16:12 85791d961cd3: Pull complete 00:16:12 c5a4b2cf53e6: Verifying Checksum 00:16:12 d694b5ae8c79: Verifying Checksum 00:16:12 d694b5ae8c79: Download complete 00:16:12 556b6ee489ea: Verifying Checksum 00:16:12 556b6ee489ea: Download complete 00:16:15 d694b5ae8c79: Pull complete 00:16:15 9f32a84ed3da: Pull complete 00:16:16 4d19c01a9841: Pull complete 00:16:16 9325e15d5711: Pull complete 00:16:18 556b6ee489ea: Pull complete 00:16:19 c5a4b2cf53e6: Pull complete 00:16:19 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:16:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:16:19 ---> c4be618373d6 00:16:19 Step 3/10 : ARG MAKE=make build 00:16:24 ---> Running in 07d8670df3b6 00:16:24 Removing intermediate container 07d8670df3b6 00:16:24 ---> c9a64861504f 00:16:24 Step 4/10 : WORKDIR /device-sdk-go 00:16:24 ---> Running in 1a7ac4c6271d 00:16:24 Removing intermediate container 1a7ac4c6271d 00:16:24 ---> 19e7b0b968ba 00:16:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:16:24 ---> Running in fdc6fbc4f8cd 00:16:24 Removing intermediate container fdc6fbc4f8cd 00:16:24 ---> f940baf4dba3 00:16:24 Step 6/10 : RUN apk add --update --no-cache make git 00:16:24 ---> Running in 901a6b4e7417 00:16:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:16:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:16:24 OK: 265 MiB in 53 packages 00:16:25 Removing intermediate container 901a6b4e7417 00:16:25 ---> 90a43ff81ec3 00:16:25 Step 7/10 : COPY go.mod vendor* ./ 00:16:25 ---> f7f1d7ac09f8 00:16:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:25 ---> Running in f713aad8a07c 00:16:25 Still waiting to schedule task 00:16:25 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:16:51 Removing intermediate container f713aad8a07c 00:16:51 ---> 28d916fe0e75 00:16:51 Step 9/10 : COPY . . 00:16:51 ---> 9392117265ea 00:16:51 Step 10/10 : RUN ${MAKE} 00:16:51 ---> Running in f4ce3d39b2a3 00:16:51 noop 00:16:51 Removing intermediate container f4ce3d39b2a3 00:16:51 ---> 6bff24517e4e 00:16:51 Successfully built 6bff24517e4e 00:16:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:51 + docker inspect -f . ci-base-image-x86_64 00:16:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:51 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 00:16:52 $ 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 00:16:52 $ docker top 7ecd853c7ac1b950aa0421dffdc8e9e28d00dad0f1759ae1734038b76263acdf -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:52 + go version 00:16:52 go version go1.20.2 linux/amd64 [Pipeline] } 00:16:52 $ docker stop --time=1 7ecd853c7ac1b950aa0421dffdc8e9e28d00dad0f1759ae1734038b76263acdf 00:16:54 $ docker rm -f --volumes 7ecd853c7ac1b950aa0421dffdc8e9e28d00dad0f1759ae1734038b76263acdf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:54 + docker inspect -f . ci-base-image-x86_64 00:16:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:54 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 00:16:54 $ 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 00:16:54 $ docker top 0c3ac8c46462ab8758c0969fbb4245216286d79a3c48c8c67eabfc76d5661c70 -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 00:16:55 + make test 00:16:55 go test -race -coverprofile=coverage.out ./... 00:17:03 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:17:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:17:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:17:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:17:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:17:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:17:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements 00:17:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:17:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:17:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.067s coverage: 80.2% of statements 00:17:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.093s coverage: 86.0% of statements 00:17:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:17:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 00:17:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.094s coverage: 77.5% of statements 00:17:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:17:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:17:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:17:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.064s coverage: 14.3% of statements 00:17:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 68.5% of statements 00:17:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.114s coverage: 89.2% of statements 00:17:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.7% of statements 00:17:43 GO111MODULE=on go vet ./... 00:17:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:17:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:17:47 ./bin/test-attribution-txt.sh [Pipeline] echo 00:17:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:17:47 $ docker stop --time=1 0c3ac8c46462ab8758c0969fbb4245216286d79a3c48c8c67eabfc76d5661c70 00:17:50 $ docker rm -f --volumes 0c3ac8c46462ab8758c0969fbb4245216286d79a3c48c8c67eabfc76d5661c70 [Pipeline] // withDockerContainer [Pipeline] sh 00:17:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:17:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:17:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:17:51 + ls -al . 00:17:51 total 284 00:17:51 drwxrwxr-x 11 jenkins jenkins 4096 May 30 00:16 . 00:17:51 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:15 .. 00:17:51 -rw-rw-r-- 1 jenkins jenkins 140 May 30 00:15 .dockerignore 00:17:51 drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:16 .git 00:17:51 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:15 .github 00:17:51 -rw-rw-r-- 1 jenkins jenkins 137 May 30 00:15 .gitignore 00:17:51 -rw-rw-r-- 1 jenkins jenkins 42 May 30 00:15 .golangci.yml 00:17:51 drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:16 .semver 00:17:51 -rw-rw-r-- 1 jenkins jenkins 44878 May 30 00:15 CHANGELOG.md 00:17:51 -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:15 GOVERNANCE.md 00:17:51 -rw-rw-r-- 1 jenkins jenkins 885 May 30 00:15 Jenkinsfile 00:17:51 -rw-rw-r-- 1 jenkins jenkins 11341 May 30 00:15 LICENSE 00:17:51 -rw-rw-r-- 1 jenkins jenkins 1714 May 30 00:15 Makefile 00:17:51 -rw-rw-r-- 1 jenkins jenkins 619 May 30 00:15 OWNERS.md 00:17:51 -rw-rw-r-- 1 jenkins jenkins 4933 May 30 00:15 README.md 00:17:51 -rw-rw-r-- 1 jenkins jenkins 11 May 30 00:16 VERSION 00:17:51 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:15 bin 00:17:51 -rw-r--r-- 1 jenkins jenkins 106150 May 30 00:17 coverage.out 00:17:51 drwxrwxr-x 5 jenkins jenkins 4096 May 30 00:15 example 00:17:51 -rw-rw-r-- 1 jenkins jenkins 3193 May 30 00:15 go.mod 00:17:51 -rw-rw-r-- 1 jenkins jenkins 30699 May 30 00:15 go.sum 00:17:51 drwxrwxr-x 12 jenkins jenkins 4096 May 30 00:15 internal 00:17:51 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:15 openapi 00:17:51 drwxrwxr-x 6 jenkins jenkins 4096 May 30 00:15 pkg 00:17:51 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:15 snap 00:17:51 -rw-rw-r-- 1 jenkins jenkins 222 May 30 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:52 + 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=0269f5defae23ecfb21598e73301b9248fb3e022 --label arch=amd64 --label version=3.0.1-dev.1 . 00:17:52 Sending build context to Docker daemon 11.33MB 00:17:52 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 00:17:52 Step 2/23 : FROM ${BASE} AS builder 00:17:52 ---> 6bff24517e4e 00:17:52 Step 3/23 : ARG MAKE=make build 00:17:52 ---> Running in d91e874d5d02 00:17:52 Removing intermediate container d91e874d5d02 00:17:52 ---> f59d60c26a68 00:17:52 Step 4/23 : WORKDIR /device-sdk-go 00:17:52 ---> Running in f5d333e0ab96 00:17:52 Removing intermediate container f5d333e0ab96 00:17:52 ---> 4a8490f890c7 00:17:52 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:17:52 ---> Running in 42bd7175c396 00:17:52 Removing intermediate container 42bd7175c396 00:17:52 ---> b4451d9f6e84 00:17:52 Step 6/23 : RUN apk add --update --no-cache make git 00:17:52 ---> Running in e569958b2ebf 00:17:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:17:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:17:53 OK: 265 MiB in 53 packages 00:17:53 Removing intermediate container e569958b2ebf 00:17:53 ---> 42754e48885e 00:17:53 Step 7/23 : COPY go.mod vendor* ./ 00:17:53 ---> e3a35d4b532a 00:17:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:17:53 ---> Running in 5cf738554a35 00:17:54 Removing intermediate container 5cf738554a35 00:17:54 ---> 3f6b58233366 00:17:54 Step 9/23 : COPY . . 00:17:55 ---> cb6112f99531 00:17:55 Step 10/23 : RUN ${MAKE} 00:17:55 ---> Running in c1a1e47f345e 00:17:55 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.1-dev.1" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:18:17 Removing intermediate container c1a1e47f345e 00:18:17 ---> dc0c2ce3f8df 00:18:17 Step 11/23 : FROM alpine:3.17 00:18:17 3.17: Pulling from library/alpine 00:18:17 f56be85fc22e: Already exists 00:18:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:18:17 Status: Downloaded newer image for alpine:3.17 00:18:17 ---> 9ed4aefc74f6 00:18:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:18:17 ---> Running in d7f2f970d0f0 00:18:17 Removing intermediate container d7f2f970d0f0 00:18:17 ---> 7390692c6761 00:18:17 Step 13/23 : RUN apk add --update --no-cache 00:18:17 ---> Running in 817870e60682 00:18:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:18:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:18:17 OK: 7 MiB in 15 packages 00:18:17 Removing intermediate container 817870e60682 00:18:17 ---> 0dc822fc5260 00:18:17 Step 14/23 : WORKDIR / 00:18:17 ---> Running in 126cb7c3d47b 00:18:17 Removing intermediate container 126cb7c3d47b 00:18:17 ---> af259d7d6841 00:18:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:18:17 ---> 70590e79bb21 00:18:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:18:17 ---> 200823edc4ad 00:18:17 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:18:17 ---> b390654050e1 00:18:17 Step 18/23 : EXPOSE 59999 00:18:17 ---> Running in 5b3def8da574 00:18:17 Removing intermediate container 5b3def8da574 00:18:17 ---> c7943b4df9eb 00:18:17 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:18:17 ---> Running in cc0399ef2ab1 00:18:17 Removing intermediate container cc0399ef2ab1 00:18:17 ---> 85081f70bb51 00:18:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:18:17 ---> Running in 5c45762772e9 00:18:17 Removing intermediate container 5c45762772e9 00:18:17 ---> 053997025cdd 00:18:17 Step 21/23 : LABEL arch=amd64 00:18:17 ---> Running in d2e1591a951e 00:18:17 Removing intermediate container d2e1591a951e 00:18:17 ---> 672c35b91a50 00:18:17 Step 22/23 : LABEL git_sha=0269f5defae23ecfb21598e73301b9248fb3e022 00:18:17 ---> Running in f66cee9b86b7 00:18:18 Removing intermediate container f66cee9b86b7 00:18:18 ---> 4352431a7cc1 00:18:18 Step 23/23 : LABEL version=3.0.1-dev.1 00:18:18 ---> Running in a1789e1d7571 00:18:18 Removing intermediate container a1789e1d7571 00:18:18 ---> ece007943397 00:18:18 [Warning] One or more build-args [ARCH] were not consumed 00:18:18 Successfully built ece007943397 00:18:18 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 00:18:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:18:18 00:18:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:18:18 latest: Pulling from edgex-lftools-log-publisher 00:18:18 5eb5b503b376: Pulling fs layer 00:18:18 5c69ac0246d0: Pulling fs layer 00:18:18 ec43610c2a17: Pulling fs layer 00:18:18 3a2ae6a8a46f: Pulling fs layer 00:18:18 33b1e0a273af: Pulling fs layer 00:18:18 5d3b04190fa2: Pulling fs layer 00:18:18 2f39f015ded8: Pulling fs layer 00:18:18 3a2ae6a8a46f: Waiting 00:18:18 33b1e0a273af: Waiting 00:18:18 5d3b04190fa2: Waiting 00:18:18 2f39f015ded8: Waiting 00:18:18 5c69ac0246d0: Verifying Checksum 00:18:18 5c69ac0246d0: Download complete 00:18:18 3a2ae6a8a46f: Verifying Checksum 00:18:18 3a2ae6a8a46f: Download complete 00:18:18 33b1e0a273af: Verifying Checksum 00:18:18 33b1e0a273af: Download complete 00:18:18 ec43610c2a17: Verifying Checksum 00:18:18 ec43610c2a17: Download complete 00:18:18 5d3b04190fa2: Download complete 00:18:18 5eb5b503b376: Verifying Checksum 00:18:18 5eb5b503b376: Download complete 00:18:19 2f39f015ded8: Download complete 00:18:20 5eb5b503b376: Pull complete 00:18:20 5c69ac0246d0: Pull complete 00:18:20 ec43610c2a17: Pull complete 00:18:20 3a2ae6a8a46f: Pull complete 00:18:20 33b1e0a273af: Pull complete 00:18:20 5d3b04190fa2: Pull complete 00:18:25 2f39f015ded8: Pull complete 00:18:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:18:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:18:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:25 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 00:18:25 $ 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 00:18:28 $ docker top 725e47b54cee0478efbb5d4cf27a5c647537e1c486f1ba7a6f071f6d34008759 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:29 ---> job-cost.sh 00:18:29 lf-activate-venv: SKIPPING 00:18:29 INFO: No Stack... 00:18:29 INFO: Retrieving Pricing Info for: v3-standard-8 00:18:29 INFO: Archiving Costs [Pipeline] sh 00:18:29 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 00:18:29 + cut -d, -f6 [Pipeline] lock 00:18:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] 00:18:29 Resource [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] did not exist. Created. 00:18:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:18:30 + echo total: 0.2199999988079071 [Pipeline] stash 00:18:30 Stashed 1 file(s) [Pipeline] } 00:18:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] [Pipeline] // lock [Pipeline] } 00:18:30 $ docker stop --time=1 725e47b54cee0478efbb5d4cf27a5c647537e1c486f1ba7a6f071f6d34008759 00:18:31 $ docker rm -f --volumes 725e47b54cee0478efbb5d4cf27a5c647537e1c486f1ba7a6f071f6d34008759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:19:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17223 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 00:19:27 Running in /w/workspace/device-sdk-go/229 [Pipeline] { [Pipeline] checkout 00:19:28 The recommended git tool is: git 00:19:35 using credential edgex-jenkins-ssh 00:19:35 Cloning the remote Git repository 00:19:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:19:35 > git init /w/workspace/device-sdk-go/229 # timeout=10 00:19:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:19:35 > git --version # timeout=10 00:19:35 > git --version # 'git version 2.25.1' 00:19:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:19:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:19:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:19:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:19:38 Avoid second fetch 00:19:38 Checking out Revision 0269f5defae23ecfb21598e73301b9248fb3e022 (main) 00:19:39 Commit message: "Merge pull request #1465 from jumpingliu/update-readme" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:19:38 > git config core.sparsecheckout # timeout=10 00:19:38 > git checkout -f 0269f5defae23ecfb21598e73301b9248fb3e022 # timeout=10 00:19:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:19:40 % Total % Received % Xferd Average Speed Time Time Time Current 00:19:40 Dload Upload Total Spent Left Speed 00:19:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 00:19:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:19:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:19:41 + sudo tee /etc/docker/daemon.new 00:19:41 { 00:19:41 "registry-mirrors": [ 00:19:41 "https://nexus3.edgexfoundry.org:10001" 00:19:41 ], 00:19:41 "bip": "10.250.0.254/24", 00:19:41 "hosts": [ 00:19:41 "tcp://0.0.0.0:5555", 00:19:41 "unix:///var/run/docker.sock" 00:19:41 ], 00:19:41 "mtu": 1458, 00:19:41 "selinux-enabled": true, 00:19:41 "seccomp-profile": "/etc/docker/seccomp.json" 00:19:41 } [Pipeline] sh 00:19:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:19:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:20:00 provisioning config files... 00:20:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/229@tmp/config10364098666492343034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:20:01 ---> docker-login.sh 00:20:01 nexus3.edgexfoundry.org:10001 00:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:20:01 Configure a credential helper to remove this warning. See 00:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:20:01 00:20:01 Login Succeeded 00:20:01 nexus3.edgexfoundry.org:10002 00:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:20:02 Configure a credential helper to remove this warning. See 00:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:20:02 00:20:02 Login Succeeded 00:20:02 nexus3.edgexfoundry.org:10003 00:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:20:02 Configure a credential helper to remove this warning. See 00:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:20:02 00:20:02 Login Succeeded 00:20:02 nexus3.edgexfoundry.org:10004 00:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:20:03 Configure a credential helper to remove this warning. See 00:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:20:03 00:20:03 Login Succeeded 00:20:03 docker.io 00:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:20:04 Configure a credential helper to remove this warning. See 00:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:20:04 00:20:04 Login Succeeded 00:20:04 ---> docker-login.sh ends [Pipeline] } 00:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:20:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:20:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:20:04 ========================================================= 00:20:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:20:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:05 + 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:20:05 Sending build context to Docker daemon 6.046MB 00:20:05 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:20:05 Step 2/10 : FROM ${BASE} AS builder 00:20:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:20:05 c41833b44d91: Pulling fs layer 00:20:05 ed15518f5707: Pulling fs layer 00:20:05 feae8fd75edb: Pulling fs layer 00:20:05 242c74f7c9fa: Pulling fs layer 00:20:05 3cdef696dda3: Pulling fs layer 00:20:05 2ced38df9373: Pulling fs layer 00:20:05 58f1dce35555: Pulling fs layer 00:20:05 242c74f7c9fa: Waiting 00:20:05 3cdef696dda3: Waiting 00:20:05 58f1dce35555: Waiting 00:20:05 2ced38df9373: Waiting 00:20:05 ed15518f5707: Download complete 00:20:05 242c74f7c9fa: Verifying Checksum 00:20:05 242c74f7c9fa: Download complete 00:20:05 3cdef696dda3: Verifying Checksum 00:20:05 3cdef696dda3: Download complete 00:20:05 c41833b44d91: Verifying Checksum 00:20:05 c41833b44d91: Download complete 00:20:06 c41833b44d91: Pull complete 00:20:07 58f1dce35555: Verifying Checksum 00:20:07 58f1dce35555: Download complete 00:20:07 ed15518f5707: Pull complete 00:20:08 2ced38df9373: Verifying Checksum 00:20:08 2ced38df9373: Download complete 00:20:08 feae8fd75edb: Verifying Checksum 00:20:08 feae8fd75edb: Download complete 00:20:21 feae8fd75edb: Pull complete 00:20:21 242c74f7c9fa: Pull complete 00:20:21 3cdef696dda3: Pull complete 00:20:29 2ced38df9373: Pull complete 00:20:31 58f1dce35555: Pull complete 00:20:31 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:20:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:20:31 ---> fadd8f120f05 00:20:31 Step 3/10 : ARG MAKE=make build 00:20:33 ---> Running in 4dd944a10e30 00:20:34 Removing intermediate container 4dd944a10e30 00:20:34 ---> 40b4926318ec 00:20:34 Step 4/10 : WORKDIR /device-sdk-go 00:20:34 ---> Running in ef58365f8b25 00:20:34 Removing intermediate container ef58365f8b25 00:20:34 ---> 72d208617400 00:20:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:20:34 ---> Running in 912a7370dea6 00:20:34 Removing intermediate container 912a7370dea6 00:20:34 ---> 3587dc4c0b07 00:20:34 Step 6/10 : RUN apk add --update --no-cache make git 00:20:34 ---> Running in ec5d523039c1 00:20:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:20:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:20:37 OK: 263 MiB in 53 packages 00:20:38 Removing intermediate container ec5d523039c1 00:20:38 ---> 3bb487068a6c 00:20:38 Step 7/10 : COPY go.mod vendor* ./ 00:20:39 ---> c6918c1daba6 00:20:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:20:39 ---> Running in e486fd69213e 00:21:47 Removing intermediate container e486fd69213e 00:21:47 ---> 127ddeddbb79 00:21:47 Step 9/10 : COPY . . 00:21:47 ---> 40b32cbe7afa 00:21:47 Step 10/10 : RUN ${MAKE} 00:21:47 ---> Running in 1b3a79b9b7c7 00:21:47 noop 00:21:47 Removing intermediate container 1b3a79b9b7c7 00:21:47 ---> 88d29d28ad18 00:21:47 Successfully built 88d29d28ad18 00:21:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:47 + docker inspect -f . ci-base-image-arm64 00:21:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:48 prd-ubuntu20.04-docker-arm64-4c-16g-17223 does not seem to be running inside a container 00:21:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/229 -v /w/workspace/device-sdk-go/229:/w/workspace/device-sdk-go/229:rw,z -v /w/workspace/device-sdk-go/229@tmp:/w/workspace/device-sdk-go/229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:21:49 $ docker top 2553d7d00a0d9bd1df6456a1e0d304fcf8724ce4f5a5f35233bf85b8a88acce3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:50 + go version 00:21:50 go version go1.20.2 linux/arm64 [Pipeline] } 00:21:50 $ docker stop --time=1 2553d7d00a0d9bd1df6456a1e0d304fcf8724ce4f5a5f35233bf85b8a88acce3 00:21:52 $ docker rm -f --volumes 2553d7d00a0d9bd1df6456a1e0d304fcf8724ce4f5a5f35233bf85b8a88acce3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:53 + docker inspect -f . ci-base-image-arm64 00:21:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:53 prd-ubuntu20.04-docker-arm64-4c-16g-17223 does not seem to be running inside a container 00:21:53 $ 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/229 -v /w/workspace/device-sdk-go/229:/w/workspace/device-sdk-go/229:rw,z -v /w/workspace/device-sdk-go/229@tmp:/w/workspace/device-sdk-go/229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:21:54 $ docker top de5113bf14b845b4ef257159e5576248ef937f833dc0526fe9ebe01fceab1d7c -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:55 + git config --global --add safe.directory /w/workspace/device-sdk-go/229 [Pipeline] fileExists [Pipeline] sh 00:21:56 + make test 00:21:56 go test -race -coverprofile=coverage.out ./... 00:22:43 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:25:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:25:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.233s coverage: 27.6% of statements 00:25:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.304s coverage: 80.2% of statements 00:25:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:25:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:25:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.464s coverage: 86.0% of statements 00:25:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:25:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 00:25:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.563s coverage: 77.5% of statements 00:25:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.302s coverage: 14.3% of statements 00:26:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:26:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:26:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.505s coverage: 68.5% of statements 00:26:02 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.506s coverage: 89.2% of statements 00:26:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:26:07 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.297s coverage: 5.7% of statements 00:26:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:26:07 GO111MODULE=on go vet ./... 00:28:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:28:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:28:59 ./bin/test-attribution-txt.sh [Pipeline] echo 00:28:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:28:59 $ docker stop --time=1 de5113bf14b845b4ef257159e5576248ef937f833dc0526fe9ebe01fceab1d7c 00:29:01 $ docker rm -f --volumes de5113bf14b845b4ef257159e5576248ef937f833dc0526fe9ebe01fceab1d7c [Pipeline] // withDockerContainer [Pipeline] sh 00:29:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:29:03 Warning: overwriting stash ‘coverage-report’ 00:29:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:29:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:29:04 + ls -al . 00:29:04 total 280 00:29:04 drwxrwxr-x 10 jenkins jenkins 4096 May 30 00:21 . 00:29:04 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:19 .. 00:29:04 -rw-rw-r-- 1 jenkins jenkins 140 May 30 00:19 .dockerignore 00:29:04 drwxrwxr-x 8 jenkins jenkins 4096 May 30 00:19 .git 00:29:04 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:19 .github 00:29:04 -rw-rw-r-- 1 jenkins jenkins 137 May 30 00:19 .gitignore 00:29:04 -rw-rw-r-- 1 jenkins jenkins 42 May 30 00:19 .golangci.yml 00:29:04 -rw-rw-r-- 1 jenkins jenkins 44878 May 30 00:19 CHANGELOG.md 00:29:04 -rw-rw-r-- 1 jenkins jenkins 677 May 30 00:19 GOVERNANCE.md 00:29:04 -rw-rw-r-- 1 jenkins jenkins 885 May 30 00:19 Jenkinsfile 00:29:04 -rw-rw-r-- 1 jenkins jenkins 11341 May 30 00:19 LICENSE 00:29:04 -rw-rw-r-- 1 jenkins jenkins 1714 May 30 00:19 Makefile 00:29:04 -rw-rw-r-- 1 jenkins jenkins 619 May 30 00:19 OWNERS.md 00:29:04 -rw-rw-r-- 1 jenkins jenkins 4933 May 30 00:19 README.md 00:29:04 -rw-rw-r-- 1 jenkins jenkins 11 May 30 00:16 VERSION 00:29:04 drwxrwxr-x 2 jenkins jenkins 4096 May 30 00:19 bin 00:29:04 -rw-r--r-- 1 jenkins jenkins 106150 May 30 00:26 coverage.out 00:29:04 drwxrwxr-x 5 jenkins jenkins 4096 May 30 00:19 example 00:29:04 -rw-rw-r-- 1 jenkins jenkins 3193 May 30 00:19 go.mod 00:29:04 -rw-rw-r-- 1 jenkins jenkins 30699 May 30 00:19 go.sum 00:29:04 drwxrwxr-x 12 jenkins jenkins 4096 May 30 00:19 internal 00:29:04 drwxrwxr-x 3 jenkins jenkins 4096 May 30 00:19 openapi 00:29:04 drwxrwxr-x 6 jenkins jenkins 4096 May 30 00:19 pkg 00:29:04 drwxrwxr-x 4 jenkins jenkins 4096 May 30 00:19 snap 00:29:04 -rw-rw-r-- 1 jenkins jenkins 222 May 30 00:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:05 + 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=0269f5defae23ecfb21598e73301b9248fb3e022 --label arch=arm64 --label version=3.0.1-dev.1 . 00:29:05 Sending build context to Docker daemon 6.153MB 00:29:05 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 00:29:05 Step 2/23 : FROM ${BASE} AS builder 00:29:05 ---> 88d29d28ad18 00:29:05 Step 3/23 : ARG MAKE=make build 00:29:05 ---> Running in 314fb0b04506 00:29:06 Removing intermediate container 314fb0b04506 00:29:06 ---> e996afaf717f 00:29:06 Step 4/23 : WORKDIR /device-sdk-go 00:29:06 ---> Running in dbac24c20c6f 00:29:06 Removing intermediate container dbac24c20c6f 00:29:06 ---> da7db202e5b3 00:29:06 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:29:06 ---> Running in edb7e0533ab8 00:29:06 Removing intermediate container edb7e0533ab8 00:29:06 ---> 1b1e1528f152 00:29:06 Step 6/23 : RUN apk add --update --no-cache make git 00:29:07 ---> Running in 4a2b9374cb35 00:29:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:29:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:29:10 OK: 263 MiB in 53 packages 00:29:12 Removing intermediate container 4a2b9374cb35 00:29:12 ---> a0873251b5b1 00:29:12 Step 7/23 : COPY go.mod vendor* ./ 00:29:12 ---> a14fe804ab45 00:29:12 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:29:12 ---> Running in d019e96a609c 00:29:14 Removing intermediate container d019e96a609c 00:29:14 ---> 81908c1347c4 00:29:14 Step 9/23 : COPY . . 00:29:16 ---> 37662b8673b0 00:29:16 Step 10/23 : RUN ${MAKE} 00:29:16 ---> Running in c48e2cf72f74 00:29:17 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.1-dev.1" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:31:39 Removing intermediate container c48e2cf72f74 00:31:39 ---> 70bc570996a0 00:31:39 Step 11/23 : FROM alpine:3.17 00:31:39 3.17: Pulling from library/alpine 00:31:39 c41833b44d91: Already exists 00:31:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:31:39 Status: Downloaded newer image for alpine:3.17 00:31:39 ---> 51e60588ff2c 00:31:39 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:31:39 ---> Running in aebe84346c67 00:31:39 Removing intermediate container aebe84346c67 00:31:39 ---> 9b3e463a1d9b 00:31:39 Step 13/23 : RUN apk add --update --no-cache 00:31:39 ---> Running in 57e34859072d 00:31:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:31:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:31:42 OK: 7 MiB in 15 packages 00:31:43 Removing intermediate container 57e34859072d 00:31:43 ---> 4ba24ff5e951 00:31:43 Step 14/23 : WORKDIR / 00:31:43 ---> Running in 07ec33ac8ec4 00:31:43 Removing intermediate container 07ec33ac8ec4 00:31:43 ---> fa7b0f7a8411 00:31:43 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:31:44 ---> 0260062d6af7 00:31:44 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:31:45 ---> 544d05a0eae3 00:31:45 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:31:46 ---> 542fb920cc5c 00:31:46 Step 18/23 : EXPOSE 59999 00:31:46 ---> Running in bb047dfe09f5 00:31:46 Removing intermediate container bb047dfe09f5 00:31:46 ---> c909b6d6fb1c 00:31:46 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:31:46 ---> Running in 381c1a9eaf91 00:31:46 Removing intermediate container 381c1a9eaf91 00:31:46 ---> 45ff26430cc2 00:31:46 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:31:46 ---> Running in 8ab7e44b551d 00:31:47 Removing intermediate container 8ab7e44b551d 00:31:47 ---> e68bc1453f35 00:31:47 Step 21/23 : LABEL arch=arm64 00:31:47 ---> Running in 269b7b1bdd09 00:31:47 Removing intermediate container 269b7b1bdd09 00:31:47 ---> db7eab063b58 00:31:47 Step 22/23 : LABEL git_sha=0269f5defae23ecfb21598e73301b9248fb3e022 00:31:47 ---> Running in 137a253ce789 00:31:47 Removing intermediate container 137a253ce789 00:31:47 ---> b57c0815bc5a 00:31:47 Step 23/23 : LABEL version=3.0.1-dev.1 00:31:47 ---> Running in 21eddf7ecbf4 00:31:48 Removing intermediate container 21eddf7ecbf4 00:31:48 ---> b7ece40b5072 00:31:48 [Warning] One or more build-args [ARCH] were not consumed 00:31:48 Successfully built b7ece40b5072 00:31:48 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:31:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:31:48 00:31:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:31:49 arm64: Pulling from edgex-lftools-log-publisher 00:31:49 8998bd30e6a1: Pulling fs layer 00:31:49 04944245beec: Pulling fs layer 00:31:49 699f458cf7ca: Pulling fs layer 00:31:49 765212b225bb: Pulling fs layer 00:31:49 f23df028b6ca: Pulling fs layer 00:31:49 d65c8cfc05b1: Pulling fs layer 00:31:49 2437ff75d9bd: Pulling fs layer 00:31:49 f23df028b6ca: Waiting 00:31:49 765212b225bb: Waiting 00:31:49 2437ff75d9bd: Waiting 00:31:49 d65c8cfc05b1: Waiting 00:31:49 04944245beec: Verifying Checksum 00:31:49 04944245beec: Download complete 00:31:49 765212b225bb: Verifying Checksum 00:31:49 765212b225bb: Download complete 00:31:49 f23df028b6ca: Verifying Checksum 00:31:49 f23df028b6ca: Download complete 00:31:49 d65c8cfc05b1: Verifying Checksum 00:31:49 d65c8cfc05b1: Download complete 00:31:49 699f458cf7ca: Verifying Checksum 00:31:49 699f458cf7ca: Download complete 00:31:50 8998bd30e6a1: Download complete 00:31:52 2437ff75d9bd: Verifying Checksum 00:31:52 2437ff75d9bd: Download complete 00:31:55 8998bd30e6a1: Pull complete 00:31:56 04944245beec: Pull complete 00:31:57 699f458cf7ca: Pull complete 00:31:57 765212b225bb: Pull complete 00:31:58 f23df028b6ca: Pull complete 00:31:58 d65c8cfc05b1: Pull complete 00:32:13 2437ff75d9bd: Pull complete 00:32:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:32:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:32:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:13 prd-ubuntu20.04-docker-arm64-4c-16g-17223 does not seem to be running inside a container 00:32:13 $ 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/229 -v /w/workspace/device-sdk-go/229:/w/workspace/device-sdk-go/229:rw,z -v /w/workspace/device-sdk-go/229@tmp:/w/workspace/device-sdk-go/229@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:arm64 cat 00:32:16 $ docker top 2dfc5d22494642a84b75542da9597a6b04a98f612c22ed05c065a5a045ae0f60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:17 ---> job-cost.sh 00:32:17 lf-activate-venv: SKIPPING 00:32:17 INFO: No Stack... 00:32:18 INFO: Retrieving Pricing Info for: v3-standard-4 00:32:18 INFO: Archiving Costs [Pipeline] sh 00:32:19 + cat /w/workspace/device-sdk-go/229/archives/cost.csv 00:32:19 + cut -d, -f6 [Pipeline] lock 00:32:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] 00:32:19 Resource [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] did not exist. Created. 00:32:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:32:20 /w/workspace/device-sdk-go/229@tmp/durable-1183da09/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:32:20 + echo total: 0.10999999940395355 [Pipeline] stash 00:32:20 Warning: overwriting stash ‘stack-cost’ 00:32:20 Stashed 1 file(s) [Pipeline] } 00:32:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-229-stack-cost] [Pipeline] // lock [Pipeline] } 00:32:20 $ docker stop --time=1 2dfc5d22494642a84b75542da9597a6b04a98f612c22ed05c065a5a045ae0f60 00:32:23 $ docker rm -f --volumes 2dfc5d22494642a84b75542da9597a6b04a98f612c22ed05c065a5a045ae0f60 [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:32:23 provisioning config files... 00:32:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10747330261493017312tmp [Pipeline] { [Pipeline] sh 00:32:23 + set +x 00:32:23 + + curl -s https://codecov.io/bash 00:32:23 bash -s -- 00:32:23 00:32:23 _____ _ 00:32:23 / ____| | | 00:32:23 | | ___ __| | ___ ___ _____ __ 00:32:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:32:23 | |___| (_) | (_| | __/ (_| (_) \ V / 00:32:23 \_____\___/ \__,_|\___|\___\___/ \_/ 00:32:23 Bash-1.0.6 00:32:23 00:32:23 00:32:23 ==> git version 2.25.1 found 00:32:23 ==> 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:32:23 Release-Date: 2020-01-08 00:32:23 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:32:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:32:23 ==> Jenkins CI detected. 00:32:23 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 00:32:23 project root: . 00:32:23 --> token set from env 00:32:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:32:23 ==> Running gcov in . (disable via -X gcov) 00:32:23 ==> Python coveragepy not found 00:32:23 ==> Searching for coverage reports in: 00:32:23 + . 00:32:23 -> Found 1 reports 00:32:23 ==> Detecting git/mercurial file structure 00:32:23 ==> Reading reports 00:32:23 + ./coverage.out bytes=106150 00:32:23 ==> Appending adjustments 00:32:23 https://docs.codecov.io/docs/fixing-reports 00:32:24 + Found adjustments 00:32:24 ==> Gzipping contents 00:32:24 16K /tmp/codecov.rnO4PN.gz 00:32:24 ==> Uploading reports 00:32:24 url: https://codecov.io 00:32:24 query: branch=main&commit=0269f5defae23ecfb21598e73301b9248fb3e022&build=229&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F229%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:32:24 -> Pinging Codecov 00:32:24 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=0269f5defae23ecfb21598e73301b9248fb3e022&build=229&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F229%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:32:24 -> Uploading to 00:32:24 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/7E55EF52A471D76F132DFD9A03CDDE97/0269f5defae23ecfb21598e73301b9248fb3e022/d7e741a6-9513-47d9-ae0f-dccf9b3fbcff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T003224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=76e053e6ba9ef34a151955ee6743a2c65fb62a51193027ba8ac62bc7f91f95f7 00:32:24 % Total % Received % Xferd Average Speed Time Time Time Current 00:32:24 Dload Upload Total Spent Left Speed 00:32:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15123 0 0 100 15123 0 74866 --:--:-- --:--:-- --:--:-- 74866 00:32:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] } 00:32:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:32:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:32:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:32:25 00:32:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:32:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:32:25 df9b9388f04a: Pulling fs layer 00:32:25 52dc419b0ee2: Pulling fs layer 00:32:25 25bc292e5bac: Pulling fs layer 00:32:25 114826534d7a: Pulling fs layer 00:32:25 4657fd5d0bcf: Pulling fs layer 00:32:25 6ad1cebc031e: Pulling fs layer 00:32:25 8a3aa393b2d8: Pulling fs layer 00:32:25 114826534d7a: Waiting 00:32:25 4657fd5d0bcf: Waiting 00:32:25 6ad1cebc031e: Waiting 00:32:25 8a3aa393b2d8: Waiting 00:32:25 25bc292e5bac: Verifying Checksum 00:32:25 25bc292e5bac: Download complete 00:32:25 52dc419b0ee2: Verifying Checksum 00:32:25 52dc419b0ee2: Download complete 00:32:25 4657fd5d0bcf: Download complete 00:32:25 df9b9388f04a: Verifying Checksum 00:32:25 df9b9388f04a: Download complete 00:32:25 6ad1cebc031e: Verifying Checksum 00:32:25 6ad1cebc031e: Download complete 00:32:25 df9b9388f04a: Pull complete 00:32:25 52dc419b0ee2: Pull complete 00:32:25 25bc292e5bac: Pull complete 00:32:26 114826534d7a: Verifying Checksum 00:32:26 114826534d7a: Download complete 00:32:26 8a3aa393b2d8: Verifying Checksum 00:32:26 8a3aa393b2d8: Download complete 00:32:30 114826534d7a: Pull complete 00:32:30 4657fd5d0bcf: Pull complete 00:32:30 6ad1cebc031e: Pull complete 00:32:32 8a3aa393b2d8: Pull complete 00:32:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:32:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:32:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:33 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 00:32:33 $ 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:32:36 $ docker top 30c60d26b2762af1576b1c8ebf8e467a4dd1a1342ed92c1204636d5eeae7c9ae -eo pid,comm [Pipeline] { [Pipeline] echo 00:32:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 00:32:37 + set -o pipefail 00:32:37 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 00:32:41 00:32:41 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 00:32:41 00:32:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a57128f3-8f48-4c90-b309-aca9bab1259f 00:32:41 00:32:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:32:41 00:32:42 00:32:42 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:32:42 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:32:42 More details here: https://snyk.co/ue1NS [Pipeline] } 00:32:42 $ docker stop --time=1 30c60d26b2762af1576b1c8ebf8e467a4dd1a1342ed92c1204636d5eeae7c9ae 00:32:45 $ docker rm -f --volumes 30c60d26b2762af1576b1c8ebf8e467a4dd1a1342ed92c1204636d5eeae7c9ae [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:32:45 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:32:45 provisioning config files... 00:32:45 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12429342766287182183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:46 --> edgex-publish-swagger.sh 00:32:46 === Publish openapi/v3 API === 00:32:46 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 00:32:46 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 00:32:46 % Total % Received % Xferd Average Speed Time Time Time Current 00:32:46 Dload Upload Total Spent Left Speed 00:32:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 36365 --:--:-- --:--:-- --:--:-- 36365 00:32:46 00:32:46 [Pipeline] } 00:32:46 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:32:46 + git log --format=format:%s -1 0269f5defae23ecfb21598e73301b9248fb3e022 [Pipeline] sh 00:32:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:32:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:32:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:47 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 00:32:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:32:48 $ docker top dea21301e7a859b25dc3743abb19d653485f0bd83f03933d4a2e855a1ce17aea -eo pid,comm 00:32:48 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:32:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:32:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:48 [ssh-agent] Looking for ssh-agent implementation... 00:32:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:48 $ docker exec dea21301e7a859b25dc3743abb19d653485f0bd83f03933d4a2e855a1ce17aea ssh-agent 00:32:48 SSH_AUTH_SOCK=/tmp/ssh-91jZkMrLjjpa/agent.33 00:32:48 SSH_AGENT_PID=39 00:32:48 Running ssh-add (command line suppressed) 00:32:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1408859455144880783.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1408859455144880783.key) 00:32:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:48 + git semver tag 00:32:49 2023-05-30 00:32:48,974 [run_tag] DEBUG tag force:False 00:32:49 2023-05-30 00:32:48,974 [check_head_tag] DEBUG check head tag 00:32:49 2023-05-30 00:32:48,976 [execute] INFO git cat-file --batch-check 00:32:49 2023-05-30 00:32:48,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:32:49 2023-05-30 00:32:48,980 [execute] INFO git cat-file --batch 00:32:49 2023-05-30 00:32:48,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:32:49 2023-05-30 00:32:49,021 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:32:49 2023-05-30 00:32:49,022 [execute] INFO git tag -a v3.0.1-dev.1 -m v3.0.1-dev.1 00:32:49 2023-05-30 00:32:49,022 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.1-dev.1', '-m', 'v3.0.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:32:49 2023-05-30 00:32:49,028 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:32:49 3.0.1-dev.1 [Pipeline] } 00:32:49 $ docker exec --env ******** --env ******** dea21301e7a859b25dc3743abb19d653485f0bd83f03933d4a2e855a1ce17aea ssh-agent -k 00:32:49 unset SSH_AUTH_SOCK; 00:32:49 unset SSH_AGENT_PID; 00:32:49 echo Agent pid 39 killed; 00:32:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:32:49 + git semver [Pipeline] } 00:32:49 $ docker stop --time=1 dea21301e7a859b25dc3743abb19d653485f0bd83f03933d4a2e855a1ce17aea 00:32:51 $ docker rm -f --volumes dea21301e7a859b25dc3743abb19d653485f0bd83f03933d4a2e855a1ce17aea [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:32:51 00:32:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:32:51 0.23.1-centos7: Pulling from edgex-lftools 00:32:51 ab5ef0e58194: Pulling fs layer 00:32:51 9712f1f96733: Pulling fs layer 00:32:51 63f879dbbcfc: Pulling fs layer 00:32:51 0d9ebad4ef96: Pulling fs layer 00:32:51 e9a5061849ea: Pulling fs layer 00:32:51 d747dcd14b5f: Pulling fs layer 00:32:51 0d9ebad4ef96: Waiting 00:32:51 2de7ff778b66: Pulling fs layer 00:32:51 d747dcd14b5f: Waiting 00:32:51 e9a5061849ea: Waiting 00:32:51 2de7ff778b66: Waiting 00:32:51 9712f1f96733: Verifying Checksum 00:32:51 9712f1f96733: Download complete 00:32:52 63f879dbbcfc: Verifying Checksum 00:32:52 63f879dbbcfc: Download complete 00:32:52 e9a5061849ea: Verifying Checksum 00:32:52 e9a5061849ea: Download complete 00:32:52 0d9ebad4ef96: Verifying Checksum 00:32:52 0d9ebad4ef96: Download complete 00:32:52 d747dcd14b5f: Download complete 00:32:52 ab5ef0e58194: Verifying Checksum 00:32:52 ab5ef0e58194: Download complete 00:32:52 2de7ff778b66: Verifying Checksum 00:32:52 2de7ff778b66: Download complete 00:32:55 ab5ef0e58194: Pull complete 00:32:55 9712f1f96733: Pull complete 00:32:56 63f879dbbcfc: Pull complete 00:33:00 0d9ebad4ef96: Pull complete 00:33:00 e9a5061849ea: Pull complete 00:33:00 d747dcd14b5f: Pull complete 00:33:01 2de7ff778b66: Pull complete 00:33:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:33:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:33:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:01 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 00:33:01 $ 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:33:06 $ docker top c9d87dfc5130a6056cc908fd0d7d8855aba7c79e8fd66ade757c0e8cda442be1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:33:06 provisioning config files... 00:33:06 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1394923308955044338tmp 00:33:06 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5421252556641844225tmp 00:33:06 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15754402680942217190tmp [Pipeline] { [Pipeline] echo 00:33:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:33:07 ---> sigul-configuration.sh 00:33:07 gpg: directory `/root/.gnupg' created 00:33:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:33:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:33:07 gpg: keyring `/root/.gnupg/secring.gpg' created 00:33:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:33:07 gpg: CAST5 encrypted data 00:33:07 gpg: encrypted with 1 passphrase 00:33:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:33:07 + mkdir /home/jenkins 00:33:07 + mkdir /home/jenkins/sigul [Pipeline] sh 00:33: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:33:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:33:07 ---> sigul-install.sh 00:33:07 Sigul already installed; skipping installation. [Pipeline] sh 00:33:08 + git tag --list 00:33:08 0.7.1 00:33:08 delhi-tag 00:33:08 v1.0.0 00:33:08 v1.1.0 00:33:08 v1.1.1 00:33:08 v1.1.2 00:33:08 v1.2.0 00:33:08 v1.2.1 00:33:08 v1.2.2 00:33:08 v1.2.3 00:33:08 v1.3.0 00:33:08 v1.4.0 00:33:08 v2.0.0 00:33:08 v2.1.0 00:33:08 v2.1.1 00:33:08 v2.1.1-dev.2 00:33:08 v2.1.1-dev.3 00:33:08 v2.2.0 00:33:08 v2.2.1-dev.1 00:33:08 v2.2.1-dev.10 00:33:08 v2.2.1-dev.11 00:33:08 v2.2.1-dev.12 00:33:08 v2.2.1-dev.13 00:33:08 v2.2.1-dev.14 00:33:08 v2.2.1-dev.2 00:33:08 v2.2.1-dev.3 00:33:08 v2.2.1-dev.4 00:33:08 v2.2.1-dev.5 00:33:08 v2.2.1-dev.6 00:33:08 v2.2.1-dev.7 00:33:08 v2.2.1-dev.8 00:33:08 v2.2.1-dev.9 00:33:08 v2.3.0 00:33:08 v2.3.0-dev.14 00:33:08 v2.3.0-dev.15 00:33:08 v2.3.0-dev.16 00:33:08 v2.3.0-dev.17 00:33:08 v2.3.0-dev.18 00:33:08 v2.3.0-dev.19 00:33:08 v2.3.0-dev.20 00:33:08 v2.3.0-dev.21 00:33:08 v2.3.0-dev.22 00:33:08 v2.3.0-dev.23 00:33:08 v2.3.0-dev.24 00:33:08 v2.3.0-dev.25 00:33:08 v2.3.0-dev.26 00:33:08 v2.3.0-dev.27 00:33:08 v2.3.0-dev.28 00:33:08 v2.3.0-dev.29 00:33:08 v2.3.0-dev.30 00:33:08 v2.3.0-dev.31 00:33:08 v2.3.0-dev.32 00:33:08 v2.3.0-dev.33 00:33:08 v2.3.0-dev.34 00:33:08 v2.3.0-dev.35 00:33:08 v2.3.0-dev.36 00:33:08 v2.3.0-dev.37 00:33:08 v2.3.0-dev.38 00:33:08 v2.3.0-dev.39 00:33:08 v2.3.0-dev.40 00:33:08 v2.3.0-dev.41 00:33:08 v2.3.0-dev.42 00:33:08 v2.3.0-dev.43 00:33:08 v2.3.0-dev.44 00:33:08 v2.3.0-dev.45 00:33:08 v2.3.0-dev.46 00:33:08 v2.3.0-dev.47 00:33:08 v2.3.0-dev.48 00:33:08 v2.3.0-dev.49 00:33:08 v2.3.0-dev.50 00:33:08 v2.3.0-dev.51 00:33:08 v2.3.1 00:33:08 v2.3.1-dev.1 00:33:08 v2.3.1-dev.2 00:33:08 v2.3.1-dev.3 00:33:08 v2.3.1-dev.4 00:33:08 v3.0 00:33:08 v3.0.0 00:33:08 v3.0.0-dev.1 00:33:08 v3.0.0-dev.10 00:33:08 v3.0.0-dev.11 00:33:08 v3.0.0-dev.12 00:33:08 v3.0.0-dev.13 00:33:08 v3.0.0-dev.14 00:33:08 v3.0.0-dev.15 00:33:08 v3.0.0-dev.16 00:33:08 v3.0.0-dev.17 00:33:08 v3.0.0-dev.18 00:33:08 v3.0.0-dev.19 00:33:08 v3.0.0-dev.2 00:33:08 v3.0.0-dev.20 00:33:08 v3.0.0-dev.21 00:33:08 v3.0.0-dev.22 00:33:08 v3.0.0-dev.23 00:33:08 v3.0.0-dev.24 00:33:08 v3.0.0-dev.25 00:33:08 v3.0.0-dev.26 00:33:08 v3.0.0-dev.27 00:33:08 v3.0.0-dev.28 00:33:08 v3.0.0-dev.29 00:33:08 v3.0.0-dev.3 00:33:08 v3.0.0-dev.30 00:33:08 v3.0.0-dev.31 00:33:08 v3.0.0-dev.32 00:33:08 v3.0.0-dev.33 00:33:08 v3.0.0-dev.34 00:33:08 v3.0.0-dev.35 00:33:08 v3.0.0-dev.36 00:33:08 v3.0.0-dev.37 00:33:08 v3.0.0-dev.38 00:33:08 v3.0.0-dev.39 00:33:08 v3.0.0-dev.4 00:33:08 v3.0.0-dev.40 00:33:08 v3.0.0-dev.41 00:33:08 v3.0.0-dev.42 00:33:08 v3.0.0-dev.43 00:33:08 v3.0.0-dev.44 00:33:08 v3.0.0-dev.45 00:33:08 v3.0.0-dev.46 00:33:08 v3.0.0-dev.47 00:33:08 v3.0.0-dev.48 00:33:08 v3.0.0-dev.49 00:33:08 v3.0.0-dev.5 00:33:08 v3.0.0-dev.50 00:33:08 v3.0.0-dev.51 00:33:08 v3.0.0-dev.52 00:33:08 v3.0.0-dev.53 00:33:08 v3.0.0-dev.54 00:33:08 v3.0.0-dev.55 00:33:08 v3.0.0-dev.56 00:33:08 v3.0.0-dev.57 00:33:08 v3.0.0-dev.58 00:33:08 v3.0.0-dev.59 00:33:08 v3.0.0-dev.6 00:33:08 v3.0.0-dev.60 00:33:08 v3.0.0-dev.61 00:33:08 v3.0.0-dev.62 00:33:08 v3.0.0-dev.63 00:33:08 v3.0.0-dev.64 00:33:08 v3.0.0-dev.65 00:33:08 v3.0.0-dev.66 00:33:08 v3.0.0-dev.67 00:33:08 v3.0.0-dev.68 00:33:08 v3.0.0-dev.69 00:33:08 v3.0.0-dev.7 00:33:08 v3.0.0-dev.70 00:33:08 v3.0.0-dev.71 00:33:08 v3.0.0-dev.72 00:33:08 v3.0.0-dev.73 00:33:08 v3.0.0-dev.74 00:33:08 v3.0.0-dev.75 00:33:08 v3.0.0-dev.76 00:33:08 v3.0.0-dev.77 00:33:08 v3.0.0-dev.78 00:33:08 v3.0.0-dev.79 00:33:08 v3.0.0-dev.8 00:33:08 v3.0.0-dev.80 00:33:08 v3.0.0-dev.81 00:33:08 v3.0.0-dev.82 00:33:08 v3.0.0-dev.83 00:33:08 v3.0.0-dev.84 00:33:08 v3.0.0-dev.85 00:33:08 v3.0.0-dev.86 00:33:08 v3.0.0-dev.87 00:33:08 v3.0.0-dev.88 00:33:08 v3.0.0-dev.89 00:33:08 v3.0.0-dev.9 00:33:08 v3.0.0-dev.90 00:33:08 v3.0.0-dev.91 00:33:08 v3.0.0-dev.92 00:33:08 v3.0.0-dev.93 00:33:08 v3.0.0-dev.94 00:33:08 v3.0.0-dev.95 00:33:08 v3.0.0-dev.96 00:33:08 v3.0.1-dev.1 [Pipeline] sh 00:33:08 + lftools sign git-tag v3.0.1-dev.1 00:33:09 Signing Git tag with Sigul... 00:33:09 Signing v3.0.1-dev.1 [Pipeline] echo 00:33:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:33:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:33:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:33:09 $ docker stop --time=1 c9d87dfc5130a6056cc908fd0d7d8855aba7c79e8fd66ade757c0e8cda442be1 00:33:11 $ docker rm -f --volumes c9d87dfc5130a6056cc908fd0d7d8855aba7c79e8fd66ade757c0e8cda442be1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:33:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:33:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:33:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:12 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 00:33: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:33:12 $ docker top 761b047d3392637fc4bd1d775935efce86174f667ce1ee2054151dd65c409f49 -eo pid,comm 00:33: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:33:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:33:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:33:12 [ssh-agent] Looking for ssh-agent implementation... 00:33:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:33:12 $ docker exec 761b047d3392637fc4bd1d775935efce86174f667ce1ee2054151dd65c409f49 ssh-agent 00:33:12 SSH_AUTH_SOCK=/tmp/ssh-JVukpyn1aAKe/agent.32 00:33:12 SSH_AGENT_PID=38 00:33:12 Running ssh-add (command line suppressed) 00:33:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8667950434751858208.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8667950434751858208.key) 00:33:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:33:13 + git semver bump pre 00:33:13 2023-05-30 00:33:13,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:33:13 2023-05-30 00:33:13,322 [bump_version] DEBUG bumping version:3.0.1-dev.1 on axis:pre with prefix:dev 00:33:13 2023-05-30 00:33:13,322 [bump_version] DEBUG bumped version:3.0.1-dev.2 00:33:13 2023-05-30 00:33:13,322 [write_version] DEBUG write version:3.0.1-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 00:33:13 2023-05-30 00:33:13,322 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:33:13 2023-05-30 00:33:13,322 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:33:13 2023-05-30 00:33:13,324 [execute] INFO git cat-file --batch-check 00:33:13 2023-05-30 00:33:13,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:33:13 2023-05-30 00:33:13,330 [execute] INFO git cat-file --batch 00:33:13 2023-05-30 00:33:13,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:33:13 2023-05-30 00:33:13,336 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:33:13 3.0.1-dev.2 [Pipeline] } 00:33:13 $ docker exec --env ******** --env ******** 761b047d3392637fc4bd1d775935efce86174f667ce1ee2054151dd65c409f49 ssh-agent -k 00:33:13 unset SSH_AUTH_SOCK; 00:33:13 unset SSH_AGENT_PID; 00:33:13 echo Agent pid 38 killed; 00:33:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:33:13 + git semver [Pipeline] } 00:33:14 $ docker stop --time=1 761b047d3392637fc4bd1d775935efce86174f667ce1ee2054151dd65c409f49 00:33:15 $ docker rm -f --volumes 761b047d3392637fc4bd1d775935efce86174f667ce1ee2054151dd65c409f49 [Pipeline] // withDockerContainer [Pipeline] sh 00:33:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:33:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:33:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:16 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 00:33: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:33:16 $ docker top 291203ba774fd3de654e2fe773293dab593e2fe1dbe92c07b950fe12cab65ab6 -eo pid,comm 00:33:16 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:33:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:33:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:33:16 [ssh-agent] Looking for ssh-agent implementation... 00:33:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:33:16 $ docker exec 291203ba774fd3de654e2fe773293dab593e2fe1dbe92c07b950fe12cab65ab6 ssh-agent 00:33:16 SSH_AUTH_SOCK=/tmp/ssh-VCkAvsD4LTgd/agent.33 00:33:16 SSH_AGENT_PID=39 00:33:16 Running ssh-add (command line suppressed) 00:33:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9653689983403503834.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9653689983403503834.key) 00:33:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:33:17 + git semver push 00:33:17 2023-05-30 00:33:17,324 [run_push] DEBUG push 00:33:17 2023-05-30 00:33:17,325 [execute] INFO git cat-file --batch-check 00:33:17 2023-05-30 00:33:17,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:33:17 2023-05-30 00:33:17,329 [execute] INFO git rev-list b71a39dda1913f2450c2b6d2f00a14bc0f3df8bb -- 00:33:17 2023-05-30 00:33:17,329 [execute] DEBUG Popen(['git', 'rev-list', 'b71a39dda1913f2450c2b6d2f00a14bc0f3df8bb', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:33:17 2023-05-30 00:33:17,343 [execute] INFO git fetch -v origin 00:33:17 2023-05-30 00:33:17,343 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:33:17 2023-05-30 00:33:17,787 [run_push] DEBUG no remote changes detected 00:33:17 2023-05-30 00:33:17,787 [execute] INFO git push origin semver 00:33:17 2023-05-30 00:33:17,788 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:33:18 2023-05-30 00:33:18,635 [run_push] DEBUG push all version tags 00:33:18 2023-05-30 00:33:18,636 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:33:18 2023-05-30 00:33:18,636 [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:33:19 2023-05-30 00:33:19,414 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:33:19 3.0.1-dev.2 [Pipeline] } 00:33:19 $ docker exec --env ******** --env ******** 291203ba774fd3de654e2fe773293dab593e2fe1dbe92c07b950fe12cab65ab6 ssh-agent -k 00:33:19 unset SSH_AUTH_SOCK; 00:33:19 unset SSH_AGENT_PID; 00:33:19 echo Agent pid 39 killed; 00:33:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:33:19 + git semver [Pipeline] } 00:33:20 $ docker stop --time=1 291203ba774fd3de654e2fe773293dab593e2fe1dbe92c07b950fe12cab65ab6 00:33:21 $ docker rm -f --volumes 291203ba774fd3de654e2fe773293dab593e2fe1dbe92c07b950fe12cab65ab6 [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:33:22 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 00:33:22 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:33:22 total 16 00:33:22 drwxr-xr-x 3 root root 4096 May 30 00:18 . 00:33:22 drwxrwxr-x 12 jenkins jenkins 4096 May 30 00:33 .. 00:33:22 drwxr-xr-x 2 root root 4096 May 30 00:18 cost 00:33:22 -rw-r--r-- 1 root root 85 May 30 00:18 cost.csv 00:33:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:33:22 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:33:22 total 16 00:33:22 drwxr-xr-x 3 jenkins jenkins 4096 May 30 00:18 . 00:33:22 drwxrwxr-x 12 jenkins jenkins 4096 May 30 00:33 .. 00:33:22 drwxr-xr-x 2 jenkins jenkins 4096 May 30 00:18 cost 00:33:22 -rw-r--r-- 1 jenkins jenkins 85 May 30 00:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:33:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:33:23 ---> package-listing.sh 00:33:23 ++ facter osfamily 00:33:23 ++ tr '[:upper:]' '[:lower:]' 00:33:23 + OS_FAMILY=debian 00:33:23 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 00:33:23 + START_PACKAGES=/tmp/packages_start.txt 00:33:23 + END_PACKAGES=/tmp/packages_end.txt 00:33:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:33:23 + PACKAGES=/tmp/packages_start.txt 00:33:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:33:23 + PACKAGES=/tmp/packages_end.txt 00:33:23 + case "${OS_FAMILY}" in 00:33:23 + dpkg -l 00:33:23 + grep '^ii' 00:33:23 + '[' -f /tmp/packages_start.txt ']' 00:33:23 + '[' -f /tmp/packages_end.txt ']' 00:33:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:33:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:33:23 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 00:33:23 + 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:33:23 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:33:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:33:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:24 prd-ubuntu20.04-docker-8c-8g-17220 does not seem to be running inside a container 00:33:24 $ 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:33:24 $ docker top 02807695a24f7e6091abb25e5a70aeb11905c39aa06122e42cae26c1f2a56961 -eo pid,comm [Pipeline] { [Pipeline] sh 00:33:25 + touch /tmp/pre-build-complete [Pipeline] sh 00:33:25 + mkdir -p /var/log/sysstat [Pipeline] sh 00:33:25 + ls /var/log/sa-host 00:33:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:33:25 provisioning config files... 00:33:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10544564187284985365tmp [Pipeline] { [Pipeline] echo 00:33:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:33:26 ---> create-netrc.sh [Pipeline] } 00:33:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:33:26 ---> python-tools-install.sh [Pipeline] echo 00:33:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:33:26 ---> sudo-logs.sh 00:33:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:33:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:33:27 ---> job-cost.sh 00:33:27 lf-activate-venv: SKIPPING 00:33:27 DEBUG: total: 0.2199999988079071 00:33:27 INFO: Retrieving Stack Cost... 00:33:27 INFO: Retrieving Pricing Info for: v3-standard-8 00:33:27 INFO: Archiving Costs [Pipeline] echo 00:33:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:33:28 ---> logs-deploy.sh 00:33:28 lf-activate-venv: SKIPPING 00:33:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/229 00:33:28 INFO: archiving workspace using pattern(s): 00:33:29 Archives upload complete. 00:33:29 INFO: archiving logs to Nexus