Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from afe14f99071666e3a8a1e98015d177d59a71e5e7 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-ssh14804870020655854874.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-ssh7067788848676596131.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-ssh17816892941999186644.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-ssh1045248875699529016.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-ssh5862642982922215415.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 Running on prd-ubuntu20.04-docker-8c-8g-16773 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 afe14f99071666e3a8a1e98015d177d59a71e5e7 (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 afe14f99071666e3a8a1e98015d177d59a71e5e7 # timeout=10 Commit message: "docs: Update chnagelog for 3.0 (#1464)" > git rev-list --no-walk 5b52fe9c10fd5a56536b5e0b8b1a7f643ba1bfc1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:45:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:45:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:45:08 ========================================================= 19:45:08 EdgeX Global Pipelines Version Info 19:45:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:45:08 ------------------- 19:45:08 stable info: 19:45:08 ------------------- 19:45:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:45:08 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:45:08 Message: update stable to v1.0.249 19:45:09 ------------------- 19:45:09 experimental info: 19:45:09 ------------------- 19:45:09 Commited By: **** collab-it+edgex@linuxfoundation.org 19:45:09 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:45:09 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:45:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:45:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:45:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = afe14f99071666e3a8a1e98015d177d59a71e5e7 [Pipeline] echo 19:45:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = afe14f9 [Pipeline] echo 19:45:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:45:10 provisioning config files... 19:45:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6112113368764633615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:45:10 ---> docker-login.sh 19:45:10 nexus3.edgexfoundry.org:10001 19:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:10 Configure a credential helper to remove this warning. See 19:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:10 19:45:10 Login Succeeded 19:45:10 nexus3.edgexfoundry.org:10002 19:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:10 Configure a credential helper to remove this warning. See 19:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:10 19:45:10 Login Succeeded 19:45:10 nexus3.edgexfoundry.org:10003 19:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:10 Configure a credential helper to remove this warning. See 19:45:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:10 19:45:10 Login Succeeded 19:45:10 nexus3.edgexfoundry.org:10004 19:45:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:11 Configure a credential helper to remove this warning. See 19:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:11 19:45:11 Login Succeeded 19:45:11 docker.io 19:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:11 Configure a credential helper to remove this warning. See 19:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:11 19:45:11 Login Succeeded 19:45:11 ---> docker-login.sh ends [Pipeline] } 19:45:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:45:11 + git rev-list -1 --merges afe14f99071666e3a8a1e98015d177d59a71e5e7~1..afe14f99071666e3a8a1e98015d177d59a71e5e7 [Pipeline] echo 19:45:11 -----------> git rev-list -1 --merges afe14f99071666e3a8a1e98015d177d59a71e5e7~1..afe14f99071666e3a8a1e98015d177d59a71e5e7 afe14f99071666e3a8a1e98015d177d59a71e5e7 [false] [Pipeline] sh 19:45:12 + git log --format=format:%s -1 afe14f99071666e3a8a1e98015d177d59a71e5e7 [Pipeline] echo 19:45:12 ========================================================= 19:45:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:45:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:45:12 + git log --format=format:%s -1 afe14f99071666e3a8a1e98015d177d59a71e5e7 [Pipeline] echo 19:45:12 [semverPrep] GIT_COMMIT: afe14f99071666e3a8a1e98015d177d59a71e5e7, Commit Message: docs: Update chnagelog for 3.0 (#1464) [Pipeline] echo 19:45:12 [semverPrep] This is not a build commit. [Pipeline] sh 19:45:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:45:12 + grep -v github /etc/ssh/ssh_known_hosts 19:45:12 + [ -e /tmp/ssh_known_hosts ] 19:45:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:45:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:45:12 + sudo tee -a /etc/ssh/ssh_known_hosts 19:45:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:45:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:45:13 19:45:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:45:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:45:13 0.1.4: Pulling from edgex-devops/py-git-semver 19:45:13 b85a868b505f: Pulling fs layer 19:45:13 e2be974225ed: Pulling fs layer 19:45:13 339a4e72a1f5: Pulling fs layer 19:45:13 988bab9f4d93: Pulling fs layer 19:45:13 1469e6f7b9e6: Pulling fs layer 19:45:13 eaf3925da568: Pulling fs layer 19:45:13 bab4dde63d76: Pulling fs layer 19:45:13 bde34c3a00c8: Pulling fs layer 19:45:13 b352a97aabf1: Pulling fs layer 19:45:13 4872d77fe225: Pulling fs layer 19:45:13 5851b861e8e6: Pulling fs layer 19:45:13 b352a97aabf1: Waiting 19:45:13 bab4dde63d76: Waiting 19:45:13 bde34c3a00c8: Waiting 19:45:13 988bab9f4d93: Waiting 19:45:13 5851b861e8e6: Waiting 19:45:13 1469e6f7b9e6: Waiting 19:45:13 eaf3925da568: Waiting 19:45:13 e2be974225ed: Verifying Checksum 19:45:13 e2be974225ed: Download complete 19:45:13 988bab9f4d93: Verifying Checksum 19:45:13 988bab9f4d93: Download complete 19:45:13 1469e6f7b9e6: Verifying Checksum 19:45:13 1469e6f7b9e6: Download complete 19:45:13 339a4e72a1f5: Verifying Checksum 19:45:13 339a4e72a1f5: Download complete 19:45:13 bde34c3a00c8: Verifying Checksum 19:45:13 bde34c3a00c8: Download complete 19:45:13 b352a97aabf1: Download complete 19:45:13 4872d77fe225: Download complete 19:45:13 5851b861e8e6: Download complete 19:45:13 b85a868b505f: Download complete 19:45:14 bab4dde63d76: Verifying Checksum 19:45:14 bab4dde63d76: Download complete 19:45:15 b85a868b505f: Pull complete 19:45:15 e2be974225ed: Pull complete 19:45:15 339a4e72a1f5: Pull complete 19:45:15 988bab9f4d93: Pull complete 19:45:16 1469e6f7b9e6: Pull complete 19:45:16 eaf3925da568: Pull complete 19:45:18 bab4dde63d76: Pull complete 19:45:18 bde34c3a00c8: Pull complete 19:45:18 b352a97aabf1: Pull complete 19:45:18 4872d77fe225: Pull complete 19:45:18 5851b861e8e6: Pull complete 19:45:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:45:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:45:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:45:18 prd-ubuntu20.04-docker-8c-8g-16773 does not seem to be running inside a container 19:45:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:45:21 $ docker top 59640fc928dcc8d5e9c0d586d7cf3b1612763d7cf56c8105a4ffd14bd031f949 -eo pid,comm 19:45:22 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). 19:45:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:45:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:45:22 [ssh-agent] Looking for ssh-agent implementation... 19:45:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:45:22 $ docker exec 59640fc928dcc8d5e9c0d586d7cf3b1612763d7cf56c8105a4ffd14bd031f949 ssh-agent 19:45:22 SSH_AUTH_SOCK=/tmp/ssh-YdWsuQqhjtAR/agent.31 19:45:22 SSH_AGENT_PID=37 19:45:22 Running ssh-add (command line suppressed) 19:45:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17226741705878432170.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17226741705878432170.key) 19:45:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:45:23 + git tag --points-at HEAD [Pipeline] } 19:45:23 $ docker exec --env ******** --env ******** 59640fc928dcc8d5e9c0d586d7cf3b1612763d7cf56c8105a4ffd14bd031f949 ssh-agent -k 19:45:23 unset SSH_AUTH_SOCK; 19:45:23 unset SSH_AGENT_PID; 19:45:23 echo Agent pid 37 killed; 19:45:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:45:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:45:24 [ssh-agent] Looking for ssh-agent implementation... 19:45:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:45:26 $ docker exec 59640fc928dcc8d5e9c0d586d7cf3b1612763d7cf56c8105a4ffd14bd031f949 ssh-agent 19:45:26 SSH_AUTH_SOCK=/tmp/ssh-PlNwYBqj5MQ9/agent.69 19:45:26 SSH_AGENT_PID=75 19:45:26 Running ssh-add (command line suppressed) 19:45:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8764646831642017358.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8764646831642017358.key) 19:45:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:45:26 + git semver init 19:45:27 2023-05-24 19:45:27,099 [run_init] DEBUG init version:0.0.0 force:False 19:45:27 2023-05-24 19:45:27,100 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 19:45:27 2023-05-24 19:45:27,100 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 19:45:27 2023-05-24 19:45:27,101 [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) 19:45:28 2023-05-24 19:45:27,994 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 19:45:28 2023-05-24 19:45:27,994 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 19:45:28 2023-05-24 19:45:27,994 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:45:28 2023-05-24 19:45:27,995 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:45:28 3.0.0-dev.96 [Pipeline] } 19:45:28 $ docker exec --env ******** --env ******** 59640fc928dcc8d5e9c0d586d7cf3b1612763d7cf56c8105a4ffd14bd031f949 ssh-agent -k 19:45:28 unset SSH_AUTH_SOCK; 19:45:28 unset SSH_AGENT_PID; 19:45:28 echo Agent pid 75 killed; 19:45:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:45:28 + git semver [Pipeline] } 19:45:28 $ docker stop --time=1 59640fc928dcc8d5e9c0d586d7cf3b1612763d7cf56c8105a4ffd14bd031f949 19:45:30 $ docker rm -f --volumes 59640fc928dcc8d5e9c0d586d7cf3b1612763d7cf56c8105a4ffd14bd031f949 [Pipeline] // withDockerContainer [Pipeline] sh 19:45:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:45:30 Stashed 1 file(s) [Pipeline] echo 19:45:30 [edgeXSemver]: initialized semver on version 3.0.0-dev.96 [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 19:45:30 provisioning config files... 19:45:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2637110624148649059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:45:31 ---> docker-login.sh 19:45:31 nexus3.edgexfoundry.org:10001 19:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:31 Configure a credential helper to remove this warning. See 19:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:31 19:45:31 Login Succeeded 19:45:31 nexus3.edgexfoundry.org:10002 19:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:31 Configure a credential helper to remove this warning. See 19:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:31 19:45:31 Login Succeeded 19:45:31 nexus3.edgexfoundry.org:10003 19:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:31 Configure a credential helper to remove this warning. See 19:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:31 19:45:31 Login Succeeded 19:45:31 nexus3.edgexfoundry.org:10004 19:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:31 Configure a credential helper to remove this warning. See 19:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:31 19:45:31 Login Succeeded 19:45:31 docker.io 19:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:45:31 Configure a credential helper to remove this warning. See 19:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:45:31 19:45:31 Login Succeeded 19:45:31 ---> docker-login.sh ends [Pipeline] } 19:45:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:45:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:45:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:45:31 ========================================================= 19:45:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:45:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:45:32 + 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 . 19:45:32 Sending build context to Docker daemon 11.22MB 19:45:32 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:45:32 Step 2/10 : FROM ${BASE} AS builder 19:45:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:45:32 f56be85fc22e: Pulling fs layer 19:45:32 85791d961cd3: Pulling fs layer 19:45:32 d694b5ae8c79: Pulling fs layer 19:45:32 9f32a84ed3da: Pulling fs layer 19:45:32 4d19c01a9841: Pulling fs layer 19:45:32 9325e15d5711: Pulling fs layer 19:45:32 556b6ee489ea: Pulling fs layer 19:45:32 c5a4b2cf53e6: Pulling fs layer 19:45:32 9325e15d5711: Waiting 19:45:32 556b6ee489ea: Waiting 19:45:32 c5a4b2cf53e6: Waiting 19:45:32 9f32a84ed3da: Waiting 19:45:32 4d19c01a9841: Waiting 19:45:32 85791d961cd3: Download complete 19:45:32 9f32a84ed3da: Download complete 19:45:32 4d19c01a9841: Verifying Checksum 19:45:32 4d19c01a9841: Download complete 19:45:32 f56be85fc22e: Verifying Checksum 19:45:32 f56be85fc22e: Download complete 19:45:32 9325e15d5711: Verifying Checksum 19:45:32 9325e15d5711: Download complete 19:45:32 f56be85fc22e: Pull complete 19:45:32 c5a4b2cf53e6: Verifying Checksum 19:45:32 c5a4b2cf53e6: Download complete 19:45:33 d694b5ae8c79: Verifying Checksum 19:45:33 d694b5ae8c79: Download complete 19:45:33 556b6ee489ea: Verifying Checksum 19:45:33 556b6ee489ea: Download complete 19:45:33 85791d961cd3: Pull complete 19:45:37 d694b5ae8c79: Pull complete 19:45:37 9f32a84ed3da: Pull complete 19:45:37 4d19c01a9841: Pull complete 19:45:37 9325e15d5711: Pull complete 19:45:39 556b6ee489ea: Pull complete 19:45:40 c5a4b2cf53e6: Pull complete 19:45:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 19:45:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:45:40 ---> c4be618373d6 19:45:40 Step 3/10 : ARG MAKE=make build 19:45:45 Still waiting to schedule task 19:45:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:45:49 ---> Running in ef0f417d52ef 19:45:49 Removing intermediate container ef0f417d52ef 19:45:49 ---> 5e7efe1a3674 19:45:49 Step 4/10 : WORKDIR /device-sdk-go 19:45:49 ---> Running in 56c818986a0d 19:45:49 Removing intermediate container 56c818986a0d 19:45:49 ---> 63197b132f80 19:45:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:45:49 ---> Running in 96d96b8cf4a2 19:45:49 Removing intermediate container 96d96b8cf4a2 19:45:49 ---> 6c83063557d1 19:45:49 Step 6/10 : RUN apk add --update --no-cache make git 19:45:49 ---> Running in fb505b916eb4 19:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:45:50 OK: 265 MiB in 53 packages 19:45:50 Removing intermediate container fb505b916eb4 19:45:50 ---> 7f999d24903e 19:45:50 Step 7/10 : COPY go.mod vendor* ./ 19:45:50 ---> 0b90bbd9a1c2 19:45:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:45:50 ---> Running in 8c427b13a540 19:46:22 Removing intermediate container 8c427b13a540 19:46:22 ---> 1996b61431a1 19:46:22 Step 9/10 : COPY . . 19:46:22 ---> b41cdd71b657 19:46:22 Step 10/10 : RUN ${MAKE} 19:46:22 ---> Running in c2707f50ec54 19:46:23 noop 19:46:23 Removing intermediate container c2707f50ec54 19:46:23 ---> f08b8efae41c 19:46:23 Successfully built f08b8efae41c 19:46:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:23 + docker inspect -f . ci-base-image-x86_64 19:46:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:46:23 prd-ubuntu20.04-docker-8c-8g-16773 does not seem to be running inside a container 19:46:23 $ 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 19:46:24 $ docker top 56beb679d1730c6f9feae3966d6eda1ce1ed8e58ebaa1b08d9e7e97766630a62 -eo pid,comm [Pipeline] { [Pipeline] sh 19:46:24 + go version 19:46:24 go version go1.20.2 linux/amd64 [Pipeline] } 19:46:24 $ docker stop --time=1 56beb679d1730c6f9feae3966d6eda1ce1ed8e58ebaa1b08d9e7e97766630a62 19:46:25 $ docker rm -f --volumes 56beb679d1730c6f9feae3966d6eda1ce1ed8e58ebaa1b08d9e7e97766630a62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:26 + docker inspect -f . ci-base-image-x86_64 19:46:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:46:26 prd-ubuntu20.04-docker-8c-8g-16773 does not seem to be running inside a container 19:46:26 $ 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 19:46:26 $ docker top 3e99fd5836c144c0a20cf33f28df934fceffbea1a12efa1c2aba4db2845771c4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:46:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 19:46:27 + make test 19:46:27 go test -race -coverprofile=coverage.out ./... 19:46:33 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:46:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:46:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:46:48 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:46:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:46:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:46:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements 19:46:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:46:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:46:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.065s coverage: 80.2% of statements 19:46:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.071s coverage: 86.0% of statements 19:46:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:46:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 19:46:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:46:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:46:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 77.5% of statements 19:46:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:46:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 14.3% of statements 19:46:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.078s coverage: 68.5% of statements 19:46:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.115s coverage: 89.2% of statements 19:46:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 5.7% of statements 19:47:14 GO111MODULE=on go vet ./... 19:47:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:47:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:47:17 ./bin/test-attribution-txt.sh [Pipeline] echo 19:47:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:47:17 $ docker stop --time=1 3e99fd5836c144c0a20cf33f28df934fceffbea1a12efa1c2aba4db2845771c4 19:47:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16775 in /w/workspace/edgexfoundry_device-sdk-go_main 19:47:21 $ docker rm -f --volumes 3e99fd5836c144c0a20cf33f28df934fceffbea1a12efa1c2aba4db2845771c4 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 19:47:22 Running in /w/workspace/device-sdk-go/227 [Pipeline] { [Pipeline] checkout 19:47:22 The recommended git tool is: git 19:47:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:47:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:47:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:47:23 + ls -al . 19:47:23 total 284 19:47:23 drwxrwxr-x 11 jenkins jenkins 4096 May 24 19:46 . 19:47:23 drwxrwxr-x 4 jenkins jenkins 4096 May 24 19:45 .. 19:47:23 -rw-rw-r-- 1 jenkins jenkins 140 May 24 19:45 .dockerignore 19:47:23 drwxrwxr-x 8 jenkins jenkins 4096 May 24 19:45 .git 19:47:23 drwxrwxr-x 2 jenkins jenkins 4096 May 24 19:45 .github 19:47:23 -rw-rw-r-- 1 jenkins jenkins 137 May 24 19:45 .gitignore 19:47:23 -rw-rw-r-- 1 jenkins jenkins 42 May 24 19:45 .golangci.yml 19:47:23 drwxr-xr-x 3 jenkins jenkins 4096 May 24 19:45 .semver 19:47:23 -rw-rw-r-- 1 jenkins jenkins 44878 May 24 19:45 CHANGELOG.md 19:47:23 -rw-rw-r-- 1 jenkins jenkins 677 May 24 19:45 GOVERNANCE.md 19:47:23 -rw-rw-r-- 1 jenkins jenkins 885 May 24 19:45 Jenkinsfile 19:47:23 -rw-rw-r-- 1 jenkins jenkins 11341 May 24 19:45 LICENSE 19:47:23 -rw-rw-r-- 1 jenkins jenkins 1714 May 24 19:45 Makefile 19:47:23 -rw-rw-r-- 1 jenkins jenkins 619 May 24 19:45 OWNERS.md 19:47:23 -rw-rw-r-- 1 jenkins jenkins 4891 May 24 19:45 README.md 19:47:23 -rw-rw-r-- 1 jenkins jenkins 12 May 24 19:45 VERSION 19:47:23 drwxrwxr-x 2 jenkins jenkins 4096 May 24 19:45 bin 19:47:23 -rw-r--r-- 1 jenkins jenkins 106151 May 24 19:46 coverage.out 19:47:23 drwxrwxr-x 5 jenkins jenkins 4096 May 24 19:45 example 19:47:23 -rw-rw-r-- 1 jenkins jenkins 3193 May 24 19:45 go.mod 19:47:23 -rw-rw-r-- 1 jenkins jenkins 30699 May 24 19:45 go.sum 19:47:23 drwxrwxr-x 12 jenkins jenkins 4096 May 24 19:45 internal 19:47:23 drwxrwxr-x 3 jenkins jenkins 4096 May 24 19:45 openapi 19:47:23 drwxrwxr-x 6 jenkins jenkins 4096 May 24 19:45 pkg 19:47:23 drwxrwxr-x 4 jenkins jenkins 4096 May 24 19:45 snap 19:47:23 -rw-rw-r-- 1 jenkins jenkins 222 May 24 19:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:23 + 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=afe14f99071666e3a8a1e98015d177d59a71e5e7 --label arch=amd64 --label version=3.0.0-dev.96 . 19:47:23 Sending build context to Docker daemon 11.32MB 19:47:23 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 19:47:23 Step 2/23 : FROM ${BASE} AS builder 19:47:23 ---> f08b8efae41c 19:47:23 Step 3/23 : ARG MAKE=make build 19:47:23 ---> Running in 631c6b00fe9a 19:47:23 Removing intermediate container 631c6b00fe9a 19:47:23 ---> 328bdc4d69fc 19:47:23 Step 4/23 : WORKDIR /device-sdk-go 19:47:23 ---> Running in dfcf6beaf5db 19:47:24 Removing intermediate container dfcf6beaf5db 19:47:24 ---> 79cc1e61570d 19:47:24 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:47:24 ---> Running in 19b8cdbcb7f7 19:47:24 Removing intermediate container 19b8cdbcb7f7 19:47:24 ---> 839a5df544da 19:47:24 Step 6/23 : RUN apk add --update --no-cache make git 19:47:24 ---> Running in 141d30cea884 19:47:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:47:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:47:24 OK: 265 MiB in 53 packages 19:47:25 Removing intermediate container 141d30cea884 19:47:25 ---> 830133862133 19:47:25 Step 7/23 : COPY go.mod vendor* ./ 19:47:25 ---> e0be078962ee 19:47:25 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:47:25 ---> Running in f96e66c35fce 19:47:26 Removing intermediate container f96e66c35fce 19:47:26 ---> fae716dd0703 19:47:26 Step 9/23 : COPY . . 19:47:26 ---> 2f3e3bcf1744 19:47:26 Step 10/23 : RUN ${MAKE} 19:47:26 ---> Running in 85b8030c66aa 19:47:26 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.96" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:47:27 using credential edgex-jenkins-ssh 19:47:27 Cloning the remote Git repository 19:47:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:47:27 > git init /w/workspace/device-sdk-go/227 # timeout=10 19:47:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:47:27 > git --version # timeout=10 19:47:27 > git --version # 'git version 2.25.1' 19:47:27 using GIT_SSH to set credentials SSH Credentials for GitHub 19:47:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:47:30 Avoid second fetch 19:47:30 Checking out Revision afe14f99071666e3a8a1e98015d177d59a71e5e7 (main) 19:47:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:47:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:47:30 > git config core.sparsecheckout # timeout=10 19:47:30 > git checkout -f afe14f99071666e3a8a1e98015d177d59a71e5e7 # timeout=10 19:47:31 Commit message: "docs: Update chnagelog for 3.0 (#1464)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:47:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:47:32 % Total % Received % Xferd Average Speed Time Time Time Current 19:47:32 Dload Upload Total Spent Left Speed 19:47:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 96598 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 19:47:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:47:32 + sudo tee /etc/docker/daemon.new 19:47:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:47:32 { 19:47:32 "registry-mirrors": [ 19:47:32 "https://nexus3.edgexfoundry.org:10001" 19:47:32 ], 19:47:32 "bip": "10.250.0.254/24", 19:47:32 "hosts": [ 19:47:32 "tcp://0.0.0.0:5555", 19:47:32 "unix:///var/run/docker.sock" 19:47:32 ], 19:47:32 "mtu": 1458, 19:47:32 "selinux-enabled": true, 19:47:32 "seccomp-profile": "/etc/docker/seccomp.json" 19:47:32 } [Pipeline] sh 19:47:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:47:33 + sudo service docker restart 19:47:48 Removing intermediate container 85b8030c66aa 19:47:48 ---> a283fbace221 19:47:48 Step 11/23 : FROM alpine:3.17 19:47:48 3.17: Pulling from library/alpine 19:47:48 f56be85fc22e: Already exists 19:47:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:47:48 Status: Downloaded newer image for alpine:3.17 19:47:48 ---> 9ed4aefc74f6 19:47:48 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:47:48 ---> Running in bd2c81bfe3fa 19:47:48 Removing intermediate container bd2c81bfe3fa 19:47:48 ---> abb0857cac06 19:47:48 Step 13/23 : RUN apk add --update --no-cache 19:47:48 ---> Running in 7848c13867be 19:47:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:47:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:47:48 OK: 7 MiB in 15 packages 19:47:48 Removing intermediate container 7848c13867be 19:47:48 ---> cc1b5ed24b97 19:47:48 Step 14/23 : WORKDIR / 19:47:48 ---> Running in 10caa77b6f5d 19:47:48 Removing intermediate container 10caa77b6f5d 19:47:48 ---> 13e89047badd 19:47:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:47:48 ---> 1989f01c4fcb 19:47:48 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:47:48 ---> 8388a366ad8c 19:47:48 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:47:48 ---> 6bdaf9b37d75 19:47:48 Step 18/23 : EXPOSE 59999 19:47:48 ---> Running in 7e2677329d7b 19:47:48 Removing intermediate container 7e2677329d7b 19:47:48 ---> e7c1406005e8 19:47:48 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:47:48 ---> Running in 2f01bd413b49 19:47:49 Removing intermediate container 2f01bd413b49 19:47:49 ---> 8e4eedbc445c 19:47:49 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:47:49 ---> Running in 35bdc6654b0d 19:47:49 Removing intermediate container 35bdc6654b0d 19:47:49 ---> f453d2367f08 19:47:49 Step 21/23 : LABEL arch=amd64 19:47:49 ---> Running in a03202c377f7 19:47:49 Removing intermediate container a03202c377f7 19:47:49 ---> 4ceadd9b3737 19:47:49 Step 22/23 : LABEL git_sha=afe14f99071666e3a8a1e98015d177d59a71e5e7 19:47:49 ---> Running in 60270fec199e 19:47:49 Removing intermediate container 60270fec199e 19:47:49 ---> 19e2bef9b79f 19:47:49 Step 23/23 : LABEL version=3.0.0-dev.96 19:47:49 ---> Running in 959d3aa1507c 19:47:49 Removing intermediate container 959d3aa1507c 19:47:49 ---> 9e3a54a6e790 19:47:49 [Warning] One or more build-args [ARCH] were not consumed 19:47:49 Successfully built 9e3a54a6e790 19:47:49 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 19:47:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:47:49 19:47:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:47:50 latest: Pulling from edgex-lftools-log-publisher 19:47:50 5eb5b503b376: Pulling fs layer 19:47:50 5c69ac0246d0: Pulling fs layer 19:47:50 ec43610c2a17: Pulling fs layer 19:47:50 3a2ae6a8a46f: Pulling fs layer 19:47:50 33b1e0a273af: Pulling fs layer 19:47:50 5d3b04190fa2: Pulling fs layer 19:47:50 2f39f015ded8: Pulling fs layer 19:47:50 5d3b04190fa2: Waiting 19:47:50 3a2ae6a8a46f: Waiting 19:47:50 33b1e0a273af: Waiting 19:47:50 2f39f015ded8: Waiting 19:47:50 5c69ac0246d0: Verifying Checksum 19:47:50 5c69ac0246d0: Download complete 19:47:50 3a2ae6a8a46f: Download complete 19:47:50 33b1e0a273af: Verifying Checksum 19:47:50 33b1e0a273af: Download complete 19:47:50 5d3b04190fa2: Verifying Checksum 19:47:50 5d3b04190fa2: Download complete 19:47:50 ec43610c2a17: Verifying Checksum 19:47:50 ec43610c2a17: Download complete 19:47:50 5eb5b503b376: Verifying Checksum 19:47:50 5eb5b503b376: Download complete 19:47:50 2f39f015ded8: Download complete 19:47:51 5eb5b503b376: Pull complete 19:47:51 5c69ac0246d0: Pull complete 19:47:51 ec43610c2a17: Pull complete 19:47:51 3a2ae6a8a46f: Pull complete 19:47:52 33b1e0a273af: Pull complete 19:47:52 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:47:55 provisioning config files... 19:47:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/227@tmp/config5977685060268794730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:56 ---> docker-login.sh 19:47:56 nexus3.edgexfoundry.org:10001 19:47:56 2f39f015ded8: Pull complete 19:47:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:47:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:47:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:56 prd-ubuntu20.04-docker-8c-8g-16773 does not seem to be running inside a container 19:47:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 19:47:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:56 Configure a credential helper to remove this warning. See 19:47:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:56 19:47:56 Login Succeeded 19:47:56 nexus3.edgexfoundry.org:10002 19:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:57 Configure a credential helper to remove this warning. See 19:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:57 19:47:57 Login Succeeded 19:47:57 nexus3.edgexfoundry.org:10003 19:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:57 Configure a credential helper to remove this warning. See 19:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:57 19:47:57 Login Succeeded 19:47:57 nexus3.edgexfoundry.org:10004 19:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:58 Configure a credential helper to remove this warning. See 19:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:58 19:47:58 Login Succeeded 19:47:58 docker.io 19:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:47:58 Configure a credential helper to remove this warning. See 19:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:47:58 19:47:58 Login Succeeded 19:47:58 ---> docker-login.sh ends 19:48:00 $ docker top a2a3552105aa92faf2b435c34758b4cd8e2139fc96c86a41be1ccb2b3eaed9f9 -eo pid,comm [Pipeline] { [Pipeline] } 19:48:00 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 19:48:00 ---> job-cost.sh 19:48:00 lf-activate-venv: SKIPPING 19:48:00 INFO: No Stack... [Pipeline] echo 19:48:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:48:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:48:00 ========================================================= 19:48:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:48:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:01 INFO: Retrieving Pricing Info for: v3-standard-8 19:48:01 + 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 . 19:48:01 INFO: Archiving Costs [Pipeline] sh 19:48:01 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 19:48:01 + cut -d, -f6 [Pipeline] lock 19:48:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-227-stack-cost] 19:48:01 Resource [jenkins-edgexfoundry-device-sdk-go-main-227-stack-cost] did not exist. Created. 19:48:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-227-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:48:01 Sending build context to Docker daemon 6.036MB 19:48:01 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:48:01 Step 2/10 : FROM ${BASE} AS builder 19:48:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:48:01 c41833b44d91: Pulling fs layer 19:48:01 ed15518f5707: Pulling fs layer 19:48:01 feae8fd75edb: Pulling fs layer 19:48:01 242c74f7c9fa: Pulling fs layer 19:48:01 3cdef696dda3: Pulling fs layer 19:48:01 2ced38df9373: Pulling fs layer 19:48:01 58f1dce35555: Pulling fs layer 19:48:01 3cdef696dda3: Waiting 19:48:01 2ced38df9373: Waiting 19:48:01 242c74f7c9fa: Waiting 19:48:01 58f1dce35555: Waiting 19:48:01 ed15518f5707: Verifying Checksum 19:48:01 ed15518f5707: Download complete 19:48:01 242c74f7c9fa: Verifying Checksum 19:48:01 242c74f7c9fa: Download complete 19:48:01 + echo total: 0.2199999988079071 [Pipeline] stash 19:48:02 Stashed 1 file(s) [Pipeline] } 19:48:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-227-stack-cost] [Pipeline] // lock [Pipeline] } 19:48:02 $ docker stop --time=1 a2a3552105aa92faf2b435c34758b4cd8e2139fc96c86a41be1ccb2b3eaed9f9 19:48:02 3cdef696dda3: Verifying Checksum 19:48:02 3cdef696dda3: Download complete 19:48:02 c41833b44d91: Download complete 19:48:03 c41833b44d91: Pull complete 19:48:03 $ docker rm -f --volumes a2a3552105aa92faf2b435c34758b4cd8e2139fc96c86a41be1ccb2b3eaed9f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:48:03 58f1dce35555: Verifying Checksum 19:48:03 58f1dce35555: Download complete 19:48:04 ed15518f5707: Pull complete 19:48:04 feae8fd75edb: Verifying Checksum 19:48:04 feae8fd75edb: Download complete 19:48:04 2ced38df9373: Verifying Checksum 19:48:04 2ced38df9373: Download complete 19:48:17 feae8fd75edb: Pull complete 19:48:17 242c74f7c9fa: Pull complete 19:48:17 3cdef696dda3: Pull complete 19:48:24 2ced38df9373: Pull complete 19:48:25 58f1dce35555: Pull complete 19:48:25 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 19:48:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:48:26 ---> fadd8f120f05 19:48:26 Step 3/10 : ARG MAKE=make build 19:48:27 ---> Running in 3154e0d2fbc1 19:48:27 Removing intermediate container 3154e0d2fbc1 19:48:27 ---> f66bd658a2a2 19:48:27 Step 4/10 : WORKDIR /device-sdk-go 19:48:27 ---> Running in 05b7d394d225 19:48:27 Removing intermediate container 05b7d394d225 19:48:27 ---> 0719f3af6501 19:48:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:48:28 ---> Running in 0be56fbe6b75 19:48:28 Removing intermediate container 0be56fbe6b75 19:48:28 ---> bd30b4bcc6d0 19:48:28 Step 6/10 : RUN apk add --update --no-cache make git 19:48:28 ---> Running in 91c666889b35 19:48:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:48:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:48:31 OK: 263 MiB in 53 packages 19:48:32 Removing intermediate container 91c666889b35 19:48:32 ---> 3d4bd3e40d06 19:48:32 Step 7/10 : COPY go.mod vendor* ./ 19:48:34 ---> eb1046920aea 19:48:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:48:34 ---> Running in 267cd8c6ed15 19:49:42 Removing intermediate container 267cd8c6ed15 19:49:42 ---> 0517c720ae54 19:49:42 Step 9/10 : COPY . . 19:49:42 ---> 8991e37b5a51 19:49:42 Step 10/10 : RUN ${MAKE} 19:49:42 ---> Running in 6869bc3e6ef9 19:49:42 noop 19:49:42 Removing intermediate container 6869bc3e6ef9 19:49:42 ---> ce9df4756b29 19:49:42 Successfully built ce9df4756b29 19:49:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:43 + docker inspect -f . ci-base-image-arm64 19:49:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:49:43 prd-ubuntu20.04-docker-arm64-4c-16g-16775 does not seem to be running inside a container 19:49:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/227 -v /w/workspace/device-sdk-go/227:/w/workspace/device-sdk-go/227:rw,z -v /w/workspace/device-sdk-go/227@tmp:/w/workspace/device-sdk-go/227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:49:44 $ docker top 6626c95f3efc4fe171a90b29d955797a2a734afc675dd684f9b6cdc308bc6aea -eo pid,comm [Pipeline] { [Pipeline] sh 19:49:45 + go version 19:49:45 go version go1.20.2 linux/arm64 [Pipeline] } 19:49:45 $ docker stop --time=1 6626c95f3efc4fe171a90b29d955797a2a734afc675dd684f9b6cdc308bc6aea 19:49:47 $ docker rm -f --volumes 6626c95f3efc4fe171a90b29d955797a2a734afc675dd684f9b6cdc308bc6aea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:47 + docker inspect -f . ci-base-image-arm64 19:49:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:49:48 prd-ubuntu20.04-docker-arm64-4c-16g-16775 does not seem to be running inside a container 19:49:48 $ 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/227 -v /w/workspace/device-sdk-go/227:/w/workspace/device-sdk-go/227:rw,z -v /w/workspace/device-sdk-go/227@tmp:/w/workspace/device-sdk-go/227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:49:49 $ docker top 37af0e37d1eb82695daff853b4374abac6c7462cc4aa647225ea9f3bb34bfb71 -eo pid,comm [Pipeline] { [Pipeline] sh 19:49:50 + git config --global --add safe.directory /w/workspace/device-sdk-go/227 [Pipeline] fileExists [Pipeline] sh 19:49:50 + make test 19:49:50 go test -race -coverprofile=coverage.out ./... 19:50:37 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:52:59 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:52:59 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:52:59 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:52:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:52:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:53:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.241s coverage: 27.6% of statements 19:53:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.301s coverage: 80.2% of statements 19:53:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:53:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:53:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.359s coverage: 86.0% of statements 19:53:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:53:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.476s coverage: 77.5% of statements 19:53:31 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 19:53:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:53:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:53:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.279s coverage: 14.3% of statements 19:53:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.419s coverage: 68.5% of statements 19:53:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.453s coverage: 89.2% of statements 19:53:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:53:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.261s coverage: 5.7% of statements 19:53:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:53:39 GO111MODULE=on go vet ./... 19:56:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:56:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:56:15 ./bin/test-attribution-txt.sh [Pipeline] echo 19:56:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:56:16 $ docker stop --time=1 37af0e37d1eb82695daff853b4374abac6c7462cc4aa647225ea9f3bb34bfb71 19:56:20 $ docker rm -f --volumes 37af0e37d1eb82695daff853b4374abac6c7462cc4aa647225ea9f3bb34bfb71 [Pipeline] // withDockerContainer [Pipeline] sh 19:56:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:56:22 Warning: overwriting stash ‘coverage-report’ 19:56:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:56:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:56:23 + ls -al . 19:56:23 total 280 19:56:23 drwxrwxr-x 10 jenkins jenkins 4096 May 24 19:49 . 19:56:23 drwxrwxr-x 4 jenkins jenkins 4096 May 24 19:47 .. 19:56:23 -rw-rw-r-- 1 jenkins jenkins 140 May 24 19:47 .dockerignore 19:56:23 drwxrwxr-x 8 jenkins jenkins 4096 May 24 19:47 .git 19:56:23 drwxrwxr-x 2 jenkins jenkins 4096 May 24 19:47 .github 19:56:23 -rw-rw-r-- 1 jenkins jenkins 137 May 24 19:47 .gitignore 19:56:23 -rw-rw-r-- 1 jenkins jenkins 42 May 24 19:47 .golangci.yml 19:56:23 -rw-rw-r-- 1 jenkins jenkins 44878 May 24 19:47 CHANGELOG.md 19:56:23 -rw-rw-r-- 1 jenkins jenkins 677 May 24 19:47 GOVERNANCE.md 19:56:23 -rw-rw-r-- 1 jenkins jenkins 885 May 24 19:47 Jenkinsfile 19:56:23 -rw-rw-r-- 1 jenkins jenkins 11341 May 24 19:47 LICENSE 19:56:23 -rw-rw-r-- 1 jenkins jenkins 1714 May 24 19:47 Makefile 19:56:23 -rw-rw-r-- 1 jenkins jenkins 619 May 24 19:47 OWNERS.md 19:56:23 -rw-rw-r-- 1 jenkins jenkins 4891 May 24 19:47 README.md 19:56:23 -rw-rw-r-- 1 jenkins jenkins 12 May 24 19:45 VERSION 19:56:23 drwxrwxr-x 2 jenkins jenkins 4096 May 24 19:47 bin 19:56:23 -rw-r--r-- 1 jenkins jenkins 106148 May 24 19:53 coverage.out 19:56:23 drwxrwxr-x 5 jenkins jenkins 4096 May 24 19:47 example 19:56:23 -rw-rw-r-- 1 jenkins jenkins 3193 May 24 19:47 go.mod 19:56:23 -rw-rw-r-- 1 jenkins jenkins 30699 May 24 19:47 go.sum 19:56:23 drwxrwxr-x 12 jenkins jenkins 4096 May 24 19:47 internal 19:56:23 drwxrwxr-x 3 jenkins jenkins 4096 May 24 19:47 openapi 19:56:23 drwxrwxr-x 6 jenkins jenkins 4096 May 24 19:47 pkg 19:56:23 drwxrwxr-x 4 jenkins jenkins 4096 May 24 19:47 snap 19:56:23 -rw-rw-r-- 1 jenkins jenkins 222 May 24 19:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:56:24 + 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=afe14f99071666e3a8a1e98015d177d59a71e5e7 --label arch=arm64 --label version=3.0.0-dev.96 . 19:56:24 Sending build context to Docker daemon 6.143MB 19:56:24 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 19:56:24 Step 2/23 : FROM ${BASE} AS builder 19:56:24 ---> ce9df4756b29 19:56:24 Step 3/23 : ARG MAKE=make build 19:56:24 ---> Running in e3f8666e7c3a 19:56:25 Removing intermediate container e3f8666e7c3a 19:56:25 ---> 20934d164e47 19:56:25 Step 4/23 : WORKDIR /device-sdk-go 19:56:25 ---> Running in ade687df0cde 19:56:25 Removing intermediate container ade687df0cde 19:56:25 ---> 91fd1ffd2a6b 19:56:25 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:56:25 ---> Running in 9e024a782392 19:56:25 Removing intermediate container 9e024a782392 19:56:25 ---> 22202e63216a 19:56:25 Step 6/23 : RUN apk add --update --no-cache make git 19:56:25 ---> Running in 132b7866e1ed 19:56:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:56:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:56:28 OK: 263 MiB in 53 packages 19:56:29 Removing intermediate container 132b7866e1ed 19:56:29 ---> 9877dbdebb6f 19:56:29 Step 7/23 : COPY go.mod vendor* ./ 19:56:30 ---> 9379b76dfbb4 19:56:30 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:56:30 ---> Running in 41badd002e95 19:56:34 Removing intermediate container 41badd002e95 19:56:34 ---> ac204cc7b583 19:56:34 Step 9/23 : COPY . . 19:56:35 ---> 988e5d148efd 19:56:35 Step 10/23 : RUN ${MAKE} 19:56:35 ---> Running in bc7ad6d885c6 19:56:36 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.96" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:58:58 Removing intermediate container bc7ad6d885c6 19:58:58 ---> 406e5c2890da 19:58:58 Step 11/23 : FROM alpine:3.17 19:58:58 3.17: Pulling from library/alpine 19:58:58 c41833b44d91: Already exists 19:58:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:58:58 Status: Downloaded newer image for alpine:3.17 19:58:58 ---> 51e60588ff2c 19:58:58 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:58:58 ---> Running in b00c20aa454b 19:58:58 Removing intermediate container b00c20aa454b 19:58:58 ---> 7ec520f75caf 19:58:58 Step 13/23 : RUN apk add --update --no-cache 19:58:58 ---> Running in 0a543013b2e4 19:58:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:58:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:58:58 OK: 7 MiB in 15 packages 19:58:58 Removing intermediate container 0a543013b2e4 19:58:58 ---> 1d7701d872f8 19:58:58 Step 14/23 : WORKDIR / 19:58:58 ---> Running in 59bc5aba0824 19:58:58 Removing intermediate container 59bc5aba0824 19:58:58 ---> 18b5733ba652 19:58:58 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:58:58 ---> 9e9b7dbb0b90 19:58:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:58:58 ---> 52cd599be3f4 19:58:58 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:58:58 ---> af158d091038 19:58:58 Step 18/23 : EXPOSE 59999 19:58:58 ---> Running in 7931fea50bcd 19:58:58 Removing intermediate container 7931fea50bcd 19:58:58 ---> 0089de81b7a8 19:58:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:58:58 ---> Running in 743361c07b5e 19:58:58 Removing intermediate container 743361c07b5e 19:58:58 ---> 918e8365344e 19:58:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:58:58 ---> Running in f4a3fa280ffc 19:58:58 Removing intermediate container f4a3fa280ffc 19:58:58 ---> 25b62dd4ffe3 19:58:58 Step 21/23 : LABEL arch=arm64 19:58:58 ---> Running in 32e7d5c11016 19:58:58 Removing intermediate container 32e7d5c11016 19:58:58 ---> 1133cf11bcd0 19:58:58 Step 22/23 : LABEL git_sha=afe14f99071666e3a8a1e98015d177d59a71e5e7 19:58:58 ---> Running in 01a4380a1425 19:58:58 Removing intermediate container 01a4380a1425 19:58:58 ---> efc0a6d9b3a4 19:58:58 Step 23/23 : LABEL version=3.0.0-dev.96 19:58:58 ---> Running in 85525898c18b 19:58:58 Removing intermediate container 85525898c18b 19:58:58 ---> 5419754337ec 19:58:58 [Warning] One or more build-args [ARCH] were not consumed 19:58:58 Successfully built 5419754337ec 19:58:58 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 19:58:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:58:58 19:58:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:58:59 arm64: Pulling from edgex-lftools-log-publisher 19:58:59 8998bd30e6a1: Pulling fs layer 19:58:59 04944245beec: Pulling fs layer 19:58:59 699f458cf7ca: Pulling fs layer 19:58:59 765212b225bb: Pulling fs layer 19:58:59 f23df028b6ca: Pulling fs layer 19:58:59 d65c8cfc05b1: Pulling fs layer 19:58:59 2437ff75d9bd: Pulling fs layer 19:58:59 765212b225bb: Waiting 19:58:59 f23df028b6ca: Waiting 19:58:59 d65c8cfc05b1: Waiting 19:58:59 2437ff75d9bd: Waiting 19:58:59 04944245beec: Verifying Checksum 19:58:59 04944245beec: Download complete 19:58:59 765212b225bb: Verifying Checksum 19:58:59 765212b225bb: Download complete 19:58:59 f23df028b6ca: Verifying Checksum 19:58:59 f23df028b6ca: Download complete 19:58:59 d65c8cfc05b1: Download complete 19:58:59 699f458cf7ca: Verifying Checksum 19:58:59 699f458cf7ca: Download complete 19:58:59 8998bd30e6a1: Verifying Checksum 19:58:59 8998bd30e6a1: Download complete 19:59:02 2437ff75d9bd: Verifying Checksum 19:59:02 2437ff75d9bd: Download complete 19:59:03 8998bd30e6a1: Pull complete 19:59:04 04944245beec: Pull complete 19:59:05 699f458cf7ca: Pull complete 19:59:05 765212b225bb: Pull complete 19:59:06 f23df028b6ca: Pull complete 19:59:06 d65c8cfc05b1: Pull complete 19:59:21 2437ff75d9bd: Pull complete 19:59:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:59:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:59:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:21 prd-ubuntu20.04-docker-arm64-4c-16g-16775 does not seem to be running inside a container 19:59:21 $ 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/227 -v /w/workspace/device-sdk-go/227:/w/workspace/device-sdk-go/227:rw,z -v /w/workspace/device-sdk-go/227@tmp:/w/workspace/device-sdk-go/227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:59:24 $ docker top affe79a02b5ae6a2df2e0398102141b34ccb11dd82f51d7f40e25e87acd72ea6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:25 ---> job-cost.sh 19:59:25 lf-activate-venv: SKIPPING 19:59:25 INFO: No Stack... 19:59:26 INFO: Retrieving Pricing Info for: v3-standard-4 19:59:26 INFO: Archiving Costs [Pipeline] sh 19:59:27 + cat /w/workspace/device-sdk-go/227/archives/cost.csv 19:59:27 + cut -d, -f6 [Pipeline] lock 19:59:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-227-stack-cost] 19:59:27 Resource [jenkins-edgexfoundry-device-sdk-go-main-227-stack-cost] did not exist. Created. 19:59:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-227-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:59:27 /w/workspace/device-sdk-go/227@tmp/durable-875b2f94/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:59:28 + echo total: 0.10999999940395355 [Pipeline] stash 19:59:28 Warning: overwriting stash ‘stack-cost’ 19:59:28 Stashed 1 file(s) [Pipeline] } 19:59:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-227-stack-cost] [Pipeline] // lock [Pipeline] } 19:59:28 $ docker stop --time=1 affe79a02b5ae6a2df2e0398102141b34ccb11dd82f51d7f40e25e87acd72ea6 19:59:29 $ docker rm -f --volumes affe79a02b5ae6a2df2e0398102141b34ccb11dd82f51d7f40e25e87acd72ea6 [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 19:59:30 provisioning config files... 19:59:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14431655677170655763tmp [Pipeline] { [Pipeline] sh 19:59:30 + set +x 19:59:30 + curl -s https://codecov.io/bash 19:59:30 + bash -s -- 19:59:30 19:59:30 _____ _ 19:59:30 / ____| | | 19:59:30 | | ___ __| | ___ ___ _____ __ 19:59:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:59:30 | |___| (_) | (_| | __/ (_| (_) \ V / 19:59:30 \_____\___/ \__,_|\___|\___\___/ \_/ 19:59:30 Bash-1.0.6 19:59:30 19:59:30 19:59:30 ==> git version 2.25.1 found 19:59:30 ==> 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 19:59:30 Release-Date: 2020-01-08 19:59:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:59:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:59:30 ==> Jenkins CI detected. 19:59:30 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 19:59:30 project root: . 19:59:30 --> token set from env 19:59:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:59:30 ==> Running gcov in . (disable via -X gcov) 19:59:30 ==> Python coveragepy not found 19:59:30 ==> Searching for coverage reports in: 19:59:30 + . 19:59:30 -> Found 1 reports 19:59:30 ==> Detecting git/mercurial file structure 19:59:30 ==> Reading reports 19:59:30 + ./coverage.out bytes=106148 19:59:30 ==> Appending adjustments 19:59:30 https://docs.codecov.io/docs/fixing-reports 19:59:30 + Found adjustments 19:59:30 ==> Gzipping contents 19:59:31 16K /tmp/codecov.z4Nl8l.gz 19:59:31 ==> Uploading reports 19:59:31 url: https://codecov.io 19:59:31 query: branch=main&commit=afe14f99071666e3a8a1e98015d177d59a71e5e7&build=227&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F227%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:59:31 -> Pinging Codecov 19:59:31 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=afe14f99071666e3a8a1e98015d177d59a71e5e7&build=227&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F227%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:59:31 -> Uploading to 19:59:31 https://storage.googleapis.com/codecov/v4/raw/2023-05-24/7E55EF52A471D76F132DFD9A03CDDE97/afe14f99071666e3a8a1e98015d177d59a71e5e7/ca941f0f-b042-4ad7-b82d-07e246baf28b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T195930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=adf45f4e5308fdbdaf8f2e88d6bbd0c181334532b8935bc05528548c0c5d33b6 19:59:31 % Total % Received % Xferd Average Speed Time Time Time Current 19:59:31 Dload Upload Total Spent Left Speed 19:59:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15154 0 0 100 15154 0 82358 --:--:-- --:--:-- --:--:-- 82358 19:59:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/afe14f99071666e3a8a1e98015d177d59a71e5e7 [Pipeline] } 19:59:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:59:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:59:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:59:31 19:59:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:59:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:59:32 df9b9388f04a: Pulling fs layer 19:59:32 52dc419b0ee2: Pulling fs layer 19:59:32 25bc292e5bac: Pulling fs layer 19:59:32 114826534d7a: Pulling fs layer 19:59:32 4657fd5d0bcf: Pulling fs layer 19:59:32 6ad1cebc031e: Pulling fs layer 19:59:32 8a3aa393b2d8: Pulling fs layer 19:59:32 4657fd5d0bcf: Waiting 19:59:32 6ad1cebc031e: Waiting 19:59:32 8a3aa393b2d8: Waiting 19:59:32 114826534d7a: Waiting 19:59:32 25bc292e5bac: Verifying Checksum 19:59:32 25bc292e5bac: Download complete 19:59:32 52dc419b0ee2: Download complete 19:59:32 4657fd5d0bcf: Verifying Checksum 19:59:32 4657fd5d0bcf: Download complete 19:59:32 df9b9388f04a: Verifying Checksum 19:59:32 df9b9388f04a: Download complete 19:59:32 df9b9388f04a: Pull complete 19:59:32 52dc419b0ee2: Pull complete 19:59:32 6ad1cebc031e: Verifying Checksum 19:59:32 6ad1cebc031e: Download complete 19:59:32 25bc292e5bac: Pull complete 19:59:32 114826534d7a: Verifying Checksum 19:59:32 114826534d7a: Download complete 19:59:32 8a3aa393b2d8: Verifying Checksum 19:59:32 8a3aa393b2d8: Download complete 19:59:37 114826534d7a: Pull complete 19:59:37 4657fd5d0bcf: Pull complete 19:59:37 6ad1cebc031e: Pull complete 19:59:39 8a3aa393b2d8: Pull complete 19:59:39 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:59:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:59:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:39 prd-ubuntu20.04-docker-8c-8g-16773 does not seem to be running inside a container 19:59:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:59:43 $ docker top f9f21a2f3e2cae9cadf76c83cf0a92037a676e32b7d4ccf830dac435286726dd -eo pid,comm [Pipeline] { [Pipeline] echo 19:59:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 19:59:43 + set -o pipefail 19:59:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 19:59:47 19:59:47 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 19:59:47 19:59:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/329606b4-cccf-4ae6-bc7f-e946367e689d 19:59:47 19:59:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:59:47 19:59:48 19:59:48 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:59:48 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:59:48 More details here: https://snyk.co/ue1NS [Pipeline] } 19:59:48 $ docker stop --time=1 f9f21a2f3e2cae9cadf76c83cf0a92037a676e32b7d4ccf830dac435286726dd 19:59:51 $ docker rm -f --volumes f9f21a2f3e2cae9cadf76c83cf0a92037a676e32b7d4ccf830dac435286726dd [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 19:59:51 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:59:51 provisioning config files... 19:59:51 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13303836494318469830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:59:51 --> edgex-publish-swagger.sh 19:59:51 === Publish openapi/v3 API === 19:59:51 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 19:59:51 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 19:59:51 % Total % Received % Xferd Average Speed Time Time Time Current 19:59:51 Dload Upload Total Spent Left Speed 19:59:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 47633 --:--:-- --:--:-- --:--:-- 47633 19:59:52 19:59:52 [Pipeline] } 19:59:52 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 19:59:52 + git log --format=format:%s -1 afe14f99071666e3a8a1e98015d177d59a71e5e7 [Pipeline] sh 19:59:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:59:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:59:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:53 prd-ubuntu20.04-docker-8c-8g-16773 does not seem to be running inside a container 19:59:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:59:53 $ docker top 476901f309da2203c3cf578a8c3e00d80b46f2a2501600f9f538751a6cfe72aa -eo pid,comm 19:59:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:59:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:59:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:59:53 [ssh-agent] Looking for ssh-agent implementation... 19:59:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:59:53 $ docker exec 476901f309da2203c3cf578a8c3e00d80b46f2a2501600f9f538751a6cfe72aa ssh-agent 19:59:54 SSH_AUTH_SOCK=/tmp/ssh-9hz8ZDc4JxsT/agent.33 19:59:54 SSH_AGENT_PID=39 19:59:54 Running ssh-add (command line suppressed) 19:59:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4158478209064961.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4158478209064961.key) 19:59:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:59:54 + git semver tag 19:59:54 2023-05-24 19:59:54,629 [run_tag] DEBUG tag force:False 19:59:54 2023-05-24 19:59:54,629 [check_head_tag] DEBUG check head tag 19:59:54 2023-05-24 19:59:54,632 [execute] INFO git cat-file --batch-check 19:59:54 2023-05-24 19:59:54,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:59:54 2023-05-24 19:59:54,635 [execute] INFO git cat-file --batch 19:59:54 2023-05-24 19:59:54,636 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:59:54 2023-05-24 19:59:54,677 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:59:54 2023-05-24 19:59:54,677 [execute] INFO git tag -a v3.0.0-dev.96 -m v3.0.0-dev.96 19:59:54 2023-05-24 19:59:54,678 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.96', '-m', 'v3.0.0-dev.96'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 19:59:54 2023-05-24 19:59:54,682 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:59:54 3.0.0-dev.96 [Pipeline] } 19:59:54 $ docker exec --env ******** --env ******** 476901f309da2203c3cf578a8c3e00d80b46f2a2501600f9f538751a6cfe72aa ssh-agent -k 19:59:54 unset SSH_AUTH_SOCK; 19:59:54 unset SSH_AGENT_PID; 19:59:54 echo Agent pid 39 killed; 19:59:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:59:55 + git semver [Pipeline] } 19:59:55 $ docker stop --time=1 476901f309da2203c3cf578a8c3e00d80b46f2a2501600f9f538751a6cfe72aa 19:59:56 $ docker rm -f --volumes 476901f309da2203c3cf578a8c3e00d80b46f2a2501600f9f538751a6cfe72aa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:59:57 19:59:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:59:57 0.23.1-centos7: Pulling from edgex-lftools 19:59:57 ab5ef0e58194: Pulling fs layer 19:59:57 9712f1f96733: Pulling fs layer 19:59:57 63f879dbbcfc: Pulling fs layer 19:59:57 0d9ebad4ef96: Pulling fs layer 19:59:57 e9a5061849ea: Pulling fs layer 19:59:57 d747dcd14b5f: Pulling fs layer 19:59:57 2de7ff778b66: Pulling fs layer 19:59:57 e9a5061849ea: Waiting 19:59:57 d747dcd14b5f: Waiting 19:59:57 2de7ff778b66: Waiting 19:59:57 0d9ebad4ef96: Waiting 19:59:57 9712f1f96733: Verifying Checksum 19:59:57 9712f1f96733: Download complete 19:59:57 63f879dbbcfc: Verifying Checksum 19:59:57 63f879dbbcfc: Download complete 19:59:57 e9a5061849ea: Verifying Checksum 19:59:57 e9a5061849ea: Download complete 19:59:57 d747dcd14b5f: Verifying Checksum 19:59:57 d747dcd14b5f: Download complete 19:59:57 0d9ebad4ef96: Verifying Checksum 19:59:57 0d9ebad4ef96: Download complete 19:59:57 ab5ef0e58194: Verifying Checksum 19:59:57 ab5ef0e58194: Download complete 19:59:58 2de7ff778b66: Verifying Checksum 19:59:58 2de7ff778b66: Download complete 20:00:00 ab5ef0e58194: Pull complete 20:00:00 9712f1f96733: Pull complete 20:00:01 63f879dbbcfc: Pull complete 20:00:05 0d9ebad4ef96: Pull complete 20:00:05 e9a5061849ea: Pull complete 20:00:05 d747dcd14b5f: Pull complete 20:00:06 2de7ff778b66: Pull complete 20:00:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:00:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:00:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:06 prd-ubuntu20.04-docker-8c-8g-16773 does not seem to be running inside a container 20:00:06 $ 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 20:00:11 $ docker top c30d6b39baa6286771908e3f0e839cd2955a48905ba3584c0cb5126d72754cdb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:00:11 provisioning config files... 20:00:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10567579960297378330tmp 20:00:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1733613251835953832tmp 20:00:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3271889465073257005tmp [Pipeline] { [Pipeline] echo 20:00:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:00:11 ---> sigul-configuration.sh 20:00:11 gpg: directory `/root/.gnupg' created 20:00:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:00:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:00:11 gpg: keyring `/root/.gnupg/secring.gpg' created 20:00:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:00:11 gpg: CAST5 encrypted data 20:00:11 gpg: encrypted with 1 passphrase 20:00:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:00:12 + mkdir /home/jenkins 20:00:12 + mkdir /home/jenkins/sigul [Pipeline] sh 20:00:12 + 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 20:00:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:00:12 ---> sigul-install.sh 20:00:12 Sigul already installed; skipping installation. [Pipeline] sh 20:00:13 + git tag --list 20:00:13 0.7.1 20:00:13 delhi-tag 20:00:13 v1.0.0 20:00:13 v1.1.0 20:00:13 v1.1.1 20:00:13 v1.1.2 20:00:13 v1.2.0 20:00:13 v1.2.1 20:00:13 v1.2.2 20:00:13 v1.2.3 20:00:13 v1.3.0 20:00:13 v1.4.0 20:00:13 v2.0.0 20:00:13 v2.1.0 20:00:13 v2.1.1 20:00:13 v2.1.1-dev.2 20:00:13 v2.1.1-dev.3 20:00:13 v2.2.0 20:00:13 v2.2.1-dev.1 20:00:13 v2.2.1-dev.10 20:00:13 v2.2.1-dev.11 20:00:13 v2.2.1-dev.12 20:00:13 v2.2.1-dev.13 20:00:13 v2.2.1-dev.14 20:00:13 v2.2.1-dev.2 20:00:13 v2.2.1-dev.3 20:00:13 v2.2.1-dev.4 20:00:13 v2.2.1-dev.5 20:00:13 v2.2.1-dev.6 20:00:13 v2.2.1-dev.7 20:00:13 v2.2.1-dev.8 20:00:13 v2.2.1-dev.9 20:00:13 v2.3.0 20:00:13 v2.3.0-dev.14 20:00:13 v2.3.0-dev.15 20:00:13 v2.3.0-dev.16 20:00:13 v2.3.0-dev.17 20:00:13 v2.3.0-dev.18 20:00:13 v2.3.0-dev.19 20:00:13 v2.3.0-dev.20 20:00:13 v2.3.0-dev.21 20:00:13 v2.3.0-dev.22 20:00:13 v2.3.0-dev.23 20:00:13 v2.3.0-dev.24 20:00:13 v2.3.0-dev.25 20:00:13 v2.3.0-dev.26 20:00:13 v2.3.0-dev.27 20:00:13 v2.3.0-dev.28 20:00:13 v2.3.0-dev.29 20:00:13 v2.3.0-dev.30 20:00:13 v2.3.0-dev.31 20:00:13 v2.3.0-dev.32 20:00:13 v2.3.0-dev.33 20:00:13 v2.3.0-dev.34 20:00:13 v2.3.0-dev.35 20:00:13 v2.3.0-dev.36 20:00:13 v2.3.0-dev.37 20:00:13 v2.3.0-dev.38 20:00:13 v2.3.0-dev.39 20:00:13 v2.3.0-dev.40 20:00:13 v2.3.0-dev.41 20:00:13 v2.3.0-dev.42 20:00:13 v2.3.0-dev.43 20:00:13 v2.3.0-dev.44 20:00:13 v2.3.0-dev.45 20:00:13 v2.3.0-dev.46 20:00:13 v2.3.0-dev.47 20:00:13 v2.3.0-dev.48 20:00:13 v2.3.0-dev.49 20:00:13 v2.3.0-dev.50 20:00:13 v2.3.0-dev.51 20:00:13 v2.3.1 20:00:13 v2.3.1-dev.1 20:00:13 v2.3.1-dev.2 20:00:13 v2.3.1-dev.3 20:00:13 v2.3.1-dev.4 20:00:13 v3.0.0-dev.1 20:00:13 v3.0.0-dev.10 20:00:13 v3.0.0-dev.11 20:00:13 v3.0.0-dev.12 20:00:13 v3.0.0-dev.13 20:00:13 v3.0.0-dev.14 20:00:13 v3.0.0-dev.15 20:00:13 v3.0.0-dev.16 20:00:13 v3.0.0-dev.17 20:00:13 v3.0.0-dev.18 20:00:13 v3.0.0-dev.19 20:00:13 v3.0.0-dev.2 20:00:13 v3.0.0-dev.20 20:00:13 v3.0.0-dev.21 20:00:13 v3.0.0-dev.22 20:00:13 v3.0.0-dev.23 20:00:13 v3.0.0-dev.24 20:00:13 v3.0.0-dev.25 20:00:13 v3.0.0-dev.26 20:00:13 v3.0.0-dev.27 20:00:13 v3.0.0-dev.28 20:00:13 v3.0.0-dev.29 20:00:13 v3.0.0-dev.3 20:00:13 v3.0.0-dev.30 20:00:13 v3.0.0-dev.31 20:00:13 v3.0.0-dev.32 20:00:13 v3.0.0-dev.33 20:00:13 v3.0.0-dev.34 20:00:13 v3.0.0-dev.35 20:00:13 v3.0.0-dev.36 20:00:13 v3.0.0-dev.37 20:00:13 v3.0.0-dev.38 20:00:13 v3.0.0-dev.39 20:00:13 v3.0.0-dev.4 20:00:13 v3.0.0-dev.40 20:00:13 v3.0.0-dev.41 20:00:13 v3.0.0-dev.42 20:00:13 v3.0.0-dev.43 20:00:13 v3.0.0-dev.44 20:00:13 v3.0.0-dev.45 20:00:13 v3.0.0-dev.46 20:00:13 v3.0.0-dev.47 20:00:13 v3.0.0-dev.48 20:00:13 v3.0.0-dev.49 20:00:13 v3.0.0-dev.5 20:00:13 v3.0.0-dev.50 20:00:13 v3.0.0-dev.51 20:00:13 v3.0.0-dev.52 20:00:13 v3.0.0-dev.53 20:00:13 v3.0.0-dev.54 20:00:13 v3.0.0-dev.55 20:00:13 v3.0.0-dev.56 20:00:13 v3.0.0-dev.57 20:00:13 v3.0.0-dev.58 20:00:13 v3.0.0-dev.59 20:00:13 v3.0.0-dev.6 20:00:13 v3.0.0-dev.60 20:00:13 v3.0.0-dev.61 20:00:13 v3.0.0-dev.62 20:00:13 v3.0.0-dev.63 20:00:13 v3.0.0-dev.64 20:00:13 v3.0.0-dev.65 20:00:13 v3.0.0-dev.66 20:00:13 v3.0.0-dev.67 20:00:13 v3.0.0-dev.68 20:00:13 v3.0.0-dev.69 20:00:13 v3.0.0-dev.7 20:00:13 v3.0.0-dev.70 20:00:13 v3.0.0-dev.71 20:00:13 v3.0.0-dev.72 20:00:13 v3.0.0-dev.73 20:00:13 v3.0.0-dev.74 20:00:13 v3.0.0-dev.75 20:00:13 v3.0.0-dev.76 20:00:13 v3.0.0-dev.77 20:00:13 v3.0.0-dev.78 20:00:13 v3.0.0-dev.79 20:00:13 v3.0.0-dev.8 20:00:13 v3.0.0-dev.80 20:00:13 v3.0.0-dev.81 20:00:13 v3.0.0-dev.82 20:00:13 v3.0.0-dev.83 20:00:13 v3.0.0-dev.84 20:00:13 v3.0.0-dev.85 20:00:13 v3.0.0-dev.86 20:00:13 v3.0.0-dev.87 20:00:13 v3.0.0-dev.88 20:00:13 v3.0.0-dev.89 20:00:13 v3.0.0-dev.9 20:00:13 v3.0.0-dev.90 20:00:13 v3.0.0-dev.91 20:00:13 v3.0.0-dev.92 20:00:13 v3.0.0-dev.93 20:00:13 v3.0.0-dev.94 20:00:13 v3.0.0-dev.95 20:00:13 v3.0.0-dev.96 [Pipeline] sh 20:00:13 + lftools sign git-tag v3.0.0-dev.96 20:00:14 Signing Git tag with Sigul... 20:00:14 Signing v3.0.0-dev.96 [Pipeline] echo 20:00:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:00:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:00:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:00:14 $ docker stop --time=1 c30d6b39baa6286771908e3f0e839cd2955a48905ba3584c0cb5126d72754cdb 20:00:15 $ docker rm -f --volumes c30d6b39baa6286771908e3f0e839cd2955a48905ba3584c0cb5126d72754cdb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:00:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:00:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:00:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:16 prd-ubuntu20.04-docker-8c-8g-16773 does not seem to be running inside a container 20:00: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 20:00:17 $ docker top f1016dde034667026cbb31e5c1731ee41e8fcc7dae350889981b2c973c8c8ca7 -eo pid,comm 20:00:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:00:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:00:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:00:17 [ssh-agent] Looking for ssh-agent implementation... 20:00:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:00:17 $ docker exec f1016dde034667026cbb31e5c1731ee41e8fcc7dae350889981b2c973c8c8ca7 ssh-agent 20:00:17 SSH_AUTH_SOCK=/tmp/ssh-1iLzwTjpjTbT/agent.32 20:00:17 SSH_AGENT_PID=38 20:00:17 Running ssh-add (command line suppressed) 20:00:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18197181029780365916.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18197181029780365916.key) 20:00:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:00:17 + git semver bump pre 20:00:18 2023-05-24 20:00:17,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:00:18 2023-05-24 20:00:17,965 [bump_version] DEBUG bumping version:3.0.0-dev.96 on axis:pre with prefix:dev 20:00:18 2023-05-24 20:00:17,965 [bump_version] DEBUG bumped version:3.0.0-dev.97 20:00:18 2023-05-24 20:00:17,965 [write_version] DEBUG write version:3.0.0-dev.97 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 20:00:18 2023-05-24 20:00:17,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:00:18 2023-05-24 20:00:17,965 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:00:18 2023-05-24 20:00:17,967 [execute] INFO git cat-file --batch-check 20:00:18 2023-05-24 20:00:17,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:00:18 2023-05-24 20:00:17,972 [execute] INFO git cat-file --batch 20:00:18 2023-05-24 20:00:17,972 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:00:18 2023-05-24 20:00:17,978 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:00:18 3.0.0-dev.97 [Pipeline] } 20:00:18 $ docker exec --env ******** --env ******** f1016dde034667026cbb31e5c1731ee41e8fcc7dae350889981b2c973c8c8ca7 ssh-agent -k 20:00:18 unset SSH_AUTH_SOCK; 20:00:18 unset SSH_AGENT_PID; 20:00:18 echo Agent pid 38 killed; 20:00:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:00:18 + git semver [Pipeline] } 20:00:18 $ docker stop --time=1 f1016dde034667026cbb31e5c1731ee41e8fcc7dae350889981b2c973c8c8ca7 20:00:20 $ docker rm -f --volumes f1016dde034667026cbb31e5c1731ee41e8fcc7dae350889981b2c973c8c8ca7 [Pipeline] // withDockerContainer [Pipeline] sh 20:00:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:00:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:00:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:20 prd-ubuntu20.04-docker-8c-8g-16773 does not seem to be running inside a container 20:00:20 $ 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 20:00:21 $ docker top e23833ade1b8f5e038668139a4abc96bbcfdb728ccceedf743251babc837928c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:00:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:00:21 [ssh-agent] Looking for ssh-agent implementation... 20:00:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:00:21 $ docker exec e23833ade1b8f5e038668139a4abc96bbcfdb728ccceedf743251babc837928c ssh-agent 20:00:21 SSH_AUTH_SOCK=/tmp/ssh-drRkHk4DkH2S/agent.31 20:00:21 SSH_AGENT_PID=37 20:00:21 Running ssh-add (command line suppressed) 20:00:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13996607229661540055.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13996607229661540055.key) 20:00:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:00:21 + git semver push 20:00:22 2023-05-24 20:00:21,976 [run_push] DEBUG push 20:00:22 2023-05-24 20:00:21,976 [execute] INFO git cat-file --batch-check 20:00:22 2023-05-24 20:00:21,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:00:22 2023-05-24 20:00:21,981 [execute] INFO git rev-list 82239e3dd475194be9eb7560031fac273ab9470d -- 20:00:22 2023-05-24 20:00:21,981 [execute] DEBUG Popen(['git', 'rev-list', '82239e3dd475194be9eb7560031fac273ab9470d', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:00:22 2023-05-24 20:00:21,995 [execute] INFO git fetch -v origin 20:00:22 2023-05-24 20:00:21,995 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:00:22 2023-05-24 20:00:22,494 [run_push] DEBUG no remote changes detected 20:00:22 2023-05-24 20:00:22,495 [execute] INFO git push origin semver 20:00:22 2023-05-24 20:00:22,495 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:00:23 2023-05-24 20:00:23,281 [run_push] DEBUG push all version tags 20:00:23 2023-05-24 20:00:23,281 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:00:23 2023-05-24 20:00:23,282 [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) 20:00:24 2023-05-24 20:00:24,065 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:00:24 3.0.0-dev.97 [Pipeline] } 20:00:24 $ docker exec --env ******** --env ******** e23833ade1b8f5e038668139a4abc96bbcfdb728ccceedf743251babc837928c ssh-agent -k 20:00:24 unset SSH_AUTH_SOCK; 20:00:24 unset SSH_AGENT_PID; 20:00:24 echo Agent pid 37 killed; 20:00:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:00:24 + git semver [Pipeline] } 20:00:24 $ docker stop --time=1 e23833ade1b8f5e038668139a4abc96bbcfdb728ccceedf743251babc837928c 20:00:26 $ docker rm -f --volumes e23833ade1b8f5e038668139a4abc96bbcfdb728ccceedf743251babc837928c [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 20:00:26 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 20:00:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 20:00:26 total 16 20:00:26 drwxr-xr-x 3 root root 4096 May 24 19:48 . 20:00:26 drwxrwxr-x 12 jenkins jenkins 4096 May 24 20:00 .. 20:00:26 drwxr-xr-x 2 root root 4096 May 24 19:48 cost 20:00:26 -rw-r--r-- 1 root root 85 May 24 19:48 cost.csv 20:00:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 20:00:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 20:00:26 total 16 20:00:26 drwxr-xr-x 3 jenkins jenkins 4096 May 24 19:48 . 20:00:26 drwxrwxr-x 12 jenkins jenkins 4096 May 24 20:00 .. 20:00:26 drwxr-xr-x 2 jenkins jenkins 4096 May 24 19:48 cost 20:00:26 -rw-r--r-- 1 jenkins jenkins 85 May 24 19:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:00:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:00:28 ---> package-listing.sh 20:00:28 ++ facter osfamily 20:00:28 ++ tr '[:upper:]' '[:lower:]' 20:00:28 + OS_FAMILY=debian 20:00:28 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 20:00:28 + START_PACKAGES=/tmp/packages_start.txt 20:00:28 + END_PACKAGES=/tmp/packages_end.txt 20:00:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:00:28 + PACKAGES=/tmp/packages_start.txt 20:00:28 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 20:00:28 + PACKAGES=/tmp/packages_end.txt 20:00:28 + case "${OS_FAMILY}" in 20:00:28 + grep '^ii' 20:00:28 + dpkg -l 20:00:28 + '[' -f /tmp/packages_start.txt ']' 20:00:28 + '[' -f /tmp/packages_end.txt ']' 20:00:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:00:28 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 20:00:28 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 20:00:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 20:00:28 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 20:00:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:00:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:29 prd-ubuntu20.04-docker-8c-8g-16773 does not seem to be running inside a container 20:00:29 $ 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 20:00:29 $ docker top b19b902e5b822e0cbd19c93cc280a43ee267a583bde85ba4fd6f8c185b823bc2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:00:29 + touch /tmp/pre-build-complete [Pipeline] sh 20:00:30 + mkdir -p /var/log/sysstat [Pipeline] sh 20:00:30 + ls /var/log/sa-host 20:00:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:00:30 provisioning config files... 20:00:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10273138340330164042tmp [Pipeline] { [Pipeline] echo 20:00:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:00:30 ---> create-netrc.sh [Pipeline] } 20:00:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:00:31 ---> python-tools-install.sh [Pipeline] echo 20:00:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:00:31 ---> sudo-logs.sh 20:00:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:00:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:00:31 ---> job-cost.sh 20:00:31 lf-activate-venv: SKIPPING 20:00:31 DEBUG: total: 0.2199999988079071 20:00:31 INFO: Retrieving Stack Cost... 20:00:31 INFO: Retrieving Pricing Info for: v3-standard-8 20:00:32 INFO: Archiving Costs [Pipeline] echo 20:00:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:00:32 ---> logs-deploy.sh 20:00:32 lf-activate-venv: SKIPPING 20:00:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/227 20:00:32 INFO: archiving workspace using pattern(s): 20:00:33 Archives upload complete. 20:00:33 INFO: archiving logs to Nexus