Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 05709587d91994e95fbbf030ae60546eede8820e 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-ssh18123324496426573024.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-ssh18291946994413641991.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-ssh5496671572997319457.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-ssh6674625095938061019.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-ssh9666211155827559346.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21211 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 05709587d91994e95fbbf030ae60546eede8820e (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 05709587d91994e95fbbf030ae60546eede8820e # timeout=10 Commit message: "Merge pull request #1201 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.12" > git rev-list --no-walk 20346f720feaa6bc50598f6f64a20743a4313f47 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:35:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:35:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:35:56 ========================================================= 06:35:56 EdgeX Global Pipelines Version Info 06:35:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:35:57 ------------------- 06:35:57 stable info: 06:35:57 ------------------- 06:35:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:35:57 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 06:35:57 Message: update stable to v1.0.238 06:35:58 ------------------- 06:35:58 experimental info: 06:35:58 ------------------- 06:35:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:35:58 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 06:35:58 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05709587d91994e95fbbf030ae60546eede8820e [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0570958 [Pipeline] echo 06:35:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:35:59 provisioning config files... 06:35:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6514512308715451034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:59 ---> docker-login.sh 06:35:59 nexus3.edgexfoundry.org:10001 06:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:59 Configure a credential helper to remove this warning. See 06:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:59 06:35:59 Login Succeeded 06:35:59 nexus3.edgexfoundry.org:10002 06:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:00 Configure a credential helper to remove this warning. See 06:36:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:00 06:36:00 Login Succeeded 06:36:00 nexus3.edgexfoundry.org:10003 06:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:00 Configure a credential helper to remove this warning. See 06:36:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:00 06:36:00 Login Succeeded 06:36:00 nexus3.edgexfoundry.org:10004 06:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:00 Configure a credential helper to remove this warning. See 06:36:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:00 06:36:00 Login Succeeded 06:36:00 docker.io 06:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:00 Configure a credential helper to remove this warning. See 06:36:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:00 06:36:00 Login Succeeded 06:36:00 ---> docker-login.sh ends [Pipeline] } 06:36:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:36:01 + git rev-list -1 --merges 05709587d91994e95fbbf030ae60546eede8820e~1..05709587d91994e95fbbf030ae60546eede8820e [Pipeline] echo 06:36:01 -----------> git rev-list -1 --merges 05709587d91994e95fbbf030ae60546eede8820e~1..05709587d91994e95fbbf030ae60546eede8820e 05709587d91994e95fbbf030ae60546eede8820e 06:36:01 05709587d91994e95fbbf030ae60546eede8820e [false] [Pipeline] sh 06:36:01 + git log --format=format:%s -1 05709587d91994e95fbbf030ae60546eede8820e [Pipeline] echo 06:36:01 ========================================================= 06:36:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:36:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:01 + git log --format=format:%s -1 05709587d91994e95fbbf030ae60546eede8820e [Pipeline] echo 06:36:01 [semverPrep] GIT_COMMIT: 05709587d91994e95fbbf030ae60546eede8820e, Commit Message: Merge pull request #1201 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.12 [Pipeline] echo 06:36:01 [semverPrep] This is not a build commit. [Pipeline] sh 06:36:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:36:02 + grep -v github /etc/ssh/ssh_known_hosts 06:36:02 + [ -e /tmp/ssh_known_hosts ] 06:36:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:36:02 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:36:02 sudo tee -a /etc/ssh/ssh_known_hosts 06:36:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:36:02 06:36:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:36:02 0.1.4: Pulling from edgex-devops/py-git-semver 06:36:02 b85a868b505f: Pulling fs layer 06:36:02 e2be974225ed: Pulling fs layer 06:36:02 339a4e72a1f5: Pulling fs layer 06:36:02 988bab9f4d93: Pulling fs layer 06:36:02 1469e6f7b9e6: Pulling fs layer 06:36:02 eaf3925da568: Pulling fs layer 06:36:02 bab4dde63d76: Pulling fs layer 06:36:02 bde34c3a00c8: Pulling fs layer 06:36:02 b352a97aabf1: Pulling fs layer 06:36:02 4872d77fe225: Pulling fs layer 06:36:02 5851b861e8e6: Pulling fs layer 06:36:02 bab4dde63d76: Waiting 06:36:02 bde34c3a00c8: Waiting 06:36:02 b352a97aabf1: Waiting 06:36:02 4872d77fe225: Waiting 06:36:02 1469e6f7b9e6: Waiting 06:36:02 988bab9f4d93: Waiting 06:36:02 eaf3925da568: Waiting 06:36:02 e2be974225ed: Download complete 06:36:02 988bab9f4d93: Download complete 06:36:03 1469e6f7b9e6: Verifying Checksum 06:36:03 1469e6f7b9e6: Download complete 06:36:03 eaf3925da568: Download complete 06:36:03 339a4e72a1f5: Verifying Checksum 06:36:03 339a4e72a1f5: Download complete 06:36:03 bde34c3a00c8: Verifying Checksum 06:36:03 bde34c3a00c8: Download complete 06:36:03 b352a97aabf1: Verifying Checksum 06:36:03 b352a97aabf1: Download complete 06:36:03 4872d77fe225: Download complete 06:36:03 5851b861e8e6: Download complete 06:36:03 b85a868b505f: Verifying Checksum 06:36:03 b85a868b505f: Download complete 06:36:03 bab4dde63d76: Verifying Checksum 06:36:03 bab4dde63d76: Download complete 06:36:04 b85a868b505f: Pull complete 06:36:04 e2be974225ed: Pull complete 06:36:05 339a4e72a1f5: Pull complete 06:36:05 988bab9f4d93: Pull complete 06:36:05 1469e6f7b9e6: Pull complete 06:36:05 eaf3925da568: Pull complete 06:36:07 bab4dde63d76: Pull complete 06:36:07 bde34c3a00c8: Pull complete 06:36:07 b352a97aabf1: Pull complete 06:36:07 4872d77fe225: Pull complete 06:36:07 5851b861e8e6: Pull complete 06:36:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:36:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:36:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:07 prd-ubuntu20.04-docker-8c-8g-21211 does not seem to be running inside a container 06:36:07 $ 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 06:36:09 $ docker top 3eecb71d21855d1df7bb7491134ef2e310ff13a0640132f878e117ec6d9ab1c5 -eo pid,comm 06:36:09 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). 06:36:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:36:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:36:09 [ssh-agent] Looking for ssh-agent implementation... 06:36:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:36:09 $ docker exec 3eecb71d21855d1df7bb7491134ef2e310ff13a0640132f878e117ec6d9ab1c5 ssh-agent 06:36:09 SSH_AUTH_SOCK=/tmp/ssh-LU6kHHh7gOIw/agent.32 06:36:09 SSH_AGENT_PID=38 06:36:09 Running ssh-add (command line suppressed) 06:36:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4291139551586973892.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4291139551586973892.key) 06:36:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:36:10 + git tag --points-at HEAD [Pipeline] } 06:36:10 $ docker exec --env ******** --env ******** 3eecb71d21855d1df7bb7491134ef2e310ff13a0640132f878e117ec6d9ab1c5 ssh-agent -k 06:36:10 unset SSH_AUTH_SOCK; 06:36:10 unset SSH_AGENT_PID; 06:36:10 echo Agent pid 38 killed; 06:36:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:36:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:36:10 [ssh-agent] Looking for ssh-agent implementation... 06:36:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:36:10 $ docker exec 3eecb71d21855d1df7bb7491134ef2e310ff13a0640132f878e117ec6d9ab1c5 ssh-agent 06:36:10 SSH_AUTH_SOCK=/tmp/ssh-mPntyaK7Z3CS/agent.70 06:36:10 SSH_AGENT_PID=76 06:36:10 Running ssh-add (command line suppressed) 06:36:10 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5258739062645214516.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5258739062645214516.key) 06:36:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:36:10 + git semver init 06:36:11 2022-07-27 06:36:11,163 [run_init] DEBUG init version:0.0.0 force:False 06:36:11 2022-07-27 06:36:11,164 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:36:11 2022-07-27 06:36:11,164 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:36:11 2022-07-27 06:36:11,165 [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) 06:36:12 2022-07-27 06:36:12,068 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:36:12 2022-07-27 06:36:12,068 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:36:12 2022-07-27 06:36:12,069 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:36:12 2022-07-27 06:36:12,069 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:36:12 2.3.0-dev.15 [Pipeline] } 06:36:12 $ docker exec --env ******** --env ******** 3eecb71d21855d1df7bb7491134ef2e310ff13a0640132f878e117ec6d9ab1c5 ssh-agent -k 06:36:12 unset SSH_AUTH_SOCK; 06:36:12 unset SSH_AGENT_PID; 06:36:12 echo Agent pid 76 killed; 06:36:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:36:12 + git semver [Pipeline] } 06:36:12 $ docker stop --time=1 3eecb71d21855d1df7bb7491134ef2e310ff13a0640132f878e117ec6d9ab1c5 06:36:14 $ docker rm -f 3eecb71d21855d1df7bb7491134ef2e310ff13a0640132f878e117ec6d9ab1c5 [Pipeline] // withDockerContainer [Pipeline] sh 06:36:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:36:14 Stashed 1 file(s) [Pipeline] echo 06:36:14 [edgeXSemver]: initialized semver on version 2.3.0-dev.15 [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 06:36:15 provisioning config files... 06:36:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1915946279214364898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:15 ---> docker-login.sh 06:36:15 nexus3.edgexfoundry.org:10001 06:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:15 Configure a credential helper to remove this warning. See 06:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:15 06:36:15 Login Succeeded 06:36:15 nexus3.edgexfoundry.org:10002 06:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:15 Configure a credential helper to remove this warning. See 06:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:15 06:36:15 Login Succeeded 06:36:15 nexus3.edgexfoundry.org:10003 06:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:15 Configure a credential helper to remove this warning. See 06:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:15 06:36:15 Login Succeeded 06:36:15 nexus3.edgexfoundry.org:10004 06:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:15 Configure a credential helper to remove this warning. See 06:36:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:15 06:36:15 Login Succeeded 06:36:15 docker.io 06:36:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:16 Configure a credential helper to remove this warning. See 06:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:16 06:36:16 Login Succeeded 06:36:16 ---> docker-login.sh ends [Pipeline] } 06:36:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:36:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:36:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:36:16 ========================================================= 06:36:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:36:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:16 + 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 . 06:36:16 Sending build context to Docker daemon 9.745MB 06:36:16 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 06:36:16 Step 2/11 : FROM ${BASE} AS builder 06:36:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:36:16 2408cc74d12b: Pulling fs layer 06:36:16 ea60b727a1ce: Pulling fs layer 06:36:16 30c4a7721957: Pulling fs layer 06:36:16 370296b7ddb6: Pulling fs layer 06:36:16 7c6cee850709: Pulling fs layer 06:36:16 39a5fcdaea64: Pulling fs layer 06:36:16 370296b7ddb6: Waiting 06:36:16 7c6cee850709: Waiting 06:36:16 d94ebbe4e438: Pulling fs layer 06:36:16 bcfd1f05c69d: Pulling fs layer 06:36:16 39a5fcdaea64: Waiting 06:36:16 59ccb84bbe0f: Pulling fs layer 06:36:16 d94ebbe4e438: Waiting 06:36:16 bcfd1f05c69d: Waiting 06:36:16 59ccb84bbe0f: Waiting 06:36:16 30c4a7721957: Download complete 06:36:16 ea60b727a1ce: Download complete 06:36:16 7c6cee850709: Verifying Checksum 06:36:16 7c6cee850709: Download complete 06:36:16 39a5fcdaea64: Verifying Checksum 06:36:16 39a5fcdaea64: Download complete 06:36:16 2408cc74d12b: Download complete 06:36:16 d94ebbe4e438: Verifying Checksum 06:36:16 d94ebbe4e438: Download complete 06:36:16 2408cc74d12b: Pull complete 06:36:17 ea60b727a1ce: Pull complete 06:36:17 30c4a7721957: Pull complete 06:36:17 59ccb84bbe0f: Verifying Checksum 06:36:17 59ccb84bbe0f: Download complete 06:36:17 bcfd1f05c69d: Verifying Checksum 06:36:17 bcfd1f05c69d: Download complete 06:36:17 370296b7ddb6: Verifying Checksum 06:36:17 370296b7ddb6: Download complete 06:36:21 370296b7ddb6: Pull complete 06:36:21 7c6cee850709: Pull complete 06:36:21 39a5fcdaea64: Pull complete 06:36:21 d94ebbe4e438: Pull complete 06:36:23 bcfd1f05c69d: Pull complete 06:36:23 59ccb84bbe0f: Pull complete 06:36:23 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 06:36:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:36:23 ---> a4fb48ad2a94 06:36:23 Step 3/11 : ARG MAKE=make build 06:36:25 ---> Running in ce0ba46a7f0a 06:36:25 Removing intermediate container ce0ba46a7f0a 06:36:25 ---> 00444c8fd2d2 06:36:25 Step 4/11 : WORKDIR /device-sdk-go 06:36:25 ---> Running in 62ae826695b4 06:36:25 Removing intermediate container 62ae826695b4 06:36:25 ---> 2a6aed6e2aec 06:36:25 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:36:25 ---> Running in 8d8e5294ed0f 06:36:25 Removing intermediate container 8d8e5294ed0f 06:36:25 ---> 3dbb02fe6bc1 06:36:25 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:36:25 ---> Running in f5a3c2ab6334 06:36:26 Removing intermediate container f5a3c2ab6334 06:36:26 ---> bd90c245592e 06:36:26 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:36:26 ---> Running in da72d2faeee3 06:36:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:36:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:36:27 OK: 211 MiB in 51 packages 06:36:28 Removing intermediate container da72d2faeee3 06:36:28 ---> e5ffb17b1f72 06:36:28 Step 8/11 : COPY go.mod vendor* ./ 06:36:28 ---> 185c43da9889 06:36:28 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:36:28 ---> Running in bd77386d7c05 06:36:29 Still waiting to schedule task 06:36:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:36:46 Removing intermediate container bd77386d7c05 06:36:46 ---> 740dbfdcf0c3 06:36:46 Step 10/11 : COPY . . 06:36:46 ---> 90582e037928 06:36:46 Step 11/11 : RUN ${MAKE} 06:36:46 ---> Running in 3ba77cbb6bbc 06:36:46 noop 06:36:46 Removing intermediate container 3ba77cbb6bbc 06:36:46 ---> b144626eb843 06:36:46 Successfully built b144626eb843 06:36:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:46 + docker inspect -f . ci-base-image-x86_64 06:36:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:46 prd-ubuntu20.04-docker-8c-8g-21211 does not seem to be running inside a container 06:36:46 $ 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 06:36:47 $ docker top 41729f3e7832fff60396bc599b6105c384e233a7c8762224d3b239bf93da3923 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:47 + go version 06:36:47 go version go1.18.3 linux/amd64 [Pipeline] } 06:36:47 $ docker stop --time=1 41729f3e7832fff60396bc599b6105c384e233a7c8762224d3b239bf93da3923 06:36:49 $ docker rm -f 41729f3e7832fff60396bc599b6105c384e233a7c8762224d3b239bf93da3923 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:49 + docker inspect -f . ci-base-image-x86_64 06:36:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:49 prd-ubuntu20.04-docker-8c-8g-21211 does not seem to be running inside a container 06:36:49 $ 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 06:36:49 $ docker top 8c33636926dd7e43506ec8caea74cb561a19e8ac837949894458f181e4422fe6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:50 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:36:50 + make test 06:36:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:36:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:37:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 23.7% of statements 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:37:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements 06:37:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.091s coverage: 78.9% of statements 06:37:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.063s coverage: 10.8% of statements 06:37:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.085s coverage: 60.0% of statements 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:37:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 34.8% of statements 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:37:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.044s coverage: 85.4% of statements 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:37:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.083s coverage: 65.1% of statements 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:37:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.766s coverage: 89.2% of statements 06:37:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:37:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 06:37:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:37:25 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." 06:37:25 GO111MODULE=on go vet ./... 06:37:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:37:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:37:28 ./bin/test-attribution-txt.sh 06:37:28 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 06:37:28 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 06:37:28 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 06:37:28 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:37:28 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:37:28 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 06:37:28 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 06:37:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:37:28 $ docker stop --time=1 8c33636926dd7e43506ec8caea74cb561a19e8ac837949894458f181e4422fe6 06:37:30 $ docker rm -f 8c33636926dd7e43506ec8caea74cb561a19e8ac837949894458f181e4422fe6 [Pipeline] // withDockerContainer [Pipeline] sh 06:37:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:37:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:37:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:37:32 + ls -al . 06:37:32 total 304 06:37:32 drwxrwxr-x 11 jenkins jenkins 4096 Jul 27 06:36 . 06:37:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 06:35 .. 06:37:32 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 06:35 .dockerignore 06:37:32 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 06:37 .git 06:37:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 06:35 .github 06:37:32 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 06:35 .gitignore 06:37:32 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 06:35 .golangci.yml 06:37:32 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 06:36 .semver 06:37:32 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 06:35 CHANGELOG.md 06:37:32 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 06:35 GOVERNANCE.md 06:37:32 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 06:35 Jenkinsfile 06:37:32 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 06:35 LICENSE 06:37:32 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 06:35 Makefile 06:37:32 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 06:35 OWNERS.md 06:37:32 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 06:35 README.md 06:37:32 -rw-rw-r-- 1 jenkins jenkins 12 Jul 27 06:36 VERSION 06:37:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 06:35 bin 06:37:32 -rw-r--r-- 1 jenkins jenkins 131352 Jul 27 06:37 coverage.out 06:37:32 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 06:35 example 06:37:32 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 06:35 go.mod 06:37:32 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 06:35 go.sum 06:37:32 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 06:35 internal 06:37:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 06:35 openapi 06:37:32 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 06:35 pkg 06:37:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 06:35 snap 06:37:32 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 06:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:32 + 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=05709587d91994e95fbbf030ae60546eede8820e --label arch=amd64 --label version=2.3.0-dev.15 . 06:37:32 Sending build context to Docker daemon 9.878MB 06:37:32 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:37:32 Step 2/25 : FROM ${BASE} AS builder 06:37:32 ---> b144626eb843 06:37:32 Step 3/25 : ARG MAKE=make build 06:37:32 ---> Running in b5aae3b2f936 06:37:32 Removing intermediate container b5aae3b2f936 06:37:32 ---> 4df726a766d0 06:37:32 Step 4/25 : WORKDIR /device-sdk-go 06:37:32 ---> Running in 0571d377aa70 06:37:32 Removing intermediate container 0571d377aa70 06:37:32 ---> 6da231abd78d 06:37:32 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:37:33 ---> Running in 19c5271bc8be 06:37:33 Removing intermediate container 19c5271bc8be 06:37:33 ---> db50c9d0a6b2 06:37:33 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:37:33 ---> Running in 1476b6957a8c 06:37:33 Removing intermediate container 1476b6957a8c 06:37:33 ---> 1d92f6949ebb 06:37:33 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:37:33 ---> Running in 09ec68903ecd 06:37:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:37:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:37:35 OK: 211 MiB in 51 packages 06:37:35 Removing intermediate container 09ec68903ecd 06:37:35 ---> 70ab8a8c208c 06:37:35 Step 8/25 : COPY go.mod vendor* ./ 06:37:35 ---> 3d333749a5c0 06:37:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:37:35 ---> Running in e6a44e21cb58 06:37:36 Removing intermediate container e6a44e21cb58 06:37:36 ---> 22c6e1a29ecd 06:37:36 Step 10/25 : COPY . . 06:37:36 ---> 52bacc149471 06:37:36 Step 11/25 : RUN ${MAKE} 06:37:36 ---> Running in 08ae90ccafb7 06:37:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:37:51 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:37:55 Removing intermediate container 08ae90ccafb7 06:37:55 ---> 86646cf1a4f5 06:37:55 Step 12/25 : FROM alpine:3.16 06:37:55 3.16: Pulling from library/alpine 06:37:55 530afca65e2e: Pulling fs layer 06:37:55 530afca65e2e: Download complete 06:37:56 530afca65e2e: Pull complete 06:37:56 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 06:37:56 Status: Downloaded newer image for alpine:3.16 06:37:56 ---> d7d3d98c851f 06:37:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:37:56 ---> Running in 62d2dbddf6c8 06:37:56 Removing intermediate container 62d2dbddf6c8 06:37:56 ---> ea00f891ad77 06:37:56 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:37:56 ---> Running in 4d7eac6c7284 06:37:56 Removing intermediate container 4d7eac6c7284 06:37:56 ---> 8a3bc8ae5131 06:37:56 Step 15/25 : RUN apk add --update --no-cache zeromq 06:37:56 ---> Running in 08c12b638c05 06:37:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:37:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:37:58 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:37:58 (2/5) Installing libsodium (1.0.18-r0) 06:37:58 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:37:58 (4/5) Installing libzmq (4.3.4-r0) 06:37:58 (5/5) Installing zeromq (4.3.4-r0) 06:37:58 Executing busybox-1.35.0-r15.trigger 06:37:58 OK: 8 MiB in 19 packages 06:37:59 Removing intermediate container 08c12b638c05 06:37:59 ---> 18ba62b012c8 06:37:59 Step 16/25 : WORKDIR / 06:37:59 ---> Running in 4e2e7af49a6d 06:37:59 Removing intermediate container 4e2e7af49a6d 06:37:59 ---> 537b5621d6b5 06:37:59 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:37:59 ---> 644fdcce22a8 06:37:59 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:37:59 ---> 0ad1c3f494f7 06:37:59 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:37:59 ---> 51fff27c71eb 06:37:59 Step 20/25 : EXPOSE 59999 06:37:59 ---> Running in f8ac402d6f70 06:38:00 Removing intermediate container f8ac402d6f70 06:38:00 ---> 9fdd7af0e0be 06:38:00 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:38:00 ---> Running in 45bbed2d1590 06:38:00 Removing intermediate container 45bbed2d1590 06:38:00 ---> ce74644f4eb8 06:38:00 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:38:00 ---> Running in 1bf464fcf369 06:38:00 Removing intermediate container 1bf464fcf369 06:38:00 ---> 63c0b15ec818 06:38:00 Step 23/25 : LABEL arch=amd64 06:38:00 ---> Running in fc94123f5860 06:38:00 Removing intermediate container fc94123f5860 06:38:00 ---> 2dbaafbda6af 06:38:00 Step 24/25 : LABEL git_sha=05709587d91994e95fbbf030ae60546eede8820e 06:38:00 ---> Running in 940c110bd48e 06:38:00 Removing intermediate container 940c110bd48e 06:38:00 ---> 4e72d6c299d9 06:38:00 Step 25/25 : LABEL version=2.3.0-dev.15 06:38:00 ---> Running in 32df16d8e28f 06:38:00 Removing intermediate container 32df16d8e28f 06:38:00 ---> 6b39bb0ec6cd 06:38:00 [Warning] One or more build-args [ARCH] were not consumed 06:38:00 Successfully built 6b39bb0ec6cd 06:38:00 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 06:38:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:38:01 06:38:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:38:01 latest: Pulling from edgex-lftools-log-publisher 06:38:01 5eb5b503b376: Pulling fs layer 06:38:01 5c69ac0246d0: Pulling fs layer 06:38:01 ec43610c2a17: Pulling fs layer 06:38:01 3a2ae6a8a46f: Pulling fs layer 06:38:01 33b1e0a273af: Pulling fs layer 06:38:01 5d3b04190fa2: Pulling fs layer 06:38:01 2f39f015ded8: Pulling fs layer 06:38:01 3a2ae6a8a46f: Waiting 06:38:01 33b1e0a273af: Waiting 06:38:01 5d3b04190fa2: Waiting 06:38:01 2f39f015ded8: Waiting 06:38:01 5c69ac0246d0: Download complete 06:38:01 3a2ae6a8a46f: Verifying Checksum 06:38:01 3a2ae6a8a46f: Download complete 06:38:01 33b1e0a273af: Verifying Checksum 06:38:01 33b1e0a273af: Download complete 06:38:01 ec43610c2a17: Verifying Checksum 06:38:01 ec43610c2a17: Download complete 06:38:01 5d3b04190fa2: Verifying Checksum 06:38:01 5d3b04190fa2: Download complete 06:38:01 5eb5b503b376: Verifying Checksum 06:38:01 5eb5b503b376: Download complete 06:38:03 5eb5b503b376: Pull complete 06:38:03 5c69ac0246d0: Pull complete 06:38:03 ec43610c2a17: Pull complete 06:38:03 3a2ae6a8a46f: Pull complete 06:38:03 33b1e0a273af: Pull complete 06:38:03 5d3b04190fa2: Pull complete 06:38:08 2f39f015ded8: Pull complete 06:38:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:38:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:38:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21212 in /w/workspace/edgexfoundry_device-sdk-go_main 06:38:08 prd-ubuntu20.04-docker-8c-8g-21211 does not seem to be running inside a container 06:38:08 $ 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 06:38:09 $ docker top 73ea9b58e34a7a9cbfd661a0f821392e60017d2b3ee53721789019e3b083bf27 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 06:38:10 Running in /w/workspace/device-sdk-go/90 [Pipeline] { [Pipeline] checkout 06:38:10 The recommended git tool is: git 06:38:10 ---> job-cost.sh 06:38:10 lf-activate-venv: SKIPPING 06:38:10 INFO: No Stack... 06:38:10 INFO: Retrieving Pricing Info for: v3-standard-8 06:38:11 INFO: Archiving Costs [Pipeline] sh 06:38:11 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:38:11 + cut -d, -f6 [Pipeline] lock 06:38:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-90-stack-cost] 06:38:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-90-stack-cost] did not exist. Created. 06:38:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:38:11 + echo total: 0.2199999988079071 [Pipeline] stash 06:38:11 Stashed 1 file(s) [Pipeline] } 06:38:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 06:38:11 $ docker stop --time=1 73ea9b58e34a7a9cbfd661a0f821392e60017d2b3ee53721789019e3b083bf27 06:38:13 $ docker rm -f 73ea9b58e34a7a9cbfd661a0f821392e60017d2b3ee53721789019e3b083bf27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:38:16 using credential edgex-jenkins-ssh 06:38:16 Cloning the remote Git repository 06:38:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:38:16 > git init /w/workspace/device-sdk-go/90 # timeout=10 06:38:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:38:16 > git --version # timeout=10 06:38:16 > git --version # 'git version 2.25.1' 06:38:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:38:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:38:17 Avoid second fetch 06:38:17 Checking out Revision 05709587d91994e95fbbf030ae60546eede8820e (main) 06:38:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:38:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:38:17 > git config core.sparsecheckout # timeout=10 06:38:17 > git checkout -f 05709587d91994e95fbbf030ae60546eede8820e # timeout=10 06:38:22 Commit message: "Merge pull request #1201 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.12" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:38:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:38:23 % Total % Received % Xferd Average Speed Time Time Time Current 06:38:23 Dload Upload Total Spent Left Speed 06:38:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 91348 0 --:--:-- --:--:-- --:--:-- 91348 [Pipeline] sh 06:38:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:38:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 06:38:24 sudo tee /etc/docker/daemon.new 06:38:24 { 06:38:24 "registry-mirrors": [ 06:38:24 "https://nexus3.edgexfoundry.org:10001" 06:38:24 ], 06:38:24 "bip": "10.250.0.254/24", 06:38:24 "hosts": [ 06:38:24 "tcp://0.0.0.0:5555", 06:38:24 "unix:///var/run/docker.sock" 06:38:24 ], 06:38:24 "mtu": 1458, 06:38:24 "selinux-enabled": true, 06:38:24 "seccomp-profile": "/etc/docker/seccomp.json" 06:38:24 } [Pipeline] sh 06:38:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:38:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:38:43 provisioning config files... 06:38:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/90@tmp/config7915303823134552226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:38:43 ---> docker-login.sh 06:38:43 nexus3.edgexfoundry.org:10001 06:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:44 Configure a credential helper to remove this warning. See 06:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:44 06:38:44 Login Succeeded 06:38:44 nexus3.edgexfoundry.org:10002 06:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:44 Configure a credential helper to remove this warning. See 06:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:44 06:38:44 Login Succeeded 06:38:44 nexus3.edgexfoundry.org:10003 06:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:45 Configure a credential helper to remove this warning. See 06:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:45 06:38:45 Login Succeeded 06:38:45 nexus3.edgexfoundry.org:10004 06:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:45 Configure a credential helper to remove this warning. See 06:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:45 06:38:45 Login Succeeded 06:38:45 docker.io 06:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:38:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:38:46 Configure a credential helper to remove this warning. See 06:38:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:38:46 06:38:46 Login Succeeded 06:38:46 ---> docker-login.sh ends [Pipeline] } 06:38:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:38:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:38:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:38:47 ========================================================= 06:38:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:38:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:47 + 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 . 06:38:48 Sending build context to Docker daemon 5.23MB 06:38:48 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 06:38:48 Step 2/11 : FROM ${BASE} AS builder 06:38:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:38:48 b3c136eddcbf: Pulling fs layer 06:38:48 c0a3192eca97: Pulling fs layer 06:38:48 a050256f5b6f: Pulling fs layer 06:38:48 656be50a0ddc: Pulling fs layer 06:38:48 2bbca73fdf42: Pulling fs layer 06:38:48 46d945488cbd: Pulling fs layer 06:38:48 8a5474983e97: Pulling fs layer 06:38:48 329c88fbcd65: Pulling fs layer 06:38:48 656be50a0ddc: Waiting 06:38:48 2bbca73fdf42: Waiting 06:38:48 46d945488cbd: Waiting 06:38:48 8a5474983e97: Waiting 06:38:48 329c88fbcd65: Waiting 06:38:48 a050256f5b6f: Download complete 06:38:48 c0a3192eca97: Verifying Checksum 06:38:48 c0a3192eca97: Download complete 06:38:48 2bbca73fdf42: Verifying Checksum 06:38:48 2bbca73fdf42: Download complete 06:38:48 46d945488cbd: Download complete 06:38:48 b3c136eddcbf: Verifying Checksum 06:38:48 b3c136eddcbf: Download complete 06:38:49 b3c136eddcbf: Pull complete 06:38:49 329c88fbcd65: Verifying Checksum 06:38:49 329c88fbcd65: Download complete 06:38:49 c0a3192eca97: Pull complete 06:38:50 a050256f5b6f: Pull complete 06:38:50 8a5474983e97: Verifying Checksum 06:38:50 8a5474983e97: Download complete 06:38:51 656be50a0ddc: Verifying Checksum 06:38:51 656be50a0ddc: Download complete 06:39:06 656be50a0ddc: Pull complete 06:39:06 2bbca73fdf42: Pull complete 06:39:06 46d945488cbd: Pull complete 06:39:10 8a5474983e97: Pull complete 06:39:13 329c88fbcd65: Pull complete 06:39:13 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 06:39:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:39:13 ---> ff4287adb874 06:39:13 Step 3/11 : ARG MAKE=make build 06:39:13 ---> Running in 703e971106ec 06:39:13 Removing intermediate container 703e971106ec 06:39:13 ---> 839582e8dee7 06:39:13 Step 4/11 : WORKDIR /device-sdk-go 06:39:14 ---> Running in 82f819d800cc 06:39:14 Removing intermediate container 82f819d800cc 06:39:14 ---> 3cee1b604d48 06:39:14 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:39:14 ---> Running in 9779e1eb4a0a 06:39:14 Removing intermediate container 9779e1eb4a0a 06:39:14 ---> 386ddefe58a9 06:39:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:15 ---> Running in 8ef05c0dcd72 06:39:17 Removing intermediate container 8ef05c0dcd72 06:39:17 ---> b9c876445e0f 06:39:17 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:39:17 ---> Running in 29f2c894af43 06:39:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:39:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:39:20 OK: 221 MiB in 51 packages 06:39:20 Removing intermediate container 29f2c894af43 06:39:20 ---> d438ade2b43c 06:39:20 Step 8/11 : COPY go.mod vendor* ./ 06:39:21 ---> d007c81c4192 06:39:21 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:39:21 ---> Running in ab97ebc820e1 06:40:08 Removing intermediate container ab97ebc820e1 06:40:08 ---> 85bb1a7365eb 06:40:08 Step 10/11 : COPY . . 06:40:08 ---> 362273650f8e 06:40:08 Step 11/11 : RUN ${MAKE} 06:40:08 ---> Running in ab747c403782 06:40:09 noop 06:40:09 Removing intermediate container ab747c403782 06:40:09 ---> 7edc25388167 06:40:09 Successfully built 7edc25388167 06:40:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:10 + docker inspect -f . ci-base-image-arm64 06:40:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:10 prd-ubuntu20.04-docker-arm64-4c-16g-21212 does not seem to be running inside a container 06:40:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/90 -v /w/workspace/device-sdk-go/90:/w/workspace/device-sdk-go/90:rw,z -v /w/workspace/device-sdk-go/90@tmp:/w/workspace/device-sdk-go/90@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 06:40:11 $ docker top 0671e46b86832c25fc53dc3e8da2a0804e1acef7e2bffa8e7bf185bc2c7acb74 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:12 + go version 06:40:12 go version go1.18.3 linux/arm64 [Pipeline] } 06:40:12 $ docker stop --time=1 0671e46b86832c25fc53dc3e8da2a0804e1acef7e2bffa8e7bf185bc2c7acb74 06:40:14 $ docker rm -f 0671e46b86832c25fc53dc3e8da2a0804e1acef7e2bffa8e7bf185bc2c7acb74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:14 + docker inspect -f . ci-base-image-arm64 06:40:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:15 prd-ubuntu20.04-docker-arm64-4c-16g-21212 does not seem to be running inside a container 06:40:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/90 -v /w/workspace/device-sdk-go/90:/w/workspace/device-sdk-go/90:rw,z -v /w/workspace/device-sdk-go/90@tmp:/w/workspace/device-sdk-go/90@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 06:40:16 $ docker top 4bb1622a215879bd4c0b5a3513f33c28a36744985643bc1f40d88947ac1eddd7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:17 + git config --global --add safe.directory /w/workspace/device-sdk-go/90 [Pipeline] fileExists [Pipeline] sh 06:40:18 + make test 06:40:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:40:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:42:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.374s coverage: 23.7% of statements 06:42:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:42:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.385s coverage: 27.6% of statements 06:42:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.289s coverage: 78.9% of statements 06:42:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.367s coverage: 10.8% of statements 06:42:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.386s coverage: 60.0% of statements 06:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:42:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.419s coverage: 34.8% of statements 06:42:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:42:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.378s coverage: 85.4% of statements 06:42:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:42:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:42:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.520s coverage: 65.1% of statements 06:42:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:42:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:42:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.933s coverage: 89.2% of statements 06:42:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:42:49 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.228s coverage: 4.7% of statements 06:42:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:42:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:42:49 GO111MODULE=on go vet ./... 06:44:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:44:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:44:11 ./bin/test-attribution-txt.sh 06:44:11 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 06:44:11 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 06:44:11 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 06:44:11 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:44:11 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:44:11 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 06:44:11 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 06:44:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:44:11 $ docker stop --time=1 4bb1622a215879bd4c0b5a3513f33c28a36744985643bc1f40d88947ac1eddd7 06:44:13 $ docker rm -f 4bb1622a215879bd4c0b5a3513f33c28a36744985643bc1f40d88947ac1eddd7 [Pipeline] // withDockerContainer [Pipeline] sh 06:44:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:44:14 Warning: overwriting stash ‘coverage-report’ 06:44:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:44:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:16 + ls -al . 06:44:16 total 300 06:44:16 drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 06:40 . 06:44:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 06:38 .. 06:44:16 -rw-rw-r-- 1 jenkins jenkins 140 Jul 27 06:38 .dockerignore 06:44:16 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 06:38 .git 06:44:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 06:38 .github 06:44:16 -rw-rw-r-- 1 jenkins jenkins 131 Jul 27 06:38 .gitignore 06:44:16 -rw-rw-r-- 1 jenkins jenkins 42 Jul 27 06:38 .golangci.yml 06:44:16 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 27 06:38 CHANGELOG.md 06:44:16 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 06:38 GOVERNANCE.md 06:44:16 -rw-rw-r-- 1 jenkins jenkins 880 Jul 27 06:38 Jenkinsfile 06:44:16 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 27 06:38 LICENSE 06:44:16 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 27 06:38 Makefile 06:44:16 -rw-rw-r-- 1 jenkins jenkins 619 Jul 27 06:38 OWNERS.md 06:44:16 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 27 06:38 README.md 06:44:16 -rw-rw-r-- 1 jenkins jenkins 12 Jul 27 06:36 VERSION 06:44:16 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 06:38 bin 06:44:16 -rw-r--r-- 1 jenkins jenkins 131352 Jul 27 06:42 coverage.out 06:44:16 drwxrwxr-x 5 jenkins jenkins 4096 Jul 27 06:38 example 06:44:16 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 27 06:38 go.mod 06:44:16 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 27 06:38 go.sum 06:44:16 drwxrwxr-x 15 jenkins jenkins 4096 Jul 27 06:38 internal 06:44:16 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 06:38 openapi 06:44:16 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 06:38 pkg 06:44:16 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 06:38 snap 06:44:16 -rw-rw-r-- 1 jenkins jenkins 222 Jul 27 06:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:16 + 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=05709587d91994e95fbbf030ae60546eede8820e --label arch=arm64 --label version=2.3.0-dev.15 . 06:44:16 Sending build context to Docker daemon 5.362MB 06:44:17 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:44:17 Step 2/25 : FROM ${BASE} AS builder 06:44:17 ---> 7edc25388167 06:44:17 Step 3/25 : ARG MAKE=make build 06:44:17 ---> Running in 67a0a7f2612b 06:44:17 Removing intermediate container 67a0a7f2612b 06:44:17 ---> 35618db7b8d0 06:44:17 Step 4/25 : WORKDIR /device-sdk-go 06:44:17 ---> Running in a1cd85d675f7 06:44:17 Removing intermediate container a1cd85d675f7 06:44:17 ---> 1e6199484ade 06:44:17 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:44:17 ---> Running in 1244059ef345 06:44:18 Removing intermediate container 1244059ef345 06:44:18 ---> ae9c9fb370d0 06:44:18 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:18 ---> Running in e12794785fe7 06:44:20 Removing intermediate container e12794785fe7 06:44:20 ---> 3d3b8a5af654 06:44:20 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:44:20 ---> Running in beee22d091d7 06:44:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:44:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:44:22 OK: 221 MiB in 51 packages 06:44:23 Removing intermediate container beee22d091d7 06:44:23 ---> 40b8e8943403 06:44:23 Step 8/25 : COPY go.mod vendor* ./ 06:44:23 ---> ef2abc930f69 06:44:23 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:44:23 ---> Running in 7eb86620b1db 06:44:25 Removing intermediate container 7eb86620b1db 06:44:25 ---> a6c64d8250a3 06:44:25 Step 10/25 : COPY . . 06:44:26 ---> 8269e6db27d6 06:44:26 Step 11/25 : RUN ${MAKE} 06:44:26 ---> Running in e415973feac2 06:44:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:46:34 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:46:34 Removing intermediate container e415973feac2 06:46:34 ---> 973c16a87e87 06:46:34 Step 12/25 : FROM alpine:3.16 06:46:34 3.16: Pulling from library/alpine 06:46:34 f97344484467: Pulling fs layer 06:46:34 f97344484467: Verifying Checksum 06:46:34 f97344484467: Download complete 06:46:34 f97344484467: Pull complete 06:46:34 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 06:46:34 Status: Downloaded newer image for alpine:3.16 06:46:34 ---> 3d81c46cd875 06:46:34 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:46:34 ---> Running in 6e0949d735b1 06:46:34 Removing intermediate container 6e0949d735b1 06:46:34 ---> ba18d3efcf0a 06:46:34 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:46:34 ---> Running in e53bcd0c72c9 06:46:34 Removing intermediate container e53bcd0c72c9 06:46:34 ---> 7828c416271a 06:46:34 Step 15/25 : RUN apk add --update --no-cache zeromq 06:46:34 ---> Running in 59e84607c1fb 06:46:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:46:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:46:35 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:46:35 (2/5) Installing libsodium (1.0.18-r0) 06:46:35 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:46:35 (4/5) Installing libzmq (4.3.4-r0) 06:46:35 (5/5) Installing zeromq (4.3.4-r0) 06:46:35 Executing busybox-1.35.0-r15.trigger 06:46:35 OK: 8 MiB in 19 packages 06:46:36 Removing intermediate container 59e84607c1fb 06:46:36 ---> 5cd7128da349 06:46:36 Step 16/25 : WORKDIR / 06:46:36 ---> Running in 4851e426a933 06:46:36 Removing intermediate container 4851e426a933 06:46:36 ---> 92a6b14c8b89 06:46:36 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:46:37 ---> 62f951fa3015 06:46:37 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:46:38 ---> 276e9848a33b 06:46:38 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:46:39 ---> d13ca4421951 06:46:39 Step 20/25 : EXPOSE 59999 06:46:39 ---> Running in 790bcf6e9846 06:46:39 Removing intermediate container 790bcf6e9846 06:46:39 ---> aa0148ff3a6b 06:46:39 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:46:40 ---> Running in e2f89e8405b4 06:46:40 Removing intermediate container e2f89e8405b4 06:46:40 ---> 49d1f5617a9d 06:46:40 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:46:40 ---> Running in 74073dc01d1e 06:46:40 Removing intermediate container 74073dc01d1e 06:46:40 ---> 8c2a3f9135c9 06:46:40 Step 23/25 : LABEL arch=arm64 06:46:40 ---> Running in 82f1b1323908 06:46:40 Removing intermediate container 82f1b1323908 06:46:40 ---> 11d732cf5553 06:46:40 Step 24/25 : LABEL git_sha=05709587d91994e95fbbf030ae60546eede8820e 06:46:41 ---> Running in 90081ebe237a 06:46:41 Removing intermediate container 90081ebe237a 06:46:41 ---> 6c7c2e6c645d 06:46:41 Step 25/25 : LABEL version=2.3.0-dev.15 06:46:41 ---> Running in cd7674fd4809 06:46:41 Removing intermediate container cd7674fd4809 06:46:41 ---> d97cd65d6d40 06:46:41 [Warning] One or more build-args [ARCH] were not consumed 06:46:41 Successfully built d97cd65d6d40 06:46:41 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 06:46:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:46:42 06:46:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:46:42 arm64: Pulling from edgex-lftools-log-publisher 06:46:42 8998bd30e6a1: Pulling fs layer 06:46:42 04944245beec: Pulling fs layer 06:46:42 699f458cf7ca: Pulling fs layer 06:46:42 765212b225bb: Pulling fs layer 06:46:42 f23df028b6ca: Pulling fs layer 06:46:42 d65c8cfc05b1: Pulling fs layer 06:46:42 2437ff75d9bd: Pulling fs layer 06:46:42 f23df028b6ca: Waiting 06:46:42 d65c8cfc05b1: Waiting 06:46:42 2437ff75d9bd: Waiting 06:46:42 765212b225bb: Waiting 06:46:42 04944245beec: Verifying Checksum 06:46:42 04944245beec: Download complete 06:46:42 765212b225bb: Verifying Checksum 06:46:42 765212b225bb: Download complete 06:46:42 f23df028b6ca: Verifying Checksum 06:46:42 f23df028b6ca: Download complete 06:46:42 d65c8cfc05b1: Verifying Checksum 06:46:42 d65c8cfc05b1: Download complete 06:46:43 699f458cf7ca: Download complete 06:46:43 8998bd30e6a1: Verifying Checksum 06:46:43 8998bd30e6a1: Download complete 06:46:45 2437ff75d9bd: Verifying Checksum 06:46:45 2437ff75d9bd: Download complete 06:46:48 8998bd30e6a1: Pull complete 06:46:48 04944245beec: Pull complete 06:46:49 699f458cf7ca: Pull complete 06:46:50 765212b225bb: Pull complete 06:46:50 f23df028b6ca: Pull complete 06:46:50 d65c8cfc05b1: Pull complete 06:47:06 2437ff75d9bd: Pull complete 06:47:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:47:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:47:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:06 prd-ubuntu20.04-docker-arm64-4c-16g-21212 does not seem to be running inside a container 06:47:06 $ 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/90 -v /w/workspace/device-sdk-go/90:/w/workspace/device-sdk-go/90:rw,z -v /w/workspace/device-sdk-go/90@tmp:/w/workspace/device-sdk-go/90@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 06:47:08 $ docker top 396f2dc6163affcc701be9a5950b910f1acf24798b66253f3fb63f175fd929ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:47:09 ---> job-cost.sh 06:47:09 lf-activate-venv: SKIPPING 06:47:09 INFO: No Stack... 06:47:10 INFO: Retrieving Pricing Info for: v3-standard-4 06:47:11 INFO: Archiving Costs [Pipeline] sh 06:47:11 + cat /w/workspace/device-sdk-go/90/archives/cost.csv 06:47:11 + cut -d, -f6 [Pipeline] lock 06:47:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-90-stack-cost] 06:47:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-90-stack-cost] did not exist. Created. 06:47:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:47:12 /w/workspace/device-sdk-go/90@tmp/durable-b548921a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:47:13 + echo total: 0.10999999940395355 [Pipeline] stash 06:47:13 Warning: overwriting stash ‘stack-cost’ 06:47:13 Stashed 1 file(s) [Pipeline] } 06:47:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 06:47:13 $ docker stop --time=1 396f2dc6163affcc701be9a5950b910f1acf24798b66253f3fb63f175fd929ef 06:47:14 $ docker rm -f 396f2dc6163affcc701be9a5950b910f1acf24798b66253f3fb63f175fd929ef [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 06:47:15 provisioning config files... 06:47:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7065606955934248332tmp [Pipeline] { [Pipeline] sh 06:47:15 + set +x 06:47:15 + curl+ -s https://codecov.io/bash 06:47:15 bash -s -- 06:47:15 06:47:15 _____ _ 06:47:15 / ____| | | 06:47:15 | | ___ __| | ___ ___ _____ __ 06:47:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:47:15 | |___| (_) | (_| | __/ (_| (_) \ V / 06:47:15 \_____\___/ \__,_|\___|\___\___/ \_/ 06:47:15 Bash-1.0.6 06:47:15 06:47:15 06:47:15 ==> git version 2.25.1 found 06:47:15 ==> 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 06:47:15 Release-Date: 2020-01-08 06:47:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:47:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:47:15 ==> Jenkins CI detected. 06:47:15 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:47:15 project root: . 06:47:15 --> token set from env 06:47:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:47:15 ==> Running gcov in . (disable via -X gcov) 06:47:15 ==> Python coveragepy not found 06:47:15 ==> Searching for coverage reports in: 06:47:15 + . 06:47:15 -> Found 1 reports 06:47:15 ==> Detecting git/mercurial file structure 06:47:15 ==> Reading reports 06:47:15 + ./coverage.out bytes=131352 06:47:15 ==> Appending adjustments 06:47:15 https://docs.codecov.io/docs/fixing-reports 06:47:16 + Found adjustments 06:47:16 ==> Gzipping contents 06:47:16 20K /tmp/codecov.Y48zKf.gz 06:47:16 ==> Uploading reports 06:47:16 url: https://codecov.io 06:47:16 query: branch=main&commit=05709587d91994e95fbbf030ae60546eede8820e&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:47:16 -> Pinging Codecov 06:47:16 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=05709587d91994e95fbbf030ae60546eede8820e&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:47:16 -> Uploading to 06:47:16 https://storage.googleapis.com/codecov/v4/raw/2022-07-27/7E55EF52A471D76F132DFD9A03CDDE97/05709587d91994e95fbbf030ae60546eede8820e/242ecaa9-c889-4034-834e-a551d7b13b13.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220727T064716Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94363ef9dc01a95c4d5d42ed9de2ee7d606e8bdc5553e4466d6c0d7e5af863a6 06:47:16 % Total % Received % Xferd Average Speed Time Time Time Current 06:47:16 Dload Upload Total Spent Left Speed 06:47:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17281 0 0 100 17281 0 70823 --:--:-- --:--:-- --:--:-- 70823 06:47:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/05709587d91994e95fbbf030ae60546eede8820e [Pipeline] } 06:47:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:47:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:47:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:47:17 06:47:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:47:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:47:17 df9b9388f04a: Pulling fs layer 06:47:17 52dc419b0ee2: Pulling fs layer 06:47:17 25bc292e5bac: Pulling fs layer 06:47:17 114826534d7a: Pulling fs layer 06:47:17 4657fd5d0bcf: Pulling fs layer 06:47:17 6ad1cebc031e: Pulling fs layer 06:47:17 8a3aa393b2d8: Pulling fs layer 06:47:17 114826534d7a: Waiting 06:47:17 4657fd5d0bcf: Waiting 06:47:17 6ad1cebc031e: Waiting 06:47:17 8a3aa393b2d8: Waiting 06:47:17 25bc292e5bac: Verifying Checksum 06:47:17 25bc292e5bac: Download complete 06:47:17 52dc419b0ee2: Verifying Checksum 06:47:17 52dc419b0ee2: Download complete 06:47:17 4657fd5d0bcf: Verifying Checksum 06:47:17 4657fd5d0bcf: Download complete 06:47:17 df9b9388f04a: Download complete 06:47:17 6ad1cebc031e: Verifying Checksum 06:47:17 6ad1cebc031e: Download complete 06:47:17 df9b9388f04a: Pull complete 06:47:17 52dc419b0ee2: Pull complete 06:47:17 25bc292e5bac: Pull complete 06:47:18 114826534d7a: Verifying Checksum 06:47:18 114826534d7a: Download complete 06:47:18 8a3aa393b2d8: Verifying Checksum 06:47:18 8a3aa393b2d8: Download complete 06:47:21 114826534d7a: Pull complete 06:47:21 4657fd5d0bcf: Pull complete 06:47:22 6ad1cebc031e: Pull complete 06:47:24 8a3aa393b2d8: Pull complete 06:47:24 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:47:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:47:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:24 prd-ubuntu20.04-docker-8c-8g-21211 does not seem to be running inside a container 06:47:24 $ 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 06:47:26 $ docker top f786729abfbeb54521de744a2755e4becd174472fa8b08cc89677decc940ef32 -eo pid,comm [Pipeline] { [Pipeline] echo 06:47:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 06:47:26 + set -o pipefail 06:47:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 06:47:32 06:47:32 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 06:47:32 06:47:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/f57afe3d-ea69-4bfc-a0b9-08193737c5bb 06:47:32 06:47:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:47:32 06:47:32 [Pipeline] } 06:47:32 $ docker stop --time=1 f786729abfbeb54521de744a2755e4becd174472fa8b08cc89677decc940ef32 06:47:34 $ docker rm -f f786729abfbeb54521de744a2755e4becd174472fa8b08cc89677decc940ef32 [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 06:47:34 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:47:34 provisioning config files... 06:47:34 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8081448209894631663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:47:35 --> edgex-publish-swagger.sh 06:47:35 === Publish openapi/v2 API === 06:47:35 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 06:47:35 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 06:47:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:47:35 Dload Upload Total Spent Left Speed 06:47:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 60993 --:--:-- --:--:-- --:--:-- 60993 06:47:36 06:47:36 [Pipeline] } 06:47:36 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 06:47:36 + git log --format=format:%s -1 05709587d91994e95fbbf030ae60546eede8820e [Pipeline] sh 06:47:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:47:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:47:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:37 prd-ubuntu20.04-docker-8c-8g-21211 does not seem to be running inside a container 06:47:37 $ 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 06:47:37 $ docker top bad51a3c0578f3edf7cc09a0cf71655729329df8ef4d25cd2b23d2459d31e851 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:47:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:47:37 [ssh-agent] Looking for ssh-agent implementation... 06:47:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:47:37 $ docker exec bad51a3c0578f3edf7cc09a0cf71655729329df8ef4d25cd2b23d2459d31e851 ssh-agent 06:47:38 SSH_AUTH_SOCK=/tmp/ssh-QJKKpuUFVnyC/agent.33 06:47:38 SSH_AGENT_PID=40 06:47:38 Running ssh-add (command line suppressed) 06:47:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6037591896633306428.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6037591896633306428.key) 06:47:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:47:38 + git semver tag 06:47:38 2022-07-27 06:47:38,629 [run_tag] DEBUG tag force:False 06:47:38 2022-07-27 06:47:38,629 [check_head_tag] DEBUG check head tag 06:47:38 2022-07-27 06:47:38,630 [execute] INFO git cat-file --batch-check 06:47:38 2022-07-27 06:47:38,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:47:38 2022-07-27 06:47:38,633 [execute] INFO git cat-file --batch 06:47:38 2022-07-27 06:47:38,634 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:47:38 2022-07-27 06:47:38,645 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:47:38 2022-07-27 06:47:38,645 [execute] INFO git tag -a v2.3.0-dev.15 -m v2.3.0-dev.15 06:47:38 2022-07-27 06:47:38,645 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.15', '-m', 'v2.3.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:47:38 2022-07-27 06:47:38,648 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:47:38 2.3.0-dev.15 [Pipeline] } 06:47:38 $ docker exec --env ******** --env ******** bad51a3c0578f3edf7cc09a0cf71655729329df8ef4d25cd2b23d2459d31e851 ssh-agent -k 06:47:38 unset SSH_AUTH_SOCK; 06:47:38 unset SSH_AGENT_PID; 06:47:38 echo Agent pid 40 killed; 06:47:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:47:39 + git semver [Pipeline] } 06:47:39 $ docker stop --time=1 bad51a3c0578f3edf7cc09a0cf71655729329df8ef4d25cd2b23d2459d31e851 06:47:40 $ docker rm -f bad51a3c0578f3edf7cc09a0cf71655729329df8ef4d25cd2b23d2459d31e851 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:47:41 06:47:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:47:41 0.23.1-centos7: Pulling from edgex-lftools 06:47:41 ab5ef0e58194: Pulling fs layer 06:47:41 9712f1f96733: Pulling fs layer 06:47:41 63f879dbbcfc: Pulling fs layer 06:47:41 0d9ebad4ef96: Pulling fs layer 06:47:41 e9a5061849ea: Pulling fs layer 06:47:41 d747dcd14b5f: Pulling fs layer 06:47:41 2de7ff778b66: Pulling fs layer 06:47:41 e9a5061849ea: Waiting 06:47:41 0d9ebad4ef96: Waiting 06:47:41 2de7ff778b66: Waiting 06:47:41 d747dcd14b5f: Waiting 06:47:41 9712f1f96733: Verifying Checksum 06:47:41 9712f1f96733: Download complete 06:47:41 63f879dbbcfc: Verifying Checksum 06:47:41 63f879dbbcfc: Download complete 06:47:41 e9a5061849ea: Verifying Checksum 06:47:41 e9a5061849ea: Download complete 06:47:41 d747dcd14b5f: Verifying Checksum 06:47:41 d747dcd14b5f: Download complete 06:47:42 ab5ef0e58194: Verifying Checksum 06:47:42 ab5ef0e58194: Download complete 06:47:42 0d9ebad4ef96: Verifying Checksum 06:47:42 0d9ebad4ef96: Download complete 06:47:42 2de7ff778b66: Verifying Checksum 06:47:42 2de7ff778b66: Download complete 06:47:44 ab5ef0e58194: Pull complete 06:47:45 9712f1f96733: Pull complete 06:47:45 63f879dbbcfc: Pull complete 06:47:49 0d9ebad4ef96: Pull complete 06:47:49 e9a5061849ea: Pull complete 06:47:49 d747dcd14b5f: Pull complete 06:47:50 2de7ff778b66: Pull complete 06:47:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:47:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:47:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:50 prd-ubuntu20.04-docker-8c-8g-21211 does not seem to be running inside a container 06:47:50 $ 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 06:47:53 $ docker top 64a31a3a5059a5bacc4662f4a3c0ac084492a9f9c92d75f4f801432a29e9408e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:47:53 provisioning config files... 06:47:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9041335785570562678tmp 06:47:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6664592180672732803tmp 06:47:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5691918305333768165tmp [Pipeline] { [Pipeline] echo 06:47:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:47:53 ---> sigul-configuration.sh 06:47:53 gpg: directory `/root/.gnupg' created 06:47:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:47:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:47:53 gpg: keyring `/root/.gnupg/secring.gpg' created 06:47:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:47:53 gpg: CAST5 encrypted data 06:47:53 gpg: encrypted with 1 passphrase 06:47:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:47:53 + mkdir /home/jenkins 06:47:53 + mkdir /home/jenkins/sigul [Pipeline] sh 06:47:54 + 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 06:47:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:47:54 ---> sigul-install.sh 06:47:54 Sigul already installed; skipping installation. [Pipeline] sh 06:47:54 + git tag --list 06:47:54 0.7.1 06:47:54 delhi-tag 06:47:54 v1.0.0 06:47:54 v1.1.0 06:47:54 v1.1.1 06:47:54 v1.1.2 06:47:54 v1.2.0 06:47:54 v1.2.1 06:47:54 v1.2.2 06:47:54 v1.2.3 06:47:54 v1.3.0 06:47:54 v1.4.0 06:47:54 v2.0.0 06:47:54 v2.1.0 06:47:54 v2.1.1 06:47:54 v2.1.1-dev.2 06:47:54 v2.1.1-dev.3 06:47:54 v2.2.0 06:47:54 v2.2.1-dev.1 06:47:54 v2.2.1-dev.10 06:47:54 v2.2.1-dev.11 06:47:54 v2.2.1-dev.12 06:47:54 v2.2.1-dev.13 06:47:54 v2.2.1-dev.14 06:47:54 v2.2.1-dev.2 06:47:54 v2.2.1-dev.3 06:47:54 v2.2.1-dev.4 06:47:54 v2.2.1-dev.5 06:47:54 v2.2.1-dev.6 06:47:54 v2.2.1-dev.7 06:47:54 v2.2.1-dev.8 06:47:54 v2.2.1-dev.9 06:47:54 v2.3.0-dev.14 06:47:54 v2.3.0-dev.15 [Pipeline] sh 06:47:55 + lftools sign git-tag v2.3.0-dev.15 06:47:55 Signing Git tag with Sigul... 06:47:55 Signing v2.3.0-dev.15 [Pipeline] echo 06:47:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:47:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:47:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:47:56 $ docker stop --time=1 64a31a3a5059a5bacc4662f4a3c0ac084492a9f9c92d75f4f801432a29e9408e 06:47:57 $ docker rm -f 64a31a3a5059a5bacc4662f4a3c0ac084492a9f9c92d75f4f801432a29e9408e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:47:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:47:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:47:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:47:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:47:58 prd-ubuntu20.04-docker-8c-8g-21211 does not seem to be running inside a container 06:47:58 $ 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 06:47:58 $ docker top 27ceebc9ae024c41850340d99368a9c8ba3c27a5996e280940468b71a7d1f9ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:47:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:47:58 [ssh-agent] Looking for ssh-agent implementation... 06:47:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:47:58 $ docker exec 27ceebc9ae024c41850340d99368a9c8ba3c27a5996e280940468b71a7d1f9ad ssh-agent 06:47:59 SSH_AUTH_SOCK=/tmp/ssh-AD46O7VvgOii/agent.34 06:47:59 SSH_AGENT_PID=40 06:47:59 Running ssh-add (command line suppressed) 06:47:59 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1547273087770555366.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1547273087770555366.key) 06:47:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:47:59 + git semver bump pre 06:47:59 2022-07-27 06:47:59,701 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:47:59 2022-07-27 06:47:59,701 [bump_version] DEBUG bumping version:2.3.0-dev.15 on axis:pre with prefix:dev 06:47:59 2022-07-27 06:47:59,701 [bump_version] DEBUG bumped version:2.3.0-dev.16 06:47:59 2022-07-27 06:47:59,701 [write_version] DEBUG write version:2.3.0-dev.16 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:47:59 2022-07-27 06:47:59,701 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:47:59 2022-07-27 06:47:59,701 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:47:59 2022-07-27 06:47:59,704 [execute] INFO git cat-file --batch-check 06:47:59 2022-07-27 06:47:59,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:47:59 2022-07-27 06:47:59,710 [execute] INFO git cat-file --batch 06:47:59 2022-07-27 06:47:59,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:47:59 2022-07-27 06:47:59,716 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:47:59 2.3.0-dev.16 [Pipeline] } 06:47:59 $ docker exec --env ******** --env ******** 27ceebc9ae024c41850340d99368a9c8ba3c27a5996e280940468b71a7d1f9ad ssh-agent -k 06:47:59 unset SSH_AUTH_SOCK; 06:47:59 unset SSH_AGENT_PID; 06:47:59 echo Agent pid 40 killed; 06:47:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:48:00 + git semver [Pipeline] } 06:48:00 $ docker stop --time=1 27ceebc9ae024c41850340d99368a9c8ba3c27a5996e280940468b71a7d1f9ad 06:48:01 $ docker rm -f 27ceebc9ae024c41850340d99368a9c8ba3c27a5996e280940468b71a7d1f9ad [Pipeline] // withDockerContainer [Pipeline] sh 06:48:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:48:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:48:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:02 prd-ubuntu20.04-docker-8c-8g-21211 does not seem to be running inside a container 06:48:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:48:02 $ docker top 012c1b9fb36fbc1fea71603f2d8714b7a4270a6a87952ab110ec3c804af25b87 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:48:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:48:03 [ssh-agent] Looking for ssh-agent implementation... 06:48:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:48:03 $ docker exec 012c1b9fb36fbc1fea71603f2d8714b7a4270a6a87952ab110ec3c804af25b87 ssh-agent 06:48:03 SSH_AUTH_SOCK=/tmp/ssh-EnjuslY2CkOe/agent.33 06:48:03 SSH_AGENT_PID=40 06:48:03 Running ssh-add (command line suppressed) 06:48:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1164073887094414260.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1164073887094414260.key) 06:48:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:48:03 + git semver push 06:48:03 2022-07-27 06:48:03,846 [run_push] DEBUG push 06:48:03 2022-07-27 06:48:03,847 [execute] INFO git cat-file --batch-check 06:48:03 2022-07-27 06:48:03,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:48:03 2022-07-27 06:48:03,851 [execute] INFO git rev-list f7ed962b48b40815338f12679ed9a84699d38c8d -- 06:48:03 2022-07-27 06:48:03,851 [execute] DEBUG Popen(['git', 'rev-list', 'f7ed962b48b40815338f12679ed9a84699d38c8d', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:48:03 2022-07-27 06:48:03,861 [execute] INFO git fetch -v origin 06:48:03 2022-07-27 06:48:03,862 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:48:04 2022-07-27 06:48:04,322 [run_push] DEBUG no remote changes detected 06:48:04 2022-07-27 06:48:04,323 [execute] INFO git push origin semver 06:48:04 2022-07-27 06:48:04,323 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:48:05 2022-07-27 06:48:05,016 [run_push] DEBUG push all version tags 06:48:05 2022-07-27 06:48:05,017 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:48:05 2022-07-27 06:48:05,017 [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) 06:48:06 2022-07-27 06:48:05,686 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:48:06 2.3.0-dev.16 [Pipeline] } 06:48:06 $ docker exec --env ******** --env ******** 012c1b9fb36fbc1fea71603f2d8714b7a4270a6a87952ab110ec3c804af25b87 ssh-agent -k 06:48:06 unset SSH_AUTH_SOCK; 06:48:06 unset SSH_AGENT_PID; 06:48:06 echo Agent pid 40 killed; 06:48:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:48:06 + git semver [Pipeline] } 06:48:06 $ docker stop --time=1 012c1b9fb36fbc1fea71603f2d8714b7a4270a6a87952ab110ec3c804af25b87 06:48:08 $ docker rm -f 012c1b9fb36fbc1fea71603f2d8714b7a4270a6a87952ab110ec3c804af25b87 [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 06:48:08 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:48:08 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:48:08 total 16 06:48:08 drwxr-xr-x 3 root root 4096 Jul 27 06:38 . 06:48:08 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 06:47 .. 06:48:08 drwxr-xr-x 2 root root 4096 Jul 27 06:38 cost 06:48:08 -rw-r--r-- 1 root root 84 Jul 27 06:38 cost.csv 06:48:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:48:08 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:48:08 total 16 06:48:08 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 06:38 . 06:48:08 drwxrwxr-x 12 jenkins jenkins 4096 Jul 27 06:47 .. 06:48:08 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 06:38 cost 06:48:08 -rw-r--r-- 1 jenkins jenkins 84 Jul 27 06:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:48:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:48:09 ---> package-listing.sh 06:48:09 ++ tr '[:upper:]' '[:lower:]' 06:48:09 ++ facter osfamily 06:48:10 + OS_FAMILY=debian 06:48:10 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:48:10 + START_PACKAGES=/tmp/packages_start.txt 06:48:10 + END_PACKAGES=/tmp/packages_end.txt 06:48:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:48:10 + PACKAGES=/tmp/packages_start.txt 06:48:10 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:48:10 + PACKAGES=/tmp/packages_end.txt 06:48:10 + case "${OS_FAMILY}" in 06:48:10 + dpkg -l 06:48:10 + grep '^ii' 06:48:10 + '[' -f /tmp/packages_start.txt ']' 06:48:10 + '[' -f /tmp/packages_end.txt ']' 06:48:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:48:10 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:48:10 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:48:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 06:48:10 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:48:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:48:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:10 prd-ubuntu20.04-docker-8c-8g-21211 does not seem to be running inside a container 06:48:10 $ 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 06:48:11 $ docker top c2cd59b4df39499f25d15a63a78b6f3a624bca4c362c99864c9772a564d5c35e -eo pid,comm [Pipeline] { [Pipeline] sh 06:48:11 + touch /tmp/pre-build-complete [Pipeline] sh 06:48:11 + mkdir -p /var/log/sysstat [Pipeline] sh 06:48:12 + ls /var/log/sa-host 06:48:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:48:12 provisioning config files... 06:48:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5316596107228236564tmp [Pipeline] { [Pipeline] echo 06:48:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:48:12 ---> create-netrc.sh [Pipeline] } 06:48:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:48:12 ---> python-tools-install.sh [Pipeline] echo 06:48:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:48:13 ---> sudo-logs.sh 06:48:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:48:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:48:13 ---> job-cost.sh 06:48:13 lf-activate-venv: SKIPPING 06:48:13 DEBUG: total: 0.2199999988079071 06:48:13 INFO: Retrieving Stack Cost... 06:48:13 INFO: Retrieving Pricing Info for: v3-standard-8 06:48:14 INFO: Archiving Costs [Pipeline] echo 06:48:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:48:14 ---> logs-deploy.sh 06:48:14 lf-activate-venv: SKIPPING 06:48:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/90 06:48:14 INFO: archiving workspace using pattern(s): 06:48:15 Archives upload complete. 06:48:15 INFO: archiving logs to Nexus