Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9201c30d3cbedfb69842190fa0e339608ffa0cc3 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-ssh13130053911106356408.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-ssh3390075455736839740.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-ssh11175063227363918695.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-ssh12543985841867736263.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-ssh9922640262246734385.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 on ‘prd-ubuntu20.04-docker-8c-8g-21395’ Running on prd-ubuntu20.04-docker-8c-8g-21397 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 9201c30d3cbedfb69842190fa0e339608ffa0cc3 (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 9201c30d3cbedfb69842190fa0e339608ffa0cc3 # timeout=10 Commit message: "Merge pull request #1204 from marcpfuller/fix-mock-DeviceServiceSDK" > git rev-list --no-walk ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:21:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:21:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:21:19 ========================================================= 20:21:19 EdgeX Global Pipelines Version Info 20:21:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:21:20 ------------------- 20:21:20 stable info: 20:21:20 ------------------- 20:21:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:21:20 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:21:20 Message: update stable to v1.0.238 20:21:21 ------------------- 20:21:21 experimental info: 20:21:21 ------------------- 20:21:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:21:21 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 20:21:21 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9201c30d3cbedfb69842190fa0e339608ffa0cc3 [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9201c30 [Pipeline] echo 20:21:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:21:21 provisioning config files... 20:21:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1467917788785500745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:21:22 ---> docker-login.sh 20:21:22 nexus3.edgexfoundry.org:10001 20:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:22 Configure a credential helper to remove this warning. See 20:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:22 20:21:22 Login Succeeded 20:21:22 nexus3.edgexfoundry.org:10002 20:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:22 Configure a credential helper to remove this warning. See 20:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:22 20:21:22 Login Succeeded 20:21:22 nexus3.edgexfoundry.org:10003 20:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:23 Configure a credential helper to remove this warning. See 20:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:23 20:21:23 Login Succeeded 20:21:23 nexus3.edgexfoundry.org:10004 20:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:23 Configure a credential helper to remove this warning. See 20:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:23 20:21:23 Login Succeeded 20:21:23 docker.io 20:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:23 Configure a credential helper to remove this warning. See 20:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:23 20:21:23 Login Succeeded 20:21:23 ---> docker-login.sh ends [Pipeline] } 20:21:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:21:23 + git rev-list -1 --merges 9201c30d3cbedfb69842190fa0e339608ffa0cc3~1..9201c30d3cbedfb69842190fa0e339608ffa0cc3 [Pipeline] echo 20:21:24 -----------> git rev-list -1 --merges 9201c30d3cbedfb69842190fa0e339608ffa0cc3~1..9201c30d3cbedfb69842190fa0e339608ffa0cc3 9201c30d3cbedfb69842190fa0e339608ffa0cc3 20:21:24 9201c30d3cbedfb69842190fa0e339608ffa0cc3 [false] [Pipeline] sh 20:21:24 + git log --format=format:%s -1 9201c30d3cbedfb69842190fa0e339608ffa0cc3 [Pipeline] echo 20:21:24 ========================================================= 20:21:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:21:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:21:24 + git log --format=format:%s -1 9201c30d3cbedfb69842190fa0e339608ffa0cc3 [Pipeline] echo 20:21:24 [semverPrep] GIT_COMMIT: 9201c30d3cbedfb69842190fa0e339608ffa0cc3, Commit Message: Merge pull request #1204 from marcpfuller/fix-mock-DeviceServiceSDK [Pipeline] echo 20:21:24 [semverPrep] This is not a build commit. [Pipeline] sh 20:21:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:21:25 + grep -v github /etc/ssh/ssh_known_hosts 20:21:25 + [ -e /tmp/ssh_known_hosts ] 20:21:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:21:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:21:25 + sudo tee -a /etc/ssh/ssh_known_hosts 20:21:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:21:25 20:21:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:21:25 0.1.4: Pulling from edgex-devops/py-git-semver 20:21:25 b85a868b505f: Pulling fs layer 20:21:25 e2be974225ed: Pulling fs layer 20:21:25 339a4e72a1f5: Pulling fs layer 20:21:25 988bab9f4d93: Pulling fs layer 20:21:25 1469e6f7b9e6: Pulling fs layer 20:21:25 eaf3925da568: Pulling fs layer 20:21:25 bab4dde63d76: Pulling fs layer 20:21:25 bde34c3a00c8: Pulling fs layer 20:21:25 b352a97aabf1: Pulling fs layer 20:21:25 4872d77fe225: Pulling fs layer 20:21:25 5851b861e8e6: Pulling fs layer 20:21:25 1469e6f7b9e6: Waiting 20:21:25 eaf3925da568: Waiting 20:21:25 988bab9f4d93: Waiting 20:21:25 bab4dde63d76: Waiting 20:21:25 4872d77fe225: Waiting 20:21:25 5851b861e8e6: Waiting 20:21:25 bde34c3a00c8: Waiting 20:21:25 b352a97aabf1: Waiting 20:21:25 e2be974225ed: Download complete 20:21:25 988bab9f4d93: Download complete 20:21:26 1469e6f7b9e6: Verifying Checksum 20:21:26 1469e6f7b9e6: Download complete 20:21:26 eaf3925da568: Download complete 20:21:26 339a4e72a1f5: Verifying Checksum 20:21:26 339a4e72a1f5: Download complete 20:21:26 bde34c3a00c8: Download complete 20:21:26 b352a97aabf1: Verifying Checksum 20:21:26 b352a97aabf1: Download complete 20:21:26 4872d77fe225: Verifying Checksum 20:21:26 5851b861e8e6: Verifying Checksum 20:21:26 b85a868b505f: Verifying Checksum 20:21:26 b85a868b505f: Download complete 20:21:26 bab4dde63d76: Verifying Checksum 20:21:26 bab4dde63d76: Download complete 20:21:27 b85a868b505f: Pull complete 20:21:27 e2be974225ed: Pull complete 20:21:28 339a4e72a1f5: Pull complete 20:21:28 988bab9f4d93: Pull complete 20:21:28 1469e6f7b9e6: Pull complete 20:21:28 eaf3925da568: Pull complete 20:21:30 bab4dde63d76: Pull complete 20:21:30 bde34c3a00c8: Pull complete 20:21:30 b352a97aabf1: Pull complete 20:21:30 4872d77fe225: Pull complete 20:21:31 5851b861e8e6: Pull complete 20:21:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:21:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:21:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:31 prd-ubuntu20.04-docker-8c-8g-21397 does not seem to be running inside a container 20:21:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:21:32 $ docker top fa041adb005812b08943432b6c96243d2ec53de74ff49d5fcd202626a816f223 -eo pid,comm 20:21:32 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). 20:21:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:21:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:21:32 [ssh-agent] Looking for ssh-agent implementation... 20:21:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:21:32 $ docker exec fa041adb005812b08943432b6c96243d2ec53de74ff49d5fcd202626a816f223 ssh-agent 20:21:32 SSH_AUTH_SOCK=/tmp/ssh-4A2717UmHthM/agent.35 20:21:32 SSH_AGENT_PID=41 20:21:32 Running ssh-add (command line suppressed) 20:21:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_527579989254585130.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_527579989254585130.key) 20:21:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:21:33 + git tag --points-at HEAD [Pipeline] } 20:21:33 $ docker exec --env ******** --env ******** fa041adb005812b08943432b6c96243d2ec53de74ff49d5fcd202626a816f223 ssh-agent -k 20:21:33 unset SSH_AUTH_SOCK; 20:21:33 unset SSH_AGENT_PID; 20:21:33 echo Agent pid 41 killed; 20:21:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:21:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:21:33 [ssh-agent] Looking for ssh-agent implementation... 20:21:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:21:33 $ docker exec fa041adb005812b08943432b6c96243d2ec53de74ff49d5fcd202626a816f223 ssh-agent 20:21:33 SSH_AUTH_SOCK=/tmp/ssh-NCkqccS5nn01/agent.75 20:21:33 SSH_AGENT_PID=81 20:21:33 Running ssh-add (command line suppressed) 20:21:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4334020382541487716.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4334020382541487716.key) 20:21:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:21:34 + git semver init 20:21:34 2022-07-28 20:21:34,444 [run_init] DEBUG init version:0.0.0 force:False 20:21:34 2022-07-28 20:21:34,445 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:21:34 2022-07-28 20:21:34,446 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:21:34 2022-07-28 20:21:34,446 [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) 20:21:35 2022-07-28 20:21:35,279 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 20:21:35 2022-07-28 20:21:35,279 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 20:21:35 2022-07-28 20:21:35,280 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:21:35 2022-07-28 20:21:35,280 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:21:35 2.3.0-dev.17 [Pipeline] } 20:21:35 $ docker exec --env ******** --env ******** fa041adb005812b08943432b6c96243d2ec53de74ff49d5fcd202626a816f223 ssh-agent -k 20:21:35 unset SSH_AUTH_SOCK; 20:21:35 unset SSH_AGENT_PID; 20:21:35 echo Agent pid 81 killed; 20:21:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:21:35 + git semver [Pipeline] } 20:21:36 $ docker stop --time=1 fa041adb005812b08943432b6c96243d2ec53de74ff49d5fcd202626a816f223 20:21:37 $ docker rm -f fa041adb005812b08943432b6c96243d2ec53de74ff49d5fcd202626a816f223 [Pipeline] // withDockerContainer [Pipeline] sh 20:21:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:21:38 Stashed 1 file(s) [Pipeline] echo 20:21:38 [edgeXSemver]: initialized semver on version 2.3.0-dev.17 [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 20:21:38 provisioning config files... 20:21:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6744098816993574792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:21:38 ---> docker-login.sh 20:21:38 nexus3.edgexfoundry.org:10001 20:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:38 Configure a credential helper to remove this warning. See 20:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:38 20:21:38 Login Succeeded 20:21:38 nexus3.edgexfoundry.org:10002 20:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:38 Configure a credential helper to remove this warning. See 20:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:38 20:21:38 Login Succeeded 20:21:38 nexus3.edgexfoundry.org:10003 20:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:38 Configure a credential helper to remove this warning. See 20:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:38 20:21:38 Login Succeeded 20:21:38 nexus3.edgexfoundry.org:10004 20:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:39 Configure a credential helper to remove this warning. See 20:21:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:39 20:21:39 Login Succeeded 20:21:39 docker.io 20:21:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:39 Configure a credential helper to remove this warning. See 20:21:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:39 20:21:39 Login Succeeded 20:21:39 ---> docker-login.sh ends [Pipeline] } 20:21:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:21:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:21:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:21:39 ========================================================= 20:21:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:21:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:39 + 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 . 20:21:39 Sending build context to Docker daemon 9.757MB 20:21:39 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 20:21:39 Step 2/11 : FROM ${BASE} AS builder 20:21:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:21:39 2408cc74d12b: Pulling fs layer 20:21:39 ea60b727a1ce: Pulling fs layer 20:21:39 30c4a7721957: Pulling fs layer 20:21:39 370296b7ddb6: Pulling fs layer 20:21:39 7c6cee850709: Pulling fs layer 20:21:39 39a5fcdaea64: Pulling fs layer 20:21:39 d94ebbe4e438: Pulling fs layer 20:21:39 bcfd1f05c69d: Pulling fs layer 20:21:39 59ccb84bbe0f: Pulling fs layer 20:21:39 370296b7ddb6: Waiting 20:21:39 d94ebbe4e438: Waiting 20:21:39 bcfd1f05c69d: Waiting 20:21:39 59ccb84bbe0f: Waiting 20:21:39 7c6cee850709: Waiting 20:21:39 39a5fcdaea64: Waiting 20:21:40 30c4a7721957: Verifying Checksum 20:21:40 30c4a7721957: Download complete 20:21:40 ea60b727a1ce: Download complete 20:21:40 7c6cee850709: Verifying Checksum 20:21:40 7c6cee850709: Download complete 20:21:40 39a5fcdaea64: Verifying Checksum 20:21:40 39a5fcdaea64: Download complete 20:21:40 2408cc74d12b: Verifying Checksum 20:21:40 2408cc74d12b: Download complete 20:21:40 d94ebbe4e438: Download complete 20:21:40 2408cc74d12b: Pull complete 20:21:40 ea60b727a1ce: Pull complete 20:21:40 30c4a7721957: Pull complete 20:21:40 59ccb84bbe0f: Verifying Checksum 20:21:40 59ccb84bbe0f: Download complete 20:21:40 bcfd1f05c69d: Verifying Checksum 20:21:40 bcfd1f05c69d: Download complete 20:21:40 370296b7ddb6: Verifying Checksum 20:21:40 370296b7ddb6: Download complete 20:21:45 370296b7ddb6: Pull complete 20:21:45 7c6cee850709: Pull complete 20:21:45 39a5fcdaea64: Pull complete 20:21:45 d94ebbe4e438: Pull complete 20:21:47 bcfd1f05c69d: Pull complete 20:21:48 59ccb84bbe0f: Pull complete 20:21:48 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:21:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:21:48 ---> a4fb48ad2a94 20:21:48 Step 3/11 : ARG MAKE=make build 20:21:49 ---> Running in c8cedf2fe8c9 20:21:49 Removing intermediate container c8cedf2fe8c9 20:21:49 ---> 1c1ca254e909 20:21:49 Step 4/11 : WORKDIR /device-sdk-go 20:21:49 ---> Running in 7ee98273b2a5 20:21:49 Removing intermediate container 7ee98273b2a5 20:21:49 ---> 0e1b2372468e 20:21:49 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:21:49 ---> Running in 36f428d8d4b5 20:21:49 Removing intermediate container 36f428d8d4b5 20:21:49 ---> 600d2998d6ef 20:21:49 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:21:50 ---> Running in 1157bff8788b 20:21:50 Removing intermediate container 1157bff8788b 20:21:50 ---> 2801e0443306 20:21:50 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:21:50 ---> Running in f01602f6cc49 20:21:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:21:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:21:51 OK: 211 MiB in 51 packages 20:21:52 Removing intermediate container f01602f6cc49 20:21:52 ---> b57cfe59bb5a 20:21:52 Step 8/11 : COPY go.mod vendor* ./ 20:21:52 ---> e5c62a0a037d 20:21:52 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:21:52 ---> Running in d67be9c42d9e 20:21:53 Still waiting to schedule task 20:21:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21396’ 20:22:10 Removing intermediate container d67be9c42d9e 20:22:10 ---> 1515a6827f0a 20:22:10 Step 10/11 : COPY . . 20:22:10 ---> 1efb6be381cf 20:22:10 Step 11/11 : RUN ${MAKE} 20:22:10 ---> Running in d646f5c2d07c 20:22:10 noop 20:22:11 Removing intermediate container d646f5c2d07c 20:22:11 ---> 0c5a43698c42 20:22:11 Successfully built 0c5a43698c42 20:22:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:11 + docker inspect -f . ci-base-image-x86_64 20:22:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:11 prd-ubuntu20.04-docker-8c-8g-21397 does not seem to be running inside a container 20:22:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:22:12 $ docker top 6d9cfc4eb59a2d35930f47a6db2d3b3adc95190a281d0a5688d6087a6c254b65 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:12 + go version 20:22:12 go version go1.18.3 linux/amd64 [Pipeline] } 20:22:12 $ docker stop --time=1 6d9cfc4eb59a2d35930f47a6db2d3b3adc95190a281d0a5688d6087a6c254b65 20:22:13 $ docker rm -f 6d9cfc4eb59a2d35930f47a6db2d3b3adc95190a281d0a5688d6087a6c254b65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:14 + docker inspect -f . ci-base-image-x86_64 20:22:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:14 prd-ubuntu20.04-docker-8c-8g-21397 does not seem to be running inside a container 20:22:14 $ 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 ******** ci-base-image-x86_64 cat 20:22:14 $ docker top 5a2a4b03098cd7f1b493f02762afbefa618d49b819af87a30b4a92ce113751ec -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:15 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 20:22:15 + make test 20:22:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:22:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:22:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:22:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:22:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:22:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.068s coverage: 23.7% of statements 20:22:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:22:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 27.6% of statements 20:22:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements 20:22:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.057s coverage: 10.8% of statements 20:22:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.097s coverage: 60.0% of statements 20:22:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:22:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:22:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 34.8% of statements 20:22:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:22:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 85.4% of statements 20:22:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:22:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:22:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 65.1% of statements 20:22:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 20:22:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:22:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.757s coverage: 89.2% of statements 20:22:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:22:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 20:22:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:22:50 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." 20:22:50 GO111MODULE=on go vet ./... 20:22:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:22:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:22:52 ./bin/test-attribution-txt.sh 20:22:52 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 20:22:52 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 20:22:52 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 20:22:52 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:22:52 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:22:52 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 20:22:52 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 20:22:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:22:52 $ docker stop --time=1 5a2a4b03098cd7f1b493f02762afbefa618d49b819af87a30b4a92ce113751ec 20:22:54 $ docker rm -f 5a2a4b03098cd7f1b493f02762afbefa618d49b819af87a30b4a92ce113751ec [Pipeline] // withDockerContainer [Pipeline] sh 20:22:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:22:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:22:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:22:55 + ls -al . 20:22:55 total 304 20:22:55 drwxrwxr-x 11 jenkins jenkins 4096 Jul 28 20:22 . 20:22:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 20:21 .. 20:22:55 -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 20:21 .dockerignore 20:22:55 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 20:22 .git 20:22:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 20:21 .github 20:22:55 -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 20:21 .gitignore 20:22:55 -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 20:21 .golangci.yml 20:22:55 drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 20:21 .semver 20:22:55 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 20:21 CHANGELOG.md 20:22:55 -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 20:21 GOVERNANCE.md 20:22:55 -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 20:21 Jenkinsfile 20:22:55 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 20:21 LICENSE 20:22:55 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 20:21 Makefile 20:22:55 -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 20:21 OWNERS.md 20:22:55 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 20:21 README.md 20:22:55 -rw-rw-r-- 1 jenkins jenkins 12 Jul 28 20:21 VERSION 20:22:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 20:21 bin 20:22:55 -rw-r--r-- 1 jenkins jenkins 131677 Jul 28 20:22 coverage.out 20:22:55 drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 20:21 example 20:22:55 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 20:21 go.mod 20:22:55 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 20:21 go.sum 20:22:55 drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 20:21 internal 20:22:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 20:21 openapi 20:22:55 drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 20:21 pkg 20:22:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 20:21 snap 20:22:55 -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 20:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:56 + 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=9201c30d3cbedfb69842190fa0e339608ffa0cc3 --label arch=amd64 --label version=2.3.0-dev.17 . 20:22:56 Sending build context to Docker daemon 9.889MB 20:22:56 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:22:56 Step 2/25 : FROM ${BASE} AS builder 20:22:56 ---> 0c5a43698c42 20:22:56 Step 3/25 : ARG MAKE=make build 20:22:56 ---> Running in 4ee3ea4b464e 20:22:56 Removing intermediate container 4ee3ea4b464e 20:22:56 ---> 6149d36b64fd 20:22:56 Step 4/25 : WORKDIR /device-sdk-go 20:22:56 ---> Running in 1e62b557be52 20:22:56 Removing intermediate container 1e62b557be52 20:22:56 ---> 1b4aed1ab4c0 20:22:56 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:22:56 ---> Running in 4e615d85fb2a 20:22:56 Removing intermediate container 4e615d85fb2a 20:22:56 ---> 63c404c0c21f 20:22:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:22:56 ---> Running in fc7bdb2b4d05 20:22:57 Removing intermediate container fc7bdb2b4d05 20:22:57 ---> 9ef416388beb 20:22:57 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:22:57 ---> Running in 67ee159b3e1a 20:22:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:22:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:22:58 OK: 211 MiB in 51 packages 20:22:58 Removing intermediate container 67ee159b3e1a 20:22:58 ---> 1ab794d7805e 20:22:58 Step 8/25 : COPY go.mod vendor* ./ 20:22:59 ---> 45c12649e556 20:22:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:22:59 ---> Running in d313d8f68d31 20:22:59 Removing intermediate container d313d8f68d31 20:22:59 ---> e764b6d6c0b6 20:22:59 Step 10/25 : COPY . . 20:23:00 ---> 46308e9eb51b 20:23:00 Step 11/25 : RUN ${MAKE} 20:23:00 ---> Running in 86aa0fd7151b 20:23:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:23:18 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:23:18 Removing intermediate container 86aa0fd7151b 20:23:18 ---> c59807d690b3 20:23:18 Step 12/25 : FROM alpine:3.16 20:23:19 3.16: Pulling from library/alpine 20:23:19 530afca65e2e: Pulling fs layer 20:23:19 530afca65e2e: Verifying Checksum 20:23:19 530afca65e2e: Download complete 20:23:19 530afca65e2e: Pull complete 20:23:19 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 20:23:19 Status: Downloaded newer image for alpine:3.16 20:23:19 ---> d7d3d98c851f 20:23:19 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:23:19 ---> Running in 90777240be29 20:23:19 Removing intermediate container 90777240be29 20:23:19 ---> 28c7b0a0f9d0 20:23:19 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:23:20 ---> Running in 5a82f643aad3 20:23:20 Removing intermediate container 5a82f643aad3 20:23:20 ---> 05120e7d8907 20:23:20 Step 15/25 : RUN apk add --update --no-cache zeromq 20:23:20 ---> Running in 75d57075744a 20:23:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:23:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:23:22 (1/5) Installing libgcc (11.2.1_git20220219-r2) 20:23:22 (2/5) Installing libsodium (1.0.18-r0) 20:23:22 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 20:23:22 (4/5) Installing libzmq (4.3.4-r0) 20:23:22 (5/5) Installing zeromq (4.3.4-r0) 20:23:22 Executing busybox-1.35.0-r15.trigger 20:23:22 OK: 8 MiB in 19 packages 20:23:22 Removing intermediate container 75d57075744a 20:23:22 ---> 5ed003a374d4 20:23:22 Step 16/25 : WORKDIR / 20:23:22 ---> Running in e0e2aab4c447 20:23:23 Removing intermediate container e0e2aab4c447 20:23:23 ---> d530a80c9f31 20:23:23 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:23:23 ---> 88b1104a74d6 20:23:23 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:23:23 ---> b1e3ecc75799 20:23:23 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:23:23 ---> d80bbb3f1531 20:23:23 Step 20/25 : EXPOSE 59999 20:23:23 ---> Running in 6f934808fffe 20:23:23 Removing intermediate container 6f934808fffe 20:23:23 ---> 9ab2906d868d 20:23:23 Step 21/25 : ENTRYPOINT ["/device-simple"] 20:23:23 ---> Running in b7f40da9100b 20:23:24 Removing intermediate container b7f40da9100b 20:23:24 ---> 833f0add5667 20:23:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:23:24 ---> Running in d5ba5b5769b1 20:23:24 Removing intermediate container d5ba5b5769b1 20:23:24 ---> 1fa95b556429 20:23:24 Step 23/25 : LABEL arch=amd64 20:23:24 ---> Running in f7e9c0ebbeb9 20:23:24 Removing intermediate container f7e9c0ebbeb9 20:23:24 ---> c533050b3c91 20:23:24 Step 24/25 : LABEL git_sha=9201c30d3cbedfb69842190fa0e339608ffa0cc3 20:23:24 ---> Running in 0bc80facf2af 20:23:24 Removing intermediate container 0bc80facf2af 20:23:24 ---> 6e855d4451a8 20:23:24 Step 25/25 : LABEL version=2.3.0-dev.17 20:23:24 ---> Running in e09a9d9bd480 20:23:24 Removing intermediate container e09a9d9bd480 20:23:24 ---> c3c5b9853aaf 20:23:24 [Warning] One or more build-args [ARCH] were not consumed 20:23:24 Successfully built c3c5b9853aaf 20:23:24 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 20:23:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:25 20:23:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:25 latest: Pulling from edgex-lftools-log-publisher 20:23:25 5eb5b503b376: Pulling fs layer 20:23:25 5c69ac0246d0: Pulling fs layer 20:23:25 ec43610c2a17: Pulling fs layer 20:23:25 3a2ae6a8a46f: Pulling fs layer 20:23:25 33b1e0a273af: Pulling fs layer 20:23:25 5d3b04190fa2: Pulling fs layer 20:23:25 2f39f015ded8: Pulling fs layer 20:23:25 3a2ae6a8a46f: Waiting 20:23:25 33b1e0a273af: Waiting 20:23:25 5d3b04190fa2: Waiting 20:23:25 2f39f015ded8: Waiting 20:23:25 5c69ac0246d0: Download complete 20:23:25 3a2ae6a8a46f: Download complete 20:23:25 33b1e0a273af: Verifying Checksum 20:23:25 33b1e0a273af: Download complete 20:23:25 5d3b04190fa2: Download complete 20:23:25 ec43610c2a17: Verifying Checksum 20:23:25 ec43610c2a17: Download complete 20:23:25 5eb5b503b376: Verifying Checksum 20:23:25 5eb5b503b376: Download complete 20:23:26 2f39f015ded8: Download complete 20:23:27 5eb5b503b376: Pull complete 20:23:27 5c69ac0246d0: Pull complete 20:23:27 ec43610c2a17: Pull complete 20:23:27 3a2ae6a8a46f: Pull complete 20:23:28 33b1e0a273af: Pull complete 20:23:28 5d3b04190fa2: Pull complete 20:23:33 2f39f015ded8: Pull complete 20:23:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:23:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:33 prd-ubuntu20.04-docker-8c-8g-21397 does not seem to be running inside a container 20:23:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:23:35 $ docker top d56b7d5a6d31211b2792c3e7085e0745388ac963cd5741e0d646d38ae11b753e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:35 ---> job-cost.sh 20:23:35 lf-activate-venv: SKIPPING 20:23:35 INFO: No Stack... 20:23:35 INFO: Retrieving Pricing Info for: v3-standard-8 20:23:36 INFO: Archiving Costs [Pipeline] sh 20:23:36 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 20:23:36 + cut -d, -f6 [Pipeline] lock 20:23:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-92-stack-cost] 20:23:36 Resource [jenkins-edgexfoundry-device-sdk-go-main-92-stack-cost] did not exist. Created. 20:23:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:23:37 + echo total: 0.2199999988079071 [Pipeline] stash 20:23:37 Stashed 1 file(s) [Pipeline] } 20:23:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } 20:23:37 $ docker stop --time=1 d56b7d5a6d31211b2792c3e7085e0745388ac963cd5741e0d646d38ae11b753e 20:23:38 $ docker rm -f d56b7d5a6d31211b2792c3e7085e0745388ac963cd5741e0d646d38ae11b753e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:25:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21398 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 20:25:36 Running in /w/workspace/device-sdk-go/92 [Pipeline] { [Pipeline] checkout 20:25:36 The recommended git tool is: git 20:25:44 using credential edgex-jenkins-ssh 20:25:44 Cloning the remote Git repository 20:25:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:25:44 > git init /w/workspace/device-sdk-go/92 # timeout=10 20:25:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:25:44 > git --version # timeout=10 20:25:44 > git --version # 'git version 2.25.1' 20:25:44 using GIT_SSH to set credentials SSH Credentials for GitHub 20:25:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:25:46 Avoid second fetch 20:25:46 Checking out Revision 9201c30d3cbedfb69842190fa0e339608ffa0cc3 (main) 20:25:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:25:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:25:46 > git config core.sparsecheckout # timeout=10 20:25:46 > git checkout -f 9201c30d3cbedfb69842190fa0e339608ffa0cc3 # timeout=10 20:25:50 Commit message: "Merge pull request #1204 from marcpfuller/fix-mock-DeviceServiceSDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:25:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:25:52 % Total % Received % Xferd Average Speed Time Time Time Current 20:25:52 Dload Upload Total Spent Left Speed 20:25:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94861 0 --:--:-- --:--:-- --:--:-- 95596 [Pipeline] sh 20:25:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:25:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:25:53 + sudo tee /etc/docker/daemon.new 20:25:53 { 20:25:53 "registry-mirrors": [ 20:25:53 "https://nexus3.edgexfoundry.org:10001" 20:25:53 ], 20:25:53 "bip": "10.250.0.254/24", 20:25:53 "hosts": [ 20:25:53 "tcp://0.0.0.0:5555", 20:25:53 "unix:///var/run/docker.sock" 20:25:53 ], 20:25:53 "mtu": 1458, 20:25:53 "selinux-enabled": true, 20:25:53 "seccomp-profile": "/etc/docker/seccomp.json" 20:25:53 } [Pipeline] sh 20:25:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:25:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:12 provisioning config files... 20:26:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/92@tmp/config1121334628612796917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:12 ---> docker-login.sh 20:26:12 nexus3.edgexfoundry.org:10001 20:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:13 Configure a credential helper to remove this warning. See 20:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:13 20:26:13 Login Succeeded 20:26:13 nexus3.edgexfoundry.org:10002 20:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:14 Configure a credential helper to remove this warning. See 20:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:14 20:26:14 Login Succeeded 20:26:14 nexus3.edgexfoundry.org:10003 20:26:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:14 Configure a credential helper to remove this warning. See 20:26:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:14 20:26:14 Login Succeeded 20:26:14 nexus3.edgexfoundry.org:10004 20:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:15 Configure a credential helper to remove this warning. See 20:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:15 20:26:15 Login Succeeded 20:26:15 docker.io 20:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:15 Configure a credential helper to remove this warning. See 20:26:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:15 20:26:15 Login Succeeded 20:26:15 ---> docker-login.sh ends [Pipeline] } 20:26:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:26:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:26:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:26:16 ========================================================= 20:26:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:26:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:16 + 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 . 20:26:17 Sending build context to Docker daemon 5.238MB 20:26:17 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 20:26:17 Step 2/11 : FROM ${BASE} AS builder 20:26:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:26:17 b3c136eddcbf: Pulling fs layer 20:26:17 c0a3192eca97: Pulling fs layer 20:26:17 a050256f5b6f: Pulling fs layer 20:26:17 656be50a0ddc: Pulling fs layer 20:26:17 2bbca73fdf42: Pulling fs layer 20:26:17 46d945488cbd: Pulling fs layer 20:26:17 8a5474983e97: Pulling fs layer 20:26:17 329c88fbcd65: Pulling fs layer 20:26:17 656be50a0ddc: Waiting 20:26:17 2bbca73fdf42: Waiting 20:26:17 46d945488cbd: Waiting 20:26:17 8a5474983e97: Waiting 20:26:17 329c88fbcd65: Waiting 20:26:17 a050256f5b6f: Verifying Checksum 20:26:17 a050256f5b6f: Download complete 20:26:17 c0a3192eca97: Verifying Checksum 20:26:17 c0a3192eca97: Download complete 20:26:17 2bbca73fdf42: Verifying Checksum 20:26:17 2bbca73fdf42: Download complete 20:26:17 46d945488cbd: Verifying Checksum 20:26:17 46d945488cbd: Download complete 20:26:17 b3c136eddcbf: Verifying Checksum 20:26:17 b3c136eddcbf: Download complete 20:26:18 b3c136eddcbf: Pull complete 20:26:18 329c88fbcd65: Verifying Checksum 20:26:18 329c88fbcd65: Download complete 20:26:19 c0a3192eca97: Pull complete 20:26:19 a050256f5b6f: Pull complete 20:26:19 8a5474983e97: Verifying Checksum 20:26:19 8a5474983e97: Download complete 20:26:20 656be50a0ddc: Verifying Checksum 20:26:20 656be50a0ddc: Download complete 20:26:36 656be50a0ddc: Pull complete 20:26:36 2bbca73fdf42: Pull complete 20:26:36 46d945488cbd: Pull complete 20:26:41 8a5474983e97: Pull complete 20:26:43 329c88fbcd65: Pull complete 20:26:43 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:26:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:26:43 ---> ff4287adb874 20:26:43 Step 3/11 : ARG MAKE=make build 20:26:44 ---> Running in 45e708fda8dc 20:26:44 Removing intermediate container 45e708fda8dc 20:26:44 ---> 8c4a37f4cd31 20:26:44 Step 4/11 : WORKDIR /device-sdk-go 20:26:44 ---> Running in ec945ba75dc6 20:26:44 Removing intermediate container ec945ba75dc6 20:26:44 ---> b283fb2115df 20:26:44 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:26:44 ---> Running in 56ead6f5ba36 20:26:45 Removing intermediate container 56ead6f5ba36 20:26:45 ---> 8dedaf90b530 20:26:45 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:26:45 ---> Running in 4f59d9e68329 20:26:48 Removing intermediate container 4f59d9e68329 20:26:48 ---> 0cd4645a4ff7 20:26:48 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:26:48 ---> Running in 8cd73edb6e9e 20:26:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:26:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:26:51 OK: 221 MiB in 51 packages 20:26:52 Removing intermediate container 8cd73edb6e9e 20:26:52 ---> 9adfbcf736f8 20:26:52 Step 8/11 : COPY go.mod vendor* ./ 20:26:52 ---> 343f0fbec9fc 20:26:52 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:26:53 ---> Running in 24ec8f0108c7 20:27:49 Removing intermediate container 24ec8f0108c7 20:27:49 ---> 150d628c7623 20:27:49 Step 10/11 : COPY . . 20:27:49 ---> 07e92f861426 20:27:49 Step 11/11 : RUN ${MAKE} 20:27:49 ---> Running in b38e06c02a47 20:27:49 noop 20:27:49 Removing intermediate container b38e06c02a47 20:27:49 ---> 5769c7fc224e 20:27:49 Successfully built 5769c7fc224e 20:27:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:50 + docker inspect -f . ci-base-image-arm64 20:27:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:50 prd-ubuntu20.04-docker-arm64-4c-16g-21398 does not seem to be running inside a container 20:27:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/92 -v /w/workspace/device-sdk-go/92:/w/workspace/device-sdk-go/92:rw,z -v /w/workspace/device-sdk-go/92@tmp:/w/workspace/device-sdk-go/92@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 20:27:51 $ docker top 43a007c8cfb32aeba87aade2a3cd7e22f007e5fa7411cce13499232ccdb16f88 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:52 + go version 20:27:52 go version go1.18.3 linux/arm64 [Pipeline] } 20:27:52 $ docker stop --time=1 43a007c8cfb32aeba87aade2a3cd7e22f007e5fa7411cce13499232ccdb16f88 20:27:54 $ docker rm -f 43a007c8cfb32aeba87aade2a3cd7e22f007e5fa7411cce13499232ccdb16f88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:55 + docker inspect -f . ci-base-image-arm64 20:27:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:55 prd-ubuntu20.04-docker-arm64-4c-16g-21398 does not seem to be running inside a container 20:27:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/92 -v /w/workspace/device-sdk-go/92:/w/workspace/device-sdk-go/92:rw,z -v /w/workspace/device-sdk-go/92@tmp:/w/workspace/device-sdk-go/92@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 20:27:56 $ docker top 81821b23636b99a9b2ca1a86bc0682bcdb0fd274127bd710c2672633eae03552 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:57 + git config --global --add safe.directory /w/workspace/device-sdk-go/92 [Pipeline] fileExists [Pipeline] sh 20:27:58 + make test 20:27:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:28:30 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:30:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:30:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:30:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:30:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.577s coverage: 23.7% of statements 20:30:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:30:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.267s coverage: 27.6% of statements 20:30:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.331s coverage: 78.9% of statements 20:30:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.319s coverage: 10.8% of statements 20:30:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.424s coverage: 60.0% of statements 20:30:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:30:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:30:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.399s coverage: 34.8% of statements 20:30:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:30:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.349s coverage: 85.4% of statements 20:30:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:30:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:30:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.507s coverage: 65.1% of statements 20:30:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 20:30:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:30:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.175s coverage: 89.2% of statements 20:30:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:30:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.239s coverage: 4.7% of statements 20:30:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:30:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:30:45 GO111MODULE=on go vet ./... 20:32:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:32:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:32:22 ./bin/test-attribution-txt.sh 20:32:22 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 20:32:22 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 20:32:22 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 20:32:22 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 20:32:22 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 20:32:22 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 20:32:22 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 20:32:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:32:22 $ docker stop --time=1 81821b23636b99a9b2ca1a86bc0682bcdb0fd274127bd710c2672633eae03552 20:32:24 $ docker rm -f 81821b23636b99a9b2ca1a86bc0682bcdb0fd274127bd710c2672633eae03552 [Pipeline] // withDockerContainer [Pipeline] sh 20:32:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:32:25 Warning: overwriting stash ‘coverage-report’ 20:32:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:32:27 + ls -al . 20:32:27 total 300 20:32:27 drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 20:27 . 20:32:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 20:25 .. 20:32:27 -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 20:25 .dockerignore 20:32:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 20:25 .git 20:32:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 20:25 .github 20:32:27 -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 20:25 .gitignore 20:32:27 -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 20:25 .golangci.yml 20:32:27 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 20:25 CHANGELOG.md 20:32:27 -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 20:25 GOVERNANCE.md 20:32:27 -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 20:25 Jenkinsfile 20:32:27 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 20:25 LICENSE 20:32:27 -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 20:25 Makefile 20:32:27 -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 20:25 OWNERS.md 20:32:27 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 20:25 README.md 20:32:27 -rw-rw-r-- 1 jenkins jenkins 12 Jul 28 20:21 VERSION 20:32:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 20:25 bin 20:32:27 -rw-r--r-- 1 jenkins jenkins 131677 Jul 28 20:30 coverage.out 20:32:27 drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 20:25 example 20:32:27 -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 20:25 go.mod 20:32:27 -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 20:25 go.sum 20:32:27 drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 20:25 internal 20:32:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 20:25 openapi 20:32:27 drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 20:25 pkg 20:32:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 20:25 snap 20:32:27 -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 20:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:27 + 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=9201c30d3cbedfb69842190fa0e339608ffa0cc3 --label arch=arm64 --label version=2.3.0-dev.17 . 20:32:28 Sending build context to Docker daemon 5.371MB 20:32:28 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:32:28 Step 2/25 : FROM ${BASE} AS builder 20:32:28 ---> 5769c7fc224e 20:32:28 Step 3/25 : ARG MAKE=make build 20:32:28 ---> Running in 727242e32f34 20:32:28 Removing intermediate container 727242e32f34 20:32:28 ---> b713cb58c496 20:32:28 Step 4/25 : WORKDIR /device-sdk-go 20:32:28 ---> Running in 9026e0021b56 20:32:29 Removing intermediate container 9026e0021b56 20:32:29 ---> 0ff4a25c36d0 20:32:29 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:32:29 ---> Running in 447dcd2283ac 20:32:29 Removing intermediate container 447dcd2283ac 20:32:29 ---> 447ba408370b 20:32:29 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:32:29 ---> Running in 07ad2d53cff0 20:32:31 Removing intermediate container 07ad2d53cff0 20:32:31 ---> 4be07bcb488d 20:32:31 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:32:31 ---> Running in 026cfaca6cad 20:32:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:32:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:32:34 OK: 221 MiB in 51 packages 20:32:34 Removing intermediate container 026cfaca6cad 20:32:34 ---> 9f980659ae94 20:32:34 Step 8/25 : COPY go.mod vendor* ./ 20:32:35 ---> 9b80548d1807 20:32:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:32:35 ---> Running in 71115e6ed937 20:32:37 Removing intermediate container 71115e6ed937 20:32:37 ---> ea92d6a80015 20:32:37 Step 10/25 : COPY . . 20:32:38 ---> d9880af077f6 20:32:38 Step 11/25 : RUN ${MAKE} 20:32:38 ---> Running in 5c02aa98b558 20:32:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:35:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:35:01 Removing intermediate container 5c02aa98b558 20:35:01 ---> a95d3c1e8ca8 20:35:01 Step 12/25 : FROM alpine:3.16 20:35:01 3.16: Pulling from library/alpine 20:35:01 f97344484467: Pulling fs layer 20:35:01 f97344484467: Verifying Checksum 20:35:01 f97344484467: Download complete 20:35:01 f97344484467: Pull complete 20:35:01 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 20:35:01 Status: Downloaded newer image for alpine:3.16 20:35:01 ---> 3d81c46cd875 20:35:01 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:35:01 ---> Running in d62900ec02be 20:35:01 Removing intermediate container d62900ec02be 20:35:01 ---> 794c3eb6af31 20:35:01 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:35:01 ---> Running in 4042ff9c4a79 20:35:01 Removing intermediate container 4042ff9c4a79 20:35:01 ---> 84b9b670e837 20:35:01 Step 15/25 : RUN apk add --update --no-cache zeromq 20:35:01 ---> Running in 6879cc770202 20:35:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:35:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:35:03 (1/5) Installing libgcc (11.2.1_git20220219-r2) 20:35:03 (2/5) Installing libsodium (1.0.18-r0) 20:35:03 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 20:35:03 (4/5) Installing libzmq (4.3.4-r0) 20:35:04 (5/5) Installing zeromq (4.3.4-r0) 20:35:04 Executing busybox-1.35.0-r15.trigger 20:35:04 OK: 8 MiB in 19 packages 20:35:05 Removing intermediate container 6879cc770202 20:35:05 ---> 1af94b156177 20:35:05 Step 16/25 : WORKDIR / 20:35:05 ---> Running in 065a355820a5 20:35:05 Removing intermediate container 065a355820a5 20:35:05 ---> 527038a88157 20:35:05 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:35:06 ---> f83f7b5fd87f 20:35:06 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:35:07 ---> 8a583dc11e6a 20:35:07 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:35:08 ---> 9af601497cc2 20:35:08 Step 20/25 : EXPOSE 59999 20:35:08 ---> Running in 529c39e65663 20:35:08 Removing intermediate container 529c39e65663 20:35:08 ---> 4ab6596b29c7 20:35:08 Step 21/25 : ENTRYPOINT ["/device-simple"] 20:35:08 ---> Running in 1104f3b9fda4 20:35:08 Removing intermediate container 1104f3b9fda4 20:35:08 ---> ad30de590fbb 20:35:08 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:35:09 ---> Running in 72f33a2442b7 20:35:09 Removing intermediate container 72f33a2442b7 20:35:09 ---> 9dfef628ff08 20:35:09 Step 23/25 : LABEL arch=arm64 20:35:09 ---> Running in 0f5fe3374d4e 20:35:09 Removing intermediate container 0f5fe3374d4e 20:35:09 ---> 992db63509ab 20:35:09 Step 24/25 : LABEL git_sha=9201c30d3cbedfb69842190fa0e339608ffa0cc3 20:35:10 ---> Running in 709d9539f0ea 20:35:10 Removing intermediate container 709d9539f0ea 20:35:10 ---> 5647c970b810 20:35:10 Step 25/25 : LABEL version=2.3.0-dev.17 20:35:10 ---> Running in 40141d10287d 20:35:10 Removing intermediate container 40141d10287d 20:35:10 ---> 7150f2d3c0ba 20:35:10 [Warning] One or more build-args [ARCH] were not consumed 20:35:10 Successfully built 7150f2d3c0ba 20:35:10 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 20:35:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:11 20:35:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:11 arm64: Pulling from edgex-lftools-log-publisher 20:35:11 8998bd30e6a1: Pulling fs layer 20:35:11 04944245beec: Pulling fs layer 20:35:11 699f458cf7ca: Pulling fs layer 20:35:11 765212b225bb: Pulling fs layer 20:35:11 f23df028b6ca: Pulling fs layer 20:35:11 d65c8cfc05b1: Pulling fs layer 20:35:11 2437ff75d9bd: Pulling fs layer 20:35:11 765212b225bb: Waiting 20:35:11 f23df028b6ca: Waiting 20:35:11 d65c8cfc05b1: Waiting 20:35:11 2437ff75d9bd: Waiting 20:35:11 04944245beec: Verifying Checksum 20:35:11 04944245beec: Download complete 20:35:11 765212b225bb: Verifying Checksum 20:35:11 765212b225bb: Download complete 20:35:11 f23df028b6ca: Verifying Checksum 20:35:11 f23df028b6ca: Download complete 20:35:12 d65c8cfc05b1: Verifying Checksum 20:35:12 d65c8cfc05b1: Download complete 20:35:12 699f458cf7ca: Verifying Checksum 20:35:12 699f458cf7ca: Download complete 20:35:12 8998bd30e6a1: Verifying Checksum 20:35:12 8998bd30e6a1: Download complete 20:35:14 2437ff75d9bd: Verifying Checksum 20:35:14 2437ff75d9bd: Download complete 20:35:16 8998bd30e6a1: Pull complete 20:35:17 04944245beec: Pull complete 20:35:18 699f458cf7ca: Pull complete 20:35:18 765212b225bb: Pull complete 20:35:19 f23df028b6ca: Pull complete 20:35:20 d65c8cfc05b1: Pull complete 20:35:35 2437ff75d9bd: Pull complete 20:35:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:35:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:35 prd-ubuntu20.04-docker-arm64-4c-16g-21398 does not seem to be running inside a container 20:35:35 $ 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/92 -v /w/workspace/device-sdk-go/92:/w/workspace/device-sdk-go/92:rw,z -v /w/workspace/device-sdk-go/92@tmp:/w/workspace/device-sdk-go/92@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 20:35:38 $ docker top d355481bd21a12a6449213f2a7bce81b52585c51092aa5a80ba12fd1eb3e875e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:39 ---> job-cost.sh 20:35:39 lf-activate-venv: SKIPPING 20:35:39 INFO: No Stack... 20:35:40 INFO: Retrieving Pricing Info for: v3-standard-4 20:35:41 INFO: Archiving Costs [Pipeline] sh 20:35:41 + cat /w/workspace/device-sdk-go/92/archives/cost.csv 20:35:41 + cut -d, -f6 [Pipeline] lock 20:35:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-92-stack-cost] 20:35:41 Resource [jenkins-edgexfoundry-device-sdk-go-main-92-stack-cost] did not exist. Created. 20:35:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:35:42 /w/workspace/device-sdk-go/92@tmp/durable-7849e85e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:35:43 + echo total: 0.10999999940395355 [Pipeline] stash 20:35:43 Warning: overwriting stash ‘stack-cost’ 20:35:43 Stashed 1 file(s) [Pipeline] } 20:35:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } 20:35:43 $ docker stop --time=1 d355481bd21a12a6449213f2a7bce81b52585c51092aa5a80ba12fd1eb3e875e 20:35:44 $ docker rm -f d355481bd21a12a6449213f2a7bce81b52585c51092aa5a80ba12fd1eb3e875e [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 20:35:45 provisioning config files... 20:35:45 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4201947016026892533tmp [Pipeline] { [Pipeline] sh 20:35:45 + set +x 20:35:45 + curl -s https://codecov.io/bash 20:35:45 + bash -s -- 20:35:45 20:35:45 _____ _ 20:35:45 / ____| | | 20:35:45 | | ___ __| | ___ ___ _____ __ 20:35:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:35:45 | |___| (_) | (_| | __/ (_| (_) \ V / 20:35:45 \_____\___/ \__,_|\___|\___\___/ \_/ 20:35:45 Bash-1.0.6 20:35:45 20:35:45 20:35:45 ==> git version 2.25.1 found 20:35:45 ==> 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 20:35:45 Release-Date: 2020-01-08 20:35:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:35:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:35:45 ==> Jenkins CI detected. 20:35:45 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 20:35:45 project root: . 20:35:45 --> token set from env 20:35:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:35:45 ==> Running gcov in . (disable via -X gcov) 20:35:45 ==> Python coveragepy not found 20:35:45 ==> Searching for coverage reports in: 20:35:45 + . 20:35:45 -> Found 1 reports 20:35:45 ==> Detecting git/mercurial file structure 20:35:46 ==> Reading reports 20:35:46 + ./coverage.out bytes=131677 20:35:46 ==> Appending adjustments 20:35:46 https://docs.codecov.io/docs/fixing-reports 20:35:46 + Found adjustments 20:35:46 ==> Gzipping contents 20:35:46 20K /tmp/codecov.AGf2X9.gz 20:35:46 ==> Uploading reports 20:35:46 url: https://codecov.io 20:35:46 query: branch=main&commit=9201c30d3cbedfb69842190fa0e339608ffa0cc3&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:35:46 -> Pinging Codecov 20:35:46 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=9201c30d3cbedfb69842190fa0e339608ffa0cc3&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:35:48 -> Uploading to 20:35:48 https://storage.googleapis.com/codecov/v4/raw/2022-07-28/7E55EF52A471D76F132DFD9A03CDDE97/9201c30d3cbedfb69842190fa0e339608ffa0cc3/5b7c032d-50c6-4005-8675-2dc2375d3208.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220728%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220728T203548Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ebb77937f065a8638539fe23c5e1fb85b363d74e8268fd1adca8da6e8cdb6c73 20:35:48 % Total % Received % Xferd Average Speed Time Time Time Current 20:35:48 Dload Upload Total Spent Left Speed 20:35:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17332 0 0 100 17332 0 70170 --:--:-- --:--:-- --:--:-- 70170 20:35:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9201c30d3cbedfb69842190fa0e339608ffa0cc3 [Pipeline] } 20:35:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:35:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:35:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:35:49 20:35:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:35:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:35:49 df9b9388f04a: Pulling fs layer 20:35:49 52dc419b0ee2: Pulling fs layer 20:35:49 25bc292e5bac: Pulling fs layer 20:35:49 114826534d7a: Pulling fs layer 20:35:49 4657fd5d0bcf: Pulling fs layer 20:35:49 6ad1cebc031e: Pulling fs layer 20:35:49 8a3aa393b2d8: Pulling fs layer 20:35:49 114826534d7a: Waiting 20:35:49 4657fd5d0bcf: Waiting 20:35:49 8a3aa393b2d8: Waiting 20:35:49 25bc292e5bac: Download complete 20:35:49 52dc419b0ee2: Verifying Checksum 20:35:49 52dc419b0ee2: Download complete 20:35:49 4657fd5d0bcf: Verifying Checksum 20:35:49 4657fd5d0bcf: Download complete 20:35:49 df9b9388f04a: Download complete 20:35:49 6ad1cebc031e: Verifying Checksum 20:35:49 6ad1cebc031e: Download complete 20:35:49 df9b9388f04a: Pull complete 20:35:49 52dc419b0ee2: Pull complete 20:35:50 25bc292e5bac: Pull complete 20:35:50 114826534d7a: Verifying Checksum 20:35:50 114826534d7a: Download complete 20:35:50 8a3aa393b2d8: Verifying Checksum 20:35:50 8a3aa393b2d8: Download complete 20:35:53 114826534d7a: Pull complete 20:35:53 4657fd5d0bcf: Pull complete 20:35:54 6ad1cebc031e: Pull complete 20:35:57 8a3aa393b2d8: Pull complete 20:35:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:35:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:35:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:57 prd-ubuntu20.04-docker-8c-8g-21397 does not seem to be running inside a container 20:35:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:35:59 $ docker top a76e7d288e830859486f22767fc28f265446abafd3ede723ca7e3bc7d359168c -eo pid,comm [Pipeline] { [Pipeline] echo 20:35:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 20:36:00 + set -o pipefail 20:36:00 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 20:36:06 20:36:06 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 20:36:06 20:36:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/b188df44-e101-41ce-8b75-aa331c09060c 20:36:06 20:36:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:36:06 20:36:06 [Pipeline] } 20:36:06 $ docker stop --time=1 a76e7d288e830859486f22767fc28f265446abafd3ede723ca7e3bc7d359168c 20:36:08 $ docker rm -f a76e7d288e830859486f22767fc28f265446abafd3ede723ca7e3bc7d359168c [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 20:36:09 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:09 provisioning config files... 20:36:09 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config479021166516542668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:09 --> edgex-publish-swagger.sh 20:36:09 === Publish openapi/v2 API === 20:36:09 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 20:36:09 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 20:36:09 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:09 Dload Upload Total Spent Left Speed 20:36:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 78985 --:--:-- --:--:-- --:--:-- 78985 20:36:10 20:36:10 [Pipeline] } 20:36:10 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 20:36:10 + git log --format=format:%s -1 9201c30d3cbedfb69842190fa0e339608ffa0cc3 [Pipeline] sh 20:36:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:36:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:11 prd-ubuntu20.04-docker-8c-8g-21397 does not seem to be running inside a container 20:36:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:36:11 $ docker top 11ea36c4961f01a729df7b3cd21c9815d18e54e9f3117efca0289330c93e13fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:36:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:11 [ssh-agent] Looking for ssh-agent implementation... 20:36:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:12 $ docker exec 11ea36c4961f01a729df7b3cd21c9815d18e54e9f3117efca0289330c93e13fa ssh-agent 20:36:12 SSH_AUTH_SOCK=/tmp/ssh-ooR5jdZbwkfV/agent.33 20:36:12 SSH_AGENT_PID=39 20:36:12 Running ssh-add (command line suppressed) 20:36:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7334099902233570872.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7334099902233570872.key) 20:36:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:12 + git semver tag 20:36:12 2022-07-28 20:36:12,802 [run_tag] DEBUG tag force:False 20:36:12 2022-07-28 20:36:12,802 [check_head_tag] DEBUG check head tag 20:36:12 2022-07-28 20:36:12,803 [execute] INFO git cat-file --batch-check 20:36:12 2022-07-28 20:36:12,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 20:36:12 2022-07-28 20:36:12,807 [execute] INFO git cat-file --batch 20:36:12 2022-07-28 20:36:12,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 20:36:12 2022-07-28 20:36:12,821 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:36:12 2022-07-28 20:36:12,821 [execute] INFO git tag -a v2.3.0-dev.17 -m v2.3.0-dev.17 20:36:12 2022-07-28 20:36:12,821 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.17', '-m', 'v2.3.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 20:36:12 2022-07-28 20:36:12,826 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:36:12 2.3.0-dev.17 [Pipeline] } 20:36:12 $ docker exec --env ******** --env ******** 11ea36c4961f01a729df7b3cd21c9815d18e54e9f3117efca0289330c93e13fa ssh-agent -k 20:36:12 unset SSH_AUTH_SOCK; 20:36:12 unset SSH_AGENT_PID; 20:36:12 echo Agent pid 39 killed; 20:36:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:36:13 + git semver [Pipeline] } 20:36:13 $ docker stop --time=1 11ea36c4961f01a729df7b3cd21c9815d18e54e9f3117efca0289330c93e13fa 20:36:14 $ docker rm -f 11ea36c4961f01a729df7b3cd21c9815d18e54e9f3117efca0289330c93e13fa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:36:15 20:36:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:36:15 0.23.1-centos7: Pulling from edgex-lftools 20:36:15 ab5ef0e58194: Pulling fs layer 20:36:15 9712f1f96733: Pulling fs layer 20:36:15 63f879dbbcfc: Pulling fs layer 20:36:15 0d9ebad4ef96: Pulling fs layer 20:36:15 e9a5061849ea: Pulling fs layer 20:36:15 d747dcd14b5f: Pulling fs layer 20:36:15 2de7ff778b66: Pulling fs layer 20:36:15 0d9ebad4ef96: Waiting 20:36:15 d747dcd14b5f: Waiting 20:36:15 2de7ff778b66: Waiting 20:36:15 e9a5061849ea: Waiting 20:36:15 9712f1f96733: Verifying Checksum 20:36:15 9712f1f96733: Download complete 20:36:16 63f879dbbcfc: Verifying Checksum 20:36:16 63f879dbbcfc: Download complete 20:36:16 0d9ebad4ef96: Verifying Checksum 20:36:16 0d9ebad4ef96: Download complete 20:36:16 d747dcd14b5f: Verifying Checksum 20:36:16 d747dcd14b5f: Download complete 20:36:16 e9a5061849ea: Verifying Checksum 20:36:16 e9a5061849ea: Download complete 20:36:16 ab5ef0e58194: Download complete 20:36:16 2de7ff778b66: Verifying Checksum 20:36:16 2de7ff778b66: Download complete 20:36:19 ab5ef0e58194: Pull complete 20:36:19 9712f1f96733: Pull complete 20:36:19 63f879dbbcfc: Pull complete 20:36:22 0d9ebad4ef96: Pull complete 20:36:23 e9a5061849ea: Pull complete 20:36:23 d747dcd14b5f: Pull complete 20:36:24 2de7ff778b66: Pull complete 20:36:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:36:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:36:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:24 prd-ubuntu20.04-docker-8c-8g-21397 does not seem to be running inside a container 20:36:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:36:26 $ docker top 862a9ef439e4ced4f31949c168f86478a5fc774ad84314796dda997d4ada1284 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:36:26 provisioning config files... 20:36:26 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4524735769536492457tmp 20:36:26 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4930624776721987992tmp 20:36:26 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config967221277639724345tmp [Pipeline] { [Pipeline] echo 20:36:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:36:27 ---> sigul-configuration.sh 20:36:27 gpg: directory `/root/.gnupg' created 20:36:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:36:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:36:27 gpg: keyring `/root/.gnupg/secring.gpg' created 20:36:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:36:27 gpg: CAST5 encrypted data 20:36:27 gpg: encrypted with 1 passphrase 20:36:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:36:27 + mkdir /home/jenkins 20:36:27 + mkdir /home/jenkins/sigul [Pipeline] sh 20:36:27 + 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 20:36:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:36:27 ---> sigul-install.sh 20:36:27 Sigul already installed; skipping installation. [Pipeline] sh 20:36:28 + git tag --list 20:36:28 0.7.1 20:36:28 delhi-tag 20:36:28 v1.0.0 20:36:28 v1.1.0 20:36:28 v1.1.1 20:36:28 v1.1.2 20:36:28 v1.2.0 20:36:28 v1.2.1 20:36:28 v1.2.2 20:36:28 v1.2.3 20:36:28 v1.3.0 20:36:28 v1.4.0 20:36:28 v2.0.0 20:36:28 v2.1.0 20:36:28 v2.1.1 20:36:28 v2.1.1-dev.2 20:36:28 v2.1.1-dev.3 20:36:28 v2.2.0 20:36:28 v2.2.1-dev.1 20:36:28 v2.2.1-dev.10 20:36:28 v2.2.1-dev.11 20:36:28 v2.2.1-dev.12 20:36:28 v2.2.1-dev.13 20:36:28 v2.2.1-dev.14 20:36:28 v2.2.1-dev.2 20:36:28 v2.2.1-dev.3 20:36:28 v2.2.1-dev.4 20:36:28 v2.2.1-dev.5 20:36:28 v2.2.1-dev.6 20:36:28 v2.2.1-dev.7 20:36:28 v2.2.1-dev.8 20:36:28 v2.2.1-dev.9 20:36:28 v2.3.0-dev.14 20:36:28 v2.3.0-dev.15 20:36:28 v2.3.0-dev.16 20:36:28 v2.3.0-dev.17 [Pipeline] sh 20:36:28 + lftools sign git-tag v2.3.0-dev.17 20:36:29 Signing Git tag with Sigul... 20:36:29 Signing v2.3.0-dev.17 [Pipeline] echo 20:36:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:36:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:36:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:36:29 $ docker stop --time=1 862a9ef439e4ced4f31949c168f86478a5fc774ad84314796dda997d4ada1284 20:36:30 $ docker rm -f 862a9ef439e4ced4f31949c168f86478a5fc774ad84314796dda997d4ada1284 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:36:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:36:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:31 prd-ubuntu20.04-docker-8c-8g-21397 does not seem to be running inside a container 20:36:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:36:32 $ docker top d794d356a08b098205a5c785e1ae93e358c171b461fbf6ab9b716baacd244a2b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:36:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:32 [ssh-agent] Looking for ssh-agent implementation... 20:36:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:32 $ docker exec d794d356a08b098205a5c785e1ae93e358c171b461fbf6ab9b716baacd244a2b ssh-agent 20:36:32 SSH_AUTH_SOCK=/tmp/ssh-oFKAQ1MstdLw/agent.31 20:36:32 SSH_AGENT_PID=37 20:36:32 Running ssh-add (command line suppressed) 20:36:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_717300201508952464.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_717300201508952464.key) 20:36:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:32 + git semver bump pre 20:36:33 2022-07-28 20:36:33,069 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:36:33 2022-07-28 20:36:33,069 [bump_version] DEBUG bumping version:2.3.0-dev.17 on axis:pre with prefix:dev 20:36:33 2022-07-28 20:36:33,070 [bump_version] DEBUG bumped version:2.3.0-dev.18 20:36:33 2022-07-28 20:36:33,070 [write_version] DEBUG write version:2.3.0-dev.18 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 20:36:33 2022-07-28 20:36:33,070 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:36:33 2022-07-28 20:36:33,070 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:36:33 2022-07-28 20:36:33,071 [execute] INFO git cat-file --batch-check 20:36:33 2022-07-28 20:36:33,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:36:33 2022-07-28 20:36:33,075 [execute] INFO git cat-file --batch 20:36:33 2022-07-28 20:36:33,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:36:33 2022-07-28 20:36:33,080 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:36:33 2.3.0-dev.18 [Pipeline] } 20:36:33 $ docker exec --env ******** --env ******** d794d356a08b098205a5c785e1ae93e358c171b461fbf6ab9b716baacd244a2b ssh-agent -k 20:36:33 unset SSH_AUTH_SOCK; 20:36:33 unset SSH_AGENT_PID; 20:36:33 echo Agent pid 37 killed; 20:36:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:36:33 + git semver [Pipeline] } 20:36:33 $ docker stop --time=1 d794d356a08b098205a5c785e1ae93e358c171b461fbf6ab9b716baacd244a2b 20:36:35 $ docker rm -f d794d356a08b098205a5c785e1ae93e358c171b461fbf6ab9b716baacd244a2b [Pipeline] // withDockerContainer [Pipeline] sh 20:36:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:36:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:35 prd-ubuntu20.04-docker-8c-8g-21397 does not seem to be running inside a container 20:36:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:36:36 $ docker top 24fb52bef1890cfb66f20a1f2d33a762ce7157f5e87672b36adff99f28ab0912 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:36:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:36 [ssh-agent] Looking for ssh-agent implementation... 20:36:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:36 $ docker exec 24fb52bef1890cfb66f20a1f2d33a762ce7157f5e87672b36adff99f28ab0912 ssh-agent 20:36:36 SSH_AUTH_SOCK=/tmp/ssh-tXWRRMHPxvyY/agent.33 20:36:36 SSH_AGENT_PID=40 20:36:36 Running ssh-add (command line suppressed) 20:36:36 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7271488003614578076.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7271488003614578076.key) 20:36:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:37 + git semver push 20:36:37 2022-07-28 20:36:37,349 [run_push] DEBUG push 20:36:37 2022-07-28 20:36:37,350 [execute] INFO git cat-file --batch-check 20:36:37 2022-07-28 20:36:37,350 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:36:37 2022-07-28 20:36:37,354 [execute] INFO git rev-list 38882a95c7d69e12d291ba95adce2e200756b247 -- 20:36:37 2022-07-28 20:36:37,354 [execute] DEBUG Popen(['git', 'rev-list', '38882a95c7d69e12d291ba95adce2e200756b247', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:36:37 2022-07-28 20:36:37,365 [execute] INFO git fetch -v origin 20:36:37 2022-07-28 20:36:37,365 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:36:38 2022-07-28 20:36:37,849 [run_push] DEBUG no remote changes detected 20:36:38 2022-07-28 20:36:37,850 [execute] INFO git push origin semver 20:36:38 2022-07-28 20:36:37,850 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:36:38 2022-07-28 20:36:38,572 [run_push] DEBUG push all version tags 20:36:38 2022-07-28 20:36:38,572 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:36:38 2022-07-28 20:36:38,573 [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) 20:36:39 2022-07-28 20:36:39,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:36:39 2.3.0-dev.18 [Pipeline] } 20:36:39 $ docker exec --env ******** --env ******** 24fb52bef1890cfb66f20a1f2d33a762ce7157f5e87672b36adff99f28ab0912 ssh-agent -k 20:36:39 unset SSH_AUTH_SOCK; 20:36:39 unset SSH_AGENT_PID; 20:36:39 echo Agent pid 40 killed; 20:36:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:36:40 + git semver [Pipeline] } 20:36:40 $ docker stop --time=1 24fb52bef1890cfb66f20a1f2d33a762ce7157f5e87672b36adff99f28ab0912 20:36:41 $ docker rm -f 24fb52bef1890cfb66f20a1f2d33a762ce7157f5e87672b36adff99f28ab0912 [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 20:36:42 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 20:36:42 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 20:36:42 total 16 20:36:42 drwxr-xr-x 3 root root 4096 Jul 28 20:23 . 20:36:42 drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 20:36 .. 20:36:42 drwxr-xr-x 2 root root 4096 Jul 28 20:23 cost 20:36:42 -rw-r--r-- 1 root root 84 Jul 28 20:23 cost.csv 20:36:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 20:36:42 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 20:36:42 total 16 20:36:42 drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 20:23 . 20:36:42 drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 20:36 .. 20:36:42 drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 20:23 cost 20:36:42 -rw-r--r-- 1 jenkins jenkins 84 Jul 28 20:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:36:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:36:43 ---> package-listing.sh 20:36:43 ++ facter osfamily 20:36:43 ++ tr '[:upper:]' '[:lower:]' 20:36:43 + OS_FAMILY=debian 20:36:43 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 20:36:43 + START_PACKAGES=/tmp/packages_start.txt 20:36:43 + END_PACKAGES=/tmp/packages_end.txt 20:36:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:36:43 + PACKAGES=/tmp/packages_start.txt 20:36:43 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 20:36:43 + PACKAGES=/tmp/packages_end.txt 20:36:43 + case "${OS_FAMILY}" in 20:36:43 + dpkg -l 20:36:43 + grep '^ii' 20:36:43 + '[' -f /tmp/packages_start.txt ']' 20:36:43 + '[' -f /tmp/packages_end.txt ']' 20:36:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:36:43 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 20:36:43 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 20:36:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 20:36:43 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 20:36:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:44 prd-ubuntu20.04-docker-8c-8g-21397 does not seem to be running inside a container 20:36:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:36:44 $ docker top f2968c58b076d6d3de8547eb5fca19e5d88de283b7d32f835ec419750b778789 -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:45 + touch /tmp/pre-build-complete [Pipeline] sh 20:36:45 + mkdir -p /var/log/sysstat [Pipeline] sh 20:36:45 + ls /var/log/sa-host 20:36:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:45 provisioning config files... 20:36:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2458655748816584997tmp [Pipeline] { [Pipeline] echo 20:36:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:36:46 ---> create-netrc.sh [Pipeline] } 20:36:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:36:46 ---> python-tools-install.sh [Pipeline] echo 20:36:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:36:46 ---> sudo-logs.sh 20:36:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:36:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:36:47 ---> job-cost.sh 20:36:47 lf-activate-venv: SKIPPING 20:36:47 DEBUG: total: 0.2199999988079071 20:36:47 INFO: Retrieving Stack Cost... 20:36:47 INFO: Retrieving Pricing Info for: v3-standard-8 20:36:48 INFO: Archiving Costs [Pipeline] echo 20:36:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:36:48 ---> logs-deploy.sh 20:36:48 lf-activate-venv: SKIPPING 20:36:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/92 20:36:48 INFO: archiving workspace using pattern(s): 20:36:49 Archives upload complete. 20:36:49 INFO: archiving logs to Nexus 20:36:50 ---> uname -a: 20:36:50 Linux prd-ubuntu20-04-docker-8c-8g-21397 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 20:36:50 20:36:50 20:36:50 ---> lscpu: 20:36:50 Architecture: x86_64 20:36:50 CPU op-mode(s): 32-bit, 64-bit 20:36:50 Byte Order: Little Endian 20:36:50 Address sizes: 40 bits physical, 48 bits virtual 20:36:50 CPU(s): 8 20:36:50 On-line CPU(s) list: 0-7 20:36:50 Thread(s) per core: 1 20:36:50 Core(s) per socket: 1 20:36:50 Socket(s): 8 20:36:50 NUMA node(s): 1 20:36:50 Vendor ID: AuthenticAMD 20:36:50 CPU family: 23 20:36:50 Model: 49 20:36:50 Model name: AMD EPYC-Rome Processor 20:36:50 Stepping: 0 20:36:50 CPU MHz: 2799.998 20:36:50 BogoMIPS: 5599.99 20:36:50 Virtualization: AMD-V 20:36:50 Hypervisor vendor: KVM 20:36:50 Virtualization type: full 20:36:50 L1d cache: 256 KiB 20:36:50 L1i cache: 256 KiB 20:36:50 L2 cache: 4 MiB 20:36:50 L3 cache: 128 MiB 20:36:50 NUMA node0 CPU(s): 0-7 20:36:50 Vulnerability Itlb multihit: Not affected 20:36:50 Vulnerability L1tf: Not affected 20:36:50 Vulnerability Mds: Not affected 20:36:50 Vulnerability Meltdown: Not affected 20:36:50 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:36:50 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:36:50 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:36:50 Vulnerability Srbds: Not affected 20:36:50 Vulnerability Tsx async abort: Not affected 20:36:50 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:36:50 20:36:50 20:36:50 ---> nproc: 20:36:50 8 20:36:50 20:36:50 20:36:50 ---> df -h: 20:36:50 Filesystem Size Used Avail Use% Mounted on 20:36:50 overlay 155G 13G 143G 8% / 20:36:50 tmpfs 64M 0 64M 0% /dev 20:36:50 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:36:50 shm 64M 0 64M 0% /dev/shm 20:36:50 /dev/vda1 155G 13G 143G 8% /facter-os 20:36:50 20:36:50