Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b5907fa8314056950bcd679d495ce1473a19c65 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-ssh11766798038220521238.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5466537960397495027.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh1204553281149480375.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh9540946490466700590.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-ssh12095387549871068549.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6969 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 5b5907fa8314056950bcd679d495ce1473a19c65 (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 5b5907fa8314056950bcd679d495ce1473a19c65 # timeout=10 Commit message: "Merge pull request #1416 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.63" > git rev-list --no-walk 661b18549173505f3afdb4be110c3839c952cb0c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:17:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:17:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:17:07 ========================================================= 05:17:07 EdgeX Global Pipelines Version Info 05:17:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:17:08 ------------------- 05:17:08 stable info: 05:17:08 ------------------- 05:17:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:17:08 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 05:17:08 Message: update stable to v1.0.245 05:17:08 ------------------- 05:17:08 experimental info: 05:17:08 ------------------- 05:17:08 Commited By: **** collab-it+edgex@linuxfoundation.org 05:17:08 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 05:17:08 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b5907fa8314056950bcd679d495ce1473a19c65 [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b5907f [Pipeline] echo 05:17:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:09 provisioning config files... 05:17:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9602021924746375983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:09 ---> docker-login.sh 05:17:09 nexus3.edgexfoundry.org:10001 05:17:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:09 Configure a credential helper to remove this warning. See 05:17:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:09 05:17:09 Login Succeeded 05:17:09 nexus3.edgexfoundry.org:10002 05:17:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:09 Configure a credential helper to remove this warning. See 05:17:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:09 05:17:09 Login Succeeded 05:17:10 nexus3.edgexfoundry.org:10003 05:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:10 Configure a credential helper to remove this warning. See 05:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:10 05:17:10 Login Succeeded 05:17:10 nexus3.edgexfoundry.org:10004 05:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:10 Configure a credential helper to remove this warning. See 05:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:10 05:17:10 Login Succeeded 05:17:10 docker.io 05:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:10 Configure a credential helper to remove this warning. See 05:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:10 05:17:10 Login Succeeded 05:17:10 ---> docker-login.sh ends [Pipeline] } 05:17:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:17:10 + git rev-list -1 --merges 5b5907fa8314056950bcd679d495ce1473a19c65~1..5b5907fa8314056950bcd679d495ce1473a19c65 [Pipeline] echo 05:17:10 -----------> git rev-list -1 --merges 5b5907fa8314056950bcd679d495ce1473a19c65~1..5b5907fa8314056950bcd679d495ce1473a19c65 5b5907fa8314056950bcd679d495ce1473a19c65 05:17:10 5b5907fa8314056950bcd679d495ce1473a19c65 [false] [Pipeline] sh 05:17:11 + git log --format=format:%s -1 5b5907fa8314056950bcd679d495ce1473a19c65 [Pipeline] echo 05:17:11 ========================================================= 05:17:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:17:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:17:11 + git log --format=format:%s -1 5b5907fa8314056950bcd679d495ce1473a19c65 [Pipeline] echo 05:17:11 [semverPrep] GIT_COMMIT: 5b5907fa8314056950bcd679d495ce1473a19c65, Commit Message: Merge pull request #1416 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.63 [Pipeline] echo 05:17:11 [semverPrep] This is not a build commit. [Pipeline] sh 05:17:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:17:11 + grep -v github /etc/ssh/ssh_known_hosts 05:17:11 + [ -e /tmp/ssh_known_hosts ] 05:17:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:17:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:17:11 + sudo tee -a /etc/ssh/ssh_known_hosts 05:17:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:12 05:17:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:12 0.1.4: Pulling from edgex-devops/py-git-semver 05:17:12 b85a868b505f: Pulling fs layer 05:17:12 e2be974225ed: Pulling fs layer 05:17:12 339a4e72a1f5: Pulling fs layer 05:17:12 988bab9f4d93: Pulling fs layer 05:17:12 1469e6f7b9e6: Pulling fs layer 05:17:12 eaf3925da568: Pulling fs layer 05:17:12 bab4dde63d76: Pulling fs layer 05:17:12 bde34c3a00c8: Pulling fs layer 05:17:12 b352a97aabf1: Pulling fs layer 05:17:12 4872d77fe225: Pulling fs layer 05:17:12 5851b861e8e6: Pulling fs layer 05:17:12 bab4dde63d76: Waiting 05:17:12 bde34c3a00c8: Waiting 05:17:12 b352a97aabf1: Waiting 05:17:12 988bab9f4d93: Waiting 05:17:12 4872d77fe225: Waiting 05:17:12 5851b861e8e6: Waiting 05:17:12 eaf3925da568: Waiting 05:17:12 1469e6f7b9e6: Waiting 05:17:12 e2be974225ed: Download complete 05:17:12 988bab9f4d93: Verifying Checksum 05:17:12 988bab9f4d93: Download complete 05:17:12 1469e6f7b9e6: Verifying Checksum 05:17:12 1469e6f7b9e6: Download complete 05:17:12 339a4e72a1f5: Verifying Checksum 05:17:12 339a4e72a1f5: Download complete 05:17:12 eaf3925da568: Verifying Checksum 05:17:12 eaf3925da568: Download complete 05:17:12 bde34c3a00c8: Verifying Checksum 05:17:12 bde34c3a00c8: Download complete 05:17:12 b352a97aabf1: Verifying Checksum 05:17:12 b352a97aabf1: Download complete 05:17:12 4872d77fe225: Verifying Checksum 05:17:12 4872d77fe225: Download complete 05:17:12 b85a868b505f: Download complete 05:17:13 bab4dde63d76: Verifying Checksum 05:17:13 bab4dde63d76: Download complete 05:17:14 b85a868b505f: Pull complete 05:17:14 e2be974225ed: Pull complete 05:17:14 339a4e72a1f5: Pull complete 05:17:14 988bab9f4d93: Pull complete 05:17:14 1469e6f7b9e6: Pull complete 05:17:14 eaf3925da568: Pull complete 05:17:16 bab4dde63d76: Pull complete 05:17:16 bde34c3a00c8: Pull complete 05:17:16 b352a97aabf1: Pull complete 05:17:16 4872d77fe225: Pull complete 05:17:17 5851b861e8e6: Pull complete 05:17:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:17:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:17:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:17 prd-ubuntu20.04-docker-8c-8g-6969 does not seem to be running inside a container 05:17:17 $ 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 05:17:19 $ docker top 0ea2f9194e0ab7ab6b2543334f5bff11b8411da29cd257db4d112df1a16dd2fc -eo pid,comm 05:17:19 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). 05:17:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:17:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:19 [ssh-agent] Looking for ssh-agent implementation... 05:17:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:19 $ docker exec 0ea2f9194e0ab7ab6b2543334f5bff11b8411da29cd257db4d112df1a16dd2fc ssh-agent 05:17:19 SSH_AUTH_SOCK=/tmp/ssh-r104HqkxcqO2/agent.31 05:17:19 SSH_AGENT_PID=37 05:17:19 Running ssh-add (command line suppressed) 05:17:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18214061376572201672.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18214061376572201672.key) 05:17:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:20 + git tag --points-at HEAD [Pipeline] } 05:17:20 $ docker exec --env ******** --env ******** 0ea2f9194e0ab7ab6b2543334f5bff11b8411da29cd257db4d112df1a16dd2fc ssh-agent -k 05:17:20 unset SSH_AUTH_SOCK; 05:17:20 unset SSH_AGENT_PID; 05:17:20 echo Agent pid 37 killed; 05:17:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:17:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:17:20 [ssh-agent] Looking for ssh-agent implementation... 05:17:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:17:20 $ docker exec 0ea2f9194e0ab7ab6b2543334f5bff11b8411da29cd257db4d112df1a16dd2fc ssh-agent 05:17:20 SSH_AUTH_SOCK=/tmp/ssh-JAwhr6QbCsUb/agent.69 05:17:20 SSH_AGENT_PID=75 05:17:20 Running ssh-add (command line suppressed) 05:17:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13966171327699515116.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13966171327699515116.key) 05:17:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:17:21 + git semver init 05:17:21 2023-04-06 05:17:21,251 [run_init] DEBUG init version:0.0.0 force:False 05:17:21 2023-04-06 05:17:21,252 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:17:21 2023-04-06 05:17:21,252 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:17:21 2023-04-06 05:17:21,253 [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) 05:17:22 2023-04-06 05:17:22,148 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:17:22 2023-04-06 05:17:22,148 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:17:22 2023-04-06 05:17:22,148 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:17:22 2023-04-06 05:17:22,148 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:17:22 3.0.0-dev.64 [Pipeline] } 05:17:22 $ docker exec --env ******** --env ******** 0ea2f9194e0ab7ab6b2543334f5bff11b8411da29cd257db4d112df1a16dd2fc ssh-agent -k 05:17:22 unset SSH_AUTH_SOCK; 05:17:22 unset SSH_AGENT_PID; 05:17:22 echo Agent pid 75 killed; 05:17:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:17:22 + git semver [Pipeline] } 05:17:22 $ docker stop --time=1 0ea2f9194e0ab7ab6b2543334f5bff11b8411da29cd257db4d112df1a16dd2fc 05:17:24 $ docker rm -f --volumes 0ea2f9194e0ab7ab6b2543334f5bff11b8411da29cd257db4d112df1a16dd2fc [Pipeline] // withDockerContainer [Pipeline] sh 05:17:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:17:24 Stashed 1 file(s) [Pipeline] echo 05:17:24 [edgeXSemver]: initialized semver on version 3.0.0-dev.64 [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 05:17:24 provisioning config files... 05:17:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10585985418096929551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:25 ---> docker-login.sh 05:17:25 nexus3.edgexfoundry.org:10001 05:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:25 Configure a credential helper to remove this warning. See 05:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:25 05:17:25 Login Succeeded 05:17:25 nexus3.edgexfoundry.org:10002 05:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:25 Configure a credential helper to remove this warning. See 05:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:25 05:17:25 Login Succeeded 05:17:25 nexus3.edgexfoundry.org:10003 05:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:25 Configure a credential helper to remove this warning. See 05:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:25 05:17:25 Login Succeeded 05:17:25 nexus3.edgexfoundry.org:10004 05:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:25 Configure a credential helper to remove this warning. See 05:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:25 05:17:25 Login Succeeded 05:17:25 docker.io 05:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:25 Configure a credential helper to remove this warning. See 05:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:25 05:17:25 Login Succeeded 05:17:25 ---> docker-login.sh ends [Pipeline] } 05:17:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:17:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:17:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:17:25 ========================================================= 05:17:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:17:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:26 + 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 . 05:17:26 Sending build context to Docker daemon 10.91MB 05:17:26 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:17:26 Step 2/10 : FROM ${BASE} AS builder 05:17:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:17:26 63b65145d645: Pulling fs layer 05:17:26 a2d21d5440eb: Pulling fs layer 05:17:26 935e6c44a52c: Pulling fs layer 05:17:26 94cc34f8dd06: Pulling fs layer 05:17:26 30dea6a524f1: Pulling fs layer 05:17:26 a2aff8979fd8: Pulling fs layer 05:17:26 6808be2612f2: Pulling fs layer 05:17:26 f25807f1079a: Pulling fs layer 05:17:26 30dea6a524f1: Waiting 05:17:26 a2aff8979fd8: Waiting 05:17:26 6808be2612f2: Waiting 05:17:26 f25807f1079a: Waiting 05:17:26 94cc34f8dd06: Waiting 05:17:26 a2d21d5440eb: Download complete 05:17:26 94cc34f8dd06: Download complete 05:17:26 30dea6a524f1: Verifying Checksum 05:17:26 63b65145d645: Download complete 05:17:26 a2aff8979fd8: Verifying Checksum 05:17:26 a2aff8979fd8: Download complete 05:17:26 63b65145d645: Pull complete 05:17:26 a2d21d5440eb: Pull complete 05:17:26 f25807f1079a: Verifying Checksum 05:17:26 f25807f1079a: Download complete 05:17:26 935e6c44a52c: Verifying Checksum 05:17:26 935e6c44a52c: Download complete 05:17:27 6808be2612f2: Download complete 05:17:30 935e6c44a52c: Pull complete 05:17:30 94cc34f8dd06: Pull complete 05:17:30 30dea6a524f1: Pull complete 05:17:30 a2aff8979fd8: Pull complete 05:17:32 6808be2612f2: Pull complete 05:17:33 f25807f1079a: Pull complete 05:17:33 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:17:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:17:33 ---> 3b553350e43f 05:17:33 Step 3/10 : ARG MAKE=make build 05:17:37 ---> Running in eb10a48a096b 05:17:37 Removing intermediate container eb10a48a096b 05:17:37 ---> 0b746d5d4358 05:17:37 Step 4/10 : WORKDIR /device-sdk-go 05:17:37 ---> Running in f803da7aed94 05:17:37 Removing intermediate container f803da7aed94 05:17:37 ---> a92f76d79f77 05:17:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:17:37 ---> Running in b6d32938c931 05:17:37 Removing intermediate container b6d32938c931 05:17:37 ---> ef7e2aec1628 05:17:37 Step 6/10 : RUN apk add --update --no-cache make git 05:17:37 ---> Running in bce627df27df 05:17:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:17:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:17:38 OK: 265 MiB in 53 packages 05:17:38 Removing intermediate container bce627df27df 05:17:38 ---> f117c6bcec8f 05:17:38 Step 7/10 : COPY go.mod vendor* ./ 05:17:38 ---> 1cf1f152c1c0 05:17:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:17:38 ---> Running in 5f8a56adb314 05:17:39 Still waiting to schedule task 05:17:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:18:17 Removing intermediate container 5f8a56adb314 05:18:17 ---> 23f676cb8abd 05:18:17 Step 9/10 : COPY . . 05:18:17 ---> a49e4d44a54e 05:18:17 Step 10/10 : RUN ${MAKE} 05:18:17 ---> Running in 4394853b223a 05:18:17 noop 05:18:17 Removing intermediate container 4394853b223a 05:18:17 ---> 254593f8cbe6 05:18:17 Successfully built 254593f8cbe6 05:18:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:17 + docker inspect -f . ci-base-image-x86_64 05:18:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:17 prd-ubuntu20.04-docker-8c-8g-6969 does not seem to be running inside a container 05:18:17 $ 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 05:18:18 $ docker top 40cd2094cb388d5274cbee09da1fb0647c3210f323cb9cae5484b745d5ba5dbd -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:18 + go version 05:18:18 go version go1.20.2 linux/amd64 [Pipeline] } 05:18:18 $ docker stop --time=1 40cd2094cb388d5274cbee09da1fb0647c3210f323cb9cae5484b745d5ba5dbd 05:18:19 $ docker rm -f --volumes 40cd2094cb388d5274cbee09da1fb0647c3210f323cb9cae5484b745d5ba5dbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:20 + docker inspect -f . ci-base-image-x86_64 05:18:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:20 prd-ubuntu20.04-docker-8c-8g-6969 does not seem to be running inside a container 05:18:20 $ 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 05:18:20 $ docker top 89270e1b3ff3f23ae339c6beef34a551c23e671b6c8dceb90b6456df5b746a38 -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:18:21 + make test 05:18:21 go test -race -coverprofile=coverage.out ./... 05:18:27 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:18:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:18:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:18:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:18:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:18:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:18:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 05:18:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:18:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:18:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 79.9% of statements 05:18:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.069s coverage: 86.0% of statements 05:18:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:18:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.131s coverage: 75.7% of statements 05:18:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:18:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:18:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:18:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:18:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.071s coverage: 14.9% of statements 05:18:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements 05:18:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.109s coverage: 89.2% of statements 05:18:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.050s coverage: 5.5% of statements 05:19:06 GO111MODULE=on go vet ./... 05:19:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:06 ./bin/test-attribution-txt.sh 05:19:06 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 05:19:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:19:06 $ docker stop --time=1 89270e1b3ff3f23ae339c6beef34a551c23e671b6c8dceb90b6456df5b746a38 05:19:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6971 in /w/workspace/edgexfoundry_device-sdk-go_main 05:19:10 $ docker rm -f --volumes 89270e1b3ff3f23ae339c6beef34a551c23e671b6c8dceb90b6456df5b746a38 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 05:19:11 Running in /w/workspace/device-sdk-go/195 [Pipeline] { [Pipeline] checkout 05:19:11 The recommended git tool is: git 05:19:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:19:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:19:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:12 + ls -al . 05:19:12 total 276 05:19:12 drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 05:18 . 05:19:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 05:17 .. 05:19:12 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 05:17 .dockerignore 05:19:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 05:17 .git 05:19:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 05:17 .github 05:19:12 -rw-rw-r-- 1 jenkins jenkins 131 Apr 6 05:17 .gitignore 05:19:12 -rw-rw-r-- 1 jenkins jenkins 42 Apr 6 05:17 .golangci.yml 05:19:12 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 05:17 .semver 05:19:12 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 6 05:17 CHANGELOG.md 05:19:12 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 05:17 GOVERNANCE.md 05:19:12 -rw-rw-r-- 1 jenkins jenkins 885 Apr 6 05:17 Jenkinsfile 05:19:12 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 05:17 LICENSE 05:19:12 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 6 05:17 Makefile 05:19:12 -rw-rw-r-- 1 jenkins jenkins 619 Apr 6 05:17 OWNERS.md 05:19:12 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 6 05:17 README.md 05:19:12 -rw-rw-r-- 1 jenkins jenkins 12 Apr 6 05:17 VERSION 05:19:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 05:17 bin 05:19:12 -rw-r--r-- 1 jenkins jenkins 106713 Apr 6 05:18 coverage.out 05:19:12 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 05:17 example 05:19:12 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 6 05:17 go.mod 05:19:12 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 6 05:17 go.sum 05:19:12 drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 05:17 internal 05:19:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 05:17 openapi 05:19:12 drwxrwxr-x 6 jenkins jenkins 4096 Apr 6 05:17 pkg 05:19:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 05:17 snap 05:19:12 -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 05:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:12 + 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=5b5907fa8314056950bcd679d495ce1473a19c65 --label arch=amd64 --label version=3.0.0-dev.64 . 05:19:12 Sending build context to Docker daemon 11.01MB 05:19:12 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:19:12 Step 2/23 : FROM ${BASE} AS builder 05:19:12 ---> 254593f8cbe6 05:19:12 Step 3/23 : ARG MAKE=make build 05:19:13 ---> Running in 9aca7e960ba0 05:19:13 Removing intermediate container 9aca7e960ba0 05:19:13 ---> 7757885f89bd 05:19:13 Step 4/23 : WORKDIR /device-sdk-go 05:19:13 ---> Running in 694f612f2f20 05:19:13 Removing intermediate container 694f612f2f20 05:19:13 ---> b10f6fca1c09 05:19:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:19:13 ---> Running in fc38fa421b58 05:19:13 Removing intermediate container fc38fa421b58 05:19:13 ---> 269bca02a16e 05:19:13 Step 6/23 : RUN apk add --update --no-cache make git 05:19:13 ---> Running in 8833f32a0cb1 05:19:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:19:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:19:14 OK: 265 MiB in 53 packages 05:19:14 Removing intermediate container 8833f32a0cb1 05:19:14 ---> ea1ba5647ea1 05:19:14 Step 7/23 : COPY go.mod vendor* ./ 05:19:14 ---> 5a8edc61e54b 05:19:14 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:14 ---> Running in 2fbc1cdb92ad 05:19:15 Removing intermediate container 2fbc1cdb92ad 05:19:15 ---> 78f0fbad7f51 05:19:15 Step 9/23 : COPY . . 05:19:15 ---> 148c6cfc0206 05:19:15 Step 10/23 : RUN ${MAKE} 05:19:15 ---> Running in 658f98a65a20 05:19:15 using credential edgex-jenkins-ssh 05:19:15 Cloning the remote Git repository 05:19:16 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.64" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:19:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:19:16 > git init /w/workspace/device-sdk-go/195 # timeout=10 05:19:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:19:16 > git --version # timeout=10 05:19:16 > git --version # 'git version 2.25.1' 05:19:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:19:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:19:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:19:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:19:18 Avoid second fetch 05:19:18 Checking out Revision 5b5907fa8314056950bcd679d495ce1473a19c65 (main) 05:19:19 Commit message: "Merge pull request #1416 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.63" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:18 > git config core.sparsecheckout # timeout=10 05:19:18 > git checkout -f 5b5907fa8314056950bcd679d495ce1473a19c65 # timeout=10 05:19:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:19:20 % Total % Received % Xferd Average Speed Time Time Time Current 05:19:20 Dload Upload Total Spent Left Speed 05:19:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 05:19:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:19:21 + sudo tee /etc/docker/daemon.new 05:19:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:19:21 { 05:19:21 "registry-mirrors": [ 05:19:21 "https://nexus3.edgexfoundry.org:10001" 05:19:21 ], 05:19:21 "bip": "10.250.0.254/24", 05:19:21 "hosts": [ 05:19:21 "tcp://0.0.0.0:5555", 05:19:21 "unix:///var/run/docker.sock" 05:19:21 ], 05:19:21 "mtu": 1458, 05:19:21 "selinux-enabled": true, 05:19:21 "seccomp-profile": "/etc/docker/seccomp.json" 05:19:21 } [Pipeline] sh 05:19:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:19:21 + sudo service docker restart 05:19:34 Removing intermediate container 658f98a65a20 05:19:34 ---> cabcc01af3da 05:19:34 Step 11/23 : FROM alpine:3.17 05:19:34 3.17: Pulling from library/alpine 05:19:34 f56be85fc22e: Pulling fs layer 05:19:34 f56be85fc22e: Verifying Checksum 05:19:34 f56be85fc22e: Download complete 05:19:34 f56be85fc22e: Pull complete 05:19:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:19:34 Status: Downloaded newer image for alpine:3.17 05:19:34 ---> 9ed4aefc74f6 05:19:34 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:19:34 ---> Running in e56fe2457cf1 05:19:34 Removing intermediate container e56fe2457cf1 05:19:34 ---> 6f804b11b356 05:19:34 Step 13/23 : RUN apk add --update --no-cache 05:19:34 ---> Running in 568dcf8c17f0 05:19:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:19:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:19:34 OK: 7 MiB in 15 packages 05:19:35 Removing intermediate container 568dcf8c17f0 05:19:35 ---> 3dc10cd9f4b6 05:19:35 Step 14/23 : WORKDIR / 05:19:35 ---> Running in a0e90bf34adc 05:19:35 Removing intermediate container a0e90bf34adc 05:19:35 ---> d635fffa0fca 05:19:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:19:35 ---> 7d3e21f45f23 05:19:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:19:35 ---> 4663a50b72a8 05:19:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:19:35 ---> 7ce662716b0b 05:19:35 Step 18/23 : EXPOSE 59999 05:19:35 ---> Running in 689f6b1fe6d5 05:19:36 Removing intermediate container 689f6b1fe6d5 05:19:36 ---> db5e824b6ddc 05:19:36 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:19:36 ---> Running in 33f144dde317 05:19:36 Removing intermediate container 33f144dde317 05:19:36 ---> 53fb347d3777 05:19:36 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:19:36 ---> Running in 64f292ca7fad 05:19:36 Removing intermediate container 64f292ca7fad 05:19:36 ---> 09f2b0c67428 05:19:36 Step 21/23 : LABEL arch=amd64 05:19:36 ---> Running in 86127b7ded9d 05:19:36 Removing intermediate container 86127b7ded9d 05:19:36 ---> 506b52d97fce 05:19:36 Step 22/23 : LABEL git_sha=5b5907fa8314056950bcd679d495ce1473a19c65 05:19:36 ---> Running in 2d86b2d3769c 05:19:36 Removing intermediate container 2d86b2d3769c 05:19:36 ---> c34abdf0e171 05:19:36 Step 23/23 : LABEL version=3.0.0-dev.64 05:19:36 ---> Running in f95f201a95b0 05:19:36 Removing intermediate container f95f201a95b0 05:19:36 ---> c78bf2eed58d 05:19:36 [Warning] One or more build-args [ARCH] were not consumed 05:19:36 Successfully built c78bf2eed58d 05:19:36 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 05:19:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:37 05:19:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:37 latest: Pulling from edgex-lftools-log-publisher 05:19:37 5eb5b503b376: Pulling fs layer 05:19:37 5c69ac0246d0: Pulling fs layer 05:19:37 ec43610c2a17: Pulling fs layer 05:19:37 3a2ae6a8a46f: Pulling fs layer 05:19:37 33b1e0a273af: Pulling fs layer 05:19:37 5d3b04190fa2: Pulling fs layer 05:19:37 2f39f015ded8: Pulling fs layer 05:19:37 3a2ae6a8a46f: Waiting 05:19:37 33b1e0a273af: Waiting 05:19:37 2f39f015ded8: Waiting 05:19:37 5d3b04190fa2: Waiting 05:19:37 5c69ac0246d0: Download complete 05:19:37 3a2ae6a8a46f: Download complete 05:19:37 33b1e0a273af: Verifying Checksum 05:19:37 33b1e0a273af: Download complete 05:19:37 ec43610c2a17: Verifying Checksum 05:19:37 ec43610c2a17: Download complete 05:19:37 5d3b04190fa2: Verifying Checksum 05:19:37 5d3b04190fa2: Download complete 05:19:37 5eb5b503b376: Verifying Checksum 05:19:37 5eb5b503b376: Download complete 05:19:38 2f39f015ded8: Download complete 05:19:38 5eb5b503b376: Pull complete 05:19:38 5c69ac0246d0: Pull complete 05:19:39 ec43610c2a17: Pull complete 05:19:39 3a2ae6a8a46f: Pull complete 05:19:39 33b1e0a273af: Pull complete 05:19:39 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:40 provisioning config files... 05:19:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/195@tmp/config832670851288051856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:40 ---> docker-login.sh 05:19:40 nexus3.edgexfoundry.org:10001 05:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:40 Configure a credential helper to remove this warning. See 05:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:40 05:19:40 Login Succeeded 05:19:40 nexus3.edgexfoundry.org:10002 05:19:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:41 Configure a credential helper to remove this warning. See 05:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:41 05:19:41 Login Succeeded 05:19:41 nexus3.edgexfoundry.org:10003 05:19:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:41 Configure a credential helper to remove this warning. See 05:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:41 05:19:41 Login Succeeded 05:19:41 nexus3.edgexfoundry.org:10004 05:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:42 Configure a credential helper to remove this warning. See 05:19:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:42 05:19:42 Login Succeeded 05:19:42 docker.io 05:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:42 Configure a credential helper to remove this warning. See 05:19:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:42 05:19:42 Login Succeeded 05:19:42 ---> docker-login.sh ends [Pipeline] } 05:19:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:19:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:42 ========================================================= 05:19:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:19:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:43 + 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 . 05:19:43 Sending build context to Docker daemon 5.857MB 05:19:43 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:19:43 Step 2/10 : FROM ${BASE} AS builder 05:19:43 2f39f015ded8: Pull complete 05:19:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:19:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv 05:19:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:19:43 af6eaf76a39c: Pulling fs layer 05:19:43 55522c791124: Pulling fs layer 05:19:43 ce5c4a1c91eb: Pulling fs layer 05:19:43 169dfbe0d373: Pulling fs layer 05:19:43 e1ff8fa3b103: Pulling fs layer 05:19:43 52ebb69f0ebf: Pulling fs layer 05:19:43 5abe8eddf0d5: Pulling fs layer 05:19:43 e1ff8fa3b103: Waiting 05:19:43 52ebb69f0ebf: Waiting 05:19:43 5abe8eddf0d5: Waiting 05:19:43 169dfbe0d373: Waiting 05:19:43 55522c791124: Verifying Checksum 05:19:43 55522c791124: Download complete 05:19:43 169dfbe0d373: Download complete 05:19:43 e1ff8fa3b103: Verifying Checksum 05:19:43 e1ff8fa3b103: Download complete 05:19:43 af6eaf76a39c: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:43 prd-ubuntu20.04-docker-8c-8g-6969 does not seem to be running inside a container 05:19:43 $ 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 05:19:45 af6eaf76a39c: Pull complete 05:19:45 5abe8eddf0d5: Verifying Checksum 05:19:45 5abe8eddf0d5: Download complete 05:19:45 55522c791124: Pull complete 05:19:46 ce5c4a1c91eb: Verifying Checksum 05:19:46 ce5c4a1c91eb: Download complete 05:19:46 52ebb69f0ebf: Verifying Checksum 05:19:46 52ebb69f0ebf: Download complete 05:19:47 $ docker top fb0c882dce5e4dc63dc85a42cfc7e6ca993be668270bf8615fc7c9ec9cf194a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:47 ---> job-cost.sh 05:19:47 lf-activate-venv: SKIPPING 05:19:47 INFO: No Stack... 05:19:47 INFO: Retrieving Pricing Info for: v3-standard-8 05:19:48 INFO: Archiving Costs [Pipeline] sh 05:19:48 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:19:48 + cut -d, -f6 [Pipeline] lock 05:19:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-195-stack-cost] 05:19:48 Resource [jenkins-edgexfoundry-device-sdk-go-main-195-stack-cost] did not exist. Created. 05:19:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-195-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:19:48 + echo total: 0.2199999988079071 [Pipeline] stash 05:19:48 Stashed 1 file(s) [Pipeline] } 05:19:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-195-stack-cost] [Pipeline] // lock [Pipeline] } 05:19:48 $ docker stop --time=1 fb0c882dce5e4dc63dc85a42cfc7e6ca993be668270bf8615fc7c9ec9cf194a2 05:19:50 $ docker rm -f --volumes fb0c882dce5e4dc63dc85a42cfc7e6ca993be668270bf8615fc7c9ec9cf194a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:19:58 ce5c4a1c91eb: Pull complete 05:19:58 169dfbe0d373: Pull complete 05:19:58 e1ff8fa3b103: Pull complete 05:20:04 52ebb69f0ebf: Pull complete 05:20:06 5abe8eddf0d5: Pull complete 05:20:06 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 05:20:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:20:06 ---> 6cb57ee374ae 05:20:06 Step 3/10 : ARG MAKE=make build 05:20:08 ---> Running in 26bf56bc3417 05:20:08 Removing intermediate container 26bf56bc3417 05:20:08 ---> 13fbdf7cf24d 05:20:08 Step 4/10 : WORKDIR /device-sdk-go 05:20:08 ---> Running in 30ebe5be3e9c 05:20:09 Removing intermediate container 30ebe5be3e9c 05:20:09 ---> 8fee653e7cf3 05:20:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:20:09 ---> Running in ffa144527e7a 05:20:09 Removing intermediate container ffa144527e7a 05:20:09 ---> 69697deef79f 05:20:09 Step 6/10 : RUN apk add --update --no-cache make git 05:20:09 ---> Running in a19344b5bb92 05:20:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:20:12 OK: 263 MiB in 53 packages 05:20:14 Removing intermediate container a19344b5bb92 05:20:14 ---> 04c11f5d4f40 05:20:14 Step 7/10 : COPY go.mod vendor* ./ 05:20:15 ---> 62aa5f1735b4 05:20:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:20:15 ---> Running in a00b8b42a79c 05:21:11 Removing intermediate container a00b8b42a79c 05:21:11 ---> 9468429decdd 05:21:11 Step 9/10 : COPY . . 05:21:12 ---> e17f62cbd06b 05:21:12 Step 10/10 : RUN ${MAKE} 05:21:12 ---> Running in fe74d1e8e0a7 05:21:13 noop 05:21:14 Removing intermediate container fe74d1e8e0a7 05:21:14 ---> b091ba02f28a 05:21:14 Successfully built b091ba02f28a 05:21:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:14 + docker inspect -f . ci-base-image-arm64 05:21:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:14 prd-ubuntu20.04-docker-arm64-4c-16g-6971 does not seem to be running inside a container 05:21:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/195 -v /w/workspace/device-sdk-go/195:/w/workspace/device-sdk-go/195:rw,z -v /w/workspace/device-sdk-go/195@tmp:/w/workspace/device-sdk-go/195@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 05:21:16 $ docker top b023b03bae6d71bae082c1bb8e41ead279b357a35be6eb0933cc928ed57ee6c5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:16 + go version 05:21:16 go version go1.20.2 linux/arm64 [Pipeline] } 05:21:16 $ docker stop --time=1 b023b03bae6d71bae082c1bb8e41ead279b357a35be6eb0933cc928ed57ee6c5 05:21:18 $ docker rm -f --volumes b023b03bae6d71bae082c1bb8e41ead279b357a35be6eb0933cc928ed57ee6c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:18 + docker inspect -f . ci-base-image-arm64 05:21:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:19 prd-ubuntu20.04-docker-arm64-4c-16g-6971 does not seem to be running inside a container 05:21:19 $ 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/195 -v /w/workspace/device-sdk-go/195:/w/workspace/device-sdk-go/195:rw,z -v /w/workspace/device-sdk-go/195@tmp:/w/workspace/device-sdk-go/195@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 05:21:22 $ docker top 48fd61b7d8598239257dd8df781a85aca3862f1c4165ede01001bbc1246ba299 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:22 + git config --global --add safe.directory /w/workspace/device-sdk-go/195 [Pipeline] fileExists [Pipeline] sh 05:21:23 + make test 05:21:23 go test -race -coverprofile=coverage.out ./... 05:22:09 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:24:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:24:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:24:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:24:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:24:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:24:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.222s coverage: 27.6% of statements 05:24:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.265s coverage: 79.9% of statements 05:24:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:24:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:24:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.874s coverage: 86.0% of statements 05:24:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:24:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:24:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.614s coverage: 75.7% of statements 05:24:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.399s coverage: 14.9% of statements 05:24:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:24:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:24:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.485s coverage: 68.5% of statements 05:24:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.455s coverage: 89.2% of statements 05:24:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:24:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.262s coverage: 5.5% of statements 05:24:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:24:44 GO111MODULE=on go vet ./... 05:27:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:27:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:27:21 ./bin/test-attribution-txt.sh 05:27:21 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 05:27:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:27:21 $ docker stop --time=1 48fd61b7d8598239257dd8df781a85aca3862f1c4165ede01001bbc1246ba299 05:27:23 $ docker rm -f --volumes 48fd61b7d8598239257dd8df781a85aca3862f1c4165ede01001bbc1246ba299 [Pipeline] // withDockerContainer [Pipeline] sh 05:27:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:27:25 Warning: overwriting stash ‘coverage-report’ 05:27:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:27:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:27:26 + ls -al . 05:27:26 total 272 05:27:26 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 05:21 . 05:27:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 05:19 .. 05:27:26 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 05:19 .dockerignore 05:27:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 05:19 .git 05:27:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 05:19 .github 05:27:26 -rw-rw-r-- 1 jenkins jenkins 131 Apr 6 05:19 .gitignore 05:27:26 -rw-rw-r-- 1 jenkins jenkins 42 Apr 6 05:19 .golangci.yml 05:27:26 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 6 05:19 CHANGELOG.md 05:27:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 05:19 GOVERNANCE.md 05:27:26 -rw-rw-r-- 1 jenkins jenkins 885 Apr 6 05:19 Jenkinsfile 05:27:26 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 05:19 LICENSE 05:27:26 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 6 05:19 Makefile 05:27:26 -rw-rw-r-- 1 jenkins jenkins 619 Apr 6 05:19 OWNERS.md 05:27:26 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 6 05:19 README.md 05:27:26 -rw-rw-r-- 1 jenkins jenkins 12 Apr 6 05:17 VERSION 05:27:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 05:19 bin 05:27:26 -rw-r--r-- 1 jenkins jenkins 106712 Apr 6 05:24 coverage.out 05:27:26 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 05:19 example 05:27:26 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 6 05:19 go.mod 05:27:26 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 6 05:19 go.sum 05:27:26 drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 05:19 internal 05:27:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 05:19 openapi 05:27:26 drwxrwxr-x 6 jenkins jenkins 4096 Apr 6 05:19 pkg 05:27:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 05:19 snap 05:27:26 -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 05:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:26 + 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=5b5907fa8314056950bcd679d495ce1473a19c65 --label arch=arm64 --label version=3.0.0-dev.64 . 05:27:27 Sending build context to Docker daemon 5.964MB 05:27:27 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:27:27 Step 2/23 : FROM ${BASE} AS builder 05:27:27 ---> b091ba02f28a 05:27:27 Step 3/23 : ARG MAKE=make build 05:27:27 ---> Running in 4bfc1cd385a3 05:27:27 Removing intermediate container 4bfc1cd385a3 05:27:27 ---> 7fdc6fed6995 05:27:27 Step 4/23 : WORKDIR /device-sdk-go 05:27:27 ---> Running in e9ee0de36242 05:27:28 Removing intermediate container e9ee0de36242 05:27:28 ---> 8391494e9ec0 05:27:28 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:27:28 ---> Running in 3103b1d28271 05:27:28 Removing intermediate container 3103b1d28271 05:27:28 ---> 2d2a420c6a46 05:27:28 Step 6/23 : RUN apk add --update --no-cache make git 05:27:28 ---> Running in 67fd2c2795d1 05:27:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:27:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:27:31 OK: 263 MiB in 53 packages 05:27:34 Removing intermediate container 67fd2c2795d1 05:27:34 ---> 3618b0bd2649 05:27:34 Step 7/23 : COPY go.mod vendor* ./ 05:27:35 ---> 22c2957f7f00 05:27:35 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:27:35 ---> Running in 31aa1dd68283 05:27:38 Removing intermediate container 31aa1dd68283 05:27:38 ---> cf022444b8aa 05:27:38 Step 9/23 : COPY . . 05:27:39 ---> 16326a4426e1 05:27:39 Step 10/23 : RUN ${MAKE} 05:27:39 ---> Running in a2da08a2b868 05:27:40 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.64" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:30:02 Removing intermediate container a2da08a2b868 05:30:02 ---> e33a217156b9 05:30:02 Step 11/23 : FROM alpine:3.17 05:30:02 3.17: Pulling from library/alpine 05:30:02 c41833b44d91: Pulling fs layer 05:30:02 c41833b44d91: Verifying Checksum 05:30:02 c41833b44d91: Download complete 05:30:02 c41833b44d91: Pull complete 05:30:02 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:30:02 Status: Downloaded newer image for alpine:3.17 05:30:02 ---> 51e60588ff2c 05:30:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:30:02 ---> Running in 955bf73ba278 05:30:02 Removing intermediate container 955bf73ba278 05:30:02 ---> c8ee7c23c6e9 05:30:02 Step 13/23 : RUN apk add --update --no-cache 05:30:02 ---> Running in 0a581bc1c9b4 05:30:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:30:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:30:02 OK: 7 MiB in 15 packages 05:30:03 Removing intermediate container 0a581bc1c9b4 05:30:03 ---> 3c6eccf662ae 05:30:03 Step 14/23 : WORKDIR / 05:30:03 ---> Running in 3e25cf2857e7 05:30:03 Removing intermediate container 3e25cf2857e7 05:30:03 ---> a87bc9af1864 05:30:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:30:04 ---> f03e53c83ec0 05:30:04 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:30:05 ---> 108d7d01b1d0 05:30:05 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:30:06 ---> dac5483715c4 05:30:06 Step 18/23 : EXPOSE 59999 05:30:06 ---> Running in d1bf15ebbe08 05:30:06 Removing intermediate container d1bf15ebbe08 05:30:06 ---> 623aa8d91fb1 05:30:06 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:30:06 ---> Running in 77272072b23a 05:30:06 Removing intermediate container 77272072b23a 05:30:06 ---> db972786a728 05:30:06 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:30:06 ---> Running in de28bda80bee 05:30:07 Removing intermediate container de28bda80bee 05:30:07 ---> 4ec94719a359 05:30:07 Step 21/23 : LABEL arch=arm64 05:30:07 ---> Running in 321b0669135b 05:30:07 Removing intermediate container 321b0669135b 05:30:07 ---> 400678acea37 05:30:07 Step 22/23 : LABEL git_sha=5b5907fa8314056950bcd679d495ce1473a19c65 05:30:07 ---> Running in 3b83532efa03 05:30:08 Removing intermediate container 3b83532efa03 05:30:08 ---> 2f90eed47fc5 05:30:08 Step 23/23 : LABEL version=3.0.0-dev.64 05:30:08 ---> Running in 6272bfcc8d91 05:30:08 Removing intermediate container 6272bfcc8d91 05:30:08 ---> 1d6bdea23444 05:30:08 [Warning] One or more build-args [ARCH] were not consumed 05:30:08 Successfully built 1d6bdea23444 05:30:08 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 05:30:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:30:09 05:30:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:30:09 arm64: Pulling from edgex-lftools-log-publisher 05:30:09 8998bd30e6a1: Pulling fs layer 05:30:09 04944245beec: Pulling fs layer 05:30:09 699f458cf7ca: Pulling fs layer 05:30:09 765212b225bb: Pulling fs layer 05:30:09 f23df028b6ca: Pulling fs layer 05:30:09 d65c8cfc05b1: Pulling fs layer 05:30:09 2437ff75d9bd: Pulling fs layer 05:30:09 765212b225bb: Waiting 05:30:09 f23df028b6ca: Waiting 05:30:09 2437ff75d9bd: Waiting 05:30:09 d65c8cfc05b1: Waiting 05:30:09 04944245beec: Verifying Checksum 05:30:09 04944245beec: Download complete 05:30:09 765212b225bb: Download complete 05:30:09 f23df028b6ca: Download complete 05:30:09 d65c8cfc05b1: Verifying Checksum 05:30:09 d65c8cfc05b1: Download complete 05:30:09 699f458cf7ca: Verifying Checksum 05:30:09 699f458cf7ca: Download complete 05:30:10 8998bd30e6a1: Verifying Checksum 05:30:10 8998bd30e6a1: Download complete 05:30:12 2437ff75d9bd: Verifying Checksum 05:30:12 2437ff75d9bd: Download complete 05:30:14 8998bd30e6a1: Pull complete 05:30:14 04944245beec: Pull complete 05:30:16 699f458cf7ca: Pull complete 05:30:16 765212b225bb: Pull complete 05:30:17 f23df028b6ca: Pull complete 05:30:17 d65c8cfc05b1: Pull complete 05:30:32 2437ff75d9bd: Pull complete 05:30:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:30:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:30:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:32 prd-ubuntu20.04-docker-arm64-4c-16g-6971 does not seem to be running inside a container 05:30:32 $ 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/195 -v /w/workspace/device-sdk-go/195:/w/workspace/device-sdk-go/195:rw,z -v /w/workspace/device-sdk-go/195@tmp:/w/workspace/device-sdk-go/195@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 05:30:35 $ docker top 8026465dfcb58bd8a0e86095f5f04851eeb4b9c090731f6db6823971c91215f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:35 ---> job-cost.sh 05:30:35 lf-activate-venv: SKIPPING 05:30:35 INFO: No Stack... 05:30:36 INFO: Retrieving Pricing Info for: v3-standard-4 05:30:37 INFO: Archiving Costs [Pipeline] sh 05:30:37 + cat /w/workspace/device-sdk-go/195/archives/cost.csv 05:30:37 + cut -d, -f6 [Pipeline] lock 05:30:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-195-stack-cost] 05:30:37 Resource [jenkins-edgexfoundry-device-sdk-go-main-195-stack-cost] did not exist. Created. 05:30:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-195-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:30:38 /w/workspace/device-sdk-go/195@tmp/durable-385daaf2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:30:39 + echo total: 0.10999999940395355 [Pipeline] stash 05:30:39 Warning: overwriting stash ‘stack-cost’ 05:30:39 Stashed 1 file(s) [Pipeline] } 05:30:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-195-stack-cost] [Pipeline] // lock [Pipeline] } 05:30:39 $ docker stop --time=1 8026465dfcb58bd8a0e86095f5f04851eeb4b9c090731f6db6823971c91215f2 05:30:40 $ docker rm -f --volumes 8026465dfcb58bd8a0e86095f5f04851eeb4b9c090731f6db6823971c91215f2 [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 05:30:41 provisioning config files... 05:30:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11006664328431195430tmp [Pipeline] { [Pipeline] sh 05:30:41 + set +x 05:30:41 + curl -s https://codecov.io/bash 05:30:41 + bash -s -- 05:30:41 05:30:41 _____ _ 05:30:41 / ____| | | 05:30:41 | | ___ __| | ___ ___ _____ __ 05:30:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:30:41 | |___| (_) | (_| | __/ (_| (_) \ V / 05:30:41 \_____\___/ \__,_|\___|\___\___/ \_/ 05:30:41 Bash-1.0.6 05:30:41 05:30:41 05:30:41 ==> git version 2.25.1 found 05:30:41 ==> 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 05:30:41 Release-Date: 2020-01-08 05:30:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:30:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:30:41 ==> Jenkins CI detected. 05:30:41 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:30:41 project root: . 05:30:41 --> token set from env 05:30:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:30:41 ==> Running gcov in . (disable via -X gcov) 05:30:41 ==> Python coveragepy not found 05:30:41 ==> Searching for coverage reports in: 05:30:41 + . 05:30:41 -> Found 1 reports 05:30:41 ==> Detecting git/mercurial file structure 05:30:41 ==> Reading reports 05:30:41 + ./coverage.out bytes=106712 05:30:41 ==> Appending adjustments 05:30:41 https://docs.codecov.io/docs/fixing-reports 05:30:41 + Found adjustments 05:30:41 ==> Gzipping contents 05:30:41 16K /tmp/codecov.nDM7Vb.gz 05:30:41 ==> Uploading reports 05:30:41 url: https://codecov.io 05:30:41 query: branch=main&commit=5b5907fa8314056950bcd679d495ce1473a19c65&build=195&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F195%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:30:41 -> Pinging Codecov 05:30:41 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=5b5907fa8314056950bcd679d495ce1473a19c65&build=195&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F195%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:30:42 -> Uploading to 05:30:42 https://storage.googleapis.com/codecov/v4/raw/2023-04-06/7E55EF52A471D76F132DFD9A03CDDE97/5b5907fa8314056950bcd679d495ce1473a19c65/66fe93db-6732-4ce8-b493-8e7e3caa5d90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230406T053041Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06cf8564052003d5ccbfd49b09817eb7c8e3d9fd0b2c016802e93a9f37c325e4 05:30:42 % Total % Received % Xferd Average Speed Time Time Time Current 05:30:42 Dload Upload Total Spent Left Speed 05:30:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15088 0 0 100 15088 0 57151 --:--:-- --:--:-- --:--:-- 57151 05:30:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5b5907fa8314056950bcd679d495ce1473a19c65 [Pipeline] } 05:30:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:30:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:30:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:30:42 05:30:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:30:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:30:43 df9b9388f04a: Pulling fs layer 05:30:43 52dc419b0ee2: Pulling fs layer 05:30:43 25bc292e5bac: Pulling fs layer 05:30:43 114826534d7a: Pulling fs layer 05:30:43 4657fd5d0bcf: Pulling fs layer 05:30:43 6ad1cebc031e: Pulling fs layer 05:30:43 8a3aa393b2d8: Pulling fs layer 05:30:43 4657fd5d0bcf: Waiting 05:30:43 114826534d7a: Waiting 05:30:43 6ad1cebc031e: Waiting 05:30:43 8a3aa393b2d8: Waiting 05:30:43 25bc292e5bac: Verifying Checksum 05:30:43 25bc292e5bac: Download complete 05:30:43 52dc419b0ee2: Verifying Checksum 05:30:43 52dc419b0ee2: Download complete 05:30:43 4657fd5d0bcf: Verifying Checksum 05:30:43 4657fd5d0bcf: Download complete 05:30:43 df9b9388f04a: Download complete 05:30:43 6ad1cebc031e: Verifying Checksum 05:30:43 6ad1cebc031e: Download complete 05:30:43 df9b9388f04a: Pull complete 05:30:43 52dc419b0ee2: Pull complete 05:30:43 25bc292e5bac: Pull complete 05:30:44 114826534d7a: Verifying Checksum 05:30:44 114826534d7a: Download complete 05:30:44 8a3aa393b2d8: Verifying Checksum 05:30:44 8a3aa393b2d8: Download complete 05:30:47 114826534d7a: Pull complete 05:30:47 4657fd5d0bcf: Pull complete 05:30:47 6ad1cebc031e: Pull complete 05:30:49 8a3aa393b2d8: Pull complete 05:30:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:30:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:30:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:50 prd-ubuntu20.04-docker-8c-8g-6969 does not seem to be running inside a container 05:30:50 $ 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 05:30:53 $ docker top a3c41a2cfd14f4c3ed9edd012983123bea2de16d2329398898bfc0186c565e8e -eo pid,comm [Pipeline] { [Pipeline] echo 05:30:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:30:53 + set -o pipefail 05:30:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:30:57 05:30:57 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:30:57 05:30:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/ed4a34c6-d59f-4030-bdd9-db4dfbe1c87d 05:30:57 05:30:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:30:57 05:30:57 05:30:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:30:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:30:57 More details here: https://snyk.co/ue1NS 05:30:57 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 05:30:57 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:30:57 $ docker stop --time=1 a3c41a2cfd14f4c3ed9edd012983123bea2de16d2329398898bfc0186c565e8e 05:31:00 $ docker rm -f --volumes a3c41a2cfd14f4c3ed9edd012983123bea2de16d2329398898bfc0186c565e8e [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 05:31:00 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:00 provisioning config files... 05:31:00 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7218245573445997693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:01 --> edgex-publish-swagger.sh 05:31:01 === Publish openapi/v3 API === 05:31:01 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:31:01 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:31:01 % Total % Received % Xferd Average Speed Time Time Time Current 05:31:01 Dload Upload Total Spent Left Speed 05:31:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23890 0 0 100 23890 0 39684 --:--:-- --:--:-- --:--:-- 39618 100 23890 0 0 100 23890 0 39684 --:--:-- --:--:-- --:--:-- 39618 05:31:01 05:31:01 [Pipeline] } 05:31:01 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 05:31:02 + git log --format=format:%s -1 5b5907fa8314056950bcd679d495ce1473a19c65 [Pipeline] sh 05:31:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:31:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:02 prd-ubuntu20.04-docker-8c-8g-6969 does not seem to be running inside a container 05:31:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:31:03 $ docker top 5c988176dd6b9e6ca0cbd131c2fb35fa8fb44bf1996bb663c53433f1842dd93d -eo pid,comm 05:31:03 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). 05:31:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:03 [ssh-agent] Looking for ssh-agent implementation... 05:31:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:03 $ docker exec 5c988176dd6b9e6ca0cbd131c2fb35fa8fb44bf1996bb663c53433f1842dd93d ssh-agent 05:31:03 SSH_AUTH_SOCK=/tmp/ssh-AfIiAUsk46dt/agent.33 05:31:03 SSH_AGENT_PID=39 05:31:03 Running ssh-add (command line suppressed) 05:31:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3747665436074605458.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3747665436074605458.key) 05:31:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:04 + git semver tag 05:31:04 2023-04-06 05:31:04,182 [run_tag] DEBUG tag force:False 05:31:04 2023-04-06 05:31:04,182 [check_head_tag] DEBUG check head tag 05:31:04 2023-04-06 05:31:04,184 [execute] INFO git cat-file --batch-check 05:31:04 2023-04-06 05:31:04,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:31:04 2023-04-06 05:31:04,187 [execute] INFO git cat-file --batch 05:31:04 2023-04-06 05:31:04,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:31:04 2023-04-06 05:31:04,217 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:31:04 2023-04-06 05:31:04,218 [execute] INFO git tag -a v3.0.0-dev.64 -m v3.0.0-dev.64 05:31:04 2023-04-06 05:31:04,218 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.64', '-m', 'v3.0.0-dev.64'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:31:04 2023-04-06 05:31:04,222 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:31:04 3.0.0-dev.64 [Pipeline] } 05:31:04 $ docker exec --env ******** --env ******** 5c988176dd6b9e6ca0cbd131c2fb35fa8fb44bf1996bb663c53433f1842dd93d ssh-agent -k 05:31:04 unset SSH_AUTH_SOCK; 05:31:04 unset SSH_AGENT_PID; 05:31:04 echo Agent pid 39 killed; 05:31:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:31:04 + git semver [Pipeline] } 05:31:04 $ docker stop --time=1 5c988176dd6b9e6ca0cbd131c2fb35fa8fb44bf1996bb663c53433f1842dd93d 05:31:06 $ docker rm -f --volumes 5c988176dd6b9e6ca0cbd131c2fb35fa8fb44bf1996bb663c53433f1842dd93d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:31:06 05:31:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:31:06 0.23.1-centos7: Pulling from edgex-lftools 05:31:06 ab5ef0e58194: Pulling fs layer 05:31:06 9712f1f96733: Pulling fs layer 05:31:06 63f879dbbcfc: Pulling fs layer 05:31:06 0d9ebad4ef96: Pulling fs layer 05:31:06 e9a5061849ea: Pulling fs layer 05:31:06 d747dcd14b5f: Pulling fs layer 05:31:06 2de7ff778b66: Pulling fs layer 05:31:06 e9a5061849ea: Waiting 05:31:06 0d9ebad4ef96: Waiting 05:31:06 2de7ff778b66: Waiting 05:31:06 d747dcd14b5f: Waiting 05:31:06 9712f1f96733: Verifying Checksum 05:31:06 9712f1f96733: Download complete 05:31:07 63f879dbbcfc: Verifying Checksum 05:31:07 63f879dbbcfc: Download complete 05:31:07 e9a5061849ea: Verifying Checksum 05:31:07 e9a5061849ea: Download complete 05:31:07 d747dcd14b5f: Verifying Checksum 05:31:07 d747dcd14b5f: Download complete 05:31:07 ab5ef0e58194: Verifying Checksum 05:31:07 ab5ef0e58194: Download complete 05:31:07 0d9ebad4ef96: Verifying Checksum 05:31:07 0d9ebad4ef96: Download complete 05:31:07 2de7ff778b66: Verifying Checksum 05:31:07 2de7ff778b66: Download complete 05:31:09 ab5ef0e58194: Pull complete 05:31:09 9712f1f96733: Pull complete 05:31:10 63f879dbbcfc: Pull complete 05:31:13 0d9ebad4ef96: Pull complete 05:31:14 e9a5061849ea: Pull complete 05:31:14 d747dcd14b5f: Pull complete 05:31:14 2de7ff778b66: Pull complete 05:31:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:31:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:31:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:15 prd-ubuntu20.04-docker-8c-8g-6969 does not seem to be running inside a container 05:31:15 $ 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 05:31:19 $ docker top f1edcc1c9c99b7b2adf1a347c4ad3a555015af67f55516643ef39c377a838875 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:31:19 provisioning config files... 05:31:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6714296929450826931tmp 05:31:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10072677064047057696tmp 05:31:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11738263937671706190tmp [Pipeline] { [Pipeline] echo 05:31:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:31:19 ---> sigul-configuration.sh 05:31:19 gpg: directory `/root/.gnupg' created 05:31:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:31:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:31:19 gpg: keyring `/root/.gnupg/secring.gpg' created 05:31:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:31:19 gpg: CAST5 encrypted data 05:31:19 gpg: encrypted with 1 passphrase 05:31:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:31:19 + mkdir /home/jenkins 05:31:19 + mkdir /home/jenkins/sigul [Pipeline] sh 05:31:19 + 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 05:31:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:31:20 ---> sigul-install.sh 05:31:20 Sigul already installed; skipping installation. [Pipeline] sh 05:31:20 + git tag --list 05:31:20 0.7.1 05:31:20 delhi-tag 05:31:20 v1.0.0 05:31:20 v1.1.0 05:31:20 v1.1.1 05:31:20 v1.1.2 05:31:20 v1.2.0 05:31:20 v1.2.1 05:31:20 v1.2.2 05:31:20 v1.2.3 05:31:20 v1.3.0 05:31:20 v1.4.0 05:31:20 v2.0.0 05:31:20 v2.1.0 05:31:20 v2.1.1 05:31:20 v2.1.1-dev.2 05:31:20 v2.1.1-dev.3 05:31:20 v2.2.0 05:31:20 v2.2.1-dev.1 05:31:20 v2.2.1-dev.10 05:31:20 v2.2.1-dev.11 05:31:20 v2.2.1-dev.12 05:31:20 v2.2.1-dev.13 05:31:20 v2.2.1-dev.14 05:31:20 v2.2.1-dev.2 05:31:20 v2.2.1-dev.3 05:31:20 v2.2.1-dev.4 05:31:20 v2.2.1-dev.5 05:31:20 v2.2.1-dev.6 05:31:20 v2.2.1-dev.7 05:31:20 v2.2.1-dev.8 05:31:20 v2.2.1-dev.9 05:31:20 v2.3.0 05:31:20 v2.3.0-dev.14 05:31:20 v2.3.0-dev.15 05:31:20 v2.3.0-dev.16 05:31:20 v2.3.0-dev.17 05:31:20 v2.3.0-dev.18 05:31:20 v2.3.0-dev.19 05:31:20 v2.3.0-dev.20 05:31:20 v2.3.0-dev.21 05:31:20 v2.3.0-dev.22 05:31:20 v2.3.0-dev.23 05:31:20 v2.3.0-dev.24 05:31:20 v2.3.0-dev.25 05:31:20 v2.3.0-dev.26 05:31:20 v2.3.0-dev.27 05:31:20 v2.3.0-dev.28 05:31:20 v2.3.0-dev.29 05:31:20 v2.3.0-dev.30 05:31:20 v2.3.0-dev.31 05:31:20 v2.3.0-dev.32 05:31:20 v2.3.0-dev.33 05:31:20 v2.3.0-dev.34 05:31:20 v2.3.0-dev.35 05:31:20 v2.3.0-dev.36 05:31:20 v2.3.0-dev.37 05:31:20 v2.3.0-dev.38 05:31:20 v2.3.0-dev.39 05:31:20 v2.3.0-dev.40 05:31:20 v2.3.0-dev.41 05:31:20 v2.3.0-dev.42 05:31:20 v2.3.0-dev.43 05:31:20 v2.3.0-dev.44 05:31:20 v2.3.0-dev.45 05:31:20 v2.3.0-dev.46 05:31:20 v2.3.0-dev.47 05:31:20 v2.3.0-dev.48 05:31:20 v2.3.0-dev.49 05:31:20 v2.3.0-dev.50 05:31:20 v2.3.0-dev.51 05:31:20 v2.3.1 05:31:20 v2.3.1-dev.1 05:31:20 v2.3.1-dev.2 05:31:20 v2.3.1-dev.3 05:31:20 v2.3.1-dev.4 05:31:20 v3.0.0-dev.1 05:31:20 v3.0.0-dev.10 05:31:20 v3.0.0-dev.11 05:31:20 v3.0.0-dev.12 05:31:20 v3.0.0-dev.13 05:31:20 v3.0.0-dev.14 05:31:20 v3.0.0-dev.15 05:31:20 v3.0.0-dev.16 05:31:20 v3.0.0-dev.17 05:31:20 v3.0.0-dev.18 05:31:20 v3.0.0-dev.19 05:31:20 v3.0.0-dev.2 05:31:20 v3.0.0-dev.20 05:31:20 v3.0.0-dev.21 05:31:20 v3.0.0-dev.22 05:31:20 v3.0.0-dev.23 05:31:20 v3.0.0-dev.24 05:31:20 v3.0.0-dev.25 05:31:20 v3.0.0-dev.26 05:31:20 v3.0.0-dev.27 05:31:20 v3.0.0-dev.28 05:31:20 v3.0.0-dev.29 05:31:20 v3.0.0-dev.3 05:31:20 v3.0.0-dev.30 05:31:20 v3.0.0-dev.31 05:31:20 v3.0.0-dev.32 05:31:20 v3.0.0-dev.33 05:31:20 v3.0.0-dev.34 05:31:20 v3.0.0-dev.35 05:31:20 v3.0.0-dev.36 05:31:20 v3.0.0-dev.37 05:31:20 v3.0.0-dev.38 05:31:20 v3.0.0-dev.39 05:31:20 v3.0.0-dev.4 05:31:20 v3.0.0-dev.40 05:31:20 v3.0.0-dev.41 05:31:20 v3.0.0-dev.42 05:31:20 v3.0.0-dev.43 05:31:20 v3.0.0-dev.44 05:31:20 v3.0.0-dev.45 05:31:20 v3.0.0-dev.46 05:31:20 v3.0.0-dev.47 05:31:20 v3.0.0-dev.48 05:31:20 v3.0.0-dev.49 05:31:20 v3.0.0-dev.5 05:31:20 v3.0.0-dev.50 05:31:20 v3.0.0-dev.51 05:31:20 v3.0.0-dev.52 05:31:20 v3.0.0-dev.53 05:31:20 v3.0.0-dev.54 05:31:20 v3.0.0-dev.55 05:31:20 v3.0.0-dev.56 05:31:20 v3.0.0-dev.57 05:31:20 v3.0.0-dev.58 05:31:20 v3.0.0-dev.59 05:31:20 v3.0.0-dev.6 05:31:20 v3.0.0-dev.60 05:31:20 v3.0.0-dev.61 05:31:20 v3.0.0-dev.62 05:31:20 v3.0.0-dev.63 05:31:20 v3.0.0-dev.64 05:31:20 v3.0.0-dev.7 05:31:20 v3.0.0-dev.8 05:31:20 v3.0.0-dev.9 [Pipeline] sh 05:31:20 + lftools sign git-tag v3.0.0-dev.64 05:31:21 Signing Git tag with Sigul... 05:31:21 Signing v3.0.0-dev.64 [Pipeline] echo 05:31:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:31:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:31:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:31:21 $ docker stop --time=1 f1edcc1c9c99b7b2adf1a347c4ad3a555015af67f55516643ef39c377a838875 05:31:23 $ docker rm -f --volumes f1edcc1c9c99b7b2adf1a347c4ad3a555015af67f55516643ef39c377a838875 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:31:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:31:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:24 prd-ubuntu20.04-docker-8c-8g-6969 does not seem to be running inside a container 05:31:24 $ 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 05:31:24 $ docker top e8eba8fc81f84a7ea68beeb237034706e9cdb32073abbf1c43c98f183cc0000d -eo pid,comm 05:31:24 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). 05:31:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:24 [ssh-agent] Looking for ssh-agent implementation... 05:31:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:24 $ docker exec e8eba8fc81f84a7ea68beeb237034706e9cdb32073abbf1c43c98f183cc0000d ssh-agent 05:31:24 SSH_AUTH_SOCK=/tmp/ssh-h6tjsKdKeHe8/agent.34 05:31:24 SSH_AGENT_PID=40 05:31:24 Running ssh-add (command line suppressed) 05:31:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6498898120889600056.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6498898120889600056.key) 05:31:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:25 + git semver bump pre 05:31:25 2023-04-06 05:31:25,394 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:31:25 2023-04-06 05:31:25,394 [bump_version] DEBUG bumping version:3.0.0-dev.64 on axis:pre with prefix:dev 05:31:25 2023-04-06 05:31:25,395 [bump_version] DEBUG bumped version:3.0.0-dev.65 05:31:25 2023-04-06 05:31:25,395 [write_version] DEBUG write version:3.0.0-dev.65 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:31:25 2023-04-06 05:31:25,395 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:31:25 2023-04-06 05:31:25,395 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:31:25 2023-04-06 05:31:25,397 [execute] INFO git cat-file --batch-check 05:31:25 2023-04-06 05:31:25,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:31:25 2023-04-06 05:31:25,402 [execute] INFO git cat-file --batch 05:31:25 2023-04-06 05:31:25,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:31:25 2023-04-06 05:31:25,407 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:31:25 3.0.0-dev.65 [Pipeline] } 05:31:25 $ docker exec --env ******** --env ******** e8eba8fc81f84a7ea68beeb237034706e9cdb32073abbf1c43c98f183cc0000d ssh-agent -k 05:31:25 unset SSH_AUTH_SOCK; 05:31:25 unset SSH_AGENT_PID; 05:31:25 echo Agent pid 40 killed; 05:31:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:31:25 + git semver [Pipeline] } 05:31:26 $ docker stop --time=1 e8eba8fc81f84a7ea68beeb237034706e9cdb32073abbf1c43c98f183cc0000d 05:31:27 $ docker rm -f --volumes e8eba8fc81f84a7ea68beeb237034706e9cdb32073abbf1c43c98f183cc0000d [Pipeline] // withDockerContainer [Pipeline] sh 05:31:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:31:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:28 prd-ubuntu20.04-docker-8c-8g-6969 does not seem to be running inside a container 05:31:28 $ 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 05:31:28 $ docker top fdf8d499dd3f39286aefc0f424ca5116a99677a21e3fccf435e7b7617a4ae3c5 -eo pid,comm 05:31:28 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). 05:31:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:28 [ssh-agent] Looking for ssh-agent implementation... 05:31:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:28 $ docker exec fdf8d499dd3f39286aefc0f424ca5116a99677a21e3fccf435e7b7617a4ae3c5 ssh-agent 05:31:28 SSH_AUTH_SOCK=/tmp/ssh-aHw8J6gzwtdX/agent.32 05:31:28 SSH_AGENT_PID=38 05:31:28 Running ssh-add (command line suppressed) 05:31:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16960279046081674284.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16960279046081674284.key) 05:31:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:29 + git semver push 05:31:29 2023-04-06 05:31:29,320 [run_push] DEBUG push 05:31:29 2023-04-06 05:31:29,321 [execute] INFO git cat-file --batch-check 05:31:29 2023-04-06 05:31:29,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:31:29 2023-04-06 05:31:29,325 [execute] INFO git rev-list aaacb05cfe34d9e1443bf43ac482bcc117dfedd8 -- 05:31:29 2023-04-06 05:31:29,326 [execute] DEBUG Popen(['git', 'rev-list', 'aaacb05cfe34d9e1443bf43ac482bcc117dfedd8', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:31:29 2023-04-06 05:31:29,336 [execute] INFO git fetch -v origin 05:31:29 2023-04-06 05:31:29,336 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:31:29 2023-04-06 05:31:29,801 [run_push] DEBUG no remote changes detected 05:31:29 2023-04-06 05:31:29,801 [execute] INFO git push origin semver 05:31:29 2023-04-06 05:31:29,801 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:31:30 2023-04-06 05:31:30,596 [run_push] DEBUG push all version tags 05:31:30 2023-04-06 05:31:30,597 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:31:30 2023-04-06 05:31:30,597 [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) 05:31:31 2023-04-06 05:31:31,511 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:31:31 3.0.0-dev.65 [Pipeline] } 05:31:31 $ docker exec --env ******** --env ******** fdf8d499dd3f39286aefc0f424ca5116a99677a21e3fccf435e7b7617a4ae3c5 ssh-agent -k 05:31:31 unset SSH_AUTH_SOCK; 05:31:31 unset SSH_AGENT_PID; 05:31:31 echo Agent pid 38 killed; 05:31:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:31:32 + git semver [Pipeline] } 05:31:32 $ docker stop --time=1 fdf8d499dd3f39286aefc0f424ca5116a99677a21e3fccf435e7b7617a4ae3c5 05:31:33 $ docker rm -f --volumes fdf8d499dd3f39286aefc0f424ca5116a99677a21e3fccf435e7b7617a4ae3c5 [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 05:31:34 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:31:34 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:31:34 total 16 05:31:34 drwxr-xr-x 3 root root 4096 Apr 6 05:19 . 05:31:34 drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 05:31 .. 05:31:34 drwxr-xr-x 2 root root 4096 Apr 6 05:19 cost 05:31:34 -rw-r--r-- 1 root root 85 Apr 6 05:19 cost.csv 05:31:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:31:34 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:31:34 total 16 05:31:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 05:19 . 05:31:34 drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 05:31 .. 05:31:34 drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 05:19 cost 05:31:34 -rw-r--r-- 1 jenkins jenkins 85 Apr 6 05:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:31:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:31:35 ---> package-listing.sh 05:31:35 ++ facter osfamily 05:31:35 ++ tr '[:upper:]' '[:lower:]' 05:31:35 + OS_FAMILY=debian 05:31:35 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:31:35 + START_PACKAGES=/tmp/packages_start.txt 05:31:35 + END_PACKAGES=/tmp/packages_end.txt 05:31:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:31:35 + PACKAGES=/tmp/packages_start.txt 05:31:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:31:35 + PACKAGES=/tmp/packages_end.txt 05:31:35 + case "${OS_FAMILY}" in 05:31:35 + dpkg -l 05:31:35 + grep '^ii' 05:31:35 + '[' -f /tmp/packages_start.txt ']' 05:31:35 + '[' -f /tmp/packages_end.txt ']' 05:31:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:31:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:31:35 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:31:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:31:35 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 05:31:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:36 prd-ubuntu20.04-docker-8c-8g-6969 does not seem to be running inside a container 05:31:36 $ 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 05:31:36 $ docker top ebd09449a04647b39c3c2d104c681fe197a4ee9ca1327b3a9f126de80aeb4da7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:31:37 + touch /tmp/pre-build-complete [Pipeline] sh 05:31:37 + mkdir -p /var/log/sysstat [Pipeline] sh 05:31:37 + ls /var/log/sa-host 05:31:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:38 provisioning config files... 05:31:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18436078568832721002tmp [Pipeline] { [Pipeline] echo 05:31:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:31:38 ---> create-netrc.sh [Pipeline] } 05:31:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:31:38 ---> python-tools-install.sh [Pipeline] echo 05:31:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:31:39 ---> sudo-logs.sh 05:31:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:31:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:31:39 ---> job-cost.sh 05:31:39 lf-activate-venv: SKIPPING 05:31:39 DEBUG: total: 0.2199999988079071 05:31:39 INFO: Retrieving Stack Cost... 05:31:39 INFO: Retrieving Pricing Info for: v3-standard-8 05:31:40 INFO: Archiving Costs [Pipeline] echo 05:31:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:31:40 ---> logs-deploy.sh 05:31:40 lf-activate-venv: SKIPPING 05:31:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/195 05:31:40 INFO: archiving workspace using pattern(s): 05:31:41 Archives upload complete. 05:31:41 INFO: archiving logs to Nexus