Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b58b30e7bb628030941072b2ed6fa4c53da1af43 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-ssh4365143946357261968.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-ssh10855047624371362616.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-ssh8018697342054552930.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-ssh2922730966773529462.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-ssh12468402838280498353.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3766 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b58b30e7bb628030941072b2ed6fa4c53da1af43 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b58b30e7bb628030941072b2ed6fa4c53da1af43 # timeout=10 Commit message: "Merge pull request #1494 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.25" > git rev-list --no-walk b56f98b359607ae8777d3b496d3ffaedfbff1a58 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:12:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:12:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:12:58 ========================================================= 05:12:58 EdgeX Global Pipelines Version Info 05:12:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:12:59 ------------------- 05:12:59 stable info: 05:12:59 ------------------- 05:12:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:12:59 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 05:12:59 Message: update stable to v1.0.253 05:12:59 ------------------- 05:12:59 experimental info: 05:12:59 ------------------- 05:12:59 Commited By: **** collab-it+edgex@linuxfoundation.org 05:12:59 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 05:12:59 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b58b30e [Pipeline] echo 05:13:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:00 provisioning config files... 05:13:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17360015679891515419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:00 ---> docker-login.sh 05:13:00 nexus3.edgexfoundry.org:10001 05:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:01 Configure a credential helper to remove this warning. See 05:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:01 05:13:01 Login Succeeded 05:13:01 nexus3.edgexfoundry.org:10002 05:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:01 Configure a credential helper to remove this warning. See 05:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:01 05:13:01 Login Succeeded 05:13:01 nexus3.edgexfoundry.org:10003 05:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:01 Configure a credential helper to remove this warning. See 05:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:01 05:13:01 Login Succeeded 05:13:01 nexus3.edgexfoundry.org:10004 05:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:01 Configure a credential helper to remove this warning. See 05:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:01 05:13:01 Login Succeeded 05:13:01 docker.io 05:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:02 Configure a credential helper to remove this warning. See 05:13:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:02 05:13:02 Login Succeeded 05:13:02 ---> docker-login.sh ends [Pipeline] } 05:13:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:13:02 + git rev-list -1 --merges b58b30e7bb628030941072b2ed6fa4c53da1af43~1..b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] echo 05:13:02 -----------> git rev-list -1 --merges b58b30e7bb628030941072b2ed6fa4c53da1af43~1..b58b30e7bb628030941072b2ed6fa4c53da1af43 b58b30e7bb628030941072b2ed6fa4c53da1af43 05:13:02 b58b30e7bb628030941072b2ed6fa4c53da1af43 [false] [Pipeline] sh 05:13:02 + git log --format=format:%s -1 b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] echo 05:13:02 ========================================================= 05:13:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:13:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:13:03 + git log --format=format:%s -1 b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] echo 05:13:03 [semverPrep] GIT_COMMIT: b58b30e7bb628030941072b2ed6fa4c53da1af43, Commit Message: Merge pull request #1494 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.25 [Pipeline] echo 05:13:03 [semverPrep] This is not a build commit. [Pipeline] sh 05:13:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:13:03 + grep -v github /etc/ssh/ssh_known_hosts 05:13:03 + [ -e /tmp/ssh_known_hosts ] 05:13:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:13:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:13:03 + sudo tee -a /etc/ssh/ssh_known_hosts 05:13:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:03 05:13:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:04 0.1.4: Pulling from edgex-devops/py-git-semver 05:13:04 b85a868b505f: Pulling fs layer 05:13:04 e2be974225ed: Pulling fs layer 05:13:04 339a4e72a1f5: Pulling fs layer 05:13:04 988bab9f4d93: Pulling fs layer 05:13:04 1469e6f7b9e6: Pulling fs layer 05:13:04 eaf3925da568: Pulling fs layer 05:13:04 bab4dde63d76: Pulling fs layer 05:13:04 bde34c3a00c8: Pulling fs layer 05:13:04 b352a97aabf1: Pulling fs layer 05:13:04 4872d77fe225: Pulling fs layer 05:13:04 5851b861e8e6: Pulling fs layer 05:13:04 eaf3925da568: Waiting 05:13:04 988bab9f4d93: Waiting 05:13:04 bab4dde63d76: Waiting 05:13:04 1469e6f7b9e6: Waiting 05:13:04 bde34c3a00c8: Waiting 05:13:04 b352a97aabf1: Waiting 05:13:04 5851b861e8e6: Waiting 05:13:04 e2be974225ed: Verifying Checksum 05:13:04 e2be974225ed: Download complete 05:13:04 988bab9f4d93: Verifying Checksum 05:13:04 988bab9f4d93: Download complete 05:13:04 1469e6f7b9e6: Verifying Checksum 05:13:04 1469e6f7b9e6: Download complete 05:13:04 339a4e72a1f5: Verifying Checksum 05:13:04 339a4e72a1f5: Download complete 05:13:04 eaf3925da568: Verifying Checksum 05:13:04 eaf3925da568: Download complete 05:13:04 bde34c3a00c8: Download complete 05:13:04 b352a97aabf1: Verifying Checksum 05:13:04 b352a97aabf1: Download complete 05:13:04 4872d77fe225: Download complete 05:13:04 5851b861e8e6: Verifying Checksum 05:13:04 5851b861e8e6: Download complete 05:13:04 b85a868b505f: Download complete 05:13:04 bab4dde63d76: Download complete 05:13:05 b85a868b505f: Pull complete 05:13:05 e2be974225ed: Pull complete 05:13:06 339a4e72a1f5: Pull complete 05:13:06 988bab9f4d93: Pull complete 05:13:06 1469e6f7b9e6: Pull complete 05:13:06 eaf3925da568: Pull complete 05:13:08 bab4dde63d76: Pull complete 05:13:08 bde34c3a00c8: Pull complete 05:13:08 b352a97aabf1: Pull complete 05:13:08 4872d77fe225: Pull complete 05:13:08 5851b861e8e6: Pull complete 05:13:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:13:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:08 prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container 05:13:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:13:11 $ docker top 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d -eo pid,comm 05:13:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:13:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:13:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:11 [ssh-agent] Looking for ssh-agent implementation... 05:13:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:11 $ docker exec 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d ssh-agent 05:13:11 SSH_AUTH_SOCK=/tmp/ssh-QNRIrMdUYkkZ/agent.33 05:13:11 SSH_AGENT_PID=39 05:13:11 Running ssh-add (command line suppressed) 05:13:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_976162794964136800.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_976162794964136800.key) 05:13:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:11 + git tag --points-at HEAD [Pipeline] } 05:13:12 $ docker exec --env ******** --env ******** 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d ssh-agent -k 05:13:12 unset SSH_AUTH_SOCK; 05:13:12 unset SSH_AGENT_PID; 05:13:12 echo Agent pid 39 killed; 05:13:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:13:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:13:12 [ssh-agent] Looking for ssh-agent implementation... 05:13:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:13:12 $ docker exec 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d ssh-agent 05:13:12 SSH_AUTH_SOCK=/tmp/ssh-vN8x8lsLA3CJ/agent.71 05:13:12 SSH_AGENT_PID=76 05:13:12 Running ssh-add (command line suppressed) 05:13:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4583659205588336140.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4583659205588336140.key) 05:13:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:13:12 + git semver init 05:13:13 2023-08-16 05:13:12,988 [run_init] DEBUG init version:0.0.0 force:False 05:13:13 2023-08-16 05:13:12,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:13:13 2023-08-16 05:13:12,989 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:13:13 2023-08-16 05:13:12,990 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:13:14 2023-08-16 05:13:13,885 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:13:14 2023-08-16 05:13:13,886 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:13:14 2023-08-16 05:13:13,886 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:13:14 2023-08-16 05:13:13,886 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:13:14 3.1.0-dev.13 [Pipeline] } 05:13:14 $ docker exec --env ******** --env ******** 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d ssh-agent -k 05:13:14 unset SSH_AUTH_SOCK; 05:13:14 unset SSH_AGENT_PID; 05:13:14 echo Agent pid 76 killed; 05:13:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:13:14 + git semver [Pipeline] } 05:13:14 $ docker stop --time=1 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d 05:13:15 $ docker rm -f --volumes 6b17cfab908020f687eed1ec1fed260366069d57f64a5a3694fda2ece1bf692d [Pipeline] // withDockerContainer [Pipeline] sh 05:13:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:13:16 Stashed 1 file(s) [Pipeline] echo 05:13:16 [edgeXSemver]: initialized semver on version 3.1.0-dev.13 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:16 provisioning config files... 05:13:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4198323286226273910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:17 ---> docker-login.sh 05:13:17 nexus3.edgexfoundry.org:10001 05:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:17 Configure a credential helper to remove this warning. See 05:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:17 05:13:17 Login Succeeded 05:13:17 nexus3.edgexfoundry.org:10002 05:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:17 Configure a credential helper to remove this warning. See 05:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:17 05:13:17 Login Succeeded 05:13:17 nexus3.edgexfoundry.org:10003 05:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:17 Configure a credential helper to remove this warning. See 05:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:17 05:13:17 Login Succeeded 05:13:17 nexus3.edgexfoundry.org:10004 05:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:17 Configure a credential helper to remove this warning. See 05:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:17 05:13:17 Login Succeeded 05:13:17 docker.io 05:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:13:17 Configure a credential helper to remove this warning. See 05:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:13:17 05:13:17 Login Succeeded 05:13:17 ---> docker-login.sh ends [Pipeline] } 05:13:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:13:17 ========================================================= 05:13:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:13:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:17 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:13:17 Sending build context to Docker daemon 11.05MB 05:13:17 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:13:17 Step 2/10 : FROM ${BASE} AS builder 05:13:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:13:17 4db1b89c0bd1: Pulling fs layer 05:13:17 6911f1a30b25: Pulling fs layer 05:13:17 e194b8c5c2a9: Pulling fs layer 05:13:17 6863d3e3a2b1: Pulling fs layer 05:13:17 ec0bb842ea78: Pulling fs layer 05:13:17 40a00589a448: Pulling fs layer 05:13:17 6c08303d61cc: Pulling fs layer 05:13:17 798269fcf238: Pulling fs layer 05:13:17 ec0bb842ea78: Waiting 05:13:17 40a00589a448: Waiting 05:13:17 6c08303d61cc: Waiting 05:13:17 798269fcf238: Waiting 05:13:17 6863d3e3a2b1: Waiting 05:13:18 6911f1a30b25: Download complete 05:13:18 6863d3e3a2b1: Verifying Checksum 05:13:18 6863d3e3a2b1: Download complete 05:13:18 ec0bb842ea78: Verifying Checksum 05:13:18 ec0bb842ea78: Download complete 05:13:18 4db1b89c0bd1: Verifying Checksum 05:13:18 4db1b89c0bd1: Download complete 05:13:18 40a00589a448: Verifying Checksum 05:13:18 40a00589a448: Download complete 05:13:18 4db1b89c0bd1: Pull complete 05:13:18 6911f1a30b25: Pull complete 05:13:18 798269fcf238: Verifying Checksum 05:13:18 798269fcf238: Download complete 05:13:18 e194b8c5c2a9: Download complete 05:13:18 6c08303d61cc: Verifying Checksum 05:13:18 6c08303d61cc: Download complete 05:13:22 e194b8c5c2a9: Pull complete 05:13:22 6863d3e3a2b1: Pull complete 05:13:22 ec0bb842ea78: Pull complete 05:13:22 40a00589a448: Pull complete 05:13:24 6c08303d61cc: Pull complete 05:13:25 798269fcf238: Pull complete 05:13:25 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 05:13:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:13:25 ---> ec979cd7f677 05:13:25 Step 3/10 : ARG MAKE=make build 05:13:29 ---> Running in 02188610f003 05:13:29 Removing intermediate container 02188610f003 05:13:29 ---> 8c0a750e3c8e 05:13:29 Step 4/10 : WORKDIR /device-sdk-go 05:13:29 ---> Running in f282b349ac59 05:13:29 Removing intermediate container f282b349ac59 05:13:29 ---> e277d7479f9f 05:13:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:13:29 ---> Running in 38263959c08e 05:13:29 Removing intermediate container 38263959c08e 05:13:29 ---> 0b15769d3aeb 05:13:29 Step 6/10 : RUN apk add --update --no-cache make git 05:13:29 ---> Running in b8c1999765d3 05:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:13:30 OK: 265 MiB in 53 packages 05:13:31 Removing intermediate container b8c1999765d3 05:13:31 ---> 7b0149b25e74 05:13:31 Step 7/10 : COPY go.mod vendor* ./ 05:13:31 ---> 2a643e3d0d4f 05:13:31 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:31 ---> Running in f580cce3ce88 05:13:31 Still waiting to schedule task 05:13:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:14:03 Removing intermediate container f580cce3ce88 05:14:03 ---> 5ef347a57f33 05:14:03 Step 9/10 : COPY . . 05:14:03 ---> d767ff8bb0ab 05:14:03 Step 10/10 : RUN ${MAKE} 05:14:03 ---> Running in 4629c01d8748 05:14:03 noop 05:14:03 Removing intermediate container 4629c01d8748 05:14:03 ---> 1dc11b50a40e 05:14:03 Successfully built 1dc11b50a40e 05:14:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:03 + docker inspect -f . ci-base-image-x86_64 05:14:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:03 prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container 05:14:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:14:04 $ docker top ce3643c8dc63e6706b84bab17928c38a41bcae23d845c3975dd683d9d6d5df55 -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:04 + go version 05:14:04 go version go1.20.6 linux/amd64 [Pipeline] } 05:14:04 $ docker stop --time=1 ce3643c8dc63e6706b84bab17928c38a41bcae23d845c3975dd683d9d6d5df55 05:14:05 $ docker rm -f --volumes ce3643c8dc63e6706b84bab17928c38a41bcae23d845c3975dd683d9d6d5df55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:06 + docker inspect -f . ci-base-image-x86_64 05:14:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:06 prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container 05:14:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:14:06 $ docker top 23f62d3de780462874eac45ccde0ff891e2c66c1de9e96010f830e9603b1accc -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:14:07 + make test 05:14:07 go test -race -coverprofile=coverage.out ./... 05:14:13 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:14:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:14:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:14:25 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:14:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:14:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:14:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements 05:14:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:14:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:14:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 80.2% of statements 05:14:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.087s coverage: 86.0% of statements 05:14:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:14:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 71.8% of statements 05:14:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:14:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:14:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:14:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 14.3% of statements 05:14:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.720s coverage: 43.8% of statements 05:14:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.059s coverage: 68.5% of statements 05:14:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.124s coverage: 89.2% of statements 05:14:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements 05:14:51 GO111MODULE=on go vet ./... 05:14:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:14:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:14:52 ./bin/test-attribution-txt.sh 05:14:52 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 05:14:52 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 05:14:52 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 05:14:52 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 05:14:52 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 05:14:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:14:52 $ docker stop --time=1 23f62d3de780462874eac45ccde0ff891e2c66c1de9e96010f830e9603b1accc 05:14:56 $ docker rm -f --volumes 23f62d3de780462874eac45ccde0ff891e2c66c1de9e96010f830e9603b1accc [Pipeline] // withDockerContainer [Pipeline] sh 05:14:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:14:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:14:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:14:58 + ls -al . 05:14:58 total 304 05:14:58 drwxrwxr-x 11 jenkins jenkins 4096 Aug 16 05:14 . 05:14:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 05:12 .. 05:14:58 -rw-rw-r-- 1 jenkins jenkins 140 Aug 16 05:12 .dockerignore 05:14:58 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 05:13 .git 05:14:58 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 05:12 .github 05:14:58 -rw-rw-r-- 1 jenkins jenkins 137 Aug 16 05:12 .gitignore 05:14:58 -rw-rw-r-- 1 jenkins jenkins 42 Aug 16 05:12 .golangci.yml 05:14:58 drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 05:13 .semver 05:14:58 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 16 05:12 CHANGELOG.md 05:14:58 -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 05:12 GOVERNANCE.md 05:14:58 -rw-rw-r-- 1 jenkins jenkins 885 Aug 16 05:12 Jenkinsfile 05:14:58 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 16 05:12 LICENSE 05:14:58 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 16 05:12 Makefile 05:14:58 -rw-rw-r-- 1 jenkins jenkins 619 Aug 16 05:12 OWNERS.md 05:14:58 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 16 05:12 README.md 05:14:58 -rw-rw-r-- 1 jenkins jenkins 12 Aug 16 05:13 VERSION 05:14:58 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 05:12 bin 05:14:58 -rw-r--r-- 1 jenkins jenkins 120271 Aug 16 05:14 coverage.out 05:14:58 drwxrwxr-x 5 jenkins jenkins 4096 Aug 16 05:12 example 05:14:58 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 16 05:12 go.mod 05:14:58 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 16 05:12 go.sum 05:14:58 drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 05:12 internal 05:14:58 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 05:12 openapi 05:14:58 drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 05:12 pkg 05:14:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 05:12 snap 05:14:58 -rw-rw-r-- 1 jenkins jenkins 222 Aug 16 05:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:58 + 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=b58b30e7bb628030941072b2ed6fa4c53da1af43 --label arch=amd64 --label version=3.1.0-dev.13 . 05:14:58 Sending build context to Docker daemon 11.17MB 05:14:58 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:14:58 Step 2/23 : FROM ${BASE} AS builder 05:14:58 ---> 1dc11b50a40e 05:14:58 Step 3/23 : ARG MAKE=make build 05:14:59 ---> Running in c6a586901e91 05:14:59 Removing intermediate container c6a586901e91 05:14:59 ---> 68cfe1893bbc 05:14:59 Step 4/23 : WORKDIR /device-sdk-go 05:14:59 ---> Running in 3649e562c06e 05:14:59 Removing intermediate container 3649e562c06e 05:14:59 ---> 5eb9c4c7eddf 05:14:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:14:59 ---> Running in de2eabdfcc9b 05:14:59 Removing intermediate container de2eabdfcc9b 05:14:59 ---> 04b99aaacc09 05:14:59 Step 6/23 : RUN apk add --update --no-cache make git 05:14:59 ---> Running in 79248c8d2e33 05:14:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:14:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:15:00 OK: 265 MiB in 53 packages 05:15:00 Removing intermediate container 79248c8d2e33 05:15:00 ---> 27216ed6706a 05:15:00 Step 7/23 : COPY go.mod vendor* ./ 05:15:00 ---> f2f3550334b6 05:15:00 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:00 ---> Running in 4e78d18886a8 05:15:01 Removing intermediate container 4e78d18886a8 05:15:01 ---> f9d0ec432c75 05:15:01 Step 9/23 : COPY . . 05:15:01 ---> 538dc597741b 05:15:01 Step 10/23 : RUN ${MAKE} 05:15:01 ---> Running in 210850226ebf 05:15:01 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.13" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:15:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3767 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:15:04 Running in /w/workspace/device-sdk-go/242 [Pipeline] { [Pipeline] checkout 05:15:04 The recommended git tool is: git 05:15:09 using credential edgex-jenkins-ssh 05:15:09 Cloning the remote Git repository 05:15:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:15:10 > git init /w/workspace/device-sdk-go/242 # timeout=10 05:15:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:15:10 > git --version # timeout=10 05:15:10 > git --version # 'git version 2.25.1' 05:15:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:15:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:12 Avoid second fetch 05:15:12 Checking out Revision b58b30e7bb628030941072b2ed6fa4c53da1af43 (main) 05:15:13 Commit message: "Merge pull request #1494 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.25" 05:15:12 > git config core.sparsecheckout # timeout=10 05:15:12 > git checkout -f b58b30e7bb628030941072b2ed6fa4c53da1af43 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:15:14 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:14 Dload Upload Total Spent Left Speed 05:15:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 107k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh 05:15:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:15:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:15:15 + sudo tee /etc/docker/daemon.new 05:15:15 { 05:15:15 "registry-mirrors": [ 05:15:15 "https://nexus3.edgexfoundry.org:10001" 05:15:15 ], 05:15:15 "bip": "10.250.0.254/24", 05:15:15 "hosts": [ 05:15:15 "tcp://0.0.0.0:5555", 05:15:15 "unix:///var/run/docker.sock" 05:15:15 ], 05:15:15 "mtu": 1458, 05:15:15 "selinux-enabled": true, 05:15:15 "seccomp-profile": "/etc/docker/seccomp.json" 05:15:15 } [Pipeline] sh 05:15:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:15:16 + sudo service docker restart 05:15:23 Removing intermediate container 210850226ebf 05:15:23 ---> 3110401033fa 05:15:23 Step 11/23 : FROM alpine:3.17 05:15:23 3.17: Pulling from library/alpine 05:15:23 9398808236ff: Pulling fs layer 05:15:23 9398808236ff: Verifying Checksum 05:15:23 9398808236ff: Download complete 05:15:23 9398808236ff: Pull complete 05:15:23 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:15:23 Status: Downloaded newer image for alpine:3.17 05:15:23 ---> 1e0b8b5322fc 05:15:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:15:23 ---> Running in 5873bd93b4d6 05:15:23 Removing intermediate container 5873bd93b4d6 05:15:23 ---> da80b9f7f367 05:15:23 Step 13/23 : RUN apk add --update --no-cache 05:15:23 ---> Running in 6dfd93e1c58d 05:15:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:15:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:15:24 OK: 7 MiB in 15 packages 05:15:24 Removing intermediate container 6dfd93e1c58d 05:15:24 ---> 75e7ac8331b5 05:15:24 Step 14/23 : WORKDIR / 05:15:24 ---> Running in f22823548b62 05:15:24 Removing intermediate container f22823548b62 05:15:24 ---> a401602d85e6 05:15:24 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:15:24 ---> aae62481a874 05:15:24 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:15:25 ---> c60ef8eb96bd 05:15:25 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:15:25 ---> 2a4c1ce3b748 05:15:25 Step 18/23 : EXPOSE 59999 05:15:25 ---> Running in b2f07851d688 05:15:25 Removing intermediate container b2f07851d688 05:15:25 ---> cbdf13d8e5dd 05:15:25 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:15:25 ---> Running in 404a88fbac5e 05:15:25 Removing intermediate container 404a88fbac5e 05:15:25 ---> 0bbc2b5175bc 05:15:25 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:15:26 ---> Running in 738c6cb87616 05:15:26 Removing intermediate container 738c6cb87616 05:15:26 ---> 8a9104d2589b 05:15:26 Step 21/23 : LABEL arch=amd64 05:15:26 ---> Running in dc0259664008 05:15:26 Removing intermediate container dc0259664008 05:15:26 ---> c20d7e92b322 05:15:26 Step 22/23 : LABEL git_sha=b58b30e7bb628030941072b2ed6fa4c53da1af43 05:15:26 ---> Running in 28a2098d3ded 05:15:26 Removing intermediate container 28a2098d3ded 05:15:26 ---> 25359df8cf7a 05:15:26 Step 23/23 : LABEL version=3.1.0-dev.13 05:15:26 ---> Running in 865ca7bc7e1d 05:15:26 Removing intermediate container 865ca7bc7e1d 05:15:26 ---> 34d1b5a85885 05:15:26 [Warning] One or more build-args [ARCH] were not consumed 05:15:26 Successfully built 34d1b5a85885 05:15:26 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:26 05:15:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:27 latest: Pulling from edgex-lftools-log-publisher 05:15:27 5eb5b503b376: Pulling fs layer 05:15:27 5c69ac0246d0: Pulling fs layer 05:15:27 ec43610c2a17: Pulling fs layer 05:15:27 3a2ae6a8a46f: Pulling fs layer 05:15:27 33b1e0a273af: Pulling fs layer 05:15:27 5d3b04190fa2: Pulling fs layer 05:15:27 2f39f015ded8: Pulling fs layer 05:15:27 2f39f015ded8: Waiting 05:15:27 33b1e0a273af: Waiting 05:15:27 3a2ae6a8a46f: Waiting 05:15:27 5d3b04190fa2: Waiting 05:15:27 5c69ac0246d0: Download complete 05:15:27 3a2ae6a8a46f: Verifying Checksum 05:15:27 3a2ae6a8a46f: Download complete 05:15:27 33b1e0a273af: Verifying Checksum 05:15:27 33b1e0a273af: Download complete 05:15:27 5d3b04190fa2: Verifying Checksum 05:15:27 5d3b04190fa2: Download complete 05:15:27 ec43610c2a17: Verifying Checksum 05:15:27 ec43610c2a17: Download complete 05:15:27 5eb5b503b376: Verifying Checksum 05:15:27 5eb5b503b376: Download complete 05:15:28 2f39f015ded8: Download complete 05:15:28 5eb5b503b376: Pull complete 05:15:28 5c69ac0246d0: Pull complete 05:15:29 ec43610c2a17: Pull complete 05:15:29 3a2ae6a8a46f: Pull complete 05:15:29 33b1e0a273af: Pull complete 05:15:29 5d3b04190fa2: Pull complete 05:15:33 2f39f015ded8: Pull complete 05:15:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:15:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:33 prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container 05:15:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:15:38 $ docker top 8b08d8e9a9e3f8ee9857897fd64336410b7e04aad1683194ab3e4f7f66cd401d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 05:15:38 provisioning config files... 05:15:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/242@tmp/config13555069452869509882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:39 ---> job-cost.sh 05:15:39 lf-activate-venv: SKIPPING 05:15:39 INFO: No Stack... 05:15:39 ---> docker-login.sh 05:15:39 nexus3.edgexfoundry.org:10001 05:15:39 INFO: Retrieving Pricing Info for: v3-standard-8 05:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:39 INFO: Archiving Costs [Pipeline] sh 05:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:39 Configure a credential helper to remove this warning. See 05:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:39 05:15:39 Login Succeeded 05:15:39 nexus3.edgexfoundry.org:10002 05:15:39 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:15:39 + cut -d, -f6 [Pipeline] lock 05:15:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] 05:15:39 Resource [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] did not exist. Created. 05:15:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:39 Configure a credential helper to remove this warning. See 05:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:39 05:15:39 Login Succeeded 05:15:39 nexus3.edgexfoundry.org:10003 05:15:40 + echo total: 0.2199999988079071 [Pipeline] stash 05:15:40 Stashed 1 file(s) [Pipeline] } 05:15:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] [Pipeline] // lock [Pipeline] } 05:15:40 $ docker stop --time=1 8b08d8e9a9e3f8ee9857897fd64336410b7e04aad1683194ab3e4f7f66cd401d 05:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:40 Configure a credential helper to remove this warning. See 05:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:40 05:15:40 Login Succeeded 05:15:40 nexus3.edgexfoundry.org:10004 05:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:40 Configure a credential helper to remove this warning. See 05:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:40 05:15:40 Login Succeeded 05:15:40 docker.io 05:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:41 Configure a credential helper to remove this warning. See 05:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:41 05:15:41 Login Succeeded 05:15:41 ---> docker-login.sh ends 05:15:42 $ docker rm -f --volumes 8b08d8e9a9e3f8ee9857897fd64336410b7e04aad1683194ab3e4f7f66cd401d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 05:15:42 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 05:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:43 ========================================================= 05:15:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:15:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:43 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:15:43 Sending build context to Docker daemon 5.895MB 05:15:43 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:15:43 Step 2/10 : FROM ${BASE} AS builder 05:15:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:15:44 edb6bdbacee9: Pulling fs layer 05:15:44 5f9638ab2659: Pulling fs layer 05:15:44 8d51d6327a98: Pulling fs layer 05:15:44 8b374f2dd631: Pulling fs layer 05:15:44 ec14aa9079de: Pulling fs layer 05:15:44 2f466654f4bb: Pulling fs layer 05:15:44 554e91adad29: Pulling fs layer 05:15:44 8b374f2dd631: Waiting 05:15:44 ec14aa9079de: Waiting 05:15:44 2f466654f4bb: Waiting 05:15:44 554e91adad29: Waiting 05:15:44 5f9638ab2659: Verifying Checksum 05:15:44 5f9638ab2659: Download complete 05:15:44 8b374f2dd631: Verifying Checksum 05:15:44 8b374f2dd631: Download complete 05:15:44 ec14aa9079de: Verifying Checksum 05:15:44 ec14aa9079de: Download complete 05:15:44 edb6bdbacee9: Verifying Checksum 05:15:44 edb6bdbacee9: Download complete 05:15:45 edb6bdbacee9: Pull complete 05:15:45 554e91adad29: Verifying Checksum 05:15:45 554e91adad29: Download complete 05:15:46 5f9638ab2659: Pull complete 05:15:47 8d51d6327a98: Verifying Checksum 05:15:47 8d51d6327a98: Download complete 05:15:47 2f466654f4bb: Verifying Checksum 05:15:47 2f466654f4bb: Download complete 05:15:59 8d51d6327a98: Pull complete 05:15:59 8b374f2dd631: Pull complete 05:15:59 ec14aa9079de: Pull complete 05:16:04 2f466654f4bb: Pull complete 05:16:07 554e91adad29: Pull complete 05:16:07 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 05:16:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:16:07 ---> 1e15ea492957 05:16:07 Step 3/10 : ARG MAKE=make build 05:16:08 ---> Running in 6397a4a39ef9 05:16:08 Removing intermediate container 6397a4a39ef9 05:16:08 ---> 90f8f490dd88 05:16:08 Step 4/10 : WORKDIR /device-sdk-go 05:16:08 ---> Running in b60bd399165e 05:16:09 Removing intermediate container b60bd399165e 05:16:09 ---> 33104ce17474 05:16:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:16:09 ---> Running in 56df638c22ba 05:16:09 Removing intermediate container 56df638c22ba 05:16:09 ---> e894e65eabba 05:16:09 Step 6/10 : RUN apk add --update --no-cache make git 05:16:09 ---> Running in db303592e63d 05:16:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:16:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:16:12 OK: 263 MiB in 53 packages 05:16:13 Removing intermediate container db303592e63d 05:16:13 ---> 3b8db31756ff 05:16:13 Step 7/10 : COPY go.mod vendor* ./ 05:16:13 ---> 424777297e95 05:16:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:13 ---> Running in 3b5e985081b1 05:17:21 Removing intermediate container 3b5e985081b1 05:17:21 ---> b2251e26cf74 05:17:21 Step 9/10 : COPY . . 05:17:21 ---> 5900a567150d 05:17:21 Step 10/10 : RUN ${MAKE} 05:17:21 ---> Running in 497ef0e70d67 05:17:21 noop 05:17:21 Removing intermediate container 497ef0e70d67 05:17:21 ---> 606edccfcaa9 05:17:21 Successfully built 606edccfcaa9 05:17:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:22 + docker inspect -f . ci-base-image-arm64 05:17:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:22 prd-ubuntu20.04-docker-arm64-4c-16g-3767 does not seem to be running inside a container 05:17:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/242 -v /w/workspace/device-sdk-go/242:/w/workspace/device-sdk-go/242:rw,z -v /w/workspace/device-sdk-go/242@tmp:/w/workspace/device-sdk-go/242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:17:23 $ docker top f91963d2c9341a5b45f560c4ebc8591a85f772d5e785f6a2f4747d3cca420a55 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:24 + go version 05:17:24 go version go1.20.6 linux/arm64 [Pipeline] } 05:17:24 $ docker stop --time=1 f91963d2c9341a5b45f560c4ebc8591a85f772d5e785f6a2f4747d3cca420a55 05:17:26 $ docker rm -f --volumes f91963d2c9341a5b45f560c4ebc8591a85f772d5e785f6a2f4747d3cca420a55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:26 + docker inspect -f . ci-base-image-arm64 05:17:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:26 prd-ubuntu20.04-docker-arm64-4c-16g-3767 does not seem to be running inside a container 05:17:26 $ 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/242 -v /w/workspace/device-sdk-go/242:/w/workspace/device-sdk-go/242:rw,z -v /w/workspace/device-sdk-go/242@tmp:/w/workspace/device-sdk-go/242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:17:27 $ docker top 970627da6f014d59687af82443d7cf2cd451b10dc18b482388ada8bf2c19165c -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:28 + git config --global --add safe.directory /w/workspace/device-sdk-go/242 [Pipeline] fileExists [Pipeline] sh 05:17:29 + make test 05:17:29 go test -race -coverprofile=coverage.out ./... 05:18:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:20:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:20:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:20:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:20:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:20:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:20:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements 05:20:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.257s coverage: 80.2% of statements 05:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:20:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:20:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.343s coverage: 86.0% of statements 05:20:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:20:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.474s coverage: 71.8% of statements 05:20:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.283s coverage: 14.3% of statements 05:20:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:20:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:20:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.722s coverage: 43.8% of statements 05:20:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.421s coverage: 68.5% of statements 05:20:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.438s coverage: 89.2% of statements 05:20:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:20:53 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.239s coverage: 5.5% of statements 05:20:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:20:54 GO111MODULE=on go vet ./... 05:23:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:23:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:23:16 ./bin/test-attribution-txt.sh 05:23:16 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 05:23:16 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 05:23:16 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 05:23:16 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 05:23:16 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 05:23:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:23:16 $ docker stop --time=1 970627da6f014d59687af82443d7cf2cd451b10dc18b482388ada8bf2c19165c 05:23:18 $ docker rm -f --volumes 970627da6f014d59687af82443d7cf2cd451b10dc18b482388ada8bf2c19165c [Pipeline] // withDockerContainer [Pipeline] sh 05:23:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:23:20 Warning: overwriting stash ‘coverage-report’ 05:23:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:23:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:23:21 + ls -al . 05:23:21 total 300 05:23:21 drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 05:17 . 05:23:21 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 05:15 .. 05:23:21 -rw-rw-r-- 1 jenkins jenkins 140 Aug 16 05:15 .dockerignore 05:23:21 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 05:15 .git 05:23:21 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 05:15 .github 05:23:21 -rw-rw-r-- 1 jenkins jenkins 137 Aug 16 05:15 .gitignore 05:23:21 -rw-rw-r-- 1 jenkins jenkins 42 Aug 16 05:15 .golangci.yml 05:23:21 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 16 05:15 CHANGELOG.md 05:23:21 -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 05:15 GOVERNANCE.md 05:23:21 -rw-rw-r-- 1 jenkins jenkins 885 Aug 16 05:15 Jenkinsfile 05:23:21 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 16 05:15 LICENSE 05:23:21 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 16 05:15 Makefile 05:23:21 -rw-rw-r-- 1 jenkins jenkins 619 Aug 16 05:15 OWNERS.md 05:23:21 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 16 05:15 README.md 05:23:21 -rw-rw-r-- 1 jenkins jenkins 12 Aug 16 05:13 VERSION 05:23:21 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 05:15 bin 05:23:21 -rw-r--r-- 1 jenkins jenkins 120271 Aug 16 05:20 coverage.out 05:23:21 drwxrwxr-x 5 jenkins jenkins 4096 Aug 16 05:15 example 05:23:21 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 16 05:15 go.mod 05:23:21 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 16 05:15 go.sum 05:23:21 drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 05:15 internal 05:23:21 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 05:15 openapi 05:23:21 drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 05:15 pkg 05:23:21 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 05:15 snap 05:23:21 -rw-rw-r-- 1 jenkins jenkins 222 Aug 16 05:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:21 + 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=b58b30e7bb628030941072b2ed6fa4c53da1af43 --label arch=arm64 --label version=3.1.0-dev.13 . 05:23:21 Sending build context to Docker daemon 6.016MB 05:23:21 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:23:21 Step 2/23 : FROM ${BASE} AS builder 05:23:21 ---> 606edccfcaa9 05:23:21 Step 3/23 : ARG MAKE=make build 05:23:22 ---> Running in 05a1afc8fec5 05:23:22 Removing intermediate container 05a1afc8fec5 05:23:22 ---> 14ce5f6ad646 05:23:22 Step 4/23 : WORKDIR /device-sdk-go 05:23:22 ---> Running in 8e9f10b60600 05:23:22 Removing intermediate container 8e9f10b60600 05:23:22 ---> e065c6b48e65 05:23:22 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:23:22 ---> Running in fef44ed6dc0d 05:23:23 Removing intermediate container fef44ed6dc0d 05:23:23 ---> b783ce08d151 05:23:23 Step 6/23 : RUN apk add --update --no-cache make git 05:23:23 ---> Running in 2dd241a56653 05:23:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:23:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:23:25 OK: 263 MiB in 53 packages 05:23:26 Removing intermediate container 2dd241a56653 05:23:26 ---> a3cebc0f851c 05:23:26 Step 7/23 : COPY go.mod vendor* ./ 05:23:26 ---> ca5e12cd843d 05:23:26 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:23:26 ---> Running in 7112b5399507 05:23:28 Removing intermediate container 7112b5399507 05:23:28 ---> 9bf19143ede8 05:23:28 Step 9/23 : COPY . . 05:23:32 ---> 25dd9b47384f 05:23:32 Step 10/23 : RUN ${MAKE} 05:23:32 ---> Running in 629c41523ed7 05:23:32 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.13" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:25:54 Removing intermediate container 629c41523ed7 05:25:54 ---> 4432da97386a 05:25:54 Step 11/23 : FROM alpine:3.17 05:25:54 3.17: Pulling from library/alpine 05:25:54 4060ece20d7a: Pulling fs layer 05:25:54 4060ece20d7a: Download complete 05:25:54 4060ece20d7a: Pull complete 05:25:54 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:25:54 Status: Downloaded newer image for alpine:3.17 05:25:54 ---> 8650cd65339b 05:25:54 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:25:54 ---> Running in d6cc1fba931c 05:25:54 Removing intermediate container d6cc1fba931c 05:25:54 ---> 2fd012a07beb 05:25:54 Step 13/23 : RUN apk add --update --no-cache 05:25:54 ---> Running in a94910f07325 05:25:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:25:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:25:54 OK: 7 MiB in 15 packages 05:25:54 Removing intermediate container a94910f07325 05:25:54 ---> 57258427044c 05:25:54 Step 14/23 : WORKDIR / 05:25:54 ---> Running in 126f6cf415be 05:25:54 Removing intermediate container 126f6cf415be 05:25:54 ---> 3ccd9b5753f9 05:25:54 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:25:54 ---> 0eb2b5a6c702 05:25:54 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:25:54 ---> 685182d2dcc2 05:25:54 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:25:54 ---> 67a8b284f2d7 05:25:54 Step 18/23 : EXPOSE 59999 05:25:54 ---> Running in 7c66fa9a685f 05:25:54 Removing intermediate container 7c66fa9a685f 05:25:54 ---> ef03e73267fc 05:25:54 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:25:54 ---> Running in 7a91e610da11 05:25:54 Removing intermediate container 7a91e610da11 05:25:54 ---> 3a071f79343f 05:25:54 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:25:54 ---> Running in fd949fb0b6d9 05:25:54 Removing intermediate container fd949fb0b6d9 05:25:54 ---> ce5591aa6df6 05:25:54 Step 21/23 : LABEL arch=arm64 05:25:54 ---> Running in 9bb072388e48 05:25:54 Removing intermediate container 9bb072388e48 05:25:54 ---> 39812396d1f8 05:25:54 Step 22/23 : LABEL git_sha=b58b30e7bb628030941072b2ed6fa4c53da1af43 05:25:54 ---> Running in b36ebc106ea0 05:25:54 Removing intermediate container b36ebc106ea0 05:25:54 ---> 19da29016ceb 05:25:54 Step 23/23 : LABEL version=3.1.0-dev.13 05:25:54 ---> Running in e3234e9bdba0 05:25:54 Removing intermediate container e3234e9bdba0 05:25:54 ---> 6e09aa414ad1 05:25:54 [Warning] One or more build-args [ARCH] were not consumed 05:25:54 Successfully built 6e09aa414ad1 05:25:54 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:25:54 05:25:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:25:55 arm64: Pulling from edgex-lftools-log-publisher 05:25:55 8998bd30e6a1: Pulling fs layer 05:25:55 04944245beec: Pulling fs layer 05:25:55 699f458cf7ca: Pulling fs layer 05:25:55 765212b225bb: Pulling fs layer 05:25:55 f23df028b6ca: Pulling fs layer 05:25:55 d65c8cfc05b1: Pulling fs layer 05:25:55 2437ff75d9bd: Pulling fs layer 05:25:55 765212b225bb: Waiting 05:25:55 f23df028b6ca: Waiting 05:25:55 d65c8cfc05b1: Waiting 05:25:55 2437ff75d9bd: Waiting 05:25:55 04944245beec: Verifying Checksum 05:25:55 04944245beec: Download complete 05:25:55 765212b225bb: Verifying Checksum 05:25:55 765212b225bb: Download complete 05:25:55 f23df028b6ca: Download complete 05:25:55 d65c8cfc05b1: Download complete 05:25:55 699f458cf7ca: Verifying Checksum 05:25:55 699f458cf7ca: Download complete 05:25:56 8998bd30e6a1: Download complete 05:25:58 2437ff75d9bd: Verifying Checksum 05:25:58 2437ff75d9bd: Download complete 05:26:00 8998bd30e6a1: Pull complete 05:26:00 04944245beec: Pull complete 05:26:01 699f458cf7ca: Pull complete 05:26:02 765212b225bb: Pull complete 05:26:02 f23df028b6ca: Pull complete 05:26:02 d65c8cfc05b1: Pull complete 05:26:17 2437ff75d9bd: Pull complete 05:26:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:26:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:26:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:18 prd-ubuntu20.04-docker-arm64-4c-16g-3767 does not seem to be running inside a container 05:26:18 $ 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/242 -v /w/workspace/device-sdk-go/242:/w/workspace/device-sdk-go/242:rw,z -v /w/workspace/device-sdk-go/242@tmp:/w/workspace/device-sdk-go/242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:26:20 $ docker top 514be672c79213d9f4028a391e0818aeb1bb058baa4a6137de491f7dbc0bb9e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:26:21 ---> job-cost.sh 05:26:21 lf-activate-venv: SKIPPING 05:26:21 INFO: No Stack... 05:26:22 INFO: Retrieving Pricing Info for: v3-standard-4 05:26:22 INFO: Archiving Costs [Pipeline] sh 05:26:23 + cat /w/workspace/device-sdk-go/242/archives/cost.csv 05:26:23 + cut -d, -f6 [Pipeline] lock 05:26:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] 05:26:23 Resource [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] did not exist. Created. 05:26:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:26:24 /w/workspace/device-sdk-go/242@tmp/durable-cdaae88c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:26:24 + echo total: 0.10999999940395355 [Pipeline] stash 05:26:24 Warning: overwriting stash ‘stack-cost’ 05:26:24 Stashed 1 file(s) [Pipeline] } 05:26:24 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-242-stack-cost] [Pipeline] // lock [Pipeline] } 05:26:24 $ docker stop --time=1 514be672c79213d9f4028a391e0818aeb1bb058baa4a6137de491f7dbc0bb9e8 05:26:26 $ docker rm -f --volumes 514be672c79213d9f4028a391e0818aeb1bb058baa4a6137de491f7dbc0bb9e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:26:26 provisioning config files... 05:26:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6736245949383496232tmp [Pipeline] { [Pipeline] sh 05:26:26 + set +x 05:26:26 + curl -s https://codecov.io/bash 05:26:26 + bash -s -- 05:26:26 05:26:26 _____ _ 05:26:26 / ____| | | 05:26:26 | | ___ __| | ___ ___ _____ __ 05:26:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:26:26 | |___| (_) | (_| | __/ (_| (_) \ V / 05:26:26 \_____\___/ \__,_|\___|\___\___/ \_/ 05:26:26 Bash-1.0.6 05:26:26 05:26:26 05:26:26 ==> git version 2.25.1 found 05:26:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:26:26 Release-Date: 2020-01-08 05:26:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:26:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:26:26 ==> Jenkins CI detected. 05:26:26 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:26:26 project root: . 05:26:26 --> token set from env 05:26:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:26:26 ==> Running gcov in . (disable via -X gcov) 05:26:26 ==> Python coveragepy not found 05:26:26 ==> Searching for coverage reports in: 05:26:26 + . 05:26:26 -> Found 1 reports 05:26:26 ==> Detecting git/mercurial file structure 05:26:26 ==> Reading reports 05:26:27 + ./coverage.out bytes=120271 05:26:27 ==> Appending adjustments 05:26:27 https://docs.codecov.io/docs/fixing-reports 05:26:27 + Found adjustments 05:26:27 ==> Gzipping contents 05:26:27 20K /tmp/codecov.mlVtHG.gz 05:26:27 ==> Uploading reports 05:26:27 url: https://codecov.io 05:26:27 query: branch=main&commit=b58b30e7bb628030941072b2ed6fa4c53da1af43&build=242&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F242%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:26:27 -> Pinging Codecov 05:26:27 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=b58b30e7bb628030941072b2ed6fa4c53da1af43&build=242&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F242%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:26:27 -> Uploading to 05:26:27 https://storage.googleapis.com/codecov/v4/raw/2023-08-16/7E55EF52A471D76F132DFD9A03CDDE97/b58b30e7bb628030941072b2ed6fa4c53da1af43/3ee83d2d-81f5-40a9-b4b5-cdb8fd925b4c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230816%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230816T052627Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01fa9f242b2a398aaf2694af1a5e6937edd0516b05417949971b938c2257a731 05:26:27 % Total % Received % Xferd Average Speed Time Time Time Current 05:26:27 Dload Upload Total Spent Left Speed 05:26:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16431 0 0 100 16431 0 84261 --:--:-- --:--:-- --:--:-- 84261 05:26:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] } 05:26:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:26:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:26:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:26:28 05:26:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:26:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:26:28 df9b9388f04a: Pulling fs layer 05:26:28 52dc419b0ee2: Pulling fs layer 05:26:28 25bc292e5bac: Pulling fs layer 05:26:28 114826534d7a: Pulling fs layer 05:26:28 4657fd5d0bcf: Pulling fs layer 05:26:28 6ad1cebc031e: Pulling fs layer 05:26:28 8a3aa393b2d8: Pulling fs layer 05:26:28 4657fd5d0bcf: Waiting 05:26:28 6ad1cebc031e: Waiting 05:26:28 8a3aa393b2d8: Waiting 05:26:28 114826534d7a: Waiting 05:26:28 25bc292e5bac: Download complete 05:26:28 52dc419b0ee2: Download complete 05:26:28 4657fd5d0bcf: Download complete 05:26:28 df9b9388f04a: Download complete 05:26:28 df9b9388f04a: Pull complete 05:26:28 6ad1cebc031e: Verifying Checksum 05:26:28 6ad1cebc031e: Download complete 05:26:28 52dc419b0ee2: Pull complete 05:26:28 25bc292e5bac: Pull complete 05:26:29 114826534d7a: Verifying Checksum 05:26:29 8a3aa393b2d8: Verifying Checksum 05:26:29 8a3aa393b2d8: Download complete 05:26:32 114826534d7a: Pull complete 05:26:32 4657fd5d0bcf: Pull complete 05:26:32 6ad1cebc031e: Pull complete 05:26:35 8a3aa393b2d8: Pull complete 05:26:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:26:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:26:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:35 prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container 05:26:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:26:38 $ docker top 7a7cc0b331eb21817cac17a547fe1ac36e0ab25dd04d54f1511b2c4459eaa321 -eo pid,comm [Pipeline] { [Pipeline] echo 05:26:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:26:39 + set -o pipefail 05:26:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:26:44 05:26:44 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:26:44 05:26:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/664919d6-c307-4d22-a920-ee1b227d0e17 05:26:44 05:26:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:26:44 05:26:44 05:26:44 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:26:44 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:26:44 More details here: https://snyk.co/ue1NS [Pipeline] } 05:26:44 $ docker stop --time=1 7a7cc0b331eb21817cac17a547fe1ac36e0ab25dd04d54f1511b2c4459eaa321 05:26:47 $ docker rm -f --volumes 7a7cc0b331eb21817cac17a547fe1ac36e0ab25dd04d54f1511b2c4459eaa321 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 05:26:48 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:26:48 provisioning config files... 05:26:48 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10652359627512498656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:26:48 --> edgex-publish-swagger.sh 05:26:48 === Publish openapi/v3 API === 05:26:48 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:26:48 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:26:48 % Total % Received % Xferd Average Speed Time Time Time Current 05:26:48 Dload Upload Total Spent Left Speed 05:26:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 57741 --:--:-- --:--:-- --:--:-- 57741 05:26:48 05:26:48 [Pipeline] } 05:26:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:26:49 + git log --format=format:%s -1 b58b30e7bb628030941072b2ed6fa4c53da1af43 [Pipeline] sh 05:26:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:26:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:26:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:49 prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container 05:26:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:26:50 $ docker top ebefe169eb83d707bf77a9a5e661e542c937dc0a3b84efff2a335d0c0531e5c2 -eo pid,comm 05:26:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:26:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:50 [ssh-agent] Looking for ssh-agent implementation... 05:26:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:50 $ docker exec ebefe169eb83d707bf77a9a5e661e542c937dc0a3b84efff2a335d0c0531e5c2 ssh-agent 05:26:50 SSH_AUTH_SOCK=/tmp/ssh-Lh3aBi414kCf/agent.33 05:26:50 SSH_AGENT_PID=39 05:26:50 Running ssh-add (command line suppressed) 05:26:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16840689638521808184.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16840689638521808184.key) 05:26:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:51 + git semver tag 05:26:51 2023-08-16 05:26:51,239 [run_tag] DEBUG tag force:False 05:26:51 2023-08-16 05:26:51,239 [check_head_tag] DEBUG check head tag 05:26:51 2023-08-16 05:26:51,240 [execute] INFO git cat-file --batch-check 05:26:51 2023-08-16 05:26:51,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:26:51 2023-08-16 05:26:51,243 [execute] INFO git cat-file --batch 05:26:51 2023-08-16 05:26:51,244 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:26:51 2023-08-16 05:26:51,256 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:26:51 2023-08-16 05:26:51,256 [execute] INFO git tag -a v3.1.0-dev.13 -m v3.1.0-dev.13 05:26:51 2023-08-16 05:26:51,256 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.13', '-m', 'v3.1.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:26:51 2023-08-16 05:26:51,261 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:26:51 3.1.0-dev.13 [Pipeline] } 05:26:51 $ docker exec --env ******** --env ******** ebefe169eb83d707bf77a9a5e661e542c937dc0a3b84efff2a335d0c0531e5c2 ssh-agent -k 05:26:51 unset SSH_AUTH_SOCK; 05:26:51 unset SSH_AGENT_PID; 05:26:51 echo Agent pid 39 killed; 05:26:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:26:51 + git semver [Pipeline] } 05:26:52 $ docker stop --time=1 ebefe169eb83d707bf77a9a5e661e542c937dc0a3b84efff2a335d0c0531e5c2 05:26:53 $ docker rm -f --volumes ebefe169eb83d707bf77a9a5e661e542c937dc0a3b84efff2a335d0c0531e5c2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:26:53 05:26:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:26:53 0.23.1-centos7: Pulling from edgex-lftools 05:26:53 ab5ef0e58194: Pulling fs layer 05:26:53 9712f1f96733: Pulling fs layer 05:26:53 63f879dbbcfc: Pulling fs layer 05:26:53 0d9ebad4ef96: Pulling fs layer 05:26:53 e9a5061849ea: Pulling fs layer 05:26:53 d747dcd14b5f: Pulling fs layer 05:26:53 2de7ff778b66: Pulling fs layer 05:26:53 e9a5061849ea: Waiting 05:26:53 2de7ff778b66: Waiting 05:26:53 d747dcd14b5f: Waiting 05:26:53 0d9ebad4ef96: Waiting 05:26:53 9712f1f96733: Verifying Checksum 05:26:53 9712f1f96733: Download complete 05:26:54 63f879dbbcfc: Verifying Checksum 05:26:54 63f879dbbcfc: Download complete 05:26:54 e9a5061849ea: Verifying Checksum 05:26:54 e9a5061849ea: Download complete 05:26:54 ab5ef0e58194: Verifying Checksum 05:26:54 ab5ef0e58194: Download complete 05:26:54 d747dcd14b5f: Download complete 05:26:54 0d9ebad4ef96: Verifying Checksum 05:26:54 0d9ebad4ef96: Download complete 05:26:54 2de7ff778b66: Verifying Checksum 05:26:54 2de7ff778b66: Download complete 05:26:57 ab5ef0e58194: Pull complete 05:26:57 9712f1f96733: Pull complete 05:26:57 63f879dbbcfc: Pull complete 05:27:00 0d9ebad4ef96: Pull complete 05:27:01 e9a5061849ea: Pull complete 05:27:01 d747dcd14b5f: Pull complete 05:27:02 2de7ff778b66: Pull complete 05:27:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:27:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:27:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:02 prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container 05:27:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:27:07 $ docker top 7705c0a67a5c00ac39febdeef765dd215c8819062c0ffb0629a3cf95cde78f68 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:27:07 provisioning config files... 05:27:07 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17902870715094865417tmp 05:27:07 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config266398793092920739tmp 05:27:07 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15350275360602811787tmp [Pipeline] { [Pipeline] echo 05:27:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:27:07 ---> sigul-configuration.sh 05:27:07 gpg: directory `/root/.gnupg' created 05:27:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:27:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:27:07 gpg: keyring `/root/.gnupg/secring.gpg' created 05:27:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:27:07 gpg: CAST5 encrypted data 05:27:07 gpg: encrypted with 1 passphrase 05:27:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:27:08 + mkdir /home/jenkins 05:27:08 + mkdir /home/jenkins/sigul [Pipeline] sh 05:27:08 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:27:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:27:08 ---> sigul-install.sh 05:27:08 Sigul already installed; skipping installation. [Pipeline] sh 05:27:08 + git tag --list 05:27:08 0.7.1 05:27:08 delhi-tag 05:27:08 v1.0.0 05:27:08 v1.1.0 05:27:08 v1.1.1 05:27:08 v1.1.2 05:27:08 v1.2.0 05:27:08 v1.2.1 05:27:08 v1.2.2 05:27:08 v1.2.3 05:27:08 v1.3.0 05:27:08 v1.4.0 05:27:08 v2.0.0 05:27:08 v2.1.0 05:27:08 v2.1.1 05:27:08 v2.2.0 05:27:08 v2.3.0 05:27:08 v2.3.1 05:27:08 v3.0 05:27:08 v3.0.0 05:27:08 v3.0.1-dev.1 05:27:08 v3.1.0-dev.1 05:27:08 v3.1.0-dev.10 05:27:08 v3.1.0-dev.11 05:27:08 v3.1.0-dev.12 05:27:08 v3.1.0-dev.13 05:27:08 v3.1.0-dev.2 05:27:08 v3.1.0-dev.3 05:27:08 v3.1.0-dev.4 05:27:08 v3.1.0-dev.5 05:27:08 v3.1.0-dev.6 05:27:08 v3.1.0-dev.7 05:27:08 v3.1.0-dev.8 05:27:08 v3.1.0-dev.9 [Pipeline] sh 05:27:09 + lftools sign git-tag v3.1.0-dev.13 05:27:09 Signing Git tag with Sigul... 05:27:09 Signing v3.1.0-dev.13 [Pipeline] echo 05:27:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:27:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:27:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:27:10 $ docker stop --time=1 7705c0a67a5c00ac39febdeef765dd215c8819062c0ffb0629a3cf95cde78f68 05:27:11 $ docker rm -f --volumes 7705c0a67a5c00ac39febdeef765dd215c8819062c0ffb0629a3cf95cde78f68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:27:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:27:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:12 prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container 05:27:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:27:12 $ docker top 209d9d92a1e6661d9dd5ef6e45a6b8c5c69e9558b434f090c7bf8f57b97ac615 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:27:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:27:12 [ssh-agent] Looking for ssh-agent implementation... 05:27:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:27:12 $ docker exec 209d9d92a1e6661d9dd5ef6e45a6b8c5c69e9558b434f090c7bf8f57b97ac615 ssh-agent 05:27:13 SSH_AUTH_SOCK=/tmp/ssh-WAsp0FePomxc/agent.32 05:27:13 SSH_AGENT_PID=38 05:27:13 Running ssh-add (command line suppressed) 05:27:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13981030489901553289.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13981030489901553289.key) 05:27:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:27:13 + git semver bump pre 05:27:13 2023-08-16 05:27:13,629 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:27:13 2023-08-16 05:27:13,629 [bump_version] DEBUG bumping version:3.1.0-dev.13 on axis:pre with prefix:dev 05:27:13 2023-08-16 05:27:13,629 [bump_version] DEBUG bumped version:3.1.0-dev.14 05:27:13 2023-08-16 05:27:13,629 [write_version] DEBUG write version:3.1.0-dev.14 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:27:13 2023-08-16 05:27:13,629 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:27:13 2023-08-16 05:27:13,629 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:27:13 2023-08-16 05:27:13,632 [execute] INFO git cat-file --batch-check 05:27:13 2023-08-16 05:27:13,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:27:13 2023-08-16 05:27:13,637 [execute] INFO git cat-file --batch 05:27:13 2023-08-16 05:27:13,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:27:13 2023-08-16 05:27:13,643 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:27:13 3.1.0-dev.14 [Pipeline] } 05:27:13 $ docker exec --env ******** --env ******** 209d9d92a1e6661d9dd5ef6e45a6b8c5c69e9558b434f090c7bf8f57b97ac615 ssh-agent -k 05:27:13 unset SSH_AUTH_SOCK; 05:27:13 unset SSH_AGENT_PID; 05:27:13 echo Agent pid 38 killed; 05:27:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:27:14 + git semver [Pipeline] } 05:27:14 $ docker stop --time=1 209d9d92a1e6661d9dd5ef6e45a6b8c5c69e9558b434f090c7bf8f57b97ac615 05:27:15 $ docker rm -f --volumes 209d9d92a1e6661d9dd5ef6e45a6b8c5c69e9558b434f090c7bf8f57b97ac615 [Pipeline] // withDockerContainer [Pipeline] sh 05:27:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:27:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:27:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:16 prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container 05:27:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:27:16 $ docker top d998a1c453d247cfeb9bf198e1ec7ef9f60000b47d70515d7d0f4b14cc97138d -eo pid,comm 05:27:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:27:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:27:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:27:16 [ssh-agent] Looking for ssh-agent implementation... 05:27:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:27:16 $ docker exec d998a1c453d247cfeb9bf198e1ec7ef9f60000b47d70515d7d0f4b14cc97138d ssh-agent 05:27:17 SSH_AUTH_SOCK=/tmp/ssh-ikZUPcvkT5BO/agent.32 05:27:17 SSH_AGENT_PID=38 05:27:17 Running ssh-add (command line suppressed) 05:27:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12905685377236025492.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12905685377236025492.key) 05:27:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:27:17 + git semver push 05:27:17 2023-08-16 05:27:17,606 [run_push] DEBUG push 05:27:17 2023-08-16 05:27:17,607 [execute] INFO git cat-file --batch-check 05:27:17 2023-08-16 05:27:17,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:27:17 2023-08-16 05:27:17,611 [execute] INFO git rev-list c7e0e7d5e10c76d51a27145d66c18ea23ad66257 -- 05:27:17 2023-08-16 05:27:17,611 [execute] DEBUG Popen(['git', 'rev-list', 'c7e0e7d5e10c76d51a27145d66c18ea23ad66257', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:27:17 2023-08-16 05:27:17,624 [execute] INFO git fetch -v origin 05:27:17 2023-08-16 05:27:17,624 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:27:18 2023-08-16 05:27:18,096 [run_push] DEBUG no remote changes detected 05:27:18 2023-08-16 05:27:18,097 [execute] INFO git push origin semver 05:27:18 2023-08-16 05:27:18,097 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:27:19 2023-08-16 05:27:18,840 [run_push] DEBUG push all version tags 05:27:19 2023-08-16 05:27:18,840 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:27:19 2023-08-16 05:27:18,841 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:27:19 2023-08-16 05:27:19,550 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:27:19 3.1.0-dev.14 [Pipeline] } 05:27:19 $ docker exec --env ******** --env ******** d998a1c453d247cfeb9bf198e1ec7ef9f60000b47d70515d7d0f4b14cc97138d ssh-agent -k 05:27:19 unset SSH_AUTH_SOCK; 05:27:19 unset SSH_AGENT_PID; 05:27:19 echo Agent pid 38 killed; 05:27:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:27:20 + git semver [Pipeline] } 05:27:20 $ docker stop --time=1 d998a1c453d247cfeb9bf198e1ec7ef9f60000b47d70515d7d0f4b14cc97138d 05:27:21 $ docker rm -f --volumes d998a1c453d247cfeb9bf198e1ec7ef9f60000b47d70515d7d0f4b14cc97138d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:27:22 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:27:22 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:27:22 total 16 05:27:22 drwxr-xr-x 3 root root 4096 Aug 16 05:15 . 05:27:22 drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 05:27 .. 05:27:22 drwxr-xr-x 2 root root 4096 Aug 16 05:15 cost 05:27:22 -rw-r--r-- 1 root root 85 Aug 16 05:15 cost.csv 05:27:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:27:22 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:27:22 total 16 05:27:22 drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 05:15 . 05:27:22 drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 05:27 .. 05:27:22 drwxr-xr-x 2 jenkins jenkins 4096 Aug 16 05:15 cost 05:27:22 -rw-r--r-- 1 jenkins jenkins 85 Aug 16 05:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:27:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:27:23 ---> package-listing.sh 05:27:23 ++ facter osfamily 05:27:23 ++ tr '[:upper:]' '[:lower:]' 05:27:23 + OS_FAMILY=debian 05:27:23 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:27:23 + START_PACKAGES=/tmp/packages_start.txt 05:27:23 + END_PACKAGES=/tmp/packages_end.txt 05:27:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:27:23 + PACKAGES=/tmp/packages_start.txt 05:27:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:27:23 + PACKAGES=/tmp/packages_end.txt 05:27:23 + case "${OS_FAMILY}" in 05:27:23 + dpkg -l 05:27:23 + grep '^ii' 05:27:23 + '[' -f /tmp/packages_start.txt ']' 05:27:23 + '[' -f /tmp/packages_end.txt ']' 05:27:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:27:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:27:23 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:27:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:27:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:27:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:27:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:24 prd-ubuntu20.04-docker-8c-8g-3766 does not seem to be running inside a container 05:27:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:27:24 $ docker top 4300f68484f4e626b6c04395e56041b567b21962245a99babbf74af2e16a65c0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:27:25 + touch /tmp/pre-build-complete [Pipeline] sh 05:27:25 + mkdir -p /var/log/sysstat [Pipeline] sh 05:27:25 + ls /var/log/sa-host 05:27:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:27:25 provisioning config files... 05:27:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18125489570389699767tmp [Pipeline] { [Pipeline] echo 05:27:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:27:26 ---> create-netrc.sh [Pipeline] } 05:27:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:27:26 ---> python-tools-install.sh [Pipeline] echo 05:27:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:27:26 ---> sudo-logs.sh 05:27:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:27:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:27:27 ---> job-cost.sh 05:27:27 lf-activate-venv: SKIPPING 05:27:27 DEBUG: total: 0.2199999988079071 05:27:27 INFO: Retrieving Stack Cost... 05:27:27 INFO: Retrieving Pricing Info for: v3-standard-8 05:27:28 INFO: Archiving Costs [Pipeline] echo 05:27:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:27:28 ---> logs-deploy.sh 05:27:28 lf-activate-venv: SKIPPING 05:27:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/242 05:27:28 INFO: archiving workspace using pattern(s): 05:27:29 Archives upload complete. 05:27:29 INFO: archiving logs to Nexus