Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b56f98b359607ae8777d3b496d3ffaedfbff1a58 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-ssh4144815678739597905.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh17221325946593067703.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh2879007343394089064.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh13814655640528026411.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-ssh17625914619068046197.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3701 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 > 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 Avoid second fetch Checking out Revision b56f98b359607ae8777d3b496d3ffaedfbff1a58 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1493)" > git config core.sparsecheckout # timeout=10 > git checkout -f b56f98b359607ae8777d3b496d3ffaedfbff1a58 # timeout=10 > git rev-list --no-walk 2bcb30427b801ff9ed3b105e71011a55aed1d51b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:41:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:41:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:41:38 ========================================================= 15:41:38 EdgeX Global Pipelines Version Info 15:41:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:41:39 ------------------- 15:41:39 stable info: 15:41:39 ------------------- 15:41:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:41:39 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 15:41:39 Message: update stable to v1.0.253 15:41:39 ------------------- 15:41:39 experimental info: 15:41:39 ------------------- 15:41:39 Commited By: **** collab-it+edgex@linuxfoundation.org 15:41:39 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 15:41:39 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:41:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:41:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:41:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:41:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:41:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b56f98b [Pipeline] echo 15:41:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:41:40 provisioning config files... 15:41:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config632112589424293381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:41:40 ---> docker-login.sh 15:41:40 nexus3.edgexfoundry.org:10001 15:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:41 Configure a credential helper to remove this warning. See 15:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:41 15:41:41 Login Succeeded 15:41:41 nexus3.edgexfoundry.org:10002 15:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:41 Configure a credential helper to remove this warning. See 15:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:41 15:41:41 Login Succeeded 15:41:41 nexus3.edgexfoundry.org:10003 15:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:41 Configure a credential helper to remove this warning. See 15:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:41 15:41:41 Login Succeeded 15:41:41 nexus3.edgexfoundry.org:10004 15:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:41 Configure a credential helper to remove this warning. See 15:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:41 15:41:41 Login Succeeded 15:41:41 docker.io 15:41:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:41 Configure a credential helper to remove this warning. See 15:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:41 15:41:41 Login Succeeded 15:41:41 ---> docker-login.sh ends [Pipeline] } 15:41:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:41:42 + git rev-list -1 --merges b56f98b359607ae8777d3b496d3ffaedfbff1a58~1..b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] echo 15:41:42 -----------> git rev-list -1 --merges b56f98b359607ae8777d3b496d3ffaedfbff1a58~1..b56f98b359607ae8777d3b496d3ffaedfbff1a58 b56f98b359607ae8777d3b496d3ffaedfbff1a58 [false] [Pipeline] sh 15:41:42 + git log --format=format:%s -1 b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] echo 15:41:42 ========================================================= 15:41:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:41:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:41:42 + git log --format=format:%s -1 b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] echo 15:41:42 [semverPrep] GIT_COMMIT: b56f98b359607ae8777d3b496d3ffaedfbff1a58, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1493) [Pipeline] echo 15:41:42 [semverPrep] This is not a build commit. [Pipeline] sh 15:41:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:41:43 + grep -v github /etc/ssh/ssh_known_hosts 15:41:43 + [ -e /tmp/ssh_known_hosts ] 15:41:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:41:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:41:43 + sudo tee -a /etc/ssh/ssh_known_hosts 15:41:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:41:43 15:41:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:41:43 0.1.4: Pulling from edgex-devops/py-git-semver 15:41:43 b85a868b505f: Pulling fs layer 15:41:43 e2be974225ed: Pulling fs layer 15:41:43 339a4e72a1f5: Pulling fs layer 15:41:43 988bab9f4d93: Pulling fs layer 15:41:43 1469e6f7b9e6: Pulling fs layer 15:41:43 eaf3925da568: Pulling fs layer 15:41:43 bab4dde63d76: Pulling fs layer 15:41:43 bde34c3a00c8: Pulling fs layer 15:41:43 b352a97aabf1: Pulling fs layer 15:41:43 4872d77fe225: Pulling fs layer 15:41:43 5851b861e8e6: Pulling fs layer 15:41:43 988bab9f4d93: Waiting 15:41:43 1469e6f7b9e6: Waiting 15:41:43 eaf3925da568: Waiting 15:41:43 bab4dde63d76: Waiting 15:41:43 bde34c3a00c8: Waiting 15:41:43 4872d77fe225: Waiting 15:41:43 5851b861e8e6: Waiting 15:41:43 b352a97aabf1: Waiting 15:41:43 e2be974225ed: Verifying Checksum 15:41:43 e2be974225ed: Download complete 15:41:43 988bab9f4d93: Verifying Checksum 15:41:43 988bab9f4d93: Download complete 15:41:44 1469e6f7b9e6: Verifying Checksum 15:41:44 1469e6f7b9e6: Download complete 15:41:44 339a4e72a1f5: Verifying Checksum 15:41:44 339a4e72a1f5: Download complete 15:41:44 eaf3925da568: Verifying Checksum 15:41:44 eaf3925da568: Download complete 15:41:44 bde34c3a00c8: Download complete 15:41:44 4872d77fe225: Verifying Checksum 15:41:44 4872d77fe225: Download complete 15:41:44 5851b861e8e6: Verifying Checksum 15:41:44 5851b861e8e6: Download complete 15:41:44 b85a868b505f: Verifying Checksum 15:41:44 b85a868b505f: Download complete 15:41:44 bab4dde63d76: Verifying Checksum 15:41:44 bab4dde63d76: Download complete 15:41:45 b85a868b505f: Pull complete 15:41:45 e2be974225ed: Pull complete 15:41:46 339a4e72a1f5: Pull complete 15:41:46 988bab9f4d93: Pull complete 15:41:46 1469e6f7b9e6: Pull complete 15:41:46 eaf3925da568: Pull complete 15:41:48 bab4dde63d76: Pull complete 15:41:48 bde34c3a00c8: Pull complete 15:41:48 b352a97aabf1: Pull complete 15:41:48 4872d77fe225: Pull complete 15:41:48 5851b861e8e6: Pull complete 15:41:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:41:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:41:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:41:48 prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container 15:41:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:41:52 $ docker top b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c -eo pid,comm 15:41:52 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). 15:41:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:41:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:41:52 [ssh-agent] Looking for ssh-agent implementation... 15:41:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:41:53 $ docker exec b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c ssh-agent 15:41:53 SSH_AUTH_SOCK=/tmp/ssh-t2S2gdQeaJXH/agent.32 15:41:53 SSH_AGENT_PID=38 15:41:53 Running ssh-add (command line suppressed) 15:41:53 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13493170374884047055.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13493170374884047055.key) 15:41:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:41:53 + git tag --points-at HEAD [Pipeline] } 15:41:53 $ docker exec --env ******** --env ******** b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c ssh-agent -k 15:41:53 unset SSH_AUTH_SOCK; 15:41:53 unset SSH_AGENT_PID; 15:41:53 echo Agent pid 38 killed; 15:41:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:41:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:41:53 [ssh-agent] Looking for ssh-agent implementation... 15:41:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:41:53 $ docker exec b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c ssh-agent 15:41:53 SSH_AUTH_SOCK=/tmp/ssh-syKvAtMu1a2Y/agent.70 15:41:53 SSH_AGENT_PID=76 15:41:53 Running ssh-add (command line suppressed) 15:41:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11579004316722975819.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11579004316722975819.key) 15:41:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:41:54 + git semver init 15:41:54 2023-08-15 15:41:54,548 [run_init] DEBUG init version:0.0.0 force:False 15:41:54 2023-08-15 15:41:54,549 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:41:54 2023-08-15 15:41:54,550 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:41:54 2023-08-15 15:41:54,550 [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) 15:41:55 2023-08-15 15:41:55,433 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:41:55 2023-08-15 15:41:55,434 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:41:55 2023-08-15 15:41:55,434 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:41:55 2023-08-15 15:41:55,434 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:41:55 3.1.0-dev.12 [Pipeline] } 15:41:55 $ docker exec --env ******** --env ******** b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c ssh-agent -k 15:41:55 unset SSH_AUTH_SOCK; 15:41:55 unset SSH_AGENT_PID; 15:41:55 echo Agent pid 76 killed; 15:41:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:41:55 + git semver [Pipeline] } 15:41:56 $ docker stop --time=1 b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c 15:41:57 $ docker rm -f --volumes b3dd4e412bd3a508e598441e17084789c9249b2d0466b8a6cfa844962e87b29c [Pipeline] // withDockerContainer [Pipeline] sh 15:41:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:41:58 Stashed 1 file(s) [Pipeline] echo 15:41:58 [edgeXSemver]: initialized semver on version 3.1.0-dev.12 [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 15:41:58 provisioning config files... 15:41:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15845111246605229422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:41:58 ---> docker-login.sh 15:41:58 nexus3.edgexfoundry.org:10001 15:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:58 Configure a credential helper to remove this warning. See 15:41:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:58 15:41:58 Login Succeeded 15:41:58 nexus3.edgexfoundry.org:10002 15:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:58 Configure a credential helper to remove this warning. See 15:41:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:58 15:41:58 Login Succeeded 15:41:58 nexus3.edgexfoundry.org:10003 15:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:58 Configure a credential helper to remove this warning. See 15:41:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:58 15:41:58 Login Succeeded 15:41:58 nexus3.edgexfoundry.org:10004 15:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:58 Configure a credential helper to remove this warning. See 15:41:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:58 15:41:58 Login Succeeded 15:41:58 docker.io 15:41:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:41:59 Configure a credential helper to remove this warning. See 15:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:41:59 15:41:59 Login Succeeded 15:41:59 ---> docker-login.sh ends [Pipeline] } 15:41:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:41:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:41:59 ========================================================= 15:41:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:41:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:59 + 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 . 15:41:59 Sending build context to Docker daemon 11.04MB 15:41:59 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:41:59 Step 2/10 : FROM ${BASE} AS builder 15:41:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:41:59 4db1b89c0bd1: Pulling fs layer 15:41:59 6911f1a30b25: Pulling fs layer 15:41:59 e194b8c5c2a9: Pulling fs layer 15:41:59 6863d3e3a2b1: Pulling fs layer 15:41:59 ec0bb842ea78: Pulling fs layer 15:41:59 40a00589a448: Pulling fs layer 15:41:59 6c08303d61cc: Pulling fs layer 15:41:59 798269fcf238: Pulling fs layer 15:41:59 ec0bb842ea78: Waiting 15:41:59 40a00589a448: Waiting 15:41:59 6c08303d61cc: Waiting 15:41:59 798269fcf238: Waiting 15:41:59 6863d3e3a2b1: Waiting 15:41:59 6911f1a30b25: Verifying Checksum 15:41:59 6911f1a30b25: Download complete 15:41:59 6863d3e3a2b1: Verifying Checksum 15:41:59 6863d3e3a2b1: Download complete 15:41:59 ec0bb842ea78: Download complete 15:41:59 4db1b89c0bd1: Verifying Checksum 15:41:59 4db1b89c0bd1: Download complete 15:41:59 40a00589a448: Verifying Checksum 15:41:59 40a00589a448: Download complete 15:41:59 4db1b89c0bd1: Pull complete 15:42:00 6911f1a30b25: Pull complete 15:42:00 e194b8c5c2a9: Verifying Checksum 15:42:00 e194b8c5c2a9: Download complete 15:42:00 798269fcf238: Verifying Checksum 15:42:00 798269fcf238: Download complete 15:42:00 6c08303d61cc: Verifying Checksum 15:42:00 6c08303d61cc: Download complete 15:42:04 e194b8c5c2a9: Pull complete 15:42:04 6863d3e3a2b1: Pull complete 15:42:04 ec0bb842ea78: Pull complete 15:42:04 40a00589a448: Pull complete 15:42:06 6c08303d61cc: Pull complete 15:42:07 798269fcf238: Pull complete 15:42:07 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 15:42:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:42:07 ---> ec979cd7f677 15:42:07 Step 3/10 : ARG MAKE=make build 15:42:13 Still waiting to schedule task 15:42:13 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:42:14 ---> Running in 5807e8fd8eed 15:42:14 Removing intermediate container 5807e8fd8eed 15:42:14 ---> 235b00916c44 15:42:14 Step 4/10 : WORKDIR /device-sdk-go 15:42:14 ---> Running in 553747de6f9d 15:42:14 Removing intermediate container 553747de6f9d 15:42:14 ---> b1f73549a73f 15:42:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:42:14 ---> Running in a3086cbd0482 15:42:14 Removing intermediate container a3086cbd0482 15:42:14 ---> 6d2cf595987e 15:42:14 Step 6/10 : RUN apk add --update --no-cache make git 15:42:14 ---> Running in fea722361dea 15:42:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:42:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:42:15 OK: 265 MiB in 53 packages 15:42:15 Removing intermediate container fea722361dea 15:42:15 ---> c6a64cd3c5f3 15:42:15 Step 7/10 : COPY go.mod vendor* ./ 15:42:15 ---> 2bb8b80a77ae 15:42:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:42:15 ---> Running in 8b13df6c9956 15:42:54 Removing intermediate container 8b13df6c9956 15:42:54 ---> adfb6a6d7d4e 15:42:54 Step 9/10 : COPY . . 15:42:54 ---> b72427606724 15:42:54 Step 10/10 : RUN ${MAKE} 15:42:54 ---> Running in 34339fe8e2fc 15:42:54 noop 15:42:54 Removing intermediate container 34339fe8e2fc 15:42:54 ---> 14c4ec1c9a26 15:42:54 Successfully built 14c4ec1c9a26 15:42:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:54 + docker inspect -f . ci-base-image-x86_64 15:42:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:55 prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container 15:42:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:42:56 $ docker top 36c546b53fcc10293ab73c83c295e396f176bd8f2f946a6ad6713b3200151712 -eo pid,comm [Pipeline] { [Pipeline] sh 15:42:56 + go version 15:42:56 go version go1.20.6 linux/amd64 [Pipeline] } 15:42:56 $ docker stop --time=1 36c546b53fcc10293ab73c83c295e396f176bd8f2f946a6ad6713b3200151712 15:42:58 $ docker rm -f --volumes 36c546b53fcc10293ab73c83c295e396f176bd8f2f946a6ad6713b3200151712 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:58 + docker inspect -f . ci-base-image-x86_64 15:42:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:58 prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container 15:42:58 $ 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 ******** ci-base-image-x86_64 cat 15:43:00 $ docker top bd32048e3e55a21c90079ca6a29280d76ca269a8df82beb42bbab2fd9417dac9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:00 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:43:00 + make test 15:43:00 go test -race -coverprofile=coverage.out ./... 15:43:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:43:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:43:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:43:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:43:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:43:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:43:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements 15:43:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 80.2% of statements 15:43:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:43:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:43:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.078s coverage: 86.0% of statements 15:43:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:43:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 71.8% of statements 15:43:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:43:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:43:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:43:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.081s coverage: 14.3% of statements 15:43:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.763s coverage: 43.8% of statements 15:43:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.111s coverage: 68.5% of statements 15:43:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.141s coverage: 89.2% of statements 15:43:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements 15:43:46 GO111MODULE=on go vet ./... 15:43:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:43:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:43:50 ./bin/test-attribution-txt.sh 15:43:50 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 15:43:50 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 15:43:50 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 15:43:50 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 15:43:50 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 15:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:43:50 $ docker stop --time=1 bd32048e3e55a21c90079ca6a29280d76ca269a8df82beb42bbab2fd9417dac9 15:43:56 $ docker rm -f --volumes bd32048e3e55a21c90079ca6a29280d76ca269a8df82beb42bbab2fd9417dac9 [Pipeline] // withDockerContainer [Pipeline] sh 15:43:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:43:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:43:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:43:57 + ls -al . 15:43:57 total 304 15:43:57 drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 15:43 . 15:43:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 15:41 .. 15:43:57 -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 15:41 .dockerignore 15:43:57 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 15:41 .git 15:43:57 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 15:41 .github 15:43:57 -rw-rw-r-- 1 jenkins jenkins 137 Aug 15 15:41 .gitignore 15:43:57 -rw-rw-r-- 1 jenkins jenkins 42 Aug 15 15:41 .golangci.yml 15:43:57 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 15:41 .semver 15:43:57 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 15 15:41 CHANGELOG.md 15:43:57 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 15:41 GOVERNANCE.md 15:43:57 -rw-rw-r-- 1 jenkins jenkins 885 Aug 15 15:41 Jenkinsfile 15:43:57 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 15 15:41 LICENSE 15:43:57 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 15 15:41 Makefile 15:43:57 -rw-rw-r-- 1 jenkins jenkins 619 Aug 15 15:41 OWNERS.md 15:43:57 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 15 15:41 README.md 15:43:57 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 15:41 VERSION 15:43:57 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 15:41 bin 15:43:57 -rw-r--r-- 1 jenkins jenkins 120271 Aug 15 15:43 coverage.out 15:43:57 drwxrwxr-x 5 jenkins jenkins 4096 Aug 15 15:41 example 15:43:57 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 15 15:41 go.mod 15:43:57 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 15 15:41 go.sum 15:43:57 drwxrwxr-x 12 jenkins jenkins 4096 Aug 15 15:41 internal 15:43:57 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 15:41 openapi 15:43:57 drwxrwxr-x 6 jenkins jenkins 4096 Aug 15 15:41 pkg 15:43:57 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 15:41 snap 15:43:57 -rw-rw-r-- 1 jenkins jenkins 222 Aug 15 15:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:57 + 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=b56f98b359607ae8777d3b496d3ffaedfbff1a58 --label arch=amd64 --label version=3.1.0-dev.12 . 15:43:57 Sending build context to Docker daemon 11.16MB 15:43:57 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 15:43:57 Step 2/23 : FROM ${BASE} AS builder 15:43:57 ---> 14c4ec1c9a26 15:43:57 Step 3/23 : ARG MAKE=make build 15:43:58 ---> Running in d3af8f067c53 15:43:58 Removing intermediate container d3af8f067c53 15:43:58 ---> ea7c4ea834ec 15:43:58 Step 4/23 : WORKDIR /device-sdk-go 15:43:58 ---> Running in 12d81f0b6f40 15:43:59 Removing intermediate container 12d81f0b6f40 15:43:59 ---> f9a5ced07b7a 15:43:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:43:59 ---> Running in 5ea39cc1f00c 15:43:59 Removing intermediate container 5ea39cc1f00c 15:43:59 ---> 2460260a682c 15:43:59 Step 6/23 : RUN apk add --update --no-cache make git 15:43:59 ---> Running in 30da3db1579a 15:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:44:00 OK: 265 MiB in 53 packages 15:44:00 Removing intermediate container 30da3db1579a 15:44:00 ---> 14b88fb0e5fe 15:44:00 Step 7/23 : COPY go.mod vendor* ./ 15:44:00 ---> 1c219c01e27c 15:44:00 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:44:00 ---> Running in 954f68cea70d 15:44:01 Removing intermediate container 954f68cea70d 15:44:01 ---> 0732e684ab20 15:44:01 Step 9/23 : COPY . . 15:44:02 ---> c9c37fac2ef9 15:44:02 Step 10/23 : RUN ${MAKE} 15:44:02 ---> Running in 566e7bd01cd8 15:44:02 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.12" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:44:24 Removing intermediate container 566e7bd01cd8 15:44:24 ---> e043697cb6c3 15:44:24 Step 11/23 : FROM alpine:3.17 15:44:24 3.17: Pulling from library/alpine 15:44:24 9398808236ff: Pulling fs layer 15:44:24 9398808236ff: Verifying Checksum 15:44:24 9398808236ff: Download complete 15:44:24 9398808236ff: Pull complete 15:44:24 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 15:44:24 Status: Downloaded newer image for alpine:3.17 15:44:24 ---> 1e0b8b5322fc 15:44:24 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:44:24 ---> Running in f122922db0ea 15:44:25 Removing intermediate container f122922db0ea 15:44:25 ---> 6ffe1dd71e1e 15:44:25 Step 13/23 : RUN apk add --update --no-cache 15:44:25 ---> Running in 3072d8af427e 15:44:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:44:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:44:25 OK: 7 MiB in 15 packages 15:44:26 Removing intermediate container 3072d8af427e 15:44:26 ---> a25fa8057881 15:44:26 Step 14/23 : WORKDIR / 15:44:26 ---> Running in 83f97793e246 15:44:26 Removing intermediate container 83f97793e246 15:44:26 ---> 156a7fcba6b6 15:44:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:44:26 ---> ebc65d57f1d1 15:44:26 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:44:27 ---> 8dafb82c19a4 15:44:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:44:27 ---> 5bca9c6fa100 15:44:27 Step 18/23 : EXPOSE 59999 15:44:27 ---> Running in 9d837e0f1726 15:44:27 Removing intermediate container 9d837e0f1726 15:44:27 ---> 86d20d38c520 15:44:27 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:44:28 ---> Running in 68f5d388a1df 15:44:28 Removing intermediate container 68f5d388a1df 15:44:28 ---> f70e1698bf4b 15:44:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:44:28 ---> Running in 90ef49a3ad3f 15:44:28 Removing intermediate container 90ef49a3ad3f 15:44:28 ---> b4bb68f9ab44 15:44:28 Step 21/23 : LABEL arch=amd64 15:44:28 ---> Running in 2e32b953222a 15:44:28 Removing intermediate container 2e32b953222a 15:44:28 ---> 3610c8256e8f 15:44:28 Step 22/23 : LABEL git_sha=b56f98b359607ae8777d3b496d3ffaedfbff1a58 15:44:28 ---> Running in fc707174103c 15:44:28 Removing intermediate container fc707174103c 15:44:28 ---> 1f96b149982e 15:44:28 Step 23/23 : LABEL version=3.1.0-dev.12 15:44:28 ---> Running in bd114ac1851b 15:44:28 Removing intermediate container bd114ac1851b 15:44:28 ---> b35360f9c2f9 15:44:28 [Warning] One or more build-args [ARCH] were not consumed 15:44:28 Successfully built b35360f9c2f9 15:44:28 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 15:44:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:28 15:44:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:29 latest: Pulling from edgex-lftools-log-publisher 15:44:29 5eb5b503b376: Pulling fs layer 15:44:29 5c69ac0246d0: Pulling fs layer 15:44:29 ec43610c2a17: Pulling fs layer 15:44:29 3a2ae6a8a46f: Pulling fs layer 15:44:29 33b1e0a273af: Pulling fs layer 15:44:29 5d3b04190fa2: Pulling fs layer 15:44:29 2f39f015ded8: Pulling fs layer 15:44:29 33b1e0a273af: Waiting 15:44:29 5d3b04190fa2: Waiting 15:44:29 2f39f015ded8: Waiting 15:44:29 3a2ae6a8a46f: Waiting 15:44:29 5c69ac0246d0: Verifying Checksum 15:44:29 5c69ac0246d0: Download complete 15:44:29 3a2ae6a8a46f: Download complete 15:44:29 33b1e0a273af: Verifying Checksum 15:44:29 33b1e0a273af: Download complete 15:44:29 5d3b04190fa2: Download complete 15:44:29 ec43610c2a17: Verifying Checksum 15:44:29 ec43610c2a17: Download complete 15:44:29 5eb5b503b376: Verifying Checksum 15:44:29 5eb5b503b376: Download complete 15:44:30 2f39f015ded8: Download complete 15:44:30 5eb5b503b376: Pull complete 15:44:31 5c69ac0246d0: Pull complete 15:44:31 ec43610c2a17: Pull complete 15:44:32 3a2ae6a8a46f: Pull complete 15:44:32 33b1e0a273af: Pull complete 15:44:32 5d3b04190fa2: Pull complete 15:44:36 2f39f015ded8: Pull complete 15:44:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:44:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:37 prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container 15:44:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:44:44 $ docker top e6c1d67810d97f040bddc85a40b09ee54dfe096e0b6d039eae3583b1d9ca83e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:45 ---> job-cost.sh 15:44:45 lf-activate-venv: SKIPPING 15:44:45 INFO: No Stack... 15:44:45 INFO: Retrieving Pricing Info for: v3-standard-8 15:44:45 INFO: Archiving Costs [Pipeline] sh 15:44:45 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:44:45 + cut -d, -f6 [Pipeline] lock 15:44:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] 15:44:45 Resource [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] did not exist. Created. 15:44:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:44:46 + echo total: 0.2199999988079071 [Pipeline] stash 15:44:46 Stashed 1 file(s) [Pipeline] } 15:44:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] [Pipeline] // lock [Pipeline] } 15:44:46 $ docker stop --time=1 e6c1d67810d97f040bddc85a40b09ee54dfe096e0b6d039eae3583b1d9ca83e0 15:44:47 $ docker rm -f --volumes e6c1d67810d97f040bddc85a40b09ee54dfe096e0b6d039eae3583b1d9ca83e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:46:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3702 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:46:41 Running in /w/workspace/device-sdk-go/241 [Pipeline] { [Pipeline] checkout 15:46:41 The recommended git tool is: git 15:46:46 using credential edgex-jenkins-ssh 15:46:47 Cloning the remote Git repository 15:46:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:46:47 > git init /w/workspace/device-sdk-go/241 # timeout=10 15:46:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:46:47 > git --version # timeout=10 15:46:47 > git --version # 'git version 2.25.1' 15:46:47 using GIT_SSH to set credentials SSH Credentials for GitHub 15:46:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:46:50 Avoid second fetch 15:46:50 Checking out Revision b56f98b359607ae8777d3b496d3ffaedfbff1a58 (main) 15:46:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:46:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:46:50 > git config core.sparsecheckout # timeout=10 15:46:50 > git checkout -f b56f98b359607ae8777d3b496d3ffaedfbff1a58 # timeout=10 15:46:50 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1493)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:46:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:46:51 % Total % Received % Xferd Average Speed Time Time Time Current 15:46:51 Dload Upload Total Spent Left Speed 15:46:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 75 12751 75 9637 0 0 57023 0 --:--:-- --:--:-- --:--:-- 56688 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74133 [Pipeline] sh 15:46:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:46:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:46:52 + sudo tee /etc/docker/daemon.new 15:46:52 { 15:46:52 "registry-mirrors": [ 15:46:52 "https://nexus3.edgexfoundry.org:10001" 15:46:52 ], 15:46:52 "bip": "10.250.0.254/24", 15:46:52 "hosts": [ 15:46:52 "tcp://0.0.0.0:5555", 15:46:52 "unix:///var/run/docker.sock" 15:46:52 ], 15:46:52 "mtu": 1458, 15:46:52 "selinux-enabled": true, 15:46:52 "seccomp-profile": "/etc/docker/seccomp.json" 15:46:52 } [Pipeline] sh 15:46:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:46:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:47:11 provisioning config files... 15:47:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/241@tmp/config4431916925139267848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:12 ---> docker-login.sh 15:47:12 nexus3.edgexfoundry.org:10001 15:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:12 Configure a credential helper to remove this warning. See 15:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:12 15:47:12 Login Succeeded 15:47:12 nexus3.edgexfoundry.org:10002 15:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:13 Configure a credential helper to remove this warning. See 15:47:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:13 15:47:13 Login Succeeded 15:47:13 nexus3.edgexfoundry.org:10003 15:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:13 Configure a credential helper to remove this warning. See 15:47:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:13 15:47:13 Login Succeeded 15:47:13 nexus3.edgexfoundry.org:10004 15:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:13 Configure a credential helper to remove this warning. See 15:47:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:13 15:47:13 Login Succeeded 15:47:13 docker.io 15:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:14 Configure a credential helper to remove this warning. See 15:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:14 15:47:14 Login Succeeded 15:47:14 ---> docker-login.sh ends [Pipeline] } 15:47:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:47:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:47:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:47:14 ========================================================= 15:47:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:47:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:15 + 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 . 15:47:15 Sending build context to Docker daemon 5.89MB 15:47:15 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:47:15 Step 2/10 : FROM ${BASE} AS builder 15:47:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:47:15 edb6bdbacee9: Pulling fs layer 15:47:15 5f9638ab2659: Pulling fs layer 15:47:15 8d51d6327a98: Pulling fs layer 15:47:15 8b374f2dd631: Pulling fs layer 15:47:15 ec14aa9079de: Pulling fs layer 15:47:15 2f466654f4bb: Pulling fs layer 15:47:15 554e91adad29: Pulling fs layer 15:47:15 8b374f2dd631: Waiting 15:47:15 ec14aa9079de: Waiting 15:47:15 2f466654f4bb: Waiting 15:47:15 554e91adad29: Waiting 15:47:15 5f9638ab2659: Verifying Checksum 15:47:15 5f9638ab2659: Download complete 15:47:15 8b374f2dd631: Verifying Checksum 15:47:15 8b374f2dd631: Download complete 15:47:15 edb6bdbacee9: Verifying Checksum 15:47:15 edb6bdbacee9: Download complete 15:47:15 ec14aa9079de: Verifying Checksum 15:47:15 ec14aa9079de: Download complete 15:47:17 554e91adad29: Verifying Checksum 15:47:17 554e91adad29: Download complete 15:47:18 8d51d6327a98: Verifying Checksum 15:47:18 8d51d6327a98: Download complete 15:47:18 2f466654f4bb: Verifying Checksum 15:47:18 2f466654f4bb: Download complete 15:47:19 edb6bdbacee9: Pull complete 15:47:19 5f9638ab2659: Pull complete 15:47:35 8d51d6327a98: Pull complete 15:47:35 8b374f2dd631: Pull complete 15:47:35 ec14aa9079de: Pull complete 15:47:40 2f466654f4bb: Pull complete 15:47:42 554e91adad29: Pull complete 15:47:42 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 15:47:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:47:42 ---> 1e15ea492957 15:47:42 Step 3/10 : ARG MAKE=make build 15:47:43 ---> Running in aef2de6135fc 15:47:44 Removing intermediate container aef2de6135fc 15:47:44 ---> a64e4fcc8e60 15:47:44 Step 4/10 : WORKDIR /device-sdk-go 15:47:44 ---> Running in ed65372835e9 15:47:44 Removing intermediate container ed65372835e9 15:47:44 ---> 4d8673fb163c 15:47:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:47:44 ---> Running in ac01015b05bb 15:47:45 Removing intermediate container ac01015b05bb 15:47:45 ---> b98399731870 15:47:45 Step 6/10 : RUN apk add --update --no-cache make git 15:47:45 ---> Running in 417cba288a4d 15:47:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:47:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:47:48 OK: 263 MiB in 53 packages 15:47:49 Removing intermediate container 417cba288a4d 15:47:49 ---> 7410ea76174e 15:47:49 Step 7/10 : COPY go.mod vendor* ./ 15:47:49 ---> c7f6b9efe12c 15:47:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:47:49 ---> Running in 6c1e9199b5c0 15:48:57 Removing intermediate container 6c1e9199b5c0 15:48:57 ---> 92e81c302ef5 15:48:57 Step 9/10 : COPY . . 15:48:57 ---> 37fb38d64375 15:48:57 Step 10/10 : RUN ${MAKE} 15:48:57 ---> Running in 14dd0703442c 15:48:57 noop 15:48:57 Removing intermediate container 14dd0703442c 15:48:57 ---> 0f5880fa9a35 15:48:57 Successfully built 0f5880fa9a35 15:48:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:57 + docker inspect -f . ci-base-image-arm64 15:48:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:57 prd-ubuntu20.04-docker-arm64-4c-16g-3702 does not seem to be running inside a container 15:48:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/241 -v /w/workspace/device-sdk-go/241:/w/workspace/device-sdk-go/241:rw,z -v /w/workspace/device-sdk-go/241@tmp:/w/workspace/device-sdk-go/241@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 15:48:59 $ docker top be09747f042faea09e6d27049ceca6e9613b891a6e319cdf7ab3339a0160b0f4 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:00 + go version 15:49:00 go version go1.20.6 linux/arm64 [Pipeline] } 15:49:00 $ docker stop --time=1 be09747f042faea09e6d27049ceca6e9613b891a6e319cdf7ab3339a0160b0f4 15:49:01 $ docker rm -f --volumes be09747f042faea09e6d27049ceca6e9613b891a6e319cdf7ab3339a0160b0f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:02 + docker inspect -f . ci-base-image-arm64 15:49:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:02 prd-ubuntu20.04-docker-arm64-4c-16g-3702 does not seem to be running inside a container 15:49:02 $ 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/241 -v /w/workspace/device-sdk-go/241:/w/workspace/device-sdk-go/241:rw,z -v /w/workspace/device-sdk-go/241@tmp:/w/workspace/device-sdk-go/241@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 15:49:03 $ docker top 3d487acb428d61a13821e789e862976dbb2ad6ece1ab2e48482df1ece3f07aab -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:04 + git config --global --add safe.directory /w/workspace/device-sdk-go/241 [Pipeline] fileExists [Pipeline] sh 15:49:05 + make test 15:49:05 go test -race -coverprofile=coverage.out ./... 15:49:52 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:51:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:51:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:51:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:51:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:51:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:51:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.218s coverage: 27.6% of statements 15:52:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.258s coverage: 80.2% of statements 15:52:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:52:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:52:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.345s coverage: 86.0% of statements 15:52:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:52:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.529s coverage: 71.8% of statements 15:52:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.294s coverage: 14.3% of statements 15:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:52:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:52:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.879s coverage: 43.8% of statements 15:52:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.446s coverage: 68.5% of statements 15:52:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.426s coverage: 89.2% of statements 15:52:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:52:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.245s coverage: 5.5% of statements 15:52:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:52:34 GO111MODULE=on go vet ./... 15:54:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:54:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:54:55 ./bin/test-attribution-txt.sh 15:54:55 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 15:54:55 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 15:54:55 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 15:54:55 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 15:54:55 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 15:54:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:54:55 $ docker stop --time=1 3d487acb428d61a13821e789e862976dbb2ad6ece1ab2e48482df1ece3f07aab 15:54:57 $ docker rm -f --volumes 3d487acb428d61a13821e789e862976dbb2ad6ece1ab2e48482df1ece3f07aab [Pipeline] // withDockerContainer [Pipeline] sh 15:54:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:54:59 Warning: overwriting stash ‘coverage-report’ 15:54:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:55:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:55:00 + ls -al . 15:55:00 total 300 15:55:00 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 15:49 . 15:55:00 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 15:46 .. 15:55:00 -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 15:46 .dockerignore 15:55:00 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 15:46 .git 15:55:00 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 15:46 .github 15:55:00 -rw-rw-r-- 1 jenkins jenkins 137 Aug 15 15:46 .gitignore 15:55:00 -rw-rw-r-- 1 jenkins jenkins 42 Aug 15 15:46 .golangci.yml 15:55:00 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 15 15:46 CHANGELOG.md 15:55:00 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 15:46 GOVERNANCE.md 15:55:00 -rw-rw-r-- 1 jenkins jenkins 885 Aug 15 15:46 Jenkinsfile 15:55:00 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 15 15:46 LICENSE 15:55:00 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 15 15:46 Makefile 15:55:00 -rw-rw-r-- 1 jenkins jenkins 619 Aug 15 15:46 OWNERS.md 15:55:00 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 15 15:46 README.md 15:55:00 -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 15:41 VERSION 15:55:00 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 15:46 bin 15:55:00 -rw-r--r-- 1 jenkins jenkins 120273 Aug 15 15:52 coverage.out 15:55:00 drwxrwxr-x 5 jenkins jenkins 4096 Aug 15 15:46 example 15:55:00 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 15 15:46 go.mod 15:55:00 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 15 15:46 go.sum 15:55:00 drwxrwxr-x 12 jenkins jenkins 4096 Aug 15 15:46 internal 15:55:00 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 15:46 openapi 15:55:00 drwxrwxr-x 6 jenkins jenkins 4096 Aug 15 15:46 pkg 15:55:00 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 15:46 snap 15:55:00 -rw-rw-r-- 1 jenkins jenkins 222 Aug 15 15:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:00 + 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=b56f98b359607ae8777d3b496d3ffaedfbff1a58 --label arch=arm64 --label version=3.1.0-dev.12 . 15:55:01 Sending build context to Docker daemon 6.01MB 15:55:01 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 15:55:01 Step 2/23 : FROM ${BASE} AS builder 15:55:01 ---> 0f5880fa9a35 15:55:01 Step 3/23 : ARG MAKE=make build 15:55:01 ---> Running in 048d3735a69e 15:55:01 Removing intermediate container 048d3735a69e 15:55:01 ---> 7ee249ddbb11 15:55:01 Step 4/23 : WORKDIR /device-sdk-go 15:55:01 ---> Running in 8ac5082e92c5 15:55:01 Removing intermediate container 8ac5082e92c5 15:55:01 ---> cda88abec3e6 15:55:01 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:55:02 ---> Running in 8339221f61e3 15:55:02 Removing intermediate container 8339221f61e3 15:55:02 ---> 9b85b9bc181b 15:55:02 Step 6/23 : RUN apk add --update --no-cache make git 15:55:02 ---> Running in 06db0d9d5506 15:55:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:55:05 OK: 263 MiB in 53 packages 15:55:05 Removing intermediate container 06db0d9d5506 15:55:05 ---> 4068b3e787de 15:55:05 Step 7/23 : COPY go.mod vendor* ./ 15:55:06 ---> f676c87138b2 15:55:06 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:55:06 ---> Running in f1b2f330fde0 15:55:10 Removing intermediate container f1b2f330fde0 15:55:10 ---> 3348a8e7082c 15:55:10 Step 9/23 : COPY . . 15:55:11 ---> 53eaa10dd4c9 15:55:11 Step 10/23 : RUN ${MAKE} 15:55:11 ---> Running in 58c928f3cbe3 15:55:12 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.12" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:57:18 Removing intermediate container 58c928f3cbe3 15:57:18 ---> 963715c1c378 15:57:18 Step 11/23 : FROM alpine:3.17 15:57:18 3.17: Pulling from library/alpine 15:57:18 4060ece20d7a: Pulling fs layer 15:57:18 4060ece20d7a: Verifying Checksum 15:57:18 4060ece20d7a: Download complete 15:57:18 4060ece20d7a: Pull complete 15:57:18 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 15:57:18 Status: Downloaded newer image for alpine:3.17 15:57:18 ---> 8650cd65339b 15:57:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:57:18 ---> Running in 359a9c023752 15:57:18 Removing intermediate container 359a9c023752 15:57:18 ---> e3126ff02938 15:57:18 Step 13/23 : RUN apk add --update --no-cache 15:57:18 ---> Running in 7f70a4431fe7 15:57:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:57:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:57:21 OK: 7 MiB in 15 packages 15:57:22 Removing intermediate container 7f70a4431fe7 15:57:22 ---> 7f1d6c69535d 15:57:22 Step 14/23 : WORKDIR / 15:57:22 ---> Running in 4b27b31e2dc8 15:57:22 Removing intermediate container 4b27b31e2dc8 15:57:22 ---> 0d2d14a34657 15:57:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:57:23 ---> 652dafd67a65 15:57:23 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:57:24 ---> af7b3c4e0bd9 15:57:24 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:57:25 ---> ab0ccdaf0185 15:57:25 Step 18/23 : EXPOSE 59999 15:57:25 ---> Running in b97d14f15dee 15:57:25 Removing intermediate container b97d14f15dee 15:57:25 ---> b749e94082d1 15:57:25 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:57:25 ---> Running in 4b9644d613be 15:57:25 Removing intermediate container 4b9644d613be 15:57:25 ---> c6d8ee34cc28 15:57:25 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:57:25 ---> Running in 739e45fe386b 15:57:26 Removing intermediate container 739e45fe386b 15:57:26 ---> bbde7cf6ce1f 15:57:26 Step 21/23 : LABEL arch=arm64 15:57:26 ---> Running in 38f65a92b319 15:57:26 Removing intermediate container 38f65a92b319 15:57:26 ---> ea860cda5e66 15:57:26 Step 22/23 : LABEL git_sha=b56f98b359607ae8777d3b496d3ffaedfbff1a58 15:57:26 ---> Running in df1edcca283a 15:57:26 Removing intermediate container df1edcca283a 15:57:26 ---> aea97dd8bdef 15:57:26 Step 23/23 : LABEL version=3.1.0-dev.12 15:57:26 ---> Running in 9a47db298e0c 15:57:27 Removing intermediate container 9a47db298e0c 15:57:27 ---> 66771683fab2 15:57:27 [Warning] One or more build-args [ARCH] were not consumed 15:57:27 Successfully built 66771683fab2 15:57:27 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 15:57:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:57:27 15:57:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:57:27 arm64: Pulling from edgex-lftools-log-publisher 15:57:27 8998bd30e6a1: Pulling fs layer 15:57:27 04944245beec: Pulling fs layer 15:57:27 699f458cf7ca: Pulling fs layer 15:57:27 765212b225bb: Pulling fs layer 15:57:27 f23df028b6ca: Pulling fs layer 15:57:27 d65c8cfc05b1: Pulling fs layer 15:57:27 2437ff75d9bd: Pulling fs layer 15:57:27 765212b225bb: Waiting 15:57:27 f23df028b6ca: Waiting 15:57:27 d65c8cfc05b1: Waiting 15:57:27 2437ff75d9bd: Waiting 15:57:28 04944245beec: Verifying Checksum 15:57:28 04944245beec: Download complete 15:57:28 765212b225bb: Verifying Checksum 15:57:28 765212b225bb: Download complete 15:57:28 f23df028b6ca: Verifying Checksum 15:57:28 f23df028b6ca: Download complete 15:57:28 d65c8cfc05b1: Verifying Checksum 15:57:28 d65c8cfc05b1: Download complete 15:57:28 699f458cf7ca: Verifying Checksum 15:57:28 699f458cf7ca: Download complete 15:57:28 8998bd30e6a1: Verifying Checksum 15:57:28 8998bd30e6a1: Download complete 15:57:30 2437ff75d9bd: Verifying Checksum 15:57:30 2437ff75d9bd: Download complete 15:57:32 8998bd30e6a1: Pull complete 15:57:35 04944245beec: Pull complete 15:57:36 699f458cf7ca: Pull complete 15:57:36 765212b225bb: Pull complete 15:57:37 f23df028b6ca: Pull complete 15:57:37 d65c8cfc05b1: Pull complete 15:57:52 2437ff75d9bd: Pull complete 15:57:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:57:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:52 prd-ubuntu20.04-docker-arm64-4c-16g-3702 does not seem to be running inside a container 15:57:52 $ 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/241 -v /w/workspace/device-sdk-go/241:/w/workspace/device-sdk-go/241:rw,z -v /w/workspace/device-sdk-go/241@tmp:/w/workspace/device-sdk-go/241@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 15:57:55 $ docker top d36c8cd58d055ae560306562134672f7d9b56bf1940e5aaaa01a3e564c3a3365 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:57:55 ---> job-cost.sh 15:57:55 lf-activate-venv: SKIPPING 15:57:55 INFO: No Stack... 15:57:56 INFO: Retrieving Pricing Info for: v3-standard-4 15:57:57 INFO: Archiving Costs [Pipeline] sh 15:57:57 + cat /w/workspace/device-sdk-go/241/archives/cost.csv 15:57:57 + cut -d, -f6 [Pipeline] lock 15:57:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] 15:57:57 Resource [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] did not exist. Created. 15:57:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:57:57 /w/workspace/device-sdk-go/241@tmp/durable-d56e8d97/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:57:58 + echo total: 0.10999999940395355 [Pipeline] stash 15:57:58 Warning: overwriting stash ‘stack-cost’ 15:57:58 Stashed 1 file(s) [Pipeline] } 15:57:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-241-stack-cost] [Pipeline] // lock [Pipeline] } 15:57:58 $ docker stop --time=1 d36c8cd58d055ae560306562134672f7d9b56bf1940e5aaaa01a3e564c3a3365 15:58:00 $ docker rm -f --volumes d36c8cd58d055ae560306562134672f7d9b56bf1940e5aaaa01a3e564c3a3365 [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 15:58:00 provisioning config files... 15:58:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7622845074618767711tmp [Pipeline] { [Pipeline] sh 15:58:00 + set +x 15:58:00 + + curl -sbash https://codecov.io/bash -s 15:58:00 -- 15:58:00 15:58:00 _____ _ 15:58:00 / ____| | | 15:58:00 | | ___ __| | ___ ___ _____ __ 15:58:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:58:00 | |___| (_) | (_| | __/ (_| (_) \ V / 15:58:00 \_____\___/ \__,_|\___|\___\___/ \_/ 15:58:00 Bash-1.0.6 15:58:00 15:58:00 15:58:00 ==> git version 2.25.1 found 15:58:00 ==> 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 15:58:00 Release-Date: 2020-01-08 15:58:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:58:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:58:00 ==> Jenkins CI detected. 15:58:00 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:58:00 project root: . 15:58:00 --> token set from env 15:58:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:58:00 ==> Running gcov in . (disable via -X gcov) 15:58:00 ==> Python coveragepy not found 15:58:00 ==> Searching for coverage reports in: 15:58:00 + . 15:58:01 -> Found 1 reports 15:58:01 ==> Detecting git/mercurial file structure 15:58:01 ==> Reading reports 15:58:01 + ./coverage.out bytes=120273 15:58:01 ==> Appending adjustments 15:58:01 https://docs.codecov.io/docs/fixing-reports 15:58:01 + Found adjustments 15:58:01 ==> Gzipping contents 15:58:01 20K /tmp/codecov.5Tx76K.gz 15:58:01 ==> Uploading reports 15:58:01 url: https://codecov.io 15:58:01 query: branch=main&commit=b56f98b359607ae8777d3b496d3ffaedfbff1a58&build=241&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F241%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:58:01 -> Pinging Codecov 15:58:01 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=b56f98b359607ae8777d3b496d3ffaedfbff1a58&build=241&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F241%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:58:01 -> Uploading to 15:58:01 https://storage.googleapis.com/codecov/v4/raw/2023-08-15/7E55EF52A471D76F132DFD9A03CDDE97/b56f98b359607ae8777d3b496d3ffaedfbff1a58/4056260a-cdef-4dab-9783-e88ace184ef5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230815T155801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a50afa14a3ea54af8319abc8bd3bb4079d319a966aa86582bbe91eb4a2bfd2a4 15:58:01 % Total % Received % Xferd Average Speed Time Time Time Current 15:58:01 Dload Upload Total Spent Left Speed 15:58:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16431 0 0 100 16431 0 86026 --:--:-- --:--:-- --:--:-- 86026 15:58:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] } 15:58:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:58:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:58:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:58:01 15:58:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:58:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:58:02 df9b9388f04a: Pulling fs layer 15:58:02 52dc419b0ee2: Pulling fs layer 15:58:02 25bc292e5bac: Pulling fs layer 15:58:02 114826534d7a: Pulling fs layer 15:58:02 4657fd5d0bcf: Pulling fs layer 15:58:02 6ad1cebc031e: Pulling fs layer 15:58:02 8a3aa393b2d8: Pulling fs layer 15:58:02 114826534d7a: Waiting 15:58:02 4657fd5d0bcf: Waiting 15:58:02 6ad1cebc031e: Waiting 15:58:02 8a3aa393b2d8: Waiting 15:58:02 25bc292e5bac: Verifying Checksum 15:58:02 25bc292e5bac: Download complete 15:58:02 52dc419b0ee2: Verifying Checksum 15:58:02 52dc419b0ee2: Download complete 15:58:02 4657fd5d0bcf: Verifying Checksum 15:58:02 4657fd5d0bcf: Download complete 15:58:02 df9b9388f04a: Verifying Checksum 15:58:02 df9b9388f04a: Download complete 15:58:02 df9b9388f04a: Pull complete 15:58:02 6ad1cebc031e: Verifying Checksum 15:58:02 6ad1cebc031e: Download complete 15:58:02 52dc419b0ee2: Pull complete 15:58:02 25bc292e5bac: Pull complete 15:58:03 114826534d7a: Verifying Checksum 15:58:03 114826534d7a: Download complete 15:58:03 8a3aa393b2d8: Download complete 15:58:06 114826534d7a: Pull complete 15:58:06 4657fd5d0bcf: Pull complete 15:58:06 6ad1cebc031e: Pull complete 15:58:09 8a3aa393b2d8: Pull complete 15:58:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:58:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:58:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:09 prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container 15:58:09 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:58:18 $ docker top 1e1e7d0bb7ab74209adec41c673657395bb9a6a407b4a7537a58868a0564bcff -eo pid,comm [Pipeline] { [Pipeline] echo 15:58:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 15:58:18 + set -o pipefail 15:58:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 15:58:24 15:58:24 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 15:58:24 15:58:24 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/8a0b995c-d964-481a-980c-cfce9dec366d 15:58:24 15:58:24 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:58:24 15:58:24 15:58:24 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:58:24 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:58:24 More details here: https://snyk.co/ue1NS [Pipeline] } 15:58:24 $ docker stop --time=1 1e1e7d0bb7ab74209adec41c673657395bb9a6a407b4a7537a58868a0564bcff 15:58:29 $ docker rm -f --volumes 1e1e7d0bb7ab74209adec41c673657395bb9a6a407b4a7537a58868a0564bcff [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 15:58:29 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:29 provisioning config files... 15:58:29 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10087503797842799348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:29 --> edgex-publish-swagger.sh 15:58:29 === Publish openapi/v3 API === 15:58:29 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 15:58:29 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 15:58:29 % Total % Received % Xferd Average Speed Time Time Time Current 15:58:29 Dload Upload Total Spent Left Speed 15:58:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 50156 --:--:-- --:--:-- --:--:-- 50156 15:58:30 15:58:30 [Pipeline] } 15:58:30 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 15:58:30 + git log --format=format:%s -1 b56f98b359607ae8777d3b496d3ffaedfbff1a58 [Pipeline] sh 15:58:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:58:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:31 prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container 15:58:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:58:31 $ docker top c2a64d7218372a51e27283d6914e16ea82f2e104fad8047d058c562025846f92 -eo pid,comm 15:58:31 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). 15:58:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:58:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:31 [ssh-agent] Looking for ssh-agent implementation... 15:58:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:31 $ docker exec c2a64d7218372a51e27283d6914e16ea82f2e104fad8047d058c562025846f92 ssh-agent 15:58:32 SSH_AUTH_SOCK=/tmp/ssh-TsmailYV04m4/agent.31 15:58:32 SSH_AGENT_PID=37 15:58:32 Running ssh-add (command line suppressed) 15:58:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18030740754601757104.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18030740754601757104.key) 15:58:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:32 + git semver tag 15:58:32 2023-08-15 15:58:32,634 [run_tag] DEBUG tag force:False 15:58:32 2023-08-15 15:58:32,634 [check_head_tag] DEBUG check head tag 15:58:32 2023-08-15 15:58:32,635 [execute] INFO git cat-file --batch-check 15:58:32 2023-08-15 15:58:32,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:58:32 2023-08-15 15:58:32,639 [execute] INFO git cat-file --batch 15:58:32 2023-08-15 15:58:32,639 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:58:32 2023-08-15 15:58:32,652 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:58:32 2023-08-15 15:58:32,653 [execute] INFO git tag -a v3.1.0-dev.12 -m v3.1.0-dev.12 15:58:32 2023-08-15 15:58:32,653 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.12', '-m', 'v3.1.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:58:32 2023-08-15 15:58:32,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:58:32 3.1.0-dev.12 [Pipeline] } 15:58:32 $ docker exec --env ******** --env ******** c2a64d7218372a51e27283d6914e16ea82f2e104fad8047d058c562025846f92 ssh-agent -k 15:58:32 unset SSH_AUTH_SOCK; 15:58:32 unset SSH_AGENT_PID; 15:58:32 echo Agent pid 37 killed; 15:58:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:58:33 + git semver [Pipeline] } 15:58:33 $ docker stop --time=1 c2a64d7218372a51e27283d6914e16ea82f2e104fad8047d058c562025846f92 15:58:34 $ docker rm -f --volumes c2a64d7218372a51e27283d6914e16ea82f2e104fad8047d058c562025846f92 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:58:35 15:58:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:58:35 0.23.1-centos7: Pulling from edgex-lftools 15:58:35 ab5ef0e58194: Pulling fs layer 15:58:35 9712f1f96733: Pulling fs layer 15:58:35 63f879dbbcfc: Pulling fs layer 15:58:35 0d9ebad4ef96: Pulling fs layer 15:58:35 e9a5061849ea: Pulling fs layer 15:58:35 d747dcd14b5f: Pulling fs layer 15:58:35 2de7ff778b66: Pulling fs layer 15:58:35 e9a5061849ea: Waiting 15:58:35 d747dcd14b5f: Waiting 15:58:35 2de7ff778b66: Waiting 15:58:35 0d9ebad4ef96: Waiting 15:58:35 9712f1f96733: Verifying Checksum 15:58:35 9712f1f96733: Download complete 15:58:35 63f879dbbcfc: Verifying Checksum 15:58:35 63f879dbbcfc: Download complete 15:58:36 0d9ebad4ef96: Verifying Checksum 15:58:36 0d9ebad4ef96: Download complete 15:58:36 ab5ef0e58194: Verifying Checksum 15:58:36 ab5ef0e58194: Download complete 15:58:36 d747dcd14b5f: Verifying Checksum 15:58:36 d747dcd14b5f: Download complete 15:58:36 e9a5061849ea: Verifying Checksum 15:58:36 2de7ff778b66: Verifying Checksum 15:58:36 2de7ff778b66: Download complete 15:58:38 ab5ef0e58194: Pull complete 15:58:38 9712f1f96733: Pull complete 15:58:39 63f879dbbcfc: Pull complete 15:58:42 0d9ebad4ef96: Pull complete 15:58:43 e9a5061849ea: Pull complete 15:58:43 d747dcd14b5f: Pull complete 15:58:44 2de7ff778b66: Pull complete 15:58:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:58:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:58:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:44 prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container 15:58:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:58:52 $ docker top 32df72e646cfb8290abe83410062c9b629c3d412edbd819dce702eeb7749c3d4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:58:52 provisioning config files... 15:58:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13448010278480383143tmp 15:58:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15159526633338085844tmp 15:58:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4517659838534222384tmp [Pipeline] { [Pipeline] echo 15:58:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:58:53 ---> sigul-configuration.sh 15:58:53 gpg: directory `/root/.gnupg' created 15:58:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:58:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:58:53 gpg: keyring `/root/.gnupg/secring.gpg' created 15:58:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:58:53 gpg: CAST5 encrypted data 15:58:53 gpg: encrypted with 1 passphrase 15:58:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:58:53 + mkdir /home/jenkins 15:58:53 + mkdir /home/jenkins/sigul [Pipeline] sh 15:58:53 + 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 15:58:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:58:54 ---> sigul-install.sh 15:58:54 Sigul already installed; skipping installation. [Pipeline] sh 15:58:54 + git tag --list 15:58:54 0.7.1 15:58:54 delhi-tag 15:58:54 v1.0.0 15:58:54 v1.1.0 15:58:54 v1.1.1 15:58:54 v1.1.2 15:58:54 v1.2.0 15:58:54 v1.2.1 15:58:54 v1.2.2 15:58:54 v1.2.3 15:58:54 v1.3.0 15:58:54 v1.4.0 15:58:54 v2.0.0 15:58:54 v2.1.0 15:58:54 v2.1.1 15:58:54 v2.2.0 15:58:54 v2.3.0 15:58:54 v2.3.1 15:58:54 v3.0 15:58:54 v3.0.0 15:58:54 v3.0.1-dev.1 15:58:54 v3.1.0-dev.1 15:58:54 v3.1.0-dev.10 15:58:54 v3.1.0-dev.11 15:58:54 v3.1.0-dev.12 15:58:54 v3.1.0-dev.2 15:58:54 v3.1.0-dev.3 15:58:54 v3.1.0-dev.4 15:58:54 v3.1.0-dev.5 15:58:54 v3.1.0-dev.6 15:58:54 v3.1.0-dev.7 15:58:54 v3.1.0-dev.8 15:58:54 v3.1.0-dev.9 [Pipeline] sh 15:58:54 + lftools sign git-tag v3.1.0-dev.12 15:58:55 Signing Git tag with Sigul... 15:58:55 Signing v3.1.0-dev.12 [Pipeline] echo 15:58:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:58:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:58:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:58:55 $ docker stop --time=1 32df72e646cfb8290abe83410062c9b629c3d412edbd819dce702eeb7749c3d4 15:58:57 $ docker rm -f --volumes 32df72e646cfb8290abe83410062c9b629c3d412edbd819dce702eeb7749c3d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:58:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:58:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:57 prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container 15:58:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:58:58 $ docker top 4562c770902eaed58120db9bd4a151e9aaedc3644dc4bd509ff93b3244463018 -eo pid,comm 15:58:58 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). 15:58:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:58:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:58 [ssh-agent] Looking for ssh-agent implementation... 15:58:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:58 $ docker exec 4562c770902eaed58120db9bd4a151e9aaedc3644dc4bd509ff93b3244463018 ssh-agent 15:58:58 SSH_AUTH_SOCK=/tmp/ssh-4jNMBdccQdZ4/agent.32 15:58:58 SSH_AGENT_PID=38 15:58:58 Running ssh-add (command line suppressed) 15:58:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_813486367833400790.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_813486367833400790.key) 15:58:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:58 + git semver bump pre 15:58:59 2023-08-15 15:58:59,141 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:58:59 2023-08-15 15:58:59,141 [bump_version] DEBUG bumping version:3.1.0-dev.12 on axis:pre with prefix:dev 15:58:59 2023-08-15 15:58:59,141 [bump_version] DEBUG bumped version:3.1.0-dev.13 15:58:59 2023-08-15 15:58:59,141 [write_version] DEBUG write version:3.1.0-dev.13 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 15:58:59 2023-08-15 15:58:59,141 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:58:59 2023-08-15 15:58:59,141 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:58:59 2023-08-15 15:58:59,143 [execute] INFO git cat-file --batch-check 15:58:59 2023-08-15 15:58:59,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:58:59 2023-08-15 15:58:59,149 [execute] INFO git cat-file --batch 15:58:59 2023-08-15 15:58:59,149 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:58:59 2023-08-15 15:58:59,155 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:58:59 3.1.0-dev.13 [Pipeline] } 15:58:59 $ docker exec --env ******** --env ******** 4562c770902eaed58120db9bd4a151e9aaedc3644dc4bd509ff93b3244463018 ssh-agent -k 15:58:59 unset SSH_AUTH_SOCK; 15:58:59 unset SSH_AGENT_PID; 15:58:59 echo Agent pid 38 killed; 15:58:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:58:59 + git semver [Pipeline] } 15:58:59 $ docker stop --time=1 4562c770902eaed58120db9bd4a151e9aaedc3644dc4bd509ff93b3244463018 15:59:01 $ docker rm -f --volumes 4562c770902eaed58120db9bd4a151e9aaedc3644dc4bd509ff93b3244463018 [Pipeline] // withDockerContainer [Pipeline] sh 15:59:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:59:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:59:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:01 prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container 15:59:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:59:02 $ docker top 3307a5325f1ac7e40958c9d4306aafe164ae1f6d1905389d99b19d013ec6d633 -eo pid,comm 15:59:02 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). 15:59:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:59:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:02 [ssh-agent] Looking for ssh-agent implementation... 15:59:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:02 $ docker exec 3307a5325f1ac7e40958c9d4306aafe164ae1f6d1905389d99b19d013ec6d633 ssh-agent 15:59:02 SSH_AUTH_SOCK=/tmp/ssh-XesKTICyodi8/agent.32 15:59:02 SSH_AGENT_PID=38 15:59:02 Running ssh-add (command line suppressed) 15:59:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16018039368113508442.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16018039368113508442.key) 15:59:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:03 + git semver push 15:59:03 2023-08-15 15:59:03,218 [run_push] DEBUG push 15:59:03 2023-08-15 15:59:03,218 [execute] INFO git cat-file --batch-check 15:59:03 2023-08-15 15:59:03,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:59:03 2023-08-15 15:59:03,223 [execute] INFO git rev-list 94429f35383cdd10aeccfc98b7990aff437f1e6a -- 15:59:03 2023-08-15 15:59:03,223 [execute] DEBUG Popen(['git', 'rev-list', '94429f35383cdd10aeccfc98b7990aff437f1e6a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:59:03 2023-08-15 15:59:03,235 [execute] INFO git fetch -v origin 15:59:03 2023-08-15 15:59:03,235 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:59:03 2023-08-15 15:59:03,705 [run_push] DEBUG no remote changes detected 15:59:03 2023-08-15 15:59:03,705 [execute] INFO git push origin semver 15:59:03 2023-08-15 15:59:03,705 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:59:05 2023-08-15 15:59:04,911 [run_push] DEBUG push all version tags 15:59:05 2023-08-15 15:59:04,912 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:59:05 2023-08-15 15:59:04,912 [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) 15:59:06 2023-08-15 15:59:05,838 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:59:06 3.1.0-dev.13 [Pipeline] } 15:59:06 $ docker exec --env ******** --env ******** 3307a5325f1ac7e40958c9d4306aafe164ae1f6d1905389d99b19d013ec6d633 ssh-agent -k 15:59:06 unset SSH_AUTH_SOCK; 15:59:06 unset SSH_AGENT_PID; 15:59:06 echo Agent pid 38 killed; 15:59:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:59:06 + git semver [Pipeline] } 15:59:06 $ docker stop --time=1 3307a5325f1ac7e40958c9d4306aafe164ae1f6d1905389d99b19d013ec6d633 15:59:08 $ docker rm -f --volumes 3307a5325f1ac7e40958c9d4306aafe164ae1f6d1905389d99b19d013ec6d633 [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 15:59:08 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 15:59:08 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:59:08 total 16 15:59:08 drwxr-xr-x 3 root root 4096 Aug 15 15:44 . 15:59:08 drwxrwxr-x 12 jenkins jenkins 4096 Aug 15 15:58 .. 15:59:08 drwxr-xr-x 2 root root 4096 Aug 15 15:44 cost 15:59:08 -rw-r--r-- 1 root root 85 Aug 15 15:44 cost.csv 15:59:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:59:08 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:59:08 total 16 15:59:08 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 15:44 . 15:59:08 drwxrwxr-x 12 jenkins jenkins 4096 Aug 15 15:58 .. 15:59:08 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 15:44 cost 15:59:08 -rw-r--r-- 1 jenkins jenkins 85 Aug 15 15:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:59:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:59:09 ---> package-listing.sh 15:59:09 ++ facter osfamily 15:59:09 ++ tr '[:upper:]' '[:lower:]' 15:59:10 + OS_FAMILY=debian 15:59:10 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:59:10 + START_PACKAGES=/tmp/packages_start.txt 15:59:10 + END_PACKAGES=/tmp/packages_end.txt 15:59:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:59:10 + PACKAGES=/tmp/packages_start.txt 15:59:10 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:59:10 + PACKAGES=/tmp/packages_end.txt 15:59:10 + case "${OS_FAMILY}" in 15:59:10 + dpkg -l 15:59:10 + grep '^ii' 15:59:10 + '[' -f /tmp/packages_start.txt ']' 15:59:10 + '[' -f /tmp/packages_end.txt ']' 15:59:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:59:10 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:59:10 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:59:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 15:59:10 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 15:59:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:11 prd-ubuntu20.04-docker-8c-8g-3701 does not seem to be running inside a container 15:59:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:59:11 $ docker top 41f6b3a0b47c0def0ee971c643280447e90f85a06552276aba702abb797ccfcb -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:11 + touch /tmp/pre-build-complete [Pipeline] sh 15:59:11 + mkdir -p /var/log/sysstat [Pipeline] sh 15:59:12 + ls /var/log/sa-host 15:59:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:12 provisioning config files... 15:59:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3411208602288617073tmp [Pipeline] { [Pipeline] echo 15:59:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:59:12 ---> create-netrc.sh [Pipeline] } 15:59:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:59:12 ---> python-tools-install.sh [Pipeline] echo 15:59:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:59:13 ---> sudo-logs.sh 15:59:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:59:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:59:13 ---> job-cost.sh 15:59:13 lf-activate-venv: SKIPPING 15:59:13 DEBUG: total: 0.2199999988079071 15:59:13 INFO: Retrieving Stack Cost... 15:59:14 INFO: Retrieving Pricing Info for: v3-standard-8 15:59:14 INFO: Archiving Costs [Pipeline] echo 15:59:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:59:14 ---> logs-deploy.sh 15:59:14 lf-activate-venv: SKIPPING 15:59:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/241 15:59:14 INFO: archiving workspace using pattern(s): 15:59:15 Archives upload complete. 15:59:15 INFO: archiving logs to Nexus