Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 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-ssh12154362162252007174.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-ssh12065082021151600358.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-ssh9573751072755492372.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-ssh4620890161571533157.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-ssh9518701484715037453.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24063 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 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 (main) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1544)" > 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 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 # timeout=10 > git rev-list --no-walk 85278c73853f3bd4b620ac341e15b8756b181622 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:42:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:42:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:42:03 ========================================================= 15:42:03 EdgeX Global Pipelines Version Info 15:42:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:42:04 ------------------- 15:42:04 stable info: 15:42:04 ------------------- 15:42:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:42:04 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:42:04 Message: update stable to v1.0.258 15:42:05 ------------------- 15:42:05 experimental info: 15:42:05 ------------------- 15:42:05 Commited By: **** collab-it+edgex@linuxfoundation.org 15:42:05 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 15:42:05 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:42:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d4c6c0 [Pipeline] echo 15:42:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:06 provisioning config files... 15:42:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3447994032607507692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:06 ---> ****-login.sh 15:42:06 nexus3.edgexfoundry.org:10001 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 nexus3.edgexfoundry.org:10002 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 nexus3.edgexfoundry.org:10003 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 nexus3.edgexfoundry.org:10004 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:10 Configure a credential helper to remove this warning. See 15:42:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:10 15:42:10 Login Succeeded 15:42:10 ****.io 15:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:11 Configure a credential helper to remove this warning. See 15:42:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:11 15:42:11 Login Succeeded 15:42:11 ---> ****-login.sh ends [Pipeline] } 15:42:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:42:11 + git rev-list -1 --merges 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057~1..5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 [Pipeline] echo 15:42:11 -----------> git rev-list -1 --merges 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057~1..5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 [false] [Pipeline] sh 15:42:12 + git log --format=format:%s -1 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 [Pipeline] echo 15:42:12 ========================================================= 15:42:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:42:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:12 + git log --format=format:%s -1 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 [Pipeline] echo 15:42:12 [semverPrep] GIT_COMMIT: 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1544) [Pipeline] echo 15:42:12 [semverPrep] This is not a build commit. [Pipeline] sh 15:42:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:42:12 + grep -v github /etc/ssh/ssh_known_hosts 15:42:12 + [ -e /tmp/ssh_known_hosts ] 15:42:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:42:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:42:12 + sudo tee -a /etc/ssh/ssh_known_hosts 15:42:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:42:13 15:42:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:42:14 0.1.4: Pulling from edgex-devops/py-git-semver 15:42:14 b85a868b505f: Pulling fs layer 15:42:14 e2be974225ed: Pulling fs layer 15:42:14 339a4e72a1f5: Pulling fs layer 15:42:14 988bab9f4d93: Pulling fs layer 15:42:14 1469e6f7b9e6: Pulling fs layer 15:42:14 eaf3925da568: Pulling fs layer 15:42:14 bab4dde63d76: Pulling fs layer 15:42:14 988bab9f4d93: Waiting 15:42:14 1469e6f7b9e6: Waiting 15:42:14 eaf3925da568: Waiting 15:42:14 bab4dde63d76: Waiting 15:42:14 bde34c3a00c8: Pulling fs layer 15:42:14 b352a97aabf1: Pulling fs layer 15:42:14 bde34c3a00c8: Waiting 15:42:14 4872d77fe225: Pulling fs layer 15:42:14 5851b861e8e6: Pulling fs layer 15:42:14 4872d77fe225: Waiting 15:42:14 5851b861e8e6: Waiting 15:42:14 e2be974225ed: Download complete 15:42:14 988bab9f4d93: Download complete 15:42:14 1469e6f7b9e6: Verifying Checksum 15:42:14 1469e6f7b9e6: Download complete 15:42:14 eaf3925da568: Download complete 15:42:14 339a4e72a1f5: Verifying Checksum 15:42:14 339a4e72a1f5: Download complete 15:42:14 bde34c3a00c8: Download complete 15:42:14 b352a97aabf1: Download complete 15:42:14 b85a868b505f: Verifying Checksum 15:42:14 b85a868b505f: Download complete 15:42:14 4872d77fe225: Verifying Checksum 15:42:14 4872d77fe225: Download complete 15:42:14 5851b861e8e6: Download complete 15:42:15 bab4dde63d76: Download complete 15:42:16 b85a868b505f: Pull complete 15:42:17 e2be974225ed: Pull complete 15:42:18 339a4e72a1f5: Pull complete 15:42:19 988bab9f4d93: Pull complete 15:42:20 1469e6f7b9e6: Pull complete 15:42:20 eaf3925da568: Pull complete 15:42:23 bab4dde63d76: Pull complete 15:42:23 bde34c3a00c8: Pull complete 15:42:23 b352a97aabf1: Pull complete 15:42:23 4872d77fe225: Pull complete 15:42:23 5851b861e8e6: Pull complete 15:42:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:42:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:42:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:23 prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container 15:42:23 $ 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 15:42:26 $ docker top 399b414a39479f29ef58e957cd6bef869d77d459eaa97466047c3578b64b3bf4 -eo pid,comm 15:42:26 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). 15:42:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:42:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:27 [ssh-agent] Looking for ssh-agent implementation... 15:42:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:27 $ docker exec 399b414a39479f29ef58e957cd6bef869d77d459eaa97466047c3578b64b3bf4 ssh-agent 15:42:27 SSH_AUTH_SOCK=/tmp/ssh-GdyovFOA4KMB/agent.31 15:42:27 SSH_AGENT_PID=37 15:42:27 Running ssh-add (command line suppressed) 15:42:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3569256084700226834.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3569256084700226834.key) 15:42:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:27 + git tag --points-at HEAD [Pipeline] } 15:42:27 $ docker exec --env ******** --env ******** 399b414a39479f29ef58e957cd6bef869d77d459eaa97466047c3578b64b3bf4 ssh-agent -k 15:42:27 unset SSH_AUTH_SOCK; 15:42:27 unset SSH_AGENT_PID; 15:42:27 echo Agent pid 37 killed; 15:42:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:42:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:27 [ssh-agent] Looking for ssh-agent implementation... 15:42:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:28 $ docker exec 399b414a39479f29ef58e957cd6bef869d77d459eaa97466047c3578b64b3bf4 ssh-agent 15:42:28 SSH_AUTH_SOCK=/tmp/ssh-K3xCBTtKrbcG/agent.69 15:42:28 SSH_AGENT_PID=76 15:42:28 Running ssh-add (command line suppressed) 15:42:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7380651421221835369.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7380651421221835369.key) 15:42:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:28 + git semver init 15:42:28 2023-12-05 15:42:28,739 [run_init] DEBUG init version:0.0.0 force:False 15:42:28 2023-12-05 15:42:28,739 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:42:28 2023-12-05 15:42:28,740 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:42:28 2023-12-05 15:42:28,740 [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) 15:42:30 2023-12-05 15:42:30,390 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:42:30 2023-12-05 15:42:30,391 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:42:30 2023-12-05 15:42:30,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:42:30 2023-12-05 15:42:30,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:42:30 3.2.0-dev.2 [Pipeline] } 15:42:30 $ docker exec --env ******** --env ******** 399b414a39479f29ef58e957cd6bef869d77d459eaa97466047c3578b64b3bf4 ssh-agent -k 15:42:30 unset SSH_AUTH_SOCK; 15:42:30 unset SSH_AGENT_PID; 15:42:30 echo Agent pid 76 killed; 15:42:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:42:31 + git semver [Pipeline] } 15:42:31 $ docker stop --time=1 399b414a39479f29ef58e957cd6bef869d77d459eaa97466047c3578b64b3bf4 15:42:34 $ docker rm -f --volumes 399b414a39479f29ef58e957cd6bef869d77d459eaa97466047c3578b64b3bf4 [Pipeline] // withDockerContainer [Pipeline] sh 15:42:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:42:36 Stashed 1 file(s) [Pipeline] echo 15:42:36 [edgeXSemver]: initialized semver on version 3.2.0-dev.2 [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 15:42:36 provisioning config files... 15:42:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8177658554878224902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:36 ---> ****-login.sh 15:42:36 nexus3.edgexfoundry.org:10001 15:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:36 Configure a credential helper to remove this warning. See 15:42:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:36 15:42:36 Login Succeeded 15:42:36 nexus3.edgexfoundry.org:10002 15:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:36 Configure a credential helper to remove this warning. See 15:42:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:36 15:42:36 Login Succeeded 15:42:36 nexus3.edgexfoundry.org:10003 15:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:37 Configure a credential helper to remove this warning. See 15:42:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:37 15:42:37 Login Succeeded 15:42:37 nexus3.edgexfoundry.org:10004 15:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:37 Configure a credential helper to remove this warning. See 15:42:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:37 15:42:37 Login Succeeded 15:42:37 ****.io 15:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:42:37 Configure a credential helper to remove this warning. See 15:42:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:42:37 15:42:37 Login Succeeded 15:42:37 ---> ****-login.sh ends [Pipeline] } 15:42:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:42:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:42:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:42:37 ========================================================= 15:42:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:42:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:38 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:42:38 Sending build context to Docker daemon 21.88MB 15:42:38 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 15:42:38 Step 2/10 : FROM ${BASE} AS builder 15:42:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:42:38 7264a8db6415: Pulling fs layer 15:42:38 c4d48a809fc2: Pulling fs layer 15:42:38 4f1c88b9dad5: Pulling fs layer 15:42:38 ad3a456e5733: Pulling fs layer 15:42:38 69c7f0334f64: Pulling fs layer 15:42:38 ad3a456e5733: Waiting 15:42:38 1f1c1a5573a3: Pulling fs layer 15:42:38 ce7588e14bc9: Pulling fs layer 15:42:38 b5e4710f87ac: Pulling fs layer 15:42:38 69c7f0334f64: Waiting 15:42:38 1f1c1a5573a3: Waiting 15:42:38 ce7588e14bc9: Waiting 15:42:38 c4d48a809fc2: Verifying Checksum 15:42:38 c4d48a809fc2: Download complete 15:42:38 ad3a456e5733: Verifying Checksum 15:42:38 ad3a456e5733: Download complete 15:42:38 69c7f0334f64: Verifying Checksum 15:42:38 69c7f0334f64: Download complete 15:42:38 7264a8db6415: Verifying Checksum 15:42:38 7264a8db6415: Download complete 15:42:38 1f1c1a5573a3: Verifying Checksum 15:42:38 1f1c1a5573a3: Download complete 15:42:38 7264a8db6415: Pull complete 15:42:38 b5e4710f87ac: Verifying Checksum 15:42:38 b5e4710f87ac: Download complete 15:42:38 c4d48a809fc2: Pull complete 15:42:38 4f1c88b9dad5: Download complete 15:42:39 ce7588e14bc9: Verifying Checksum 15:42:39 ce7588e14bc9: Download complete 15:42:42 4f1c88b9dad5: Pull complete 15:42:42 ad3a456e5733: Pull complete 15:42:42 69c7f0334f64: Pull complete 15:42:42 1f1c1a5573a3: Pull complete 15:42:44 ce7588e14bc9: Pull complete 15:42:45 b5e4710f87ac: Pull complete 15:42:45 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 15:42:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:42:45 ---> 88b5674ff536 15:42:45 Step 3/10 : ARG MAKE=make build 15:42:51 Still waiting to schedule task 15:42:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24065’ is offline 15:42:53 ---> Running in 9e74b55f4026 15:42:53 Removing intermediate container 9e74b55f4026 15:42:53 ---> a74fbbc0b6e6 15:42:53 Step 4/10 : WORKDIR /device-sdk-go 15:42:53 ---> Running in b4e0b6096c80 15:42:53 Removing intermediate container b4e0b6096c80 15:42:53 ---> f0b6e37829a4 15:42:53 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:42:53 ---> Running in 3cd6b602b847 15:42:53 Removing intermediate container 3cd6b602b847 15:42:53 ---> 71171bef2238 15:42:53 Step 6/10 : RUN apk add --update --no-cache make git 15:42:53 ---> Running in d8f07f75950a 15:42:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:42:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:42:53 OK: 264 MiB in 52 packages 15:42:53 Removing intermediate container d8f07f75950a 15:42:53 ---> 33f3932ad064 15:42:53 Step 7/10 : COPY go.mod vendor* ./ 15:42:53 ---> 5e9331c3a9da 15:42:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:42:53 ---> Running in bdf881486f25 15:43:40 Removing intermediate container bdf881486f25 15:43:40 ---> 9f3f04441e2b 15:43:40 Step 9/10 : COPY . . 15:43:40 ---> 52e9562942d9 15:43:40 Step 10/10 : RUN ${MAKE} 15:43:40 ---> Running in 0dfde3f171b2 15:43:40 noop 15:43:40 Removing intermediate container 0dfde3f171b2 15:43:40 ---> b73763da5a4c 15:43:40 Successfully built b73763da5a4c 15:43:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:40 + docker inspect -f . ci-base-image-x86_64 15:43:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:40 prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container 15:43:41 $ 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 15:43:41 $ docker top 102f0b962d4e19c55604b1f7104586c462836d6feac1f4d7bebea88192f5f517 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:41 + go version 15:43:41 go version go1.21.0 linux/amd64 [Pipeline] } 15:43:41 $ docker stop --time=1 102f0b962d4e19c55604b1f7104586c462836d6feac1f4d7bebea88192f5f517 15:43:43 $ docker rm -f --volumes 102f0b962d4e19c55604b1f7104586c462836d6feac1f4d7bebea88192f5f517 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:43 + docker inspect -f . ci-base-image-x86_64 15:43:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:43 prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container 15:43:43 $ 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 15:43:44 $ docker top 2c8e8ce07cb3d9530e885f6d86eaf977e7169802b24818d77fabde6c82f491a8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:43:44 + make test 15:43:44 go test -race -coverprofile=coverage.out ./... 15:43:51 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:44:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:44:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:44:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:44:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:44:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:44:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:44:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:44:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements 15:44:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:44:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.046s coverage: 81.5% of statements 15:44:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.065s coverage: 86.0% of statements 15:44:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:44:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:44:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.076s coverage: 71.8% of statements 15:44:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:44:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.046s coverage: 14.4% of statements 15:44:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.297s coverage: 45.9% of statements 15:44:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.058s coverage: 68.5% of statements 15:44:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.112s coverage: 89.2% of statements 15:44:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements 15:44:32 GO111MODULE=on go vet ./... 15:44:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:44:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:44:32 ./bin/test-attribution-txt.sh [Pipeline] echo 15:44:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:44:32 $ docker stop --time=1 2c8e8ce07cb3d9530e885f6d86eaf977e7169802b24818d77fabde6c82f491a8 15:44:37 $ docker rm -f --volumes 2c8e8ce07cb3d9530e885f6d86eaf977e7169802b24818d77fabde6c82f491a8 [Pipeline] // withDockerContainer [Pipeline] sh 15:44:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:44:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:44:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:44:39 + ls -al . 15:44:39 total 308 15:44:39 drwxrwxr-x 11 jenkins jenkins 4096 Dec 5 15:43 . 15:44:39 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 15:42 .. 15:44:39 -rw-rw-r-- 1 jenkins jenkins 140 Dec 5 15:42 .dockerignore 15:44:39 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 15:44 .git 15:44:39 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 15:42 .github 15:44:39 -rw-rw-r-- 1 jenkins jenkins 137 Dec 5 15:42 .gitignore 15:44:39 -rw-rw-r-- 1 jenkins jenkins 42 Dec 5 15:42 .golangci.yml 15:44:39 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 15:42 .semver 15:44:39 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 5 15:42 CHANGELOG.md 15:44:39 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 15:42 GOVERNANCE.md 15:44:39 -rw-rw-r-- 1 jenkins jenkins 885 Dec 5 15:42 Jenkinsfile 15:44:39 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 5 15:42 LICENSE 15:44:39 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 5 15:42 Makefile 15:44:39 -rw-rw-r-- 1 jenkins jenkins 619 Dec 5 15:42 OWNERS.md 15:44:39 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 5 15:42 README.md 15:44:39 -rw-rw-r-- 1 jenkins jenkins 11 Dec 5 15:42 VERSION 15:44:39 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 15:42 bin 15:44:39 -rw-r--r-- 1 jenkins jenkins 122155 Dec 5 15:44 coverage.out 15:44:39 drwxrwxr-x 5 jenkins jenkins 4096 Dec 5 15:42 example 15:44:39 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 5 15:42 go.mod 15:44:39 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 5 15:42 go.sum 15:44:39 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 15:42 internal 15:44:39 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 15:42 openapi 15:44:39 drwxrwxr-x 6 jenkins jenkins 4096 Dec 5 15:42 pkg 15:44:39 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 15:42 snap 15:44:39 -rw-rw-r-- 1 jenkins jenkins 222 Dec 5 15:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:39 + 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=5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 --label arch=amd64 --label version=3.2.0-dev.2 . 15:44:39 Sending build context to Docker daemon 22MB 15:44:39 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 15:44:39 Step 2/23 : FROM ${BASE} AS builder 15:44:39 ---> b73763da5a4c 15:44:39 Step 3/23 : ARG MAKE=make build 15:44:40 ---> Running in b202948f4261 15:44:40 Removing intermediate container b202948f4261 15:44:40 ---> 7cd64b9b8e53 15:44:40 Step 4/23 : WORKDIR /device-sdk-go 15:44:40 ---> Running in de00c02a3e61 15:44:41 Removing intermediate container de00c02a3e61 15:44:41 ---> 6bf2b05e65c4 15:44:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:44:41 ---> Running in b1caeba12d64 15:44:41 Removing intermediate container b1caeba12d64 15:44:41 ---> 2eaf427ebf58 15:44:41 Step 6/23 : RUN apk add --update --no-cache make git 15:44:41 ---> Running in 7be5a2d8081f 15:44:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:44:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:44:41 OK: 264 MiB in 52 packages 15:44:42 Removing intermediate container 7be5a2d8081f 15:44:42 ---> 00d5c4e84830 15:44:42 Step 7/23 : COPY go.mod vendor* ./ 15:44:42 ---> 373c4709e100 15:44:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:44:42 ---> Running in 7b317c4de629 15:44:42 Removing intermediate container 7b317c4de629 15:44:42 ---> 5f74c3758a68 15:44:42 Step 9/23 : COPY . . 15:44:43 ---> 360679a5d2e0 15:44:43 Step 10/23 : RUN ${MAKE} 15:44:43 ---> Running in 89436f74060c 15:44:44 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.2" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:45:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24067 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:45:05 Running in /w/workspace/device-sdk-go/273 [Pipeline] { [Pipeline] checkout 15:45:06 Removing intermediate container 89436f74060c 15:45:06 ---> 4a9384a18dc1 15:45:06 Step 11/23 : FROM alpine:3.18 15:45:06 3.18: Pulling from library/alpine 15:45:06 c926b61bad3b: Pulling fs layer 15:45:06 c926b61bad3b: Download complete 15:45:06 c926b61bad3b: Pull complete 15:45:06 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:45:06 Status: Downloaded newer image for alpine:3.18 15:45:06 ---> b541f2080109 15:45:06 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:45:06 ---> Running in faf78bb7c38b 15:45:06 Removing intermediate container faf78bb7c38b 15:45:06 ---> d0b6e475bbe1 15:45:06 Step 13/23 : RUN apk add --update --no-cache 15:45:06 ---> Running in 60df49365d46 15:45:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:45:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:45:06 OK: 7 MiB in 15 packages 15:45:08 The recommended git tool is: git 15:45:09 Removing intermediate container 60df49365d46 15:45:09 ---> 96dc6603f0aa 15:45:09 Step 14/23 : WORKDIR / 15:45:09 ---> Running in 2593ceeb288a 15:45:10 Removing intermediate container 2593ceeb288a 15:45:10 ---> 915154bd9953 15:45:10 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:45:11 ---> 3b7e638bde86 15:45:11 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:45:11 ---> e4c41398ebe6 15:45:11 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:45:12 ---> 88c4bca8b741 15:45:12 Step 18/23 : EXPOSE 59999 15:45:12 ---> Running in 56c256fde0bc 15:45:12 Removing intermediate container 56c256fde0bc 15:45:12 ---> e3344c0d0c6f 15:45:12 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:45:12 ---> Running in fc603a7d38b8 15:45:12 Removing intermediate container fc603a7d38b8 15:45:12 ---> f55cc69c6625 15:45:12 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:45:12 ---> Running in 984b2123e977 15:45:12 Removing intermediate container 984b2123e977 15:45:12 ---> 5b39087a9068 15:45:12 Step 21/23 : LABEL arch=amd64 15:45:12 ---> Running in 094c1d608656 15:45:12 Removing intermediate container 094c1d608656 15:45:12 ---> d6df99d4f375 15:45:12 Step 22/23 : LABEL git_sha=5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 15:45:12 ---> Running in 0244995dbcf5 15:45:12 Removing intermediate container 0244995dbcf5 15:45:12 ---> 5827c909c4b6 15:45:12 Step 23/23 : LABEL version=3.2.0-dev.2 15:45:12 ---> Running in 41f79b99a89b 15:45:12 Removing intermediate container 41f79b99a89b 15:45:12 ---> 93d57f94f794 15:45:12 [Warning] One or more build-args [ARCH] were not consumed 15:45:12 Successfully built 93d57f94f794 15:45:12 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 15:45:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:13 15:45:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:13 latest: Pulling from edgex-lftools-log-publisher 15:45:13 5eb5b503b376: Pulling fs layer 15:45:13 5c69ac0246d0: Pulling fs layer 15:45:13 ec43610c2a17: Pulling fs layer 15:45:13 3a2ae6a8a46f: Pulling fs layer 15:45:13 33b1e0a273af: Pulling fs layer 15:45:13 3a2ae6a8a46f: Waiting 15:45:13 5d3b04190fa2: Pulling fs layer 15:45:13 2f39f015ded8: Pulling fs layer 15:45:13 33b1e0a273af: Waiting 15:45:13 3a2ae6a8a46f: Verifying Checksum 15:45:13 3a2ae6a8a46f: Download complete 15:45:13 33b1e0a273af: Verifying Checksum 15:45:13 33b1e0a273af: Download complete 15:45:13 5d3b04190fa2: Verifying Checksum 15:45:13 5d3b04190fa2: Download complete 15:45:13 ec43610c2a17: Verifying Checksum 15:45:13 ec43610c2a17: Download complete 15:45:14 5eb5b503b376: Verifying Checksum 15:45:14 5eb5b503b376: Download complete 15:45:14 2f39f015ded8: Download complete 15:45:15 using credential edgex-jenkins-ssh 15:45:15 Cloning the remote Git repository 15:45:15 5eb5b503b376: Pull complete 15:45:15 5c69ac0246d0: Pull complete 15:45:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:45:15 > git init /w/workspace/device-sdk-go/273 # timeout=10 15:45:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:45:15 > git --version # timeout=10 15:45:15 > git --version # 'git version 2.25.1' 15:45:15 using GIT_SSH to set credentials SSH Credentials for GitHub 15:45:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:45:16 ec43610c2a17: Pull complete 15:45:16 3a2ae6a8a46f: Pull complete 15:45:16 33b1e0a273af: Pull complete 15:45:16 5d3b04190fa2: Pull complete 15:45:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:45:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:45:19 Avoid second fetch 15:45:19 Checking out Revision 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 (main) 15:45:19 > git config core.sparsecheckout # timeout=10 15:45:19 > git checkout -f 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 # timeout=10 15:45:20 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1544)" 15:45:20 2f39f015ded8: Pull complete 15:45:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:45:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:20 prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container 15:45:21 $ 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 15:45:21 15:45:21 GitHub has been notified of this commit’s build result 15:45:21 15:45:27 $ docker top 611f12a108813ef8c5a9d9e8ca168154332f1e8b1ea62d31aa754164b5f946cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:45:28 ---> job-cost.sh 15:45:28 lf-activate-venv: SKIPPING 15:45:28 INFO: No Stack... 15:45:28 INFO: Retrieving Pricing Info for: v3-standard-8 15:45:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:45:28 % Total % Received % Xferd Average Speed Time Time Time Current 15:45:28 Dload Upload Total Spent Left Speed 15:45:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh 15:45:28 INFO: Archiving Costs [Pipeline] sh 15:45:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:45:29 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:45:29 + cut -d, -f6 [Pipeline] lock 15:45:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-273-stack-cost] 15:45:29 Resource [jenkins-edgexfoundry-device-sdk-go-main-273-stack-cost] did not exist. Created. 15:45:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-273-stack-cost] [Pipeline] { [Pipeline] unstash 15:45:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 15:45:29 sudo tee /etc/docker/daemon.new 15:45:29 { 15:45:29 "registry-mirrors": [ 15:45:29 "https://nexus3.edgexfoundry.org:10001" 15:45:29 ], 15:45:29 "bip": "10.250.0.254/24", 15:45:29 "hosts": [ 15:45:29 "tcp://0.0.0.0:5555", 15:45:29 "unix:///var/run/docker.sock" 15:45:29 ], 15:45:29 "mtu": 1458, 15:45:29 "selinux-enabled": true, 15:45:29 "seccomp-profile": "/etc/docker/seccomp.json" 15:45:29 } [Pipeline] sh [Pipeline] sh 15:45:29 + echo total: 0.2199999988079071 [Pipeline] stash 15:45:29 Stashed 1 file(s) [Pipeline] } 15:45:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-273-stack-cost] [Pipeline] // lock 15:45:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] } 15:45:29 $ docker stop --time=1 611f12a108813ef8c5a9d9e8ca168154332f1e8b1ea62d31aa754164b5f946cd 15:45:30 $ docker rm -f --volumes 611f12a108813ef8c5a9d9e8ca168154332f1e8b1ea62d31aa754164b5f946cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:45:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:45:49 provisioning config files... 15:45:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/273@tmp/config12409187284411381503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:50 ---> ****-login.sh 15:45:50 nexus3.edgexfoundry.org:10001 15:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:45:51 Configure a credential helper to remove this warning. See 15:45:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:45:51 15:45:51 Login Succeeded 15:45:51 nexus3.edgexfoundry.org:10002 15:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:45:51 Configure a credential helper to remove this warning. See 15:45:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:45:51 15:45:51 Login Succeeded 15:45:51 nexus3.edgexfoundry.org:10003 15:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:45:51 Configure a credential helper to remove this warning. See 15:45:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:45:51 15:45:51 Login Succeeded 15:45:51 nexus3.edgexfoundry.org:10004 15:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:45:51 Configure a credential helper to remove this warning. See 15:45:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:45:51 15:45:51 Login Succeeded 15:45:51 ****.io 15:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:45:52 Configure a credential helper to remove this warning. See 15:45:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:45:52 15:45:52 Login Succeeded 15:45:52 ---> ****-login.sh ends [Pipeline] } 15:45:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:45:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:45:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:45:53 ========================================================= 15:45:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:45:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:53 + 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 . 15:45:54 #0 building with "default" instance using docker driver 15:45:54 15:45:54 #1 [internal] load .dockerignore 15:45:54 #1 transferring context: 182B 0.0s done 15:45:54 #1 DONE 0.1s 15:45:54 15:45:54 #2 [internal] load build definition from Dockerfile 15:45:54 #2 transferring dockerfile: 1.54kB done 15:45:54 #2 DONE 0.1s 15:45:54 15:45:54 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:45:54 #3 DONE 0.1s 15:45:54 15:45:54 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 15:45:54 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 15:45:54 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.1s 15:45:54 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 15:45:54 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 15:45:55 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done 15:45:55 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 15:45:55 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 15:45:55 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 15:45:55 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 15:45:55 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s 15:45:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.3s 15:45:55 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 15:45:55 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 15:45:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 385.02kB / 97.63MB 0.3s 15:45:55 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 15:45:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.44MB / 63.99MB 0.4s 15:45:55 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.41MB / 11.40MB 0.4s 15:45:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.5s 15:45:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.34MB / 97.63MB 0.5s 15:45:55 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.20MB / 11.40MB 0.5s 15:45:55 #4 ... 15:45:55 15:45:55 #5 [internal] load build context 15:45:55 #5 transferring context: 11.13MB 0.6s done 15:45:55 #5 DONE 0.7s 15:45:55 15:45:55 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 15:45:55 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s 15:45:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 24.12MB / 63.99MB 0.8s 15:45:55 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.6s done 15:45:55 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 19.92MB / 97.63MB 0.8s 15:45:55 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 15:45:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.9s 15:45:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.52MB / 97.63MB 1.0s 15:45:56 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 15:45:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.1s 15:45:56 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 15:45:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.73MB / 63.99MB 1.3s 15:45:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.94MB / 97.63MB 1.3s 15:45:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.48MB / 63.99MB 1.4s 15:45:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.67MB / 63.99MB 1.5s 15:45:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 49.28MB / 97.63MB 1.5s 15:45:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.96MB / 63.99MB 1.6s 15:45:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.77MB / 97.63MB 1.7s 15:45:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.7s done 15:45:56 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15:45:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.21MB / 97.63MB 1.9s 15:45:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.45MB / 97.63MB 2.0s 15:45:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 79.69MB / 97.63MB 2.1s 15:45:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.93MB / 97.63MB 2.2s 15:45:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.37MB / 97.63MB 2.4s 15:45:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.6s done 15:46:02 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.8s 15:46:08 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.2s 15:46:16 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.5s done 15:46:18 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 15:46:18 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 15:46:18 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 15:46:18 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15:46:24 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 15:46:28 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.4s done 15:46:28 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 15:46:30 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.9s done 15:46:33 #4 DONE 39.1s 15:46:34 15:46:34 #6 [builder 2/7] WORKDIR /device-sdk-go 15:46:36 #6 DONE 1.9s 15:46:36 15:46:36 #7 [builder 3/7] RUN apk add --update --no-cache make git 15:46:36 #7 0.833 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:46:37 #7 1.291 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:46:38 #7 2.602 OK: 266 MiB in 52 packages 15:46:38 #7 DONE 2.9s 15:46:38 15:46:38 #8 [builder 4/7] COPY go.mod vendor* ./ 15:46:38 #8 DONE 0.2s 15:46:38 15:46:38 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:47:05 #9 DONE 24.8s 15:47:05 15:47:05 #10 [builder 6/7] COPY . . 15:47:05 #10 DONE 0.4s 15:47:05 15:47:05 #11 [builder 7/7] RUN echo noop 15:47:05 #11 0.634 noop 15:47:05 #11 DONE 0.7s 15:47:05 15:47:05 #12 exporting to image 15:47:05 #12 exporting layers 15:47:27 #12 exporting layers 22.4s done 15:47:27 #12 writing image sha256:955400b90ca141ba9692f284a0bd3d283192f494c702db7c9b0aee5f9d11219d done 15:47:27 #12 naming to docker.io/library/ci-base-image-arm64 15:47:27 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 15:47:27 #12 DONE 22.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:28 + docker inspect -f . ci-base-image-arm64 15:47:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:28 prd-ubuntu20.04-docker-arm64-4c-16g-24067 does not seem to be running inside a container 15:47:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/273 -v /w/workspace/device-sdk-go/273:/w/workspace/device-sdk-go/273:rw,z -v /w/workspace/device-sdk-go/273@tmp:/w/workspace/device-sdk-go/273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:47:29 $ docker top 1558b53e6426b5457d3d7c28ece14791d26a6ab9921dbd8ab15ffcef6831798e -eo pid,comm [Pipeline] { [Pipeline] sh 15:47:30 + go version 15:47:30 go version go1.21.0 linux/arm64 [Pipeline] } 15:47:30 $ docker stop --time=1 1558b53e6426b5457d3d7c28ece14791d26a6ab9921dbd8ab15ffcef6831798e 15:47:32 $ docker rm -f --volumes 1558b53e6426b5457d3d7c28ece14791d26a6ab9921dbd8ab15ffcef6831798e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:47:33 + docker inspect -f . ci-base-image-arm64 15:47:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:47:33 prd-ubuntu20.04-docker-arm64-4c-16g-24067 does not seem to be running inside a container 15:47:33 $ 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/273 -v /w/workspace/device-sdk-go/273:/w/workspace/device-sdk-go/273:rw,z -v /w/workspace/device-sdk-go/273@tmp:/w/workspace/device-sdk-go/273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:47:34 $ docker top 16a325f5a840fd7db9912369e2225446e9daf760b1e78d3d4a0eddb61fdede70 -eo pid,comm [Pipeline] { [Pipeline] sh 15:47:35 + git config --global --add safe.directory /w/workspace/device-sdk-go/273 [Pipeline] fileExists [Pipeline] sh 15:47:36 + make test 15:47:36 go test -race -coverprofile=coverage.out ./... 15:48:14 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:49:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:49:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:49:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:49:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:49:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:49:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.269s coverage: 27.6% of statements 15:49:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:49:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:49:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.391s coverage: 81.5% of statements 15:49:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.418s coverage: 86.0% of statements 15:49:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:49:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.465s coverage: 71.8% of statements 15:49:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:49:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:49:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.309s coverage: 14.4% of statements 15:49:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.088s coverage: 45.9% of statements 15:49:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.420s coverage: 68.5% of statements 15:49:47 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.553s coverage: 89.2% of statements 15:49:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:49:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.255s coverage: 5.5% of statements 15:49:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:49:51 GO111MODULE=on go vet ./... 15:51:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:51:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:51:28 ./bin/test-attribution-txt.sh [Pipeline] echo 15:51:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:51:28 $ docker stop --time=1 16a325f5a840fd7db9912369e2225446e9daf760b1e78d3d4a0eddb61fdede70 15:51:30 $ docker rm -f --volumes 16a325f5a840fd7db9912369e2225446e9daf760b1e78d3d4a0eddb61fdede70 [Pipeline] // withDockerContainer [Pipeline] sh 15:51:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:32 Warning: overwriting stash ‘coverage-report’ 15:51:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:51:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:51:33 + ls -al . 15:51:33 total 304 15:51:33 drwxrwxr-x 10 jenkins jenkins 4096 Dec 5 15:47 . 15:51:33 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 15:45 .. 15:51:33 -rw-rw-r-- 1 jenkins jenkins 140 Dec 5 15:45 .dockerignore 15:51:33 drwxrwxr-x 8 jenkins jenkins 4096 Dec 5 15:45 .git 15:51:33 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 15:45 .github 15:51:33 -rw-rw-r-- 1 jenkins jenkins 137 Dec 5 15:45 .gitignore 15:51:33 -rw-rw-r-- 1 jenkins jenkins 42 Dec 5 15:45 .golangci.yml 15:51:33 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 5 15:45 CHANGELOG.md 15:51:33 -rw-rw-r-- 1 jenkins jenkins 677 Dec 5 15:45 GOVERNANCE.md 15:51:33 -rw-rw-r-- 1 jenkins jenkins 885 Dec 5 15:45 Jenkinsfile 15:51:33 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 5 15:45 LICENSE 15:51:33 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 5 15:45 Makefile 15:51:33 -rw-rw-r-- 1 jenkins jenkins 619 Dec 5 15:45 OWNERS.md 15:51:33 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 5 15:45 README.md 15:51:33 -rw-rw-r-- 1 jenkins jenkins 11 Dec 5 15:42 VERSION 15:51:33 drwxrwxr-x 2 jenkins jenkins 4096 Dec 5 15:45 bin 15:51:33 -rw-r--r-- 1 jenkins jenkins 122153 Dec 5 15:49 coverage.out 15:51:33 drwxrwxr-x 5 jenkins jenkins 4096 Dec 5 15:45 example 15:51:33 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 5 15:45 go.mod 15:51:33 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 5 15:45 go.sum 15:51:33 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 15:45 internal 15:51:33 drwxrwxr-x 3 jenkins jenkins 4096 Dec 5 15:45 openapi 15:51:33 drwxrwxr-x 6 jenkins jenkins 4096 Dec 5 15:45 pkg 15:51:33 drwxrwxr-x 4 jenkins jenkins 4096 Dec 5 15:45 snap 15:51:33 -rw-rw-r-- 1 jenkins jenkins 222 Dec 5 15:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:34 + 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=5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 --label arch=arm64 --label version=3.2.0-dev.2 . 15:51:34 #0 building with "default" instance using docker driver 15:51:34 15:51:34 #1 [internal] load .dockerignore 15:51:34 #1 transferring context: 182B 0.0s done 15:51:34 #1 DONE 0.0s 15:51:34 15:51:34 #2 [internal] load build definition from Dockerfile 15:51:34 #2 transferring dockerfile: 1.54kB 0.0s done 15:51:34 #2 DONE 0.0s 15:51:34 15:51:34 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 15:51:34 #3 DONE 0.0s 15:51:34 15:51:34 #4 [internal] load metadata for docker.io/library/alpine:3.18 15:51:35 #4 DONE 0.3s 15:51:35 15:51:35 #5 [internal] load build context 15:51:35 #5 transferring context: 136.05kB 0.1s done 15:51:35 #5 DONE 0.1s 15:51:35 15:51:35 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:51:35 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 15:51:35 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 15:51:35 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 15:51:35 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 15:51:35 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 15:51:35 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done 15:51:35 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 15:51:35 #6 ... 15:51:35 15:51:35 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 15:51:35 #7 DONE 0.4s 15:51:35 15:51:35 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:51:35 #6 ... 15:51:35 15:51:35 #8 [builder 2/7] WORKDIR /device-sdk-go 15:51:35 #8 DONE 0.1s 15:51:35 15:51:35 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 15:51:36 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 15:51:36 #6 DONE 1.0s 15:51:36 15:51:36 #9 [stage-1 2/6] RUN apk add --update --no-cache 15:51:36 #9 0.689 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:51:37 #9 1.043 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:51:38 #9 2.325 OK: 8 MiB in 15 packages 15:51:38 #9 ... 15:51:38 15:51:38 #10 [builder 3/7] RUN apk add --update --no-cache make git 15:51:38 #10 0.832 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:51:38 #10 1.286 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:51:38 #10 2.679 OK: 266 MiB in 52 packages 15:51:38 #10 DONE 3.0s 15:51:38 15:51:38 #11 [builder 4/7] COPY go.mod vendor* ./ 15:51:38 #11 DONE 0.2s 15:51:38 15:51:38 #9 [stage-1 2/6] RUN apk add --update --no-cache 15:51:38 #9 DONE 2.6s 15:51:38 15:51:38 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:51:40 #12 DONE 1.6s 15:51:40 15:51:40 #13 [builder 6/7] COPY . . 15:51:40 #13 DONE 0.5s 15:51:41 15:51:41 #14 [builder 7/7] RUN make build 15:51:41 #14 0.676 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.2" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:53:03 #14 DONE 70.2s 15:53:03 15:53:03 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:53:03 #15 DONE 0.1s 15:53:03 15:53:03 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:53:03 #16 DONE 0.4s 15:53:03 15:53:03 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:53:03 #17 DONE 0.1s 15:53:03 15:53:03 #18 exporting to image 15:53:03 #18 exporting layers 15:53:03 #18 exporting layers 0.3s done 15:53:03 #18 writing image sha256:7816fec3ab7e25b34345b37deed0ee99c939cbe89caaca52b61bb8fd12a641a1 done 15:53:03 #18 naming to docker.io/library/device-sdk-simple-arm64 0.0s done 15:53:03 #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 15:53:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:53:04 15:53:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:53:04 arm64: Pulling from edgex-lftools-log-publisher 15:53:04 8998bd30e6a1: Pulling fs layer 15:53:04 04944245beec: Pulling fs layer 15:53:04 699f458cf7ca: Pulling fs layer 15:53:04 765212b225bb: Pulling fs layer 15:53:04 f23df028b6ca: Pulling fs layer 15:53:04 d65c8cfc05b1: Pulling fs layer 15:53:04 2437ff75d9bd: Pulling fs layer 15:53:04 f23df028b6ca: Waiting 15:53:04 d65c8cfc05b1: Waiting 15:53:04 2437ff75d9bd: Waiting 15:53:04 765212b225bb: Waiting 15:53:04 04944245beec: Verifying Checksum 15:53:04 04944245beec: Download complete 15:53:04 765212b225bb: Verifying Checksum 15:53:04 765212b225bb: Download complete 15:53:04 f23df028b6ca: Download complete 15:53:04 d65c8cfc05b1: Verifying Checksum 15:53:04 d65c8cfc05b1: Download complete 15:53:05 699f458cf7ca: Verifying Checksum 15:53:05 699f458cf7ca: Download complete 15:53:05 8998bd30e6a1: Verifying Checksum 15:53:05 8998bd30e6a1: Download complete 15:53:07 2437ff75d9bd: Verifying Checksum 15:53:07 2437ff75d9bd: Download complete 15:53:17 8998bd30e6a1: Pull complete 15:53:17 04944245beec: Pull complete 15:53:17 699f458cf7ca: Pull complete 15:53:17 765212b225bb: Pull complete 15:53:18 f23df028b6ca: Pull complete 15:53:18 d65c8cfc05b1: Pull complete 15:53:40 2437ff75d9bd: Pull complete 15:53:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:53:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:41 prd-ubuntu20.04-docker-arm64-4c-16g-24067 does not seem to be running inside a container 15:53:41 $ 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/273 -v /w/workspace/device-sdk-go/273:/w/workspace/device-sdk-go/273:rw,z -v /w/workspace/device-sdk-go/273@tmp:/w/workspace/device-sdk-go/273@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:53:43 $ docker top adcc55f880eaeadf8b184a16c08bc6b8f9e6187711e721350d1586920b2fe934 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:44 ---> job-cost.sh 15:53:44 lf-activate-venv: SKIPPING 15:53:44 INFO: No Stack... 15:53:44 INFO: Retrieving Pricing Info for: v3-standard-8 15:53:45 INFO: Archiving Costs [Pipeline] sh 15:53:46 + cat /w/workspace/device-sdk-go/273/archives/cost.csv 15:53:46 + cut -d, -f6 [Pipeline] lock 15:53:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-273-stack-cost] 15:53:46 Resource [jenkins-edgexfoundry-device-sdk-go-main-273-stack-cost] did not exist. Created. 15:53:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-273-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:53:46 /w/workspace/device-sdk-go/273@tmp/durable-9d52ff94/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:53:47 + echo total: 0.2199999988079071 [Pipeline] stash 15:53:47 Warning: overwriting stash ‘stack-cost’ 15:53:47 Stashed 1 file(s) [Pipeline] } 15:53:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-273-stack-cost] [Pipeline] // lock [Pipeline] } 15:53:47 $ docker stop --time=1 adcc55f880eaeadf8b184a16c08bc6b8f9e6187711e721350d1586920b2fe934 15:53:52 $ docker rm -f --volumes adcc55f880eaeadf8b184a16c08bc6b8f9e6187711e721350d1586920b2fe934 [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 15:53:53 provisioning config files... 15:53:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8018022604526326539tmp [Pipeline] { [Pipeline] sh 15:53:54 + set +x 15:53:54 + curl -s https://codecov.io/bash 15:53:54 + bash -s -- 15:53:54 15:53:54 _____ _ 15:53:54 / ____| | | 15:53:54 | | ___ __| | ___ ___ _____ __ 15:53:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:53:54 | |___| (_) | (_| | __/ (_| (_) \ V / 15:53:54 \_____\___/ \__,_|\___|\___\___/ \_/ 15:53:54 Bash-1.0.6 15:53:54 15:53:54 15:53:54 ==> git version 2.25.1 found 15:53:54 ==> 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 15:53:54 Release-Date: 2020-01-08 15:53:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:53:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:53:54 ==> Jenkins CI detected. 15:53:54 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:53:54 project root: . 15:53:54 --> token set from env 15:53:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:53:54 ==> Running gcov in . (disable via -X gcov) 15:53:54 ==> Python coveragepy not found 15:53:54 ==> Searching for coverage reports in: 15:53:54 + . 15:53:54 -> Found 1 reports 15:53:54 ==> Detecting git/mercurial file structure 15:53:54 ==> Reading reports 15:53:54 + ./coverage.out bytes=122153 15:53:54 ==> Appending adjustments 15:53:54 https://docs.codecov.io/docs/fixing-reports 15:53:54 + Found adjustments 15:53:54 ==> Gzipping contents 15:53:54 20K /tmp/codecov.CSlXPY.gz 15:53:54 ==> Uploading reports 15:53:54 url: https://codecov.io 15:53:54 query: branch=main&commit=5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057&build=273&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F273%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:53:54 -> Pinging Codecov 15:53:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057&build=273&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F273%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:53:55 -> Uploading to 15:53:55 https://storage.googleapis.com/codecov/v4/raw/2023-12-05/7E55EF52A471D76F132DFD9A03CDDE97/5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057/19dc633a-9f4b-4096-b9ec-a69e4d5ccf86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231205%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231205T155354Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4be52a70830159e35f987b7588cfd2791f7fb2eaf1aa7203ad022c3a26fbdb22 15:53:55 % Total % Received % Xferd Average Speed Time Time Time Current 15:53:55 Dload Upload Total Spent Left Speed 15:53:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16748 0 0 100 16748 0 70966 --:--:-- --:--:-- --:--:-- 70966 15:53:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 [Pipeline] } 15:53:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:53:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:53:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:56 15:53:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:53:56 df9b9388f04a: Pulling fs layer 15:53:56 52dc419b0ee2: Pulling fs layer 15:53:56 25bc292e5bac: Pulling fs layer 15:53:56 114826534d7a: Pulling fs layer 15:53:56 4657fd5d0bcf: Pulling fs layer 15:53:56 6ad1cebc031e: Pulling fs layer 15:53:56 8a3aa393b2d8: Pulling fs layer 15:53:56 4657fd5d0bcf: Waiting 15:53:56 6ad1cebc031e: Waiting 15:53:56 8a3aa393b2d8: Waiting 15:53:56 114826534d7a: Waiting 15:53:56 25bc292e5bac: Verifying Checksum 15:53:56 25bc292e5bac: Download complete 15:53:56 52dc419b0ee2: Download complete 15:53:56 4657fd5d0bcf: Verifying Checksum 15:53:56 4657fd5d0bcf: Download complete 15:53:56 df9b9388f04a: Download complete 15:53:56 df9b9388f04a: Pull complete 15:53:56 6ad1cebc031e: Verifying Checksum 15:53:56 6ad1cebc031e: Download complete 15:53:56 52dc419b0ee2: Pull complete 15:53:56 25bc292e5bac: Pull complete 15:53:57 114826534d7a: Verifying Checksum 15:53:57 114826534d7a: Download complete 15:53:57 8a3aa393b2d8: Verifying Checksum 15:53:57 8a3aa393b2d8: Download complete 15:54:01 114826534d7a: Pull complete 15:54:01 4657fd5d0bcf: Pull complete 15:54:01 6ad1cebc031e: Pull complete 15:54:04 8a3aa393b2d8: Pull complete 15:54:04 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:54:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:54:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:04 prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container 15:54:04 $ 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 15:54:10 $ docker top d51353e25e78d26af168afb11f1b1f2db05a7008971010ec6535cfa938b26282 -eo pid,comm [Pipeline] { [Pipeline] echo 15:54:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 15:54:10 + set -o pipefail 15:54:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 15:54:15 15:54:15 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 15:54:15 15:54:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/89889a4d-1a07-4206-8014-dec895d5f81a 15:54:15 15:54:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:54:15 15:54:16 15:54:16 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:54:16 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:54:16 More details here: https://snyk.co/ue1NS 15:54:16 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 15:54:16 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:54:16 $ docker stop --time=1 d51353e25e78d26af168afb11f1b1f2db05a7008971010ec6535cfa938b26282 15:54:21 $ docker rm -f --volumes d51353e25e78d26af168afb11f1b1f2db05a7008971010ec6535cfa938b26282 [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 15:54:22 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:22 provisioning config files... 15:54:22 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config803688406551221175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:22 --> edgex-publish-swagger.sh 15:54:22 === Publish openapi/v3 API === 15:54:22 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 15:54:22 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 15:54:22 % Total % Received % Xferd Average Speed Time Time Time Current 15:54:22 Dload Upload Total Spent Left Speed 15:54:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 103k --:--:-- --:--:-- --:--:-- 102k 100 23854 100 180 100 23674 359 47253 --:--:-- --:--:-- --:--:-- 47517 15:54:23 {"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":{}} 15:54:23 [Pipeline] } 15:54:23 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 15:54:23 + git log --format=format:%s -1 5d4c6c07e1d34de55ec4d5f4c23268ae4ad09057 [Pipeline] sh 15:54:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:24 prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container 15:54:24 $ 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 15:54:25 $ docker top 5c4dfde3069e7076de0651ca96039d116d20de511962c6b7c7ccf93f692a48bc -eo pid,comm 15:54:25 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). 15:54:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:25 [ssh-agent] Looking for ssh-agent implementation... 15:54:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:25 $ docker exec 5c4dfde3069e7076de0651ca96039d116d20de511962c6b7c7ccf93f692a48bc ssh-agent 15:54:25 SSH_AUTH_SOCK=/tmp/ssh-5DaPGjbG92jO/agent.33 15:54:25 SSH_AGENT_PID=39 15:54:25 Running ssh-add (command line suppressed) 15:54:25 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9480671746597192112.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9480671746597192112.key) 15:54:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:26 + git semver tag 15:54:26 2023-12-05 15:54:26,281 [run_tag] DEBUG tag force:False 15:54:26 2023-12-05 15:54:26,281 [check_head_tag] DEBUG check head tag 15:54:26 2023-12-05 15:54:26,282 [execute] INFO git cat-file --batch-check 15:54:26 2023-12-05 15:54:26,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:54:26 2023-12-05 15:54:26,286 [execute] INFO git cat-file --batch 15:54:26 2023-12-05 15:54:26,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:54:26 2023-12-05 15:54:26,307 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:54:26 2023-12-05 15:54:26,307 [execute] INFO git tag -a v3.2.0-dev.2 -m v3.2.0-dev.2 15:54:26 2023-12-05 15:54:26,308 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.2', '-m', 'v3.2.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:54:26 2023-12-05 15:54:26,311 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:54:26 3.2.0-dev.2 [Pipeline] } 15:54:26 $ docker exec --env ******** --env ******** 5c4dfde3069e7076de0651ca96039d116d20de511962c6b7c7ccf93f692a48bc ssh-agent -k 15:54:26 unset SSH_AUTH_SOCK; 15:54:26 unset SSH_AGENT_PID; 15:54:26 echo Agent pid 39 killed; 15:54:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:26 + git semver [Pipeline] } 15:54:27 $ docker stop --time=1 5c4dfde3069e7076de0651ca96039d116d20de511962c6b7c7ccf93f692a48bc 15:54:29 $ docker rm -f --volumes 5c4dfde3069e7076de0651ca96039d116d20de511962c6b7c7ccf93f692a48bc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:54:30 15:54:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:54:30 0.23.1-centos7: Pulling from edgex-lftools 15:54:30 ab5ef0e58194: Pulling fs layer 15:54:30 9712f1f96733: Pulling fs layer 15:54:30 63f879dbbcfc: Pulling fs layer 15:54:30 0d9ebad4ef96: Pulling fs layer 15:54:30 e9a5061849ea: Pulling fs layer 15:54:30 d747dcd14b5f: Pulling fs layer 15:54:30 2de7ff778b66: Pulling fs layer 15:54:30 d747dcd14b5f: Waiting 15:54:30 e9a5061849ea: Waiting 15:54:30 2de7ff778b66: Waiting 15:54:30 0d9ebad4ef96: Waiting 15:54:30 9712f1f96733: Verifying Checksum 15:54:30 9712f1f96733: Download complete 15:54:31 63f879dbbcfc: Verifying Checksum 15:54:31 63f879dbbcfc: Download complete 15:54:31 0d9ebad4ef96: Verifying Checksum 15:54:31 0d9ebad4ef96: Download complete 15:54:31 d747dcd14b5f: Verifying Checksum 15:54:31 d747dcd14b5f: Download complete 15:54:31 e9a5061849ea: Download complete 15:54:31 ab5ef0e58194: Verifying Checksum 15:54:31 ab5ef0e58194: Download complete 15:54:31 2de7ff778b66: Verifying Checksum 15:54:31 2de7ff778b66: Download complete 15:54:34 ab5ef0e58194: Pull complete 15:54:34 9712f1f96733: Pull complete 15:54:35 63f879dbbcfc: Pull complete 15:54:39 0d9ebad4ef96: Pull complete 15:54:39 e9a5061849ea: Pull complete 15:54:39 d747dcd14b5f: Pull complete 15:54:40 2de7ff778b66: Pull complete 15:54:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:54:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:54:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:40 prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container 15:54:40 $ 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 15:54:46 $ docker top b70a435d409b56b84cde1f38c346d3d10982bc6250b574e94603ce5526dac434 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:54:46 provisioning config files... 15:54:46 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4474310743940291144tmp 15:54:46 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config932963886168033074tmp 15:54:46 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2207704162598164349tmp [Pipeline] { [Pipeline] echo 15:54:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:54:47 ---> sigul-configuration.sh 15:54:47 gpg: directory `/root/.gnupg' created 15:54:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:54:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:54:47 gpg: keyring `/root/.gnupg/secring.gpg' created 15:54:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:54:47 gpg: CAST5 encrypted data 15:54:47 gpg: encrypted with 1 passphrase 15:54:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:54:47 + mkdir /home/jenkins 15:54:47 + mkdir /home/jenkins/sigul [Pipeline] sh 15:54:47 + 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 15:54:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:54:48 ---> sigul-install.sh 15:54:48 Sigul already installed; skipping installation. [Pipeline] sh 15:54:48 + git tag --list 15:54:48 0.7.1 15:54:48 delhi-tag 15:54:48 v1.0.0 15:54:48 v1.1.0 15:54:48 v1.1.1 15:54:48 v1.1.2 15:54:48 v1.2.0 15:54:48 v1.2.1 15:54:48 v1.2.2 15:54:48 v1.2.3 15:54:48 v1.3.0 15:54:48 v1.4.0 15:54:48 v2.0.0 15:54:48 v2.1.0 15:54:48 v2.1.1 15:54:48 v2.2.0 15:54:48 v2.3.0 15:54:48 v2.3.1 15:54:48 v3.0 15:54:48 v3.0.0 15:54:48 v3.0.1-dev.1 15:54:48 v3.1 15:54:48 v3.1.0 15:54:48 v3.1.0-dev.1 15:54:48 v3.1.0-dev.10 15:54:48 v3.1.0-dev.11 15:54:48 v3.1.0-dev.12 15:54:48 v3.1.0-dev.13 15:54:48 v3.1.0-dev.14 15:54:48 v3.1.0-dev.15 15:54:48 v3.1.0-dev.16 15:54:48 v3.1.0-dev.17 15:54:48 v3.1.0-dev.18 15:54:48 v3.1.0-dev.19 15:54:48 v3.1.0-dev.2 15:54:48 v3.1.0-dev.20 15:54:48 v3.1.0-dev.21 15:54:48 v3.1.0-dev.22 15:54:48 v3.1.0-dev.23 15:54:48 v3.1.0-dev.24 15:54:48 v3.1.0-dev.25 15:54:48 v3.1.0-dev.26 15:54:48 v3.1.0-dev.27 15:54:48 v3.1.0-dev.28 15:54:48 v3.1.0-dev.29 15:54:48 v3.1.0-dev.3 15:54:48 v3.1.0-dev.30 15:54:48 v3.1.0-dev.31 15:54:48 v3.1.0-dev.32 15:54:48 v3.1.0-dev.33 15:54:48 v3.1.0-dev.34 15:54:48 v3.1.0-dev.35 15:54:48 v3.1.0-dev.36 15:54:48 v3.1.0-dev.37 15:54:48 v3.1.0-dev.38 15:54:48 v3.1.0-dev.39 15:54:48 v3.1.0-dev.4 15:54:48 v3.1.0-dev.40 15:54:48 v3.1.0-dev.41 15:54:48 v3.1.0-dev.5 15:54:48 v3.1.0-dev.6 15:54:48 v3.1.0-dev.7 15:54:48 v3.1.0-dev.8 15:54:48 v3.1.0-dev.9 15:54:48 v3.2.0-dev.1 15:54:48 v3.2.0-dev.2 [Pipeline] sh 15:54:48 + lftools sign git-tag v3.2.0-dev.2 15:54:49 Signing Git tag with Sigul... 15:54:49 Signing v3.2.0-dev.2 [Pipeline] echo 15:54:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:54:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:54:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:54:50 $ docker stop --time=1 b70a435d409b56b84cde1f38c346d3d10982bc6250b574e94603ce5526dac434 15:54:51 $ docker rm -f --volumes b70a435d409b56b84cde1f38c346d3d10982bc6250b574e94603ce5526dac434 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:54:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:52 prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container 15:54:52 $ 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 15:54:53 $ docker top 4c8591d0362b518432de053ccb32bcaefe320b5866a9a94075e69e9def558aa8 -eo pid,comm 15:54:53 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). 15:54:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:53 [ssh-agent] Looking for ssh-agent implementation... 15:54:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:53 $ docker exec 4c8591d0362b518432de053ccb32bcaefe320b5866a9a94075e69e9def558aa8 ssh-agent 15:54:53 SSH_AUTH_SOCK=/tmp/ssh-wiAdQPtLI3NV/agent.33 15:54:53 SSH_AGENT_PID=39 15:54:53 Running ssh-add (command line suppressed) 15:54:53 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15925999108610069869.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15925999108610069869.key) 15:54:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:54 + git semver bump pre 15:54:54 2023-12-05 15:54:54,263 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:54:54 2023-12-05 15:54:54,263 [bump_version] DEBUG bumping version:3.2.0-dev.2 on axis:pre with prefix:dev 15:54:54 2023-12-05 15:54:54,263 [bump_version] DEBUG bumped version:3.2.0-dev.3 15:54:54 2023-12-05 15:54:54,263 [write_version] DEBUG write version:3.2.0-dev.3 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 15:54:54 2023-12-05 15:54:54,263 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:54:54 2023-12-05 15:54:54,263 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:54:54 2023-12-05 15:54:54,265 [execute] INFO git cat-file --batch-check 15:54:54 2023-12-05 15:54:54,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:54:54 2023-12-05 15:54:54,270 [execute] INFO git cat-file --batch 15:54:54 2023-12-05 15:54:54,270 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:54:54 2023-12-05 15:54:54,274 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:54:54 3.2.0-dev.3 [Pipeline] } 15:54:54 $ docker exec --env ******** --env ******** 4c8591d0362b518432de053ccb32bcaefe320b5866a9a94075e69e9def558aa8 ssh-agent -k 15:54:54 unset SSH_AUTH_SOCK; 15:54:54 unset SSH_AGENT_PID; 15:54:54 echo Agent pid 39 killed; 15:54:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:54 + git semver [Pipeline] } 15:54:55 $ docker stop --time=1 4c8591d0362b518432de053ccb32bcaefe320b5866a9a94075e69e9def558aa8 15:54:56 $ docker rm -f --volumes 4c8591d0362b518432de053ccb32bcaefe320b5866a9a94075e69e9def558aa8 [Pipeline] // withDockerContainer [Pipeline] sh 15:54:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:54:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:57 prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container 15:54:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:54:57 $ docker top 0afc73556dd3f154aa6e2c74611bfa7f437c9b28d9b4122262d85488fcc7121c -eo pid,comm 15:54:57 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). 15:54:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:58 [ssh-agent] Looking for ssh-agent implementation... 15:54:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:58 $ docker exec 0afc73556dd3f154aa6e2c74611bfa7f437c9b28d9b4122262d85488fcc7121c ssh-agent 15:54:58 SSH_AUTH_SOCK=/tmp/ssh-DZuSYKWPlDsq/agent.32 15:54:58 SSH_AGENT_PID=38 15:54:58 Running ssh-add (command line suppressed) 15:54:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17949908260565793097.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17949908260565793097.key) 15:54:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:58 + git semver push 15:54:59 2023-12-05 15:54:58,949 [run_push] DEBUG push 15:54:59 2023-12-05 15:54:58,950 [execute] INFO git cat-file --batch-check 15:54:59 2023-12-05 15:54:58,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:54:59 2023-12-05 15:54:58,954 [execute] INFO git rev-list 0f65f45a1db63f75fe81227c5676e0687880e9df -- 15:54:59 2023-12-05 15:54:58,954 [execute] DEBUG Popen(['git', 'rev-list', '0f65f45a1db63f75fe81227c5676e0687880e9df', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:54:59 2023-12-05 15:54:58,966 [execute] INFO git fetch -v origin 15:54:59 2023-12-05 15:54:58,966 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:54:59 2023-12-05 15:54:59,501 [run_push] DEBUG no remote changes detected 15:54:59 2023-12-05 15:54:59,502 [execute] INFO git push origin semver 15:54:59 2023-12-05 15:54:59,502 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:55:00 2023-12-05 15:55:00,353 [run_push] DEBUG push all version tags 15:55:00 2023-12-05 15:55:00,354 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:55:00 2023-12-05 15:55:00,354 [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) 15:55:01 2023-12-05 15:55:01,243 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:55:01 3.2.0-dev.3 [Pipeline] } 15:55:01 $ docker exec --env ******** --env ******** 0afc73556dd3f154aa6e2c74611bfa7f437c9b28d9b4122262d85488fcc7121c ssh-agent -k 15:55:01 unset SSH_AUTH_SOCK; 15:55:01 unset SSH_AGENT_PID; 15:55:01 echo Agent pid 38 killed; 15:55:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:55:02 + git semver [Pipeline] } 15:55:02 $ docker stop --time=1 0afc73556dd3f154aa6e2c74611bfa7f437c9b28d9b4122262d85488fcc7121c 15:55:03 $ docker rm -f --volumes 0afc73556dd3f154aa6e2c74611bfa7f437c9b28d9b4122262d85488fcc7121c [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 15:55:05 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 15:55:05 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:55:05 total 16 15:55:05 drwxr-xr-x 3 root root 4096 Dec 5 15:45 . 15:55:05 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 15:54 .. 15:55:05 drwxr-xr-x 2 root root 4096 Dec 5 15:45 cost 15:55:05 -rw-r--r-- 1 root root 85 Dec 5 15:45 cost.csv 15:55:05 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:55:05 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:55:05 total 16 15:55:05 drwxr-xr-x 3 jenkins jenkins 4096 Dec 5 15:45 . 15:55:05 drwxrwxr-x 12 jenkins jenkins 4096 Dec 5 15:54 .. 15:55:05 drwxr-xr-x 2 jenkins jenkins 4096 Dec 5 15:45 cost 15:55:05 -rw-r--r-- 1 jenkins jenkins 85 Dec 5 15:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:55:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:55:06 ---> package-listing.sh 15:55:06 ++ facter osfamily 15:55:06 ++ tr '[:upper:]' '[:lower:]' 15:55:06 + OS_FAMILY=debian 15:55:06 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:55:06 + START_PACKAGES=/tmp/packages_start.txt 15:55:06 + END_PACKAGES=/tmp/packages_end.txt 15:55:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:55:06 + PACKAGES=/tmp/packages_start.txt 15:55:06 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:55:06 + PACKAGES=/tmp/packages_end.txt 15:55:06 + case "${OS_FAMILY}" in 15:55:06 + dpkg -l 15:55:06 + grep '^ii' 15:55:06 + '[' -f /tmp/packages_start.txt ']' 15:55:06 + '[' -f /tmp/packages_end.txt ']' 15:55:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:55:06 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:55:06 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:55:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 15:55:06 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 15:55:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:07 prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container 15:55:07 $ 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 15:55:10 $ docker top 96398aa219896e03ff9100e9b581120b8f1ce47f0ab6aadc8d6b6913c69d2265 -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:11 + touch /tmp/pre-build-complete [Pipeline] sh 15:55:11 + mkdir -p /var/log/sysstat [Pipeline] sh 15:55:11 + ls /var/log/sa-host 15:55:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:55:11 provisioning config files... 15:55:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8200226586798993000tmp [Pipeline] { [Pipeline] echo 15:55:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:55:12 ---> create-netrc.sh [Pipeline] } 15:55:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:55:12 ---> python-tools-install.sh [Pipeline] echo 15:55:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:55:13 ---> sudo-logs.sh 15:55:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:55:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:55:13 ---> job-cost.sh 15:55:13 lf-activate-venv: SKIPPING 15:55:13 DEBUG: total: 0.2199999988079071 15:55:13 INFO: Retrieving Stack Cost... 15:55:13 INFO: Retrieving Pricing Info for: v3-standard-8 15:55:14 INFO: Archiving Costs [Pipeline] echo 15:55:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:55:14 ---> logs-deploy.sh 15:55:14 lf-activate-venv: SKIPPING 15:55:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/273 15:55:14 INFO: archiving workspace using pattern(s): 15:55:15 Archives upload complete. 15:55:16 INFO: archiving logs to Nexus