Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 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-ssh3998449064463336791.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh6149414701077717065.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh17333279485392174382.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh5388450316188624307.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-ssh13618125462900568935.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-26290’ Running on prd-ubuntu20.04-docker-8c-8g-26293 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 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 (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 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 # timeout=10 Commit message: "Merge pull request #1551 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.9" > git rev-list --no-walk 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:32:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:32:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:32:47 ========================================================= 07:32:47 EdgeX Global Pipelines Version Info 07:32:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:32:48 ------------------- 07:32:48 stable info: 07:32:48 ------------------- 07:32:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:32:48 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:32:48 Message: update stable to v1.0.258 07:32:48 ------------------- 07:32:48 experimental info: 07:32:48 ------------------- 07:32:48 Commited By: **** collab-it+edgex@linuxfoundation.org 07:32:48 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:32:48 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:32:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:32:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:32:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 [Pipeline] echo 07:32:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b0bc5c [Pipeline] echo 07:32:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:32:50 provisioning config files... 07:32:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10614205579790301581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:32:50 ---> ****-login.sh 07:32:50 nexus3.edgexfoundry.org:10001 07:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:32:50 Configure a credential helper to remove this warning. See 07:32:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:32:50 07:32:50 Login Succeeded 07:32:50 nexus3.edgexfoundry.org:10002 07:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:32:50 Configure a credential helper to remove this warning. See 07:32:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:32:50 07:32:50 Login Succeeded 07:32:50 nexus3.edgexfoundry.org:10003 07:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:32:51 Configure a credential helper to remove this warning. See 07:32:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:32:51 07:32:51 Login Succeeded 07:32:51 nexus3.edgexfoundry.org:10004 07:32:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:32:51 Configure a credential helper to remove this warning. See 07:32:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:32:51 07:32:51 Login Succeeded 07:32:51 ****.io 07:32:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:32:51 Configure a credential helper to remove this warning. See 07:32:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:32:51 07:32:51 Login Succeeded 07:32:51 ---> ****-login.sh ends [Pipeline] } 07:32:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:32:51 + git rev-list -1 --merges 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4~1..1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 [Pipeline] echo 07:32:51 -----------> git rev-list -1 --merges 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4~1..1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 07:32:51 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 [false] [Pipeline] sh 07:32:52 + git log --format=format:%s -1 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 [Pipeline] echo 07:32:52 ========================================================= 07:32:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:32:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:32:52 + git log --format=format:%s -1 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 [Pipeline] echo 07:32:52 [semverPrep] GIT_COMMIT: 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4, Commit Message: Merge pull request #1551 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.9 [Pipeline] echo 07:32:52 [semverPrep] This is not a build commit. [Pipeline] sh 07:32:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:32:53 + grep -v github /etc/ssh/ssh_known_hosts 07:32:53 + [ -e /tmp/ssh_known_hosts ] 07:32:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:32:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:32:53 + sudo tee -a /etc/ssh/ssh_known_hosts 07:32:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:32:53 07:32:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:32:53 0.1.4: Pulling from edgex-devops/py-git-semver 07:32:53 b85a868b505f: Pulling fs layer 07:32:53 e2be974225ed: Pulling fs layer 07:32:53 339a4e72a1f5: Pulling fs layer 07:32:53 988bab9f4d93: Pulling fs layer 07:32:53 1469e6f7b9e6: Pulling fs layer 07:32:53 eaf3925da568: Pulling fs layer 07:32:53 bab4dde63d76: Pulling fs layer 07:32:53 bde34c3a00c8: Pulling fs layer 07:32:53 b352a97aabf1: Pulling fs layer 07:32:53 4872d77fe225: Pulling fs layer 07:32:53 5851b861e8e6: Pulling fs layer 07:32:53 bde34c3a00c8: Waiting 07:32:53 b352a97aabf1: Waiting 07:32:53 4872d77fe225: Waiting 07:32:53 5851b861e8e6: Waiting 07:32:53 bab4dde63d76: Waiting 07:32:53 1469e6f7b9e6: Waiting 07:32:53 988bab9f4d93: Waiting 07:32:53 e2be974225ed: Verifying Checksum 07:32:53 e2be974225ed: Download complete 07:32:53 988bab9f4d93: Verifying Checksum 07:32:53 988bab9f4d93: Download complete 07:32:53 1469e6f7b9e6: Verifying Checksum 07:32:53 1469e6f7b9e6: Download complete 07:32:53 eaf3925da568: Verifying Checksum 07:32:53 eaf3925da568: Download complete 07:32:53 339a4e72a1f5: Verifying Checksum 07:32:53 339a4e72a1f5: Download complete 07:32:53 bde34c3a00c8: Download complete 07:32:53 b352a97aabf1: Verifying Checksum 07:32:53 b352a97aabf1: Download complete 07:32:53 4872d77fe225: Verifying Checksum 07:32:53 4872d77fe225: Download complete 07:32:53 b85a868b505f: Verifying Checksum 07:32:53 b85a868b505f: Download complete 07:32:53 5851b861e8e6: Verifying Checksum 07:32:53 5851b861e8e6: Download complete 07:32:54 bab4dde63d76: Verifying Checksum 07:32:54 bab4dde63d76: Download complete 07:32:55 b85a868b505f: Pull complete 07:32:55 e2be974225ed: Pull complete 07:32:55 339a4e72a1f5: Pull complete 07:32:55 988bab9f4d93: Pull complete 07:32:56 1469e6f7b9e6: Pull complete 07:32:56 eaf3925da568: Pull complete 07:32:57 bab4dde63d76: Pull complete 07:32:57 bde34c3a00c8: Pull complete 07:32:57 b352a97aabf1: Pull complete 07:32:57 4872d77fe225: Pull complete 07:32:58 5851b861e8e6: Pull complete 07:32:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:32:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:32:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:32:58 prd-ubuntu20.04-docker-8c-8g-26293 does not seem to be running inside a container 07:32:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:33:01 $ docker top 4c94d07feb47ac2cf36c26b3d6233949b7bd0716ab9f7f0c9e68da5b96c942d2 -eo pid,comm 07:33:01 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). 07:33:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:33:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:01 [ssh-agent] Looking for ssh-agent implementation... 07:33:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:02 $ docker exec 4c94d07feb47ac2cf36c26b3d6233949b7bd0716ab9f7f0c9e68da5b96c942d2 ssh-agent 07:33:02 SSH_AUTH_SOCK=/tmp/ssh-ZRvx5J4FR2sl/agent.32 07:33:02 SSH_AGENT_PID=38 07:33:02 Running ssh-add (command line suppressed) 07:33:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14312794537890205950.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14312794537890205950.key) 07:33:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:02 + git tag --points-at HEAD [Pipeline] } 07:33:02 $ docker exec --env ******** --env ******** 4c94d07feb47ac2cf36c26b3d6233949b7bd0716ab9f7f0c9e68da5b96c942d2 ssh-agent -k 07:33:02 unset SSH_AUTH_SOCK; 07:33:02 unset SSH_AGENT_PID; 07:33:02 echo Agent pid 38 killed; 07:33:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:33:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:02 [ssh-agent] Looking for ssh-agent implementation... 07:33:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:02 $ docker exec 4c94d07feb47ac2cf36c26b3d6233949b7bd0716ab9f7f0c9e68da5b96c942d2 ssh-agent 07:33:02 SSH_AUTH_SOCK=/tmp/ssh-3WUcoSB7V2MW/agent.70 07:33:02 SSH_AGENT_PID=76 07:33:02 Running ssh-add (command line suppressed) 07:33:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15370039469403085107.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15370039469403085107.key) 07:33:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:03 + git semver init 07:33:03 2023-12-28 07:33:03,540 [run_init] DEBUG init version:0.0.0 force:False 07:33:03 2023-12-28 07:33:03,540 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:33:03 2023-12-28 07:33:03,541 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:33:03 2023-12-28 07:33:03,541 [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) 07:33:05 2023-12-28 07:33:04,836 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 07:33:05 2023-12-28 07:33:04,837 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 07:33:05 2023-12-28 07:33:04,837 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:33:05 2023-12-28 07:33:04,837 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:33:05 3.2.0-dev.5 [Pipeline] } 07:33:05 $ docker exec --env ******** --env ******** 4c94d07feb47ac2cf36c26b3d6233949b7bd0716ab9f7f0c9e68da5b96c942d2 ssh-agent -k 07:33:05 unset SSH_AUTH_SOCK; 07:33:05 unset SSH_AGENT_PID; 07:33:05 echo Agent pid 76 killed; 07:33:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:33:05 + git semver [Pipeline] } 07:33:05 $ docker stop --time=1 4c94d07feb47ac2cf36c26b3d6233949b7bd0716ab9f7f0c9e68da5b96c942d2 07:33:07 $ docker rm -f --volumes 4c94d07feb47ac2cf36c26b3d6233949b7bd0716ab9f7f0c9e68da5b96c942d2 [Pipeline] // withDockerContainer [Pipeline] sh 07:33:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:33:07 Stashed 1 file(s) [Pipeline] echo 07:33:07 [edgeXSemver]: initialized semver on version 3.2.0-dev.5 [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 07:33:08 provisioning config files... 07:33:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16789748191590326322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:33:08 ---> ****-login.sh 07:33:08 nexus3.edgexfoundry.org:10001 07:33:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:33:08 Configure a credential helper to remove this warning. See 07:33:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:33:08 07:33:08 Login Succeeded 07:33:08 nexus3.edgexfoundry.org:10002 07:33:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:33:08 Configure a credential helper to remove this warning. See 07:33:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:33:08 07:33:08 Login Succeeded 07:33:08 nexus3.edgexfoundry.org:10003 07:33:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:33:08 Configure a credential helper to remove this warning. See 07:33:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:33:08 07:33:08 Login Succeeded 07:33:08 nexus3.edgexfoundry.org:10004 07:33:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:33:08 Configure a credential helper to remove this warning. See 07:33:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:33:08 07:33:08 Login Succeeded 07:33:08 ****.io 07:33:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:33:08 Configure a credential helper to remove this warning. See 07:33:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:33:08 07:33:08 Login Succeeded 07:33:08 ---> ****-login.sh ends [Pipeline] } 07:33:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:33:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:33:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:33:09 ========================================================= 07:33:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:33:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:09 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 07:33:09 Sending build context to Docker daemon 21.9MB 07:33:09 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:33:09 Step 2/10 : FROM ${BASE} AS builder 07:33:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:33:09 7264a8db6415: Pulling fs layer 07:33:09 c4d48a809fc2: Pulling fs layer 07:33:09 4f1c88b9dad5: Pulling fs layer 07:33:09 ad3a456e5733: Pulling fs layer 07:33:09 69c7f0334f64: Pulling fs layer 07:33:09 1f1c1a5573a3: Pulling fs layer 07:33:09 ce7588e14bc9: Pulling fs layer 07:33:09 b5e4710f87ac: Pulling fs layer 07:33:09 ad3a456e5733: Waiting 07:33:09 69c7f0334f64: Waiting 07:33:09 1f1c1a5573a3: Waiting 07:33:09 ce7588e14bc9: Waiting 07:33:09 b5e4710f87ac: Waiting 07:33:09 c4d48a809fc2: Verifying Checksum 07:33:09 c4d48a809fc2: Download complete 07:33:09 ad3a456e5733: Verifying Checksum 07:33:09 ad3a456e5733: Download complete 07:33:09 69c7f0334f64: Verifying Checksum 07:33:09 69c7f0334f64: Download complete 07:33:09 7264a8db6415: Verifying Checksum 07:33:09 7264a8db6415: Download complete 07:33:09 1f1c1a5573a3: Verifying Checksum 07:33:09 1f1c1a5573a3: Download complete 07:33:09 7264a8db6415: Pull complete 07:33:10 b5e4710f87ac: Verifying Checksum 07:33:10 b5e4710f87ac: Download complete 07:33:10 c4d48a809fc2: Pull complete 07:33:10 4f1c88b9dad5: Download complete 07:33:10 ce7588e14bc9: Verifying Checksum 07:33:10 ce7588e14bc9: Download complete 07:33:13 4f1c88b9dad5: Pull complete 07:33:13 ad3a456e5733: Pull complete 07:33:13 69c7f0334f64: Pull complete 07:33:13 1f1c1a5573a3: Pull complete 07:33:15 ce7588e14bc9: Pull complete 07:33:16 b5e4710f87ac: Pull complete 07:33:16 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 07:33:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:33:16 ---> 88b5674ff536 07:33:16 Step 3/10 : ARG MAKE=make build 07:33:21 ---> Running in cb683663e3aa 07:33:21 Removing intermediate container cb683663e3aa 07:33:21 ---> 3735e1239f52 07:33:21 Step 4/10 : WORKDIR /device-sdk-go 07:33:21 ---> Running in a511489170b9 07:33:21 Removing intermediate container a511489170b9 07:33:21 ---> 6468f4ec8b4a 07:33:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:33:21 ---> Running in a622f721123f 07:33:21 Removing intermediate container a622f721123f 07:33:21 ---> dab52a560110 07:33:21 Step 6/10 : RUN apk add --update --no-cache make git 07:33:21 ---> Running in 99a2cfdd1796 07:33:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:33:22 OK: 264 MiB in 52 packages 07:33:22 Still waiting to schedule task 07:33:22 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26294’ 07:33:23 Removing intermediate container 99a2cfdd1796 07:33:23 ---> dd9c5411f205 07:33:23 Step 7/10 : COPY go.mod vendor* ./ 07:33:23 ---> 6e82173d9041 07:33:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:33:23 ---> Running in 4da1d43dcdc0 07:34:32 Removing intermediate container 4da1d43dcdc0 07:34:32 ---> 41126b22cccc 07:34:32 Step 9/10 : COPY . . 07:34:32 ---> 42043e3ef7e9 07:34:32 Step 10/10 : RUN ${MAKE} 07:34:32 ---> Running in d9cadd744708 07:34:32 noop 07:34:32 Removing intermediate container d9cadd744708 07:34:32 ---> 6bc2282af613 07:34:32 Successfully built 6bc2282af613 07:34:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:32 + docker inspect -f . ci-base-image-x86_64 07:34:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:32 prd-ubuntu20.04-docker-8c-8g-26293 does not seem to be running inside a container 07:34:32 $ 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 07:34:32 $ docker top 99a06f53342d3ba8d88f6a5cf9b1d6ef6dc79f6a575b4ee25cb8200b74246bfc -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:33 + go version 07:34:33 go version go1.21.0 linux/amd64 [Pipeline] } 07:34:33 $ docker stop --time=1 99a06f53342d3ba8d88f6a5cf9b1d6ef6dc79f6a575b4ee25cb8200b74246bfc 07:34:34 $ docker rm -f --volumes 99a06f53342d3ba8d88f6a5cf9b1d6ef6dc79f6a575b4ee25cb8200b74246bfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:35 + docker inspect -f . ci-base-image-x86_64 07:34:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:35 prd-ubuntu20.04-docker-8c-8g-26293 does not seem to be running inside a container 07:34: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 07:34:35 $ docker top c160ccddd359cd2a6de5f25729b6691378af6c9490a71107bef378b18c36b85b -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 07:34:36 + make test 07:34:36 go test -race -coverprofile=coverage.out ./... 07:34:43 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:34:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:34:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:34:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:34:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:34:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:34:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:34:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:34:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.052s coverage: 27.6% of statements 07:34:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:34:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.050s coverage: 81.5% of statements 07:34:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.056s coverage: 86.0% of statements 07:34:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:34:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:34:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.069s coverage: 71.8% of statements 07:34:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:35:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.4% of statements 07:35:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.866s coverage: 45.9% of statements 07:35:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.055s coverage: 68.5% of statements 07:35:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.098s coverage: 89.2% of statements 07:35:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements 07:35:23 GO111MODULE=on go vet ./... 07:35:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:35:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:35:24 ./bin/test-attribution-txt.sh [Pipeline] echo 07:35:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:35:24 $ docker stop --time=1 c160ccddd359cd2a6de5f25729b6691378af6c9490a71107bef378b18c36b85b 07:35:28 $ docker rm -f --volumes c160ccddd359cd2a6de5f25729b6691378af6c9490a71107bef378b18c36b85b [Pipeline] // withDockerContainer [Pipeline] sh 07:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:35:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:35:30 + ls -al . 07:35:30 total 308 07:35:30 drwxrwxr-x 11 jenkins jenkins 4096 Dec 28 07:34 . 07:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 07:32 .. 07:35:30 -rw-rw-r-- 1 jenkins jenkins 140 Dec 28 07:32 .dockerignore 07:35:30 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 07:35 .git 07:35:30 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 07:32 .github 07:35:30 -rw-rw-r-- 1 jenkins jenkins 137 Dec 28 07:32 .gitignore 07:35:30 -rw-rw-r-- 1 jenkins jenkins 42 Dec 28 07:32 .golangci.yml 07:35:30 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 07:33 .semver 07:35:30 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 28 07:32 CHANGELOG.md 07:35:30 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 07:32 GOVERNANCE.md 07:35:30 -rw-rw-r-- 1 jenkins jenkins 885 Dec 28 07:32 Jenkinsfile 07:35:30 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 28 07:32 LICENSE 07:35:30 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 28 07:32 Makefile 07:35:30 -rw-rw-r-- 1 jenkins jenkins 619 Dec 28 07:32 OWNERS.md 07:35:30 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 28 07:32 README.md 07:35:30 -rw-rw-r-- 1 jenkins jenkins 11 Dec 28 07:33 VERSION 07:35:30 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 07:32 bin 07:35:30 -rw-r--r-- 1 jenkins jenkins 122155 Dec 28 07:35 coverage.out 07:35:30 drwxrwxr-x 5 jenkins jenkins 4096 Dec 28 07:32 example 07:35:30 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 28 07:32 go.mod 07:35:30 -rw-rw-r-- 1 jenkins jenkins 33778 Dec 28 07:32 go.sum 07:35:30 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 07:32 internal 07:35:30 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 07:32 openapi 07:35:30 drwxrwxr-x 6 jenkins jenkins 4096 Dec 28 07:32 pkg 07:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 07:32 snap 07:35:30 -rw-rw-r-- 1 jenkins jenkins 222 Dec 28 07:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:30 + 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=1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 --label arch=amd64 --label version=3.2.0-dev.5 . 07:35:30 Sending build context to Docker daemon 22.02MB 07:35:30 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 07:35:30 Step 2/23 : FROM ${BASE} AS builder 07:35:30 ---> 6bc2282af613 07:35:30 Step 3/23 : ARG MAKE=make build 07:35:30 ---> Running in ee2deac56605 07:35:31 Removing intermediate container ee2deac56605 07:35:31 ---> 6b94a369ddcd 07:35:31 Step 4/23 : WORKDIR /device-sdk-go 07:35:31 ---> Running in 9a9848bbcde5 07:35:31 Removing intermediate container 9a9848bbcde5 07:35:31 ---> 00981574c4ac 07:35:31 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:35:31 ---> Running in a7179a133cdc 07:35:31 Removing intermediate container a7179a133cdc 07:35:31 ---> b29f66693ce7 07:35:31 Step 6/23 : RUN apk add --update --no-cache make git 07:35:31 ---> Running in 19db9b1c65fe 07:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:35:31 OK: 264 MiB in 52 packages 07:35:32 Removing intermediate container 19db9b1c65fe 07:35:32 ---> 029152b4928c 07:35:32 Step 7/23 : COPY go.mod vendor* ./ 07:35:32 ---> 1bd586c120af 07:35:32 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:35:32 ---> Running in b7aaf0748575 07:35:33 Removing intermediate container b7aaf0748575 07:35:33 ---> 82a1c4792177 07:35:33 Step 9/23 : COPY . . 07:35:33 ---> 335230e28f39 07:35:33 Step 10/23 : RUN ${MAKE} 07:35:33 ---> Running in e255440631fc 07:35:34 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.5" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:35:56 Removing intermediate container e255440631fc 07:35:56 ---> 4ec422e888c0 07:35:56 Step 11/23 : FROM alpine:3.18 07:35:56 3.18: Pulling from library/alpine 07:35:56 c926b61bad3b: Pulling fs layer 07:35:56 c926b61bad3b: Verifying Checksum 07:35:56 c926b61bad3b: Download complete 07:35:56 c926b61bad3b: Pull complete 07:35:56 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 07:35:56 Status: Downloaded newer image for alpine:3.18 07:35:56 ---> b541f2080109 07:35:56 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:35:56 ---> Running in 1146f052039c 07:35:56 Removing intermediate container 1146f052039c 07:35:56 ---> 03b558a66f6f 07:35:56 Step 13/23 : RUN apk add --update --no-cache 07:35:56 ---> Running in c46f3cd95613 07:35:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:35:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:35:57 OK: 7 MiB in 15 packages 07:35:57 Removing intermediate container c46f3cd95613 07:35:57 ---> ccb24137f1e2 07:35:57 Step 14/23 : WORKDIR / 07:35:57 ---> Running in 7f4c39d348ec 07:35:57 Removing intermediate container 7f4c39d348ec 07:35:57 ---> e267c3ab95b3 07:35:57 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:35:57 ---> 64ccf5dddd83 07:35:57 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:35:58 ---> 8ba4c1dfb87d 07:35:58 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:35:59 ---> aefea5ed2a17 07:35:59 Step 18/23 : EXPOSE 59999 07:35:59 ---> Running in a8b326e09129 07:35:59 Removing intermediate container a8b326e09129 07:35:59 ---> 4f42245d34bc 07:35:59 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:35:59 ---> Running in 406901f6ade9 07:35:59 Removing intermediate container 406901f6ade9 07:35:59 ---> 55b26d8bb1a4 07:35:59 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:35:59 ---> Running in e535a1c7e3ba 07:35:59 Removing intermediate container e535a1c7e3ba 07:35:59 ---> 54fe5e6138d2 07:35:59 Step 21/23 : LABEL arch=amd64 07:35:59 ---> Running in 4df8f9656ba4 07:35:59 Removing intermediate container 4df8f9656ba4 07:35:59 ---> 548f8d834e3c 07:35:59 Step 22/23 : LABEL git_sha=1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 07:35:59 ---> Running in 412ecc3a7053 07:35:59 Removing intermediate container 412ecc3a7053 07:35:59 ---> 69f752dd1d11 07:35:59 Step 23/23 : LABEL version=3.2.0-dev.5 07:35:59 ---> Running in 7ed5fc6273da 07:35:59 Removing intermediate container 7ed5fc6273da 07:35:59 ---> cb5c17a23273 07:35:59 [Warning] One or more build-args [ARCH] were not consumed 07:35:59 Successfully built cb5c17a23273 07:35:59 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 07:36:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:00 07:36:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:00 latest: Pulling from edgex-lftools-log-publisher 07:36:00 5eb5b503b376: Pulling fs layer 07:36:00 5c69ac0246d0: Pulling fs layer 07:36:00 ec43610c2a17: Pulling fs layer 07:36:00 3a2ae6a8a46f: Pulling fs layer 07:36:00 33b1e0a273af: Pulling fs layer 07:36:00 5d3b04190fa2: Pulling fs layer 07:36:00 2f39f015ded8: Pulling fs layer 07:36:00 3a2ae6a8a46f: Waiting 07:36:00 5d3b04190fa2: Waiting 07:36:00 2f39f015ded8: Waiting 07:36:00 33b1e0a273af: Waiting 07:36:00 5c69ac0246d0: Verifying Checksum 07:36:00 5c69ac0246d0: Download complete 07:36:00 3a2ae6a8a46f: Verifying Checksum 07:36:00 3a2ae6a8a46f: Download complete 07:36:00 33b1e0a273af: Verifying Checksum 07:36:00 33b1e0a273af: Download complete 07:36:00 5d3b04190fa2: Verifying Checksum 07:36:00 5d3b04190fa2: Download complete 07:36:00 ec43610c2a17: Verifying Checksum 07:36:00 ec43610c2a17: Download complete 07:36:00 5eb5b503b376: Verifying Checksum 07:36:00 5eb5b503b376: Download complete 07:36:01 2f39f015ded8: Download complete 07:36:01 5eb5b503b376: Pull complete 07:36:01 5c69ac0246d0: Pull complete 07:36:02 ec43610c2a17: Pull complete 07:36:02 3a2ae6a8a46f: Pull complete 07:36:02 33b1e0a273af: Pull complete 07:36:02 5d3b04190fa2: Pull complete 07:36:06 2f39f015ded8: Pull complete 07:36:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:36:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:07 prd-ubuntu20.04-docker-8c-8g-26293 does not seem to be running inside a container 07:36:07 $ 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 07:36:12 $ docker top c2f4bf1e5950fd6f763a85d41348ea1d80388329ef1307af9eb1af357c4d5304 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:13 ---> job-cost.sh 07:36:13 lf-activate-venv: SKIPPING 07:36:13 INFO: No Stack... 07:36:13 INFO: Retrieving Pricing Info for: v3-standard-8 07:36:13 INFO: Archiving Costs [Pipeline] sh 07:36:14 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 07:36:14 + cut -d, -f6 [Pipeline] lock 07:36:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-276-stack-cost] 07:36:14 Resource [jenkins-edgexfoundry-device-sdk-go-main-276-stack-cost] did not exist. Created. 07:36:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-276-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:36:14 + echo total: 0.2199999988079071 [Pipeline] stash 07:36:14 Stashed 1 file(s) [Pipeline] } 07:36:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-276-stack-cost] [Pipeline] // lock [Pipeline] } 07:36:14 $ docker stop --time=1 c2f4bf1e5950fd6f763a85d41348ea1d80388329ef1307af9eb1af357c4d5304 07:36:15 $ docker rm -f --volumes c2f4bf1e5950fd6f763a85d41348ea1d80388329ef1307af9eb1af357c4d5304 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:36:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26299 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 07:36:30 Running in /w/workspace/device-sdk-go/276 [Pipeline] { [Pipeline] checkout 07:36:30 The recommended git tool is: git 07:36:37 using credential edgex-jenkins-ssh 07:36:37 Cloning the remote Git repository 07:36:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:36:37 > git init /w/workspace/device-sdk-go/276 # timeout=10 07:36:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:36:37 > git --version # timeout=10 07:36:37 > git --version # 'git version 2.25.1' 07:36:37 using GIT_SSH to set credentials SSH Credentials for GitHub 07:36:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:36:41 Avoid second fetch 07:36:41 Checking out Revision 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 (main) 07:36:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:36:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:36:41 > git config core.sparsecheckout # timeout=10 07:36:41 > git checkout -f 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 # timeout=10 07:36:41 Commit message: "Merge pull request #1551 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.9" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:36:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:36:43 % Total % Received % Xferd Average Speed Time Time Time Current 07:36:43 Dload Upload Total Spent Left Speed 07:36:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh 07:36:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:36:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 07:36:43 sudo tee /etc/docker/daemon.new 07:36:43 { 07:36:43 "registry-mirrors": [ 07:36:43 "https://nexus3.edgexfoundry.org:10001" 07:36:43 ], 07:36:43 "bip": "10.250.0.254/24", 07:36:43 "hosts": [ 07:36:43 "tcp://0.0.0.0:5555", 07:36:43 "unix:///var/run/docker.sock" 07:36:43 ], 07:36:43 "mtu": 1458, 07:36:43 "selinux-enabled": true, 07:36:43 "seccomp-profile": "/etc/docker/seccomp.json" 07:36:43 } [Pipeline] sh 07:36:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:36:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:02 provisioning config files... 07:37:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/276@tmp/config12509048083528598428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:37:03 ---> ****-login.sh 07:37:03 nexus3.edgexfoundry.org:10001 07:37:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:03 Configure a credential helper to remove this warning. See 07:37:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:03 07:37:03 Login Succeeded 07:37:03 nexus3.edgexfoundry.org:10002 07:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:04 Configure a credential helper to remove this warning. See 07:37:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:04 07:37:04 Login Succeeded 07:37:04 nexus3.edgexfoundry.org:10003 07:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:04 Configure a credential helper to remove this warning. See 07:37:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:04 07:37:04 Login Succeeded 07:37:04 nexus3.edgexfoundry.org:10004 07:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:04 Configure a credential helper to remove this warning. See 07:37:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:04 07:37:04 Login Succeeded 07:37:04 ****.io 07:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:37:05 Configure a credential helper to remove this warning. See 07:37:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:37:05 07:37:05 Login Succeeded 07:37:05 ---> ****-login.sh ends [Pipeline] } 07:37:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:37:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:37:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:37:05 ========================================================= 07:37:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:37:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:37: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.21-alpine --build-arg MAKE=echo noop --target=builder . 07:37:07 #0 building with "default" instance using docker driver 07:37:07 07:37:07 #1 [internal] load .dockerignore 07:37:07 #1 transferring context: 07:37:07 #1 transferring context: 182B 0.0s done 07:37:07 #1 DONE 0.1s 07:37:07 07:37:07 #2 [internal] load build definition from Dockerfile 07:37:07 #2 transferring dockerfile: 1.54kB done 07:37:07 #2 DONE 0.1s 07:37:07 07:37:07 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:37:07 #3 DONE 0.2s 07:37:07 07:37:07 #4 [internal] load build context 07:37:07 #4 DONE 0.0s 07:37:07 07:37:07 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 07:37:07 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 07:37:07 #5 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 07:37:07 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.05MB / 63.99MB 0.1s 07:37:07 #5 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 07:37:07 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0B / 3.33MB 0.1s 07:37:07 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 07:37:07 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.2s 07:37:07 #5 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 07:37:08 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.3s 07:37:08 #5 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.3s done 07:37:08 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 07:37:08 #5 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 07:37:08 #5 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s 07:37:08 #5 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 07:37:08 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 614.40kB / 97.63MB 0.4s 07:37:08 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.20MB / 11.40MB 0.4s 07:37:08 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 14.47MB / 63.99MB 0.5s 07:37:08 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.13MB / 11.40MB 0.5s 07:37:08 #5 ... 07:37:08 07:37:08 #4 [internal] load build context 07:37:08 #4 transferring context: 11.14MB 0.5s done 07:37:08 #4 DONE 0.6s 07:37:08 07:37:08 #5 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 07:37:08 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.83MB / 63.99MB 0.6s 07:37:08 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.29MB / 97.63MB 0.6s 07:37:08 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.59MB / 11.40MB 0.6s 07:37:08 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.07MB / 63.99MB 0.7s 07:37:08 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 0.7s 07:37:08 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.26MB / 63.99MB 0.9s 07:37:08 #5 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 07:37:08 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 12.58MB / 97.63MB 0.9s 07:37:08 #5 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 07:37:09 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 07:37:09 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 1.3s 07:37:09 #5 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.3s done 07:37:09 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 17.78MB / 97.63MB 1.5s 07:37:09 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.46MB / 63.99MB 1.6s 07:37:09 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.43MB / 63.99MB 1.8s 07:37:09 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 1.8s 07:37:09 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.36MB / 63.99MB 1.9s 07:37:09 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 2.1s 07:37:09 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.94MB / 97.63MB 2.1s 07:37:10 #5 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 2.2s done 07:37:10 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 50.33MB / 97.63MB 2.3s 07:37:10 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 07:37:10 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.77MB / 97.63MB 2.5s 07:37:10 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.11MB / 97.63MB 2.7s 07:37:10 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 79.69MB / 97.63MB 3.0s 07:37:11 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.25MB / 97.63MB 3.2s 07:37:11 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.54MB / 97.63MB 3.4s 07:37:11 #5 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 3.6s done 07:37:17 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.1s 07:37:22 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.3s 07:37:29 #5 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.3s done 07:37:30 #5 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 07:37:30 #5 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 07:37:30 #5 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 07:37:30 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 07:37:35 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 07:37:38 #5 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.0s done 07:37:38 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 07:37:40 #5 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 07:37:40 #5 DONE 32.6s 07:37:40 07:37:40 #6 [builder 2/7] WORKDIR /device-sdk-go 07:37:42 #6 DONE 1.8s 07:37:42 07:37:42 #7 [builder 3/7] RUN apk add --update --no-cache make git 07:37:43 #7 0.717 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:37:43 #7 1.122 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:37:44 #7 2.230 OK: 266 MiB in 52 packages 07:37:44 #7 DONE 2.5s 07:37:44 07:37:44 #8 [builder 4/7] COPY go.mod vendor* ./ 07:37:45 #8 DONE 0.2s 07:37:45 07:37:45 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:11 #9 DONE 26.1s 07:38:11 07:38:11 #10 [builder 6/7] COPY . . 07:38:11 #10 DONE 0.4s 07:38:11 07:38:11 #11 [builder 7/7] RUN echo noop 07:38:12 #11 0.653 noop 07:38:12 #11 DONE 0.7s 07:38:12 07:38:12 #12 exporting to image 07:38:12 #12 exporting layers 07:38:39 #12 exporting layers 23.3s done 07:38:39 #12 writing image sha256:7d810501b5472d6cf351a083588ed0d9bb8130be89ad4fb1709baa4c9808f8c1 done 07:38:39 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 07:38:39 #12 DONE 23.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:39 + docker inspect -f . ci-base-image-arm64 07:38:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:39 prd-ubuntu20.04-docker-arm64-4c-16g-26299 does not seem to be running inside a container 07:38:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/276 -v /w/workspace/device-sdk-go/276:/w/workspace/device-sdk-go/276:rw,z -v /w/workspace/device-sdk-go/276@tmp:/w/workspace/device-sdk-go/276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:38:41 $ docker top cd4cb84cde047bea286e62363fdba3146abfbd3abd75d3c8cff31b12dd58457a -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:42 + go version 07:38:42 go version go1.21.0 linux/arm64 [Pipeline] } 07:38:42 $ docker stop --time=1 cd4cb84cde047bea286e62363fdba3146abfbd3abd75d3c8cff31b12dd58457a 07:38:43 $ docker rm -f --volumes cd4cb84cde047bea286e62363fdba3146abfbd3abd75d3c8cff31b12dd58457a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:44 + docker inspect -f . ci-base-image-arm64 07:38:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:45 prd-ubuntu20.04-docker-arm64-4c-16g-26299 does not seem to be running inside a container 07:38:45 $ 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/276 -v /w/workspace/device-sdk-go/276:/w/workspace/device-sdk-go/276:rw,z -v /w/workspace/device-sdk-go/276@tmp:/w/workspace/device-sdk-go/276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:38:48 $ docker top 9549c5ad4d3f5354c65a54e571238fd926e65441cc64ff9da48ad8434c24e81a -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:49 + git config --global --add safe.directory /w/workspace/device-sdk-go/276 [Pipeline] fileExists [Pipeline] sh 07:38:49 + make test 07:38:49 go test -race -coverprofile=coverage.out ./... 07:39:28 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:40:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:40:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:40:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:40:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:40:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:40:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:40:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:40:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.253s coverage: 27.6% of statements 07:40:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.294s coverage: 81.5% of statements 07:40:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.357s coverage: 86.0% of statements 07:40:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:40:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.586s coverage: 71.8% of statements 07:40:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:40:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:40:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.434s coverage: 14.4% of statements 07:40:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.678s coverage: 45.6% of statements 07:40:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.470s coverage: 68.5% of statements 07:40:53 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.515s coverage: 89.2% of statements 07:40:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:40:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.243s coverage: 5.5% of statements 07:40:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:40:55 GO111MODULE=on go vet ./... 07:42:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:42:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:42:17 ./bin/test-attribution-txt.sh [Pipeline] echo 07:42:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:42:17 $ docker stop --time=1 9549c5ad4d3f5354c65a54e571238fd926e65441cc64ff9da48ad8434c24e81a 07:42:19 $ docker rm -f --volumes 9549c5ad4d3f5354c65a54e571238fd926e65441cc64ff9da48ad8434c24e81a [Pipeline] // withDockerContainer [Pipeline] sh 07:42:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:42:21 Warning: overwriting stash ‘coverage-report’ 07:42:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:42:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:42:22 + ls -al . 07:42:22 total 304 07:42:22 drwxrwxr-x 10 jenkins jenkins 4096 Dec 28 07:38 . 07:42:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 07:36 .. 07:42:22 -rw-rw-r-- 1 jenkins jenkins 140 Dec 28 07:36 .dockerignore 07:42:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 07:36 .git 07:42:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 07:36 .github 07:42:22 -rw-rw-r-- 1 jenkins jenkins 137 Dec 28 07:36 .gitignore 07:42:22 -rw-rw-r-- 1 jenkins jenkins 42 Dec 28 07:36 .golangci.yml 07:42:22 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 28 07:36 CHANGELOG.md 07:42:22 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 07:36 GOVERNANCE.md 07:42:22 -rw-rw-r-- 1 jenkins jenkins 885 Dec 28 07:36 Jenkinsfile 07:42:22 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 28 07:36 LICENSE 07:42:22 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 28 07:36 Makefile 07:42:22 -rw-rw-r-- 1 jenkins jenkins 619 Dec 28 07:36 OWNERS.md 07:42:22 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 28 07:36 README.md 07:42:22 -rw-rw-r-- 1 jenkins jenkins 11 Dec 28 07:33 VERSION 07:42:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 07:36 bin 07:42:22 -rw-r--r-- 1 jenkins jenkins 122156 Dec 28 07:40 coverage.out 07:42:22 drwxrwxr-x 5 jenkins jenkins 4096 Dec 28 07:36 example 07:42:22 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 28 07:36 go.mod 07:42:22 -rw-rw-r-- 1 jenkins jenkins 33778 Dec 28 07:36 go.sum 07:42:22 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 07:36 internal 07:42:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 07:36 openapi 07:42:22 drwxrwxr-x 6 jenkins jenkins 4096 Dec 28 07:36 pkg 07:42:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 07:36 snap 07:42:22 -rw-rw-r-- 1 jenkins jenkins 222 Dec 28 07:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:23 + 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=1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 --label arch=arm64 --label version=3.2.0-dev.5 . 07:42:24 #0 building with "default" instance using docker driver 07:42:24 07:42:24 #1 [internal] load build definition from Dockerfile 07:42:24 #1 transferring dockerfile: 1.54kB 0.0s done 07:42:24 #1 DONE 0.0s 07:42:24 07:42:24 #2 [internal] load .dockerignore 07:42:24 #2 transferring context: 182B 0.0s done 07:42:24 #2 DONE 0.0s 07:42:24 07:42:24 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 07:42:24 #3 DONE 0.0s 07:42:24 07:42:24 #4 [internal] load metadata for docker.io/library/alpine:3.18 07:42:24 #4 DONE 0.2s 07:42:24 07:42:24 #5 [internal] load build context 07:42:24 #5 transferring context: 136.19kB 0.1s done 07:42:24 #5 DONE 0.1s 07:42:24 07:42:24 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 07:42:24 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 07:42:24 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 07:42:24 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 07:42:24 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 07:42:24 #6 ... 07:42:24 07:42:24 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 07:42:24 #7 DONE 0.3s 07:42:24 07:42:24 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 07:42:24 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 07:42:24 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 07:42:25 #6 ... 07:42:25 07:42:25 #8 [builder 2/7] WORKDIR /device-sdk-go 07:42:25 #8 DONE 0.1s 07:42:25 07:42:25 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 07:42:25 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 07:42:25 #6 DONE 1.0s 07:42:25 07:42:25 #9 [builder 3/7] RUN apk add --update --no-cache make git 07:42:25 #9 0.789 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:42:26 #9 1.240 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:42:27 #9 2.495 OK: 266 MiB in 52 packages 07:42:27 #9 DONE 2.8s 07:42:27 07:42:27 #10 [builder 4/7] COPY go.mod vendor* ./ 07:42:28 #10 DONE 0.2s 07:42:28 07:42:28 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:42:28 #11 ... 07:42:28 07:42:28 #12 [stage-1 2/6] RUN apk add --update --no-cache 07:42:28 #12 0.709 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:42:28 #12 1.063 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:42:28 #12 2.201 OK: 8 MiB in 15 packages 07:42:28 #12 DONE 2.6s 07:42:28 07:42:28 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:42:29 #11 DONE 1.2s 07:42:29 07:42:29 #13 [builder 6/7] COPY . . 07:42:29 #13 DONE 0.5s 07:42:29 07:42:29 #14 [builder 7/7] RUN make build 07:42:30 #14 0.633 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.5" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:43:52 #14 DONE 72.6s 07:43:52 07:43:52 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:43:52 #15 DONE 0.1s 07:43:52 07:43:52 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:43:52 #16 DONE 0.4s 07:43:52 07:43:52 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:43:52 #17 DONE 0.1s 07:43:52 07:43:52 #18 exporting to image 07:43:52 #18 exporting layers 07:43:52 #18 exporting layers 0.3s done 07:43:52 #18 writing image sha256:da88d2f3c083d8167b8b51558245089710b537c94054be023bc5435996f5b84c done 07:43:52 #18 naming to docker.io/library/device-sdk-simple-arm64 done 07:43:52 #18 DONE 0.3s [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 07:43:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:43:52 07:43:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:43:53 arm64: Pulling from edgex-lftools-log-publisher 07:43:53 8998bd30e6a1: Pulling fs layer 07:43:53 04944245beec: Pulling fs layer 07:43:53 699f458cf7ca: Pulling fs layer 07:43:53 765212b225bb: Pulling fs layer 07:43:53 f23df028b6ca: Pulling fs layer 07:43:53 d65c8cfc05b1: Pulling fs layer 07:43:53 2437ff75d9bd: Pulling fs layer 07:43:53 f23df028b6ca: Waiting 07:43:53 d65c8cfc05b1: Waiting 07:43:53 765212b225bb: Waiting 07:43:53 2437ff75d9bd: Waiting 07:43:53 04944245beec: Verifying Checksum 07:43:53 04944245beec: Download complete 07:43:53 765212b225bb: Verifying Checksum 07:43:53 765212b225bb: Download complete 07:43:53 f23df028b6ca: Download complete 07:43:53 d65c8cfc05b1: Download complete 07:43:53 699f458cf7ca: Verifying Checksum 07:43:53 699f458cf7ca: Download complete 07:43:54 8998bd30e6a1: Verifying Checksum 07:43:54 8998bd30e6a1: Download complete 07:43:56 2437ff75d9bd: Verifying Checksum 07:43:56 2437ff75d9bd: Download complete 07:44:00 8998bd30e6a1: Pull complete 07:44:00 04944245beec: Pull complete 07:44:05 699f458cf7ca: Pull complete 07:44:05 765212b225bb: Pull complete 07:44:06 f23df028b6ca: Pull complete 07:44:06 d65c8cfc05b1: Pull complete 07:44:32 2437ff75d9bd: Pull complete 07:44:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:44:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:44:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:44:33 prd-ubuntu20.04-docker-arm64-4c-16g-26299 does not seem to be running inside a container 07:44:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/276 -v /w/workspace/device-sdk-go/276:/w/workspace/device-sdk-go/276:rw,z -v /w/workspace/device-sdk-go/276@tmp:/w/workspace/device-sdk-go/276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:44:35 $ docker top 07599f32b7a89e494b397ecdc0dfbb6a36da4f17575e1f2eb8802cb26b9c31a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:44:36 ---> job-cost.sh 07:44:36 lf-activate-venv: SKIPPING 07:44:36 INFO: No Stack... 07:44:37 INFO: Retrieving Pricing Info for: v3-standard-8 07:44:37 INFO: Archiving Costs [Pipeline] sh 07:44:38 + cat /w/workspace/device-sdk-go/276/archives/cost.csv 07:44:38 + cut -d, -f6 [Pipeline] lock 07:44:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-276-stack-cost] 07:44:38 Resource [jenkins-edgexfoundry-device-sdk-go-main-276-stack-cost] did not exist. Created. 07:44:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-276-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:44:38 /w/workspace/device-sdk-go/276@tmp/durable-899f5d7f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:44:38 + echo total: 0.2199999988079071 [Pipeline] stash 07:44:38 Warning: overwriting stash ‘stack-cost’ 07:44:38 Stashed 1 file(s) [Pipeline] } 07:44:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-276-stack-cost] [Pipeline] // lock [Pipeline] } 07:44:39 $ docker stop --time=1 07599f32b7a89e494b397ecdc0dfbb6a36da4f17575e1f2eb8802cb26b9c31a4 07:44:40 $ docker rm -f --volumes 07599f32b7a89e494b397ecdc0dfbb6a36da4f17575e1f2eb8802cb26b9c31a4 [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 07:44:41 provisioning config files... 07:44:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5546788632659260399tmp [Pipeline] { [Pipeline] sh 07:44:42 + set +x 07:44:42 + + curl -s https://codecov.io/bash 07:44:42 bash -s -- 07:44:42 07:44:42 _____ _ 07:44:42 / ____| | | 07:44:42 | | ___ __| | ___ ___ _____ __ 07:44:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:44:42 | |___| (_) | (_| | __/ (_| (_) \ V / 07:44:42 \_____\___/ \__,_|\___|\___\___/ \_/ 07:44:42 Bash-1.0.6 07:44:42 07:44:42 07:44:42 ==> git version 2.25.1 found 07:44:42 ==> 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 07:44:42 Release-Date: 2020-01-08 07:44:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:44:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:44:42 ==> Jenkins CI detected. 07:44:42 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 07:44:42 project root: . 07:44:42 --> token set from env 07:44:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:44:42 ==> Running gcov in . (disable via -X gcov) 07:44:42 ==> Python coveragepy not found 07:44:42 ==> Searching for coverage reports in: 07:44:42 + . 07:44:42 -> Found 1 reports 07:44:42 ==> Detecting git/mercurial file structure 07:44:42 ==> Reading reports 07:44:42 + ./coverage.out bytes=122156 07:44:42 ==> Appending adjustments 07:44:42 https://docs.codecov.io/docs/fixing-reports 07:44:42 + Found adjustments 07:44:42 ==> Gzipping contents 07:44:42 20K /tmp/codecov.hBo5hO.gz 07:44:42 ==> Uploading reports 07:44:42 url: https://codecov.io 07:44:42 query: branch=main&commit=1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4&build=276&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F276%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:44:42 -> Pinging Codecov 07:44:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4&build=276&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F276%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:44:42 -> Uploading to 07:44:42 https://storage.googleapis.com/codecov/v4/raw/2023-12-28/7E55EF52A471D76F132DFD9A03CDDE97/1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4/bf3ec3a8-6c59-42f7-b6bb-3e7a43133ae5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231228T074442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cbf4032338c449bda43d5a499647d6876303cb38fe0bb084e03883347ca99586 07:44:42 % Total % Received % Xferd Average Speed Time Time Time Current 07:44:42 Dload Upload Total Spent Left Speed 07:44:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16756 0 0 100 16756 0 81339 --:--:-- --:--:-- --:--:-- 80946 100 16756 0 0 100 16756 0 66756 --:--:-- --:--:-- --:--:-- 66492 07:44:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 [Pipeline] } 07:44:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:44:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:44:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:44:43 07:44:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:44:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:44:44 df9b9388f04a: Pulling fs layer 07:44:44 52dc419b0ee2: Pulling fs layer 07:44:44 25bc292e5bac: Pulling fs layer 07:44:44 114826534d7a: Pulling fs layer 07:44:44 4657fd5d0bcf: Pulling fs layer 07:44:44 6ad1cebc031e: Pulling fs layer 07:44:44 8a3aa393b2d8: Pulling fs layer 07:44:44 4657fd5d0bcf: Waiting 07:44:44 6ad1cebc031e: Waiting 07:44:44 8a3aa393b2d8: Waiting 07:44:44 114826534d7a: Waiting 07:44:44 25bc292e5bac: Verifying Checksum 07:44:44 25bc292e5bac: Download complete 07:44:44 52dc419b0ee2: Verifying Checksum 07:44:44 52dc419b0ee2: Download complete 07:44:44 4657fd5d0bcf: Download complete 07:44:44 df9b9388f04a: Download complete 07:44:44 df9b9388f04a: Pull complete 07:44:44 6ad1cebc031e: Verifying Checksum 07:44:44 6ad1cebc031e: Download complete 07:44:44 52dc419b0ee2: Pull complete 07:44:44 25bc292e5bac: Pull complete 07:44:44 114826534d7a: Download complete 07:44:44 8a3aa393b2d8: Verifying Checksum 07:44:44 8a3aa393b2d8: Download complete 07:44:48 114826534d7a: Pull complete 07:44:48 4657fd5d0bcf: Pull complete 07:44:48 6ad1cebc031e: Pull complete 07:44:51 8a3aa393b2d8: Pull complete 07:44:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:44:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:44:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:44:52 prd-ubuntu20.04-docker-8c-8g-26293 does not seem to be running inside a container 07:44:52 $ 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 07:44:57 $ docker top 5b8e1458174b4c07c81bf15a7a739d3f32d385fabad9f6ae766fe8cbb9b029c6 -eo pid,comm [Pipeline] { [Pipeline] echo 07:44:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 07:44:58 + set -o pipefail 07:44:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 07:45:03 07:45:03 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 07:45:03 07:45:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/e5e3aaba-74de-4c66-a28c-91e7a9d11594 07:45:03 07:45:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:45:03 07:45:04 07:45:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:45:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:45:04 More details here: https://snyk.co/ue1NS 07:45:04 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 07:45:04 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:45:04 $ docker stop --time=1 5b8e1458174b4c07c81bf15a7a739d3f32d385fabad9f6ae766fe8cbb9b029c6 07:45:09 $ docker rm -f --volumes 5b8e1458174b4c07c81bf15a7a739d3f32d385fabad9f6ae766fe8cbb9b029c6 [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 07:45:09 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:45:10 provisioning config files... 07:45:10 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15605284063712721669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:45:10 --> edgex-publish-swagger.sh 07:45:10 === Publish openapi/v3 API === 07:45:10 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 07:45:10 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 07:45:10 % Total % Received % Xferd Average Speed Time Time Time Current 07:45:10 Dload Upload Total Spent Left Speed 07:45:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23854 100 180 100 23674 356 46879 --:--:-- --:--:-- --:--:-- 47142 100 23854 100 180 100 23674 355 46786 --:--:-- --:--:-- --:--:-- 47049 07:45:10 {"code":403,"message":"This public API is blocked because you have exceeded your current plan's limits","messageCode":"PUBLIC_API_BLOCKED_UPGRADE_OR_DELETE","messageProperties":{}} 07:45:10 [Pipeline] } 07:45:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:45:11 + git log --format=format:%s -1 1b0bc5cc6bc3689a7a958b21430d1b1b4221d7f4 [Pipeline] sh 07:45:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:45:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:45:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:12 prd-ubuntu20.04-docker-8c-8g-26293 does not seem to be running inside a container 07:45:12 $ 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 07:45:13 $ docker top 5f0c5b65860ed0af23296a115f078cb11c1910a597a5a730022bf6e6f25254fc -eo pid,comm 07:45:13 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). 07:45:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:45:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:45:13 [ssh-agent] Looking for ssh-agent implementation... 07:45:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:45:13 $ docker exec 5f0c5b65860ed0af23296a115f078cb11c1910a597a5a730022bf6e6f25254fc ssh-agent 07:45:13 SSH_AUTH_SOCK=/tmp/ssh-WVzvfA1qY0l7/agent.32 07:45:13 SSH_AGENT_PID=38 07:45:13 Running ssh-add (command line suppressed) 07:45:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11158544748088290729.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11158544748088290729.key) 07:45:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:45:14 + git semver tag 07:45:14 2023-12-28 07:45:14,282 [run_tag] DEBUG tag force:False 07:45:14 2023-12-28 07:45:14,282 [check_head_tag] DEBUG check head tag 07:45:14 2023-12-28 07:45:14,283 [execute] INFO git cat-file --batch-check 07:45:14 2023-12-28 07:45:14,284 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:45:14 2023-12-28 07:45:14,288 [execute] INFO git cat-file --batch 07:45:14 2023-12-28 07:45:14,288 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:45:14 2023-12-28 07:45:14,311 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:45:14 2023-12-28 07:45:14,311 [execute] INFO git tag -a v3.2.0-dev.5 -m v3.2.0-dev.5 07:45:14 2023-12-28 07:45:14,311 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.5', '-m', 'v3.2.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 07:45:14 2023-12-28 07:45:14,318 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:45:14 3.2.0-dev.5 [Pipeline] } 07:45:14 $ docker exec --env ******** --env ******** 5f0c5b65860ed0af23296a115f078cb11c1910a597a5a730022bf6e6f25254fc ssh-agent -k 07:45:14 unset SSH_AUTH_SOCK; 07:45:14 unset SSH_AGENT_PID; 07:45:14 echo Agent pid 38 killed; 07:45:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:45:14 + git semver [Pipeline] } 07:45:15 $ docker stop --time=1 5f0c5b65860ed0af23296a115f078cb11c1910a597a5a730022bf6e6f25254fc 07:45:16 $ docker rm -f --volumes 5f0c5b65860ed0af23296a115f078cb11c1910a597a5a730022bf6e6f25254fc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:45:17 07:45:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:45:17 0.23.1-centos7: Pulling from edgex-lftools 07:45:17 ab5ef0e58194: Pulling fs layer 07:45:17 9712f1f96733: Pulling fs layer 07:45:17 63f879dbbcfc: Pulling fs layer 07:45:17 0d9ebad4ef96: Pulling fs layer 07:45:17 e9a5061849ea: Pulling fs layer 07:45:17 d747dcd14b5f: Pulling fs layer 07:45:17 2de7ff778b66: Pulling fs layer 07:45:17 0d9ebad4ef96: Waiting 07:45:17 e9a5061849ea: Waiting 07:45:17 2de7ff778b66: Waiting 07:45:17 d747dcd14b5f: Waiting 07:45:17 9712f1f96733: Verifying Checksum 07:45:17 9712f1f96733: Download complete 07:45:17 63f879dbbcfc: Verifying Checksum 07:45:17 63f879dbbcfc: Download complete 07:45:17 e9a5061849ea: Verifying Checksum 07:45:17 e9a5061849ea: Download complete 07:45:17 d747dcd14b5f: Verifying Checksum 07:45:17 d747dcd14b5f: Download complete 07:45:18 0d9ebad4ef96: Verifying Checksum 07:45:18 0d9ebad4ef96: Download complete 07:45:18 ab5ef0e58194: Verifying Checksum 07:45:18 ab5ef0e58194: Download complete 07:45:18 2de7ff778b66: Verifying Checksum 07:45:18 2de7ff778b66: Download complete 07:45:20 ab5ef0e58194: Pull complete 07:45:20 9712f1f96733: Pull complete 07:45:21 63f879dbbcfc: Pull complete 07:45:25 0d9ebad4ef96: Pull complete 07:45:25 e9a5061849ea: Pull complete 07:45:25 d747dcd14b5f: Pull complete 07:45:26 2de7ff778b66: Pull complete 07:45:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:45:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:45:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:26 prd-ubuntu20.04-docker-8c-8g-26293 does not seem to be running inside a container 07:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:45:33 $ docker top 3a0a519a38c8eec8c5984b755015473268adb5f45141c4940d86f7f2fabd2805 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:45:33 provisioning config files... 07:45:33 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4687602737264884721tmp 07:45:33 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11875871014138041011tmp 07:45:33 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4884323762868920599tmp [Pipeline] { [Pipeline] echo 07:45:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:45:34 ---> sigul-configuration.sh 07:45:34 gpg: directory `/root/.gnupg' created 07:45:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:45:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:45:34 gpg: keyring `/root/.gnupg/secring.gpg' created 07:45:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:45:34 gpg: CAST5 encrypted data 07:45:34 gpg: encrypted with 1 passphrase 07:45:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:45:34 + mkdir /home/jenkins 07:45:34 + mkdir /home/jenkins/sigul [Pipeline] sh 07:45:34 + 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 07:45:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:45:35 ---> sigul-install.sh 07:45:35 Sigul already installed; skipping installation. [Pipeline] sh 07:45:35 + git tag --list 07:45:35 0.7.1 07:45:35 delhi-tag 07:45:35 v1.0.0 07:45:35 v1.1.0 07:45:35 v1.1.1 07:45:35 v1.1.2 07:45:35 v1.2.0 07:45:35 v1.2.1 07:45:35 v1.2.2 07:45:35 v1.2.3 07:45:35 v1.3.0 07:45:35 v1.4.0 07:45:35 v2.0.0 07:45:35 v2.1.0 07:45:35 v2.1.1 07:45:35 v2.2.0 07:45:35 v2.3.0 07:45:35 v2.3.1 07:45:35 v3.0 07:45:35 v3.0.0 07:45:35 v3.0.1-dev.1 07:45:35 v3.1 07:45:35 v3.1.0 07:45:35 v3.1.0-dev.1 07:45:35 v3.1.0-dev.10 07:45:35 v3.1.0-dev.11 07:45:35 v3.1.0-dev.12 07:45:35 v3.1.0-dev.13 07:45:35 v3.1.0-dev.14 07:45:35 v3.1.0-dev.15 07:45:35 v3.1.0-dev.16 07:45:35 v3.1.0-dev.17 07:45:35 v3.1.0-dev.18 07:45:35 v3.1.0-dev.19 07:45:35 v3.1.0-dev.2 07:45:35 v3.1.0-dev.20 07:45:35 v3.1.0-dev.21 07:45:35 v3.1.0-dev.22 07:45:35 v3.1.0-dev.23 07:45:35 v3.1.0-dev.24 07:45:35 v3.1.0-dev.25 07:45:35 v3.1.0-dev.26 07:45:35 v3.1.0-dev.27 07:45:35 v3.1.0-dev.28 07:45:35 v3.1.0-dev.29 07:45:35 v3.1.0-dev.3 07:45:35 v3.1.0-dev.30 07:45:35 v3.1.0-dev.31 07:45:35 v3.1.0-dev.32 07:45:35 v3.1.0-dev.33 07:45:35 v3.1.0-dev.34 07:45:35 v3.1.0-dev.35 07:45:35 v3.1.0-dev.36 07:45:35 v3.1.0-dev.37 07:45:35 v3.1.0-dev.38 07:45:35 v3.1.0-dev.39 07:45:35 v3.1.0-dev.4 07:45:35 v3.1.0-dev.40 07:45:35 v3.1.0-dev.41 07:45:35 v3.1.0-dev.5 07:45:35 v3.1.0-dev.6 07:45:35 v3.1.0-dev.7 07:45:35 v3.1.0-dev.8 07:45:35 v3.1.0-dev.9 07:45:35 v3.2.0-dev.1 07:45:35 v3.2.0-dev.2 07:45:35 v3.2.0-dev.3 07:45:35 v3.2.0-dev.4 07:45:35 v3.2.0-dev.5 [Pipeline] sh 07:45:35 + lftools sign git-tag v3.2.0-dev.5 07:45:36 Signing Git tag with Sigul... 07:45:36 Signing v3.2.0-dev.5 [Pipeline] echo 07:45:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:45:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:45:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:45:36 $ docker stop --time=1 3a0a519a38c8eec8c5984b755015473268adb5f45141c4940d86f7f2fabd2805 07:45:38 $ docker rm -f --volumes 3a0a519a38c8eec8c5984b755015473268adb5f45141c4940d86f7f2fabd2805 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:45:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:45:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:45:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:39 prd-ubuntu20.04-docker-8c-8g-26293 does not seem to be running inside a container 07:45:39 $ 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 07:45:39 $ docker top 4fcaf8f39981efe3f57e28a8f2ee6706ddd4df72c119da2c35b8e59d1b46f8f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:45:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:45:40 [ssh-agent] Looking for ssh-agent implementation... 07:45:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:45:40 $ docker exec 4fcaf8f39981efe3f57e28a8f2ee6706ddd4df72c119da2c35b8e59d1b46f8f1 ssh-agent 07:45:40 SSH_AUTH_SOCK=/tmp/ssh-RX9Wlppoaryr/agent.32 07:45:40 SSH_AGENT_PID=38 07:45:40 Running ssh-add (command line suppressed) 07:45:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12694263877382450248.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12694263877382450248.key) 07:45:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:45:40 + git semver bump pre 07:45:41 2023-12-28 07:45:40,995 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:45:41 2023-12-28 07:45:40,995 [bump_version] DEBUG bumping version:3.2.0-dev.5 on axis:pre with prefix:dev 07:45:41 2023-12-28 07:45:40,995 [bump_version] DEBUG bumped version:3.2.0-dev.6 07:45:41 2023-12-28 07:45:40,995 [write_version] DEBUG write version:3.2.0-dev.6 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 07:45:41 2023-12-28 07:45:40,996 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:45:41 2023-12-28 07:45:40,996 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:45:41 2023-12-28 07:45:40,998 [execute] INFO git cat-file --batch-check 07:45:41 2023-12-28 07:45:40,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:45:41 2023-12-28 07:45:41,004 [execute] INFO git cat-file --batch 07:45:41 2023-12-28 07:45:41,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:45:41 2023-12-28 07:45:41,009 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:45:41 3.2.0-dev.6 [Pipeline] } 07:45:41 $ docker exec --env ******** --env ******** 4fcaf8f39981efe3f57e28a8f2ee6706ddd4df72c119da2c35b8e59d1b46f8f1 ssh-agent -k 07:45:41 unset SSH_AUTH_SOCK; 07:45:41 unset SSH_AGENT_PID; 07:45:41 echo Agent pid 38 killed; 07:45:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:45:41 + git semver [Pipeline] } 07:45:41 $ docker stop --time=1 4fcaf8f39981efe3f57e28a8f2ee6706ddd4df72c119da2c35b8e59d1b46f8f1 07:45:43 $ docker rm -f --volumes 4fcaf8f39981efe3f57e28a8f2ee6706ddd4df72c119da2c35b8e59d1b46f8f1 [Pipeline] // withDockerContainer [Pipeline] sh 07:45:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:45:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:45:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:44 prd-ubuntu20.04-docker-8c-8g-26293 does not seem to be running inside a container 07:45:44 $ 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 07:45:44 $ docker top 36beb3155dd664c1829d51d3214b390a34724042928095b0606f55992b8d65ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:45:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:45:44 [ssh-agent] Looking for ssh-agent implementation... 07:45:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:45:45 $ docker exec 36beb3155dd664c1829d51d3214b390a34724042928095b0606f55992b8d65ea ssh-agent 07:45:45 SSH_AUTH_SOCK=/tmp/ssh-onN0OVE35hgK/agent.31 07:45:45 SSH_AGENT_PID=37 07:45:45 Running ssh-add (command line suppressed) 07:45:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4454272026832204667.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4454272026832204667.key) 07:45:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:45:45 + git semver push 07:45:45 2023-12-28 07:45:45,774 [run_push] DEBUG push 07:45:45 2023-12-28 07:45:45,775 [execute] INFO git cat-file --batch-check 07:45:45 2023-12-28 07:45:45,775 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:45:45 2023-12-28 07:45:45,780 [execute] INFO git rev-list d4cce08c609fab942e9ec7c2f8a1396499179a87 -- 07:45:45 2023-12-28 07:45:45,780 [execute] DEBUG Popen(['git', 'rev-list', 'd4cce08c609fab942e9ec7c2f8a1396499179a87', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:45:45 2023-12-28 07:45:45,795 [execute] INFO git fetch -v origin 07:45:45 2023-12-28 07:45:45,795 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:45:46 2023-12-28 07:45:46,324 [run_push] DEBUG no remote changes detected 07:45:46 2023-12-28 07:45:46,325 [execute] INFO git push origin semver 07:45:46 2023-12-28 07:45:46,325 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:45:47 2023-12-28 07:45:47,085 [run_push] DEBUG push all version tags 07:45:47 2023-12-28 07:45:47,085 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:45:47 2023-12-28 07:45:47,085 [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) 07:45:47 2023-12-28 07:45:47,840 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:45:47 3.2.0-dev.6 [Pipeline] } 07:45:47 $ docker exec --env ******** --env ******** 36beb3155dd664c1829d51d3214b390a34724042928095b0606f55992b8d65ea ssh-agent -k 07:45:48 unset SSH_AUTH_SOCK; 07:45:48 unset SSH_AGENT_PID; 07:45:48 echo Agent pid 37 killed; 07:45:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:45:48 + git semver [Pipeline] } 07:45:48 $ docker stop --time=1 36beb3155dd664c1829d51d3214b390a34724042928095b0606f55992b8d65ea 07:45:50 $ docker rm -f --volumes 36beb3155dd664c1829d51d3214b390a34724042928095b0606f55992b8d65ea [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 07:45:51 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 07:45:51 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:45:51 total 16 07:45:51 drwxr-xr-x 3 root root 4096 Dec 28 07:36 . 07:45:51 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 07:45 .. 07:45:51 drwxr-xr-x 2 root root 4096 Dec 28 07:36 cost 07:45:51 -rw-r--r-- 1 root root 85 Dec 28 07:36 cost.csv 07:45:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:45:51 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:45:51 total 16 07:45:51 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 07:36 . 07:45:51 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 07:45 .. 07:45:51 drwxr-xr-x 2 jenkins jenkins 4096 Dec 28 07:36 cost 07:45:51 -rw-r--r-- 1 jenkins jenkins 85 Dec 28 07:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:45:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:45:52 ---> package-listing.sh 07:45:52 ++ facter osfamily 07:45:52 ++ tr '[:upper:]' '[:lower:]' 07:45:53 + OS_FAMILY=debian 07:45:53 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 07:45:53 + START_PACKAGES=/tmp/packages_start.txt 07:45:53 + END_PACKAGES=/tmp/packages_end.txt 07:45:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:45:53 + PACKAGES=/tmp/packages_start.txt 07:45:53 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:45:53 + PACKAGES=/tmp/packages_end.txt 07:45:53 + case "${OS_FAMILY}" in 07:45:53 + dpkg -l 07:45:53 + grep '^ii' 07:45:53 + '[' -f /tmp/packages_start.txt ']' 07:45:53 + '[' -f /tmp/packages_end.txt ']' 07:45:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:45:53 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:45:53 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 07:45:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 07:45:53 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 07:45:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:45:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:54 prd-ubuntu20.04-docker-8c-8g-26293 does not seem to be running inside a container 07:45:54 $ 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 07:45:54 $ docker top 25df814c1f31b38aafd8622c3d571a52ed811653daf8512051ee0a8f1e742244 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:54 + touch /tmp/pre-build-complete [Pipeline] sh 07:45:55 + mkdir -p /var/log/sysstat [Pipeline] sh 07:45:55 + ls /var/log/sa-host 07:45:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:45:55 provisioning config files... 07:45:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16094703120959577144tmp [Pipeline] { [Pipeline] echo 07:45:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:45:55 ---> create-netrc.sh [Pipeline] } 07:45:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:45:56 ---> python-tools-install.sh [Pipeline] echo 07:45:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:45:56 ---> sudo-logs.sh 07:45:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:45:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:45:57 ---> job-cost.sh 07:45:57 lf-activate-venv: SKIPPING 07:45:57 DEBUG: total: 0.2199999988079071 07:45:57 INFO: Retrieving Stack Cost... 07:45:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:45:57 INFO: Archiving Costs [Pipeline] echo 07:45:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:45:57 ---> logs-deploy.sh 07:45:57 lf-activate-venv: SKIPPING 07:45:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/276 07:45:57 INFO: archiving workspace using pattern(s): 07:45:58 Archives upload complete. 07:45:58 INFO: archiving logs to Nexus