Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 20346f720feaa6bc50598f6f64a20743a4313f47 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-ssh17865265779384923962.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh12148158082715720791.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh188825477132947660.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh3455988424562111088.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh8043946948703711983.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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/v2]] ========================================================= [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.18 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/v2 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-20227 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 20346f720feaa6bc50598f6f64a20743a4313f47 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20346f720feaa6bc50598f6f64a20743a4313f47 # timeout=10 Commit message: "Merge pull request #1194 from lenny-intel/sdk-interface" > git rev-list --no-walk 693843898baeade0e40692581dd8497a6988e370 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:40:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:40:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:40:19 ========================================================= 18:40:19 EdgeX Global Pipelines Version Info 18:40:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:40:19 ------------------- 18:40:19 stable info: 18:40:19 ------------------- 18:40:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:40:19 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 18:40:19 Message: update stable to v1.0.238 18:40:20 ------------------- 18:40:20 experimental info: 18:40:20 ------------------- 18:40:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:40:20 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 18:40:20 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:40:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20346f720feaa6bc50598f6f64a20743a4313f47 [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20346f7 [Pipeline] echo 18:40:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:40:21 provisioning config files... 18:40:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6056622791837240439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:21 ---> docker-login.sh 18:40:21 nexus3.edgexfoundry.org:10001 18:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:22 Configure a credential helper to remove this warning. See 18:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:22 18:40:22 Login Succeeded 18:40:22 nexus3.edgexfoundry.org:10002 18:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:22 Configure a credential helper to remove this warning. See 18:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:22 18:40:22 Login Succeeded 18:40:22 nexus3.edgexfoundry.org:10003 18:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:22 Configure a credential helper to remove this warning. See 18:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:22 18:40:22 Login Succeeded 18:40:22 nexus3.edgexfoundry.org:10004 18:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:22 Configure a credential helper to remove this warning. See 18:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:22 18:40:22 Login Succeeded 18:40:22 docker.io 18:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:22 Configure a credential helper to remove this warning. See 18:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:22 18:40:22 Login Succeeded 18:40:22 ---> docker-login.sh ends [Pipeline] } 18:40:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:40:23 + git rev-list -1 --merges 20346f720feaa6bc50598f6f64a20743a4313f47~1..20346f720feaa6bc50598f6f64a20743a4313f47 [Pipeline] echo 18:40:23 -----------> git rev-list -1 --merges 20346f720feaa6bc50598f6f64a20743a4313f47~1..20346f720feaa6bc50598f6f64a20743a4313f47 20346f720feaa6bc50598f6f64a20743a4313f47 18:40:23 20346f720feaa6bc50598f6f64a20743a4313f47 [false] [Pipeline] sh 18:40:23 + git log --format=format:%s -1 20346f720feaa6bc50598f6f64a20743a4313f47 [Pipeline] echo 18:40:23 ========================================================= 18:40:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:40:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:40:23 + git log --format=format:%s -1 20346f720feaa6bc50598f6f64a20743a4313f47 [Pipeline] echo 18:40:23 [semverPrep] GIT_COMMIT: 20346f720feaa6bc50598f6f64a20743a4313f47, Commit Message: Merge pull request #1194 from lenny-intel/sdk-interface [Pipeline] echo 18:40:23 [semverPrep] This is not a build commit. [Pipeline] sh 18:40:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:40:24 + grep -v github /etc/ssh/ssh_known_hosts 18:40:24 + [ -e /tmp/ssh_known_hosts ] 18:40:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:40:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:40:24 + sudo tee -a /etc/ssh/ssh_known_hosts 18:40:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:40:24 18:40:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:40:25 0.1.4: Pulling from edgex-devops/py-git-semver 18:40:25 b85a868b505f: Pulling fs layer 18:40:25 e2be974225ed: Pulling fs layer 18:40:25 339a4e72a1f5: Pulling fs layer 18:40:25 988bab9f4d93: Pulling fs layer 18:40:25 1469e6f7b9e6: Pulling fs layer 18:40:25 eaf3925da568: Pulling fs layer 18:40:25 bab4dde63d76: Pulling fs layer 18:40:25 bde34c3a00c8: Pulling fs layer 18:40:25 b352a97aabf1: Pulling fs layer 18:40:25 4872d77fe225: Pulling fs layer 18:40:25 5851b861e8e6: Pulling fs layer 18:40:25 bab4dde63d76: Waiting 18:40:25 bde34c3a00c8: Waiting 18:40:25 988bab9f4d93: Waiting 18:40:25 b352a97aabf1: Waiting 18:40:25 4872d77fe225: Waiting 18:40:25 5851b861e8e6: Waiting 18:40:25 eaf3925da568: Waiting 18:40:25 1469e6f7b9e6: Waiting 18:40:25 e2be974225ed: Download complete 18:40:25 988bab9f4d93: Verifying Checksum 18:40:25 988bab9f4d93: Download complete 18:40:25 1469e6f7b9e6: Verifying Checksum 18:40:25 1469e6f7b9e6: Download complete 18:40:25 eaf3925da568: Verifying Checksum 18:40:25 eaf3925da568: Download complete 18:40:25 339a4e72a1f5: Verifying Checksum 18:40:25 339a4e72a1f5: Download complete 18:40:25 bde34c3a00c8: Verifying Checksum 18:40:25 bde34c3a00c8: Download complete 18:40:25 b352a97aabf1: Download complete 18:40:25 4872d77fe225: Verifying Checksum 18:40:25 4872d77fe225: Download complete 18:40:25 5851b861e8e6: Download complete 18:40:25 b85a868b505f: Download complete 18:40:25 bab4dde63d76: Verifying Checksum 18:40:25 bab4dde63d76: Download complete 18:40:26 b85a868b505f: Pull complete 18:40:26 e2be974225ed: Pull complete 18:40:27 339a4e72a1f5: Pull complete 18:40:27 988bab9f4d93: Pull complete 18:40:27 1469e6f7b9e6: Pull complete 18:40:27 eaf3925da568: Pull complete 18:40:29 bab4dde63d76: Pull complete 18:40:29 bde34c3a00c8: Pull complete 18:40:29 b352a97aabf1: Pull complete 18:40:29 4872d77fe225: Pull complete 18:40:29 5851b861e8e6: Pull complete 18:40:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:40:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:40:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:40:29 prd-ubuntu20.04-docker-8c-8g-20227 does not seem to be running inside a container 18:40:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:40:31 $ docker top a911bf6ea20b5af8b0a9616e937ea427ad7ac0b2666cb0b8092c5016f31acab3 -eo pid,comm 18:40:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:40:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:40:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:40:31 [ssh-agent] Looking for ssh-agent implementation... 18:40:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:40:31 $ docker exec a911bf6ea20b5af8b0a9616e937ea427ad7ac0b2666cb0b8092c5016f31acab3 ssh-agent 18:40:31 SSH_AUTH_SOCK=/tmp/ssh-faQ1dDMLDjxx/agent.33 18:40:31 SSH_AGENT_PID=39 18:40:31 Running ssh-add (command line suppressed) 18:40:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3436860456320865476.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3436860456320865476.key) 18:40:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:40:32 + git tag --points-at HEAD [Pipeline] } 18:40:32 $ docker exec --env ******** --env ******** a911bf6ea20b5af8b0a9616e937ea427ad7ac0b2666cb0b8092c5016f31acab3 ssh-agent -k 18:40:32 unset SSH_AUTH_SOCK; 18:40:32 unset SSH_AGENT_PID; 18:40:32 echo Agent pid 39 killed; 18:40:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:40:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:40:32 [ssh-agent] Looking for ssh-agent implementation... 18:40:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:40:32 $ docker exec a911bf6ea20b5af8b0a9616e937ea427ad7ac0b2666cb0b8092c5016f31acab3 ssh-agent 18:40:32 SSH_AUTH_SOCK=/tmp/ssh-Ur8jvCIawl9Y/agent.73 18:40:32 SSH_AGENT_PID=80 18:40:32 Running ssh-add (command line suppressed) 18:40:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7492884083284852375.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7492884083284852375.key) 18:40:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:40:33 + git semver init 18:40:33 2022-07-15 18:40:33,245 [run_init] DEBUG init version:0.0.0 force:False 18:40:33 2022-07-15 18:40:33,246 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:40:33 2022-07-15 18:40:33,246 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:40:33 2022-07-15 18:40:33,247 [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) 18:40:34 2022-07-15 18:40:34,022 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 18:40:34 2022-07-15 18:40:34,022 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 18:40:34 2022-07-15 18:40:34,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:40:34 2022-07-15 18:40:34,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:40:34 2.2.1-dev.14 [Pipeline] } 18:40:34 $ docker exec --env ******** --env ******** a911bf6ea20b5af8b0a9616e937ea427ad7ac0b2666cb0b8092c5016f31acab3 ssh-agent -k 18:40:34 unset SSH_AUTH_SOCK; 18:40:34 unset SSH_AGENT_PID; 18:40:34 echo Agent pid 80 killed; 18:40:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:40:34 + git semver [Pipeline] } 18:40:34 $ docker stop --time=1 a911bf6ea20b5af8b0a9616e937ea427ad7ac0b2666cb0b8092c5016f31acab3 18:40:36 $ docker rm -f a911bf6ea20b5af8b0a9616e937ea427ad7ac0b2666cb0b8092c5016f31acab3 [Pipeline] // withDockerContainer [Pipeline] sh 18:40:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:40:36 Stashed 1 file(s) [Pipeline] echo 18:40:36 [edgeXSemver]: initialized semver on version 2.2.1-dev.14 [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 18:40:37 provisioning config files... 18:40:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3853653683814614486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:37 ---> docker-login.sh 18:40:37 nexus3.edgexfoundry.org:10001 18:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:37 Configure a credential helper to remove this warning. See 18:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:37 18:40:37 Login Succeeded 18:40:37 nexus3.edgexfoundry.org:10002 18:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:37 Configure a credential helper to remove this warning. See 18:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:37 18:40:37 Login Succeeded 18:40:37 nexus3.edgexfoundry.org:10003 18:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:37 Configure a credential helper to remove this warning. See 18:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:37 18:40:37 Login Succeeded 18:40:37 nexus3.edgexfoundry.org:10004 18:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:37 Configure a credential helper to remove this warning. See 18:40:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:37 18:40:37 Login Succeeded 18:40:37 docker.io 18:40:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:40:38 Configure a credential helper to remove this warning. See 18:40:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:40:38 18:40:38 Login Succeeded 18:40:38 ---> docker-login.sh ends [Pipeline] } 18:40:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:40:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:40:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:40:38 ========================================================= 18:40:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:40:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:38 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 18:40:38 Sending build context to Docker daemon 9.728MB 18:40:38 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 18:40:38 Step 2/11 : FROM ${BASE} AS builder 18:40:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:40:38 2408cc74d12b: Pulling fs layer 18:40:38 ea60b727a1ce: Pulling fs layer 18:40:38 30c4a7721957: Pulling fs layer 18:40:38 370296b7ddb6: Pulling fs layer 18:40:38 7c6cee850709: Pulling fs layer 18:40:38 39a5fcdaea64: Pulling fs layer 18:40:38 d94ebbe4e438: Pulling fs layer 18:40:38 bcfd1f05c69d: Pulling fs layer 18:40:38 59ccb84bbe0f: Pulling fs layer 18:40:38 39a5fcdaea64: Waiting 18:40:38 59ccb84bbe0f: Waiting 18:40:38 370296b7ddb6: Waiting 18:40:38 30c4a7721957: Verifying Checksum 18:40:38 30c4a7721957: Download complete 18:40:38 ea60b727a1ce: Download complete 18:40:38 7c6cee850709: Verifying Checksum 18:40:38 7c6cee850709: Download complete 18:40:38 39a5fcdaea64: Verifying Checksum 18:40:38 39a5fcdaea64: Download complete 18:40:38 2408cc74d12b: Verifying Checksum 18:40:38 2408cc74d12b: Download complete 18:40:38 d94ebbe4e438: Verifying Checksum 18:40:38 d94ebbe4e438: Download complete 18:40:38 2408cc74d12b: Pull complete 18:40:39 ea60b727a1ce: Pull complete 18:40:39 59ccb84bbe0f: Verifying Checksum 18:40:39 59ccb84bbe0f: Download complete 18:40:39 30c4a7721957: Pull complete 18:40:39 bcfd1f05c69d: Verifying Checksum 18:40:39 bcfd1f05c69d: Download complete 18:40:39 370296b7ddb6: Verifying Checksum 18:40:39 370296b7ddb6: Download complete 18:40:43 370296b7ddb6: Pull complete 18:40:43 7c6cee850709: Pull complete 18:40:43 39a5fcdaea64: Pull complete 18:40:43 d94ebbe4e438: Pull complete 18:40:45 bcfd1f05c69d: Pull complete 18:40:46 59ccb84bbe0f: Pull complete 18:40:46 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 18:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:40:46 ---> a4fb48ad2a94 18:40:46 Step 3/11 : ARG MAKE=make build 18:40:48 ---> Running in 1225d1e6fe2e 18:40:48 Removing intermediate container 1225d1e6fe2e 18:40:48 ---> a38c383692bb 18:40:48 Step 4/11 : WORKDIR /device-sdk-go 18:40:48 ---> Running in e433cf018157 18:40:48 Removing intermediate container e433cf018157 18:40:48 ---> 0b4b56092447 18:40:48 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:40:48 ---> Running in 72a0aadd5099 18:40:48 Removing intermediate container 72a0aadd5099 18:40:48 ---> e88a8a89517b 18:40:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:40:48 ---> Running in 887fc6a7ecbe 18:40:49 Removing intermediate container 887fc6a7ecbe 18:40:49 ---> 65bf64b0415c 18:40:49 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:40:49 ---> Running in 24a2fc6cbd56 18:40:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:40:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:40:50 OK: 211 MiB in 51 packages 18:40:51 Removing intermediate container 24a2fc6cbd56 18:40:51 ---> 317d52a59682 18:40:51 Step 8/11 : COPY go.mod vendor* ./ 18:40:51 ---> 4906b241417f 18:40:51 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:51 ---> Running in 192ba09575f8 18:40:52 Still waiting to schedule task 18:40:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:41:09 Removing intermediate container 192ba09575f8 18:41:09 ---> 6a7b63afae16 18:41:09 Step 10/11 : COPY . . 18:41:09 ---> 74b53adc054a 18:41:09 Step 11/11 : RUN ${MAKE} 18:41:09 ---> Running in a78edb98330e 18:41:09 noop 18:41:09 Removing intermediate container a78edb98330e 18:41:09 ---> 6a7116d02674 18:41:09 Successfully built 6a7116d02674 18:41:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:09 + docker inspect -f . ci-base-image-x86_64 18:41:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:09 prd-ubuntu20.04-docker-8c-8g-20227 does not seem to be running inside a container 18:41:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:41:10 $ docker top f5506e7fb4baef47cec629f01af84051639f415404670652fed6e4845d5bb1b1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:10 + go version 18:41:10 go version go1.18.3 linux/amd64 [Pipeline] } 18:41:10 $ docker stop --time=1 f5506e7fb4baef47cec629f01af84051639f415404670652fed6e4845d5bb1b1 18:41:12 $ docker rm -f f5506e7fb4baef47cec629f01af84051639f415404670652fed6e4845d5bb1b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:12 + docker inspect -f . ci-base-image-x86_64 18:41:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:12 prd-ubuntu20.04-docker-8c-8g-20227 does not seem to be running inside a container 18:41:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:41:12 $ docker top 65a4a0733934d4f4d7cf4d0f7acc2db0afacfe0494ecd764fc07fa235f228c75 -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:13 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 18:41:13 + make test 18:41:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:41:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:41:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.081s coverage: 23.7% of statements 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:41:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 27.6% of statements 18:41:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.098s coverage: 78.9% of statements 18:41:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.059s coverage: 10.8% of statements 18:41:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.077s coverage: 60.0% of statements 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:41:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 34.8% of statements 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:41:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.069s coverage: 85.4% of statements 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:41:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 65.1% of statements 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:41:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.765s coverage: 89.2% of statements 18:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:41:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 18:41:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:41:48 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 18:41:48 GO111MODULE=on go vet ./... 18:41:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:41:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:41:50 ./bin/test-attribution-txt.sh [Pipeline] echo 18:41:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:41:50 $ docker stop --time=1 65a4a0733934d4f4d7cf4d0f7acc2db0afacfe0494ecd764fc07fa235f228c75 18:41:52 $ docker rm -f 65a4a0733934d4f4d7cf4d0f7acc2db0afacfe0494ecd764fc07fa235f228c75 [Pipeline] // withDockerContainer [Pipeline] sh 18:41:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:41:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:41:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:41:53 + ls -al . 18:41:53 total 304 18:41:53 drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 18:41 . 18:41:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 18:40 .. 18:41:53 -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 18:40 .dockerignore 18:41:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 18:41 .git 18:41:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 18:40 .github 18:41:53 -rw-rw-r-- 1 jenkins jenkins 131 Jul 15 18:40 .gitignore 18:41:53 -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 18:40 .golangci.yml 18:41:53 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 18:40 .semver 18:41:53 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 15 18:40 CHANGELOG.md 18:41:53 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 18:40 GOVERNANCE.md 18:41:53 -rw-rw-r-- 1 jenkins jenkins 880 Jul 15 18:40 Jenkinsfile 18:41:53 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 18:40 LICENSE 18:41:53 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 15 18:40 Makefile 18:41:53 -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 18:40 OWNERS.md 18:41:53 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 15 18:40 README.md 18:41:53 -rw-rw-r-- 1 jenkins jenkins 12 Jul 15 18:40 VERSION 18:41:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 18:40 bin 18:41:53 -rw-r--r-- 1 jenkins jenkins 131352 Jul 15 18:41 coverage.out 18:41:53 drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 18:40 example 18:41:53 -rw-rw-r-- 1 jenkins jenkins 3204 Jul 15 18:40 go.mod 18:41:53 -rw-rw-r-- 1 jenkins jenkins 34893 Jul 15 18:40 go.sum 18:41:53 drwxrwxr-x 15 jenkins jenkins 4096 Jul 15 18:40 internal 18:41:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 18:40 openapi 18:41:53 drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 18:40 pkg 18:41:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 18:40 snap 18:41:53 -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:53 + 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=20346f720feaa6bc50598f6f64a20743a4313f47 --label arch=amd64 --label version=2.2.1-dev.14 . 18:41:53 Sending build context to Docker daemon 9.86MB 18:41:53 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:41:53 Step 2/25 : FROM ${BASE} AS builder 18:41:53 ---> 6a7116d02674 18:41:53 Step 3/25 : ARG MAKE=make build 18:41:53 ---> Running in 2a75fc03fa4c 18:41:54 Removing intermediate container 2a75fc03fa4c 18:41:54 ---> 82d0eac38a0b 18:41:54 Step 4/25 : WORKDIR /device-sdk-go 18:41:54 ---> Running in fb1a8e7046ee 18:41:54 Removing intermediate container fb1a8e7046ee 18:41:54 ---> bd1af20302ea 18:41:54 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:41:54 ---> Running in 8ce891a8e803 18:41:54 Removing intermediate container 8ce891a8e803 18:41:54 ---> 3b571c748596 18:41:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:41:54 ---> Running in 5ed5c33357fd 18:41:55 Removing intermediate container 5ed5c33357fd 18:41:55 ---> af6aed679423 18:41:55 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:41:55 ---> Running in 8fbd2acd455d 18:41:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:41:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:41:56 OK: 211 MiB in 51 packages 18:41:56 Removing intermediate container 8fbd2acd455d 18:41:56 ---> 19470d110ab4 18:41:56 Step 8/25 : COPY go.mod vendor* ./ 18:41:57 ---> b7ae7f6e32ca 18:41:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:41:57 ---> Running in 4e4458d3f369 18:41:57 Removing intermediate container 4e4458d3f369 18:41:57 ---> 98f8c8569311 18:41:57 Step 10/25 : COPY . . 18:41:58 ---> a493d21bcd8f 18:41:58 Step 11/25 : RUN ${MAKE} 18:41:58 ---> Running in 6c99370ac753 18:41:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.14" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:42:16 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:42:16 Removing intermediate container 6c99370ac753 18:42:16 ---> 7de8a8f34338 18:42:16 Step 12/25 : FROM alpine:3.16 18:42:17 3.16: Pulling from library/alpine 18:42:17 2408cc74d12b: Already exists 18:42:17 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 18:42:17 Status: Downloaded newer image for alpine:3.16 18:42:17 ---> e66264b98777 18:42:17 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:42:17 ---> Running in 2e924bbbecea 18:42:18 Removing intermediate container 2e924bbbecea 18:42:18 ---> 04634bc61358 18:42:18 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:42:18 ---> Running in b2b6c5941cf1 18:42:19 Removing intermediate container b2b6c5941cf1 18:42:19 ---> 0f5335099c1e 18:42:19 Step 15/25 : RUN apk add --update --no-cache zeromq 18:42:19 ---> Running in b34f32f7f571 18:42:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:42:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:42:20 (1/5) Installing libgcc (11.2.1_git20220219-r2) 18:42:20 (2/5) Installing libsodium (1.0.18-r0) 18:42:21 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 18:42:21 (4/5) Installing libzmq (4.3.4-r0) 18:42:21 (5/5) Installing zeromq (4.3.4-r0) 18:42:21 Executing busybox-1.35.0-r13.trigger 18:42:21 OK: 8 MiB in 19 packages 18:42:21 Removing intermediate container b34f32f7f571 18:42:21 ---> 831080b5689e 18:42:21 Step 16/25 : WORKDIR / 18:42:21 ---> Running in b3e79ae43b08 18:42:21 Removing intermediate container b3e79ae43b08 18:42:21 ---> 08c2bc20b273 18:42:21 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:42:21 ---> d158555136b3 18:42:21 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:42:22 ---> af9bf54ab21e 18:42:22 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:42:22 ---> 0c96ea453fa7 18:42:22 Step 20/25 : EXPOSE 59999 18:42:22 ---> Running in ca6e9de80ea3 18:42:22 Removing intermediate container ca6e9de80ea3 18:42:22 ---> 3ab3460d9922 18:42:22 Step 21/25 : ENTRYPOINT ["/device-simple"] 18:42:22 ---> Running in e137de8f6378 18:42:22 Removing intermediate container e137de8f6378 18:42:22 ---> 1c21c8a30af0 18:42:22 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:42:22 ---> Running in 1b95f87129d4 18:42:22 Removing intermediate container 1b95f87129d4 18:42:22 ---> add278644778 18:42:22 Step 23/25 : LABEL arch=amd64 18:42:22 ---> Running in a0b5263bd711 18:42:23 Removing intermediate container a0b5263bd711 18:42:23 ---> 1c80e0fce4af 18:42:23 Step 24/25 : LABEL git_sha=20346f720feaa6bc50598f6f64a20743a4313f47 18:42:23 ---> Running in f9c9ac334df5 18:42:23 Removing intermediate container f9c9ac334df5 18:42:23 ---> 8fb91a16ece8 18:42:23 Step 25/25 : LABEL version=2.2.1-dev.14 18:42:23 ---> Running in cba5d52fd0ca 18:42:23 Removing intermediate container cba5d52fd0ca 18:42:23 ---> c465c73666e2 18:42:23 [Warning] One or more build-args [ARCH] were not consumed 18:42:23 Successfully built c465c73666e2 18:42:23 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:23 18:42:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:24 latest: Pulling from edgex-lftools-log-publisher 18:42:24 5eb5b503b376: Pulling fs layer 18:42:24 5c69ac0246d0: Pulling fs layer 18:42:24 ec43610c2a17: Pulling fs layer 18:42:24 3a2ae6a8a46f: Pulling fs layer 18:42:24 33b1e0a273af: Pulling fs layer 18:42:24 5d3b04190fa2: Pulling fs layer 18:42:24 2f39f015ded8: Pulling fs layer 18:42:24 33b1e0a273af: Waiting 18:42:24 5d3b04190fa2: Waiting 18:42:24 3a2ae6a8a46f: Waiting 18:42:24 2f39f015ded8: Waiting 18:42:24 5c69ac0246d0: Download complete 18:42:24 3a2ae6a8a46f: Verifying Checksum 18:42:24 3a2ae6a8a46f: Download complete 18:42:24 33b1e0a273af: Verifying Checksum 18:42:24 33b1e0a273af: Download complete 18:42:24 ec43610c2a17: Verifying Checksum 18:42:24 ec43610c2a17: Download complete 18:42:24 5d3b04190fa2: Download complete 18:42:24 5eb5b503b376: Verifying Checksum 18:42:24 5eb5b503b376: Download complete 18:42:25 2f39f015ded8: Download complete 18:42:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20228 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 18:42:25 Running in /w/workspace/device-sdk-go/89 [Pipeline] { [Pipeline] checkout 18:42:25 The recommended git tool is: git 18:42:25 5eb5b503b376: Pull complete 18:42:25 5c69ac0246d0: Pull complete 18:42:26 ec43610c2a17: Pull complete 18:42:26 3a2ae6a8a46f: Pull complete 18:42:26 33b1e0a273af: Pull complete 18:42:26 5d3b04190fa2: Pull complete 18:42:30 2f39f015ded8: Pull complete 18:42:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:42:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:31 prd-ubuntu20.04-docker-8c-8g-20227 does not seem to be running inside a container 18:42:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:42:32 using credential edgex-jenkins-ssh 18:42:32 Cloning the remote Git repository 18:42:32 $ docker top c6974096a8ce9b4eac718ada919e35e14d7fc5799b1e90b4ab6b6ceb34edd1b9 -eo pid,comm 18:42:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:42:32 > git init /w/workspace/device-sdk-go/89 # timeout=10 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:33 ---> job-cost.sh 18:42:33 lf-activate-venv: SKIPPING 18:42:33 INFO: No Stack... 18:42:33 INFO: Retrieving Pricing Info for: v3-standard-8 18:42:34 INFO: Archiving Costs [Pipeline] sh 18:42:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:42:33 > git --version # timeout=10 18:42:33 > git --version # 'git version 2.25.1' 18:42:33 using GIT_SSH to set credentials SSH Credentials for GitHub 18:42:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:42:34 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 18:42:34 + cut -d, -f6 [Pipeline] lock 18:42:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-89-stack-cost] 18:42:34 Resource [jenkins-edgexfoundry-device-sdk-go-main-89-stack-cost] did not exist. Created. 18:42:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:42:34 Avoid second fetch 18:42:34 Checking out Revision 20346f720feaa6bc50598f6f64a20743a4313f47 (main) 18:42:34 + echo total: 0.2199999988079071 [Pipeline] stash 18:42:34 Stashed 1 file(s) [Pipeline] } 18:42:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-89-stack-cost] [Pipeline] // lock [Pipeline] } 18:42:34 $ docker stop --time=1 c6974096a8ce9b4eac718ada919e35e14d7fc5799b1e90b4ab6b6ceb34edd1b9 18:42:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:42:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:42:34 > git config core.sparsecheckout # timeout=10 18:42:34 > git checkout -f 20346f720feaa6bc50598f6f64a20743a4313f47 # timeout=10 18:42:36 $ docker rm -f c6974096a8ce9b4eac718ada919e35e14d7fc5799b1e90b4ab6b6ceb34edd1b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:42:38 Commit message: "Merge pull request #1194 from lenny-intel/sdk-interface" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:42:39 % Total % Received % Xferd Average Speed Time Time Time Current 18:42:39 Dload Upload Total Spent Left Speed 18:42:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 89362 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh 18:42:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:42:40 + sudo tee /etc/docker/daemon.new 18:42:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:42:40 { 18:42:40 "registry-mirrors": [ 18:42:40 "https://nexus3.edgexfoundry.org:10001" 18:42:40 ], 18:42:40 "bip": "10.250.0.254/24", 18:42:40 "hosts": [ 18:42:40 "tcp://0.0.0.0:5555", 18:42:40 "unix:///var/run/docker.sock" 18:42:40 ], 18:42:40 "mtu": 1458, 18:42:40 "selinux-enabled": true, 18:42:40 "seccomp-profile": "/etc/docker/seccomp.json" 18:42:40 } [Pipeline] sh 18:42:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:42:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:59 provisioning config files... 18:42:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/89@tmp/config1581498170030040553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:00 ---> docker-login.sh 18:43:00 nexus3.edgexfoundry.org:10001 18:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:01 Configure a credential helper to remove this warning. See 18:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:01 18:43:01 Login Succeeded 18:43:01 nexus3.edgexfoundry.org:10002 18:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:01 Configure a credential helper to remove this warning. See 18:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:01 18:43:01 Login Succeeded 18:43:01 nexus3.edgexfoundry.org:10003 18:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:01 Configure a credential helper to remove this warning. See 18:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:01 18:43:01 Login Succeeded 18:43:01 nexus3.edgexfoundry.org:10004 18:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:02 Configure a credential helper to remove this warning. See 18:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:02 18:43:02 Login Succeeded 18:43:02 docker.io 18:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:03 Configure a credential helper to remove this warning. See 18:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:03 18:43:03 Login Succeeded 18:43:03 ---> docker-login.sh ends [Pipeline] } 18:43:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:43:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:43:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:43:03 ========================================================= 18:43:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:43:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:04 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 18:43:04 Sending build context to Docker daemon 5.221MB 18:43:04 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 18:43:04 Step 2/11 : FROM ${BASE} AS builder 18:43:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:43:04 b3c136eddcbf: Pulling fs layer 18:43:04 c0a3192eca97: Pulling fs layer 18:43:04 a050256f5b6f: Pulling fs layer 18:43:04 656be50a0ddc: Pulling fs layer 18:43:04 2bbca73fdf42: Pulling fs layer 18:43:04 46d945488cbd: Pulling fs layer 18:43:04 8a5474983e97: Pulling fs layer 18:43:04 329c88fbcd65: Pulling fs layer 18:43:04 656be50a0ddc: Waiting 18:43:04 2bbca73fdf42: Waiting 18:43:04 46d945488cbd: Waiting 18:43:04 8a5474983e97: Waiting 18:43:04 329c88fbcd65: Waiting 18:43:04 a050256f5b6f: Download complete 18:43:04 c0a3192eca97: Verifying Checksum 18:43:04 c0a3192eca97: Download complete 18:43:04 2bbca73fdf42: Verifying Checksum 18:43:04 2bbca73fdf42: Download complete 18:43:04 46d945488cbd: Verifying Checksum 18:43:04 46d945488cbd: Download complete 18:43:04 b3c136eddcbf: Verifying Checksum 18:43:04 b3c136eddcbf: Download complete 18:43:05 b3c136eddcbf: Pull complete 18:43:05 329c88fbcd65: Verifying Checksum 18:43:05 329c88fbcd65: Download complete 18:43:06 c0a3192eca97: Pull complete 18:43:06 a050256f5b6f: Pull complete 18:43:06 8a5474983e97: Download complete 18:43:07 656be50a0ddc: Verifying Checksum 18:43:07 656be50a0ddc: Download complete 18:43:22 656be50a0ddc: Pull complete 18:43:22 2bbca73fdf42: Pull complete 18:43:22 46d945488cbd: Pull complete 18:43:28 8a5474983e97: Pull complete 18:43:29 329c88fbcd65: Pull complete 18:43:29 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:43:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:43:29 ---> ff4287adb874 18:43:29 Step 3/11 : ARG MAKE=make build 18:43:30 ---> Running in 7cadf038cb03 18:43:30 Removing intermediate container 7cadf038cb03 18:43:30 ---> e0eba3a42905 18:43:30 Step 4/11 : WORKDIR /device-sdk-go 18:43:30 ---> Running in c66edd139e10 18:43:31 Removing intermediate container c66edd139e10 18:43:31 ---> 716df3f226c3 18:43:31 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:43:31 ---> Running in 469d294da683 18:43:31 Removing intermediate container 469d294da683 18:43:31 ---> 9236105af4e4 18:43:31 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:43:31 ---> Running in 80d44d44b94f 18:43:33 Removing intermediate container 80d44d44b94f 18:43:33 ---> 0d5a81788c07 18:43:33 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:43:33 ---> Running in 275d98b330cc 18:43:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:43:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:43:37 OK: 221 MiB in 51 packages 18:43:37 Removing intermediate container 275d98b330cc 18:43:37 ---> 2a64de04a6c4 18:43:37 Step 8/11 : COPY go.mod vendor* ./ 18:43:38 ---> 7baa7cb23a92 18:43:38 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:38 ---> Running in fc6b26af14a3 18:44:25 Removing intermediate container fc6b26af14a3 18:44:25 ---> 05175438976c 18:44:25 Step 10/11 : COPY . . 18:44:25 ---> fdc92a2c05d2 18:44:25 Step 11/11 : RUN ${MAKE} 18:44:25 ---> Running in a10bf3a42165 18:44:25 noop 18:44:25 Removing intermediate container a10bf3a42165 18:44:25 ---> 4882f4b37121 18:44:25 Successfully built 4882f4b37121 18:44:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:25 + docker inspect -f . ci-base-image-arm64 18:44:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:26 prd-ubuntu20.04-docker-arm64-4c-16g-20228 does not seem to be running inside a container 18:44:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/89 -v /w/workspace/device-sdk-go/89:/w/workspace/device-sdk-go/89:rw,z -v /w/workspace/device-sdk-go/89@tmp:/w/workspace/device-sdk-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:44:27 $ docker top 65e2aad761d195e1d06e8fdbde127006253d08ef175fdf52c3f6852b8069ec15 -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:28 + go version 18:44:28 go version go1.18.3 linux/arm64 [Pipeline] } 18:44:28 $ docker stop --time=1 65e2aad761d195e1d06e8fdbde127006253d08ef175fdf52c3f6852b8069ec15 18:44:30 $ docker rm -f 65e2aad761d195e1d06e8fdbde127006253d08ef175fdf52c3f6852b8069ec15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:30 + docker inspect -f . ci-base-image-arm64 18:44:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:30 prd-ubuntu20.04-docker-arm64-4c-16g-20228 does not seem to be running inside a container 18:44:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/89 -v /w/workspace/device-sdk-go/89:/w/workspace/device-sdk-go/89:rw,z -v /w/workspace/device-sdk-go/89@tmp:/w/workspace/device-sdk-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:44:32 $ docker top 33f3a5548805df2546907c985fcd02931d25f0760ba093479be1f26c5310a01a -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:33 + git config --global --add safe.directory /w/workspace/device-sdk-go/89 [Pipeline] fileExists [Pipeline] sh 18:44:33 + make test 18:44:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:45:06 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:46:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:46:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.468s coverage: 23.7% of statements 18:46:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:46:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.256s coverage: 27.6% of statements 18:46:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.301s coverage: 78.9% of statements 18:46:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.358s coverage: 10.8% of statements 18:46:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.403s coverage: 60.0% of statements 18:46:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:46:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.437s coverage: 34.8% of statements 18:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:46:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.238s coverage: 85.4% of statements 18:46:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:46:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:46:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.454s coverage: 65.1% of statements 18:46:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 18:46:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:47:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.984s coverage: 89.2% of statements 18:47:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:47:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.217s coverage: 4.7% of statements 18:47:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:47:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:47:04 GO111MODULE=on go vet ./... 18:48:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:48:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:48:26 ./bin/test-attribution-txt.sh [Pipeline] echo 18:48:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:48:26 $ docker stop --time=1 33f3a5548805df2546907c985fcd02931d25f0760ba093479be1f26c5310a01a 18:48:28 $ docker rm -f 33f3a5548805df2546907c985fcd02931d25f0760ba093479be1f26c5310a01a [Pipeline] // withDockerContainer [Pipeline] sh 18:48:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:48:29 Warning: overwriting stash ‘coverage-report’ 18:48:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:48:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:48:31 + ls -al . 18:48:31 total 300 18:48:31 drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 18:44 . 18:48:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 18:42 .. 18:48:31 -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 18:42 .dockerignore 18:48:31 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 18:42 .git 18:48:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 18:42 .github 18:48:31 -rw-rw-r-- 1 jenkins jenkins 131 Jul 15 18:42 .gitignore 18:48:31 -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 18:42 .golangci.yml 18:48:31 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 15 18:42 CHANGELOG.md 18:48:31 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 18:42 GOVERNANCE.md 18:48:31 -rw-rw-r-- 1 jenkins jenkins 880 Jul 15 18:42 Jenkinsfile 18:48:31 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 18:42 LICENSE 18:48:31 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 15 18:42 Makefile 18:48:31 -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 18:42 OWNERS.md 18:48:31 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 15 18:42 README.md 18:48:31 -rw-rw-r-- 1 jenkins jenkins 12 Jul 15 18:40 VERSION 18:48:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 18:42 bin 18:48:31 -rw-r--r-- 1 jenkins jenkins 131352 Jul 15 18:47 coverage.out 18:48:31 drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 18:42 example 18:48:31 -rw-rw-r-- 1 jenkins jenkins 3204 Jul 15 18:42 go.mod 18:48:31 -rw-rw-r-- 1 jenkins jenkins 34893 Jul 15 18:42 go.sum 18:48:31 drwxrwxr-x 15 jenkins jenkins 4096 Jul 15 18:42 internal 18:48:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 18:42 openapi 18:48:31 drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 18:42 pkg 18:48:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 18:42 snap 18:48:31 -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:31 + 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=20346f720feaa6bc50598f6f64a20743a4313f47 --label arch=arm64 --label version=2.2.1-dev.14 . 18:48:32 Sending build context to Docker daemon 5.353MB 18:48:32 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:48:32 Step 2/25 : FROM ${BASE} AS builder 18:48:32 ---> 4882f4b37121 18:48:32 Step 3/25 : ARG MAKE=make build 18:48:32 ---> Running in 18c4f295cf16 18:48:32 Removing intermediate container 18c4f295cf16 18:48:32 ---> 67010aa1b6bb 18:48:32 Step 4/25 : WORKDIR /device-sdk-go 18:48:32 ---> Running in b63a7a583497 18:48:33 Removing intermediate container b63a7a583497 18:48:33 ---> 94ec35ff83ad 18:48:33 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:48:33 ---> Running in b4b8a60a5390 18:48:33 Removing intermediate container b4b8a60a5390 18:48:33 ---> 1713479047c6 18:48:33 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:48:33 ---> Running in 9e5014860e40 18:48:35 Removing intermediate container 9e5014860e40 18:48:35 ---> 363422ec8796 18:48:35 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:48:35 ---> Running in 24b8017e548a 18:48:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:48:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:48:38 OK: 221 MiB in 51 packages 18:48:38 Removing intermediate container 24b8017e548a 18:48:38 ---> d40e28592ca1 18:48:38 Step 8/25 : COPY go.mod vendor* ./ 18:48:39 ---> ed176e6f48fa 18:48:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:48:39 ---> Running in 7f403bcad4e4 18:48:41 Removing intermediate container 7f403bcad4e4 18:48:41 ---> f09e774304c6 18:48:41 Step 10/25 : COPY . . 18:48:42 ---> 15765548bb43 18:48:42 Step 11/25 : RUN ${MAKE} 18:48:42 ---> Running in 0fc724684880 18:48:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.14" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:50:50 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:50:50 Removing intermediate container 0fc724684880 18:50:50 ---> 15abe1ba6835 18:50:50 Step 12/25 : FROM alpine:3.16 18:50:50 3.16: Pulling from library/alpine 18:50:50 b3c136eddcbf: Already exists 18:50:50 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 18:50:50 Status: Downloaded newer image for alpine:3.16 18:50:50 ---> 6e30ab57aeee 18:50:50 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:50:50 ---> Running in 6469a76162cb 18:50:50 Removing intermediate container 6469a76162cb 18:50:50 ---> dee913541f30 18:50:50 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:50:50 ---> Running in 0375af4d4e26 18:50:50 Removing intermediate container 0375af4d4e26 18:50:50 ---> d75cfe818fb9 18:50:50 Step 15/25 : RUN apk add --update --no-cache zeromq 18:50:50 ---> Running in 71963c559f74 18:50:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:50:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:50:50 (1/5) Installing libgcc (11.2.1_git20220219-r2) 18:50:50 (2/5) Installing libsodium (1.0.18-r0) 18:50:50 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 18:50:50 (4/5) Installing libzmq (4.3.4-r0) 18:50:50 (5/5) Installing zeromq (4.3.4-r0) 18:50:50 Executing busybox-1.35.0-r13.trigger 18:50:50 OK: 8 MiB in 19 packages 18:50:50 Removing intermediate container 71963c559f74 18:50:50 ---> 8cb651a03295 18:50:50 Step 16/25 : WORKDIR / 18:50:50 ---> Running in 5058e1a9d004 18:50:50 Removing intermediate container 5058e1a9d004 18:50:50 ---> f9d32ed553cf 18:50:50 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:50:51 ---> 1494cbe1dad4 18:50:51 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:50:52 ---> f7bb30a123ac 18:50:52 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:50:53 ---> 24373447fb31 18:50:53 Step 20/25 : EXPOSE 59999 18:50:53 ---> Running in d6757ae18858 18:50:53 Removing intermediate container d6757ae18858 18:50:53 ---> be0471303215 18:50:53 Step 21/25 : ENTRYPOINT ["/device-simple"] 18:50:53 ---> Running in bbdb29f11303 18:50:54 Removing intermediate container bbdb29f11303 18:50:54 ---> 2302db16c123 18:50:54 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:50:54 ---> Running in fe2ba2ca3ef5 18:50:54 Removing intermediate container fe2ba2ca3ef5 18:50:54 ---> da18f4c438e4 18:50:54 Step 23/25 : LABEL arch=arm64 18:50:54 ---> Running in 91af1b940611 18:50:54 Removing intermediate container 91af1b940611 18:50:54 ---> 0ad771189c5b 18:50:54 Step 24/25 : LABEL git_sha=20346f720feaa6bc50598f6f64a20743a4313f47 18:50:55 ---> Running in 96ba61b3a43c 18:50:55 Removing intermediate container 96ba61b3a43c 18:50:55 ---> 0e1c9e71c5e1 18:50:55 Step 25/25 : LABEL version=2.2.1-dev.14 18:50:55 ---> Running in 79bb5dd3c46c 18:50:55 Removing intermediate container 79bb5dd3c46c 18:50:55 ---> 492b837bc618 18:50:55 [Warning] One or more build-args [ARCH] were not consumed 18:50:55 Successfully built 492b837bc618 18:50:55 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 18:50:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:50:56 18:50:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:50:56 arm64: Pulling from edgex-lftools-log-publisher 18:50:56 8998bd30e6a1: Pulling fs layer 18:50:56 04944245beec: Pulling fs layer 18:50:56 699f458cf7ca: Pulling fs layer 18:50:56 765212b225bb: Pulling fs layer 18:50:56 f23df028b6ca: Pulling fs layer 18:50:56 d65c8cfc05b1: Pulling fs layer 18:50:56 2437ff75d9bd: Pulling fs layer 18:50:56 d65c8cfc05b1: Waiting 18:50:56 765212b225bb: Waiting 18:50:56 f23df028b6ca: Waiting 18:50:56 2437ff75d9bd: Waiting 18:50:56 04944245beec: Verifying Checksum 18:50:56 04944245beec: Download complete 18:50:56 765212b225bb: Verifying Checksum 18:50:56 765212b225bb: Download complete 18:50:56 f23df028b6ca: Download complete 18:50:56 d65c8cfc05b1: Verifying Checksum 18:50:56 d65c8cfc05b1: Download complete 18:50:56 699f458cf7ca: Verifying Checksum 18:50:56 699f458cf7ca: Download complete 18:50:57 8998bd30e6a1: Verifying Checksum 18:50:57 8998bd30e6a1: Download complete 18:50:59 2437ff75d9bd: Verifying Checksum 18:50:59 2437ff75d9bd: Download complete 18:51:01 8998bd30e6a1: Pull complete 18:51:02 04944245beec: Pull complete 18:51:03 699f458cf7ca: Pull complete 18:51:03 765212b225bb: Pull complete 18:51:04 f23df028b6ca: Pull complete 18:51:04 d65c8cfc05b1: Pull complete 18:51:19 2437ff75d9bd: Pull complete 18:51:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:51:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:20 prd-ubuntu20.04-docker-arm64-4c-16g-20228 does not seem to be running inside a container 18:51:20 $ 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/89 -v /w/workspace/device-sdk-go/89:/w/workspace/device-sdk-go/89:rw,z -v /w/workspace/device-sdk-go/89@tmp:/w/workspace/device-sdk-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:51:22 $ docker top 76b99d02d3046156fd8e27a70cee1a549d4e7afa453ce395fe7a5cc9f65ed25b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:23 ---> job-cost.sh 18:51:23 lf-activate-venv: SKIPPING 18:51:23 INFO: No Stack... 18:51:24 INFO: Retrieving Pricing Info for: v3-standard-4 18:51:25 INFO: Archiving Costs [Pipeline] sh 18:51:26 + cat /w/workspace/device-sdk-go/89/archives/cost.csv 18:51:26 + cut -d, -f6 [Pipeline] lock 18:51:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-89-stack-cost] 18:51:26 Resource [jenkins-edgexfoundry-device-sdk-go-main-89-stack-cost] did not exist. Created. 18:51:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:51:26 /w/workspace/device-sdk-go/89@tmp/durable-43472b82/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:51:27 + echo total: 0.10999999940395355 [Pipeline] stash 18:51:27 Warning: overwriting stash ‘stack-cost’ 18:51:27 Stashed 1 file(s) [Pipeline] } 18:51:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-89-stack-cost] [Pipeline] // lock [Pipeline] } 18:51:27 $ docker stop --time=1 76b99d02d3046156fd8e27a70cee1a549d4e7afa453ce395fe7a5cc9f65ed25b 18:51:29 $ docker rm -f 76b99d02d3046156fd8e27a70cee1a549d4e7afa453ce395fe7a5cc9f65ed25b [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 18:51:29 provisioning config files... 18:51:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6147557819609971419tmp [Pipeline] { [Pipeline] sh 18:51:29 + set +x 18:51:29 + curl -s https://codecov.io/bash 18:51:29 + bash -s -- 18:51:29 18:51:29 _____ _ 18:51:29 / ____| | | 18:51:29 | | ___ __| | ___ ___ _____ __ 18:51:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:51:29 | |___| (_) | (_| | __/ (_| (_) \ V / 18:51:29 \_____\___/ \__,_|\___|\___\___/ \_/ 18:51:29 Bash-1.0.6 18:51:29 18:51:29 18:51:29 ==> git version 2.25.1 found 18:51:29 ==> 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 18:51:29 Release-Date: 2020-01-08 18:51:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:51:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:51:29 ==> Jenkins CI detected. 18:51:29 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 18:51:29 project root: . 18:51:29 --> token set from env 18:51:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:51:29 ==> Running gcov in . (disable via -X gcov) 18:51:29 ==> Python coveragepy not found 18:51:29 ==> Searching for coverage reports in: 18:51:29 + . 18:51:29 -> Found 1 reports 18:51:29 ==> Detecting git/mercurial file structure 18:51:29 ==> Reading reports 18:51:29 + ./coverage.out bytes=131352 18:51:29 ==> Appending adjustments 18:51:29 https://docs.codecov.io/docs/fixing-reports 18:51:30 + Found adjustments 18:51:30 ==> Gzipping contents 18:51:30 20K /tmp/codecov.FkVJP0.gz 18:51:30 ==> Uploading reports 18:51:30 url: https://codecov.io 18:51:30 query: branch=main&commit=20346f720feaa6bc50598f6f64a20743a4313f47&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:51:30 -> Pinging Codecov 18:51:30 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=20346f720feaa6bc50598f6f64a20743a4313f47&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:51:30 -> Uploading to 18:51:30 https://storage.googleapis.com/codecov/v4/raw/2022-07-15/7E55EF52A471D76F132DFD9A03CDDE97/20346f720feaa6bc50598f6f64a20743a4313f47/300ff3b4-fe72-4f05-b121-eb710baf30ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220715%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220715T185130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8fc90e36bc9222b2d1f86ee1e14e8911988d498891daad92cfc147c64e78fe27 18:51:30 % Total % Received % Xferd Average Speed Time Time Time Current 18:51:30 Dload Upload Total Spent Left Speed 18:51:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17278 0 0 100 17278 0 73211 --:--:-- --:--:-- --:--:-- 72902 18:51:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/20346f720feaa6bc50598f6f64a20743a4313f47 [Pipeline] } 18:51:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:51:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:51:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:51:31 18:51:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:51:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:51:31 df9b9388f04a: Pulling fs layer 18:51:31 52dc419b0ee2: Pulling fs layer 18:51:31 25bc292e5bac: Pulling fs layer 18:51:31 114826534d7a: Pulling fs layer 18:51:31 4657fd5d0bcf: Pulling fs layer 18:51:31 6ad1cebc031e: Pulling fs layer 18:51:31 8a3aa393b2d8: Pulling fs layer 18:51:31 114826534d7a: Waiting 18:51:31 4657fd5d0bcf: Waiting 18:51:31 6ad1cebc031e: Waiting 18:51:31 8a3aa393b2d8: Waiting 18:51:31 25bc292e5bac: Verifying Checksum 18:51:31 25bc292e5bac: Download complete 18:51:31 52dc419b0ee2: Verifying Checksum 18:51:31 52dc419b0ee2: Download complete 18:51:31 4657fd5d0bcf: Download complete 18:51:31 df9b9388f04a: Verifying Checksum 18:51:31 df9b9388f04a: Download complete 18:51:31 df9b9388f04a: Pull complete 18:51:31 6ad1cebc031e: Verifying Checksum 18:51:31 6ad1cebc031e: Download complete 18:51:31 52dc419b0ee2: Pull complete 18:51:31 25bc292e5bac: Pull complete 18:51:32 114826534d7a: Verifying Checksum 18:51:32 114826534d7a: Download complete 18:51:32 8a3aa393b2d8: Verifying Checksum 18:51:32 8a3aa393b2d8: Download complete 18:51:35 114826534d7a: Pull complete 18:51:35 4657fd5d0bcf: Pull complete 18:51:36 6ad1cebc031e: Pull complete 18:51:38 8a3aa393b2d8: Pull complete 18:51:38 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:51:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:51:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:38 prd-ubuntu20.04-docker-8c-8g-20227 does not seem to be running inside a container 18:51:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:51:40 $ docker top 4b0fc68ff71cf21722730b37724465779989b4d51a949a453c640a03a8504570 -eo pid,comm [Pipeline] { [Pipeline] echo 18:51:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 18:51:41 + set -o pipefail 18:51:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 18:51:49 18:51:49 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 18:51:49 18:51:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/09f1eb6b-0ae3-4a76-8d34-f89fb42ab58f 18:51:49 18:51:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:51:49 18:51:49 [Pipeline] } 18:51:49 $ docker stop --time=1 4b0fc68ff71cf21722730b37724465779989b4d51a949a453c640a03a8504570 18:51:51 $ docker rm -f 4b0fc68ff71cf21722730b37724465779989b4d51a949a453c640a03a8504570 [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 18:51:51 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:51 provisioning config files... 18:51:52 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8447044724783281657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:52 --> edgex-publish-swagger.sh 18:51:52 === Publish openapi/v2 API === 18:51:52 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 18:51:52 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 18:51:52 % Total % Received % Xferd Average Speed Time Time Time Current 18:51:52 Dload Upload Total Spent Left Speed 18:51:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 76942 --:--:-- --:--:-- --:--:-- 76832 100 53552 0 0 100 53552 0 76832 --:--:-- --:--:-- --:--:-- 76722 18:51:52 18:51:52 [Pipeline] } 18:51:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:51:53 + git log --format=format:%s -1 20346f720feaa6bc50598f6f64a20743a4313f47 [Pipeline] sh 18:51:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:51:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:53 prd-ubuntu20.04-docker-8c-8g-20227 does not seem to be running inside a container 18:51:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:51:54 $ docker top 2204f52672b0f1e0388f282d4e68678d64fa1fa2a95641dab098dde93a09155a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:51:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:54 [ssh-agent] Looking for ssh-agent implementation... 18:51:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:54 $ docker exec 2204f52672b0f1e0388f282d4e68678d64fa1fa2a95641dab098dde93a09155a ssh-agent 18:51:54 SSH_AUTH_SOCK=/tmp/ssh-XUKcxPmNIeAZ/agent.35 18:51:54 SSH_AGENT_PID=42 18:51:54 Running ssh-add (command line suppressed) 18:51:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8416894467236976639.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8416894467236976639.key) 18:51:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:55 + git semver tag 18:51:55 2022-07-15 18:51:55,416 [run_tag] DEBUG tag force:False 18:51:55 2022-07-15 18:51:55,416 [check_head_tag] DEBUG check head tag 18:51:55 2022-07-15 18:51:55,417 [execute] INFO git cat-file --batch-check 18:51:55 2022-07-15 18:51:55,418 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:51:55 2022-07-15 18:51:55,423 [execute] INFO git cat-file --batch 18:51:55 2022-07-15 18:51:55,423 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:51:55 2022-07-15 18:51:55,436 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:51:55 2022-07-15 18:51:55,437 [execute] INFO git tag -a v2.2.1-dev.14 -m v2.2.1-dev.14 18:51:55 2022-07-15 18:51:55,437 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.14', '-m', 'v2.2.1-dev.14'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:51:55 2022-07-15 18:51:55,443 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:51:55 2.2.1-dev.14 [Pipeline] } 18:51:55 $ docker exec --env ******** --env ******** 2204f52672b0f1e0388f282d4e68678d64fa1fa2a95641dab098dde93a09155a ssh-agent -k 18:51:55 unset SSH_AUTH_SOCK; 18:51:55 unset SSH_AGENT_PID; 18:51:55 echo Agent pid 42 killed; 18:51:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:51:56 + git semver [Pipeline] } 18:51:56 $ docker stop --time=1 2204f52672b0f1e0388f282d4e68678d64fa1fa2a95641dab098dde93a09155a 18:51:57 $ docker rm -f 2204f52672b0f1e0388f282d4e68678d64fa1fa2a95641dab098dde93a09155a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:51:58 18:51:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:51:58 0.23.1-centos7: Pulling from edgex-lftools 18:51:58 ab5ef0e58194: Pulling fs layer 18:51:58 9712f1f96733: Pulling fs layer 18:51:58 63f879dbbcfc: Pulling fs layer 18:51:58 0d9ebad4ef96: Pulling fs layer 18:51:58 e9a5061849ea: Pulling fs layer 18:51:58 d747dcd14b5f: Pulling fs layer 18:51:58 2de7ff778b66: Pulling fs layer 18:51:58 e9a5061849ea: Waiting 18:51:58 0d9ebad4ef96: Waiting 18:51:58 2de7ff778b66: Waiting 18:51:58 9712f1f96733: Verifying Checksum 18:51:58 9712f1f96733: Download complete 18:51:58 63f879dbbcfc: Verifying Checksum 18:51:58 63f879dbbcfc: Download complete 18:51:59 0d9ebad4ef96: Verifying Checksum 18:51:59 0d9ebad4ef96: Download complete 18:51:59 e9a5061849ea: Verifying Checksum 18:51:59 e9a5061849ea: Download complete 18:51:59 d747dcd14b5f: Verifying Checksum 18:51:59 d747dcd14b5f: Download complete 18:51:59 ab5ef0e58194: Verifying Checksum 18:51:59 ab5ef0e58194: Download complete 18:51:59 2de7ff778b66: Verifying Checksum 18:51:59 2de7ff778b66: Download complete 18:52:01 ab5ef0e58194: Pull complete 18:52:01 9712f1f96733: Pull complete 18:52:02 63f879dbbcfc: Pull complete 18:52:06 0d9ebad4ef96: Pull complete 18:52:06 e9a5061849ea: Pull complete 18:52:06 d747dcd14b5f: Pull complete 18:52:07 2de7ff778b66: Pull complete 18:52:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:52:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:52:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:07 prd-ubuntu20.04-docker-8c-8g-20227 does not seem to be running inside a container 18:52:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:52:09 $ docker top 0e3c268b29f22287c4bf72a2a6bab6dee377ed37dcd953f4038d96e3491d859d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:52:09 provisioning config files... 18:52:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5266106179047004283tmp 18:52:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1432798698652828470tmp 18:52:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3746263106161715167tmp [Pipeline] { [Pipeline] echo 18:52:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:52:10 ---> sigul-configuration.sh 18:52:10 gpg: directory `/root/.gnupg' created 18:52:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:52:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:52:10 gpg: keyring `/root/.gnupg/secring.gpg' created 18:52:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:52:10 gpg: CAST5 encrypted data 18:52:10 gpg: encrypted with 1 passphrase 18:52:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:52:10 + mkdir /home/jenkins 18:52:10 + mkdir /home/jenkins/sigul [Pipeline] sh 18:52:10 + 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 18:52:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:52:11 ---> sigul-install.sh 18:52:11 Sigul already installed; skipping installation. [Pipeline] sh 18:52:11 + git tag --list 18:52:11 0.7.1 18:52:11 delhi-tag 18:52:11 v1.0.0 18:52:11 v1.1.0 18:52:11 v1.1.1 18:52:11 v1.1.2 18:52:11 v1.2.0 18:52:11 v1.2.1 18:52:11 v1.2.2 18:52:11 v1.2.3 18:52:11 v1.3.0 18:52:11 v1.4.0 18:52:11 v2.0.0 18:52:11 v2.1.0 18:52:11 v2.1.1 18:52:11 v2.1.1-dev.2 18:52:11 v2.1.1-dev.3 18:52:11 v2.2.0 18:52:11 v2.2.1-dev.1 18:52:11 v2.2.1-dev.10 18:52:11 v2.2.1-dev.11 18:52:11 v2.2.1-dev.12 18:52:11 v2.2.1-dev.13 18:52:11 v2.2.1-dev.14 18:52:11 v2.2.1-dev.2 18:52:11 v2.2.1-dev.3 18:52:11 v2.2.1-dev.4 18:52:11 v2.2.1-dev.5 18:52:11 v2.2.1-dev.6 18:52:11 v2.2.1-dev.7 18:52:11 v2.2.1-dev.8 18:52:11 v2.2.1-dev.9 [Pipeline] sh 18:52:11 + lftools sign git-tag v2.2.1-dev.14 18:52:12 Signing Git tag with Sigul... 18:52:12 Signing v2.2.1-dev.14 [Pipeline] echo 18:52:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:52:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:52:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:52:12 $ docker stop --time=1 0e3c268b29f22287c4bf72a2a6bab6dee377ed37dcd953f4038d96e3491d859d 18:52:14 $ docker rm -f 0e3c268b29f22287c4bf72a2a6bab6dee377ed37dcd953f4038d96e3491d859d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:52:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:52:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:14 prd-ubuntu20.04-docker-8c-8g-20227 does not seem to be running inside a container 18:52:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:52:15 $ docker top b9b58cad54eb0ef9f4c460d5ad4a977f97e618176c92cca62fa9c72c98501902 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:15 [ssh-agent] Looking for ssh-agent implementation... 18:52:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:15 $ docker exec b9b58cad54eb0ef9f4c460d5ad4a977f97e618176c92cca62fa9c72c98501902 ssh-agent 18:52:15 SSH_AUTH_SOCK=/tmp/ssh-ithwpKgaYgwW/agent.34 18:52:15 SSH_AGENT_PID=41 18:52:15 Running ssh-add (command line suppressed) 18:52:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6092123470948770078.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6092123470948770078.key) 18:52:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:16 + git semver bump pre 18:52:16 2022-07-15 18:52:16,352 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:52:16 2022-07-15 18:52:16,353 [bump_version] DEBUG bumping version:2.2.1-dev.14 on axis:pre with prefix:dev 18:52:16 2022-07-15 18:52:16,353 [bump_version] DEBUG bumped version:2.2.1-dev.15 18:52:16 2022-07-15 18:52:16,353 [write_version] DEBUG write version:2.2.1-dev.15 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 18:52:16 2022-07-15 18:52:16,353 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:52:16 2022-07-15 18:52:16,353 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:52:16 2022-07-15 18:52:16,355 [execute] INFO git cat-file --batch-check 18:52:16 2022-07-15 18:52:16,355 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:52:16 2022-07-15 18:52:16,361 [execute] INFO git cat-file --batch 18:52:16 2022-07-15 18:52:16,361 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:52:16 2022-07-15 18:52:16,367 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:52:16 2.2.1-dev.15 [Pipeline] } 18:52:16 $ docker exec --env ******** --env ******** b9b58cad54eb0ef9f4c460d5ad4a977f97e618176c92cca62fa9c72c98501902 ssh-agent -k 18:52:16 unset SSH_AUTH_SOCK; 18:52:16 unset SSH_AGENT_PID; 18:52:16 echo Agent pid 41 killed; 18:52:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:16 + git semver [Pipeline] } 18:52:17 $ docker stop --time=1 b9b58cad54eb0ef9f4c460d5ad4a977f97e618176c92cca62fa9c72c98501902 18:52:18 $ docker rm -f b9b58cad54eb0ef9f4c460d5ad4a977f97e618176c92cca62fa9c72c98501902 [Pipeline] // withDockerContainer [Pipeline] sh 18:52:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:52:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:19 prd-ubuntu20.04-docker-8c-8g-20227 does not seem to be running inside a container 18:52:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:52:19 $ docker top 2f6b118d7b64cd11ce62ad0505ff6f96cd4327f9ac692841e62f631cc67d137d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:19 [ssh-agent] Looking for ssh-agent implementation... 18:52:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:19 $ docker exec 2f6b118d7b64cd11ce62ad0505ff6f96cd4327f9ac692841e62f631cc67d137d ssh-agent 18:52:19 SSH_AUTH_SOCK=/tmp/ssh-ShkCTFr7QCoI/agent.34 18:52:19 SSH_AGENT_PID=40 18:52:19 Running ssh-add (command line suppressed) 18:52:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2465778973154503241.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2465778973154503241.key) 18:52:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:20 + git semver push 18:52:20 2022-07-15 18:52:20,531 [run_push] DEBUG push 18:52:20 2022-07-15 18:52:20,531 [execute] INFO git cat-file --batch-check 18:52:20 2022-07-15 18:52:20,531 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:52:20 2022-07-15 18:52:20,535 [execute] INFO git rev-list 5f303a475d70a35ae407d8b04c6e7843b7f6f367 -- 18:52:20 2022-07-15 18:52:20,536 [execute] DEBUG Popen(['git', 'rev-list', '5f303a475d70a35ae407d8b04c6e7843b7f6f367', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:52:20 2022-07-15 18:52:20,545 [execute] INFO git fetch -v origin 18:52:20 2022-07-15 18:52:20,545 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:52:21 2022-07-15 18:52:21,006 [run_push] DEBUG no remote changes detected 18:52:21 2022-07-15 18:52:21,007 [execute] INFO git push origin semver 18:52:21 2022-07-15 18:52:21,007 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:52:21 2022-07-15 18:52:21,701 [run_push] DEBUG push all version tags 18:52:21 2022-07-15 18:52:21,701 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:52:21 2022-07-15 18:52:21,702 [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) 18:52:22 2022-07-15 18:52:22,348 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:52:22 2.2.1-dev.15 [Pipeline] } 18:52:22 $ docker exec --env ******** --env ******** 2f6b118d7b64cd11ce62ad0505ff6f96cd4327f9ac692841e62f631cc67d137d ssh-agent -k 18:52:22 unset SSH_AUTH_SOCK; 18:52:22 unset SSH_AGENT_PID; 18:52:22 echo Agent pid 40 killed; 18:52:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:23 + git semver [Pipeline] } 18:52:23 $ docker stop --time=1 2f6b118d7b64cd11ce62ad0505ff6f96cd4327f9ac692841e62f631cc67d137d 18:52:24 $ docker rm -f 2f6b118d7b64cd11ce62ad0505ff6f96cd4327f9ac692841e62f631cc67d137d [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 18:52:25 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 18:52:25 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:52:25 total 16 18:52:25 drwxr-xr-x 3 root root 4096 Jul 15 18:42 . 18:52:25 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 18:52 .. 18:52:25 drwxr-xr-x 2 root root 4096 Jul 15 18:42 cost 18:52:25 -rw-r--r-- 1 root root 83 Jul 15 18:42 cost.csv 18:52:25 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:52:25 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:52:25 total 16 18:52:25 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 18:42 . 18:52:25 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 18:52 .. 18:52:25 drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 18:42 cost 18:52:25 -rw-r--r-- 1 jenkins jenkins 83 Jul 15 18:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:52:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:52:26 ---> package-listing.sh 18:52:26 ++ facter osfamily 18:52:26 ++ tr '[:upper:]' '[:lower:]' 18:52:26 + OS_FAMILY=debian 18:52:26 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 18:52:26 + START_PACKAGES=/tmp/packages_start.txt 18:52:26 + END_PACKAGES=/tmp/packages_end.txt 18:52:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:52:26 + PACKAGES=/tmp/packages_start.txt 18:52:26 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:52:26 + PACKAGES=/tmp/packages_end.txt 18:52:26 + case "${OS_FAMILY}" in 18:52:26 + dpkg -l 18:52:26 + grep '^ii' 18:52:26 + '[' -f /tmp/packages_start.txt ']' 18:52:26 + '[' -f /tmp/packages_end.txt ']' 18:52:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:52:26 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:52:26 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 18:52:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 18:52:26 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 18:52:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:27 prd-ubuntu20.04-docker-8c-8g-20227 does not seem to be running inside a container 18:52:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:52:28 $ docker top 9eca59736eb7666874744281d6f5d9911bb7e7aff79e3cd226729e6b0c577045 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:28 + touch /tmp/pre-build-complete [Pipeline] sh 18:52:28 + mkdir -p /var/log/sysstat [Pipeline] sh 18:52:28 + ls /var/log/sa-host 18:52:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:29 provisioning config files... 18:52:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8630869104950895440tmp [Pipeline] { [Pipeline] echo 18:52:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:52:29 ---> create-netrc.sh [Pipeline] } 18:52:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:52:29 ---> python-tools-install.sh [Pipeline] echo 18:52:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:52:30 ---> sudo-logs.sh 18:52:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:52:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:52:30 ---> job-cost.sh 18:52:30 lf-activate-venv: SKIPPING 18:52:30 DEBUG: total: 0.2199999988079071 18:52:30 INFO: Retrieving Stack Cost... 18:52:30 INFO: Retrieving Pricing Info for: v3-standard-8 18:52:31 INFO: Archiving Costs [Pipeline] echo 18:52:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:52:31 ---> logs-deploy.sh 18:52:31 lf-activate-venv: SKIPPING 18:52:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/89 18:52:31 INFO: archiving workspace using pattern(s): 18:52:32 Archives upload complete. 18:52:32 INFO: archiving logs to Nexus