Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f7f74c656f33fe2f31a87c52cf44e870be8830fd 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-ssh6507198968165211765.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh890443346863316412.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh10853682033196776585.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh15496238573977279716.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-ssh15506513048621903150.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.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22321 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 f7f74c656f33fe2f31a87c52cf44e870be8830fd (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 f7f74c656f33fe2f31a87c52cf44e870be8830fd # timeout=10 Commit message: "Merge pull request #1637 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.66" > git rev-list --no-walk e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:56:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:56:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:56:43 ========================================================= 11:56:43 EdgeX Global Pipelines Version Info 11:56:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:56:44 ------------------- 11:56:44 stable info: 11:56:44 ------------------- 11:56:44 Commited By: Ginny Guan ginny@iotechsys.com 11:56:44 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 11:56:44 Message: update stable to v1.0.265 11:56:44 ------------------- 11:56:44 experimental info: 11:56:44 ------------------- 11:56:44 Commited By: Cherry Wang cherry@iotechsys.com 11:56:44 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 11:56:44 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:56:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:56:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:56:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:56:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:56:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:56:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 11:56:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:56:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7f74c656f33fe2f31a87c52cf44e870be8830fd [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7f74c6 [Pipeline] echo 11:56:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:56:45 provisioning config files... 11:56:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17453616928472549608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:56:45 ---> ****-login.sh 11:56:45 nexus3.edgexfoundry.org:10001 11:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:56:46 Configure a credential helper to remove this warning. See 11:56:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:56:46 11:56:46 Login Succeeded 11:56:46 nexus3.edgexfoundry.org:10002 11:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:56:46 Configure a credential helper to remove this warning. See 11:56:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:56:46 11:56:46 Login Succeeded 11:56:46 nexus3.edgexfoundry.org:10003 11:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:56:46 Configure a credential helper to remove this warning. See 11:56:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:56:46 11:56:46 Login Succeeded 11:56:46 nexus3.edgexfoundry.org:10004 11:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:56:46 Configure a credential helper to remove this warning. See 11:56:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:56:46 11:56:46 Login Succeeded 11:56:46 ****.io 11:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:56:46 Configure a credential helper to remove this warning. See 11:56:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:56:46 11:56:46 Login Succeeded 11:56:46 ---> ****-login.sh ends [Pipeline] } 11:56:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:56:47 + git rev-list -1 --merges f7f74c656f33fe2f31a87c52cf44e870be8830fd~1..f7f74c656f33fe2f31a87c52cf44e870be8830fd [Pipeline] echo 11:56:47 -----------> git rev-list -1 --merges f7f74c656f33fe2f31a87c52cf44e870be8830fd~1..f7f74c656f33fe2f31a87c52cf44e870be8830fd f7f74c656f33fe2f31a87c52cf44e870be8830fd 11:56:47 f7f74c656f33fe2f31a87c52cf44e870be8830fd [false] [Pipeline] sh 11:56:47 + git log --format=format:%s -1 f7f74c656f33fe2f31a87c52cf44e870be8830fd [Pipeline] echo 11:56:47 ========================================================= 11:56:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:56:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:56:48 + git log --format=format:%s -1 f7f74c656f33fe2f31a87c52cf44e870be8830fd [Pipeline] echo 11:56:48 [semverPrep] GIT_COMMIT: f7f74c656f33fe2f31a87c52cf44e870be8830fd, Commit Message: Merge pull request #1637 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.66 [Pipeline] echo 11:56:48 [semverPrep] This is not a build commit. [Pipeline] sh 11:56:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:56:48 + grep -v github /etc/ssh/ssh_known_hosts 11:56:48 + [ -e /tmp/ssh_known_hosts ] 11:56:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:56:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:56:48 + sudo tee -a /etc/ssh/ssh_known_hosts 11:56:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:56:48 11:56:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:56:49 0.1.4: Pulling from edgex-devops/py-git-semver 11:56:49 b85a868b505f: Pulling fs layer 11:56:49 e2be974225ed: Pulling fs layer 11:56:49 339a4e72a1f5: Pulling fs layer 11:56:49 988bab9f4d93: Pulling fs layer 11:56:49 1469e6f7b9e6: Pulling fs layer 11:56:49 eaf3925da568: Pulling fs layer 11:56:49 bab4dde63d76: Pulling fs layer 11:56:49 bde34c3a00c8: Pulling fs layer 11:56:49 b352a97aabf1: Pulling fs layer 11:56:49 4872d77fe225: Pulling fs layer 11:56:49 5851b861e8e6: Pulling fs layer 11:56:49 bab4dde63d76: Waiting 11:56:49 1469e6f7b9e6: Waiting 11:56:49 eaf3925da568: Waiting 11:56:49 bde34c3a00c8: Waiting 11:56:49 b352a97aabf1: Waiting 11:56:49 988bab9f4d93: Waiting 11:56:49 4872d77fe225: Waiting 11:56:49 e2be974225ed: Download complete 11:56:49 988bab9f4d93: Verifying Checksum 11:56:49 988bab9f4d93: Download complete 11:56:49 1469e6f7b9e6: Verifying Checksum 11:56:49 1469e6f7b9e6: Download complete 11:56:49 eaf3925da568: Verifying Checksum 11:56:49 eaf3925da568: Download complete 11:56:49 339a4e72a1f5: Download complete 11:56:49 bde34c3a00c8: Download complete 11:56:49 4872d77fe225: Verifying Checksum 11:56:49 4872d77fe225: Download complete 11:56:49 5851b861e8e6: Download complete 11:56:49 b85a868b505f: Verifying Checksum 11:56:49 b85a868b505f: Download complete 11:56:49 bab4dde63d76: Verifying Checksum 11:56:49 bab4dde63d76: Download complete 11:56:50 b85a868b505f: Pull complete 11:56:50 e2be974225ed: Pull complete 11:56:51 339a4e72a1f5: Pull complete 11:56:51 988bab9f4d93: Pull complete 11:56:51 1469e6f7b9e6: Pull complete 11:56:51 eaf3925da568: Pull complete 11:56:53 bab4dde63d76: Pull complete 11:56:53 bde34c3a00c8: Pull complete 11:56:53 b352a97aabf1: Pull complete 11:56:53 4872d77fe225: Pull complete 11:56:53 5851b861e8e6: Pull complete 11:56:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:56:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:56:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:56:54 prd-ubuntu20.04-docker-8c-8g-22321 does not seem to be running inside a container 11:56:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:56:56 $ docker top 1bfab2b1d29814ba9718232a550d08e8f97106fd872b3f5fe0508330f0f7a6b4 -eo pid,comm 11:56:56 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). 11:56:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:56:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:56:56 [ssh-agent] Looking for ssh-agent implementation... 11:56:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:56:57 $ docker exec 1bfab2b1d29814ba9718232a550d08e8f97106fd872b3f5fe0508330f0f7a6b4 ssh-agent 11:56:57 SSH_AUTH_SOCK=/tmp/ssh-c4VYo3hVT04P/agent.32 11:56:57 SSH_AGENT_PID=38 11:56:57 Running ssh-add (command line suppressed) 11:56:57 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5727565903777950346.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5727565903777950346.key) 11:56:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:56:57 + git tag --points-at HEAD [Pipeline] } 11:56:57 $ docker exec --env ******** --env ******** 1bfab2b1d29814ba9718232a550d08e8f97106fd872b3f5fe0508330f0f7a6b4 ssh-agent -k 11:56:57 unset SSH_AUTH_SOCK; 11:56:57 unset SSH_AGENT_PID; 11:56:57 echo Agent pid 38 killed; 11:56:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:56:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:56:57 [ssh-agent] Looking for ssh-agent implementation... 11:56:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:56:57 $ docker exec 1bfab2b1d29814ba9718232a550d08e8f97106fd872b3f5fe0508330f0f7a6b4 ssh-agent 11:56:57 SSH_AUTH_SOCK=/tmp/ssh-a2m3rjPRAJY3/agent.71 11:56:57 SSH_AGENT_PID=77 11:56:57 Running ssh-add (command line suppressed) 11:56:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9806319391082139457.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9806319391082139457.key) 11:56:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:56:58 + git semver init 11:56:58 2024-10-09 11:56:58,542 [run_init] DEBUG init version:0.0.0 force:False 11:56:58 2024-10-09 11:56:58,542 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 11:56:58 2024-10-09 11:56:58,543 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 11:56:58 2024-10-09 11:56:58,543 [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) 11:57:01 2024-10-09 11:57:00,605 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 11:57:01 2024-10-09 11:57:00,606 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 11:57:01 2024-10-09 11:57:00,606 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:57:01 2024-10-09 11:57:00,606 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 11:57:01 3.2.0-dev.45 [Pipeline] } 11:57:01 $ docker exec --env ******** --env ******** 1bfab2b1d29814ba9718232a550d08e8f97106fd872b3f5fe0508330f0f7a6b4 ssh-agent -k 11:57:01 unset SSH_AUTH_SOCK; 11:57:01 unset SSH_AGENT_PID; 11:57:01 echo Agent pid 77 killed; 11:57:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:57:01 + git semver [Pipeline] } 11:57:01 $ docker stop --time=1 1bfab2b1d29814ba9718232a550d08e8f97106fd872b3f5fe0508330f0f7a6b4 11:57:03 $ docker rm -f --volumes 1bfab2b1d29814ba9718232a550d08e8f97106fd872b3f5fe0508330f0f7a6b4 [Pipeline] // withDockerContainer [Pipeline] sh 11:57:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:57:03 Stashed 1 file(s) [Pipeline] echo 11:57:03 [edgeXSemver]: initialized semver on version 3.2.0-dev.45 [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 11:57:04 provisioning config files... 11:57:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config257965810331970684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:57:04 ---> ****-login.sh 11:57:04 nexus3.edgexfoundry.org:10001 11:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:57:04 Configure a credential helper to remove this warning. See 11:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:57:04 11:57:04 Login Succeeded 11:57:04 nexus3.edgexfoundry.org:10002 11:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:57:04 Configure a credential helper to remove this warning. See 11:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:57:04 11:57:04 Login Succeeded 11:57:04 nexus3.edgexfoundry.org:10003 11:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:57:04 Configure a credential helper to remove this warning. See 11:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:57:04 11:57:04 Login Succeeded 11:57:04 nexus3.edgexfoundry.org:10004 11:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:57:04 Configure a credential helper to remove this warning. See 11:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:57:04 11:57:04 Login Succeeded 11:57:04 ****.io 11:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:57:04 Configure a credential helper to remove this warning. See 11:57:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:57:04 11:57:04 Login Succeeded 11:57:04 ---> ****-login.sh ends [Pipeline] } 11:57:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:57:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:57:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:57:05 ========================================================= 11:57:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 11:57:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:57:05 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 11:57:05 Sending build context to Docker daemon 25.42MB 11:57:05 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 11:57:05 Step 2/10 : FROM ${BASE} AS builder 11:57:05 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 11:57:05 43c4264eed91: Pulling fs layer 11:57:05 4cc291be95ef: Pulling fs layer 11:57:05 2ac1f1163629: Pulling fs layer 11:57:05 5c3c966382ef: Pulling fs layer 11:57:05 4f4fb700ef54: Pulling fs layer 11:57:05 5d5c8e513c77: Pulling fs layer 11:57:05 9f66e0745190: Pulling fs layer 11:57:05 f49a43e4bbc0: Pulling fs layer 11:57:05 561ebcabdf7f: Pulling fs layer 11:57:05 f49a43e4bbc0: Waiting 11:57:05 4f4fb700ef54: Waiting 11:57:05 5d5c8e513c77: Waiting 11:57:05 9f66e0745190: Waiting 11:57:05 561ebcabdf7f: Waiting 11:57:05 4cc291be95ef: Download complete 11:57:05 5c3c966382ef: Download complete 11:57:05 4f4fb700ef54: Verifying Checksum 11:57:05 4f4fb700ef54: Download complete 11:57:05 5d5c8e513c77: Verifying Checksum 11:57:05 5d5c8e513c77: Download complete 11:57:05 43c4264eed91: Download complete 11:57:05 9f66e0745190: Verifying Checksum 11:57:05 9f66e0745190: Download complete 11:57:05 43c4264eed91: Pull complete 11:57:05 561ebcabdf7f: Verifying Checksum 11:57:05 561ebcabdf7f: Download complete 11:57:05 4cc291be95ef: Pull complete 11:57:06 2ac1f1163629: Verifying Checksum 11:57:06 2ac1f1163629: Download complete 11:57:06 f49a43e4bbc0: Verifying Checksum 11:57:06 f49a43e4bbc0: Download complete 11:57:09 2ac1f1163629: Pull complete 11:57:09 5c3c966382ef: Pull complete 11:57:09 4f4fb700ef54: Pull complete 11:57:09 5d5c8e513c77: Pull complete 11:57:09 9f66e0745190: Pull complete 11:57:12 f49a43e4bbc0: Pull complete 11:57:12 561ebcabdf7f: Pull complete 11:57:12 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 11:57:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 11:57:12 ---> 3a752c3f9dda 11:57:12 Step 3/10 : ARG MAKE=make build 11:57:17 ---> Running in 2d8674c08e71 11:57:17 Removing intermediate container 2d8674c08e71 11:57:17 ---> cf58070fa463 11:57:17 Step 4/10 : WORKDIR /device-sdk-go 11:57:17 ---> Running in 3caf8b03b438 11:57:17 Removing intermediate container 3caf8b03b438 11:57:17 ---> 17ff885dcc67 11:57:17 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:57:17 ---> Running in cdbbc800d4b2 11:57:17 Removing intermediate container cdbbc800d4b2 11:57:17 ---> 938dc1500f17 11:57:17 Step 6/10 : RUN apk add --update --no-cache make git 11:57:17 ---> Running in cefb0e6054bb 11:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:57:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:57:18 OK: 246 MiB in 54 packages 11:57:18 Removing intermediate container cefb0e6054bb 11:57:18 ---> 1dbadcb6e899 11:57:18 Step 7/10 : COPY go.mod vendor* ./ 11:57:18 ---> 4ce1b7e443be 11:57:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:57:18 ---> Running in 9769b5b8b9cb 11:57:19 Still waiting to schedule task 11:57:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:58:26 Removing intermediate container 9769b5b8b9cb 11:58:26 ---> 55694bb74ee2 11:58:26 Step 9/10 : COPY . . 11:58:26 ---> 0f489dd54399 11:58:26 Step 10/10 : RUN ${MAKE} 11:58:26 ---> Running in 4cb19f8dd71b 11:58:26 noop 11:58:26 Removing intermediate container 4cb19f8dd71b 11:58:26 ---> 76c27044f89c 11:58:26 Successfully built 76c27044f89c 11:58:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:26 + docker inspect -f . ci-base-image-x86_64 11:58:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:58:27 prd-ubuntu20.04-docker-8c-8g-22321 does not seem to be running inside a container 11:58:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:58:27 $ docker top a5347fde2f2150289e3a62eca3ddb13f2390fe5e34b0faaaef579f208ab36eed -eo pid,comm [Pipeline] { [Pipeline] sh 11:58:27 + go version 11:58:27 go version go1.23.2 linux/amd64 [Pipeline] } 11:58:27 $ docker stop --time=1 a5347fde2f2150289e3a62eca3ddb13f2390fe5e34b0faaaef579f208ab36eed 11:58:29 $ docker rm -f --volumes a5347fde2f2150289e3a62eca3ddb13f2390fe5e34b0faaaef579f208ab36eed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:29 + docker inspect -f . ci-base-image-x86_64 11:58:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:58:29 prd-ubuntu20.04-docker-8c-8g-22321 does not seem to be running inside a container 11:58:29 $ 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 ******** ci-base-image-x86_64 cat 11:58:29 $ docker top e149a7677626112dbc57ff95f75764d7faa1232fdfa85dcc84f43f49c90b5119 -eo pid,comm [Pipeline] { [Pipeline] sh 11:58:30 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 11:58:30 + make test 11:58:30 go test -race -coverprofile=coverage.out ./... 11:58:39 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 11:58:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22323 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 11:58:49 Running in /w/workspace/device-sdk-go/320 [Pipeline] { [Pipeline] checkout 11:58:49 The recommended git tool is: git 11:58:54 using credential edgex-jenkins-ssh 11:58:54 Cloning the remote Git repository 11:58:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:58:54 > git init /w/workspace/device-sdk-go/320 # timeout=10 11:58:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:58:54 > git --version # timeout=10 11:58:54 > git --version # 'git version 2.25.1' 11:58:54 using GIT_SSH to set credentials SSH Credentials for GitHub 11:58:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:58:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:58:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:58:59 Avoid second fetch 11:58:59 Checking out Revision f7f74c656f33fe2f31a87c52cf44e870be8830fd (main) 11:58:59 > git config core.sparsecheckout # timeout=10 11:58:59 > git checkout -f f7f74c656f33fe2f31a87c52cf44e870be8830fd # timeout=10 11:59:00 Commit message: "Merge pull request #1637 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.66" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:59:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:59:04 % Total % Received % Xferd Average Speed Time Time Time Current 11:59:04 Dload Upload Total Spent Left Speed 11:59:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 96451 0 --:--:-- --:--:-- --:--:-- 97181 [Pipeline] sh 11:59:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:59:05 + sudo tee /etc/docker/daemon.new 11:59:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:59:05 { 11:59:05 "registry-mirrors": [ 11:59:05 "https://nexus3.edgexfoundry.org:10001" 11:59:05 ], 11:59:05 "bip": "10.250.0.254/24", 11:59:05 "hosts": [ 11:59:05 "tcp://0.0.0.0:5555", 11:59:05 "unix:///var/run/docker.sock" 11:59:05 ], 11:59:05 "mtu": 1458, 11:59:05 "selinux-enabled": true, 11:59:05 "seccomp-profile": "/etc/docker/seccomp.json" 11:59:05 } [Pipeline] sh 11:59:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:59:06 + sudo service docker restart 11:59:19 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 11:59:19 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 11:59:19 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 11:59:19 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 11:59:19 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 11:59:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.032s coverage: 26.0% of statements 11:59:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.042s coverage: 79.4% of statements 11:59:19 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 11:59:19 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 11:59:19 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 11:59:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements 11:59:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 11:59:19 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 11:59:19 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 11:59:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.080s coverage: 45.2% of statements 11:59:21 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 11:59:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.081s coverage: 14.1% of statements 11:59:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.238s coverage: 44.6% of statements 11:59:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.056s coverage: 68.3% of statements 11:59:23 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 88.3% of statements 11:59:23 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.064s coverage: 5.3% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:59:24 provisioning config files... 11:59:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/320@tmp/config573443534409182830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:59:24 ---> ****-login.sh 11:59:24 nexus3.edgexfoundry.org:10001 11:59:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:59:25 Configure a credential helper to remove this warning. See 11:59:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:59:25 11:59:25 Login Succeeded 11:59:25 nexus3.edgexfoundry.org:10002 11:59:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:59:25 Configure a credential helper to remove this warning. See 11:59:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:59:25 11:59:25 Login Succeeded 11:59:25 nexus3.edgexfoundry.org:10003 11:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:59:26 Configure a credential helper to remove this warning. See 11:59:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:59:26 11:59:26 Login Succeeded 11:59:26 nexus3.edgexfoundry.org:10004 11:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:59:26 Configure a credential helper to remove this warning. See 11:59:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:59:26 11:59:26 Login Succeeded 11:59:26 ****.io 11:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:59:26 Configure a credential helper to remove this warning. See 11:59:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:59:26 11:59:26 Login Succeeded 11:59:26 ---> ****-login.sh ends [Pipeline] } 11:59:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:59:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:59:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:59:27 ========================================================= 11:59:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 11:59:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:27 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 11:59:28 Sending build context to Docker daemon 13.16MB 11:59:28 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 11:59:28 Step 2/10 : FROM ${BASE} AS builder 11:59:28 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:59:28 cf04c63912e1: Pulling fs layer 11:59:28 55b35a11ae5e: Pulling fs layer 11:59:28 a37a00ec5f00: Pulling fs layer 11:59:28 50b3750afda1: Pulling fs layer 11:59:28 4f4fb700ef54: Pulling fs layer 11:59:28 80978eb59214: Pulling fs layer 11:59:28 c9f46d7d2bd2: Pulling fs layer 11:59:28 c5a475d317c9: Pulling fs layer 11:59:28 50b3750afda1: Waiting 11:59:28 4f4fb700ef54: Waiting 11:59:28 80978eb59214: Waiting 11:59:28 c9f46d7d2bd2: Waiting 11:59:28 c5a475d317c9: Waiting 11:59:28 55b35a11ae5e: Verifying Checksum 11:59:28 55b35a11ae5e: Download complete 11:59:28 50b3750afda1: Verifying Checksum 11:59:28 50b3750afda1: Download complete 11:59:28 4f4fb700ef54: Verifying Checksum 11:59:28 4f4fb700ef54: Download complete 11:59:28 80978eb59214: Verifying Checksum 11:59:28 80978eb59214: Download complete 11:59:28 cf04c63912e1: Verifying Checksum 11:59:28 cf04c63912e1: Download complete 11:59:29 c5a475d317c9: Verifying Checksum 11:59:29 c5a475d317c9: Download complete 11:59:29 cf04c63912e1: Pull complete 11:59:30 55b35a11ae5e: Pull complete 11:59:30 a37a00ec5f00: Verifying Checksum 11:59:30 a37a00ec5f00: Download complete 11:59:31 c9f46d7d2bd2: Verifying Checksum 11:59:31 c9f46d7d2bd2: Download complete 11:59:46 a37a00ec5f00: Pull complete 11:59:46 50b3750afda1: Pull complete 11:59:46 4f4fb700ef54: Pull complete 11:59:46 80978eb59214: Pull complete 11:59:53 c9f46d7d2bd2: Pull complete 11:59:55 c5a475d317c9: Pull complete 11:59:55 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 11:59:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 11:59:55 ---> be29e6b0f0d4 11:59:55 Step 3/10 : ARG MAKE=make build 11:59:56 ---> Running in 638e5d270aec 11:59:56 Removing intermediate container 638e5d270aec 11:59:56 ---> 7535c8ff57f9 11:59:56 Step 4/10 : WORKDIR /device-sdk-go 11:59:56 ---> Running in 73c7b186fa32 11:59:56 Removing intermediate container 73c7b186fa32 11:59:56 ---> e4ac030fb1bf 11:59:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:59:56 ---> Running in 9f3a5433a665 11:59:57 Removing intermediate container 9f3a5433a665 11:59:57 ---> 0a3631bd2e52 11:59:57 Step 6/10 : RUN apk add --update --no-cache make git 11:59:57 ---> Running in 9ef8da7d2cc9 11:59:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:59:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:59:59 OK: 238 MiB in 54 packages 12:00:00 Removing intermediate container 9ef8da7d2cc9 12:00:00 ---> 56342189d564 12:00:00 Step 7/10 : COPY go.mod vendor* ./ 12:00:01 ---> 49bb4a449ee7 12:00:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:00:01 ---> Running in 43f498dbc725 12:00:01 GO111MODULE=on go vet ./... 12:00:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:00:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:00:02 ./bin/test-attribution-txt.sh [Pipeline] echo 12:00:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:00:02 $ docker stop --time=1 e149a7677626112dbc57ff95f75764d7faa1232fdfa85dcc84f43f49c90b5119 12:00:09 $ docker rm -f --volumes e149a7677626112dbc57ff95f75764d7faa1232fdfa85dcc84f43f49c90b5119 [Pipeline] // withDockerContainer [Pipeline] sh 12:00:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:00:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:00:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:00:11 + ls -al . 12:00:11 total 712 12:00:11 drwxrwxr-x 11 jenkins jenkins 4096 Oct 9 11:58 . 12:00:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 11:56 .. 12:00:11 -rw-rw-r-- 1 jenkins jenkins 140 Oct 9 11:56 .dockerignore 12:00:11 drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 11:59 .git 12:00:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 11:56 .github 12:00:11 -rw-rw-r-- 1 jenkins jenkins 137 Oct 9 11:56 .gitignore 12:00:11 -rw-rw-r-- 1 jenkins jenkins 199 Oct 9 11:56 .golangci.yml 12:00:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 9 11:57 .semver 12:00:11 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 9 11:56 CHANGELOG.md 12:00:11 -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 11:56 GOVERNANCE.md 12:00:11 -rw-rw-r-- 1 jenkins jenkins 885 Oct 9 11:56 Jenkinsfile 12:00:11 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 9 11:56 LICENSE 12:00:11 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 9 11:56 Makefile 12:00:11 -rw-rw-r-- 1 jenkins jenkins 619 Oct 9 11:56 OWNERS.md 12:00:11 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 9 11:56 README.md 12:00:11 -rw-rw-r-- 1 jenkins jenkins 12 Oct 9 11:57 VERSION 12:00:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 11:56 bin 12:00:11 -rw-r--r-- 1 jenkins jenkins 466605 Oct 9 11:59 coverage.out 12:00:11 drwxrwxr-x 5 jenkins jenkins 4096 Oct 9 11:56 example 12:00:11 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 9 11:56 go.mod 12:00:11 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 9 11:56 go.sum 12:00:11 drwxrwxr-x 13 jenkins jenkins 4096 Oct 9 11:56 internal 12:00:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 11:56 openapi 12:00:11 drwxrwxr-x 6 jenkins jenkins 4096 Oct 9 11:56 pkg 12:00:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 11:56 snap 12:00:11 -rw-rw-r-- 1 jenkins jenkins 222 Oct 9 11:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:12 + 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=f7f74c656f33fe2f31a87c52cf44e870be8830fd --label arch=amd64 --label version=3.2.0-dev.45 . 12:00:12 Sending build context to Docker daemon 25.88MB 12:00:12 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 12:00:12 Step 2/24 : FROM ${BASE} AS builder 12:00:12 ---> 76c27044f89c 12:00:12 Step 3/24 : ARG MAKE=make build 12:00:12 ---> Running in f2234c7903fc 12:00:12 Removing intermediate container f2234c7903fc 12:00:12 ---> 27484225f594 12:00:12 Step 4/24 : WORKDIR /device-sdk-go 12:00:12 ---> Running in cd953f182422 12:00:13 Removing intermediate container cd953f182422 12:00:13 ---> 62a20c05fd65 12:00:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:00:13 ---> Running in 24224e69e7a4 12:00:13 Removing intermediate container 24224e69e7a4 12:00:13 ---> bb504151cd84 12:00:13 Step 6/24 : RUN apk add --update --no-cache make git 12:00:13 ---> Running in fe6055ac54f3 12:00:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:00:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:00:13 OK: 246 MiB in 54 packages 12:00:14 Removing intermediate container fe6055ac54f3 12:00:14 ---> a5fea6e6f4a7 12:00:14 Step 7/24 : COPY go.mod vendor* ./ 12:00:14 ---> 889f5c6d71a7 12:00:14 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:00:14 ---> Running in ea8e8ddee954 12:00:15 Removing intermediate container ea8e8ddee954 12:00:15 ---> 037b79d7b808 12:00:15 Step 9/24 : COPY . . 12:00:16 ---> 494ffcd9fead 12:00:16 Step 10/24 : RUN ${MAKE} 12:00:16 ---> Running in e72ff082cc8b 12:00:16 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.45 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.45" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 12:00:55 Removing intermediate container e72ff082cc8b 12:00:55 ---> 0206f6aaa53c 12:00:55 Step 11/24 : FROM alpine:3.20 12:00:55 3.20: Pulling from library/alpine 12:00:55 43c4264eed91: Already exists 12:00:55 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 12:00:55 Status: Downloaded newer image for alpine:3.20 12:00:55 ---> 91ef0af61f39 12:00:55 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 12:00:55 ---> Running in 5c129be51f90 12:00:55 Removing intermediate container 5c129be51f90 12:00:55 ---> a521db55a7ec 12:00:55 Step 13/24 : RUN apk add --update --no-cache dumb-init 12:00:55 ---> Running in 4b0582c77bff 12:00:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:00:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:00:55 (1/1) Installing dumb-init (1.2.5-r3) 12:00:55 Executing busybox-1.36.1-r29.trigger 12:00:55 OK: 8 MiB in 15 packages 12:00:55 Removing intermediate container 4b0582c77bff 12:00:55 ---> ddda1af6ae94 12:00:55 Step 14/24 : RUN apk --no-cache upgrade 12:00:55 ---> Running in cd471045cca9 12:00:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:00:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:00:55 Upgrading critical system libraries and apk-tools: 12:00:55 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 12:00:55 Executing busybox-1.36.1-r29.trigger 12:00:55 Continuing the upgrade transaction with new apk-tools: 12:00:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:00:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:00:55 OK: 8 MiB in 15 packages 12:00:55 Removing intermediate container cd471045cca9 12:00:55 ---> f709f8022881 12:00:55 Step 15/24 : WORKDIR / 12:00:55 ---> Running in 0d3a321a4396 12:00:55 Removing intermediate container 0d3a321a4396 12:00:55 ---> f95adf855f27 12:00:55 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 12:00:56 ---> 1a36497d4726 12:00:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 12:00:58 ---> e65282af11c0 12:00:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 12:00:58 ---> b05794feb8ab 12:00:58 Step 19/24 : EXPOSE 59999 12:00:58 ---> Running in 944d06dd9d2d 12:00:58 Removing intermediate container 944d06dd9d2d 12:00:58 ---> aea83807c4a1 12:00:58 Step 20/24 : ENTRYPOINT ["/device-simple"] 12:00:58 ---> Running in 6addfe870243 12:00:58 Removing intermediate container 6addfe870243 12:00:58 ---> 7a0ad8e8bf8e 12:00:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:00:58 ---> Running in 420ed08930f7 12:00:58 Removing intermediate container 420ed08930f7 12:00:58 ---> 0c94b9db8914 12:00:58 Step 22/24 : LABEL arch=amd64 12:00:58 ---> Running in dd669d70ea01 12:00:58 Removing intermediate container dd669d70ea01 12:00:58 ---> e6d94aa7d35a 12:00:58 Step 23/24 : LABEL git_sha=f7f74c656f33fe2f31a87c52cf44e870be8830fd 12:00:58 ---> Running in f861b8688115 12:00:58 Removing intermediate container f861b8688115 12:00:58 ---> eacb11057631 12:00:58 Step 24/24 : LABEL version=3.2.0-dev.45 12:00:58 ---> Running in ed59ebd4dd6a 12:00:58 Removing intermediate container ed59ebd4dd6a 12:00:58 ---> be6e0cc08a19 12:00:58 [Warning] One or more build-args [ARCH] were not consumed 12:00:58 Successfully built be6e0cc08a19 12:00:58 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 12:00:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:59 12:00:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:01:01 latest: Pulling from edgex-lftools-log-publisher 12:01:01 5eb5b503b376: Pulling fs layer 12:01:01 5c69ac0246d0: Pulling fs layer 12:01:01 ec43610c2a17: Pulling fs layer 12:01:01 3a2ae6a8a46f: Pulling fs layer 12:01:01 33b1e0a273af: Pulling fs layer 12:01:01 5d3b04190fa2: Pulling fs layer 12:01:01 2f39f015ded8: Pulling fs layer 12:01:01 3a2ae6a8a46f: Waiting 12:01:01 33b1e0a273af: Waiting 12:01:01 5d3b04190fa2: Waiting 12:01:01 2f39f015ded8: Waiting 12:01:01 5c69ac0246d0: Verifying Checksum 12:01:01 5c69ac0246d0: Download complete 12:01:01 3a2ae6a8a46f: Verifying Checksum 12:01:01 3a2ae6a8a46f: Download complete 12:01:01 33b1e0a273af: Verifying Checksum 12:01:01 33b1e0a273af: Download complete 12:01:01 ec43610c2a17: Verifying Checksum 12:01:01 ec43610c2a17: Download complete 12:01:01 5d3b04190fa2: Verifying Checksum 12:01:01 5d3b04190fa2: Download complete 12:01:02 5eb5b503b376: Verifying Checksum 12:01:02 5eb5b503b376: Download complete 12:01:02 2f39f015ded8: Verifying Checksum 12:01:02 2f39f015ded8: Download complete 12:01:03 5eb5b503b376: Pull complete 12:01:03 5c69ac0246d0: Pull complete 12:01:03 ec43610c2a17: Pull complete 12:01:03 3a2ae6a8a46f: Pull complete 12:01:04 33b1e0a273af: Pull complete 12:01:04 5d3b04190fa2: Pull complete 12:01:12 2f39f015ded8: Pull complete 12:01:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:01:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:01:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:12 prd-ubuntu20.04-docker-8c-8g-22321 does not seem to be running inside a container 12:01:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:01:12 $ docker top 253d09fbd398d78514e5f197e6ec03d146ef0e9946f36e63caac1161d9dc14f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:13 ---> job-cost.sh 12:01:13 lf-activate-venv: SKIPPING 12:01:13 INFO: No Stack... 12:01:13 INFO: Retrieving Pricing Info for: v3-standard-8 12:01:13 INFO: Archiving Costs [Pipeline] sh 12:01:14 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 12:01:14 + cut -d, -f6 [Pipeline] lock 12:01:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-320-stack-cost] 12:01:14 Resource [jenkins-edgexfoundry-device-sdk-go-main-320-stack-cost] did not exist. Created. 12:01:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-320-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:01:14 + echo total: 0.2199999988079071 [Pipeline] stash 12:01:14 Stashed 1 file(s) [Pipeline] } 12:01:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-320-stack-cost] [Pipeline] // lock [Pipeline] } 12:01:14 $ docker stop --time=1 253d09fbd398d78514e5f197e6ec03d146ef0e9946f36e63caac1161d9dc14f6 12:01:15 $ docker rm -f --volumes 253d09fbd398d78514e5f197e6ec03d146ef0e9946f36e63caac1161d9dc14f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:01:53 Removing intermediate container 43f498dbc725 12:01:53 ---> e7790f1e0cea 12:01:53 Step 9/10 : COPY . . 12:01:53 ---> 3ebb00af9950 12:01:53 Step 10/10 : RUN ${MAKE} 12:01:53 ---> Running in adbbfbced1b2 12:01:53 noop 12:01:53 Removing intermediate container adbbfbced1b2 12:01:53 ---> 0feabd76c4f5 12:01:53 Successfully built 0feabd76c4f5 12:01:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:53 + docker inspect -f . ci-base-image-arm64 12:01:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:53 prd-ubuntu20.04-docker-arm64-4c-16g-22323 does not seem to be running inside a container 12:01:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/320 -v /w/workspace/device-sdk-go/320:/w/workspace/device-sdk-go/320:rw,z -v /w/workspace/device-sdk-go/320@tmp:/w/workspace/device-sdk-go/320@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 12:01:55 $ docker top 2a0a8316f0c126592dd4b05eb1c08c052b1a7abb8ab6119a6a0ad900b6039a85 -eo pid,comm [Pipeline] { [Pipeline] sh 12:01:56 + go version 12:01:56 go version go1.23.2 linux/arm64 [Pipeline] } 12:01:56 $ docker stop --time=1 2a0a8316f0c126592dd4b05eb1c08c052b1a7abb8ab6119a6a0ad900b6039a85 12:01:57 $ docker rm -f --volumes 2a0a8316f0c126592dd4b05eb1c08c052b1a7abb8ab6119a6a0ad900b6039a85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:58 + docker inspect -f . ci-base-image-arm64 12:01:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:58 prd-ubuntu20.04-docker-arm64-4c-16g-22323 does not seem to be running inside a container 12:01:58 $ 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/320 -v /w/workspace/device-sdk-go/320:/w/workspace/device-sdk-go/320:rw,z -v /w/workspace/device-sdk-go/320@tmp:/w/workspace/device-sdk-go/320@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 12:02:00 $ docker top d7879164b05198a46d042b05daa1ff67828053199ef6d7fbec2d1dc640cf214a -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:00 + git config --global --add safe.directory /w/workspace/device-sdk-go/320 [Pipeline] fileExists [Pipeline] sh 12:02:01 + make test 12:02:01 go test -race -coverprofile=coverage.out ./... 12:02:48 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 12:06:25 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 12:06:25 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 12:06:25 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 12:06:25 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 12:06:25 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 12:06:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.157s coverage: 26.0% of statements 12:06:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.168s coverage: 79.4% of statements 12:06:49 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 12:06:49 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 12:06:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.262s coverage: 86.0% of statements 12:06:56 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 12:06:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.627s coverage: 45.2% of statements 12:07:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.373s coverage: 14.1% of statements 12:07:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 5.343s coverage: 44.6% of statements 12:07:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 12:07:04 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 12:07:04 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 12:07:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.373s coverage: 68.3% of statements 12:07:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.352s coverage: 88.3% of statements 12:07:16 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 12:07:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.287s coverage: 5.3% of statements 12:07:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:07:18 GO111MODULE=on go vet ./... 12:11:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:11:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:11:10 ./bin/test-attribution-txt.sh [Pipeline] echo 12:11:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:11:10 $ docker stop --time=1 d7879164b05198a46d042b05daa1ff67828053199ef6d7fbec2d1dc640cf214a 12:11:12 $ docker rm -f --volumes d7879164b05198a46d042b05daa1ff67828053199ef6d7fbec2d1dc640cf214a [Pipeline] // withDockerContainer [Pipeline] sh 12:11:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:11:14 Warning: overwriting stash ‘coverage-report’ 12:11:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:11:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:11:16 + ls -al . 12:11:16 total 708 12:11:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 9 12:02 . 12:11:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 11:58 .. 12:11:16 -rw-rw-r-- 1 jenkins jenkins 140 Oct 9 11:58 .dockerignore 12:11:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 11:59 .git 12:11:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 11:58 .github 12:11:16 -rw-rw-r-- 1 jenkins jenkins 137 Oct 9 11:58 .gitignore 12:11:16 -rw-rw-r-- 1 jenkins jenkins 199 Oct 9 11:58 .golangci.yml 12:11:16 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 9 11:58 CHANGELOG.md 12:11:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 11:58 GOVERNANCE.md 12:11:16 -rw-rw-r-- 1 jenkins jenkins 885 Oct 9 11:58 Jenkinsfile 12:11:16 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 9 11:58 LICENSE 12:11:16 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 9 11:58 Makefile 12:11:16 -rw-rw-r-- 1 jenkins jenkins 619 Oct 9 11:58 OWNERS.md 12:11:16 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 9 11:58 README.md 12:11:16 -rw-rw-r-- 1 jenkins jenkins 12 Oct 9 11:57 VERSION 12:11:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 11:58 bin 12:11:16 -rw-r--r-- 1 jenkins jenkins 466604 Oct 9 12:07 coverage.out 12:11:16 drwxrwxr-x 5 jenkins jenkins 4096 Oct 9 11:58 example 12:11:16 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 9 11:58 go.mod 12:11:16 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 9 11:58 go.sum 12:11:16 drwxrwxr-x 13 jenkins jenkins 4096 Oct 9 11:58 internal 12:11:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 11:58 openapi 12:11:16 drwxrwxr-x 6 jenkins jenkins 4096 Oct 9 11:58 pkg 12:11:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 11:58 snap 12:11:16 -rw-rw-r-- 1 jenkins jenkins 222 Oct 9 11:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:16 + 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=f7f74c656f33fe2f31a87c52cf44e870be8830fd --label arch=arm64 --label version=3.2.0-dev.45 . 12:11:17 Sending build context to Docker daemon 13.63MB 12:11:17 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 12:11:17 Step 2/24 : FROM ${BASE} AS builder 12:11:17 ---> 0feabd76c4f5 12:11:17 Step 3/24 : ARG MAKE=make build 12:11:17 ---> Running in 2a4a719cfdda 12:11:18 Removing intermediate container 2a4a719cfdda 12:11:18 ---> b4b2cdb4cc0a 12:11:18 Step 4/24 : WORKDIR /device-sdk-go 12:11:18 ---> Running in 2b8d9c271433 12:11:18 Removing intermediate container 2b8d9c271433 12:11:18 ---> 2c1be981a7e5 12:11:18 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:11:18 ---> Running in bd66f8591467 12:11:18 Removing intermediate container bd66f8591467 12:11:18 ---> 54241ca500b2 12:11:18 Step 6/24 : RUN apk add --update --no-cache make git 12:11:18 ---> Running in e9b3ac541f20 12:11:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:11:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:11:21 OK: 238 MiB in 54 packages 12:11:22 Removing intermediate container e9b3ac541f20 12:11:22 ---> 3ff7def6a823 12:11:22 Step 7/24 : COPY go.mod vendor* ./ 12:11:22 ---> 42235d2073fe 12:11:22 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:11:22 ---> Running in c42f6a724b82 12:11:24 Removing intermediate container c42f6a724b82 12:11:24 ---> dbaccb97064c 12:11:24 Step 9/24 : COPY . . 12:11:26 ---> 70de8975d8a8 12:11:26 Step 10/24 : RUN ${MAKE} 12:11:26 ---> Running in 4e39c57da933 12:11:27 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.45 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.45" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 12:15:03 Removing intermediate container 4e39c57da933 12:15:03 ---> 05503a8236c6 12:15:03 Step 11/24 : FROM alpine:3.20 12:15:03 3.20: Pulling from library/alpine 12:15:03 cf04c63912e1: Already exists 12:15:03 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 12:15:03 Status: Downloaded newer image for alpine:3.20 12:15:03 ---> c157a85ed455 12:15:03 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 12:15:04 ---> Running in 2d83bd22f5e6 12:15:04 Removing intermediate container 2d83bd22f5e6 12:15:04 ---> d2b434da9e53 12:15:04 Step 13/24 : RUN apk add --update --no-cache dumb-init 12:15:04 ---> Running in 514e1fe75fb9 12:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:15:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:15:07 (1/1) Installing dumb-init (1.2.5-r3) 12:15:07 Executing busybox-1.36.1-r29.trigger 12:15:07 OK: 9 MiB in 15 packages 12:15:07 Removing intermediate container 514e1fe75fb9 12:15:07 ---> efd0707ef627 12:15:07 Step 14/24 : RUN apk --no-cache upgrade 12:15:07 ---> Running in 65ab9424a132 12:15:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:15:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:15:10 Upgrading critical system libraries and apk-tools: 12:15:10 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 12:15:10 Executing busybox-1.36.1-r29.trigger 12:15:10 Continuing the upgrade transaction with new apk-tools: 12:15:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:15:13 OK: 9 MiB in 15 packages 12:15:13 Removing intermediate container 65ab9424a132 12:15:13 ---> 37dcff41bd0a 12:15:13 Step 15/24 : WORKDIR / 12:15:13 ---> Running in 2a91a0dcfd94 12:15:14 Removing intermediate container 2a91a0dcfd94 12:15:14 ---> 33b80538867d 12:15:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 12:15:14 ---> 80f06f55a709 12:15:14 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 12:15:17 ---> 43ba7f4822ff 12:15:17 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 12:15:17 ---> 4b629d3a16e5 12:15:17 Step 19/24 : EXPOSE 59999 12:15:17 ---> Running in 40a309d56db1 12:15:17 Removing intermediate container 40a309d56db1 12:15:17 ---> 15b1681c5a52 12:15:17 Step 20/24 : ENTRYPOINT ["/device-simple"] 12:15:17 ---> Running in b185c01a6f54 12:15:18 Removing intermediate container b185c01a6f54 12:15:18 ---> fe8da7f59ef9 12:15:18 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:15:18 ---> Running in 698e37f370ce 12:15:18 Removing intermediate container 698e37f370ce 12:15:18 ---> 32f3817c67a4 12:15:18 Step 22/24 : LABEL arch=arm64 12:15:18 ---> Running in 8eff753c25b6 12:15:19 Removing intermediate container 8eff753c25b6 12:15:19 ---> 9e01abfb49fe 12:15:19 Step 23/24 : LABEL git_sha=f7f74c656f33fe2f31a87c52cf44e870be8830fd 12:15:19 ---> Running in 6b2d5531f605 12:15:19 Removing intermediate container 6b2d5531f605 12:15:19 ---> b89f5fb29db8 12:15:19 Step 24/24 : LABEL version=3.2.0-dev.45 12:15:19 ---> Running in 75f309fc7ee4 12:15:19 Removing intermediate container 75f309fc7ee4 12:15:19 ---> 8a97b425dcc2 12:15:19 [Warning] One or more build-args [ARCH] were not consumed 12:15:19 Successfully built 8a97b425dcc2 12:15:19 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 12:15:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:15:20 12:15:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:15:20 arm64: Pulling from edgex-lftools-log-publisher 12:15:20 8998bd30e6a1: Pulling fs layer 12:15:20 04944245beec: Pulling fs layer 12:15:20 699f458cf7ca: Pulling fs layer 12:15:20 765212b225bb: Pulling fs layer 12:15:20 f23df028b6ca: Pulling fs layer 12:15:20 d65c8cfc05b1: Pulling fs layer 12:15:20 2437ff75d9bd: Pulling fs layer 12:15:20 f23df028b6ca: Waiting 12:15:20 765212b225bb: Waiting 12:15:20 d65c8cfc05b1: Waiting 12:15:20 2437ff75d9bd: Waiting 12:15:20 04944245beec: Verifying Checksum 12:15:20 04944245beec: Download complete 12:15:20 765212b225bb: Download complete 12:15:20 f23df028b6ca: Verifying Checksum 12:15:20 f23df028b6ca: Download complete 12:15:20 d65c8cfc05b1: Verifying Checksum 12:15:20 d65c8cfc05b1: Download complete 12:15:21 699f458cf7ca: Verifying Checksum 12:15:21 699f458cf7ca: Download complete 12:15:21 8998bd30e6a1: Download complete 12:15:24 2437ff75d9bd: Verifying Checksum 12:15:24 2437ff75d9bd: Download complete 12:15:26 8998bd30e6a1: Pull complete 12:15:26 04944245beec: Pull complete 12:15:28 699f458cf7ca: Pull complete 12:15:28 765212b225bb: Pull complete 12:15:29 f23df028b6ca: Pull complete 12:15:29 d65c8cfc05b1: Pull complete 12:15:47 2437ff75d9bd: Pull complete 12:15:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:15:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:15:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:47 prd-ubuntu20.04-docker-arm64-4c-16g-22323 does not seem to be running inside a container 12:15:48 $ 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/320 -v /w/workspace/device-sdk-go/320:/w/workspace/device-sdk-go/320:rw,z -v /w/workspace/device-sdk-go/320@tmp:/w/workspace/device-sdk-go/320@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 12:15:50 $ docker top 04da84bf803aa6d847b45b964591879479736d13f0fb6319bb5ae0f8e275e86b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:15:51 ---> job-cost.sh 12:15:51 lf-activate-venv: SKIPPING 12:15:51 INFO: No Stack... 12:15:52 INFO: Retrieving Pricing Info for: v3-standard-4 12:15:52 INFO: Archiving Costs [Pipeline] sh 12:15:53 + cat /w/workspace/device-sdk-go/320/archives/cost.csv 12:15:53 + cut -d, -f6 [Pipeline] lock 12:15:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-320-stack-cost] 12:15:53 Resource [jenkins-edgexfoundry-device-sdk-go-main-320-stack-cost] did not exist. Created. 12:15:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-320-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:15:53 /w/workspace/device-sdk-go/320@tmp/durable-d0ae7e8b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:15:54 + echo total: 0.10999999940395355 [Pipeline] stash 12:15:54 Warning: overwriting stash ‘stack-cost’ 12:15:54 Stashed 1 file(s) [Pipeline] } 12:15:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-320-stack-cost] [Pipeline] // lock [Pipeline] } 12:15:54 $ docker stop --time=1 04da84bf803aa6d847b45b964591879479736d13f0fb6319bb5ae0f8e275e86b 12:15:56 $ docker rm -f --volumes 04da84bf803aa6d847b45b964591879479736d13f0fb6319bb5ae0f8e275e86b [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 12:15:56 provisioning config files... 12:15:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11408714229195899680tmp [Pipeline] { [Pipeline] sh 12:15:56 + set +x 12:15:56 + curl -s https://codecov.io/bash 12:15:56 + bash -s -- 12:15:56 12:15:56 _____ _ 12:15:56 / ____| | | 12:15:56 | | ___ __| | ___ ___ _____ __ 12:15:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:15:56 | |___| (_) | (_| | __/ (_| (_) \ V / 12:15:56 \_____\___/ \__,_|\___|\___\___/ \_/ 12:15:56 Bash-1.0.6 12:15:56 12:15:56 12:15:56 ==> git version 2.25.1 found 12:15:56 ==> 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 12:15:56 Release-Date: 2020-01-08 12:15:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:15:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:15:56 ==> Jenkins CI detected. 12:15:56 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 12:15:56 project root: . 12:15:56 --> token set from env 12:15:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:15:57 ==> Running gcov in . (disable via -X gcov) 12:15:57 ==> Python coveragepy not found 12:15:57 ==> Searching for coverage reports in: 12:15:57 + . 12:15:57 -> Found 1 reports 12:15:57 ==> Detecting git/mercurial file structure 12:15:57 ==> Reading reports 12:15:57 + ./coverage.out bytes=466604 12:15:57 ==> Appending adjustments 12:15:57 https://docs.codecov.io/docs/fixing-reports 12:15:57 + Found adjustments 12:15:57 ==> Gzipping contents 12:15:57 44K /tmp/codecov.Yr5In5.gz 12:15:57 ==> Uploading reports 12:15:57 url: https://codecov.io 12:15:57 query: branch=main&commit=f7f74c656f33fe2f31a87c52cf44e870be8830fd&build=320&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F320%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:15:57 -> Pinging Codecov 12:15:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=f7f74c656f33fe2f31a87c52cf44e870be8830fd&build=320&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F320%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:15:57 -> Uploading to 12:15:57 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/f7f74c656f33fe2f31a87c52cf44e870be8830fd/415a0ee7-0539-423a-98a9-585fb2be770f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241009%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241009T121557Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b5dc03693f880b83210d2515d611cd621a9f45afa63a81d82ae4db2017a49403 12:15:57 % Total % Received % Xferd Average Speed Time Time Time Current 12:15:57 Dload Upload Total Spent Left Speed 12:15:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44657 0 0 100 44657 0 186k --:--:-- --:--:-- --:--:-- 186k 12:15:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f7f74c656f33fe2f31a87c52cf44e870be8830fd [Pipeline] } 12:15:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:15:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:15:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:15:58 12:15:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:15:58 latest: Pulling from edgex-devops/edgex-snyk-go 12:15:58 43c4264eed91: Already exists 12:15:58 4cc291be95ef: Already exists 12:15:58 2ac1f1163629: Already exists 12:15:58 5c3c966382ef: Already exists 12:15:58 4f4fb700ef54: Already exists 12:15:58 d9c7d2e4e75e: Pulling fs layer 12:15:58 9c3e1370e548: Pulling fs layer 12:15:59 d9c7d2e4e75e: Verifying Checksum 12:15:59 d9c7d2e4e75e: Download complete 12:15:59 d9c7d2e4e75e: Pull complete 12:15:59 9c3e1370e548: Verifying Checksum 12:15:59 9c3e1370e548: Download complete 12:16:02 9c3e1370e548: Pull complete 12:16:02 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 12:16:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:16:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:16:03 prd-ubuntu20.04-docker-8c-8g-22321 does not seem to be running inside a container 12:16:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 12:16:05 $ docker top cbc593a4a675e9724f038f675430846ef0f2d8a1f8d6bed972e5117a2e4a9506 -eo pid,comm [Pipeline] { [Pipeline] sh 12:16:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 12:16:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 12:16:06 + set -o pipefail 12:16:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 12:16:14 12:16:14 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 12:16:14 12:16:14 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/691c23ed-225d-431b-a018-6cb13347d993 12:16:14 12:16:14 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:16:14 12:16:14 12:16:14 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 12:16:14 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 12:16:14 $ docker stop --time=1 cbc593a4a675e9724f038f675430846ef0f2d8a1f8d6bed972e5117a2e4a9506 12:16:19 $ docker rm -f --volumes cbc593a4a675e9724f038f675430846ef0f2d8a1f8d6bed972e5117a2e4a9506 [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 12:16:19 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:16:19 provisioning config files... 12:16:19 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9458602031475893002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:16:20 --> edgex-publish-swagger.sh 12:16:20 === Publish openapi/v3 API === 12:16:20 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 12:16:20 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 12:16:20 % Total % Received % Xferd Average Speed Time Time Time Current 12:16:20 Dload Upload Total Spent Left Speed 12:16:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 37674 100 156 100 37518 411 98992 --:--:-- --:--:-- --:--:-- 99403 12:16:20 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 12:16:20 [Pipeline] } 12:16:20 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 12:16:20 + git log --format=format:%s -1 f7f74c656f33fe2f31a87c52cf44e870be8830fd [Pipeline] sh 12:16:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:16:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:16:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:16:21 prd-ubuntu20.04-docker-8c-8g-22321 does not seem to be running inside a container 12:16:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:16:21 $ docker top 5aa0e7aab526a336c78dda29ad29e265bddb6498e93339b9804983eea8b7e889 -eo pid,comm 12:16:22 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). 12:16:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:16:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:16:22 [ssh-agent] Looking for ssh-agent implementation... 12:16:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:16:22 $ docker exec 5aa0e7aab526a336c78dda29ad29e265bddb6498e93339b9804983eea8b7e889 ssh-agent 12:16:22 SSH_AUTH_SOCK=/tmp/ssh-cGcWzIHLF1BT/agent.34 12:16:22 SSH_AGENT_PID=40 12:16:22 Running ssh-add (command line suppressed) 12:16:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3994891611684862549.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3994891611684862549.key) 12:16:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:16:22 + git semver tag 12:16:22 2024-10-09 12:16:22,893 [run_tag] DEBUG tag force:False 12:16:22 2024-10-09 12:16:22,893 [check_head_tag] DEBUG check head tag 12:16:22 2024-10-09 12:16:22,894 [execute] INFO git cat-file --batch-check 12:16:22 2024-10-09 12:16:22,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 12:16:22 2024-10-09 12:16:22,898 [execute] INFO git cat-file --batch 12:16:22 2024-10-09 12:16:22,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 12:16:22 2024-10-09 12:16:22,931 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 12:16:22 2024-10-09 12:16:22,932 [execute] INFO git tag -a v3.2.0-dev.45 -m v3.2.0-dev.45 12:16:22 2024-10-09 12:16:22,932 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.45', '-m', 'v3.2.0-dev.45'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 12:16:22 2024-10-09 12:16:22,937 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 12:16:22 3.2.0-dev.45 [Pipeline] } 12:16:22 $ docker exec --env ******** --env ******** 5aa0e7aab526a336c78dda29ad29e265bddb6498e93339b9804983eea8b7e889 ssh-agent -k 12:16:23 unset SSH_AUTH_SOCK; 12:16:23 unset SSH_AGENT_PID; 12:16:23 echo Agent pid 40 killed; 12:16:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:16:23 + git semver [Pipeline] } 12:16:23 $ docker stop --time=1 5aa0e7aab526a336c78dda29ad29e265bddb6498e93339b9804983eea8b7e889 12:16:24 $ docker rm -f --volumes 5aa0e7aab526a336c78dda29ad29e265bddb6498e93339b9804983eea8b7e889 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:16:25 12:16:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:16:25 0.23.1-centos7: Pulling from edgex-lftools 12:16:25 ab5ef0e58194: Pulling fs layer 12:16:25 9712f1f96733: Pulling fs layer 12:16:25 63f879dbbcfc: Pulling fs layer 12:16:25 0d9ebad4ef96: Pulling fs layer 12:16:25 e9a5061849ea: Pulling fs layer 12:16:25 d747dcd14b5f: Pulling fs layer 12:16:25 2de7ff778b66: Pulling fs layer 12:16:25 e9a5061849ea: Waiting 12:16:25 0d9ebad4ef96: Waiting 12:16:25 2de7ff778b66: Waiting 12:16:25 9712f1f96733: Verifying Checksum 12:16:25 9712f1f96733: Download complete 12:16:25 63f879dbbcfc: Verifying Checksum 12:16:25 63f879dbbcfc: Download complete 12:16:25 e9a5061849ea: Verifying Checksum 12:16:25 e9a5061849ea: Download complete 12:16:25 d747dcd14b5f: Verifying Checksum 12:16:25 d747dcd14b5f: Download complete 12:16:26 0d9ebad4ef96: Verifying Checksum 12:16:26 0d9ebad4ef96: Download complete 12:16:26 ab5ef0e58194: Verifying Checksum 12:16:26 ab5ef0e58194: Download complete 12:16:26 2de7ff778b66: Verifying Checksum 12:16:26 2de7ff778b66: Download complete 12:16:28 ab5ef0e58194: Pull complete 12:16:28 9712f1f96733: Pull complete 12:16:29 63f879dbbcfc: Pull complete 12:16:33 0d9ebad4ef96: Pull complete 12:16:33 e9a5061849ea: Pull complete 12:16:33 d747dcd14b5f: Pull complete 12:16:34 2de7ff778b66: Pull complete 12:16:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:16:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:16:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:16:34 prd-ubuntu20.04-docker-8c-8g-22321 does not seem to be running inside a container 12:16:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:16:40 $ docker top 0929d92fc4c804f09eccd862a47d30ebf26f83d2e1dfe97d6eece7bbc0ec87e3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:16:40 provisioning config files... 12:16:40 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14588326113466285366tmp 12:16:40 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11303972529472010451tmp 12:16:40 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config714855246184843319tmp [Pipeline] { [Pipeline] echo 12:16:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:16:40 ---> sigul-configuration.sh 12:16:40 gpg: directory `/root/.gnupg' created 12:16:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:16:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:16:40 gpg: keyring `/root/.gnupg/secring.gpg' created 12:16:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:16:40 gpg: CAST5 encrypted data 12:16:40 gpg: encrypted with 1 passphrase 12:16:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:16:41 + mkdir /home/jenkins 12:16:41 + mkdir /home/jenkins/sigul [Pipeline] sh 12:16:41 + 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 12:16:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:16:41 ---> sigul-install.sh 12:16:41 Sigul already installed; skipping installation. [Pipeline] sh 12:16:41 + git tag --list 12:16:41 0.7.1 12:16:41 delhi-tag 12:16:41 v1.0.0 12:16:41 v1.1.0 12:16:41 v1.1.1 12:16:41 v1.1.2 12:16:41 v1.2.0 12:16:41 v1.2.1 12:16:41 v1.2.2 12:16:41 v1.2.3 12:16:41 v1.3.0 12:16:41 v1.4.0 12:16:41 v2.0.0 12:16:41 v2.1.0 12:16:41 v2.1.1 12:16:41 v2.2.0 12:16:41 v2.3.0 12:16:41 v2.3.1 12:16:41 v3.0 12:16:41 v3.0.0 12:16:41 v3.0.1-dev.1 12:16:41 v3.1 12:16:41 v3.1.0 12:16:41 v3.1.0-dev.1 12:16:41 v3.1.0-dev.10 12:16:41 v3.1.0-dev.11 12:16:41 v3.1.0-dev.12 12:16:41 v3.1.0-dev.13 12:16:41 v3.1.0-dev.14 12:16:41 v3.1.0-dev.15 12:16:41 v3.1.0-dev.16 12:16:41 v3.1.0-dev.17 12:16:41 v3.1.0-dev.18 12:16:41 v3.1.0-dev.19 12:16:41 v3.1.0-dev.2 12:16:41 v3.1.0-dev.20 12:16:41 v3.1.0-dev.21 12:16:41 v3.1.0-dev.22 12:16:41 v3.1.0-dev.23 12:16:41 v3.1.0-dev.24 12:16:41 v3.1.0-dev.25 12:16:41 v3.1.0-dev.26 12:16:41 v3.1.0-dev.27 12:16:41 v3.1.0-dev.28 12:16:41 v3.1.0-dev.29 12:16:41 v3.1.0-dev.3 12:16:41 v3.1.0-dev.30 12:16:41 v3.1.0-dev.31 12:16:41 v3.1.0-dev.32 12:16:41 v3.1.0-dev.33 12:16:41 v3.1.0-dev.34 12:16:41 v3.1.0-dev.35 12:16:41 v3.1.0-dev.36 12:16:41 v3.1.0-dev.37 12:16:41 v3.1.0-dev.38 12:16:41 v3.1.0-dev.39 12:16:41 v3.1.0-dev.4 12:16:41 v3.1.0-dev.40 12:16:41 v3.1.0-dev.41 12:16:41 v3.1.0-dev.5 12:16:41 v3.1.0-dev.6 12:16:41 v3.1.0-dev.7 12:16:41 v3.1.0-dev.8 12:16:41 v3.1.0-dev.9 12:16:41 v3.1.1 12:16:41 v3.1.1-dev.1 12:16:41 v3.2.0-dev.1 12:16:41 v3.2.0-dev.10 12:16:41 v3.2.0-dev.11 12:16:41 v3.2.0-dev.12 12:16:41 v3.2.0-dev.13 12:16:41 v3.2.0-dev.14 12:16:41 v3.2.0-dev.15 12:16:41 v3.2.0-dev.16 12:16:41 v3.2.0-dev.17 12:16:41 v3.2.0-dev.18 12:16:41 v3.2.0-dev.19 12:16:41 v3.2.0-dev.2 12:16:41 v3.2.0-dev.20 12:16:41 v3.2.0-dev.21 12:16:41 v3.2.0-dev.22 12:16:41 v3.2.0-dev.23 12:16:41 v3.2.0-dev.24 12:16:41 v3.2.0-dev.25 12:16:41 v3.2.0-dev.26 12:16:41 v3.2.0-dev.27 12:16:41 v3.2.0-dev.28 12:16:41 v3.2.0-dev.29 12:16:41 v3.2.0-dev.3 12:16:41 v3.2.0-dev.30 12:16:41 v3.2.0-dev.31 12:16:41 v3.2.0-dev.32 12:16:41 v3.2.0-dev.33 12:16:41 v3.2.0-dev.34 12:16:41 v3.2.0-dev.35 12:16:41 v3.2.0-dev.36 12:16:41 v3.2.0-dev.37 12:16:41 v3.2.0-dev.38 12:16:41 v3.2.0-dev.39 12:16:41 v3.2.0-dev.4 12:16:41 v3.2.0-dev.40 12:16:41 v3.2.0-dev.41 12:16:41 v3.2.0-dev.42 12:16:41 v3.2.0-dev.43 12:16:41 v3.2.0-dev.44 12:16:41 v3.2.0-dev.45 12:16:41 v3.2.0-dev.5 12:16:41 v3.2.0-dev.6 12:16:41 v3.2.0-dev.7 12:16:41 v3.2.0-dev.8 12:16:41 v3.2.0-dev.9 [Pipeline] sh 12:16:42 + lftools sign git-tag v3.2.0-dev.45 12:16:42 Signing Git tag with Sigul... 12:16:42 Signing v3.2.0-dev.45 [Pipeline] echo 12:16:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:16:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:16:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:16:43 $ docker stop --time=1 0929d92fc4c804f09eccd862a47d30ebf26f83d2e1dfe97d6eece7bbc0ec87e3 12:16:44 $ docker rm -f --volumes 0929d92fc4c804f09eccd862a47d30ebf26f83d2e1dfe97d6eece7bbc0ec87e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:16:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:16:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:16:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:16:45 prd-ubuntu20.04-docker-8c-8g-22321 does not seem to be running inside a container 12:16:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:16:45 $ docker top bb984bbe9e4ec37743dcaef5f563e6454593826eb5a70bcd2fc227d373332905 -eo pid,comm 12:16:46 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). 12:16:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:16:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:16:46 [ssh-agent] Looking for ssh-agent implementation... 12:16:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:16:46 $ docker exec bb984bbe9e4ec37743dcaef5f563e6454593826eb5a70bcd2fc227d373332905 ssh-agent 12:16:46 SSH_AUTH_SOCK=/tmp/ssh-3WF76PZPx9VV/agent.32 12:16:46 SSH_AGENT_PID=38 12:16:46 Running ssh-add (command line suppressed) 12:16:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12438485447341857359.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12438485447341857359.key) 12:16:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:16:46 + git semver bump pre 12:16:46 2024-10-09 12:16:46,880 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 12:16:46 2024-10-09 12:16:46,880 [bump_version] DEBUG bumping version:3.2.0-dev.45 on axis:pre with prefix:dev 12:16:46 2024-10-09 12:16:46,880 [bump_version] DEBUG bumped version:3.2.0-dev.46 12:16:46 2024-10-09 12:16:46,880 [write_version] DEBUG write version:3.2.0-dev.46 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 12:16:46 2024-10-09 12:16:46,880 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 12:16:46 2024-10-09 12:16:46,880 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 12:16:46 2024-10-09 12:16:46,882 [execute] INFO git cat-file --batch-check 12:16:46 2024-10-09 12:16:46,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:16:46 2024-10-09 12:16:46,887 [execute] INFO git cat-file --batch 12:16:46 2024-10-09 12:16:46,887 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:16:46 2024-10-09 12:16:46,891 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 12:16:46 3.2.0-dev.46 [Pipeline] } 12:16:46 $ docker exec --env ******** --env ******** bb984bbe9e4ec37743dcaef5f563e6454593826eb5a70bcd2fc227d373332905 ssh-agent -k 12:16:47 unset SSH_AUTH_SOCK; 12:16:47 unset SSH_AGENT_PID; 12:16:47 echo Agent pid 38 killed; 12:16:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:16:47 + git semver [Pipeline] } 12:16:47 $ docker stop --time=1 bb984bbe9e4ec37743dcaef5f563e6454593826eb5a70bcd2fc227d373332905 12:16:48 $ docker rm -f --volumes bb984bbe9e4ec37743dcaef5f563e6454593826eb5a70bcd2fc227d373332905 [Pipeline] // withDockerContainer [Pipeline] sh 12:16:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:16:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:16:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:16:49 prd-ubuntu20.04-docker-8c-8g-22321 does not seem to be running inside a container 12:16:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:16:50 $ docker top 3b4b56d77b4102840b6ada55706834953f4db9ef396feeed45ecae5197f48509 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:16:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:16:50 [ssh-agent] Looking for ssh-agent implementation... 12:16:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:16:50 $ docker exec 3b4b56d77b4102840b6ada55706834953f4db9ef396feeed45ecae5197f48509 ssh-agent 12:16:50 SSH_AUTH_SOCK=/tmp/ssh-5R1MF4SE6QJM/agent.32 12:16:50 SSH_AGENT_PID=38 12:16:50 Running ssh-add (command line suppressed) 12:16:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7910738557624413364.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7910738557624413364.key) 12:16:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:16:50 + git semver push 12:16:51 2024-10-09 12:16:50,982 [run_push] DEBUG push 12:16:51 2024-10-09 12:16:50,983 [execute] INFO git cat-file --batch-check 12:16:51 2024-10-09 12:16:50,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:16:51 2024-10-09 12:16:50,989 [execute] INFO git rev-list 43604a2f49a842980a323cf0802598bc001b3bba -- 12:16:51 2024-10-09 12:16:50,989 [execute] DEBUG Popen(['git', 'rev-list', '43604a2f49a842980a323cf0802598bc001b3bba', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:16:51 2024-10-09 12:16:51,003 [execute] INFO git fetch -v origin 12:16:51 2024-10-09 12:16:51,003 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 12:16:51 2024-10-09 12:16:51,469 [run_push] DEBUG no remote changes detected 12:16:51 2024-10-09 12:16:51,469 [execute] INFO git push origin semver 12:16:51 2024-10-09 12:16:51,470 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:16:52 2024-10-09 12:16:52,291 [run_push] DEBUG push all version tags 12:16:52 2024-10-09 12:16:52,292 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:16:52 2024-10-09 12:16:52,292 [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) 12:16:53 2024-10-09 12:16:53,038 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 12:16:53 3.2.0-dev.46 [Pipeline] } 12:16:53 $ docker exec --env ******** --env ******** 3b4b56d77b4102840b6ada55706834953f4db9ef396feeed45ecae5197f48509 ssh-agent -k 12:16:53 unset SSH_AUTH_SOCK; 12:16:53 unset SSH_AGENT_PID; 12:16:53 echo Agent pid 38 killed; 12:16:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:16:53 + git semver [Pipeline] } 12:16:53 $ docker stop --time=1 3b4b56d77b4102840b6ada55706834953f4db9ef396feeed45ecae5197f48509 12:16:55 $ docker rm -f --volumes 3b4b56d77b4102840b6ada55706834953f4db9ef396feeed45ecae5197f48509 [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 12:16:55 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 12:16:55 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 12:16:55 total 16 12:16:55 drwxr-xr-x 3 root root 4096 Oct 9 12:01 . 12:16:55 drwxrwxr-x 12 jenkins jenkins 4096 Oct 9 12:16 .. 12:16:55 drwxr-xr-x 2 root root 4096 Oct 9 12:01 cost 12:16:55 -rw-r--r-- 1 root root 85 Oct 9 12:01 cost.csv 12:16:55 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 12:16:55 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 12:16:55 total 16 12:16:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 9 12:01 . 12:16:55 drwxrwxr-x 12 jenkins jenkins 4096 Oct 9 12:16 .. 12:16:55 drwxr-xr-x 2 jenkins jenkins 4096 Oct 9 12:01 cost 12:16:55 -rw-r--r-- 1 jenkins jenkins 85 Oct 9 12:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:16:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:16:56 ---> package-listing.sh 12:16:56 ++ facter osfamily 12:16:56 ++ tr '[:upper:]' '[:lower:]' 12:16:57 + OS_FAMILY=debian 12:16:57 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 12:16:57 + START_PACKAGES=/tmp/packages_start.txt 12:16:57 + END_PACKAGES=/tmp/packages_end.txt 12:16:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:16:57 + PACKAGES=/tmp/packages_start.txt 12:16:57 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 12:16:57 + PACKAGES=/tmp/packages_end.txt 12:16:57 + case "${OS_FAMILY}" in 12:16:57 + dpkg -l 12:16:57 + grep '^ii' 12:16:57 + '[' -f /tmp/packages_start.txt ']' 12:16:57 + '[' -f /tmp/packages_end.txt ']' 12:16:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:16:57 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 12:16:57 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 12:16:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 12:16:57 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 12:16:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:16:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:16:58 prd-ubuntu20.04-docker-8c-8g-22321 does not seem to be running inside a container 12:16:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:16:58 $ docker top 1cf578498f6b75d87543a72c32f1963cbc8a0c5ff6a6b998d7ec9b7997e13f09 -eo pid,comm [Pipeline] { [Pipeline] sh 12:16:58 + touch /tmp/pre-build-complete [Pipeline] sh 12:16:59 + mkdir -p /var/log/sysstat [Pipeline] sh 12:16:59 + ls /var/log/sa-host 12:16:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:16:59 provisioning config files... 12:16:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17995668469357448375tmp [Pipeline] { [Pipeline] echo 12:16:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:16:59 ---> create-netrc.sh [Pipeline] } 12:16:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:17:00 ---> python-tools-install.sh [Pipeline] echo 12:17:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:17:00 ---> sudo-logs.sh 12:17:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:17:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:17:00 ---> job-cost.sh 12:17:00 lf-activate-venv: SKIPPING 12:17:00 DEBUG: total: 0.2199999988079071 12:17:00 INFO: Retrieving Stack Cost... 12:17:01 INFO: Retrieving Pricing Info for: v3-standard-8 12:17:01 INFO: Archiving Costs [Pipeline] echo 12:17:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:17:01 ---> logs-deploy.sh 12:17:01 lf-activate-venv: SKIPPING 12:17:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/320 12:17:01 INFO: archiving workspace using pattern(s): 12:17:02 Archives upload complete. 12:17:02 INFO: archiving logs to Nexus