Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7128670c60762a554b6733602f52baa10dc88de3 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-ssh17957850995662279279.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5142193018790482153.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh11055266368481302091.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh9491825088473865753.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8376200869639206733.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25321 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 7128670c60762a554b6733602f52baa10dc88de3 (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 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 Commit message: "Merge pull request #1209 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.15" > git rev-list --no-walk ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:23:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:23:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:23:39 ========================================================= 21:23:39 EdgeX Global Pipelines Version Info 21:23:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:23:40 ------------------- 21:23:40 stable info: 21:23:40 ------------------- 21:23:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:23:40 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:23:40 Message: update stable to v1.0.239 21:23:40 ------------------- 21:23:40 experimental info: 21:23:40 ------------------- 21:23:40 Commited By: **** collab-it+edgex@linuxfoundation.org 21:23:40 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:23:40 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7128670c60762a554b6733602f52baa10dc88de3 [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7128670 [Pipeline] echo 21:23:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:41 provisioning config files... 21:23:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2892837196537579191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:41 ---> docker-login.sh 21:23:41 nexus3.edgexfoundry.org:10001 21:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:42 Configure a credential helper to remove this warning. See 21:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:42 21:23:42 Login Succeeded 21:23:42 nexus3.edgexfoundry.org:10002 21:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:42 Configure a credential helper to remove this warning. See 21:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:42 21:23:42 Login Succeeded 21:23:42 nexus3.edgexfoundry.org:10003 21:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:42 Configure a credential helper to remove this warning. See 21:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:42 21:23:42 Login Succeeded 21:23:42 nexus3.edgexfoundry.org:10004 21:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:42 Configure a credential helper to remove this warning. See 21:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:42 21:23:42 Login Succeeded 21:23:42 docker.io 21:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:43 Configure a credential helper to remove this warning. See 21:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:43 21:23:43 Login Succeeded 21:23:43 ---> docker-login.sh ends [Pipeline] } 21:23:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:23:43 + git rev-list -1 --merges 7128670c60762a554b6733602f52baa10dc88de3~1..7128670c60762a554b6733602f52baa10dc88de3 [Pipeline] echo 21:23:43 -----------> git rev-list -1 --merges 7128670c60762a554b6733602f52baa10dc88de3~1..7128670c60762a554b6733602f52baa10dc88de3 7128670c60762a554b6733602f52baa10dc88de3 21:23:43 7128670c60762a554b6733602f52baa10dc88de3 [false] [Pipeline] sh 21:23:43 + git log --format=format:%s -1 7128670c60762a554b6733602f52baa10dc88de3 [Pipeline] echo 21:23:43 ========================================================= 21:23:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:23:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:44 + git log --format=format:%s -1 7128670c60762a554b6733602f52baa10dc88de3 [Pipeline] echo 21:23:44 [semverPrep] GIT_COMMIT: 7128670c60762a554b6733602f52baa10dc88de3, Commit Message: Merge pull request #1209 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.15 [Pipeline] echo 21:23:44 [semverPrep] This is not a build commit. [Pipeline] sh 21:23:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:23:44 + grep -v github /etc/ssh/ssh_known_hosts 21:23:44 + [ -e /tmp/ssh_known_hosts ] 21:23:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:23:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:23:44 + sudo tee -a /etc/ssh/ssh_known_hosts 21:23:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:45 21:23:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:45 0.1.4: Pulling from edgex-devops/py-git-semver 21:23:45 b85a868b505f: Pulling fs layer 21:23:45 e2be974225ed: Pulling fs layer 21:23:45 339a4e72a1f5: Pulling fs layer 21:23:45 988bab9f4d93: Pulling fs layer 21:23:45 1469e6f7b9e6: Pulling fs layer 21:23:45 eaf3925da568: Pulling fs layer 21:23:45 bab4dde63d76: Pulling fs layer 21:23:45 bde34c3a00c8: Pulling fs layer 21:23:45 b352a97aabf1: Pulling fs layer 21:23:45 4872d77fe225: Pulling fs layer 21:23:45 5851b861e8e6: Pulling fs layer 21:23:45 bab4dde63d76: Waiting 21:23:45 bde34c3a00c8: Waiting 21:23:45 b352a97aabf1: Waiting 21:23:45 5851b861e8e6: Waiting 21:23:45 eaf3925da568: Waiting 21:23:45 988bab9f4d93: Waiting 21:23:45 4872d77fe225: Waiting 21:23:45 e2be974225ed: Verifying Checksum 21:23:45 988bab9f4d93: Verifying Checksum 21:23:45 988bab9f4d93: Download complete 21:23:45 1469e6f7b9e6: Verifying Checksum 21:23:45 1469e6f7b9e6: Download complete 21:23:45 eaf3925da568: Verifying Checksum 21:23:45 eaf3925da568: Download complete 21:23:45 339a4e72a1f5: Verifying Checksum 21:23:45 339a4e72a1f5: Download complete 21:23:45 bde34c3a00c8: Download complete 21:23:45 b352a97aabf1: Download complete 21:23:45 4872d77fe225: Download complete 21:23:45 5851b861e8e6: Download complete 21:23:45 b85a868b505f: Verifying Checksum 21:23:45 b85a868b505f: Download complete 21:23:45 bab4dde63d76: Verifying Checksum 21:23:45 bab4dde63d76: Download complete 21:23:46 b85a868b505f: Pull complete 21:23:47 e2be974225ed: Pull complete 21:23:47 339a4e72a1f5: Pull complete 21:23:47 988bab9f4d93: Pull complete 21:23:47 1469e6f7b9e6: Pull complete 21:23:47 eaf3925da568: Pull complete 21:23:49 bab4dde63d76: Pull complete 21:23:49 bde34c3a00c8: Pull complete 21:23:49 b352a97aabf1: Pull complete 21:23:50 4872d77fe225: Pull complete 21:23:50 5851b861e8e6: Pull complete 21:23:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:23:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:50 prd-ubuntu20.04-docker-8c-8g-25321 does not seem to be running inside a container 21:23:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:23:52 $ docker top d4c7ab8024296879bf400c99343a31ee7903f6f413491b400630f7e782f27755 -eo pid,comm 21:23:52 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). 21:23:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:23:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:52 [ssh-agent] Looking for ssh-agent implementation... 21:23:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:52 $ docker exec d4c7ab8024296879bf400c99343a31ee7903f6f413491b400630f7e782f27755 ssh-agent 21:23:52 SSH_AUTH_SOCK=/tmp/ssh-vIFnouCYDMkK/agent.32 21:23:52 SSH_AGENT_PID=39 21:23:52 Running ssh-add (command line suppressed) 21:23:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9205878061330502649.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9205878061330502649.key) 21:23:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:53 + git tag --points-at HEAD [Pipeline] } 21:23:53 $ docker exec --env ******** --env ******** d4c7ab8024296879bf400c99343a31ee7903f6f413491b400630f7e782f27755 ssh-agent -k 21:23:53 unset SSH_AUTH_SOCK; 21:23:53 unset SSH_AGENT_PID; 21:23:53 echo Agent pid 39 killed; 21:23:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:23:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:53 [ssh-agent] Looking for ssh-agent implementation... 21:23:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:53 $ docker exec d4c7ab8024296879bf400c99343a31ee7903f6f413491b400630f7e782f27755 ssh-agent 21:23:53 SSH_AUTH_SOCK=/tmp/ssh-1CTYP1FNIH8O/agent.73 21:23:53 SSH_AGENT_PID=79 21:23:53 Running ssh-add (command line suppressed) 21:23:53 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1690507532237640982.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1690507532237640982.key) 21:23:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:54 + git semver init 21:23:54 2022-09-06 21:23:54,332 [run_init] DEBUG init version:0.0.0 force:False 21:23:54 2022-09-06 21:23:54,333 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:23:54 2022-09-06 21:23:54,334 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:23:54 2022-09-06 21:23:54,334 [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) 21:23:55 2022-09-06 21:23:55,354 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 21:23:55 2022-09-06 21:23:55,355 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 21:23:55 2022-09-06 21:23:55,355 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:23:55 2022-09-06 21:23:55,355 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:23:55 2.3.0-dev.21 [Pipeline] } 21:23:55 $ docker exec --env ******** --env ******** d4c7ab8024296879bf400c99343a31ee7903f6f413491b400630f7e782f27755 ssh-agent -k 21:23:55 unset SSH_AUTH_SOCK; 21:23:55 unset SSH_AGENT_PID; 21:23:55 echo Agent pid 79 killed; 21:23:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:23:56 + git semver [Pipeline] } 21:23:56 $ docker stop --time=1 d4c7ab8024296879bf400c99343a31ee7903f6f413491b400630f7e782f27755 21:23:57 $ docker rm -f d4c7ab8024296879bf400c99343a31ee7903f6f413491b400630f7e782f27755 [Pipeline] // withDockerContainer [Pipeline] sh 21:23:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:23:58 Stashed 1 file(s) [Pipeline] echo 21:23:58 [edgeXSemver]: initialized semver on version 2.3.0-dev.21 [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 21:23:58 provisioning config files... 21:23:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7620622816401180750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:58 ---> docker-login.sh 21:23:58 nexus3.edgexfoundry.org:10001 21:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:58 Configure a credential helper to remove this warning. See 21:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:58 21:23:58 Login Succeeded 21:23:58 nexus3.edgexfoundry.org:10002 21:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:59 Configure a credential helper to remove this warning. See 21:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:59 21:23:59 Login Succeeded 21:23:59 nexus3.edgexfoundry.org:10003 21:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:59 Configure a credential helper to remove this warning. See 21:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:59 21:23:59 Login Succeeded 21:23:59 nexus3.edgexfoundry.org:10004 21:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:59 Configure a credential helper to remove this warning. See 21:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:59 21:23:59 Login Succeeded 21:23:59 docker.io 21:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:59 Configure a credential helper to remove this warning. See 21:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:59 21:23:59 Login Succeeded 21:23:59 ---> docker-login.sh ends [Pipeline] } 21:23:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:23:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:59 ========================================================= 21:23:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:23:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:00 + 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 . 21:24:00 Sending build context to Docker daemon 9.785MB 21:24:00 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 21:24:00 Step 2/11 : FROM ${BASE} AS builder 21:24:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:24:00 2408cc74d12b: Pulling fs layer 21:24:00 ea60b727a1ce: Pulling fs layer 21:24:00 30c4a7721957: Pulling fs layer 21:24:00 370296b7ddb6: Pulling fs layer 21:24:00 7c6cee850709: Pulling fs layer 21:24:00 39a5fcdaea64: Pulling fs layer 21:24:00 d94ebbe4e438: Pulling fs layer 21:24:00 bcfd1f05c69d: Pulling fs layer 21:24:00 59ccb84bbe0f: Pulling fs layer 21:24:00 370296b7ddb6: Waiting 21:24:00 bcfd1f05c69d: Waiting 21:24:00 59ccb84bbe0f: Waiting 21:24:00 7c6cee850709: Waiting 21:24:00 39a5fcdaea64: Waiting 21:24:00 d94ebbe4e438: Waiting 21:24:00 30c4a7721957: Verifying Checksum 21:24:00 30c4a7721957: Download complete 21:24:00 ea60b727a1ce: Download complete 21:24:00 7c6cee850709: Verifying Checksum 21:24:00 7c6cee850709: Download complete 21:24:00 39a5fcdaea64: Verifying Checksum 21:24:00 39a5fcdaea64: Download complete 21:24:00 2408cc74d12b: Download complete 21:24:00 d94ebbe4e438: Verifying Checksum 21:24:00 d94ebbe4e438: Download complete 21:24:00 2408cc74d12b: Pull complete 21:24:00 ea60b727a1ce: Pull complete 21:24:00 30c4a7721957: Pull complete 21:24:00 59ccb84bbe0f: Verifying Checksum 21:24:00 59ccb84bbe0f: Download complete 21:24:00 bcfd1f05c69d: Verifying Checksum 21:24:00 bcfd1f05c69d: Download complete 21:24:01 370296b7ddb6: Verifying Checksum 21:24:01 370296b7ddb6: Download complete 21:24:05 370296b7ddb6: Pull complete 21:24:05 7c6cee850709: Pull complete 21:24:05 39a5fcdaea64: Pull complete 21:24:05 d94ebbe4e438: Pull complete 21:24:07 bcfd1f05c69d: Pull complete 21:24:07 59ccb84bbe0f: Pull complete 21:24:07 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:24:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:24:07 ---> a4fb48ad2a94 21:24:07 Step 3/11 : ARG MAKE=make build 21:24:11 ---> Running in 7ddd415343be 21:24:11 Removing intermediate container 7ddd415343be 21:24:11 ---> 3b9c108709ae 21:24:11 Step 4/11 : WORKDIR /device-sdk-go 21:24:11 ---> Running in 2d157d59049c 21:24:11 Removing intermediate container 2d157d59049c 21:24:11 ---> 8834f242621b 21:24:11 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:24:11 ---> Running in 0965778f9194 21:24:11 Removing intermediate container 0965778f9194 21:24:11 ---> 3a10454c362b 21:24:11 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:24:11 ---> Running in ce632715ffc6 21:24:11 Removing intermediate container ce632715ffc6 21:24:11 ---> bdcad8e3fee7 21:24:11 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:24:12 ---> Running in 7ab6c414f0e4 21:24:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:24:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:24:13 OK: 211 MiB in 51 packages 21:24:13 Still waiting to schedule task 21:24:13 ‘prd-centos7-blackbox-4c-2g-24474’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:24:13 ‘prd-centos7-blackbox-4c-2g-24475’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:24:13 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24772’ is offline 21:24:13 ‘prd-ubuntu20.04-docker-arm64-4c-16g-25333’ is offline 21:24:14 Removing intermediate container 7ab6c414f0e4 21:24:14 ---> 61c64b8586dd 21:24:14 Step 8/11 : COPY go.mod vendor* ./ 21:24:14 ---> 1a2f8efbcc16 21:24:14 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:24:14 ---> Running in 9dccdb63c8fd 21:24:32 Removing intermediate container 9dccdb63c8fd 21:24:32 ---> b7cca10938eb 21:24:32 Step 10/11 : COPY . . 21:24:32 ---> a80d6e3224c1 21:24:32 Step 11/11 : RUN ${MAKE} 21:24:32 ---> Running in 85d9d200bd46 21:24:32 noop 21:24:32 Removing intermediate container 85d9d200bd46 21:24:32 ---> f65027778a2d 21:24:32 Successfully built f65027778a2d 21:24:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:33 + docker inspect -f . ci-base-image-x86_64 21:24:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:33 prd-ubuntu20.04-docker-8c-8g-25321 does not seem to be running inside a container 21:24:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:24:33 $ docker top 972bc71b028bd95439c2a83b8a34ecfc021441703d69c529ad7cd4a1670852f3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:34 + go version 21:24:34 go version go1.18.3 linux/amd64 [Pipeline] } 21:24:34 $ docker stop --time=1 972bc71b028bd95439c2a83b8a34ecfc021441703d69c529ad7cd4a1670852f3 21:24:35 $ docker rm -f 972bc71b028bd95439c2a83b8a34ecfc021441703d69c529ad7cd4a1670852f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:35 + docker inspect -f . ci-base-image-x86_64 21:24:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:35 prd-ubuntu20.04-docker-8c-8g-25321 does not seem to be running inside a container 21:24:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:24:36 $ docker top 2853f53e693f0750061d8c38fee327cdc821e34109871088ada7b3d655633b6f -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 21:24:36 + make test 21:24:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:24:43 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.087s coverage: 23.6% of statements 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 21:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.084s coverage: 78.9% of statements 21:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.062s coverage: 10.8% of statements 21:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.060s coverage: 60.0% of statements 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 34.8% of statements 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.097s coverage: 85.4% of statements 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 65.1% of statements 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.784s coverage: 89.2% of statements 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 21:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:25:16 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." 21:25:16 GO111MODULE=on go vet ./... 21:25:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:25:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:25:19 ./bin/test-attribution-txt.sh 21:25:19 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 21:25:19 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 21:25:19 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 21:25:19 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:25:19 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:25:19 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 21:25:19 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 21:25:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:25:19 $ docker stop --time=1 2853f53e693f0750061d8c38fee327cdc821e34109871088ada7b3d655633b6f 21:25:22 $ docker rm -f 2853f53e693f0750061d8c38fee327cdc821e34109871088ada7b3d655633b6f [Pipeline] // withDockerContainer [Pipeline] sh 21:25:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:25:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:25:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:25:23 + ls -al . 21:25:23 total 304 21:25:23 drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 21:24 . 21:25:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:23 .. 21:25:23 -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 21:23 .dockerignore 21:25:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 21:24 .git 21:25:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:23 .github 21:25:23 -rw-rw-r-- 1 jenkins jenkins 131 Sep 6 21:23 .gitignore 21:25:23 -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 21:23 .golangci.yml 21:25:23 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 21:23 .semver 21:25:23 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 6 21:23 CHANGELOG.md 21:25:23 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 21:23 GOVERNANCE.md 21:25:23 -rw-rw-r-- 1 jenkins jenkins 880 Sep 6 21:23 Jenkinsfile 21:25:23 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 21:23 LICENSE 21:25:23 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 6 21:23 Makefile 21:25:23 -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 21:23 OWNERS.md 21:25:23 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 6 21:23 README.md 21:25:23 -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 21:23 VERSION 21:25:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:23 bin 21:25:23 -rw-r--r-- 1 jenkins jenkins 131678 Sep 6 21:24 coverage.out 21:25:23 drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 21:23 example 21:25:23 -rw-rw-r-- 1 jenkins jenkins 3553 Sep 6 21:23 go.mod 21:25:23 -rw-rw-r-- 1 jenkins jenkins 36743 Sep 6 21:23 go.sum 21:25:23 drwxrwxr-x 15 jenkins jenkins 4096 Sep 6 21:23 internal 21:25:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:23 openapi 21:25:23 drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 21:23 pkg 21:25:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:23 snap 21:25:23 -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 21:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:24 + 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=7128670c60762a554b6733602f52baa10dc88de3 --label arch=amd64 --label version=2.3.0-dev.21 . 21:25:24 Sending build context to Docker daemon 9.917MB 21:25:24 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:25:24 Step 2/25 : FROM ${BASE} AS builder 21:25:24 ---> f65027778a2d 21:25:24 Step 3/25 : ARG MAKE=make build 21:25:24 ---> Running in cb8143456aef 21:25:24 Removing intermediate container cb8143456aef 21:25:24 ---> d36887bdb004 21:25:24 Step 4/25 : WORKDIR /device-sdk-go 21:25:24 ---> Running in 993ea6c967f3 21:25:24 Removing intermediate container 993ea6c967f3 21:25:24 ---> 62b4e24cb317 21:25:24 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:25:24 ---> Running in 7d2b14110840 21:25:24 Removing intermediate container 7d2b14110840 21:25:24 ---> 3e4a29ab339c 21:25:24 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:25:24 ---> Running in 4651ef1fd8bd 21:25:25 Removing intermediate container 4651ef1fd8bd 21:25:25 ---> d2a540312678 21:25:25 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:25:25 ---> Running in 7e3c80e49e5d 21:25:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:25:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:25:26 OK: 211 MiB in 51 packages 21:25:27 Removing intermediate container 7e3c80e49e5d 21:25:27 ---> 44efe9809521 21:25:27 Step 8/25 : COPY go.mod vendor* ./ 21:25:27 ---> e747f54d3e45 21:25:27 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:25:27 ---> Running in 30f273b2b225 21:25:27 Removing intermediate container 30f273b2b225 21:25:27 ---> c754bf2c9007 21:25:27 Step 10/25 : COPY . . 21:25:28 ---> c57ccc5c1954 21:25:28 Step 11/25 : RUN ${MAKE} 21:25:28 ---> Running in 539805445ded 21:25:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:25:46 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:25:50 Removing intermediate container 539805445ded 21:25:50 ---> 521219822b3d 21:25:50 Step 12/25 : FROM alpine:3.16 21:25:51 3.16: Pulling from library/alpine 21:25:51 213ec9aee27d: Pulling fs layer 21:25:51 213ec9aee27d: Verifying Checksum 21:25:51 213ec9aee27d: Download complete 21:25:51 213ec9aee27d: Pull complete 21:25:51 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:25:51 Status: Downloaded newer image for alpine:3.16 21:25:51 ---> 9c6f07244728 21:25:51 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:25:51 ---> Running in 8fe606f32fe4 21:25:51 Removing intermediate container 8fe606f32fe4 21:25:51 ---> 966594822d1d 21:25:51 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:25:52 ---> Running in b816a0c40069 21:25:52 Removing intermediate container b816a0c40069 21:25:52 ---> e8211fe0ec71 21:25:52 Step 15/25 : RUN apk add --update --no-cache zeromq 21:25:52 ---> Running in fc3e9a769cd5 21:25:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:25:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:25:53 (1/5) Installing libgcc (11.2.1_git20220219-r2) 21:25:54 (2/5) Installing libsodium (1.0.18-r0) 21:25:54 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 21:25:54 (4/5) Installing libzmq (4.3.4-r0) 21:25:54 (5/5) Installing zeromq (4.3.4-r0) 21:25:54 Executing busybox-1.35.0-r17.trigger 21:25:54 OK: 8 MiB in 19 packages 21:25:54 Removing intermediate container fc3e9a769cd5 21:25:54 ---> db0d2f2e1e6c 21:25:54 Step 16/25 : WORKDIR / 21:25:54 ---> Running in c6d51600f262 21:25:54 Removing intermediate container c6d51600f262 21:25:54 ---> 002b0a180644 21:25:54 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:25:55 ---> 094e7336c672 21:25:55 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:25:55 ---> 81b443936535 21:25:55 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:25:55 ---> 677846771f0d 21:25:55 Step 20/25 : EXPOSE 59999 21:25:55 ---> Running in 4d6a6f0f462f 21:25:55 Removing intermediate container 4d6a6f0f462f 21:25:55 ---> 19572079924c 21:25:55 Step 21/25 : ENTRYPOINT ["/device-simple"] 21:25:55 ---> Running in f1798c653973 21:25:56 Removing intermediate container f1798c653973 21:25:56 ---> 352bcb7c289f 21:25:56 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:25:56 ---> Running in 149162ecc88b 21:25:56 Removing intermediate container 149162ecc88b 21:25:56 ---> 142fafe7d132 21:25:56 Step 23/25 : LABEL arch=amd64 21:25:56 ---> Running in 87f723f92755 21:25:56 Removing intermediate container 87f723f92755 21:25:56 ---> 2361bbdeaa7d 21:25:56 Step 24/25 : LABEL git_sha=7128670c60762a554b6733602f52baa10dc88de3 21:25:56 ---> Running in e808e6ee7a66 21:25:56 Removing intermediate container e808e6ee7a66 21:25:56 ---> 8b19b3d464f6 21:25:56 Step 25/25 : LABEL version=2.3.0-dev.21 21:25:56 ---> Running in 16827fda552f 21:25:56 Removing intermediate container 16827fda552f 21:25:56 ---> d1854af2be22 21:25:56 [Warning] One or more build-args [ARCH] were not consumed 21:25:56 Successfully built d1854af2be22 21:25:56 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:56 21:25:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:57 latest: Pulling from edgex-lftools-log-publisher 21:25:57 5eb5b503b376: Pulling fs layer 21:25:57 5c69ac0246d0: Pulling fs layer 21:25:57 ec43610c2a17: Pulling fs layer 21:25:57 3a2ae6a8a46f: Pulling fs layer 21:25:57 33b1e0a273af: Pulling fs layer 21:25:57 5d3b04190fa2: Pulling fs layer 21:25:57 2f39f015ded8: Pulling fs layer 21:25:57 33b1e0a273af: Waiting 21:25:57 5d3b04190fa2: Waiting 21:25:57 2f39f015ded8: Waiting 21:25:57 3a2ae6a8a46f: Waiting 21:25:57 5c69ac0246d0: Verifying Checksum 21:25:57 5c69ac0246d0: Download complete 21:25:57 3a2ae6a8a46f: Verifying Checksum 21:25:57 33b1e0a273af: Verifying Checksum 21:25:57 33b1e0a273af: Download complete 21:25:57 ec43610c2a17: Verifying Checksum 21:25:57 ec43610c2a17: Download complete 21:25:57 5d3b04190fa2: Verifying Checksum 21:25:57 5d3b04190fa2: Download complete 21:25:57 5eb5b503b376: Verifying Checksum 21:25:57 5eb5b503b376: Download complete 21:25:58 2f39f015ded8: Verifying Checksum 21:25:58 2f39f015ded8: Download complete 21:25:59 5eb5b503b376: Pull complete 21:25:59 5c69ac0246d0: Pull complete 21:25:59 ec43610c2a17: Pull complete 21:25:59 3a2ae6a8a46f: Pull complete 21:25:59 33b1e0a273af: Pull complete 21:26:00 5d3b04190fa2: Pull complete 21:26:05 2f39f015ded8: Pull complete 21:26:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:26:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:26:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:05 prd-ubuntu20.04-docker-8c-8g-25321 does not seem to be running inside a container 21:26:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:26:08 $ docker top 0feccf0f65c5f80ec9d8e7c64474015911abc4526d67d72fa7b6d31fbbbe1e6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:08 ---> job-cost.sh 21:26:08 lf-activate-venv: SKIPPING 21:26:08 INFO: No Stack... 21:26:09 INFO: Retrieving Pricing Info for: v3-standard-8 21:26:09 INFO: Archiving Costs [Pipeline] sh 21:26:09 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 21:26:09 + cut -d, -f6 [Pipeline] lock 21:26:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-96-stack-cost] 21:26:09 Resource [jenkins-edgexfoundry-device-sdk-go-main-96-stack-cost] did not exist. Created. 21:26:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:26:10 + echo total: 0.2199999988079071 [Pipeline] stash 21:26:10 Stashed 1 file(s) [Pipeline] } 21:26:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 21:26:10 $ docker stop --time=1 0feccf0f65c5f80ec9d8e7c64474015911abc4526d67d72fa7b6d31fbbbe1e6d 21:26:11 $ docker rm -f 0feccf0f65c5f80ec9d8e7c64474015911abc4526d67d72fa7b6d31fbbbe1e6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:24:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-28362 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 22:24:25 Running in /w/workspace/device-sdk-go/96 [Pipeline] { [Pipeline] checkout 22:24:25 The recommended git tool is: git 22:24:33 using credential edgex-jenkins-ssh 22:24:33 Cloning the remote Git repository 22:24:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:24:34 > git init /w/workspace/device-sdk-go/96 # timeout=10 22:24:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:24:34 > git --version # timeout=10 22:24:34 > git --version # 'git version 2.25.1' 22:24:34 using GIT_SSH to set credentials SSH Credentials for GitHub 22:24:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:24:36 Avoid second fetch 22:24:36 Checking out Revision 7128670c60762a554b6733602f52baa10dc88de3 (main) 22:24:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:24:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:24:36 > git config core.sparsecheckout # timeout=10 22:24:36 > git checkout -f 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 22:24:40 Commit message: "Merge pull request #1209 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:24:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:24:41 % Total % Received % Xferd Average Speed Time Time Time Current 22:24:41 Dload Upload Total Spent Left Speed 22:24:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88125 [Pipeline] sh 22:24:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:24:42 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 22:24:42 tee /etc/docker/daemon.new 22:24:42 { 22:24:42 "registry-mirrors": [ 22:24:42 "https://nexus3.edgexfoundry.org:10001" 22:24:42 ], 22:24:42 "bip": "10.250.0.254/24", 22:24:42 "hosts": [ 22:24:42 "tcp://0.0.0.0:5555", 22:24:42 "unix:///var/run/docker.sock" 22:24:42 ], 22:24:42 "mtu": 1458, 22:24:42 "selinux-enabled": true, 22:24:42 "seccomp-profile": "/etc/docker/seccomp.json" 22:24:42 } [Pipeline] sh 22:24:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:24:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:02 provisioning config files... 22:25:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/96@tmp/config1991242633445252647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:02 ---> docker-login.sh 22:25:02 nexus3.edgexfoundry.org:10001 22:25:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:03 Configure a credential helper to remove this warning. See 22:25:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:03 22:25:03 Login Succeeded 22:25:03 nexus3.edgexfoundry.org:10002 22:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:04 Configure a credential helper to remove this warning. See 22:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:04 22:25:04 Login Succeeded 22:25:04 nexus3.edgexfoundry.org:10003 22:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:04 Configure a credential helper to remove this warning. See 22:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:04 22:25:04 Login Succeeded 22:25:04 nexus3.edgexfoundry.org:10004 22:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:05 Configure a credential helper to remove this warning. See 22:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:05 22:25:05 Login Succeeded 22:25:05 docker.io 22:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:25:06 Configure a credential helper to remove this warning. See 22:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:25:06 22:25:06 Login Succeeded 22:25:06 ---> docker-login.sh ends [Pipeline] } 22:25:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:25:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:25:06 ========================================================= 22:25:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:25:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:06 + 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 . 22:25:07 Sending build context to Docker daemon 5.255MB 22:25:07 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:25:07 Step 2/11 : FROM ${BASE} AS builder 22:25:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:25:07 b3c136eddcbf: Pulling fs layer 22:25:07 c0a3192eca97: Pulling fs layer 22:25:07 a050256f5b6f: Pulling fs layer 22:25:07 656be50a0ddc: Pulling fs layer 22:25:07 2bbca73fdf42: Pulling fs layer 22:25:07 46d945488cbd: Pulling fs layer 22:25:07 8a5474983e97: Pulling fs layer 22:25:07 329c88fbcd65: Pulling fs layer 22:25:07 656be50a0ddc: Waiting 22:25:07 2bbca73fdf42: Waiting 22:25:07 46d945488cbd: Waiting 22:25:07 8a5474983e97: Waiting 22:25:07 329c88fbcd65: Waiting 22:25:07 a050256f5b6f: Verifying Checksum 22:25:07 a050256f5b6f: Download complete 22:25:07 c0a3192eca97: Verifying Checksum 22:25:07 c0a3192eca97: Download complete 22:25:07 2bbca73fdf42: Verifying Checksum 22:25:07 2bbca73fdf42: Download complete 22:25:07 46d945488cbd: Download complete 22:25:07 b3c136eddcbf: Verifying Checksum 22:25:07 b3c136eddcbf: Download complete 22:25:08 b3c136eddcbf: Pull complete 22:25:08 329c88fbcd65: Verifying Checksum 22:25:08 329c88fbcd65: Download complete 22:25:09 c0a3192eca97: Pull complete 22:25:10 a050256f5b6f: Pull complete 22:25:10 8a5474983e97: Verifying Checksum 22:25:10 8a5474983e97: Download complete 22:25:10 656be50a0ddc: Verifying Checksum 22:25:10 656be50a0ddc: Download complete 22:25:25 656be50a0ddc: Pull complete 22:25:25 2bbca73fdf42: Pull complete 22:25:25 46d945488cbd: Pull complete 22:25:31 8a5474983e97: Pull complete 22:25:33 329c88fbcd65: Pull complete 22:25:33 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:25:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:25:33 ---> ff4287adb874 22:25:33 Step 3/11 : ARG MAKE=make build 22:25:34 ---> Running in b58c8f223331 22:25:34 Removing intermediate container b58c8f223331 22:25:34 ---> ac43f6ecb324 22:25:34 Step 4/11 : WORKDIR /device-sdk-go 22:25:35 ---> Running in 8738b64dbef5 22:25:35 Removing intermediate container 8738b64dbef5 22:25:35 ---> 73f39306e2eb 22:25:35 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:25:35 ---> Running in 1149dd176e2f 22:25:35 Removing intermediate container 1149dd176e2f 22:25:35 ---> eb05cbd656d5 22:25:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:25:36 ---> Running in c3c2d88bd9f2 22:25:38 Removing intermediate container c3c2d88bd9f2 22:25:38 ---> 397c1e3255ba 22:25:38 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:25:38 ---> Running in d551acc1525d 22:25:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:25:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:25:41 OK: 221 MiB in 51 packages 22:25:43 Removing intermediate container d551acc1525d 22:25:43 ---> 7961a963b4e6 22:25:43 Step 8/11 : COPY go.mod vendor* ./ 22:25:43 ---> 7af4493ab2b6 22:25:43 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:25:43 ---> Running in 3e7de0a456f5 22:26:40 Removing intermediate container 3e7de0a456f5 22:26:40 ---> cc76b0e206cd 22:26:40 Step 10/11 : COPY . . 22:26:40 ---> 1bb6bae1fbda 22:26:40 Step 11/11 : RUN ${MAKE} 22:26:40 ---> Running in 01a82f289dde 22:26:40 noop 22:26:40 Removing intermediate container 01a82f289dde 22:26:40 ---> bb00694df2e7 22:26:40 Successfully built bb00694df2e7 22:26:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:40 + docker inspect -f . ci-base-image-arm64 22:26:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:40 prd-ubuntu20.04-docker-arm64-4c-16g-28362 does not seem to be running inside a container 22:26:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/96 -v /w/workspace/device-sdk-go/96:/w/workspace/device-sdk-go/96:rw,z -v /w/workspace/device-sdk-go/96@tmp:/w/workspace/device-sdk-go/96@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 22:26:42 $ docker top 8a5152a19c9c68bd7bce62de99fc51b4306a5c1d7ba62212a09dd354f62c3309 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:43 + go version 22:26:43 go version go1.18.3 linux/arm64 [Pipeline] } 22:26:43 $ docker stop --time=1 8a5152a19c9c68bd7bce62de99fc51b4306a5c1d7ba62212a09dd354f62c3309 22:26:45 $ docker rm -f 8a5152a19c9c68bd7bce62de99fc51b4306a5c1d7ba62212a09dd354f62c3309 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:45 + docker inspect -f . ci-base-image-arm64 22:26:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:26:46 prd-ubuntu20.04-docker-arm64-4c-16g-28362 does not seem to be running inside a container 22:26:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/96 -v /w/workspace/device-sdk-go/96:/w/workspace/device-sdk-go/96:rw,z -v /w/workspace/device-sdk-go/96@tmp:/w/workspace/device-sdk-go/96@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 22:26:47 $ docker top c3d7415bf5659c80679145026e3ba85a85122810a8d8cfd4cc7dfcc8f485c807 -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:48 + git config --global --add safe.directory /w/workspace/device-sdk-go/96 [Pipeline] fileExists [Pipeline] sh 22:26:49 + make test 22:26:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:27:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:29:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:29:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:29:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:29:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.404s coverage: 23.6% of statements 22:29:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:29:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.299s coverage: 27.6% of statements 22:29:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.339s coverage: 78.9% of statements 22:29:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.283s coverage: 10.8% of statements 22:29:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.385s coverage: 60.0% of statements 22:29:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:29:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:29:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.418s coverage: 34.8% of statements 22:29:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:29:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.330s coverage: 85.4% of statements 22:29:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:29:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:29:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.569s coverage: 65.1% of statements 22:29:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 22:29:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 22:29:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.359s coverage: 89.2% of statements 22:29:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:30:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.285s coverage: 4.7% of statements 22:30:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:30:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:30:01 GO111MODULE=on go vet ./... 22:31:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:31:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:31:38 ./bin/test-attribution-txt.sh 22:31:38 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 22:31:38 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 22:31:38 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 22:31:38 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:31:38 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:31:38 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 22:31:38 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 22:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:31:38 $ docker stop --time=1 c3d7415bf5659c80679145026e3ba85a85122810a8d8cfd4cc7dfcc8f485c807 22:31:40 $ docker rm -f c3d7415bf5659c80679145026e3ba85a85122810a8d8cfd4cc7dfcc8f485c807 [Pipeline] // withDockerContainer [Pipeline] sh 22:31:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:31:42 Warning: overwriting stash ‘coverage-report’ 22:31:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:31:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:31:43 + ls -al . 22:31:43 total 300 22:31:43 drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 22:26 . 22:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:24 .. 22:31:43 -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 22:24 .dockerignore 22:31:43 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 22:24 .git 22:31:43 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:24 .github 22:31:43 -rw-rw-r-- 1 jenkins jenkins 131 Sep 6 22:24 .gitignore 22:31:43 -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 22:24 .golangci.yml 22:31:43 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 6 22:24 CHANGELOG.md 22:31:43 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 22:24 GOVERNANCE.md 22:31:43 -rw-rw-r-- 1 jenkins jenkins 880 Sep 6 22:24 Jenkinsfile 22:31:43 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 22:24 LICENSE 22:31:43 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 6 22:24 Makefile 22:31:43 -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 22:24 OWNERS.md 22:31:43 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 6 22:24 README.md 22:31:43 -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 21:23 VERSION 22:31:43 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 22:24 bin 22:31:43 -rw-r--r-- 1 jenkins jenkins 131679 Sep 6 22:30 coverage.out 22:31:43 drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 22:24 example 22:31:43 -rw-rw-r-- 1 jenkins jenkins 3553 Sep 6 22:24 go.mod 22:31:43 -rw-rw-r-- 1 jenkins jenkins 36743 Sep 6 22:24 go.sum 22:31:43 drwxrwxr-x 15 jenkins jenkins 4096 Sep 6 22:24 internal 22:31:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 22:24 openapi 22:31:43 drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 22:24 pkg 22:31:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 22:24 snap 22:31:43 -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 22:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:43 + 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=7128670c60762a554b6733602f52baa10dc88de3 --label arch=arm64 --label version=2.3.0-dev.21 . 22:31:44 Sending build context to Docker daemon 5.387MB 22:31:44 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:31:44 Step 2/25 : FROM ${BASE} AS builder 22:31:44 ---> bb00694df2e7 22:31:44 Step 3/25 : ARG MAKE=make build 22:31:44 ---> Running in 389576282f9f 22:31:44 Removing intermediate container 389576282f9f 22:31:44 ---> 77b29d704bf6 22:31:44 Step 4/25 : WORKDIR /device-sdk-go 22:31:45 ---> Running in f065f66a1c9f 22:31:45 Removing intermediate container f065f66a1c9f 22:31:45 ---> 3ef0722de4ce 22:31:45 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:31:45 ---> Running in 01032353d7a8 22:31:45 Removing intermediate container 01032353d7a8 22:31:45 ---> a0c7bc324a8b 22:31:45 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:31:45 ---> Running in 96dc722980f9 22:31:47 Removing intermediate container 96dc722980f9 22:31:47 ---> 179921ff22f6 22:31:47 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:31:47 ---> Running in abab9accef2d 22:31:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:31:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:31:50 OK: 221 MiB in 51 packages 22:31:51 Removing intermediate container abab9accef2d 22:31:51 ---> 859a072823c7 22:31:51 Step 8/25 : COPY go.mod vendor* ./ 22:31:52 ---> 07a2f736c14b 22:31:52 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:31:52 ---> Running in 43984a2a337e 22:31:54 Removing intermediate container 43984a2a337e 22:31:54 ---> 2d3cc3b5f904 22:31:54 Step 10/25 : COPY . . 22:31:55 ---> 3fa34aba58b4 22:31:55 Step 11/25 : RUN ${MAKE} 22:31:55 ---> Running in 7cec9be97893 22:31:56 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:34:18 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:34:18 Removing intermediate container 7cec9be97893 22:34:18 ---> b576d4449487 22:34:18 Step 12/25 : FROM alpine:3.16 22:34:19 3.16: Pulling from library/alpine 22:34:19 9b18e9b68314: Pulling fs layer 22:34:19 9b18e9b68314: Verifying Checksum 22:34:19 9b18e9b68314: Download complete 22:34:20 9b18e9b68314: Pull complete 22:34:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:34:20 Status: Downloaded newer image for alpine:3.16 22:34:20 ---> a6215f271958 22:34:20 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:34:20 ---> Running in fd1ea0785b35 22:34:20 Removing intermediate container fd1ea0785b35 22:34:20 ---> 8a67d6cf9f56 22:34:20 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:34:20 ---> Running in 6f702b796d33 22:34:22 Removing intermediate container 6f702b796d33 22:34:22 ---> 39445ef50fc7 22:34:22 Step 15/25 : RUN apk add --update --no-cache zeromq 22:34:22 ---> Running in 9f3e7ff9fd64 22:34:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:34:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:34:25 (1/5) Installing libgcc (11.2.1_git20220219-r2) 22:34:25 (2/5) Installing libsodium (1.0.18-r0) 22:34:25 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 22:34:25 (4/5) Installing libzmq (4.3.4-r0) 22:34:25 (5/5) Installing zeromq (4.3.4-r0) 22:34:25 Executing busybox-1.35.0-r17.trigger 22:34:25 OK: 8 MiB in 19 packages 22:34:26 Removing intermediate container 9f3e7ff9fd64 22:34:26 ---> 2853cd6c1fa2 22:34:26 Step 16/25 : WORKDIR / 22:34:26 ---> Running in 9da77e02eb62 22:34:27 Removing intermediate container 9da77e02eb62 22:34:27 ---> c6d0cde84f77 22:34:27 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:34:27 ---> 11ca5898cc20 22:34:27 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:34:29 ---> 5f80f8654b08 22:34:29 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:34:29 ---> f0ab976c92ba 22:34:29 Step 20/25 : EXPOSE 59999 22:34:30 ---> Running in 974769e51804 22:34:30 Removing intermediate container 974769e51804 22:34:30 ---> 085f873e4519 22:34:30 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:34:30 ---> Running in 71d37f0b8c51 22:34:30 Removing intermediate container 71d37f0b8c51 22:34:30 ---> 2adc7c3fa100 22:34:30 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:34:30 ---> Running in af3334c5fec1 22:34:31 Removing intermediate container af3334c5fec1 22:34:31 ---> eb45ed107f75 22:34:31 Step 23/25 : LABEL arch=arm64 22:34:31 ---> Running in 2c9b9cbf7bf5 22:34:31 Removing intermediate container 2c9b9cbf7bf5 22:34:31 ---> 80de32e7b11e 22:34:31 Step 24/25 : LABEL git_sha=7128670c60762a554b6733602f52baa10dc88de3 22:34:31 ---> Running in 3d372856093d 22:34:31 Removing intermediate container 3d372856093d 22:34:31 ---> 90fb0d52b4e2 22:34:31 Step 25/25 : LABEL version=2.3.0-dev.21 22:34:32 ---> Running in 34073120da70 22:34:32 Removing intermediate container 34073120da70 22:34:32 ---> e3b572157780 22:34:32 [Warning] One or more build-args [ARCH] were not consumed 22:34:32 Successfully built e3b572157780 22:34:32 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 22:34:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:32 22:34:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:33 arm64: Pulling from edgex-lftools-log-publisher 22:34:33 8998bd30e6a1: Pulling fs layer 22:34:33 04944245beec: Pulling fs layer 22:34:33 699f458cf7ca: Pulling fs layer 22:34:33 765212b225bb: Pulling fs layer 22:34:33 f23df028b6ca: Pulling fs layer 22:34:33 d65c8cfc05b1: Pulling fs layer 22:34:33 2437ff75d9bd: Pulling fs layer 22:34:33 765212b225bb: Waiting 22:34:33 f23df028b6ca: Waiting 22:34:33 d65c8cfc05b1: Waiting 22:34:33 2437ff75d9bd: Waiting 22:34:33 04944245beec: Verifying Checksum 22:34:33 04944245beec: Download complete 22:34:33 765212b225bb: Verifying Checksum 22:34:33 765212b225bb: Download complete 22:34:33 f23df028b6ca: Verifying Checksum 22:34:33 f23df028b6ca: Download complete 22:34:33 d65c8cfc05b1: Verifying Checksum 22:34:33 d65c8cfc05b1: Download complete 22:34:33 699f458cf7ca: Verifying Checksum 22:34:33 699f458cf7ca: Download complete 22:34:34 8998bd30e6a1: Verifying Checksum 22:34:34 8998bd30e6a1: Download complete 22:34:37 2437ff75d9bd: Verifying Checksum 22:34:37 2437ff75d9bd: Download complete 22:34:39 8998bd30e6a1: Pull complete 22:34:39 04944245beec: Pull complete 22:34:41 699f458cf7ca: Pull complete 22:34:41 765212b225bb: Pull complete 22:34:42 f23df028b6ca: Pull complete 22:34:42 d65c8cfc05b1: Pull complete 22:34:57 2437ff75d9bd: Pull complete 22:34:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:34:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:57 prd-ubuntu20.04-docker-arm64-4c-16g-28362 does not seem to be running inside a container 22:34:58 $ 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/96 -v /w/workspace/device-sdk-go/96:/w/workspace/device-sdk-go/96:rw,z -v /w/workspace/device-sdk-go/96@tmp:/w/workspace/device-sdk-go/96@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 22:35:00 $ docker top dcef0eceb9f349d731fecf2e1a64265bebf93b03e25099c0b66129983a639d04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:35:01 ---> job-cost.sh 22:35:01 lf-activate-venv: SKIPPING 22:35:01 INFO: No Stack... 22:35:02 INFO: Retrieving Pricing Info for: v3-standard-4 22:35:03 INFO: Archiving Costs [Pipeline] sh 22:35:03 + cut -d, -f6 22:35:03 + cat /w/workspace/device-sdk-go/96/archives/cost.csv [Pipeline] lock 22:35:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-96-stack-cost] 22:35:03 Resource [jenkins-edgexfoundry-device-sdk-go-main-96-stack-cost] did not exist. Created. 22:35:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:35:04 /w/workspace/device-sdk-go/96@tmp/durable-b6003604/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:35:05 + echo total: 0.10999999940395355 [Pipeline] stash 22:35:05 Warning: overwriting stash ‘stack-cost’ 22:35:05 Stashed 1 file(s) [Pipeline] } 22:35:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 22:35:05 $ docker stop --time=1 dcef0eceb9f349d731fecf2e1a64265bebf93b03e25099c0b66129983a639d04 22:35:06 $ docker rm -f dcef0eceb9f349d731fecf2e1a64265bebf93b03e25099c0b66129983a639d04 [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 22:35:07 provisioning config files... 22:35:07 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4911955257220734922tmp [Pipeline] { [Pipeline] sh 22:35:07 + set +x 22:35:07 + curl -s https://codecov.io/bash 22:35:07 + bash -s -- 22:35:07 22:35:07 _____ _ 22:35:07 / ____| | | 22:35:07 | | ___ __| | ___ ___ _____ __ 22:35:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:35:07 | |___| (_) | (_| | __/ (_| (_) \ V / 22:35:07 \_____\___/ \__,_|\___|\___\___/ \_/ 22:35:07 Bash-1.0.6 22:35:07 22:35:07 22:35:07 ==> git version 2.25.1 found 22:35:07 ==> 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 22:35:07 Release-Date: 2020-01-08 22:35:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:35:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:35:07 ==> Jenkins CI detected. 22:35:07 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 22:35:07 project root: . 22:35:07 --> token set from env 22:35:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:35:07 ==> Running gcov in . (disable via -X gcov) 22:35:07 ==> Python coveragepy not found 22:35:07 ==> Searching for coverage reports in: 22:35:07 + . 22:35:07 -> Found 1 reports 22:35:07 ==> Detecting git/mercurial file structure 22:35:07 ==> Reading reports 22:35:07 + ./coverage.out bytes=131679 22:35:07 ==> Appending adjustments 22:35:07 https://docs.codecov.io/docs/fixing-reports 22:35:07 + Found adjustments 22:35:07 ==> Gzipping contents 22:35:08 20K /tmp/codecov.RDWC3d.gz 22:35:08 ==> Uploading reports 22:35:08 url: https://codecov.io 22:35:08 query: branch=main&commit=7128670c60762a554b6733602f52baa10dc88de3&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:35:08 -> Pinging Codecov 22:35:08 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=7128670c60762a554b6733602f52baa10dc88de3&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:35:08 -> Uploading to 22:35:08 https://storage.googleapis.com/codecov/v4/raw/2022-09-06/7E55EF52A471D76F132DFD9A03CDDE97/7128670c60762a554b6733602f52baa10dc88de3/f80d7d3b-d41b-413a-8eb6-e72bfe5ec687.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220906T223508Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=348ec6fb64f4a3b47ebcc85dfc7f3f154facb2033d4fe93e9a8970ebd20bdf55 22:35:08 % Total % Received % Xferd Average Speed Time Time Time Current 22:35:08 Dload Upload Total Spent Left Speed 22:35:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17309 0 0 100 17309 0 81646 --:--:-- --:--:-- --:--:-- 81646 22:35:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7128670c60762a554b6733602f52baa10dc88de3 [Pipeline] } 22:35:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:35:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:35:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:35:09 22:35:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:35:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:35:09 df9b9388f04a: Pulling fs layer 22:35:09 52dc419b0ee2: Pulling fs layer 22:35:09 25bc292e5bac: Pulling fs layer 22:35:09 114826534d7a: Pulling fs layer 22:35:09 4657fd5d0bcf: Pulling fs layer 22:35:09 6ad1cebc031e: Pulling fs layer 22:35:09 8a3aa393b2d8: Pulling fs layer 22:35:09 114826534d7a: Waiting 22:35:09 4657fd5d0bcf: Waiting 22:35:09 6ad1cebc031e: Waiting 22:35:09 8a3aa393b2d8: Waiting 22:35:09 25bc292e5bac: Download complete 22:35:09 52dc419b0ee2: Download complete 22:35:09 4657fd5d0bcf: Verifying Checksum 22:35:09 4657fd5d0bcf: Download complete 22:35:09 df9b9388f04a: Download complete 22:35:09 6ad1cebc031e: Verifying Checksum 22:35:09 6ad1cebc031e: Download complete 22:35:09 df9b9388f04a: Pull complete 22:35:09 52dc419b0ee2: Pull complete 22:35:09 25bc292e5bac: Pull complete 22:35:10 114826534d7a: Verifying Checksum 22:35:10 114826534d7a: Download complete 22:35:10 8a3aa393b2d8: Verifying Checksum 22:35:10 8a3aa393b2d8: Download complete 22:35:13 114826534d7a: Pull complete 22:35:13 4657fd5d0bcf: Pull complete 22:35:14 6ad1cebc031e: Pull complete 22:35:16 8a3aa393b2d8: Pull complete 22:35:17 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:35:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:35:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:17 prd-ubuntu20.04-docker-8c-8g-25321 does not seem to be running inside a container 22:35:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:35:19 $ docker top cca65f93b9a732ffe9241f75392643a286d1cb7c89ccbee80495c18e3895d75a -eo pid,comm [Pipeline] { [Pipeline] echo 22:35:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 22:35:20 + set -o pipefail 22:35:20 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 22:35:26 22:35:26 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 22:35:26 22:35:26 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/73abecfb-1ef9-4b0f-bb39-529ee13a2aa1 22:35:26 22:35:26 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:35:26 22:35:26 [Pipeline] } 22:35:26 $ docker stop --time=1 cca65f93b9a732ffe9241f75392643a286d1cb7c89ccbee80495c18e3895d75a 22:35:29 $ docker rm -f cca65f93b9a732ffe9241f75392643a286d1cb7c89ccbee80495c18e3895d75a [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 22:35:29 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:35:29 provisioning config files... 22:35:29 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6818564017830074348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:35:29 --> edgex-publish-swagger.sh 22:35:29 === Publish openapi/v2 API === 22:35:29 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 22:35:29 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 22:35:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:35:29 Dload Upload Total Spent Left Speed 22:35:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 82387 --:--:-- --:--:-- --:--:-- 82261 22:35:30 22:35:30 [Pipeline] } 22:35:30 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 22:35:30 + git log --format=format:%s -1 7128670c60762a554b6733602f52baa10dc88de3 [Pipeline] sh 22:35:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:35:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:35:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:31 prd-ubuntu20.04-docker-8c-8g-25321 does not seem to be running inside a container 22:35: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:35:31 $ docker top cdb65b62e18de681165c4f3cf2d394d0700cef42f8b52ba90c97f25d335426f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:35:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:35:31 [ssh-agent] Looking for ssh-agent implementation... 22:35:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:35:32 $ docker exec cdb65b62e18de681165c4f3cf2d394d0700cef42f8b52ba90c97f25d335426f6 ssh-agent 22:35:32 SSH_AUTH_SOCK=/tmp/ssh-njUMz49m9WPU/agent.33 22:35:32 SSH_AGENT_PID=40 22:35:32 Running ssh-add (command line suppressed) 22:35:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6374742313117121035.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6374742313117121035.key) 22:35:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:35:32 + git semver tag 22:35:32 2022-09-06 22:35:32,699 [run_tag] DEBUG tag force:False 22:35:32 2022-09-06 22:35:32,699 [check_head_tag] DEBUG check head tag 22:35:32 2022-09-06 22:35:32,700 [execute] INFO git cat-file --batch-check 22:35:32 2022-09-06 22:35:32,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:35:32 2022-09-06 22:35:32,704 [execute] INFO git cat-file --batch 22:35:32 2022-09-06 22:35:32,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 22:35:32 2022-09-06 22:35:32,716 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:35:32 2022-09-06 22:35:32,716 [execute] INFO git tag -a v2.3.0-dev.21 -m v2.3.0-dev.21 22:35:32 2022-09-06 22:35:32,716 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.21', '-m', 'v2.3.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 22:35:32 2022-09-06 22:35:32,721 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:35:32 2.3.0-dev.21 [Pipeline] } 22:35:32 $ docker exec --env ******** --env ******** cdb65b62e18de681165c4f3cf2d394d0700cef42f8b52ba90c97f25d335426f6 ssh-agent -k 22:35:32 unset SSH_AUTH_SOCK; 22:35:32 unset SSH_AGENT_PID; 22:35:32 echo Agent pid 40 killed; 22:35:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:35:33 + git semver [Pipeline] } 22:35:33 $ docker stop --time=1 cdb65b62e18de681165c4f3cf2d394d0700cef42f8b52ba90c97f25d335426f6 22:35:34 $ docker rm -f cdb65b62e18de681165c4f3cf2d394d0700cef42f8b52ba90c97f25d335426f6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:35:35 22:35:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:35:35 0.23.1-centos7: Pulling from edgex-lftools 22:35:35 ab5ef0e58194: Pulling fs layer 22:35:35 9712f1f96733: Pulling fs layer 22:35:35 63f879dbbcfc: Pulling fs layer 22:35:35 0d9ebad4ef96: Pulling fs layer 22:35:35 e9a5061849ea: Pulling fs layer 22:35:35 d747dcd14b5f: Pulling fs layer 22:35:35 2de7ff778b66: Pulling fs layer 22:35:35 e9a5061849ea: Waiting 22:35:35 2de7ff778b66: Waiting 22:35:35 d747dcd14b5f: Waiting 22:35:35 0d9ebad4ef96: Waiting 22:35:35 9712f1f96733: Verifying Checksum 22:35:35 9712f1f96733: Download complete 22:35:35 63f879dbbcfc: Verifying Checksum 22:35:35 63f879dbbcfc: Download complete 22:35:36 0d9ebad4ef96: Verifying Checksum 22:35:36 0d9ebad4ef96: Download complete 22:35:36 d747dcd14b5f: Verifying Checksum 22:35:36 d747dcd14b5f: Download complete 22:35:36 e9a5061849ea: Verifying Checksum 22:35:36 e9a5061849ea: Download complete 22:35:36 ab5ef0e58194: Verifying Checksum 22:35:36 ab5ef0e58194: Download complete 22:35:36 2de7ff778b66: Verifying Checksum 22:35:36 2de7ff778b66: Download complete 22:35:39 ab5ef0e58194: Pull complete 22:35:39 9712f1f96733: Pull complete 22:35:39 63f879dbbcfc: Pull complete 22:35:43 0d9ebad4ef96: Pull complete 22:35:43 e9a5061849ea: Pull complete 22:35:43 d747dcd14b5f: Pull complete 22:35:44 2de7ff778b66: Pull complete 22:35:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:35:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:35:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:44 prd-ubuntu20.04-docker-8c-8g-25321 does not seem to be running inside a container 22:35:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:35:48 $ docker top ee389f528c4a1dce294daabde7539e7c2a188e74bddebc990fa635c831f13ec1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:35:48 provisioning config files... 22:35:48 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5988558262329575533tmp 22:35:48 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1978821985868490878tmp 22:35:48 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1861372099561986489tmp [Pipeline] { [Pipeline] echo 22:35:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:35:48 ---> sigul-configuration.sh 22:35:48 gpg: directory `/root/.gnupg' created 22:35:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:35:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:35:48 gpg: keyring `/root/.gnupg/secring.gpg' created 22:35:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:35:48 gpg: CAST5 encrypted data 22:35:48 gpg: encrypted with 1 passphrase 22:35:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:35:49 + mkdir /home/jenkins 22:35:49 + mkdir /home/jenkins/sigul [Pipeline] sh 22:35:49 + 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 22:35:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:35:49 ---> sigul-install.sh 22:35:49 Sigul already installed; skipping installation. [Pipeline] sh 22:35:50 + git tag --list 22:35:50 0.7.1 22:35:50 delhi-tag 22:35:50 v1.0.0 22:35:50 v1.1.0 22:35:50 v1.1.1 22:35:50 v1.1.2 22:35:50 v1.2.0 22:35:50 v1.2.1 22:35:50 v1.2.2 22:35:50 v1.2.3 22:35:50 v1.3.0 22:35:50 v1.4.0 22:35:50 v2.0.0 22:35:50 v2.1.0 22:35:50 v2.1.1 22:35:50 v2.1.1-dev.2 22:35:50 v2.1.1-dev.3 22:35:50 v2.2.0 22:35:50 v2.2.1-dev.1 22:35:50 v2.2.1-dev.10 22:35:50 v2.2.1-dev.11 22:35:50 v2.2.1-dev.12 22:35:50 v2.2.1-dev.13 22:35:50 v2.2.1-dev.14 22:35:50 v2.2.1-dev.2 22:35:50 v2.2.1-dev.3 22:35:50 v2.2.1-dev.4 22:35:50 v2.2.1-dev.5 22:35:50 v2.2.1-dev.6 22:35:50 v2.2.1-dev.7 22:35:50 v2.2.1-dev.8 22:35:50 v2.2.1-dev.9 22:35:50 v2.3.0-dev.14 22:35:50 v2.3.0-dev.15 22:35:50 v2.3.0-dev.16 22:35:50 v2.3.0-dev.17 22:35:50 v2.3.0-dev.18 22:35:50 v2.3.0-dev.19 22:35:50 v2.3.0-dev.20 22:35:50 v2.3.0-dev.21 [Pipeline] sh 22:35:50 + lftools sign git-tag v2.3.0-dev.21 22:35:50 Signing Git tag with Sigul... 22:35:50 Signing v2.3.0-dev.21 [Pipeline] echo 22:35:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:35:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:35:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:35:51 $ docker stop --time=1 ee389f528c4a1dce294daabde7539e7c2a188e74bddebc990fa635c831f13ec1 22:35:52 $ docker rm -f ee389f528c4a1dce294daabde7539e7c2a188e74bddebc990fa635c831f13ec1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:35:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:35:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:35:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:53 prd-ubuntu20.04-docker-8c-8g-25321 does not seem to be running inside a container 22:35:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:35:54 $ docker top 8e825b15e1f2b204b3a9304ed9a4e480516bec8b9371e9e652b423bc5bb380be -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:35:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:35:54 [ssh-agent] Looking for ssh-agent implementation... 22:35:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:35:54 $ docker exec 8e825b15e1f2b204b3a9304ed9a4e480516bec8b9371e9e652b423bc5bb380be ssh-agent 22:35:54 SSH_AUTH_SOCK=/tmp/ssh-YA28j5wMBCoQ/agent.32 22:35:54 SSH_AGENT_PID=41 22:35:54 Running ssh-add (command line suppressed) 22:35:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1146160502971773272.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1146160502971773272.key) 22:35:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:35:54 + git semver bump pre 22:35:55 2022-09-06 22:35:54,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:35:55 2022-09-06 22:35:54,965 [bump_version] DEBUG bumping version:2.3.0-dev.21 on axis:pre with prefix:dev 22:35:55 2022-09-06 22:35:54,965 [bump_version] DEBUG bumped version:2.3.0-dev.22 22:35:55 2022-09-06 22:35:54,965 [write_version] DEBUG write version:2.3.0-dev.22 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 22:35:55 2022-09-06 22:35:54,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:35:55 2022-09-06 22:35:54,965 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:35:55 2022-09-06 22:35:54,967 [execute] INFO git cat-file --batch-check 22:35:55 2022-09-06 22:35:54,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:35:55 2022-09-06 22:35:54,972 [execute] INFO git cat-file --batch 22:35:55 2022-09-06 22:35:54,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:35:55 2022-09-06 22:35:54,977 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:35:55 2.3.0-dev.22 [Pipeline] } 22:35:55 $ docker exec --env ******** --env ******** 8e825b15e1f2b204b3a9304ed9a4e480516bec8b9371e9e652b423bc5bb380be ssh-agent -k 22:35:55 unset SSH_AUTH_SOCK; 22:35:55 unset SSH_AGENT_PID; 22:35:55 echo Agent pid 41 killed; 22:35:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:35:55 + git semver [Pipeline] } 22:35:55 $ docker stop --time=1 8e825b15e1f2b204b3a9304ed9a4e480516bec8b9371e9e652b423bc5bb380be 22:35:57 $ docker rm -f 8e825b15e1f2b204b3a9304ed9a4e480516bec8b9371e9e652b423bc5bb380be [Pipeline] // withDockerContainer [Pipeline] sh 22:35:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:35:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:35:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:57 prd-ubuntu20.04-docker-8c-8g-25321 does not seem to be running inside a container 22:35:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:35:58 $ docker top 2e32ac8d45d636642a1583f7e9a9050a83b9a8db3c18aa5b66605290575bb35a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:35:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:35:58 [ssh-agent] Looking for ssh-agent implementation... 22:35:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:35:58 $ docker exec 2e32ac8d45d636642a1583f7e9a9050a83b9a8db3c18aa5b66605290575bb35a ssh-agent 22:35:58 SSH_AUTH_SOCK=/tmp/ssh-XcnzAyyccRxF/agent.32 22:35:58 SSH_AGENT_PID=38 22:35:58 Running ssh-add (command line suppressed) 22:35:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9067256700159564029.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9067256700159564029.key) 22:35:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:35:58 + git semver push 22:35:59 2022-09-06 22:35:59,073 [run_push] DEBUG push 22:35:59 2022-09-06 22:35:59,074 [execute] INFO git cat-file --batch-check 22:35:59 2022-09-06 22:35:59,074 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:35:59 2022-09-06 22:35:59,077 [execute] INFO git rev-list daf46fb071e178e43f7a2f5541f9074bbdacb7e2 -- 22:35:59 2022-09-06 22:35:59,078 [execute] DEBUG Popen(['git', 'rev-list', 'daf46fb071e178e43f7a2f5541f9074bbdacb7e2', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:35:59 2022-09-06 22:35:59,087 [execute] INFO git fetch -v origin 22:35:59 2022-09-06 22:35:59,088 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:35:59 2022-09-06 22:35:59,658 [run_push] DEBUG no remote changes detected 22:35:59 2022-09-06 22:35:59,658 [execute] INFO git push origin semver 22:35:59 2022-09-06 22:35:59,659 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:36:00 2022-09-06 22:36:00,446 [run_push] DEBUG push all version tags 22:36:00 2022-09-06 22:36:00,446 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:36:00 2022-09-06 22:36:00,447 [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) 22:36:01 2022-09-06 22:36:01,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 22:36:01 2.3.0-dev.22 [Pipeline] } 22:36:01 $ docker exec --env ******** --env ******** 2e32ac8d45d636642a1583f7e9a9050a83b9a8db3c18aa5b66605290575bb35a ssh-agent -k 22:36:01 unset SSH_AUTH_SOCK; 22:36:01 unset SSH_AGENT_PID; 22:36:01 echo Agent pid 38 killed; 22:36:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:36:02 + git semver [Pipeline] } 22:36:02 $ docker stop --time=1 2e32ac8d45d636642a1583f7e9a9050a83b9a8db3c18aa5b66605290575bb35a 22:36:03 $ docker rm -f 2e32ac8d45d636642a1583f7e9a9050a83b9a8db3c18aa5b66605290575bb35a [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 22:36:04 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 22:36:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:36:04 total 16 22:36:04 drwxr-xr-x 3 root root 4096 Sep 6 21:26 . 22:36:04 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 22:35 .. 22:36:04 drwxr-xr-x 2 root root 4096 Sep 6 21:26 cost 22:36:04 -rw-r--r-- 1 root root 84 Sep 6 21:26 cost.csv 22:36:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:36:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 22:36:04 total 16 22:36:04 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 21:26 . 22:36:04 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 22:35 .. 22:36:04 drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 21:26 cost 22:36:04 -rw-r--r-- 1 jenkins jenkins 84 Sep 6 21:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:36:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:36:05 ---> package-listing.sh 22:36:05 ++ facter osfamily 22:36:05 ++ tr '[:upper:]' '[:lower:]' 22:36:05 + OS_FAMILY=debian 22:36:05 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 22:36:05 + START_PACKAGES=/tmp/packages_start.txt 22:36:05 + END_PACKAGES=/tmp/packages_end.txt 22:36:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:36:05 + PACKAGES=/tmp/packages_start.txt 22:36:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:36:05 + PACKAGES=/tmp/packages_end.txt 22:36:05 + case "${OS_FAMILY}" in 22:36:05 + dpkg -l 22:36:05 + grep '^ii' 22:36:05 + '[' -f /tmp/packages_start.txt ']' 22:36:05 + '[' -f /tmp/packages_end.txt ']' 22:36:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:36:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 22:36:05 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 22:36:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 22:36:05 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 22:36:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:36:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:36:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:36:06 prd-ubuntu20.04-docker-8c-8g-25321 does not seem to be running inside a container 22:36:06 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:36:06 $ docker top ec1fc7ac05e38006a8d27c20c5d12fe73d7884413cbaa165869fa188a46ad119 -eo pid,comm [Pipeline] { [Pipeline] sh 22:36:07 + touch /tmp/pre-build-complete [Pipeline] sh 22:36:07 + mkdir -p /var/log/sysstat [Pipeline] sh 22:36:07 + ls /var/log/sa-host 22:36:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:36:07 provisioning config files... 22:36:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7892021696101559684tmp [Pipeline] { [Pipeline] echo 22:36:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:36:08 ---> create-netrc.sh [Pipeline] } 22:36:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:36:08 ---> python-tools-install.sh [Pipeline] echo 22:36:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:36:08 ---> sudo-logs.sh 22:36:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:36:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:36:09 ---> job-cost.sh 22:36:09 lf-activate-venv: SKIPPING 22:36:09 DEBUG: total: 0.2199999988079071 22:36:09 INFO: Retrieving Stack Cost... 22:36:09 INFO: Retrieving Pricing Info for: v3-standard-8 22:36:09 INFO: Archiving Costs [Pipeline] echo 22:36:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:36:10 ---> logs-deploy.sh 22:36:10 lf-activate-venv: SKIPPING 22:36:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/96 22:36:10 INFO: archiving workspace using pattern(s): 22:36:11 Archives upload complete. 22:36:11 INFO: archiving logs to Nexus 22:36:11 ---> uname -a: 22:36:11 Linux prd-ubuntu20-04-docker-8c-8g-25321 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 22:36:11 22:36:11 22:36:11 ---> lscpu: 22:36:11 Architecture: x86_64 22:36:11 CPU op-mode(s): 32-bit, 64-bit 22:36:11 Byte Order: Little Endian 22:36:11 Address sizes: 40 bits physical, 48 bits virtual 22:36:11 CPU(s): 8 22:36:11 On-line CPU(s) list: 0-7 22:36:11 Thread(s) per core: 1 22:36:11 Core(s) per socket: 1 22:36:11 Socket(s): 8 22:36:11 NUMA node(s): 1 22:36:11 Vendor ID: AuthenticAMD 22:36:11 CPU family: 23 22:36:11 Model: 49 22:36:11 Model name: AMD EPYC-Rome Processor 22:36:11 Stepping: 0 22:36:11 CPU MHz: 2800.002 22:36:11 BogoMIPS: 5600.00 22:36:11 Virtualization: AMD-V 22:36:11 Hypervisor vendor: KVM 22:36:11 Virtualization type: full 22:36:11 L1d cache: 256 KiB 22:36:11 L1i cache: 256 KiB 22:36:11 L2 cache: 4 MiB 22:36:11 L3 cache: 128 MiB 22:36:11 NUMA node0 CPU(s): 0-7 22:36:11 Vulnerability Itlb multihit: Not affected 22:36:11 Vulnerability L1tf: Not affected 22:36:11 Vulnerability Mds: Not affected 22:36:11 Vulnerability Meltdown: Not affected 22:36:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:36:11 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:36:11 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:36:11 Vulnerability Srbds: Not affected 22:36:11 Vulnerability Tsx async abort: Not affected 22:36:11 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 22:36:11 22:36:11