Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2bcb30427b801ff9ed3b105e71011a55aed1d51b 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-ssh7849986838526223111.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh8744644137323998698.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh8188734664188147303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh12466969448112101740.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-ssh11172109738907300201.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-3192 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2bcb30427b801ff9ed3b105e71011a55aed1d51b (main) Commit message: "Merge pull request #1492 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.19" > git config core.sparsecheckout # timeout=10 > git checkout -f 2bcb30427b801ff9ed3b105e71011a55aed1d51b # timeout=10 > git rev-list --no-walk 33fe8b615815503aada03d5ced23786186fa4554 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:23:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:23:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:23:19 ========================================================= 09:23:19 EdgeX Global Pipelines Version Info 09:23:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:23:20 ------------------- 09:23:20 stable info: 09:23:20 ------------------- 09:23:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:23:20 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 09:23:20 Message: update stable to v1.0.250 09:23:21 ------------------- 09:23:21 experimental info: 09:23:21 ------------------- 09:23:21 Commited By: **** collab-it+edgex@linuxfoundation.org 09:23:21 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 09:23:21 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bcb304 [Pipeline] echo 09:23:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:21 provisioning config files... 09:23:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18146529033442681622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:22 ---> docker-login.sh 09:23:22 nexus3.edgexfoundry.org:10001 09:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:22 Configure a credential helper to remove this warning. See 09:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:22 09:23:22 Login Succeeded 09:23:22 nexus3.edgexfoundry.org:10002 09:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:22 Configure a credential helper to remove this warning. See 09:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:22 09:23:22 Login Succeeded 09:23:22 nexus3.edgexfoundry.org:10003 09:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:22 Configure a credential helper to remove this warning. See 09:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:22 09:23:22 Login Succeeded 09:23:22 nexus3.edgexfoundry.org:10004 09:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:22 Configure a credential helper to remove this warning. See 09:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:22 09:23:22 Login Succeeded 09:23:22 docker.io 09:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:23 Configure a credential helper to remove this warning. See 09:23:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:23 09:23:23 Login Succeeded 09:23:23 ---> docker-login.sh ends [Pipeline] } 09:23:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:23:23 + git rev-list -1 --merges 2bcb30427b801ff9ed3b105e71011a55aed1d51b~1..2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] echo 09:23:23 -----------> git rev-list -1 --merges 2bcb30427b801ff9ed3b105e71011a55aed1d51b~1..2bcb30427b801ff9ed3b105e71011a55aed1d51b 2bcb30427b801ff9ed3b105e71011a55aed1d51b 09:23:23 2bcb30427b801ff9ed3b105e71011a55aed1d51b [false] [Pipeline] sh 09:23:23 + git log --format=format:%s -1 2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] echo 09:23:23 ========================================================= 09:23:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:23:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:23:24 + git log --format=format:%s -1 2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] echo 09:23:24 [semverPrep] GIT_COMMIT: 2bcb30427b801ff9ed3b105e71011a55aed1d51b, Commit Message: Merge pull request #1492 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.19 [Pipeline] echo 09:23:24 [semverPrep] This is not a build commit. [Pipeline] sh 09:23:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:23:24 + grep -v github /etc/ssh/ssh_known_hosts 09:23:24 + [ -e /tmp/ssh_known_hosts ] 09:23:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:23:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:23:24 + sudo tee -a /etc/ssh/ssh_known_hosts 09:23:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:23:25 09:23:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:23:25 0.1.4: Pulling from edgex-devops/py-git-semver 09:23:25 b85a868b505f: Pulling fs layer 09:23:25 e2be974225ed: Pulling fs layer 09:23:25 339a4e72a1f5: Pulling fs layer 09:23:25 988bab9f4d93: Pulling fs layer 09:23:25 1469e6f7b9e6: Pulling fs layer 09:23:25 eaf3925da568: Pulling fs layer 09:23:25 bab4dde63d76: Pulling fs layer 09:23:25 bde34c3a00c8: Pulling fs layer 09:23:25 b352a97aabf1: Pulling fs layer 09:23:25 4872d77fe225: Pulling fs layer 09:23:25 5851b861e8e6: Pulling fs layer 09:23:25 988bab9f4d93: Waiting 09:23:25 1469e6f7b9e6: Waiting 09:23:25 bde34c3a00c8: Waiting 09:23:25 b352a97aabf1: Waiting 09:23:25 4872d77fe225: Waiting 09:23:25 eaf3925da568: Waiting 09:23:25 bab4dde63d76: Waiting 09:23:25 5851b861e8e6: Waiting 09:23:25 988bab9f4d93: Verifying Checksum 09:23:25 988bab9f4d93: Download complete 09:23:25 1469e6f7b9e6: Verifying Checksum 09:23:25 1469e6f7b9e6: Download complete 09:23:25 eaf3925da568: Verifying Checksum 09:23:25 eaf3925da568: Download complete 09:23:25 339a4e72a1f5: Verifying Checksum 09:23:25 339a4e72a1f5: Download complete 09:23:25 bde34c3a00c8: Verifying Checksum 09:23:25 b352a97aabf1: Verifying Checksum 09:23:25 4872d77fe225: Verifying Checksum 09:23:25 4872d77fe225: Download complete 09:23:25 5851b861e8e6: Download complete 09:23:25 b85a868b505f: Verifying Checksum 09:23:25 b85a868b505f: Download complete 09:23:25 bab4dde63d76: Verifying Checksum 09:23:25 bab4dde63d76: Download complete 09:23:27 b85a868b505f: Pull complete 09:23:27 e2be974225ed: Pull complete 09:23:27 339a4e72a1f5: Pull complete 09:23:27 988bab9f4d93: Pull complete 09:23:28 1469e6f7b9e6: Pull complete 09:23:28 eaf3925da568: Pull complete 09:23:30 bab4dde63d76: Pull complete 09:23:30 bde34c3a00c8: Pull complete 09:23:30 b352a97aabf1: Pull complete 09:23:30 4872d77fe225: Pull complete 09:23:30 5851b861e8e6: Pull complete 09:23:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:23:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:23:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:30 prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container 09:23:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:23:33 $ docker top e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 -eo pid,comm 09:23:33 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). 09:23:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:23:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:33 [ssh-agent] Looking for ssh-agent implementation... 09:23:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:33 $ docker exec e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 ssh-agent 09:23:33 SSH_AUTH_SOCK=/tmp/ssh-cz2tEMGzSuCo/agent.31 09:23:33 SSH_AGENT_PID=37 09:23:33 Running ssh-add (command line suppressed) 09:23:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4687823105499875934.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4687823105499875934.key) 09:23:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:33 + git tag --points-at HEAD [Pipeline] } 09:23:33 $ docker exec --env ******** --env ******** e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 ssh-agent -k 09:23:34 unset SSH_AUTH_SOCK; 09:23:34 unset SSH_AGENT_PID; 09:23:34 echo Agent pid 37 killed; 09:23:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:23:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:23:34 [ssh-agent] Looking for ssh-agent implementation... 09:23:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:23:34 $ docker exec e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 ssh-agent 09:23:34 SSH_AUTH_SOCK=/tmp/ssh-rTwfy8jTYbD5/agent.71 09:23:34 SSH_AGENT_PID=77 09:23:34 Running ssh-add (command line suppressed) 09:23:34 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11000266927430797623.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11000266927430797623.key) 09:23:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:23:34 + git semver init 09:23:35 2023-08-09 09:23:34,940 [run_init] DEBUG init version:0.0.0 force:False 09:23:35 2023-08-09 09:23:34,940 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:23:35 2023-08-09 09:23:34,941 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:23:35 2023-08-09 09:23:34,941 [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) 09:23:35 2023-08-09 09:23:35,843 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 09:23:35 2023-08-09 09:23:35,843 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 09:23:35 2023-08-09 09:23:35,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:23:35 2023-08-09 09:23:35,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:23:35 3.1.0-dev.11 [Pipeline] } 09:23:35 $ docker exec --env ******** --env ******** e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 ssh-agent -k 09:23:36 unset SSH_AUTH_SOCK; 09:23:36 unset SSH_AGENT_PID; 09:23:36 echo Agent pid 77 killed; 09:23:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:23:36 + git semver [Pipeline] } 09:23:36 $ docker stop --time=1 e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 09:23:37 $ docker rm -f --volumes e43413c8942a0d25e83153311c4543389bcea4745cfcee386bbcda1e9c728362 [Pipeline] // withDockerContainer [Pipeline] sh 09:23:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:23:38 Stashed 1 file(s) [Pipeline] echo 09:23:38 [edgeXSemver]: initialized semver on version 3.1.0-dev.11 [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 09:23:38 provisioning config files... 09:23:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18348652225183524963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:39 ---> docker-login.sh 09:23:39 nexus3.edgexfoundry.org:10001 09:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:39 Configure a credential helper to remove this warning. See 09:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:39 09:23:39 Login Succeeded 09:23:39 nexus3.edgexfoundry.org:10002 09:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:39 Configure a credential helper to remove this warning. See 09:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:39 09:23:39 Login Succeeded 09:23:39 nexus3.edgexfoundry.org:10003 09:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:39 Configure a credential helper to remove this warning. See 09:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:39 09:23:39 Login Succeeded 09:23:39 nexus3.edgexfoundry.org:10004 09:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:39 Configure a credential helper to remove this warning. See 09:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:39 09:23:39 Login Succeeded 09:23:39 docker.io 09:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:39 Configure a credential helper to remove this warning. See 09:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:39 09:23:39 Login Succeeded 09:23:39 ---> docker-login.sh ends [Pipeline] } 09:23:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:23:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:23:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:23:39 ========================================================= 09:23:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:23:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:40 + 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 . 09:23:40 Sending build context to Docker daemon 11.03MB 09:23:40 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 09:23:40 Step 2/10 : FROM ${BASE} AS builder 09:23:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:23:40 4db1b89c0bd1: Pulling fs layer 09:23:40 6911f1a30b25: Pulling fs layer 09:23:40 e194b8c5c2a9: Pulling fs layer 09:23:40 6863d3e3a2b1: Pulling fs layer 09:23:40 ec0bb842ea78: Pulling fs layer 09:23:40 6863d3e3a2b1: Waiting 09:23:40 40a00589a448: Pulling fs layer 09:23:40 6c08303d61cc: Pulling fs layer 09:23:40 798269fcf238: Pulling fs layer 09:23:40 ec0bb842ea78: Waiting 09:23:40 6c08303d61cc: Waiting 09:23:40 40a00589a448: Waiting 09:23:40 798269fcf238: Waiting 09:23:40 6911f1a30b25: Verifying Checksum 09:23:40 6911f1a30b25: Download complete 09:23:40 6863d3e3a2b1: Download complete 09:23:40 ec0bb842ea78: Verifying Checksum 09:23:40 ec0bb842ea78: Download complete 09:23:40 4db1b89c0bd1: Verifying Checksum 09:23:40 4db1b89c0bd1: Download complete 09:23:40 40a00589a448: Verifying Checksum 09:23:40 40a00589a448: Download complete 09:23:40 4db1b89c0bd1: Pull complete 09:23:40 6911f1a30b25: Pull complete 09:23:40 798269fcf238: Verifying Checksum 09:23:40 798269fcf238: Download complete 09:23:40 e194b8c5c2a9: Verifying Checksum 09:23:40 e194b8c5c2a9: Download complete 09:23:41 6c08303d61cc: Verifying Checksum 09:23:41 6c08303d61cc: Download complete 09:23:44 e194b8c5c2a9: Pull complete 09:23:44 6863d3e3a2b1: Pull complete 09:23:44 ec0bb842ea78: Pull complete 09:23:44 40a00589a448: Pull complete 09:23:47 6c08303d61cc: Pull complete 09:23:48 798269fcf238: Pull complete 09:23:48 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 09:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:23:48 ---> ec979cd7f677 09:23:48 Step 3/10 : ARG MAKE=make build 09:23:52 ---> Running in f7f3d953dd1e 09:23:52 Removing intermediate container f7f3d953dd1e 09:23:52 ---> 3f3fb1bc53fa 09:23:52 Step 4/10 : WORKDIR /device-sdk-go 09:23:52 ---> Running in 2c3996a8313a 09:23:52 Removing intermediate container 2c3996a8313a 09:23:52 ---> f1ef927ecc17 09:23:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:23:52 ---> Running in 0c08a81846fe 09:23:52 Removing intermediate container 0c08a81846fe 09:23:52 ---> 546f67fb0545 09:23:52 Step 6/10 : RUN apk add --update --no-cache make git 09:23:52 ---> Running in 4ffcabba0945 09:23:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:23:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:23:53 OK: 265 MiB in 53 packages 09:23:53 Still waiting to schedule task 09:23:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:23:53 Removing intermediate container 4ffcabba0945 09:23:53 ---> 5bba3a4d2682 09:23:53 Step 7/10 : COPY go.mod vendor* ./ 09:23:53 ---> 30dfe7f2c2d8 09:23:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:53 ---> Running in 8b07d1d01263 09:24:25 Removing intermediate container 8b07d1d01263 09:24:25 ---> d1b76f6c6829 09:24:25 Step 9/10 : COPY . . 09:24:25 ---> 7ee7b0debad5 09:24:25 Step 10/10 : RUN ${MAKE} 09:24:25 ---> Running in 786b558d254c 09:24:26 noop 09:24:26 Removing intermediate container 786b558d254c 09:24:26 ---> 997a80224618 09:24:26 Successfully built 997a80224618 09:24:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:26 + docker inspect -f . ci-base-image-x86_64 09:24:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:26 prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container 09:24:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:24:27 $ docker top 36f733acc912f8eca8c55c1e43fb6235a77e453199110b7df889f1d5fd2a6ae0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:27 + go version 09:24:27 go version go1.20.6 linux/amd64 [Pipeline] } 09:24:27 $ docker stop --time=1 36f733acc912f8eca8c55c1e43fb6235a77e453199110b7df889f1d5fd2a6ae0 09:24:28 $ docker rm -f --volumes 36f733acc912f8eca8c55c1e43fb6235a77e453199110b7df889f1d5fd2a6ae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:24:29 + docker inspect -f . ci-base-image-x86_64 09:24:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:24:29 prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container 09:24:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:24:29 $ docker top 035b8771aa1e10d582e12536ccbc29f9586d42af845bebb279dffed87910212f -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 09:24:30 + make test 09:24:30 go test -race -coverprofile=coverage.out ./... 09:24:36 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:24:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.088s coverage: 27.6% of statements 09:24:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 80.2% of statements 09:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:24:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.114s coverage: 86.0% of statements 09:24:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:24:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 71.8% of statements 09:24:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:24:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:24:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:24:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.103s coverage: 14.3% of statements 09:24:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.065s coverage: 43.8% of statements 09:24:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 68.5% of statements 09:24:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.111s coverage: 89.2% of statements 09:24:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 09:25:18 GO111MODULE=on go vet ./... 09:25:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:25:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:25:20 ./bin/test-attribution-txt.sh 09:25:20 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 09:25:20 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 09:25:20 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 09:25:20 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 09:25:20 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 09:25:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:25:20 $ docker stop --time=1 035b8771aa1e10d582e12536ccbc29f9586d42af845bebb279dffed87910212f 09:25:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3193 in /w/workspace/edgexfoundry_device-sdk-go_main 09:25:24 $ docker rm -f --volumes 035b8771aa1e10d582e12536ccbc29f9586d42af845bebb279dffed87910212f [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 09:25:24 Running in /w/workspace/device-sdk-go/240 [Pipeline] { [Pipeline] checkout 09:25:24 The recommended git tool is: git 09:25:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:25:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:25:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:25:25 + ls -al . 09:25:25 total 304 09:25:25 drwxrwxr-x 11 jenkins jenkins 4096 Aug 9 09:24 . 09:25:25 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:23 .. 09:25:25 -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 09:23 .dockerignore 09:25:25 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 09:23 .git 09:25:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 09:23 .github 09:25:25 -rw-rw-r-- 1 jenkins jenkins 137 Aug 9 09:23 .gitignore 09:25:25 -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 09:23 .golangci.yml 09:25:25 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 09:23 .semver 09:25:25 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 9 09:23 CHANGELOG.md 09:25:25 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 09:23 GOVERNANCE.md 09:25:25 -rw-rw-r-- 1 jenkins jenkins 885 Aug 9 09:23 Jenkinsfile 09:25:25 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 9 09:23 LICENSE 09:25:25 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 9 09:23 Makefile 09:25:25 -rw-rw-r-- 1 jenkins jenkins 619 Aug 9 09:23 OWNERS.md 09:25:25 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 9 09:23 README.md 09:25:25 -rw-rw-r-- 1 jenkins jenkins 12 Aug 9 09:23 VERSION 09:25:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 09:23 bin 09:25:25 -rw-r--r-- 1 jenkins jenkins 120271 Aug 9 09:24 coverage.out 09:25:25 drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 09:23 example 09:25:25 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 9 09:23 go.mod 09:25:25 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 9 09:23 go.sum 09:25:25 drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 09:23 internal 09:25:25 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 09:23 openapi 09:25:25 drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 09:23 pkg 09:25:25 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:23 snap 09:25:25 -rw-rw-r-- 1 jenkins jenkins 222 Aug 9 09:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:26 + 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=2bcb30427b801ff9ed3b105e71011a55aed1d51b --label arch=amd64 --label version=3.1.0-dev.11 . 09:25:26 Sending build context to Docker daemon 11.15MB 09:25:26 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 09:25:26 Step 2/23 : FROM ${BASE} AS builder 09:25:26 ---> 997a80224618 09:25:26 Step 3/23 : ARG MAKE=make build 09:25:26 ---> Running in 2b0938b78454 09:25:26 Removing intermediate container 2b0938b78454 09:25:26 ---> f560432359ce 09:25:26 Step 4/23 : WORKDIR /device-sdk-go 09:25:26 ---> Running in a1dc660ddbd0 09:25:26 Removing intermediate container a1dc660ddbd0 09:25:26 ---> 48e95b2f7465 09:25:26 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:25:26 ---> Running in d41e39af1bce 09:25:26 Removing intermediate container d41e39af1bce 09:25:26 ---> b66a5a1b7b19 09:25:26 Step 6/23 : RUN apk add --update --no-cache make git 09:25:26 ---> Running in 2eb09e06740a 09:25:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:25:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:25:27 OK: 265 MiB in 53 packages 09:25:27 Removing intermediate container 2eb09e06740a 09:25:27 ---> c473b5425d67 09:25:27 Step 7/23 : COPY go.mod vendor* ./ 09:25:28 ---> cc7f38fb4858 09:25:28 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:25:28 ---> Running in 73a644825502 09:25:28 Removing intermediate container 73a644825502 09:25:28 ---> 9bb1aa4d4c05 09:25:28 Step 9/23 : COPY . . 09:25:29 ---> e3b4f0726c99 09:25:29 Step 10/23 : RUN ${MAKE} 09:25:29 ---> Running in 2b8ef0cea295 09:25:29 using credential edgex-jenkins-ssh 09:25:29 Cloning the remote Git repository 09:25:29 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.11" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:25:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:25:29 > git init /w/workspace/device-sdk-go/240 # timeout=10 09:25:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:25:29 > git --version # timeout=10 09:25:29 > git --version # 'git version 2.25.1' 09:25:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:25:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:25:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:25:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:25:32 Avoid second fetch 09:25:32 Checking out Revision 2bcb30427b801ff9ed3b105e71011a55aed1d51b (main) 09:25:32 Commit message: "Merge pull request #1492 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:25:32 > git config core.sparsecheckout # timeout=10 09:25:32 > git checkout -f 2bcb30427b801ff9ed3b105e71011a55aed1d51b # timeout=10 09:25:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:25:33 % Total % Received % Xferd Average Speed Time Time Time Current 09:25:33 Dload Upload Total Spent Left Speed 09:25:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 09:25:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:25:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:25:34 + sudo tee /etc/docker/daemon.new 09:25:34 { 09:25:34 "registry-mirrors": [ 09:25:34 "https://nexus3.edgexfoundry.org:10001" 09:25:34 ], 09:25:34 "bip": "10.250.0.254/24", 09:25:34 "hosts": [ 09:25:34 "tcp://0.0.0.0:5555", 09:25:34 "unix:///var/run/docker.sock" 09:25:34 ], 09:25:34 "mtu": 1458, 09:25:34 "selinux-enabled": true, 09:25:34 "seccomp-profile": "/etc/docker/seccomp.json" 09:25:34 } [Pipeline] sh 09:25:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:25:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:53 provisioning config files... 09:25:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/240@tmp/config1037333856486391589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:53 ---> docker-login.sh 09:25:53 nexus3.edgexfoundry.org:10001 09:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:54 Configure a credential helper to remove this warning. See 09:25:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:54 09:25:54 Login Succeeded 09:25:54 nexus3.edgexfoundry.org:10002 09:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:54 Configure a credential helper to remove this warning. See 09:25:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:54 09:25:54 Login Succeeded 09:25:54 nexus3.edgexfoundry.org:10003 09:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:55 Configure a credential helper to remove this warning. See 09:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:55 09:25:55 Login Succeeded 09:25:55 nexus3.edgexfoundry.org:10004 09:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:55 Configure a credential helper to remove this warning. See 09:25:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:55 09:25:55 Login Succeeded 09:25:55 docker.io 09:25:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:56 Configure a credential helper to remove this warning. See 09:25:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:56 09:25:56 Login Succeeded 09:25:56 ---> docker-login.sh ends 09:25:56 Removing intermediate container 2b8ef0cea295 09:25:56 ---> aff7667e9b4c 09:25:56 Step 11/23 : FROM alpine:3.17 09:25:56 3.17: Pulling from library/alpine 09:25:56 9398808236ff: Pulling fs layer 09:25:56 9398808236ff: Download complete 09:25:56 9398808236ff: Pull complete 09:25:56 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 09:25:56 Status: Downloaded newer image for alpine:3.17 09:25:56 ---> 1e0b8b5322fc 09:25:56 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:25:56 ---> Running in 4336c4a029e6 09:25:56 Removing intermediate container 4336c4a029e6 09:25:56 ---> 5ea5e63b0dec 09:25:56 Step 13/23 : RUN apk add --update --no-cache 09:25:56 ---> Running in 9a0fa29ffa95 09:25:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:25:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:25:56 OK: 7 MiB in 15 packages 09:25:56 Removing intermediate container 9a0fa29ffa95 09:25:56 ---> 463ea5f97e90 09:25:56 Step 14/23 : WORKDIR / 09:25:56 ---> Running in 911c1ceaf0db 09:25:56 Removing intermediate container 911c1ceaf0db 09:25:56 ---> 3c020ecddcb7 09:25:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:25:56 ---> 9c75cc3b03b8 09:25:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:25:56 ---> 450e5c0509b8 09:25:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:25:56 ---> bd53ddb84ed8 09:25:56 Step 18/23 : EXPOSE 59999 09:25:56 ---> Running in 7d871ec87e4f [Pipeline] } 09:25:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:25:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 09:25:56 Removing intermediate container 7d871ec87e4f 09:25:56 ---> 7e2a11c33b21 09:25:56 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:25:56 ---> Running in 57234440d5af 09:25:56 Removing intermediate container 57234440d5af 09:25:56 ---> d9b01aa92636 09:25:56 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:25:56 ---> Running in 960cb43d92ee 09:25:56 Removing intermediate container 960cb43d92ee 09:25:56 ---> f5e5484e2e22 09:25:56 Step 21/23 : LABEL arch=amd64 [Pipeline] echo 09:25:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:25:56 ========================================================= 09:25:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:25:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:56 ---> Running in 5c11e3828285 09:25:56 Removing intermediate container 5c11e3828285 09:25:56 ---> 3aa16d5425d3 09:25:56 Step 22/23 : LABEL git_sha=2bcb30427b801ff9ed3b105e71011a55aed1d51b 09:25:56 ---> Running in 4ce3827960ae 09:25:56 Removing intermediate container 4ce3827960ae 09:25:56 ---> 928c5cf3f29e 09:25:56 Step 23/23 : LABEL version=3.1.0-dev.11 09:25:56 ---> Running in d8f83e53ba65 09:25:56 + 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 . 09:25:56 Removing intermediate container d8f83e53ba65 09:25:56 ---> 06cdff33fa52 09:25:56 [Warning] One or more build-args [ARCH] were not consumed 09:25:56 Successfully built 06cdff33fa52 09:25:56 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) 09:25:56 Sending build context to Docker daemon 5.891MB 09:25:56 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 09:25:56 Step 2/10 : FROM ${BASE} AS builder Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:25:57 edb6bdbacee9: Pulling fs layer 09:25:57 5f9638ab2659: Pulling fs layer 09:25:57 8d51d6327a98: Pulling fs layer 09:25:57 8b374f2dd631: Pulling fs layer 09:25:57 ec14aa9079de: Pulling fs layer 09:25:57 2f466654f4bb: Pulling fs layer 09:25:57 554e91adad29: Pulling fs layer 09:25:57 ec14aa9079de: Waiting 09:25:57 2f466654f4bb: Waiting 09:25:57 554e91adad29: Waiting 09:25:57 8b374f2dd631: Waiting 09:25:57 5f9638ab2659: Verifying Checksum 09:25:57 5f9638ab2659: Download complete 09:25:57 8b374f2dd631: Download complete 09:25:57 ec14aa9079de: Verifying Checksum 09:25:57 ec14aa9079de: Download complete 09:25:57 edb6bdbacee9: Download complete 09:25:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:57 09:25:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:57 latest: Pulling from edgex-lftools-log-publisher 09:25:57 5eb5b503b376: Pulling fs layer 09:25:57 5c69ac0246d0: Pulling fs layer 09:25:57 ec43610c2a17: Pulling fs layer 09:25:57 3a2ae6a8a46f: Pulling fs layer 09:25:57 33b1e0a273af: Pulling fs layer 09:25:57 5d3b04190fa2: Pulling fs layer 09:25:57 2f39f015ded8: Pulling fs layer 09:25:57 5d3b04190fa2: Waiting 09:25:57 3a2ae6a8a46f: Waiting 09:25:57 2f39f015ded8: Waiting 09:25:57 5c69ac0246d0: Download complete 09:25:57 3a2ae6a8a46f: Verifying Checksum 09:25:57 3a2ae6a8a46f: Download complete 09:25:57 33b1e0a273af: Verifying Checksum 09:25:57 33b1e0a273af: Download complete 09:25:57 5d3b04190fa2: Verifying Checksum 09:25:57 5d3b04190fa2: Download complete 09:25:57 ec43610c2a17: Verifying Checksum 09:25:57 ec43610c2a17: Download complete 09:25:58 5eb5b503b376: Verifying Checksum 09:25:58 5eb5b503b376: Download complete 09:25:58 edb6bdbacee9: Pull complete 09:25:58 554e91adad29: Verifying Checksum 09:25:58 554e91adad29: Download complete 09:25:58 2f39f015ded8: Download complete 09:25:58 5f9638ab2659: Pull complete 09:25:59 5eb5b503b376: Pull complete 09:25:59 5c69ac0246d0: Pull complete 09:25:59 ec43610c2a17: Pull complete 09:25:59 3a2ae6a8a46f: Pull complete 09:25:59 8d51d6327a98: Verifying Checksum 09:25:59 8d51d6327a98: Download complete 09:25:59 2f466654f4bb: Verifying Checksum 09:25:59 2f466654f4bb: Download complete 09:26:00 33b1e0a273af: Pull complete 09:26:00 5d3b04190fa2: Pull complete 09:26:04 2f39f015ded8: Pull complete 09:26:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:26:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:26:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:04 prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container 09:26:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:26:09 $ docker top 92cd2b16a06870996e91f1a3e30711106eeaa27ab1f0a3ec7da9b8efb60b8481 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:09 ---> job-cost.sh 09:26:09 lf-activate-venv: SKIPPING 09:26:09 INFO: No Stack... 09:26:10 INFO: Retrieving Pricing Info for: v3-standard-8 09:26:10 INFO: Archiving Costs [Pipeline] sh 09:26:10 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 09:26:10 + cut -d, -f6 [Pipeline] lock 09:26:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] 09:26:10 Resource [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] did not exist. Created. 09:26:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:26:11 + echo total: 0.2199999988079071 [Pipeline] stash 09:26:11 Stashed 1 file(s) [Pipeline] } 09:26:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] [Pipeline] // lock [Pipeline] } 09:26:11 $ docker stop --time=1 92cd2b16a06870996e91f1a3e30711106eeaa27ab1f0a3ec7da9b8efb60b8481 09:26:12 8d51d6327a98: Pull complete 09:26:12 8b374f2dd631: Pull complete 09:26:12 ec14aa9079de: Pull complete 09:26:12 $ docker rm -f --volumes 92cd2b16a06870996e91f1a3e30711106eeaa27ab1f0a3ec7da9b8efb60b8481 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:26:18 2f466654f4bb: Pull complete 09:26:21 554e91adad29: Pull complete 09:26:21 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 09:26:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:26:21 ---> 1e15ea492957 09:26:21 Step 3/10 : ARG MAKE=make build 09:26:22 ---> Running in 59b2bcbc8a54 09:26:23 Removing intermediate container 59b2bcbc8a54 09:26:23 ---> 4be4d5dc5671 09:26:23 Step 4/10 : WORKDIR /device-sdk-go 09:26:23 ---> Running in 4f57205f5def 09:26:23 Removing intermediate container 4f57205f5def 09:26:23 ---> 997f9b4b9f18 09:26:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:26:23 ---> Running in e0a2c31285ba 09:26:23 Removing intermediate container e0a2c31285ba 09:26:23 ---> 47568fbd1e72 09:26:23 Step 6/10 : RUN apk add --update --no-cache make git 09:26:23 ---> Running in f14fdccc745d 09:26:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:26:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:26:26 OK: 263 MiB in 53 packages 09:26:27 Removing intermediate container f14fdccc745d 09:26:27 ---> 18ccde93caeb 09:26:27 Step 7/10 : COPY go.mod vendor* ./ 09:26:27 ---> 64c8c72c3e8b 09:26:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:26:27 ---> Running in 8840911be7b2 09:27:35 Removing intermediate container 8840911be7b2 09:27:35 ---> 0c47aee0a728 09:27:35 Step 9/10 : COPY . . 09:27:35 ---> 4b8bd5846da2 09:27:35 Step 10/10 : RUN ${MAKE} 09:27:35 ---> Running in 33c0034fd257 09:27:35 noop 09:27:35 Removing intermediate container 33c0034fd257 09:27:35 ---> d886785f4966 09:27:35 Successfully built d886785f4966 09:27:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:36 + docker inspect -f . ci-base-image-arm64 09:27:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:36 prd-ubuntu20.04-docker-arm64-4c-16g-3193 does not seem to be running inside a container 09:27:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/240 -v /w/workspace/device-sdk-go/240:/w/workspace/device-sdk-go/240:rw,z -v /w/workspace/device-sdk-go/240@tmp:/w/workspace/device-sdk-go/240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:27:37 $ docker top 19a844e43c7d7c7e6940f9a268da69b2f0c1052e92c6a5bf02a65b73992f432c -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:38 + go version 09:27:38 go version go1.20.6 linux/arm64 [Pipeline] } 09:27:38 $ docker stop --time=1 19a844e43c7d7c7e6940f9a268da69b2f0c1052e92c6a5bf02a65b73992f432c 09:27:39 $ docker rm -f --volumes 19a844e43c7d7c7e6940f9a268da69b2f0c1052e92c6a5bf02a65b73992f432c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:40 + docker inspect -f . ci-base-image-arm64 09:27:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:40 prd-ubuntu20.04-docker-arm64-4c-16g-3193 does not seem to be running inside a container 09:27:40 $ 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/240 -v /w/workspace/device-sdk-go/240:/w/workspace/device-sdk-go/240:rw,z -v /w/workspace/device-sdk-go/240@tmp:/w/workspace/device-sdk-go/240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:27:41 $ docker top 813c80310235671f8983fdd1d2bef4956db4e87d48554c5aa5b670aebe81278b -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:42 + git config --global --add safe.directory /w/workspace/device-sdk-go/240 [Pipeline] fileExists [Pipeline] sh 09:27:42 + make test 09:27:42 go test -race -coverprofile=coverage.out ./... 09:28:21 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:30:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:30:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:30:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:30:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:30:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:30:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.216s coverage: 27.6% of statements 09:30:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.257s coverage: 80.2% of statements 09:30:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:30:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:30:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.334s coverage: 86.0% of statements 09:30:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:30:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.409s coverage: 71.8% of statements 09:30:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.266s coverage: 14.3% of statements 09:31:01 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:31:01 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:31:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.745s coverage: 43.8% of statements 09:31:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.419s coverage: 68.5% of statements 09:31:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.423s coverage: 89.2% of statements 09:31:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:31:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.237s coverage: 5.5% of statements 09:31:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:31:07 GO111MODULE=on go vet ./... 09:33:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:33:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:33:29 ./bin/test-attribution-txt.sh 09:33:29 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 09:33:29 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 09:33:29 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 09:33:29 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 09:33:29 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 09:33:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:33:29 $ docker stop --time=1 813c80310235671f8983fdd1d2bef4956db4e87d48554c5aa5b670aebe81278b 09:33:31 $ docker rm -f --volumes 813c80310235671f8983fdd1d2bef4956db4e87d48554c5aa5b670aebe81278b [Pipeline] // withDockerContainer [Pipeline] sh 09:33:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:33:32 Warning: overwriting stash ‘coverage-report’ 09:33:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:33:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:33:33 + ls -al . 09:33:33 total 300 09:33:33 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 09:27 . 09:33:33 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:25 .. 09:33:33 -rw-rw-r-- 1 jenkins jenkins 140 Aug 9 09:25 .dockerignore 09:33:33 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 09:25 .git 09:33:33 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 09:25 .github 09:33:33 -rw-rw-r-- 1 jenkins jenkins 137 Aug 9 09:25 .gitignore 09:33:33 -rw-rw-r-- 1 jenkins jenkins 42 Aug 9 09:25 .golangci.yml 09:33:33 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 9 09:25 CHANGELOG.md 09:33:33 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 09:25 GOVERNANCE.md 09:33:33 -rw-rw-r-- 1 jenkins jenkins 885 Aug 9 09:25 Jenkinsfile 09:33:33 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 9 09:25 LICENSE 09:33:33 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 9 09:25 Makefile 09:33:33 -rw-rw-r-- 1 jenkins jenkins 619 Aug 9 09:25 OWNERS.md 09:33:33 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 9 09:25 README.md 09:33:33 -rw-rw-r-- 1 jenkins jenkins 12 Aug 9 09:23 VERSION 09:33:33 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 09:25 bin 09:33:33 -rw-r--r-- 1 jenkins jenkins 120272 Aug 9 09:31 coverage.out 09:33:33 drwxrwxr-x 5 jenkins jenkins 4096 Aug 9 09:25 example 09:33:33 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 9 09:25 go.mod 09:33:33 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 9 09:25 go.sum 09:33:33 drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 09:25 internal 09:33:33 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 09:25 openapi 09:33:33 drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 09:25 pkg 09:33:33 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 09:25 snap 09:33:33 -rw-rw-r-- 1 jenkins jenkins 222 Aug 9 09:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:34 + 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=2bcb30427b801ff9ed3b105e71011a55aed1d51b --label arch=arm64 --label version=3.1.0-dev.11 . 09:33:34 Sending build context to Docker daemon 6.011MB 09:33:34 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 09:33:34 Step 2/23 : FROM ${BASE} AS builder 09:33:34 ---> d886785f4966 09:33:34 Step 3/23 : ARG MAKE=make build 09:33:34 ---> Running in 78c6dcb54889 09:33:35 Removing intermediate container 78c6dcb54889 09:33:35 ---> 874c37fd8693 09:33:35 Step 4/23 : WORKDIR /device-sdk-go 09:33:35 ---> Running in f4cc475d96ef 09:33:35 Removing intermediate container f4cc475d96ef 09:33:35 ---> e9a94185d238 09:33:35 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:33:35 ---> Running in 8b39e1cfb86c 09:33:35 Removing intermediate container 8b39e1cfb86c 09:33:35 ---> 5d6b12a07b96 09:33:35 Step 6/23 : RUN apk add --update --no-cache make git 09:33:35 ---> Running in 3caaabb44121 09:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:33:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:33:38 OK: 263 MiB in 53 packages 09:33:39 Removing intermediate container 3caaabb44121 09:33:39 ---> 0401f0bc5a41 09:33:39 Step 7/23 : COPY go.mod vendor* ./ 09:33:41 ---> f6c0a60c896d 09:33:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:33:41 ---> Running in 5b39a89ef9c6 09:33:43 Removing intermediate container 5b39a89ef9c6 09:33:43 ---> bd7e236fc476 09:33:43 Step 9/23 : COPY . . 09:33:44 ---> 369ab9245336 09:33:44 Step 10/23 : RUN ${MAKE} 09:33:44 ---> Running in 7c9c4ef7e8e8 09:33:45 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.11" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:35:51 Removing intermediate container 7c9c4ef7e8e8 09:35:51 ---> a9d5aafde662 09:35:51 Step 11/23 : FROM alpine:3.17 09:35:52 3.17: Pulling from library/alpine 09:35:52 4060ece20d7a: Pulling fs layer 09:35:52 4060ece20d7a: Verifying Checksum 09:35:52 4060ece20d7a: Download complete 09:35:53 4060ece20d7a: Pull complete 09:35:53 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 09:35:53 Status: Downloaded newer image for alpine:3.17 09:35:53 ---> 8650cd65339b 09:35:53 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:35:53 ---> Running in 0bf6328b93f1 09:35:53 Removing intermediate container 0bf6328b93f1 09:35:53 ---> 62c4556093a2 09:35:53 Step 13/23 : RUN apk add --update --no-cache 09:35:53 ---> Running in da6e90b7c9b4 09:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:35:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:35:56 OK: 7 MiB in 15 packages 09:35:59 Removing intermediate container da6e90b7c9b4 09:35:59 ---> d49bcebea47e 09:35:59 Step 14/23 : WORKDIR / 09:35:59 ---> Running in 5c2412ace238 09:35:59 Removing intermediate container 5c2412ace238 09:35:59 ---> d0bc59528cd0 09:35:59 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:35:59 ---> c9b84af31f9b 09:35:59 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:36:01 ---> 17892855f283 09:36:01 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:36:02 ---> 851038c54fd9 09:36:02 Step 18/23 : EXPOSE 59999 09:36:02 ---> Running in a9b0695af4c9 09:36:02 Removing intermediate container a9b0695af4c9 09:36:02 ---> 2f039b6199bd 09:36:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:36:02 ---> Running in 9b556f1c342d 09:36:02 Removing intermediate container 9b556f1c342d 09:36:02 ---> b4fca62b232c 09:36:02 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:36:02 ---> Running in c1079c7d7187 09:36:02 Removing intermediate container c1079c7d7187 09:36:02 ---> b9ff1f670657 09:36:02 Step 21/23 : LABEL arch=arm64 09:36:03 ---> Running in 991ac37728f0 09:36:03 Removing intermediate container 991ac37728f0 09:36:03 ---> 8eb8bf03fab4 09:36:03 Step 22/23 : LABEL git_sha=2bcb30427b801ff9ed3b105e71011a55aed1d51b 09:36:03 ---> Running in ea63f64eb194 09:36:03 Removing intermediate container ea63f64eb194 09:36:03 ---> 9e319f3814d1 09:36:03 Step 23/23 : LABEL version=3.1.0-dev.11 09:36:03 ---> Running in 94d63cb82df8 09:36:03 Removing intermediate container 94d63cb82df8 09:36:03 ---> 08d9c2ec436d 09:36:03 [Warning] One or more build-args [ARCH] were not consumed 09:36:03 Successfully built 08d9c2ec436d 09:36:03 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 09:36:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:36:04 09:36:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:36:04 arm64: Pulling from edgex-lftools-log-publisher 09:36:04 8998bd30e6a1: Pulling fs layer 09:36:04 04944245beec: Pulling fs layer 09:36:04 699f458cf7ca: Pulling fs layer 09:36:04 765212b225bb: Pulling fs layer 09:36:04 f23df028b6ca: Pulling fs layer 09:36:04 d65c8cfc05b1: Pulling fs layer 09:36:04 2437ff75d9bd: Pulling fs layer 09:36:04 f23df028b6ca: Waiting 09:36:04 d65c8cfc05b1: Waiting 09:36:04 2437ff75d9bd: Waiting 09:36:04 765212b225bb: Waiting 09:36:04 04944245beec: Verifying Checksum 09:36:04 04944245beec: Download complete 09:36:04 765212b225bb: Verifying Checksum 09:36:04 765212b225bb: Download complete 09:36:04 f23df028b6ca: Download complete 09:36:04 d65c8cfc05b1: Verifying Checksum 09:36:04 d65c8cfc05b1: Download complete 09:36:04 699f458cf7ca: Verifying Checksum 09:36:04 699f458cf7ca: Download complete 09:36:05 8998bd30e6a1: Download complete 09:36:07 2437ff75d9bd: Verifying Checksum 09:36:07 2437ff75d9bd: Download complete 09:36:09 8998bd30e6a1: Pull complete 09:36:12 04944245beec: Pull complete 09:36:12 699f458cf7ca: Pull complete 09:36:13 765212b225bb: Pull complete 09:36:14 f23df028b6ca: Pull complete 09:36:14 d65c8cfc05b1: Pull complete 09:36:29 2437ff75d9bd: Pull complete 09:36:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:36:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:36:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:36:29 prd-ubuntu20.04-docker-arm64-4c-16g-3193 does not seem to be running inside a container 09:36:29 $ 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/240 -v /w/workspace/device-sdk-go/240:/w/workspace/device-sdk-go/240:rw,z -v /w/workspace/device-sdk-go/240@tmp:/w/workspace/device-sdk-go/240@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:36:31 $ docker top 383cf93da905a55be8b29da9423863447ef8aaca05ce09c506636f3cf3af8c8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:32 ---> job-cost.sh 09:36:32 lf-activate-venv: SKIPPING 09:36:32 INFO: No Stack... 09:36:33 INFO: Retrieving Pricing Info for: v3-standard-4 09:36:33 INFO: Archiving Costs [Pipeline] sh 09:36:34 + cut -d, -f6 09:36:34 + cat /w/workspace/device-sdk-go/240/archives/cost.csv [Pipeline] lock 09:36:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] 09:36:34 Resource [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] did not exist. Created. 09:36:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:36:34 /w/workspace/device-sdk-go/240@tmp/durable-2ce37421/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:36:34 + echo total: 0.10999999940395355 [Pipeline] stash 09:36:34 Warning: overwriting stash ‘stack-cost’ 09:36:34 Stashed 1 file(s) [Pipeline] } 09:36:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-240-stack-cost] [Pipeline] // lock [Pipeline] } 09:36:34 $ docker stop --time=1 383cf93da905a55be8b29da9423863447ef8aaca05ce09c506636f3cf3af8c8b 09:36:36 $ docker rm -f --volumes 383cf93da905a55be8b29da9423863447ef8aaca05ce09c506636f3cf3af8c8b [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 09:36:37 provisioning config files... 09:36:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13059916086841445026tmp [Pipeline] { [Pipeline] sh 09:36:38 + set +x 09:36:38 + bash -s -- 09:36:38 + curl -s https://codecov.io/bash 09:36:38 09:36:38 _____ _ 09:36:38 / ____| | | 09:36:38 | | ___ __| | ___ ___ _____ __ 09:36:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:36:38 | |___| (_) | (_| | __/ (_| (_) \ V / 09:36:38 \_____\___/ \__,_|\___|\___\___/ \_/ 09:36:38 Bash-1.0.6 09:36:38 09:36:38 09:36:38 ==> git version 2.25.1 found 09:36:38 ==> 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 09:36:38 Release-Date: 2020-01-08 09:36:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:36:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:36:38 ==> Jenkins CI detected. 09:36:38 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 09:36:38 project root: . 09:36:38 --> token set from env 09:36:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:36:38 ==> Running gcov in . (disable via -X gcov) 09:36:38 ==> Python coveragepy not found 09:36:38 ==> Searching for coverage reports in: 09:36:38 + . 09:36:38 -> Found 1 reports 09:36:38 ==> Detecting git/mercurial file structure 09:36:38 ==> Reading reports 09:36:38 + ./coverage.out bytes=120272 09:36:38 ==> Appending adjustments 09:36:38 https://docs.codecov.io/docs/fixing-reports 09:36:38 + Found adjustments 09:36:38 ==> Gzipping contents 09:36:38 20K /tmp/codecov.85rhUI.gz 09:36:38 ==> Uploading reports 09:36:38 url: https://codecov.io 09:36:38 query: branch=main&commit=2bcb30427b801ff9ed3b105e71011a55aed1d51b&build=240&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F240%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:36:38 -> Pinging Codecov 09:36:38 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=2bcb30427b801ff9ed3b105e71011a55aed1d51b&build=240&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F240%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:36:38 -> Uploading to 09:36:38 https://storage.googleapis.com/codecov/v4/raw/2023-08-09/7E55EF52A471D76F132DFD9A03CDDE97/2bcb30427b801ff9ed3b105e71011a55aed1d51b/cd8bd2f0-cfce-4a29-aa16-3dc8b9d4a474.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T093638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8060423e9b667a4a184f4fa09a561520ee789b0f50b0e69c4d4aac95d1db0309 09:36:38 % Total % Received % Xferd Average Speed Time Time Time Current 09:36:38 Dload Upload Total Spent Left Speed 09:36:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16436 0 0 100 16436 0 86505 --:--:-- --:--:-- --:--:-- 86505 09:36:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] } 09:36:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:36:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:36:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:36:39 09:36:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:36:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:36:39 df9b9388f04a: Pulling fs layer 09:36:39 52dc419b0ee2: Pulling fs layer 09:36:39 25bc292e5bac: Pulling fs layer 09:36:39 114826534d7a: Pulling fs layer 09:36:39 4657fd5d0bcf: Pulling fs layer 09:36:39 6ad1cebc031e: Pulling fs layer 09:36:39 8a3aa393b2d8: Pulling fs layer 09:36:39 4657fd5d0bcf: Waiting 09:36:39 6ad1cebc031e: Waiting 09:36:39 8a3aa393b2d8: Waiting 09:36:39 114826534d7a: Waiting 09:36:39 25bc292e5bac: Download complete 09:36:39 52dc419b0ee2: Download complete 09:36:39 4657fd5d0bcf: Verifying Checksum 09:36:39 4657fd5d0bcf: Download complete 09:36:39 df9b9388f04a: Download complete 09:36:40 df9b9388f04a: Pull complete 09:36:40 6ad1cebc031e: Verifying Checksum 09:36:40 6ad1cebc031e: Download complete 09:36:40 52dc419b0ee2: Pull complete 09:36:40 25bc292e5bac: Pull complete 09:36:40 114826534d7a: Download complete 09:36:41 8a3aa393b2d8: Verifying Checksum 09:36:41 8a3aa393b2d8: Download complete 09:36:45 114826534d7a: Pull complete 09:36:45 4657fd5d0bcf: Pull complete 09:36:45 6ad1cebc031e: Pull complete 09:36:47 8a3aa393b2d8: Pull complete 09:36:47 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:36:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:36:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:36:47 prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container 09:36:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:36:52 $ docker top 13a2b951cbe55858b20ee3ee7e156bd1c170ff6bed287a7e760a9bcce1215170 -eo pid,comm [Pipeline] { [Pipeline] echo 09:36:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 09:36:52 + set -o pipefail 09:36:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 09:36:57 09:36:57 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 09:36:57 09:36:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/61eda03e-c557-4f57-b996-3128f41fdda6 09:36:57 09:36:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:36:57 09:36:57 09:36:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:36:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:36:57 More details here: https://snyk.co/ue1NS 09:36:57 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 09:36:57 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:36:57 $ docker stop --time=1 13a2b951cbe55858b20ee3ee7e156bd1c170ff6bed287a7e760a9bcce1215170 09:37:01 $ docker rm -f --volumes 13a2b951cbe55858b20ee3ee7e156bd1c170ff6bed287a7e760a9bcce1215170 [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 09:37:02 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:37:02 provisioning config files... 09:37:02 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17941320471261048588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:37:02 --> edgex-publish-swagger.sh 09:37:02 === Publish openapi/v3 API === 09:37:02 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 09:37:02 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 09:37:02 % Total % Received % Xferd Average Speed Time Time Time Current 09:37:02 Dload Upload Total Spent Left Speed 09:37:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 55572 --:--:-- --:--:-- --:--:-- 55703 09:37:02 09:37:02 [Pipeline] } 09:37:02 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 09:37:03 + git log --format=format:%s -1 2bcb30427b801ff9ed3b105e71011a55aed1d51b [Pipeline] sh 09:37:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:37:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:37:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:03 prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container 09:37:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:37:04 $ docker top 2cbf8830032b8adf3f9f8998b3c107b75a5df19f1e231e37b49097f573416c39 -eo pid,comm 09:37:04 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). 09:37:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:37:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:37:04 [ssh-agent] Looking for ssh-agent implementation... 09:37:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:37:04 $ docker exec 2cbf8830032b8adf3f9f8998b3c107b75a5df19f1e231e37b49097f573416c39 ssh-agent 09:37:04 SSH_AUTH_SOCK=/tmp/ssh-DFoL166uxYQA/agent.32 09:37:04 SSH_AGENT_PID=38 09:37:04 Running ssh-add (command line suppressed) 09:37:04 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16270545823376529421.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16270545823376529421.key) 09:37:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:37:04 + git semver tag 09:37:05 2023-08-09 09:37:05,177 [run_tag] DEBUG tag force:False 09:37:05 2023-08-09 09:37:05,177 [check_head_tag] DEBUG check head tag 09:37:05 2023-08-09 09:37:05,178 [execute] INFO git cat-file --batch-check 09:37:05 2023-08-09 09:37:05,178 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 09:37:05 2023-08-09 09:37:05,182 [execute] INFO git cat-file --batch 09:37:05 2023-08-09 09:37:05,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 09:37:05 2023-08-09 09:37:05,195 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:37:05 2023-08-09 09:37:05,195 [execute] INFO git tag -a v3.1.0-dev.11 -m v3.1.0-dev.11 09:37:05 2023-08-09 09:37:05,196 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.11', '-m', 'v3.1.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 09:37:05 2023-08-09 09:37:05,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:37:05 3.1.0-dev.11 [Pipeline] } 09:37:05 $ docker exec --env ******** --env ******** 2cbf8830032b8adf3f9f8998b3c107b75a5df19f1e231e37b49097f573416c39 ssh-agent -k 09:37:05 unset SSH_AUTH_SOCK; 09:37:05 unset SSH_AGENT_PID; 09:37:05 echo Agent pid 38 killed; 09:37:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:37:05 + git semver [Pipeline] } 09:37:05 $ docker stop --time=1 2cbf8830032b8adf3f9f8998b3c107b75a5df19f1e231e37b49097f573416c39 09:37:07 $ docker rm -f --volumes 2cbf8830032b8adf3f9f8998b3c107b75a5df19f1e231e37b49097f573416c39 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:37:07 09:37:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:37:07 0.23.1-centos7: Pulling from edgex-lftools 09:37:07 ab5ef0e58194: Pulling fs layer 09:37:07 9712f1f96733: Pulling fs layer 09:37:07 63f879dbbcfc: Pulling fs layer 09:37:07 0d9ebad4ef96: Pulling fs layer 09:37:07 e9a5061849ea: Pulling fs layer 09:37:07 d747dcd14b5f: Pulling fs layer 09:37:07 2de7ff778b66: Pulling fs layer 09:37:07 e9a5061849ea: Waiting 09:37:07 2de7ff778b66: Waiting 09:37:07 d747dcd14b5f: Waiting 09:37:07 0d9ebad4ef96: Waiting 09:37:07 9712f1f96733: Verifying Checksum 09:37:07 9712f1f96733: Download complete 09:37:08 63f879dbbcfc: Verifying Checksum 09:37:08 63f879dbbcfc: Download complete 09:37:08 e9a5061849ea: Verifying Checksum 09:37:08 e9a5061849ea: Download complete 09:37:08 d747dcd14b5f: Download complete 09:37:08 0d9ebad4ef96: Verifying Checksum 09:37:08 0d9ebad4ef96: Download complete 09:37:08 ab5ef0e58194: Download complete 09:37:08 2de7ff778b66: Verifying Checksum 09:37:08 2de7ff778b66: Download complete 09:37:10 ab5ef0e58194: Pull complete 09:37:11 9712f1f96733: Pull complete 09:37:11 63f879dbbcfc: Pull complete 09:37:15 0d9ebad4ef96: Pull complete 09:37:15 e9a5061849ea: Pull complete 09:37:16 d747dcd14b5f: Pull complete 09:37:17 2de7ff778b66: Pull complete 09:37:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:37:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:37:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:17 prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container 09:37:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:37:22 $ docker top b68e009e2bdf83492986dd69455140b711ce0ec6fd33b8ba0ab9f0f1378d0d02 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:37:22 provisioning config files... 09:37:22 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6650158449949566971tmp 09:37:22 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12081051227872517867tmp 09:37:22 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6930303732426515682tmp [Pipeline] { [Pipeline] echo 09:37:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:37:23 ---> sigul-configuration.sh 09:37:23 gpg: directory `/root/.gnupg' created 09:37:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:37:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:37:23 gpg: keyring `/root/.gnupg/secring.gpg' created 09:37:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:37:23 gpg: CAST5 encrypted data 09:37:23 gpg: encrypted with 1 passphrase 09:37:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:37:23 + mkdir /home/jenkins 09:37:23 + mkdir /home/jenkins/sigul [Pipeline] sh 09:37:23 + 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 09:37:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:37:24 ---> sigul-install.sh 09:37:24 Sigul already installed; skipping installation. [Pipeline] sh 09:37:24 + git tag --list 09:37:24 0.7.1 09:37:24 delhi-tag 09:37:24 v1.0.0 09:37:24 v1.1.0 09:37:24 v1.1.1 09:37:24 v1.1.2 09:37:24 v1.2.0 09:37:24 v1.2.1 09:37:24 v1.2.2 09:37:24 v1.2.3 09:37:24 v1.3.0 09:37:24 v1.4.0 09:37:24 v2.0.0 09:37:24 v2.1.0 09:37:24 v2.1.1 09:37:24 v2.2.0 09:37:24 v2.3.0 09:37:24 v2.3.1 09:37:24 v3.0 09:37:24 v3.0.0 09:37:24 v3.0.1-dev.1 09:37:24 v3.1.0-dev.1 09:37:24 v3.1.0-dev.10 09:37:24 v3.1.0-dev.11 09:37:24 v3.1.0-dev.2 09:37:24 v3.1.0-dev.3 09:37:24 v3.1.0-dev.4 09:37:24 v3.1.0-dev.5 09:37:24 v3.1.0-dev.6 09:37:24 v3.1.0-dev.7 09:37:24 v3.1.0-dev.8 09:37:24 v3.1.0-dev.9 [Pipeline] sh 09:37:24 + lftools sign git-tag v3.1.0-dev.11 09:37:25 Signing Git tag with Sigul... 09:37:25 Signing v3.1.0-dev.11 [Pipeline] echo 09:37:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:37:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:37:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:37:25 $ docker stop --time=1 b68e009e2bdf83492986dd69455140b711ce0ec6fd33b8ba0ab9f0f1378d0d02 09:37:27 $ docker rm -f --volumes b68e009e2bdf83492986dd69455140b711ce0ec6fd33b8ba0ab9f0f1378d0d02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:37:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:37:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:37:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:27 prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container 09:37:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:37:28 $ docker top b9d67fb60c48b56dfbdcae41c5db3ca968b1b27652c2d6467a300e5c49200c88 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:37:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:37:28 [ssh-agent] Looking for ssh-agent implementation... 09:37:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:37:28 $ docker exec b9d67fb60c48b56dfbdcae41c5db3ca968b1b27652c2d6467a300e5c49200c88 ssh-agent 09:37:28 SSH_AUTH_SOCK=/tmp/ssh-Wa0z6booWfB3/agent.32 09:37:28 SSH_AGENT_PID=38 09:37:28 Running ssh-add (command line suppressed) 09:37:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17753669270757882535.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17753669270757882535.key) 09:37:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:37:29 + git semver bump pre 09:37:29 2023-08-09 09:37:29,239 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:37:29 2023-08-09 09:37:29,239 [bump_version] DEBUG bumping version:3.1.0-dev.11 on axis:pre with prefix:dev 09:37:29 2023-08-09 09:37:29,239 [bump_version] DEBUG bumped version:3.1.0-dev.12 09:37:29 2023-08-09 09:37:29,239 [write_version] DEBUG write version:3.1.0-dev.12 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 09:37:29 2023-08-09 09:37:29,239 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:37:29 2023-08-09 09:37:29,239 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:37:29 2023-08-09 09:37:29,242 [execute] INFO git cat-file --batch-check 09:37:29 2023-08-09 09:37:29,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:37:29 2023-08-09 09:37:29,248 [execute] INFO git cat-file --batch 09:37:29 2023-08-09 09:37:29,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:37:29 2023-08-09 09:37:29,255 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:37:29 3.1.0-dev.12 [Pipeline] } 09:37:29 $ docker exec --env ******** --env ******** b9d67fb60c48b56dfbdcae41c5db3ca968b1b27652c2d6467a300e5c49200c88 ssh-agent -k 09:37:29 unset SSH_AUTH_SOCK; 09:37:29 unset SSH_AGENT_PID; 09:37:29 echo Agent pid 38 killed; 09:37:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:37:29 + git semver [Pipeline] } 09:37:30 $ docker stop --time=1 b9d67fb60c48b56dfbdcae41c5db3ca968b1b27652c2d6467a300e5c49200c88 09:37:31 $ docker rm -f --volumes b9d67fb60c48b56dfbdcae41c5db3ca968b1b27652c2d6467a300e5c49200c88 [Pipeline] // withDockerContainer [Pipeline] sh 09:37:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:37:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:37:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:32 prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container 09:37:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:37:32 $ docker top add4dac722edd67a3c8a2f34589789a019fb139f8a4363304dcc123a9aef536d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:37:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:37:32 [ssh-agent] Looking for ssh-agent implementation... 09:37:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:37:32 $ docker exec add4dac722edd67a3c8a2f34589789a019fb139f8a4363304dcc123a9aef536d ssh-agent 09:37:32 SSH_AUTH_SOCK=/tmp/ssh-K2w1XrKYQIcL/agent.33 09:37:32 SSH_AGENT_PID=39 09:37:32 Running ssh-add (command line suppressed) 09:37:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8455191626702449641.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8455191626702449641.key) 09:37:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:37:33 + git semver push 09:37:33 2023-08-09 09:37:33,272 [run_push] DEBUG push 09:37:33 2023-08-09 09:37:33,272 [execute] INFO git cat-file --batch-check 09:37:33 2023-08-09 09:37:33,273 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:37:33 2023-08-09 09:37:33,276 [execute] INFO git rev-list f516461f3ce63d76aa845e68b02f8fbef90bf520 -- 09:37:33 2023-08-09 09:37:33,277 [execute] DEBUG Popen(['git', 'rev-list', 'f516461f3ce63d76aa845e68b02f8fbef90bf520', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:37:33 2023-08-09 09:37:33,288 [execute] INFO git fetch -v origin 09:37:33 2023-08-09 09:37:33,289 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:37:33 2023-08-09 09:37:33,765 [run_push] DEBUG no remote changes detected 09:37:33 2023-08-09 09:37:33,766 [execute] INFO git push origin semver 09:37:33 2023-08-09 09:37:33,766 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:37:34 2023-08-09 09:37:34,773 [run_push] DEBUG push all version tags 09:37:34 2023-08-09 09:37:34,774 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:37:34 2023-08-09 09:37:34,775 [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) 09:37:35 2023-08-09 09:37:35,530 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:37:35 3.1.0-dev.12 [Pipeline] } 09:37:35 $ docker exec --env ******** --env ******** add4dac722edd67a3c8a2f34589789a019fb139f8a4363304dcc123a9aef536d ssh-agent -k 09:37:35 unset SSH_AUTH_SOCK; 09:37:35 unset SSH_AGENT_PID; 09:37:35 echo Agent pid 39 killed; 09:37:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:37:36 + git semver [Pipeline] } 09:37:36 $ docker stop --time=1 add4dac722edd67a3c8a2f34589789a019fb139f8a4363304dcc123a9aef536d 09:37:37 $ docker rm -f --volumes add4dac722edd67a3c8a2f34589789a019fb139f8a4363304dcc123a9aef536d [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 09:37:38 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 09:37:38 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:37:38 total 16 09:37:38 drwxr-xr-x 3 root root 4096 Aug 9 09:26 . 09:37:38 drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 09:37 .. 09:37:38 drwxr-xr-x 2 root root 4096 Aug 9 09:26 cost 09:37:38 -rw-r--r-- 1 root root 85 Aug 9 09:26 cost.csv 09:37:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:37:38 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:37:38 total 16 09:37:38 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 09:26 . 09:37:38 drwxrwxr-x 12 jenkins jenkins 4096 Aug 9 09:37 .. 09:37:38 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 09:26 cost 09:37:38 -rw-r--r-- 1 jenkins jenkins 85 Aug 9 09:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:37:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:37:39 ---> package-listing.sh 09:37:39 ++ facter osfamily 09:37:39 ++ tr '[:upper:]' '[:lower:]' 09:37:39 + OS_FAMILY=debian 09:37:39 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 09:37:39 + START_PACKAGES=/tmp/packages_start.txt 09:37:39 + END_PACKAGES=/tmp/packages_end.txt 09:37:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:37:39 + PACKAGES=/tmp/packages_start.txt 09:37:39 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 09:37:39 + PACKAGES=/tmp/packages_end.txt 09:37:39 + case "${OS_FAMILY}" in 09:37:39 + dpkg -l 09:37:39 + grep '^ii' 09:37:39 + '[' -f /tmp/packages_start.txt ']' 09:37:39 + '[' -f /tmp/packages_end.txt ']' 09:37:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:37:39 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 09:37:39 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 09:37:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 09:37:39 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 09:37:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:37:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:37:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:37:40 prd-ubuntu20.04-docker-8c-8g-3192 does not seem to be running inside a container 09:37:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:37:40 $ docker top 70b945f707e781a448bc542a2bdf89301fa8c89962e828c01b151eb2d44c0da2 -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:41 + touch /tmp/pre-build-complete [Pipeline] sh 09:37:41 + mkdir -p /var/log/sysstat [Pipeline] sh 09:37:41 + ls /var/log/sa-host 09:37:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:37:42 provisioning config files... 09:37:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5746767554882022262tmp [Pipeline] { [Pipeline] echo 09:37:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:37:42 ---> create-netrc.sh [Pipeline] } 09:37:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:37:42 ---> python-tools-install.sh [Pipeline] echo 09:37:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:37:43 ---> sudo-logs.sh 09:37:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:37:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:37:43 ---> job-cost.sh 09:37:43 lf-activate-venv: SKIPPING 09:37:43 DEBUG: total: 0.2199999988079071 09:37:43 INFO: Retrieving Stack Cost... 09:37:43 INFO: Retrieving Pricing Info for: v3-standard-8 09:37:44 INFO: Archiving Costs [Pipeline] echo 09:37:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:37:44 ---> logs-deploy.sh 09:37:44 lf-activate-venv: SKIPPING 09:37:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/240 09:37:44 INFO: archiving workspace using pattern(s): 09:37:45 Archives upload complete. 09:37:45 INFO: archiving logs to Nexus