Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 63adea828cf4ed1d876d09a9d3feb5428c04fd58 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-ssh1839681821335293096.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh9670856743402100357.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh4055925557416264108.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh17436094785078160700.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-ssh3804894924403572580.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-12547’ Running on prd-ubuntu20.04-docker-8c-8g-12568 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 63adea828cf4ed1d876d09a9d3feb5428c04fd58 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63adea828cf4ed1d876d09a9d3feb5428c04fd58 # timeout=10 Commit message: "Merge pull request #1629 from jinlinGuan/issue-1520" > git rev-list --no-walk 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:40:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:40:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:40:38 ========================================================= 02:40:38 EdgeX Global Pipelines Version Info 02:40:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:40:39 ------------------- 02:40:39 stable info: 02:40:39 ------------------- 02:40:39 Commited By: Cherry Wang cherry@iotechsys.com 02:40:39 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 02:40:39 Message: update stable to v1.0.264 02:40:39 ------------------- 02:40:39 experimental info: 02:40:39 ------------------- 02:40:39 Commited By: Cherry Wang cherry@iotechsys.com 02:40:39 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 02:40:39 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:40:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:40:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:40:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:40:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:40:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:40:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:40:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:40:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:40:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63adea828cf4ed1d876d09a9d3feb5428c04fd58 [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63adea8 [Pipeline] echo 02:40:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:40:40 provisioning config files... 02:40:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13332820221861909514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:41 ---> ****-login.sh 02:40:41 nexus3.edgexfoundry.org:10001 02:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:40:41 Configure a credential helper to remove this warning. See 02:40:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:40:41 02:40:41 Login Succeeded 02:40:41 nexus3.edgexfoundry.org:10002 02:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:40:41 Configure a credential helper to remove this warning. See 02:40:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:40:41 02:40:41 Login Succeeded 02:40:41 nexus3.edgexfoundry.org:10003 02:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:40:41 Configure a credential helper to remove this warning. See 02:40:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:40:41 02:40:41 Login Succeeded 02:40:41 nexus3.edgexfoundry.org:10004 02:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:40:42 Configure a credential helper to remove this warning. See 02:40:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:40:42 02:40:42 Login Succeeded 02:40:42 ****.io 02:40:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:40:42 Configure a credential helper to remove this warning. See 02:40:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:40:42 02:40:42 Login Succeeded 02:40:42 ---> ****-login.sh ends [Pipeline] } 02:40:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:40:42 + git rev-list -1 --merges 63adea828cf4ed1d876d09a9d3feb5428c04fd58~1..63adea828cf4ed1d876d09a9d3feb5428c04fd58 [Pipeline] echo 02:40:42 -----------> git rev-list -1 --merges 63adea828cf4ed1d876d09a9d3feb5428c04fd58~1..63adea828cf4ed1d876d09a9d3feb5428c04fd58 63adea828cf4ed1d876d09a9d3feb5428c04fd58 02:40:42 63adea828cf4ed1d876d09a9d3feb5428c04fd58 [false] [Pipeline] sh 02:40:43 + git log --format=format:%s -1 63adea828cf4ed1d876d09a9d3feb5428c04fd58 [Pipeline] echo 02:40:43 ========================================================= 02:40:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:40:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:40:43 + git log --format=format:%s -1 63adea828cf4ed1d876d09a9d3feb5428c04fd58 [Pipeline] echo 02:40:43 [semverPrep] GIT_COMMIT: 63adea828cf4ed1d876d09a9d3feb5428c04fd58, Commit Message: Merge pull request #1629 from jinlinGuan/issue-1520 [Pipeline] echo 02:40:43 [semverPrep] This is not a build commit. [Pipeline] sh 02:40:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:43 + grep -v github /etc/ssh/ssh_known_hosts 02:40:43 + [ -e /tmp/ssh_known_hosts ] 02:40:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:40:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:40:43 + sudo tee -a /etc/ssh/ssh_known_hosts 02:40:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:44 02:40:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:44 0.1.4: Pulling from edgex-devops/py-git-semver 02:40:44 b85a868b505f: Pulling fs layer 02:40:44 e2be974225ed: Pulling fs layer 02:40:44 339a4e72a1f5: Pulling fs layer 02:40:44 988bab9f4d93: Pulling fs layer 02:40:44 1469e6f7b9e6: Pulling fs layer 02:40:44 eaf3925da568: Pulling fs layer 02:40:44 bab4dde63d76: Pulling fs layer 02:40:44 bde34c3a00c8: Pulling fs layer 02:40:44 b352a97aabf1: Pulling fs layer 02:40:44 4872d77fe225: Pulling fs layer 02:40:44 5851b861e8e6: Pulling fs layer 02:40:44 988bab9f4d93: Waiting 02:40:44 1469e6f7b9e6: Waiting 02:40:44 5851b861e8e6: Waiting 02:40:44 eaf3925da568: Waiting 02:40:44 bde34c3a00c8: Waiting 02:40:44 bab4dde63d76: Waiting 02:40:44 b352a97aabf1: Waiting 02:40:44 e2be974225ed: Verifying Checksum 02:40:44 e2be974225ed: Download complete 02:40:44 988bab9f4d93: Verifying Checksum 02:40:44 988bab9f4d93: Download complete 02:40:44 1469e6f7b9e6: Verifying Checksum 02:40:44 1469e6f7b9e6: Download complete 02:40:44 eaf3925da568: Verifying Checksum 02:40:44 eaf3925da568: Download complete 02:40:44 339a4e72a1f5: Verifying Checksum 02:40:44 339a4e72a1f5: Download complete 02:40:44 bde34c3a00c8: Download complete 02:40:44 b352a97aabf1: Download complete 02:40:44 4872d77fe225: Verifying Checksum 02:40:44 4872d77fe225: Download complete 02:40:44 5851b861e8e6: Download complete 02:40:44 b85a868b505f: Verifying Checksum 02:40:44 b85a868b505f: Download complete 02:40:45 bab4dde63d76: Verifying Checksum 02:40:45 bab4dde63d76: Download complete 02:40:46 b85a868b505f: Pull complete 02:40:46 e2be974225ed: Pull complete 02:40:46 339a4e72a1f5: Pull complete 02:40:46 988bab9f4d93: Pull complete 02:40:47 1469e6f7b9e6: Pull complete 02:40:47 eaf3925da568: Pull complete 02:40:49 bab4dde63d76: Pull complete 02:40:50 bde34c3a00c8: Pull complete 02:40:50 b352a97aabf1: Pull complete 02:40:51 4872d77fe225: Pull complete 02:40:51 5851b861e8e6: Pull complete 02:40:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:40:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:51 prd-ubuntu20.04-docker-8c-8g-12568 does not seem to be running inside a container 02:40:51 $ 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 02:40:55 $ docker top 14d0fbe66ffbe6dd3d4ae30ff5ed1bfc22ca78bcb6994835eb91960f54d52df0 -eo pid,comm 02:40:55 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). 02:40:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:55 [ssh-agent] Looking for ssh-agent implementation... 02:40:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:55 $ docker exec 14d0fbe66ffbe6dd3d4ae30ff5ed1bfc22ca78bcb6994835eb91960f54d52df0 ssh-agent 02:40:55 SSH_AUTH_SOCK=/tmp/ssh-UG6Gc5YIIvwv/agent.32 02:40:55 SSH_AGENT_PID=38 02:40:55 Running ssh-add (command line suppressed) 02:40:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16101675492607833702.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16101675492607833702.key) 02:40:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:56 + git tag --points-at HEAD [Pipeline] } 02:40:56 $ docker exec --env ******** --env ******** 14d0fbe66ffbe6dd3d4ae30ff5ed1bfc22ca78bcb6994835eb91960f54d52df0 ssh-agent -k 02:40:56 unset SSH_AUTH_SOCK; 02:40:56 unset SSH_AGENT_PID; 02:40:56 echo Agent pid 38 killed; 02:40:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:40:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:56 [ssh-agent] Looking for ssh-agent implementation... 02:40:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:56 $ docker exec 14d0fbe66ffbe6dd3d4ae30ff5ed1bfc22ca78bcb6994835eb91960f54d52df0 ssh-agent 02:40:56 SSH_AUTH_SOCK=/tmp/ssh-5LnCK66XD9PO/agent.72 02:40:56 SSH_AGENT_PID=78 02:40:56 Running ssh-add (command line suppressed) 02:40:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12276265877318445788.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12276265877318445788.key) 02:40:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:56 + git semver init 02:40:57 2024-10-02 02:40:57,080 [run_init] DEBUG init version:0.0.0 force:False 02:40:57 2024-10-02 02:40:57,082 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 02:40:57 2024-10-02 02:40:57,082 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 02:40:57 2024-10-02 02:40:57,082 [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) 02:40:59 2024-10-02 02:40:59,166 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 02:40:59 2024-10-02 02:40:59,166 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 02:40:59 2024-10-02 02:40:59,167 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:40:59 2024-10-02 02:40:59,167 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:40:59 3.2.0-dev.39 [Pipeline] } 02:40:59 $ docker exec --env ******** --env ******** 14d0fbe66ffbe6dd3d4ae30ff5ed1bfc22ca78bcb6994835eb91960f54d52df0 ssh-agent -k 02:40:59 unset SSH_AUTH_SOCK; 02:40:59 unset SSH_AGENT_PID; 02:40:59 echo Agent pid 78 killed; 02:40:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:59 + git semver [Pipeline] } 02:41:00 $ docker stop --time=1 14d0fbe66ffbe6dd3d4ae30ff5ed1bfc22ca78bcb6994835eb91960f54d52df0 02:41:01 $ docker rm -f --volumes 14d0fbe66ffbe6dd3d4ae30ff5ed1bfc22ca78bcb6994835eb91960f54d52df0 [Pipeline] // withDockerContainer [Pipeline] sh 02:41:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:41:01 Stashed 1 file(s) [Pipeline] echo 02:41:01 [edgeXSemver]: initialized semver on version 3.2.0-dev.39 [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 02:41:02 provisioning config files... 02:41:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13618144951343982372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:02 ---> ****-login.sh 02:41:02 nexus3.edgexfoundry.org:10001 02:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:02 Configure a credential helper to remove this warning. See 02:41:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:02 02:41:02 Login Succeeded 02:41:02 nexus3.edgexfoundry.org:10002 02:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:02 Configure a credential helper to remove this warning. See 02:41:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:02 02:41:02 Login Succeeded 02:41:02 nexus3.edgexfoundry.org:10003 02:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:02 Configure a credential helper to remove this warning. See 02:41:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:02 02:41:02 Login Succeeded 02:41:02 nexus3.edgexfoundry.org:10004 02:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:02 Configure a credential helper to remove this warning. See 02:41:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:02 02:41:02 Login Succeeded 02:41:02 ****.io 02:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:41:02 Configure a credential helper to remove this warning. See 02:41:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:41:02 02:41:02 Login Succeeded 02:41:02 ---> ****-login.sh ends [Pipeline] } 02:41:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:41:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:41:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:41:03 ========================================================= 02:41:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:41:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:03 + 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 . 02:41:03 Sending build context to Docker daemon 25.31MB 02:41:03 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 02:41:03 Step 2/10 : FROM ${BASE} AS builder 02:41:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:41:03 619be1103602: Pulling fs layer 02:41:03 7862e08f4a3e: Pulling fs layer 02:41:03 5df492c9dc93: Pulling fs layer 02:41:03 7629e6793208: Pulling fs layer 02:41:03 4f4fb700ef54: Pulling fs layer 02:41:03 fb5054dd5b73: Pulling fs layer 02:41:03 eeca6798cff9: Pulling fs layer 02:41:03 aa269ceb94a6: Pulling fs layer 02:41:03 ada007ff1a6a: Pulling fs layer 02:41:03 4f4fb700ef54: Waiting 02:41:03 fb5054dd5b73: Waiting 02:41:03 eeca6798cff9: Waiting 02:41:03 aa269ceb94a6: Waiting 02:41:03 ada007ff1a6a: Waiting 02:41:03 7629e6793208: Waiting 02:41:03 7862e08f4a3e: Download complete 02:41:03 7629e6793208: Verifying Checksum 02:41:03 7629e6793208: Download complete 02:41:03 4f4fb700ef54: Verifying Checksum 02:41:03 4f4fb700ef54: Download complete 02:41:03 fb5054dd5b73: Download complete 02:41:03 619be1103602: Verifying Checksum 02:41:03 619be1103602: Download complete 02:41:03 eeca6798cff9: Verifying Checksum 02:41:03 eeca6798cff9: Download complete 02:41:03 619be1103602: Pull complete 02:41:03 ada007ff1a6a: Verifying Checksum 02:41:03 ada007ff1a6a: Download complete 02:41:03 7862e08f4a3e: Pull complete 02:41:03 5df492c9dc93: Verifying Checksum 02:41:03 5df492c9dc93: Download complete 02:41:04 aa269ceb94a6: Verifying Checksum 02:41:04 aa269ceb94a6: Download complete 02:41:07 5df492c9dc93: Pull complete 02:41:07 7629e6793208: Pull complete 02:41:07 4f4fb700ef54: Pull complete 02:41:07 fb5054dd5b73: Pull complete 02:41:07 eeca6798cff9: Pull complete 02:41:10 aa269ceb94a6: Pull complete 02:41:10 ada007ff1a6a: Pull complete 02:41:10 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 02:41:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:41:10 ---> f489d0715acc 02:41:10 Step 3/10 : ARG MAKE=make build 02:41:14 ---> Running in c2ef8733ddb6 02:41:14 Removing intermediate container c2ef8733ddb6 02:41:14 ---> 568582be5570 02:41:14 Step 4/10 : WORKDIR /device-sdk-go 02:41:14 ---> Running in 8ddcf722ec72 02:41:14 Removing intermediate container 8ddcf722ec72 02:41:14 ---> 7fb32c8b3e31 02:41:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:41:14 ---> Running in c48f28db96f6 02:41:14 Removing intermediate container c48f28db96f6 02:41:14 ---> a5d01c10c956 02:41:14 Step 6/10 : RUN apk add --update --no-cache make git 02:41:14 ---> Running in 42b3c6d8099d 02:41:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:41:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:41:15 OK: 264 MiB in 52 packages 02:41:15 Removing intermediate container 42b3c6d8099d 02:41:15 ---> df7674c9d6e7 02:41:15 Step 7/10 : COPY go.mod vendor* ./ 02:41:15 ---> 0d77f3ccc39b 02:41:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:41:15 ---> Running in 2a3cc476642e 02:41:17 Still waiting to schedule task 02:41:17 ‘prd-ubuntu20.04-docker-arm64-4c-16g-12562’ is offline 02:42:12 Removing intermediate container 2a3cc476642e 02:42:12 ---> 9be8325cf4ed 02:42:12 Step 9/10 : COPY . . 02:42:12 ---> 878f274512f9 02:42:12 Step 10/10 : RUN ${MAKE} 02:42:12 ---> Running in aa3aa4682ced 02:42:12 noop 02:42:12 Removing intermediate container aa3aa4682ced 02:42:12 ---> 5b2531fa6ae8 02:42:12 Successfully built 5b2531fa6ae8 02:42:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:12 + docker inspect -f . ci-base-image-x86_64 02:42:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:12 prd-ubuntu20.04-docker-8c-8g-12568 does not seem to be running inside a container 02:42:12 $ 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 02:42:12 $ docker top b25eec13009356ce1ba31cbcf667cd80a7eeb5c992447cf4d63ffd71fac1e9c3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:13 + go version 02:42:13 go version go1.21.9 linux/amd64 [Pipeline] } 02:42:13 $ docker stop --time=1 b25eec13009356ce1ba31cbcf667cd80a7eeb5c992447cf4d63ffd71fac1e9c3 02:42:14 $ docker rm -f --volumes b25eec13009356ce1ba31cbcf667cd80a7eeb5c992447cf4d63ffd71fac1e9c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:15 + docker inspect -f . ci-base-image-x86_64 02:42:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:15 prd-ubuntu20.04-docker-8c-8g-12568 does not seem to be running inside a container 02:42:15 $ 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 02:42:15 $ docker top 1429ae702c09af3727a94bed55000aedf9f6e4c149e2a4f24a70b775c5aa3f69 -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:15 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 02:42:16 + make test 02:42:16 go test -race -coverprofile=coverage.out ./... 02:42:24 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:42:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12570 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 02:42:54 Running in /w/workspace/device-sdk-go/314 [Pipeline] { [Pipeline] checkout 02:42:54 The recommended git tool is: git 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:43:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.020s coverage: 26.0% of statements 02:43:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 79.4% of statements 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:43:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.048s coverage: 86.0% of statements 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:43:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.078s coverage: 45.2% of statements 02:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:43:03 using credential edgex-jenkins-ssh 02:43:03 Cloning the remote Git repository 02:43:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:03 > git init /w/workspace/device-sdk-go/314 # timeout=10 02:43:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:03 > git --version # timeout=10 02:43:03 > git --version # 'git version 2.25.1' 02:43:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.031s coverage: 14.1% of statements 02:43:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.026s coverage: 44.6% of statements 02:43:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.043s coverage: 68.5% of statements 02:43:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.089s coverage: 89.2% of statements 02:43:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.3% of statements 02:43:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:08 Avoid second fetch 02:43:08 Checking out Revision 63adea828cf4ed1d876d09a9d3feb5428c04fd58 (main) 02:43:09 Commit message: "Merge pull request #1629 from jinlinGuan/issue-1520" 02:43:08 > git config core.sparsecheckout # timeout=10 02:43:08 > git checkout -f 63adea828cf4ed1d876d09a9d3feb5428c04fd58 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:43:14 % Total % Received % Xferd Average Speed Time Time Time Current 02:43:14 Dload Upload Total Spent Left Speed 02:43:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 02:43:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:43:14 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 02:43:14 /etc/docker/daemon.new 02:43:14 { 02:43:14 "registry-mirrors": [ 02:43:14 "https://nexus3.edgexfoundry.org:10001" 02:43:14 ], 02:43:14 "bip": "10.250.0.254/24", 02:43:14 "hosts": [ 02:43:14 "tcp://0.0.0.0:5555", 02:43:14 "unix:///var/run/docker.sock" 02:43:14 ], 02:43:14 "mtu": 1458, 02:43:14 "selinux-enabled": true, 02:43:14 "seccomp-profile": "/etc/docker/seccomp.json" 02:43:14 } [Pipeline] sh 02:43:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:43:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:43:33 provisioning config files... 02:43:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/314@tmp/config5671537002212705939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:34 ---> ****-login.sh 02:43:34 nexus3.edgexfoundry.org:10001 02:43:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:34 Configure a credential helper to remove this warning. See 02:43:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:34 02:43:34 Login Succeeded 02:43:34 nexus3.edgexfoundry.org:10002 02:43:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:34 Configure a credential helper to remove this warning. See 02:43:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:34 02:43:34 Login Succeeded 02:43:35 nexus3.edgexfoundry.org:10003 02:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:35 Configure a credential helper to remove this warning. See 02:43:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:35 02:43:35 Login Succeeded 02:43:35 nexus3.edgexfoundry.org:10004 02:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:35 Configure a credential helper to remove this warning. See 02:43:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:35 02:43:35 Login Succeeded 02:43:35 ****.io 02:43:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:43:36 Configure a credential helper to remove this warning. See 02:43:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:43:36 02:43:36 Login Succeeded 02:43:36 ---> ****-login.sh ends [Pipeline] } 02:43:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:43:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:43:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:43:36 ========================================================= 02:43:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:43:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:36 GO111MODULE=on go vet ./... 02:43:37 + 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 . 02:43:37 Sending build context to Docker daemon 13.11MB 02:43:37 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 02:43:37 Step 2/10 : FROM ${BASE} AS builder 02:43:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:43:37 c6b39de5b339: Pulling fs layer 02:43:37 a69c41024577: Pulling fs layer 02:43:37 d6de4b400683: Pulling fs layer 02:43:37 35cb2a7552d0: Pulling fs layer 02:43:37 4f4fb700ef54: Pulling fs layer 02:43:37 464afbd9ba4c: Pulling fs layer 02:43:37 00f215d4a9da: Pulling fs layer 02:43:37 d496ad576159: Pulling fs layer 02:43:37 35cb2a7552d0: Waiting 02:43:37 4f4fb700ef54: Waiting 02:43:37 464afbd9ba4c: Waiting 02:43:37 00f215d4a9da: Waiting 02:43:37 d496ad576159: Waiting 02:43:37 a69c41024577: Verifying Checksum 02:43:37 a69c41024577: Download complete 02:43:37 35cb2a7552d0: Verifying Checksum 02:43:37 35cb2a7552d0: Download complete 02:43:37 4f4fb700ef54: Verifying Checksum 02:43:37 4f4fb700ef54: Download complete 02:43:37 464afbd9ba4c: Verifying Checksum 02:43:37 464afbd9ba4c: Download complete 02:43:37 c6b39de5b339: Verifying Checksum 02:43:37 c6b39de5b339: Download complete 02:43:38 d496ad576159: Verifying Checksum 02:43:38 d496ad576159: Download complete 02:43:38 c6b39de5b339: Pull complete 02:43:39 a69c41024577: Pull complete 02:43:39 d6de4b400683: Verifying Checksum 02:43:39 d6de4b400683: Download complete 02:43:40 00f215d4a9da: Verifying Checksum 02:43:40 00f215d4a9da: Download complete 02:43:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:43:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:43:42 ./bin/test-attribution-txt.sh [Pipeline] echo 02:43:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:43:42 $ docker stop --time=1 1429ae702c09af3727a94bed55000aedf9f6e4c149e2a4f24a70b775c5aa3f69 02:43:46 $ docker rm -f --volumes 1429ae702c09af3727a94bed55000aedf9f6e4c149e2a4f24a70b775c5aa3f69 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:43:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:43:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:43:48 + ls -al . 02:43:48 total 384 02:43:48 drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 02:42 . 02:43:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:40 .. 02:43:48 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 02:40 .dockerignore 02:43:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 02:43 .git 02:43:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 02:40 .github 02:43:48 -rw-rw-r-- 1 jenkins jenkins 137 Oct 2 02:40 .gitignore 02:43:48 -rw-rw-r-- 1 jenkins jenkins 42 Oct 2 02:40 .golangci.yml 02:43:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 02:40 .semver 02:43:48 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 2 02:40 CHANGELOG.md 02:43:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 02:40 GOVERNANCE.md 02:43:48 -rw-rw-r-- 1 jenkins jenkins 885 Oct 2 02:40 Jenkinsfile 02:43:48 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 02:40 LICENSE 02:43:48 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 2 02:40 Makefile 02:43:48 -rw-rw-r-- 1 jenkins jenkins 619 Oct 2 02:40 OWNERS.md 02:43:48 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 2 02:40 README.md 02:43:48 -rw-rw-r-- 1 jenkins jenkins 12 Oct 2 02:41 VERSION 02:43:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:40 bin 02:43:48 -rw-r--r-- 1 jenkins jenkins 128348 Oct 2 02:43 coverage.out 02:43:48 drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 02:40 example 02:43:48 -rw-rw-r-- 1 jenkins jenkins 6985 Oct 2 02:40 go.mod 02:43:48 -rw-rw-r-- 1 jenkins jenkins 101462 Oct 2 02:40 go.sum 02:43:48 drwxrwxr-x 13 jenkins jenkins 4096 Oct 2 02:40 internal 02:43:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 02:40 openapi 02:43:48 drwxrwxr-x 6 jenkins jenkins 4096 Oct 2 02:40 pkg 02:43:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:40 snap 02:43:48 -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 02:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:49 + 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=63adea828cf4ed1d876d09a9d3feb5428c04fd58 --label arch=amd64 --label version=3.2.0-dev.39 . 02:43:49 Sending build context to Docker daemon 25.43MB 02:43:49 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:43:49 Step 2/24 : FROM ${BASE} AS builder 02:43:49 ---> 5b2531fa6ae8 02:43:49 Step 3/24 : ARG MAKE=make build 02:43:49 ---> Running in 66bbd98f1401 02:43:49 Removing intermediate container 66bbd98f1401 02:43:49 ---> c3b65e0dcdb9 02:43:49 Step 4/24 : WORKDIR /device-sdk-go 02:43:49 ---> Running in 083fdeffe0d5 02:43:50 Removing intermediate container 083fdeffe0d5 02:43:50 ---> a025d28deaec 02:43:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:43:50 ---> Running in 06fade74eb7f 02:43:50 Removing intermediate container 06fade74eb7f 02:43:50 ---> 275215e27dd3 02:43:50 Step 6/24 : RUN apk add --update --no-cache make git 02:43:50 ---> Running in c634f8bb4418 02:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:43:50 OK: 264 MiB in 52 packages 02:43:51 Removing intermediate container c634f8bb4418 02:43:51 ---> d2740cf6c76b 02:43:51 Step 7/24 : COPY go.mod vendor* ./ 02:43:51 ---> 8155e38de748 02:43:51 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:43:51 ---> Running in 15c424704ae1 02:43:51 Removing intermediate container 15c424704ae1 02:43:51 ---> c6fe5e0a66c5 02:43:51 Step 9/24 : COPY . . 02:43:52 ---> 5126ba54fa60 02:43:52 Step 10/24 : RUN ${MAKE} 02:43:52 ---> Running in fdbf47e62fc1 02:43:52 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.39 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.39" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:43:52 d6de4b400683: Pull complete 02:43:52 35cb2a7552d0: Pull complete 02:43:52 4f4fb700ef54: Pull complete 02:43:52 464afbd9ba4c: Pull complete 02:44:03 00f215d4a9da: Pull complete 02:44:03 d496ad576159: Pull complete 02:44:03 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:44:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:44:03 ---> f246e2811388 02:44:03 Step 3/10 : ARG MAKE=make build 02:44:05 ---> Running in 706f16e9c1bf 02:44:05 Removing intermediate container 706f16e9c1bf 02:44:05 ---> ccec3ef691f7 02:44:05 Step 4/10 : WORKDIR /device-sdk-go 02:44:05 ---> Running in 1562656f9bc0 02:44:05 Removing intermediate container 1562656f9bc0 02:44:05 ---> fa05268bf2da 02:44:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:44:05 ---> Running in da1cbd5d19e5 02:44:05 Removing intermediate container da1cbd5d19e5 02:44:05 ---> e7a33c59dad3 02:44:05 Step 6/10 : RUN apk add --update --no-cache make git 02:44:05 ---> Running in c6317f314bd5 02:44:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:44:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:44:08 OK: 266 MiB in 52 packages 02:44:10 Removing intermediate container c6317f314bd5 02:44:10 ---> 37b5dcb05a53 02:44:10 Step 7/10 : COPY go.mod vendor* ./ 02:44:10 ---> a320d650acae 02:44:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:44:11 ---> Running in bd0498a4b226 02:44:31 Removing intermediate container fdbf47e62fc1 02:44:31 ---> b289f0621804 02:44:31 Step 11/24 : FROM alpine:3.18 02:44:31 3.18: Pulling from library/alpine 02:44:31 1cc3d825d8b2: Pulling fs layer 02:44:31 1cc3d825d8b2: Verifying Checksum 02:44:31 1cc3d825d8b2: Download complete 02:44:31 1cc3d825d8b2: Pull complete 02:44:31 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 02:44:31 Status: Downloaded newer image for alpine:3.18 02:44:31 ---> 2c64cf60f6f0 02:44:31 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:44:31 ---> Running in 9feac64a5a2b 02:44:31 Removing intermediate container 9feac64a5a2b 02:44:31 ---> d2e5da4c6ab4 02:44:31 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:44:31 ---> Running in dfc52e735a44 02:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:44:31 (1/1) Installing dumb-init (1.2.5-r2) 02:44:31 Executing busybox-1.36.1-r7.trigger 02:44:31 OK: 7 MiB in 16 packages 02:44:31 Removing intermediate container dfc52e735a44 02:44:31 ---> e0dfd101c4e0 02:44:31 Step 14/24 : RUN apk --no-cache upgrade 02:44:31 ---> Running in bdde38725449 02:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:44:31 OK: 7 MiB in 16 packages 02:44:31 Removing intermediate container bdde38725449 02:44:31 ---> 39bf77444c3e 02:44:31 Step 15/24 : WORKDIR / 02:44:31 ---> Running in 8a861ccab3cb 02:44:31 Removing intermediate container 8a861ccab3cb 02:44:31 ---> 469bf72a962e 02:44:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:44:31 ---> ba38a6c71f8c 02:44:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:44:31 ---> 1205f8c2ac64 02:44:31 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:44:31 ---> f1a08b56f723 02:44:31 Step 19/24 : EXPOSE 59999 02:44:31 ---> Running in 0344f4ef35df 02:44:31 Removing intermediate container 0344f4ef35df 02:44:31 ---> 2073b98669ed 02:44:31 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:44:31 ---> Running in 542f3b677ae2 02:44:31 Removing intermediate container 542f3b677ae2 02:44:31 ---> f2ddaec8bb8d 02:44:31 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:44:31 ---> Running in 1664d3c9362e 02:44:31 Removing intermediate container 1664d3c9362e 02:44:31 ---> 0ccae58498e1 02:44:31 Step 22/24 : LABEL arch=amd64 02:44:31 ---> Running in 99185e73ff56 02:44:31 Removing intermediate container 99185e73ff56 02:44:31 ---> 2385f734266f 02:44:31 Step 23/24 : LABEL git_sha=63adea828cf4ed1d876d09a9d3feb5428c04fd58 02:44:31 ---> Running in 0397b7c7cac1 02:44:31 Removing intermediate container 0397b7c7cac1 02:44:31 ---> 11b69f79b1c1 02:44:31 Step 24/24 : LABEL version=3.2.0-dev.39 02:44:31 ---> Running in 5702171fd319 02:44:31 Removing intermediate container 5702171fd319 02:44:31 ---> e258adf43408 02:44:31 [Warning] One or more build-args [ARCH] were not consumed 02:44:31 Successfully built e258adf43408 02:44:31 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:44:32 02:44:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:44:32 latest: Pulling from edgex-lftools-log-publisher 02:44:32 5eb5b503b376: Pulling fs layer 02:44:32 5c69ac0246d0: Pulling fs layer 02:44:32 ec43610c2a17: Pulling fs layer 02:44:32 3a2ae6a8a46f: Pulling fs layer 02:44:32 33b1e0a273af: Pulling fs layer 02:44:32 5d3b04190fa2: Pulling fs layer 02:44:32 2f39f015ded8: Pulling fs layer 02:44:32 5d3b04190fa2: Waiting 02:44:32 33b1e0a273af: Waiting 02:44:32 3a2ae6a8a46f: Waiting 02:44:32 5c69ac0246d0: Verifying Checksum 02:44:32 5c69ac0246d0: Download complete 02:44:32 3a2ae6a8a46f: Verifying Checksum 02:44:32 3a2ae6a8a46f: Download complete 02:44:32 33b1e0a273af: Verifying Checksum 02:44:32 33b1e0a273af: Download complete 02:44:32 5d3b04190fa2: Download complete 02:44:32 ec43610c2a17: Verifying Checksum 02:44:32 ec43610c2a17: Download complete 02:44:33 5eb5b503b376: Verifying Checksum 02:44:33 5eb5b503b376: Download complete 02:44:33 2f39f015ded8: Download complete 02:44:34 5eb5b503b376: Pull complete 02:44:34 5c69ac0246d0: Pull complete 02:44:34 ec43610c2a17: Pull complete 02:44:34 3a2ae6a8a46f: Pull complete 02:44:34 33b1e0a273af: Pull complete 02:44:35 5d3b04190fa2: Pull complete 02:44:39 2f39f015ded8: Pull complete 02:44:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:44:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:44:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:39 prd-ubuntu20.04-docker-8c-8g-12568 does not seem to be running inside a container 02:44:39 $ 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 02:44:43 $ docker top 222ffb7bea1196ee9e21fc8090ffae140847d39d524bc351b1403262e794afd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:43 ---> job-cost.sh 02:44:43 lf-activate-venv: SKIPPING 02:44:43 INFO: No Stack... 02:44:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:44:44 INFO: Archiving Costs [Pipeline] sh 02:44:44 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 02:44:44 + cut -d, -f6 [Pipeline] lock 02:44:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-314-stack-cost] 02:44:44 Resource [jenkins-edgexfoundry-device-sdk-go-main-314-stack-cost] did not exist. Created. 02:44:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-314-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:44:45 + echo total: 0.2199999988079071 [Pipeline] stash 02:44:45 Stashed 1 file(s) [Pipeline] } 02:44:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-314-stack-cost] [Pipeline] // lock [Pipeline] } 02:44:45 $ docker stop --time=1 222ffb7bea1196ee9e21fc8090ffae140847d39d524bc351b1403262e794afd8 02:44:46 $ docker rm -f --volumes 222ffb7bea1196ee9e21fc8090ffae140847d39d524bc351b1403262e794afd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:46:02 Removing intermediate container bd0498a4b226 02:46:02 ---> bac1cb97210d 02:46:02 Step 9/10 : COPY . . 02:46:02 ---> c2389453da4a 02:46:02 Step 10/10 : RUN ${MAKE} 02:46:02 ---> Running in 9eb4970a7493 02:46:02 noop 02:46:02 Removing intermediate container 9eb4970a7493 02:46:02 ---> 3656c2080c75 02:46:02 Successfully built 3656c2080c75 02:46:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:03 + docker inspect -f . ci-base-image-arm64 02:46:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:03 prd-ubuntu20.04-docker-arm64-4c-16g-12570 does not seem to be running inside a container 02:46:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/314 -v /w/workspace/device-sdk-go/314:/w/workspace/device-sdk-go/314:rw,z -v /w/workspace/device-sdk-go/314@tmp:/w/workspace/device-sdk-go/314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:04 $ docker top 987a76e6b4bab57e53f9289381c8579afecde4aa45e352cc23605adf0ab265f5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:05 + go version 02:46:05 go version go1.21.9 linux/arm64 [Pipeline] } 02:46:05 $ docker stop --time=1 987a76e6b4bab57e53f9289381c8579afecde4aa45e352cc23605adf0ab265f5 02:46:07 $ docker rm -f --volumes 987a76e6b4bab57e53f9289381c8579afecde4aa45e352cc23605adf0ab265f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:07 + docker inspect -f . ci-base-image-arm64 02:46:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:08 prd-ubuntu20.04-docker-arm64-4c-16g-12570 does not seem to be running inside a container 02:46:08 $ 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/314 -v /w/workspace/device-sdk-go/314:/w/workspace/device-sdk-go/314:rw,z -v /w/workspace/device-sdk-go/314@tmp:/w/workspace/device-sdk-go/314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:09 $ docker top 150faf1d4be04729aa2af851b4b372b24a195c5a681859522db6be9770eabf5b -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:10 + git config --global --add safe.directory /w/workspace/device-sdk-go/314 [Pipeline] fileExists [Pipeline] sh 02:46:10 + make test 02:46:10 go test -race -coverprofile=coverage.out ./... 02:46:57 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:50:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:50:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:50:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:50:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:50:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:50:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.114s coverage: 26.0% of statements 02:50:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.197s coverage: 79.4% of statements 02:50:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:50:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:50:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.238s coverage: 86.0% of statements 02:50:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:50:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.464s coverage: 45.2% of statements 02:50:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.156s coverage: 14.1% of statements 02:50:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.837s coverage: 44.6% of statements 02:50:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 02:50:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:50:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:50:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.325s coverage: 68.5% of statements 02:50:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.370s coverage: 89.2% of statements 02:50:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:50:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.241s coverage: 5.3% of statements 02:50:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:50:50 GO111MODULE=on go vet ./... 02:54:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:54:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:54:42 ./bin/test-attribution-txt.sh [Pipeline] echo 02:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:54:42 $ docker stop --time=1 150faf1d4be04729aa2af851b4b372b24a195c5a681859522db6be9770eabf5b 02:54:44 $ docker rm -f --volumes 150faf1d4be04729aa2af851b4b372b24a195c5a681859522db6be9770eabf5b [Pipeline] // withDockerContainer [Pipeline] sh 02:54:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:54:46 Warning: overwriting stash ‘coverage-report’ 02:54:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:54:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:54:47 + ls -al . 02:54:47 total 380 02:54:47 drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 02:46 . 02:54:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:43 .. 02:54:47 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 02:43 .dockerignore 02:54:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 02:43 .git 02:54:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 02:43 .github 02:54:47 -rw-rw-r-- 1 jenkins jenkins 137 Oct 2 02:43 .gitignore 02:54:47 -rw-rw-r-- 1 jenkins jenkins 42 Oct 2 02:43 .golangci.yml 02:54:47 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 2 02:43 CHANGELOG.md 02:54:47 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 02:43 GOVERNANCE.md 02:54:47 -rw-rw-r-- 1 jenkins jenkins 885 Oct 2 02:43 Jenkinsfile 02:54:47 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 02:43 LICENSE 02:54:47 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 2 02:43 Makefile 02:54:47 -rw-rw-r-- 1 jenkins jenkins 619 Oct 2 02:43 OWNERS.md 02:54:47 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 2 02:43 README.md 02:54:47 -rw-rw-r-- 1 jenkins jenkins 12 Oct 2 02:41 VERSION 02:54:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 02:43 bin 02:54:47 -rw-r--r-- 1 jenkins jenkins 128347 Oct 2 02:50 coverage.out 02:54:47 drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 02:43 example 02:54:47 -rw-rw-r-- 1 jenkins jenkins 6985 Oct 2 02:43 go.mod 02:54:47 -rw-rw-r-- 1 jenkins jenkins 101462 Oct 2 02:43 go.sum 02:54:47 drwxrwxr-x 13 jenkins jenkins 4096 Oct 2 02:43 internal 02:54:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 02:43 openapi 02:54:47 drwxrwxr-x 6 jenkins jenkins 4096 Oct 2 02:43 pkg 02:54:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 02:43 snap 02:54:47 -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 02:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:48 + 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=63adea828cf4ed1d876d09a9d3feb5428c04fd58 --label arch=arm64 --label version=3.2.0-dev.39 . 02:54:48 Sending build context to Docker daemon 13.24MB 02:54:48 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:54:48 Step 2/24 : FROM ${BASE} AS builder 02:54:48 ---> 3656c2080c75 02:54:48 Step 3/24 : ARG MAKE=make build 02:54:49 ---> Running in f8436934ecc0 02:54:49 Removing intermediate container f8436934ecc0 02:54:49 ---> 2454c1aa4b61 02:54:49 Step 4/24 : WORKDIR /device-sdk-go 02:54:49 ---> Running in 4f5771be1c82 02:54:49 Removing intermediate container 4f5771be1c82 02:54:49 ---> 4468843f50ad 02:54:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:54:49 ---> Running in cce994e41fc6 02:54:49 Removing intermediate container cce994e41fc6 02:54:49 ---> 374f8489886f 02:54:49 Step 6/24 : RUN apk add --update --no-cache make git 02:54:50 ---> Running in 7980ab1bfb0b 02:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:54:52 OK: 266 MiB in 52 packages 02:54:53 Removing intermediate container 7980ab1bfb0b 02:54:53 ---> 28dff71119d9 02:54:53 Step 7/24 : COPY go.mod vendor* ./ 02:54:53 ---> 072e87c7339d 02:54:53 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:54:53 ---> Running in 6379b051b559 02:54:55 Removing intermediate container 6379b051b559 02:54:55 ---> 284597f84b81 02:54:55 Step 9/24 : COPY . . 02:54:57 ---> e0cd83c2a7f7 02:54:57 Step 10/24 : RUN ${MAKE} 02:54:57 ---> Running in 00795e184d66 02:54:58 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.39 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.39" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:58:20 Removing intermediate container 00795e184d66 02:58:20 ---> f5792858c18d 02:58:20 Step 11/24 : FROM alpine:3.18 02:58:20 3.18: Pulling from library/alpine 02:58:20 720f3032cd11: Pulling fs layer 02:58:20 720f3032cd11: Verifying Checksum 02:58:20 720f3032cd11: Download complete 02:58:20 720f3032cd11: Pull complete 02:58:20 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 02:58:20 Status: Downloaded newer image for alpine:3.18 02:58:20 ---> 3e834921e367 02:58:20 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:58:20 ---> Running in 339b8c99b6e2 02:58:20 Removing intermediate container 339b8c99b6e2 02:58:20 ---> 57522c7b1e3d 02:58:20 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:58:20 ---> Running in 88d599a67d01 02:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:58:22 (1/1) Installing dumb-init (1.2.5-r2) 02:58:22 Executing busybox-1.36.1-r7.trigger 02:58:22 OK: 8 MiB in 16 packages 02:58:23 Removing intermediate container 88d599a67d01 02:58:23 ---> e2ef68340d8a 02:58:23 Step 14/24 : RUN apk --no-cache upgrade 02:58:23 ---> Running in b3685d19b137 02:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:58:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:58:25 OK: 8 MiB in 16 packages 02:58:26 Removing intermediate container b3685d19b137 02:58:26 ---> 0a982bcaa117 02:58:26 Step 15/24 : WORKDIR / 02:58:26 ---> Running in f7be95357684 02:58:26 Removing intermediate container f7be95357684 02:58:26 ---> 62e2f15c7ddb 02:58:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:58:27 ---> 1bafcbfe140b 02:58:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:58:29 ---> faf70bf823a9 02:58:29 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:58:30 ---> e2f9649a89b6 02:58:30 Step 19/24 : EXPOSE 59999 02:58:30 ---> Running in 52aeea8d967c 02:58:30 Removing intermediate container 52aeea8d967c 02:58:30 ---> f47b4251d5e4 02:58:30 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:58:30 ---> Running in f8bb2398a0b8 02:58:30 Removing intermediate container f8bb2398a0b8 02:58:30 ---> de4fca62f8b8 02:58:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:58:30 ---> Running in cd95a81d546b 02:58:31 Removing intermediate container cd95a81d546b 02:58:31 ---> 3be6684c4eab 02:58:31 Step 22/24 : LABEL arch=arm64 02:58:31 ---> Running in 9778c4a5b609 02:58:31 Removing intermediate container 9778c4a5b609 02:58:31 ---> dda38f537883 02:58:31 Step 23/24 : LABEL git_sha=63adea828cf4ed1d876d09a9d3feb5428c04fd58 02:58:31 ---> Running in 650e39048dc9 02:58:31 Removing intermediate container 650e39048dc9 02:58:31 ---> fad0ce15cfd4 02:58:31 Step 24/24 : LABEL version=3.2.0-dev.39 02:58:31 ---> Running in 93d3f4dab90e 02:58:32 Removing intermediate container 93d3f4dab90e 02:58:32 ---> 6f1488e55851 02:58:32 [Warning] One or more build-args [ARCH] were not consumed 02:58:32 Successfully built 6f1488e55851 02:58:32 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:58:32 02:58:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:58:33 arm64: Pulling from edgex-lftools-log-publisher 02:58:33 8998bd30e6a1: Pulling fs layer 02:58:33 04944245beec: Pulling fs layer 02:58:33 699f458cf7ca: Pulling fs layer 02:58:33 765212b225bb: Pulling fs layer 02:58:33 f23df028b6ca: Pulling fs layer 02:58:33 d65c8cfc05b1: Pulling fs layer 02:58:33 2437ff75d9bd: Pulling fs layer 02:58:33 f23df028b6ca: Waiting 02:58:33 2437ff75d9bd: Waiting 02:58:33 d65c8cfc05b1: Waiting 02:58:33 765212b225bb: Waiting 02:58:33 04944245beec: Verifying Checksum 02:58:33 04944245beec: Download complete 02:58:33 765212b225bb: Verifying Checksum 02:58:33 765212b225bb: Download complete 02:58:33 f23df028b6ca: Verifying Checksum 02:58:33 f23df028b6ca: Download complete 02:58:33 d65c8cfc05b1: Verifying Checksum 02:58:33 d65c8cfc05b1: Download complete 02:58:33 699f458cf7ca: Verifying Checksum 02:58:33 699f458cf7ca: Download complete 02:58:33 8998bd30e6a1: Verifying Checksum 02:58:33 8998bd30e6a1: Download complete 02:58:36 2437ff75d9bd: Verifying Checksum 02:58:36 2437ff75d9bd: Download complete 02:58:38 8998bd30e6a1: Pull complete 02:58:38 04944245beec: Pull complete 02:58:40 699f458cf7ca: Pull complete 02:58:40 765212b225bb: Pull complete 02:58:41 f23df028b6ca: Pull complete 02:58:41 d65c8cfc05b1: Pull complete 02:58:59 2437ff75d9bd: Pull complete 02:58:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:58:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:58:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:59 prd-ubuntu20.04-docker-arm64-4c-16g-12570 does not seem to be running inside a container 02:58:59 $ 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/314 -v /w/workspace/device-sdk-go/314:/w/workspace/device-sdk-go/314:rw,z -v /w/workspace/device-sdk-go/314@tmp:/w/workspace/device-sdk-go/314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:59:02 $ docker top 4ec28b804d9f7e4d57595cda0f146aea46c8435a55f7bc3594bc9a61fa92f3c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:59:03 ---> job-cost.sh 02:59:03 lf-activate-venv: SKIPPING 02:59:03 INFO: No Stack... 02:59:03 INFO: Retrieving Pricing Info for: v3-standard-4 02:59:04 INFO: Archiving Costs [Pipeline] sh 02:59:05 + cut -d, -f6 02:59:05 + cat /w/workspace/device-sdk-go/314/archives/cost.csv [Pipeline] lock 02:59:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-314-stack-cost] 02:59:05 Resource [jenkins-edgexfoundry-device-sdk-go-main-314-stack-cost] did not exist. Created. 02:59:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-314-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:59:06 /w/workspace/device-sdk-go/314@tmp/durable-b32cfaea/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:59:06 + echo total: 0.10999999940395355 [Pipeline] stash 02:59:06 Warning: overwriting stash ‘stack-cost’ 02:59:06 Stashed 1 file(s) [Pipeline] } 02:59:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-314-stack-cost] [Pipeline] // lock [Pipeline] } 02:59:06 $ docker stop --time=1 4ec28b804d9f7e4d57595cda0f146aea46c8435a55f7bc3594bc9a61fa92f3c2 02:59:08 $ docker rm -f --volumes 4ec28b804d9f7e4d57595cda0f146aea46c8435a55f7bc3594bc9a61fa92f3c2 [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 02:59:09 provisioning config files... 02:59:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10996292990432741821tmp [Pipeline] { [Pipeline] sh 02:59:09 + set +x 02:59:09 + bash -s -- 02:59:09 + curl -s https://codecov.io/bash 02:59:09 02:59:09 _____ _ 02:59:09 / ____| | | 02:59:09 | | ___ __| | ___ ___ _____ __ 02:59:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:59:09 | |___| (_) | (_| | __/ (_| (_) \ V / 02:59:09 \_____\___/ \__,_|\___|\___\___/ \_/ 02:59:09 Bash-1.0.6 02:59:09 02:59:09 02:59:09 ==> git version 2.25.1 found 02:59:09 ==> 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 02:59:09 Release-Date: 2020-01-08 02:59:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:59:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:59:09 ==> Jenkins CI detected. 02:59:09 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 02:59:09 project root: . 02:59:09 --> token set from env 02:59:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:59:09 ==> Running gcov in . (disable via -X gcov) 02:59:09 ==> Python coveragepy not found 02:59:09 ==> Searching for coverage reports in: 02:59:09 + . 02:59:09 -> Found 1 reports 02:59:09 ==> Detecting git/mercurial file structure 02:59:09 ==> Reading reports 02:59:09 + ./coverage.out bytes=128347 02:59:09 ==> Appending adjustments 02:59:09 https://docs.codecov.io/docs/fixing-reports 02:59:09 + Found adjustments 02:59:09 ==> Gzipping contents 02:59:09 20K /tmp/codecov.To8cyx.gz 02:59:09 ==> Uploading reports 02:59:09 url: https://codecov.io 02:59:09 query: branch=main&commit=63adea828cf4ed1d876d09a9d3feb5428c04fd58&build=314&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F314%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:59:09 -> Pinging Codecov 02:59:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=63adea828cf4ed1d876d09a9d3feb5428c04fd58&build=314&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F314%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:59:10 -> Uploading to 02:59:10 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/63adea828cf4ed1d876d09a9d3feb5428c04fd58/a45d853a-c982-4d97-a3b6-9a66955174cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T025909Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=928a91a515b233b04710c74a5d00f10ae453c0d795e63822d62ea577e9717134 02:59:10 % Total % Received % Xferd Average Speed Time Time Time Current 02:59:10 Dload Upload Total Spent Left Speed 02:59:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17704 0 0 100 17704 0 79035 --:--:-- --:--:-- --:--:-- 79035 02:59:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/63adea828cf4ed1d876d09a9d3feb5428c04fd58 [Pipeline] } 02:59:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:59:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:59:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:59:10 02:59:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:59:11 latest: Pulling from edgex-devops/edgex-snyk-go 02:59:11 619be1103602: Already exists 02:59:11 f8ea3408117e: Pulling fs layer 02:59:11 91320369b822: Pulling fs layer 02:59:11 0406650e8295: Pulling fs layer 02:59:11 4f4fb700ef54: Pulling fs layer 02:59:11 96d80e3f36e1: Pulling fs layer 02:59:11 bcf3aedb951c: Pulling fs layer 02:59:11 4f4fb700ef54: Waiting 02:59:11 96d80e3f36e1: Waiting 02:59:11 bcf3aedb951c: Waiting 02:59:11 0406650e8295: Download complete 02:59:11 f8ea3408117e: Download complete 02:59:11 4f4fb700ef54: Verifying Checksum 02:59:11 4f4fb700ef54: Download complete 02:59:11 f8ea3408117e: Pull complete 02:59:11 96d80e3f36e1: Verifying Checksum 02:59:11 96d80e3f36e1: Download complete 02:59:11 91320369b822: Verifying Checksum 02:59:11 91320369b822: Download complete 02:59:12 bcf3aedb951c: Verifying Checksum 02:59:12 bcf3aedb951c: Download complete 02:59:15 91320369b822: Pull complete 02:59:15 0406650e8295: Pull complete 02:59:15 4f4fb700ef54: Pull complete 02:59:15 96d80e3f36e1: Pull complete 02:59:19 bcf3aedb951c: Pull complete 02:59:19 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 02:59:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:59:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:19 prd-ubuntu20.04-docker-8c-8g-12568 does not seem to be running inside a container 02:59:19 $ 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:latest cat 02:59:22 $ docker top 2beff1021e9129bee0fede80f680aa4076b8d9dba8a9f7260329c100f06f8125 -eo pid,comm [Pipeline] { [Pipeline] sh 02:59:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 02:59:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 02:59:23 + set -o pipefail 02:59:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 02:59:29 02:59:29 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 02:59:29 02:59:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/d8528c60-5748-4aaf-b731-c4e51d7bb75c 02:59:29 02:59:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:59:29 02:59:29 02:59:29 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 02:59:29 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:59:29 $ docker stop --time=1 2beff1021e9129bee0fede80f680aa4076b8d9dba8a9f7260329c100f06f8125 02:59:33 $ docker rm -f --volumes 2beff1021e9129bee0fede80f680aa4076b8d9dba8a9f7260329c100f06f8125 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 02:59:34 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:59:34 provisioning config files... 02:59:34 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7928136072881716754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:59:34 --> edgex-publish-swagger.sh 02:59:34 === Publish openapi/v3 API === 02:59:34 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 02:59:34 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 02:59:34 % Total % Received % Xferd Average Speed Time Time Time Current 02:59:34 Dload Upload Total Spent Left Speed 02:59:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 308 74293 --:--:-- --:--:-- --:--:-- 74454 100 37674 100 156 100 37518 308 74146 --:--:-- --:--:-- --:--:-- 74454 02:59:35 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 02:59:35 [Pipeline] } 02:59:35 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 02:59:35 + git log --format=format:%s -1 63adea828cf4ed1d876d09a9d3feb5428c04fd58 [Pipeline] sh 02:59:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:59:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:59:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:36 prd-ubuntu20.04-docker-8c-8g-12568 does not seem to be running inside a container 02:59:36 $ 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 02:59:37 $ docker top 5bc58a825e5b6984d8cb7f0d113115e667036152ec38bfbdf1f044aaf59018d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:59:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:59:37 [ssh-agent] Looking for ssh-agent implementation... 02:59:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:59:37 $ docker exec 5bc58a825e5b6984d8cb7f0d113115e667036152ec38bfbdf1f044aaf59018d8 ssh-agent 02:59:37 SSH_AUTH_SOCK=/tmp/ssh-SggOQNQgBvau/agent.31 02:59:37 SSH_AGENT_PID=37 02:59:37 Running ssh-add (command line suppressed) 02:59:37 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17355157067320060793.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17355157067320060793.key) 02:59:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:59:37 + git semver tag 02:59:38 2024-10-02 02:59:38,086 [run_tag] DEBUG tag force:False 02:59:38 2024-10-02 02:59:38,086 [check_head_tag] DEBUG check head tag 02:59:38 2024-10-02 02:59:38,088 [execute] INFO git cat-file --batch-check 02:59:38 2024-10-02 02:59:38,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 02:59:38 2024-10-02 02:59:38,091 [execute] INFO git cat-file --batch 02:59:38 2024-10-02 02:59:38,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 02:59:38 2024-10-02 02:59:38,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:59:38 2024-10-02 02:59:38,119 [execute] INFO git tag -a v3.2.0-dev.39 -m v3.2.0-dev.39 02:59:38 2024-10-02 02:59:38,119 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.39', '-m', 'v3.2.0-dev.39'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 02:59:38 2024-10-02 02:59:38,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:59:38 3.2.0-dev.39 [Pipeline] } 02:59:38 $ docker exec --env ******** --env ******** 5bc58a825e5b6984d8cb7f0d113115e667036152ec38bfbdf1f044aaf59018d8 ssh-agent -k 02:59:38 unset SSH_AUTH_SOCK; 02:59:38 unset SSH_AGENT_PID; 02:59:38 echo Agent pid 37 killed; 02:59:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:59:38 + git semver [Pipeline] } 02:59:38 $ docker stop --time=1 5bc58a825e5b6984d8cb7f0d113115e667036152ec38bfbdf1f044aaf59018d8 02:59:40 $ docker rm -f --volumes 5bc58a825e5b6984d8cb7f0d113115e667036152ec38bfbdf1f044aaf59018d8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:59:40 02:59:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:59:40 0.23.1-centos7: Pulling from edgex-lftools 02:59:40 ab5ef0e58194: Pulling fs layer 02:59:40 9712f1f96733: Pulling fs layer 02:59:40 63f879dbbcfc: Pulling fs layer 02:59:40 0d9ebad4ef96: Pulling fs layer 02:59:40 e9a5061849ea: Pulling fs layer 02:59:40 d747dcd14b5f: Pulling fs layer 02:59:40 2de7ff778b66: Pulling fs layer 02:59:40 e9a5061849ea: Waiting 02:59:40 d747dcd14b5f: Waiting 02:59:40 2de7ff778b66: Waiting 02:59:40 0d9ebad4ef96: Waiting 02:59:40 9712f1f96733: Verifying Checksum 02:59:40 9712f1f96733: Download complete 02:59:41 63f879dbbcfc: Verifying Checksum 02:59:41 63f879dbbcfc: Download complete 02:59:41 e9a5061849ea: Verifying Checksum 02:59:41 e9a5061849ea: Download complete 02:59:41 d747dcd14b5f: Verifying Checksum 02:59:41 d747dcd14b5f: Download complete 02:59:41 0d9ebad4ef96: Verifying Checksum 02:59:41 0d9ebad4ef96: Download complete 02:59:41 ab5ef0e58194: Verifying Checksum 02:59:41 ab5ef0e58194: Download complete 02:59:41 2de7ff778b66: Verifying Checksum 02:59:41 2de7ff778b66: Download complete 02:59:44 ab5ef0e58194: Pull complete 02:59:44 9712f1f96733: Pull complete 02:59:45 63f879dbbcfc: Pull complete 02:59:48 0d9ebad4ef96: Pull complete 02:59:48 e9a5061849ea: Pull complete 02:59:48 d747dcd14b5f: Pull complete 02:59:49 2de7ff778b66: Pull complete 02:59:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:59:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:59:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:49 prd-ubuntu20.04-docker-8c-8g-12568 does not seem to be running inside a container 02:59:49 $ 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 02:59:53 $ docker top 68d24521b5a9291e42ed40f21757b7f4510c117fa376798cd9d57ec0d9b71a4d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:59:53 provisioning config files... 02:59:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18279269487467016783tmp 02:59:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12491362288666285362tmp 02:59:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17943102404837260526tmp [Pipeline] { [Pipeline] echo 02:59:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:59:54 ---> sigul-configuration.sh 02:59:54 gpg: directory `/root/.gnupg' created 02:59:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:59:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:59:54 gpg: keyring `/root/.gnupg/secring.gpg' created 02:59:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:59:54 gpg: CAST5 encrypted data 02:59:54 gpg: encrypted with 1 passphrase 02:59:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:59:54 + mkdir /home/jenkins 02:59:54 + mkdir /home/jenkins/sigul [Pipeline] sh 02:59:54 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:59:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:59:55 ---> sigul-install.sh 02:59:55 Sigul already installed; skipping installation. [Pipeline] sh 02:59:55 + git tag --list 02:59:55 0.7.1 02:59:55 delhi-tag 02:59:55 v1.0.0 02:59:55 v1.1.0 02:59:55 v1.1.1 02:59:55 v1.1.2 02:59:55 v1.2.0 02:59:55 v1.2.1 02:59:55 v1.2.2 02:59:55 v1.2.3 02:59:55 v1.3.0 02:59:55 v1.4.0 02:59:55 v2.0.0 02:59:55 v2.1.0 02:59:55 v2.1.1 02:59:55 v2.2.0 02:59:55 v2.3.0 02:59:55 v2.3.1 02:59:55 v3.0 02:59:55 v3.0.0 02:59:55 v3.0.1-dev.1 02:59:55 v3.1 02:59:55 v3.1.0 02:59:55 v3.1.0-dev.1 02:59:55 v3.1.0-dev.10 02:59:55 v3.1.0-dev.11 02:59:55 v3.1.0-dev.12 02:59:55 v3.1.0-dev.13 02:59:55 v3.1.0-dev.14 02:59:55 v3.1.0-dev.15 02:59:55 v3.1.0-dev.16 02:59:55 v3.1.0-dev.17 02:59:55 v3.1.0-dev.18 02:59:55 v3.1.0-dev.19 02:59:55 v3.1.0-dev.2 02:59:55 v3.1.0-dev.20 02:59:55 v3.1.0-dev.21 02:59:55 v3.1.0-dev.22 02:59:55 v3.1.0-dev.23 02:59:55 v3.1.0-dev.24 02:59:55 v3.1.0-dev.25 02:59:55 v3.1.0-dev.26 02:59:55 v3.1.0-dev.27 02:59:55 v3.1.0-dev.28 02:59:55 v3.1.0-dev.29 02:59:55 v3.1.0-dev.3 02:59:55 v3.1.0-dev.30 02:59:55 v3.1.0-dev.31 02:59:55 v3.1.0-dev.32 02:59:55 v3.1.0-dev.33 02:59:55 v3.1.0-dev.34 02:59:55 v3.1.0-dev.35 02:59:55 v3.1.0-dev.36 02:59:55 v3.1.0-dev.37 02:59:55 v3.1.0-dev.38 02:59:55 v3.1.0-dev.39 02:59:55 v3.1.0-dev.4 02:59:55 v3.1.0-dev.40 02:59:55 v3.1.0-dev.41 02:59:55 v3.1.0-dev.5 02:59:55 v3.1.0-dev.6 02:59:55 v3.1.0-dev.7 02:59:55 v3.1.0-dev.8 02:59:55 v3.1.0-dev.9 02:59:55 v3.1.1 02:59:55 v3.1.1-dev.1 02:59:55 v3.2.0-dev.1 02:59:55 v3.2.0-dev.10 02:59:55 v3.2.0-dev.11 02:59:55 v3.2.0-dev.12 02:59:55 v3.2.0-dev.13 02:59:55 v3.2.0-dev.14 02:59:55 v3.2.0-dev.15 02:59:55 v3.2.0-dev.16 02:59:55 v3.2.0-dev.17 02:59:55 v3.2.0-dev.18 02:59:55 v3.2.0-dev.19 02:59:55 v3.2.0-dev.2 02:59:55 v3.2.0-dev.20 02:59:55 v3.2.0-dev.21 02:59:55 v3.2.0-dev.22 02:59:55 v3.2.0-dev.23 02:59:55 v3.2.0-dev.24 02:59:55 v3.2.0-dev.25 02:59:55 v3.2.0-dev.26 02:59:55 v3.2.0-dev.27 02:59:55 v3.2.0-dev.28 02:59:55 v3.2.0-dev.29 02:59:55 v3.2.0-dev.3 02:59:55 v3.2.0-dev.30 02:59:55 v3.2.0-dev.31 02:59:55 v3.2.0-dev.32 02:59:55 v3.2.0-dev.33 02:59:55 v3.2.0-dev.34 02:59:55 v3.2.0-dev.35 02:59:55 v3.2.0-dev.36 02:59:55 v3.2.0-dev.37 02:59:55 v3.2.0-dev.38 02:59:55 v3.2.0-dev.39 02:59:55 v3.2.0-dev.4 02:59:55 v3.2.0-dev.5 02:59:55 v3.2.0-dev.6 02:59:55 v3.2.0-dev.7 02:59:55 v3.2.0-dev.8 02:59:55 v3.2.0-dev.9 [Pipeline] sh 02:59:55 + lftools sign git-tag v3.2.0-dev.39 02:59:56 Signing Git tag with Sigul... 02:59:56 Signing v3.2.0-dev.39 [Pipeline] echo 02:59:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:59:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:59:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:59:57 $ docker stop --time=1 68d24521b5a9291e42ed40f21757b7f4510c117fa376798cd9d57ec0d9b71a4d 02:59:58 $ docker rm -f --volumes 68d24521b5a9291e42ed40f21757b7f4510c117fa376798cd9d57ec0d9b71a4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:59:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:59:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:59:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:59 prd-ubuntu20.04-docker-8c-8g-12568 does not seem to be running inside a container 02:59:59 $ 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 02:59:59 $ docker top c406a3490fcf5dc6bc3d138bfb12b7e332102cfbe759804d25ad33dae91c2205 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:59:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:59:59 [ssh-agent] Looking for ssh-agent implementation... 02:59:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:59:59 $ docker exec c406a3490fcf5dc6bc3d138bfb12b7e332102cfbe759804d25ad33dae91c2205 ssh-agent 03:00:00 SSH_AUTH_SOCK=/tmp/ssh-D1DYAQmfjd0v/agent.31 03:00:00 SSH_AGENT_PID=37 03:00:00 Running ssh-add (command line suppressed) 03:00:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17480920813584997305.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17480920813584997305.key) 03:00:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:00 + git semver bump pre 03:00:00 2024-10-02 03:00:00,650 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:00:00 2024-10-02 03:00:00,651 [bump_version] DEBUG bumping version:3.2.0-dev.39 on axis:pre with prefix:dev 03:00:00 2024-10-02 03:00:00,651 [bump_version] DEBUG bumped version:3.2.0-dev.40 03:00:00 2024-10-02 03:00:00,651 [write_version] DEBUG write version:3.2.0-dev.40 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 03:00:00 2024-10-02 03:00:00,651 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:00:00 2024-10-02 03:00:00,651 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:00:00 2024-10-02 03:00:00,653 [execute] INFO git cat-file --batch-check 03:00:00 2024-10-02 03:00:00,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:00:00 2024-10-02 03:00:00,660 [execute] INFO git cat-file --batch 03:00:00 2024-10-02 03:00:00,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:00:00 2024-10-02 03:00:00,666 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:00:00 3.2.0-dev.40 [Pipeline] } 03:00:00 $ docker exec --env ******** --env ******** c406a3490fcf5dc6bc3d138bfb12b7e332102cfbe759804d25ad33dae91c2205 ssh-agent -k 03:00:00 unset SSH_AUTH_SOCK; 03:00:00 unset SSH_AGENT_PID; 03:00:00 echo Agent pid 37 killed; 03:00:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:00:01 + git semver [Pipeline] } 03:00:01 $ docker stop --time=1 c406a3490fcf5dc6bc3d138bfb12b7e332102cfbe759804d25ad33dae91c2205 03:00:02 $ docker rm -f --volumes c406a3490fcf5dc6bc3d138bfb12b7e332102cfbe759804d25ad33dae91c2205 [Pipeline] // withDockerContainer [Pipeline] sh 03:00:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:00:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:03 prd-ubuntu20.04-docker-8c-8g-12568 does not seem to be running inside a container 03:00:03 $ 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 03:00:03 $ docker top f082b868d3dba790535ac8b1818c68a4038c10a02b0209842770d0922c7247e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:00:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:04 [ssh-agent] Looking for ssh-agent implementation... 03:00:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:04 $ docker exec f082b868d3dba790535ac8b1818c68a4038c10a02b0209842770d0922c7247e2 ssh-agent 03:00:04 SSH_AUTH_SOCK=/tmp/ssh-U1UfFdySXtiz/agent.32 03:00:04 SSH_AGENT_PID=38 03:00:04 Running ssh-add (command line suppressed) 03:00:04 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13079446954177749031.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13079446954177749031.key) 03:00:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:04 + git semver push 03:00:04 2024-10-02 03:00:04,862 [run_push] DEBUG push 03:00:04 2024-10-02 03:00:04,862 [execute] INFO git cat-file --batch-check 03:00:04 2024-10-02 03:00:04,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:00:04 2024-10-02 03:00:04,870 [execute] INFO git rev-list d12b0616cb09112f3ec77f04d92b970cade178c9 -- 03:00:04 2024-10-02 03:00:04,870 [execute] DEBUG Popen(['git', 'rev-list', 'd12b0616cb09112f3ec77f04d92b970cade178c9', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:00:04 2024-10-02 03:00:04,880 [execute] INFO git fetch -v origin 03:00:04 2024-10-02 03:00:04,880 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:00:05 2024-10-02 03:00:05,331 [run_push] DEBUG no remote changes detected 03:00:05 2024-10-02 03:00:05,332 [execute] INFO git push origin semver 03:00:05 2024-10-02 03:00:05,332 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:00:06 2024-10-02 03:00:06,126 [run_push] DEBUG push all version tags 03:00:06 2024-10-02 03:00:06,127 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:00:06 2024-10-02 03:00:06,127 [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) 03:00:07 2024-10-02 03:00:06,803 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:00:07 3.2.0-dev.40 [Pipeline] } 03:00:07 $ docker exec --env ******** --env ******** f082b868d3dba790535ac8b1818c68a4038c10a02b0209842770d0922c7247e2 ssh-agent -k 03:00:07 unset SSH_AUTH_SOCK; 03:00:07 unset SSH_AGENT_PID; 03:00:07 echo Agent pid 38 killed; 03:00:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:00:07 + git semver [Pipeline] } 03:00:08 $ docker stop --time=1 f082b868d3dba790535ac8b1818c68a4038c10a02b0209842770d0922c7247e2 03:00:09 $ docker rm -f --volumes f082b868d3dba790535ac8b1818c68a4038c10a02b0209842770d0922c7247e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:00:10 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 03:00:10 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:00:10 total 16 03:00:10 drwxr-xr-x 3 root root 4096 Oct 2 02:44 . 03:00:10 drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 02:59 .. 03:00:10 drwxr-xr-x 2 root root 4096 Oct 2 02:44 cost 03:00:10 -rw-r--r-- 1 root root 85 Oct 2 02:44 cost.csv 03:00:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:00:10 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:00:10 total 16 03:00:10 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 02:44 . 03:00:10 drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 02:59 .. 03:00:10 drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 02:44 cost 03:00:10 -rw-r--r-- 1 jenkins jenkins 85 Oct 2 02:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:00:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:00:11 ---> package-listing.sh 03:00:11 ++ facter osfamily 03:00:11 ++ tr '[:upper:]' '[:lower:]' 03:00:11 + OS_FAMILY=debian 03:00:11 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 03:00:11 + START_PACKAGES=/tmp/packages_start.txt 03:00:11 + END_PACKAGES=/tmp/packages_end.txt 03:00:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:00:11 + PACKAGES=/tmp/packages_start.txt 03:00:11 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 03:00:11 + PACKAGES=/tmp/packages_end.txt 03:00:11 + case "${OS_FAMILY}" in 03:00:11 + dpkg -l 03:00:11 + grep '^ii' 03:00:11 + '[' -f /tmp/packages_start.txt ']' 03:00:11 + '[' -f /tmp/packages_end.txt ']' 03:00:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:00:11 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 03:00:11 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 03:00:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 03:00:11 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 03:00:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:00:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:12 prd-ubuntu20.04-docker-8c-8g-12568 does not seem to be running inside a container 03:00:12 $ 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 03:00:12 $ docker top 7a98be14ae025bb049287c76cd41cc1729b4735d845ac81db2d9d984804cd210 -eo pid,comm [Pipeline] { [Pipeline] sh 03:00:13 + touch /tmp/pre-build-complete [Pipeline] sh 03:00:13 + mkdir -p /var/log/sysstat [Pipeline] sh 03:00:13 + ls /var/log/sa-host 03:00:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:13 provisioning config files... 03:00:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13563895202898119951tmp [Pipeline] { [Pipeline] echo 03:00:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:00:14 ---> create-netrc.sh [Pipeline] } 03:00:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:00:14 ---> python-tools-install.sh [Pipeline] echo 03:00:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:00:14 ---> sudo-logs.sh 03:00:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:00:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:00:15 ---> job-cost.sh 03:00:15 lf-activate-venv: SKIPPING 03:00:15 DEBUG: total: 0.2199999988079071 03:00:15 INFO: Retrieving Stack Cost... 03:00:15 INFO: Retrieving Pricing Info for: v3-standard-8 03:00:15 INFO: Archiving Costs [Pipeline] echo 03:00:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:00:16 ---> logs-deploy.sh 03:00:16 lf-activate-venv: SKIPPING 03:00:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/314 03:00:16 INFO: archiving workspace using pattern(s): 03:00:17 Archives upload complete. 03:00:17 INFO: archiving logs to Nexus