Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a573d62abfd76acfce2b94ed3564a5c4c2542b9a 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-ssh11452428102354577183.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh15213092290312726251.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh9607197563872462520.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh11283362424777783985.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-ssh9930805390499802081.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8223’ Running on prd-ubuntu20.04-docker-8c-8g-8228 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 a573d62abfd76acfce2b94ed3564a5c4c2542b9a (main) Commit message: "Merge pull request #1615 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.51" > 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 a573d62abfd76acfce2b94ed3564a5c4c2542b9a # timeout=10 > git rev-list --no-walk 55ceb93b68ddd1fabddb6a346a0921fb81c17045 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:49:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:49:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:49:00 ========================================================= 07:49:00 EdgeX Global Pipelines Version Info 07:49:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:49:01 ------------------- 07:49:01 stable info: 07:49:01 ------------------- 07:49:01 Commited By: Ginny Guan ginny@iotechsys.com 07:49:01 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 07:49:01 Message: update stable to v1.0.260 07:49:01 ------------------- 07:49:01 experimental info: 07:49:01 ------------------- 07:49:01 Commited By: Ginny Guan ginny@iotechsys.com 07:49:01 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 07:49:01 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a573d62abfd76acfce2b94ed3564a5c4c2542b9a [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a573d62 [Pipeline] echo 07:49:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:49:02 provisioning config files... 07:49:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16718891054753211447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:03 ---> ****-login.sh 07:49:03 nexus3.edgexfoundry.org:10001 07:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:03 Configure a credential helper to remove this warning. See 07:49:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:03 07:49:03 Login Succeeded 07:49:03 nexus3.edgexfoundry.org:10002 07:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:03 Configure a credential helper to remove this warning. See 07:49:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:03 07:49:03 Login Succeeded 07:49:03 nexus3.edgexfoundry.org:10003 07:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:03 Configure a credential helper to remove this warning. See 07:49:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:03 07:49:03 Login Succeeded 07:49:03 nexus3.edgexfoundry.org:10004 07:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:03 Configure a credential helper to remove this warning. See 07:49:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:03 07:49:03 Login Succeeded 07:49:03 ****.io 07:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:04 Configure a credential helper to remove this warning. See 07:49:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:04 07:49:04 Login Succeeded 07:49:04 ---> ****-login.sh ends [Pipeline] } 07:49:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:49:04 + git rev-list -1 --merges a573d62abfd76acfce2b94ed3564a5c4c2542b9a~1..a573d62abfd76acfce2b94ed3564a5c4c2542b9a [Pipeline] echo 07:49:04 -----------> git rev-list -1 --merges a573d62abfd76acfce2b94ed3564a5c4c2542b9a~1..a573d62abfd76acfce2b94ed3564a5c4c2542b9a a573d62abfd76acfce2b94ed3564a5c4c2542b9a 07:49:04 a573d62abfd76acfce2b94ed3564a5c4c2542b9a [false] [Pipeline] sh 07:49:04 + git log --format=format:%s -1 a573d62abfd76acfce2b94ed3564a5c4c2542b9a [Pipeline] echo 07:49:04 ========================================================= 07:49:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:49:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:49:05 + git log --format=format:%s -1 a573d62abfd76acfce2b94ed3564a5c4c2542b9a [Pipeline] echo 07:49:05 [semverPrep] GIT_COMMIT: a573d62abfd76acfce2b94ed3564a5c4c2542b9a, Commit Message: Merge pull request #1615 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.51 [Pipeline] echo 07:49:05 [semverPrep] This is not a build commit. [Pipeline] sh 07:49:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:49:05 + grep -v github /etc/ssh/ssh_known_hosts 07:49:05 + [ -e /tmp/ssh_known_hosts ] 07:49:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:49:05 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:49:05 sudo tee -a /etc/ssh/ssh_known_hosts 07:49:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:49:05 07:49:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:49:06 0.1.4: Pulling from edgex-devops/py-git-semver 07:49:06 b85a868b505f: Pulling fs layer 07:49:06 e2be974225ed: Pulling fs layer 07:49:06 339a4e72a1f5: Pulling fs layer 07:49:06 988bab9f4d93: Pulling fs layer 07:49:06 1469e6f7b9e6: Pulling fs layer 07:49:06 eaf3925da568: Pulling fs layer 07:49:06 988bab9f4d93: Waiting 07:49:06 1469e6f7b9e6: Waiting 07:49:06 bab4dde63d76: Pulling fs layer 07:49:06 bde34c3a00c8: Pulling fs layer 07:49:06 b352a97aabf1: Pulling fs layer 07:49:06 4872d77fe225: Pulling fs layer 07:49:06 5851b861e8e6: Pulling fs layer 07:49:06 bde34c3a00c8: Waiting 07:49:06 eaf3925da568: Waiting 07:49:06 bab4dde63d76: Waiting 07:49:06 5851b861e8e6: Waiting 07:49:06 b352a97aabf1: Waiting 07:49:06 e2be974225ed: Verifying Checksum 07:49:06 e2be974225ed: Download complete 07:49:06 988bab9f4d93: Verifying Checksum 07:49:06 988bab9f4d93: Download complete 07:49:06 1469e6f7b9e6: Verifying Checksum 07:49:06 1469e6f7b9e6: Download complete 07:49:06 339a4e72a1f5: Verifying Checksum 07:49:06 339a4e72a1f5: Download complete 07:49:06 eaf3925da568: Download complete 07:49:06 bde34c3a00c8: Download complete 07:49:06 b352a97aabf1: Verifying Checksum 07:49:06 b352a97aabf1: Download complete 07:49:06 4872d77fe225: Download complete 07:49:06 5851b861e8e6: Verifying Checksum 07:49:06 5851b861e8e6: Download complete 07:49:06 b85a868b505f: Download complete 07:49:06 bab4dde63d76: Verifying Checksum 07:49:06 bab4dde63d76: Download complete 07:49:07 b85a868b505f: Pull complete 07:49:08 e2be974225ed: Pull complete 07:49:11 339a4e72a1f5: Pull complete 07:49:11 988bab9f4d93: Pull complete 07:49:11 1469e6f7b9e6: Pull complete 07:49:11 eaf3925da568: Pull complete 07:49:11 bab4dde63d76: Pull complete 07:49:11 bde34c3a00c8: Pull complete 07:49:12 b352a97aabf1: Pull complete 07:49:12 4872d77fe225: Pull complete 07:49:12 5851b861e8e6: Pull complete 07:49:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:49:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:49:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:12 prd-ubuntu20.04-docker-8c-8g-8228 does not seem to be running inside a container 07:49:13 $ 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 07:49:16 $ docker top 370d84c8da0cd271f39d7d4d101d138cecab194c22fdc80adffcccffcdac0baf -eo pid,comm 07:49:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:49:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:16 [ssh-agent] Looking for ssh-agent implementation... 07:49:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:17 $ docker exec 370d84c8da0cd271f39d7d4d101d138cecab194c22fdc80adffcccffcdac0baf ssh-agent 07:49:16 SSH_AUTH_SOCK=/tmp/ssh-dmRhZxkQbhyf/agent.32 07:49:16 SSH_AGENT_PID=38 07:49:16 Running ssh-add (command line suppressed) 07:49:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8044250574177354733.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8044250574177354733.key) 07:49:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:16 + git tag --points-at HEAD [Pipeline] } 07:49:17 $ docker exec --env ******** --env ******** 370d84c8da0cd271f39d7d4d101d138cecab194c22fdc80adffcccffcdac0baf ssh-agent -k 07:49:17 unset SSH_AUTH_SOCK; 07:49:17 unset SSH_AGENT_PID; 07:49:17 echo Agent pid 38 killed; 07:49:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:49:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:16 [ssh-agent] Looking for ssh-agent implementation... 07:49:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:18 $ docker exec 370d84c8da0cd271f39d7d4d101d138cecab194c22fdc80adffcccffcdac0baf ssh-agent 07:49:17 SSH_AUTH_SOCK=/tmp/ssh-5AkfjeGtvDSM/agent.71 07:49:17 SSH_AGENT_PID=77 07:49:17 Running ssh-add (command line suppressed) 07:49:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11620231227110930559.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11620231227110930559.key) 07:49:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:17 + git semver init 07:49:17 2024-08-23 07:49:18,736 [run_init] DEBUG init version:0.0.0 force:False 07:49:17 2024-08-23 07:49:18,737 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:49:17 2024-08-23 07:49:18,738 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:49:17 2024-08-23 07:49:18,738 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 07:49:20 2024-08-23 07:49:20,964 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 07:49:20 2024-08-23 07:49:20,964 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 07:49:20 2024-08-23 07:49:20,964 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:49:20 2024-08-23 07:49:20,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:49:20 3.2.0-dev.32 [Pipeline] } 07:49:21 $ docker exec --env ******** --env ******** 370d84c8da0cd271f39d7d4d101d138cecab194c22fdc80adffcccffcdac0baf ssh-agent -k 07:49:21 unset SSH_AUTH_SOCK; 07:49:21 unset SSH_AGENT_PID; 07:49:21 echo Agent pid 77 killed; 07:49:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:20 + git semver [Pipeline] } 07:49:22 $ docker stop --time=1 370d84c8da0cd271f39d7d4d101d138cecab194c22fdc80adffcccffcdac0baf 07:49:23 $ docker rm -f --volumes 370d84c8da0cd271f39d7d4d101d138cecab194c22fdc80adffcccffcdac0baf [Pipeline] // withDockerContainer [Pipeline] sh 07:49:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:49:23 Stashed 1 file(s) [Pipeline] echo 07:49:23 [edgeXSemver]: initialized semver on version 3.2.0-dev.32 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:49:23 provisioning config files... 07:49:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7657212988235182286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:23 ---> ****-login.sh 07:49:23 nexus3.edgexfoundry.org:10001 07:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:23 Configure a credential helper to remove this warning. See 07:49:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:23 07:49:23 Login Succeeded 07:49:23 nexus3.edgexfoundry.org:10002 07:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:23 Configure a credential helper to remove this warning. See 07:49:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:23 07:49:23 Login Succeeded 07:49:23 nexus3.edgexfoundry.org:10003 07:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:23 Configure a credential helper to remove this warning. See 07:49:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:23 07:49:23 Login Succeeded 07:49:23 nexus3.edgexfoundry.org:10004 07:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:23 Configure a credential helper to remove this warning. See 07:49:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:23 07:49:23 Login Succeeded 07:49:23 ****.io 07:49:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:24 Configure a credential helper to remove this warning. See 07:49:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:24 07:49:24 Login Succeeded 07:49:24 ---> ****-login.sh ends [Pipeline] } 07:49:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:49:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:49:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:49:24 ========================================================= 07:49:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:49:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:24 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 07:49:24 Sending build context to Docker daemon 25.11MB 07:49:24 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:49:24 Step 2/10 : FROM ${BASE} AS builder 07:49:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:49:25 619be1103602: Pulling fs layer 07:49:25 7862e08f4a3e: Pulling fs layer 07:49:25 5df492c9dc93: Pulling fs layer 07:49:25 7629e6793208: Pulling fs layer 07:49:25 4f4fb700ef54: Pulling fs layer 07:49:25 fb5054dd5b73: Pulling fs layer 07:49:25 4f4fb700ef54: Waiting 07:49:25 7629e6793208: Waiting 07:49:25 fb5054dd5b73: Waiting 07:49:25 eeca6798cff9: Pulling fs layer 07:49:25 aa269ceb94a6: Pulling fs layer 07:49:25 ada007ff1a6a: Pulling fs layer 07:49:25 eeca6798cff9: Waiting 07:49:25 aa269ceb94a6: Waiting 07:49:25 ada007ff1a6a: Waiting 07:49:25 7862e08f4a3e: Download complete 07:49:25 7629e6793208: Verifying Checksum 07:49:25 7629e6793208: Download complete 07:49:25 4f4fb700ef54: Verifying Checksum 07:49:25 4f4fb700ef54: Download complete 07:49:25 fb5054dd5b73: Verifying Checksum 07:49:25 fb5054dd5b73: Download complete 07:49:25 619be1103602: Download complete 07:49:25 eeca6798cff9: Verifying Checksum 07:49:25 eeca6798cff9: Download complete 07:49:25 619be1103602: Pull complete 07:49:25 ada007ff1a6a: Verifying Checksum 07:49:25 ada007ff1a6a: Download complete 07:49:25 7862e08f4a3e: Pull complete 07:49:25 5df492c9dc93: Verifying Checksum 07:49:25 5df492c9dc93: Download complete 07:49:25 aa269ceb94a6: Verifying Checksum 07:49:25 aa269ceb94a6: Download complete 07:49:29 5df492c9dc93: Pull complete 07:49:29 7629e6793208: Pull complete 07:49:29 4f4fb700ef54: Pull complete 07:49:29 fb5054dd5b73: Pull complete 07:49:29 eeca6798cff9: Pull complete 07:49:31 aa269ceb94a6: Pull complete 07:49:31 ada007ff1a6a: Pull complete 07:49:31 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 07:49:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:49:31 ---> f489d0715acc 07:49:31 Step 3/10 : ARG MAKE=make build 07:49:38 Still waiting to schedule task 07:49:38 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8225’ 07:49:44 ---> Running in c93d9feaea64 07:49:44 Removing intermediate container c93d9feaea64 07:49:44 ---> 84ade0f92cbf 07:49:44 Step 4/10 : WORKDIR /device-sdk-go 07:49:44 ---> Running in 672ba1d30765 07:49:44 Removing intermediate container 672ba1d30765 07:49:44 ---> 5f9bc5946056 07:49:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:49:44 ---> Running in b61a8393bace 07:49:45 Removing intermediate container b61a8393bace 07:49:45 ---> 458638e41a50 07:49:45 Step 6/10 : RUN apk add --update --no-cache make git 07:49:45 ---> Running in c70b1867c5de 07:49:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:49:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:49:46 OK: 264 MiB in 52 packages 07:49:46 Removing intermediate container c70b1867c5de 07:49:46 ---> 78068e1f1254 07:49:46 Step 7/10 : COPY go.mod vendor* ./ 07:49:46 ---> 4f5b15253e6c 07:49:46 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:49:46 ---> Running in c4e52c3ad1d3 07:50:43 Removing intermediate container c4e52c3ad1d3 07:50:43 ---> 80e4ff6db59e 07:50:43 Step 9/10 : COPY . . 07:50:43 ---> f460cc781246 07:50:43 Step 10/10 : RUN ${MAKE} 07:50:43 ---> Running in 5d89acea06be 07:50:43 noop 07:50:43 Removing intermediate container 5d89acea06be 07:50:43 ---> dd7cbd2349ff 07:50:43 Successfully built dd7cbd2349ff 07:50:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:43 + docker inspect -f . ci-base-image-x86_64 07:50:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:43 prd-ubuntu20.04-docker-8c-8g-8228 does not seem to be running inside a container 07:50:43 $ 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 07:50:43 $ docker top 8c433da0031c004452b8efe876c6911543f34cd5c01e2b584899bcd6270efaa6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:44 + go version 07:50:44 go version go1.21.9 linux/amd64 [Pipeline] } 07:50:44 $ docker stop --time=1 8c433da0031c004452b8efe876c6911543f34cd5c01e2b584899bcd6270efaa6 07:50:45 $ docker rm -f --volumes 8c433da0031c004452b8efe876c6911543f34cd5c01e2b584899bcd6270efaa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:45 + docker inspect -f . ci-base-image-x86_64 07:50:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:46 prd-ubuntu20.04-docker-8c-8g-8228 does not seem to be running inside a container 07:50:46 $ 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 07:50:46 $ docker top edeec9bebb83f719b998f7571a7a924f028f745fbffa88ae9e30a4fa71bfae57 -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:46 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 07:50:47 + make test 07:50:47 go test -race -coverprofile=coverage.out ./... 07:50:53 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:51:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:51:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:51:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:51:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:51:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:51:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:51:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:51:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.020s coverage: 26.0% of statements 07:51:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.036s coverage: 79.4% of statements 07:51:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.039s coverage: 86.0% of statements 07:51:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:51:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:51:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:51:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.074s coverage: 52.2% of statements 07:51:23 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:51:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.041s coverage: 14.4% of statements 07:51:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.285s coverage: 44.6% of statements 07:51:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.141s coverage: 68.5% of statements 07:51:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.145s coverage: 89.2% of statements 07:51:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.4% of statements 07:52:04 GO111MODULE=on go vet ./... 07:52:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:52:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:52:06 ./bin/test-attribution-txt.sh [Pipeline] echo 07:52:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:52:06 $ docker stop --time=1 edeec9bebb83f719b998f7571a7a924f028f745fbffa88ae9e30a4fa71bfae57 07:52:16 $ docker rm -f --volumes edeec9bebb83f719b998f7571a7a924f028f745fbffa88ae9e30a4fa71bfae57 [Pipeline] // withDockerContainer [Pipeline] sh 07:52:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:52:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:52:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:52:18 + ls -al . 07:52:18 total 380 07:52:18 drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 07:50 . 07:52:18 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 07:48 .. 07:52:18 -rw-rw-r-- 1 jenkins jenkins 140 Aug 23 07:48 .dockerignore 07:52:18 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 07:51 .git 07:52:18 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 07:48 .github 07:52:18 -rw-rw-r-- 1 jenkins jenkins 137 Aug 23 07:48 .gitignore 07:52:18 -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 07:48 .golangci.yml 07:52:18 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 07:49 .semver 07:52:18 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 23 07:48 CHANGELOG.md 07:52:18 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 07:48 GOVERNANCE.md 07:52:18 -rw-rw-r-- 1 jenkins jenkins 885 Aug 23 07:48 Jenkinsfile 07:52:18 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 23 07:48 LICENSE 07:52:18 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 23 07:48 Makefile 07:52:18 -rw-rw-r-- 1 jenkins jenkins 619 Aug 23 07:48 OWNERS.md 07:52:18 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 23 07:48 README.md 07:52:18 -rw-rw-r-- 1 jenkins jenkins 12 Aug 23 07:49 VERSION 07:52:18 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 07:48 bin 07:52:18 -rw-r--r-- 1 jenkins jenkins 126053 Aug 23 07:51 coverage.out 07:52:18 drwxrwxr-x 5 jenkins jenkins 4096 Aug 23 07:48 example 07:52:18 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 23 07:48 go.mod 07:52:18 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 23 07:48 go.sum 07:52:18 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 07:48 internal 07:52:18 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 07:48 openapi 07:52:18 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 07:48 pkg 07:52:18 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 07:48 snap 07:52:18 -rw-rw-r-- 1 jenkins jenkins 222 Aug 23 07:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:18 + 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=a573d62abfd76acfce2b94ed3564a5c4c2542b9a --label arch=amd64 --label version=3.2.0-dev.32 . 07:52:18 Sending build context to Docker daemon 25.24MB 07:52:18 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 07:52:18 Step 2/24 : FROM ${BASE} AS builder 07:52:18 ---> dd7cbd2349ff 07:52:18 Step 3/24 : ARG MAKE=make build 07:52:19 ---> Running in d1a0b55dbfcb 07:52:19 Removing intermediate container d1a0b55dbfcb 07:52:19 ---> cc8820fae4b9 07:52:19 Step 4/24 : WORKDIR /device-sdk-go 07:52:19 ---> Running in 3058287e19fd 07:52:19 Removing intermediate container 3058287e19fd 07:52:19 ---> b37e7f854cfe 07:52:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:52:20 ---> Running in 2f3e9f980529 07:52:20 Removing intermediate container 2f3e9f980529 07:52:20 ---> 4b562aff0107 07:52:20 Step 6/24 : RUN apk add --update --no-cache make git 07:52:20 ---> Running in ef846df9a8f4 07:52:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:52:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:52:20 OK: 264 MiB in 52 packages 07:52:21 Removing intermediate container ef846df9a8f4 07:52:21 ---> ba637c055069 07:52:21 Step 7/24 : COPY go.mod vendor* ./ 07:52:21 ---> 733e60355b36 07:52:21 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:22 ---> Running in c5a7b99f8e3e 07:52:23 Removing intermediate container c5a7b99f8e3e 07:52:23 ---> 121c9cdadcf0 07:52:23 Step 9/24 : COPY . . 07:52:24 ---> b1122bbcdc52 07:52:24 Step 10/24 : RUN ${MAKE} 07:52:24 ---> Running in bfa998c82434 07:52:24 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.32 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.32" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:53:03 Removing intermediate container bfa998c82434 07:53:03 ---> 994167f3e69a 07:53:03 Step 11/24 : FROM alpine:3.18 07:53:03 3.18: Pulling from library/alpine 07:53:03 930bdd4d222e: Pulling fs layer 07:53:03 930bdd4d222e: Verifying Checksum 07:53:03 930bdd4d222e: Download complete 07:53:03 930bdd4d222e: Pull complete 07:53:03 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 07:53:03 Status: Downloaded newer image for alpine:3.18 07:53:03 ---> 18f865063206 07:53:03 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:53:03 ---> Running in 212d35f5dc24 07:53:03 Removing intermediate container 212d35f5dc24 07:53:03 ---> 3790a42586ba 07:53:03 Step 13/24 : RUN apk add --update --no-cache dumb-init 07:53:03 ---> Running in 77e38cb5eeef 07:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:53:04 (1/1) Installing dumb-init (1.2.5-r2) 07:53:04 Executing busybox-1.36.1-r7.trigger 07:53:04 OK: 7 MiB in 16 packages 07:53:05 Removing intermediate container 77e38cb5eeef 07:53:05 ---> 08d94dd98900 07:53:05 Step 14/24 : RUN apk --no-cache upgrade 07:53:05 ---> Running in 76c4463a18f3 07:53:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:53:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:53:06 OK: 7 MiB in 16 packages 07:53:07 Removing intermediate container 76c4463a18f3 07:53:07 ---> 9a68d3a1eeaa 07:53:07 Step 15/24 : WORKDIR / 07:53:07 ---> Running in d6499a25c43a 07:53:07 Removing intermediate container d6499a25c43a 07:53:07 ---> 6ddf8557ab28 07:53:07 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:53:08 ---> b57cb8d833fb 07:53:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:53:10 ---> fdf1940eb64f 07:53:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:53:10 ---> 97af93fed893 07:53:10 Step 19/24 : EXPOSE 59999 07:53:10 ---> Running in ae955ff9c9f0 07:53:11 Removing intermediate container ae955ff9c9f0 07:53:11 ---> 29deee6fa65f 07:53:11 Step 20/24 : ENTRYPOINT ["/device-simple"] 07:53:11 ---> Running in 404c60c4254c 07:53:11 Removing intermediate container 404c60c4254c 07:53:11 ---> 74487b9a59f3 07:53:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:53:12 ---> Running in 39ddae5ba7cb 07:53:12 Removing intermediate container 39ddae5ba7cb 07:53:12 ---> 6c8cd1615ab3 07:53:12 Step 22/24 : LABEL arch=amd64 07:53:12 ---> Running in a669212c235c 07:53:12 Removing intermediate container a669212c235c 07:53:12 ---> 86b0069ea619 07:53:12 Step 23/24 : LABEL git_sha=a573d62abfd76acfce2b94ed3564a5c4c2542b9a 07:53:13 ---> Running in 94f4ee36793e 07:53:13 Removing intermediate container 94f4ee36793e 07:53:13 ---> 015ad58643cd 07:53:13 Step 24/24 : LABEL version=3.2.0-dev.32 07:53:13 ---> Running in 9761eb1b8699 07:53:14 Removing intermediate container 9761eb1b8699 07:53:14 ---> e387ca36eb73 07:53:14 [Warning] One or more build-args [ARCH] were not consumed 07:53:14 Successfully built e387ca36eb73 07:53:14 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 07:53:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:14 07:53:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:15 latest: Pulling from edgex-lftools-log-publisher 07:53:15 5eb5b503b376: Pulling fs layer 07:53:15 5c69ac0246d0: Pulling fs layer 07:53:15 ec43610c2a17: Pulling fs layer 07:53:15 3a2ae6a8a46f: Pulling fs layer 07:53:15 33b1e0a273af: Pulling fs layer 07:53:15 5d3b04190fa2: Pulling fs layer 07:53:15 2f39f015ded8: Pulling fs layer 07:53:15 33b1e0a273af: Waiting 07:53:15 5d3b04190fa2: Waiting 07:53:15 3a2ae6a8a46f: Waiting 07:53:15 2f39f015ded8: Waiting 07:53:15 5c69ac0246d0: Verifying Checksum 07:53:15 5c69ac0246d0: Download complete 07:53:15 3a2ae6a8a46f: Verifying Checksum 07:53:15 3a2ae6a8a46f: Download complete 07:53:15 33b1e0a273af: Verifying Checksum 07:53:15 33b1e0a273af: Download complete 07:53:15 ec43610c2a17: Verifying Checksum 07:53:15 5d3b04190fa2: Verifying Checksum 07:53:15 5d3b04190fa2: Download complete 07:53:15 ec43610c2a17: Download complete 07:53:15 5eb5b503b376: Verifying Checksum 07:53:15 5eb5b503b376: Download complete 07:53:16 2f39f015ded8: Download complete 07:53:16 5eb5b503b376: Pull complete 07:53:16 5c69ac0246d0: Pull complete 07:53:17 ec43610c2a17: Pull complete 07:53:17 3a2ae6a8a46f: Pull complete 07:53:18 33b1e0a273af: Pull complete 07:53:18 5d3b04190fa2: Pull complete 07:53:22 2f39f015ded8: Pull complete 07:53:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:53:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:22 prd-ubuntu20.04-docker-8c-8g-8228 does not seem to be running inside a container 07:53:22 $ 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 07:53:31 $ docker top d8bd1198c0e2fa24ec37d82bb8711495cc9a19fa9dbf62880a9f593426452aa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:53:31 ---> job-cost.sh 07:53:31 lf-activate-venv: SKIPPING 07:53:31 INFO: No Stack... 07:53:32 INFO: Retrieving Pricing Info for: v3-standard-8 07:53:32 INFO: Archiving Costs [Pipeline] sh 07:53:32 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 07:53:32 + cut -d, -f6 [Pipeline] lock 07:53:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-307-stack-cost] 07:53:32 Resource [jenkins-edgexfoundry-device-sdk-go-main-307-stack-cost] did not exist. Created. 07:53:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-307-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:53:32 + echo total: 0.2199999988079071 [Pipeline] stash 07:53:32 Stashed 1 file(s) [Pipeline] } 07:53:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-307-stack-cost] [Pipeline] // lock [Pipeline] } 07:53:32 $ docker stop --time=1 d8bd1198c0e2fa24ec37d82bb8711495cc9a19fa9dbf62880a9f593426452aa1 07:53:34 $ docker rm -f --volumes d8bd1198c0e2fa24ec37d82bb8711495cc9a19fa9dbf62880a9f593426452aa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:54:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8240 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 07:54:28 Running in /w/workspace/device-sdk-go/307 [Pipeline] { [Pipeline] checkout 07:54:28 The recommended git tool is: git 07:54:34 using credential edgex-jenkins-ssh 07:54:34 Cloning the remote Git repository 07:54:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:54:34 > git init /w/workspace/device-sdk-go/307 # timeout=10 07:54:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:54:34 > git --version # timeout=10 07:54:34 > git --version # 'git version 2.25.1' 07:54:34 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:54:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:54:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:54:39 Avoid second fetch 07:54:39 Checking out Revision a573d62abfd76acfce2b94ed3564a5c4c2542b9a (main) 07:54:40 Commit message: "Merge pull request #1615 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.51" 07:54:39 > git config core.sparsecheckout # timeout=10 07:54:39 > git checkout -f a573d62abfd76acfce2b94ed3564a5c4c2542b9a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:54:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:54:45 % Total % Received % Xferd Average Speed Time Time Time Current 07:54:45 Dload Upload Total Spent Left Speed 07:54:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 07:54:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:54:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:54:46 + sudo tee /etc/docker/daemon.new 07:54:46 { 07:54:46 "registry-mirrors": [ 07:54:46 "https://nexus3.edgexfoundry.org:10001" 07:54:46 ], 07:54:46 "bip": "10.250.0.254/24", 07:54:46 "hosts": [ 07:54:46 "tcp://0.0.0.0:5555", 07:54:46 "unix:///var/run/docker.sock" 07:54:46 ], 07:54:46 "mtu": 1458, 07:54:46 "selinux-enabled": true, 07:54:46 "seccomp-profile": "/etc/docker/seccomp.json" 07:54:46 } [Pipeline] sh 07:54:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:54:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:55:05 provisioning config files... 07:55:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/307@tmp/config16932045672374875072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:05 ---> ****-login.sh 07:55:05 nexus3.edgexfoundry.org:10001 07:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:06 Configure a credential helper to remove this warning. See 07:55:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:06 07:55:06 Login Succeeded 07:55:06 nexus3.edgexfoundry.org:10002 07:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:06 Configure a credential helper to remove this warning. See 07:55:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:06 07:55:06 Login Succeeded 07:55:06 nexus3.edgexfoundry.org:10003 07:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:07 Configure a credential helper to remove this warning. See 07:55:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:07 07:55:07 Login Succeeded 07:55:07 nexus3.edgexfoundry.org:10004 07:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:07 Configure a credential helper to remove this warning. See 07:55:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:07 07:55:07 Login Succeeded 07:55:07 ****.io 07:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:08 Configure a credential helper to remove this warning. See 07:55:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:08 07:55:08 Login Succeeded 07:55:08 ---> ****-login.sh ends [Pipeline] } 07:55:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:55:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:55:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:55:08 ========================================================= 07:55:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:55:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:09 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 07:55:09 Sending build context to Docker daemon 12.99MB 07:55:09 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:55:09 Step 2/10 : FROM ${BASE} AS builder 07:55:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:55:09 c6b39de5b339: Pulling fs layer 07:55:09 a69c41024577: Pulling fs layer 07:55:09 d6de4b400683: Pulling fs layer 07:55:09 35cb2a7552d0: Pulling fs layer 07:55:09 4f4fb700ef54: Pulling fs layer 07:55:09 464afbd9ba4c: Pulling fs layer 07:55:09 00f215d4a9da: Pulling fs layer 07:55:09 d496ad576159: Pulling fs layer 07:55:09 35cb2a7552d0: Waiting 07:55:09 00f215d4a9da: Waiting 07:55:09 4f4fb700ef54: Waiting 07:55:09 d496ad576159: Waiting 07:55:09 464afbd9ba4c: Waiting 07:55:09 a69c41024577: Verifying Checksum 07:55:09 a69c41024577: Download complete 07:55:09 35cb2a7552d0: Verifying Checksum 07:55:09 35cb2a7552d0: Download complete 07:55:09 4f4fb700ef54: Verifying Checksum 07:55:09 4f4fb700ef54: Download complete 07:55:09 464afbd9ba4c: Verifying Checksum 07:55:09 464afbd9ba4c: Download complete 07:55:09 c6b39de5b339: Verifying Checksum 07:55:09 c6b39de5b339: Download complete 07:55:10 d496ad576159: Verifying Checksum 07:55:10 d496ad576159: Download complete 07:55:11 c6b39de5b339: Pull complete 07:55:11 a69c41024577: Pull complete 07:55:11 d6de4b400683: Verifying Checksum 07:55:11 d6de4b400683: Download complete 07:55:13 00f215d4a9da: Verifying Checksum 07:55:13 00f215d4a9da: Download complete 07:55:25 d6de4b400683: Pull complete 07:55:25 35cb2a7552d0: Pull complete 07:55:25 4f4fb700ef54: Pull complete 07:55:25 464afbd9ba4c: Pull complete 07:55:34 00f215d4a9da: Pull complete 07:55:35 d496ad576159: Pull complete 07:55:35 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 07:55:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:55:35 ---> f246e2811388 07:55:35 Step 3/10 : ARG MAKE=make build 07:55:37 ---> Running in 9f5cc6cfdc0b 07:55:37 Removing intermediate container 9f5cc6cfdc0b 07:55:37 ---> 53810dafe565 07:55:37 Step 4/10 : WORKDIR /device-sdk-go 07:55:37 ---> Running in df08c4cc9633 07:55:38 Removing intermediate container df08c4cc9633 07:55:38 ---> 455b48507142 07:55:38 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:55:38 ---> Running in bf9869acb0b7 07:55:38 Removing intermediate container bf9869acb0b7 07:55:38 ---> c6b1037b5a8a 07:55:38 Step 6/10 : RUN apk add --update --no-cache make git 07:55:38 ---> Running in 69dfa27d29d7 07:55:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:55:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:55:41 OK: 266 MiB in 52 packages 07:55:42 Removing intermediate container 69dfa27d29d7 07:55:42 ---> 8ee016fe9409 07:55:42 Step 7/10 : COPY go.mod vendor* ./ 07:55:42 ---> f943fe6d22c1 07:55:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:55:42 ---> Running in e50812dd7d1a 07:57:49 Removing intermediate container e50812dd7d1a 07:57:49 ---> a53f5a9b8e04 07:57:49 Step 9/10 : COPY . . 07:57:49 ---> 2f26527c5d74 07:57:49 Step 10/10 : RUN ${MAKE} 07:57:50 ---> Running in 1e34359018b7 07:57:51 noop 07:57:52 Removing intermediate container 1e34359018b7 07:57:52 ---> b7cd7dea4575 07:57:52 Successfully built b7cd7dea4575 07:57:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:52 + docker inspect -f . ci-base-image-arm64 07:57:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:52 prd-ubuntu20.04-docker-arm64-4c-16g-8240 does not seem to be running inside a container 07:57:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/307 -v /w/workspace/device-sdk-go/307:/w/workspace/device-sdk-go/307:rw,z -v /w/workspace/device-sdk-go/307@tmp:/w/workspace/device-sdk-go/307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:57:54 $ docker top 86f513347f2646a383fe3a12f1c6470cf7e7a3dea0dc32a8967cb62592e11a40 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:55 + go version 07:57:55 go version go1.21.9 linux/arm64 [Pipeline] } 07:57:55 $ docker stop --time=1 86f513347f2646a383fe3a12f1c6470cf7e7a3dea0dc32a8967cb62592e11a40 07:57:56 $ docker rm -f --volumes 86f513347f2646a383fe3a12f1c6470cf7e7a3dea0dc32a8967cb62592e11a40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:57 + docker inspect -f . ci-base-image-arm64 07:57:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:57 prd-ubuntu20.04-docker-arm64-4c-16g-8240 does not seem to be running inside a container 07:57:57 $ 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/307 -v /w/workspace/device-sdk-go/307:/w/workspace/device-sdk-go/307:rw,z -v /w/workspace/device-sdk-go/307@tmp:/w/workspace/device-sdk-go/307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:57:59 $ docker top 5681ac7cd742cffabde7360714035179c09d9f063b175d4eec84e3c94ffd892b -eo pid,comm [Pipeline] { [Pipeline] sh 07:58:00 + git config --global --add safe.directory /w/workspace/device-sdk-go/307 [Pipeline] fileExists [Pipeline] sh 07:58:00 + make test 07:58:00 go test -race -coverprofile=coverage.out ./... 07:59:08 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 08:03:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 08:03:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 08:03:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 08:03:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 08:03:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 08:03:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.135s coverage: 26.0% of statements 08:03:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.197s coverage: 79.4% of statements 08:03:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 08:03:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 08:03:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.317s coverage: 86.0% of statements 08:04:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 08:04:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.536s coverage: 52.2% of statements 08:04:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.174s coverage: 14.4% of statements 08:04:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.757s coverage: 44.6% of statements 08:04:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 08:04:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 08:04:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.375s coverage: 68.5% of statements 08:04:15 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.408s coverage: 89.2% of statements 08:04:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 08:04:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.270s coverage: 5.4% of statements 08:04:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:04:24 GO111MODULE=on go vet ./... 08:09:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:09:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:09:01 ./bin/test-attribution-txt.sh [Pipeline] echo 08:09:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:09:01 $ docker stop --time=1 5681ac7cd742cffabde7360714035179c09d9f063b175d4eec84e3c94ffd892b 08:09:03 $ docker rm -f --volumes 5681ac7cd742cffabde7360714035179c09d9f063b175d4eec84e3c94ffd892b [Pipeline] // withDockerContainer [Pipeline] sh 08:09:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:09:05 Warning: overwriting stash ‘coverage-report’ 08:09:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:09:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:09:07 + ls -al . 08:09:07 total 376 08:09:07 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 07:58 . 08:09:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 07:54 .. 08:09:07 -rw-rw-r-- 1 jenkins jenkins 140 Aug 23 07:54 .dockerignore 08:09:07 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 07:54 .git 08:09:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 07:54 .github 08:09:07 -rw-rw-r-- 1 jenkins jenkins 137 Aug 23 07:54 .gitignore 08:09:07 -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 07:54 .golangci.yml 08:09:07 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 23 07:54 CHANGELOG.md 08:09:07 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 07:54 GOVERNANCE.md 08:09:07 -rw-rw-r-- 1 jenkins jenkins 885 Aug 23 07:54 Jenkinsfile 08:09:07 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 23 07:54 LICENSE 08:09:07 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 23 07:54 Makefile 08:09:07 -rw-rw-r-- 1 jenkins jenkins 619 Aug 23 07:54 OWNERS.md 08:09:07 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 23 07:54 README.md 08:09:07 -rw-rw-r-- 1 jenkins jenkins 12 Aug 23 07:49 VERSION 08:09:07 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 07:54 bin 08:09:07 -rw-r--r-- 1 jenkins jenkins 126055 Aug 23 08:04 coverage.out 08:09:07 drwxrwxr-x 5 jenkins jenkins 4096 Aug 23 07:54 example 08:09:07 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 23 07:54 go.mod 08:09:07 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 23 07:54 go.sum 08:09:07 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 07:54 internal 08:09:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 07:54 openapi 08:09:07 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 07:54 pkg 08:09:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 07:54 snap 08:09:07 -rw-rw-r-- 1 jenkins jenkins 222 Aug 23 07:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:07 + 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=a573d62abfd76acfce2b94ed3564a5c4c2542b9a --label arch=arm64 --label version=3.2.0-dev.32 . 08:09:08 Sending build context to Docker daemon 13.12MB 08:09:08 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 08:09:08 Step 2/24 : FROM ${BASE} AS builder 08:09:08 ---> b7cd7dea4575 08:09:08 Step 3/24 : ARG MAKE=make build 08:09:08 ---> Running in 3956f452c5c6 08:09:08 Removing intermediate container 3956f452c5c6 08:09:08 ---> 0177478486bf 08:09:08 Step 4/24 : WORKDIR /device-sdk-go 08:09:08 ---> Running in a34b3e344455 08:09:09 Removing intermediate container a34b3e344455 08:09:09 ---> 92f34a1d9407 08:09:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:09:09 ---> Running in 2fdf546d9796 08:09:09 Removing intermediate container 2fdf546d9796 08:09:09 ---> 7ae2894e6a2f 08:09:09 Step 6/24 : RUN apk add --update --no-cache make git 08:09:09 ---> Running in aefba5b193b6 08:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:09:12 OK: 266 MiB in 52 packages 08:09:13 Removing intermediate container aefba5b193b6 08:09:13 ---> 6e4a13f5924e 08:09:13 Step 7/24 : COPY go.mod vendor* ./ 08:09:13 ---> d20643777e8d 08:09:13 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:09:14 ---> Running in 9184830b8958 08:09:16 Removing intermediate container 9184830b8958 08:09:16 ---> d001d0fb89a0 08:09:16 Step 9/24 : COPY . . 08:09:18 ---> 4779c693ac68 08:09:18 Step 10/24 : RUN ${MAKE} 08:09:18 ---> Running in 75633d8823b9 08:09:19 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.32 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.32" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:13:15 Removing intermediate container 75633d8823b9 08:13:15 ---> 5319458ca98d 08:13:15 Step 11/24 : FROM alpine:3.18 08:13:15 3.18: Pulling from library/alpine 08:13:15 4983c3fe2029: Pulling fs layer 08:13:15 4983c3fe2029: Verifying Checksum 08:13:15 4983c3fe2029: Download complete 08:13:15 4983c3fe2029: Pull complete 08:13:15 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 08:13:15 Status: Downloaded newer image for alpine:3.18 08:13:15 ---> a0237000ae83 08:13:15 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:13:15 ---> Running in 61c14ef31556 08:13:15 Removing intermediate container 61c14ef31556 08:13:15 ---> 51d8fcc77d7a 08:13:15 Step 13/24 : RUN apk add --update --no-cache dumb-init 08:13:15 ---> Running in 9909fe1ad678 08:13:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:13:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:13:17 (1/1) Installing dumb-init (1.2.5-r2) 08:13:18 Executing busybox-1.36.1-r7.trigger 08:13:18 OK: 8 MiB in 16 packages 08:13:19 Removing intermediate container 9909fe1ad678 08:13:19 ---> 31d2c71d7dfe 08:13:19 Step 14/24 : RUN apk --no-cache upgrade 08:13:19 ---> Running in d741ccaff0fb 08:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:13:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:13:21 OK: 8 MiB in 16 packages 08:13:22 Removing intermediate container d741ccaff0fb 08:13:22 ---> 8b043c2388d9 08:13:22 Step 15/24 : WORKDIR / 08:13:22 ---> Running in b0b3f6fb48f1 08:13:23 Removing intermediate container b0b3f6fb48f1 08:13:23 ---> 5560d6fbae26 08:13:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:13:23 ---> a2cd979b9cbe 08:13:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:13:26 ---> e999ac5cefb4 08:13:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:13:27 ---> c49f088dce73 08:13:27 Step 19/24 : EXPOSE 59999 08:13:27 ---> Running in 9f1ec26c4cfd 08:13:27 Removing intermediate container 9f1ec26c4cfd 08:13:27 ---> abea7bb6f184 08:13:27 Step 20/24 : ENTRYPOINT ["/device-simple"] 08:13:27 ---> Running in a987cfb0bc70 08:13:27 Removing intermediate container a987cfb0bc70 08:13:27 ---> 5dc4d161a532 08:13:27 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:13:28 ---> Running in 5807cd78cae0 08:13:28 Removing intermediate container 5807cd78cae0 08:13:28 ---> 1a9f6aedcc3e 08:13:28 Step 22/24 : LABEL arch=arm64 08:13:28 ---> Running in a3c42e4d0765 08:13:28 Removing intermediate container a3c42e4d0765 08:13:28 ---> c34e1076f7c9 08:13:28 Step 23/24 : LABEL git_sha=a573d62abfd76acfce2b94ed3564a5c4c2542b9a 08:13:29 ---> Running in 4597b9c46b88 08:13:29 Removing intermediate container 4597b9c46b88 08:13:29 ---> 0024ba3ae357 08:13:29 Step 24/24 : LABEL version=3.2.0-dev.32 08:13:29 ---> Running in f7066e34ece1 08:13:29 Removing intermediate container f7066e34ece1 08:13:29 ---> a149d964088d 08:13:29 [Warning] One or more build-args [ARCH] were not consumed 08:13:29 Successfully built a149d964088d 08:13:29 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 08:13:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:13:30 08:13:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:13:30 arm64: Pulling from edgex-lftools-log-publisher 08:13:30 8998bd30e6a1: Pulling fs layer 08:13:30 04944245beec: Pulling fs layer 08:13:30 699f458cf7ca: Pulling fs layer 08:13:30 765212b225bb: Pulling fs layer 08:13:30 f23df028b6ca: Pulling fs layer 08:13:30 d65c8cfc05b1: Pulling fs layer 08:13:30 2437ff75d9bd: Pulling fs layer 08:13:30 765212b225bb: Waiting 08:13:30 f23df028b6ca: Waiting 08:13:30 d65c8cfc05b1: Waiting 08:13:30 2437ff75d9bd: Waiting 08:13:30 04944245beec: Verifying Checksum 08:13:30 04944245beec: Download complete 08:13:30 765212b225bb: Verifying Checksum 08:13:30 765212b225bb: Download complete 08:13:30 f23df028b6ca: Verifying Checksum 08:13:30 f23df028b6ca: Download complete 08:13:30 d65c8cfc05b1: Verifying Checksum 08:13:30 d65c8cfc05b1: Download complete 08:13:31 699f458cf7ca: Verifying Checksum 08:13:31 699f458cf7ca: Download complete 08:13:31 8998bd30e6a1: Verifying Checksum 08:13:31 8998bd30e6a1: Download complete 08:13:34 2437ff75d9bd: Download complete 08:13:37 8998bd30e6a1: Pull complete 08:13:37 04944245beec: Pull complete 08:13:39 699f458cf7ca: Pull complete 08:13:39 765212b225bb: Pull complete 08:13:40 f23df028b6ca: Pull complete 08:13:40 d65c8cfc05b1: Pull complete 08:13:58 2437ff75d9bd: Pull complete 08:13:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:13:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:13:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:58 prd-ubuntu20.04-docker-arm64-4c-16g-8240 does not seem to be running inside a container 08:13:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/307 -v /w/workspace/device-sdk-go/307:/w/workspace/device-sdk-go/307:rw,z -v /w/workspace/device-sdk-go/307@tmp:/w/workspace/device-sdk-go/307@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:14:02 $ docker top f284eeb4b50fc9f2d790f244e35c43bbd73f5e1f70f708618d767cd9ed1bd9cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:14:03 ---> job-cost.sh 08:14:03 lf-activate-venv: SKIPPING 08:14:03 INFO: No Stack... 08:14:03 INFO: Retrieving Pricing Info for: v3-standard-4 08:14:04 INFO: Archiving Costs [Pipeline] sh 08:14:04 + cut -d, -f6 08:14:04 + cat /w/workspace/device-sdk-go/307/archives/cost.csv [Pipeline] lock 08:14:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-307-stack-cost] 08:14:05 Resource [jenkins-edgexfoundry-device-sdk-go-main-307-stack-cost] did not exist. Created. 08:14:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-307-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:14:05 /w/workspace/device-sdk-go/307@tmp/durable-30bffccb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:14:06 + echo total: 0.10999999940395355 [Pipeline] stash 08:14:06 Warning: overwriting stash ‘stack-cost’ 08:14:06 Stashed 1 file(s) [Pipeline] } 08:14:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-307-stack-cost] [Pipeline] // lock [Pipeline] } 08:14:06 $ docker stop --time=1 f284eeb4b50fc9f2d790f244e35c43bbd73f5e1f70f708618d767cd9ed1bd9cc 08:14:08 $ docker rm -f --volumes f284eeb4b50fc9f2d790f244e35c43bbd73f5e1f70f708618d767cd9ed1bd9cc [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 08:14:08 provisioning config files... 08:14:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16916304594494499923tmp [Pipeline] { [Pipeline] sh 08:14:08 + set +x 08:14:08 + bash -s -- 08:14:08 + curl -s https://codecov.io/bash 08:14:08 08:14:08 _____ _ 08:14:08 / ____| | | 08:14:08 | | ___ __| | ___ ___ _____ __ 08:14:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:14:08 | |___| (_) | (_| | __/ (_| (_) \ V / 08:14:08 \_____\___/ \__,_|\___|\___\___/ \_/ 08:14:08 Bash-1.0.6 08:14:08 08:14:08 08:14:08 ==> git version 2.25.1 found 08:14:08 ==> 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 08:14:08 Release-Date: 2020-01-08 08:14:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:14:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:14:08 ==> Jenkins CI detected. 08:14:08 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 08:14:08 project root: . 08:14:08 --> token set from env 08:14:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:14:08 ==> Running gcov in . (disable via -X gcov) 08:14:08 ==> Python coveragepy not found 08:14:08 ==> Searching for coverage reports in: 08:14:09 + . 08:14:09 -> Found 1 reports 08:14:09 ==> Detecting git/mercurial file structure 08:14:09 ==> Reading reports 08:14:09 + ./coverage.out bytes=126055 08:14:09 ==> Appending adjustments 08:14:09 https://docs.codecov.io/docs/fixing-reports 08:14:09 + Found adjustments 08:14:09 ==> Gzipping contents 08:14:09 20K /tmp/codecov.tvyDCv.gz 08:14:09 ==> Uploading reports 08:14:09 url: https://codecov.io 08:14:09 query: branch=main&commit=a573d62abfd76acfce2b94ed3564a5c4c2542b9a&build=307&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F307%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:14:09 -> Pinging Codecov 08:14:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=a573d62abfd76acfce2b94ed3564a5c4c2542b9a&build=307&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F307%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:14:09 -> Uploading to 08:14:09 https://storage.googleapis.com/codecov/v4/raw/2024-08-23/7E55EF52A471D76F132DFD9A03CDDE97/a573d62abfd76acfce2b94ed3564a5c4c2542b9a/d51f5355-e3c5-4d77-beda-45f497bf7469.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240823%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240823T081409Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32d180fd2af7d9cf7db66f9b503a394f2cf28d6087aa9aae442dab26708f18f6 08:14:09 % Total % Received % Xferd Average Speed Time Time Time Current 08:14:09 Dload Upload Total Spent Left Speed 08:14:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17150 0 0 100 17150 0 70286 --:--:-- --:--:-- --:--:-- 70286 08:14:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a573d62abfd76acfce2b94ed3564a5c4c2542b9a [Pipeline] } 08:14:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:14:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:14:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:14:10 08:14:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:14:10 latest: Pulling from edgex-devops/edgex-snyk-go 08:14:10 619be1103602: Already exists 08:14:10 f8ea3408117e: Pulling fs layer 08:14:10 91320369b822: Pulling fs layer 08:14:10 0406650e8295: Pulling fs layer 08:14:10 4f4fb700ef54: Pulling fs layer 08:14:10 96d80e3f36e1: Pulling fs layer 08:14:10 bcf3aedb951c: Pulling fs layer 08:14:10 4f4fb700ef54: Waiting 08:14:10 96d80e3f36e1: Waiting 08:14:10 bcf3aedb951c: Waiting 08:14:10 0406650e8295: Download complete 08:14:10 f8ea3408117e: Verifying Checksum 08:14:10 4f4fb700ef54: Download complete 08:14:10 f8ea3408117e: Pull complete 08:14:10 96d80e3f36e1: Download complete 08:14:11 91320369b822: Verifying Checksum 08:14:11 91320369b822: Download complete 08:14:11 bcf3aedb951c: Verifying Checksum 08:14:11 bcf3aedb951c: Download complete 08:14:14 91320369b822: Pull complete 08:14:14 0406650e8295: Pull complete 08:14:14 4f4fb700ef54: Pull complete 08:14:14 96d80e3f36e1: Pull complete 08:14:17 bcf3aedb951c: Pull complete 08:14:17 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 08:14:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:14:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:17 prd-ubuntu20.04-docker-8c-8g-8228 does not seem to be running inside a container 08:14:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 08:14:23 $ docker top caf7724b88c708400688b2b3e43323263d28cf41ef9b5b4baa207d9c8fe9cc1d -eo pid,comm [Pipeline] { [Pipeline] sh 08:14:24 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 08:14:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 08:14:24 + set -o pipefail 08:14:24 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 08:14:33 08:14:33 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 08:14:33 08:14:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/0a8fce52-da0c-4d51-9f48-c18ebc54c554 08:14:33 08:14:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:14:33 08:14:33 08:14:33 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:14:33 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:14:33 $ docker stop --time=1 caf7724b88c708400688b2b3e43323263d28cf41ef9b5b4baa207d9c8fe9cc1d 08:14:42 $ docker rm -f --volumes caf7724b88c708400688b2b3e43323263d28cf41ef9b5b4baa207d9c8fe9cc1d [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 08:14:42 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:14:42 provisioning config files... 08:14:42 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2085343013234386198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:14:43 --> edgex-publish-swagger.sh 08:14:43 === Publish openapi/v3 API === 08:14:43 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 08:14:43 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 08:14:43 % Total % Received % Xferd Average Speed Time Time Time Current 08:14:43 Dload Upload Total Spent Left Speed 08:14:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28528 100 156 100 28372 363 66135 --:--:-- --:--:-- --:--:-- 66498 100 28528 100 156 100 28372 363 66135 --:--:-- --:--:-- --:--:-- 66344 08:14:43 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 08:14:43 [Pipeline] } 08:14:43 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 08:14:43 + git log --format=format:%s -1 a573d62abfd76acfce2b94ed3564a5c4c2542b9a [Pipeline] sh 08:14:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:14:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:14:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:44 prd-ubuntu20.04-docker-8c-8g-8228 does not seem to be running inside a container 08:14:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:14:45 $ docker top cb558d6b5b1a87c356bd6b22c397e0210d6a37893caf291b74d998b63be6c3cf -eo pid,comm 08:14:45 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). 08:14:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:14:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:14:45 [ssh-agent] Looking for ssh-agent implementation... 08:14:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:14:45 $ docker exec cb558d6b5b1a87c356bd6b22c397e0210d6a37893caf291b74d998b63be6c3cf ssh-agent 08:14:45 SSH_AUTH_SOCK=/tmp/ssh-bOyghDfiRGMY/agent.32 08:14:45 SSH_AGENT_PID=38 08:14:45 Running ssh-add (command line suppressed) 08:14:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11383055558903161100.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11383055558903161100.key) 08:14:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:14:46 + git semver tag 08:14:46 2024-08-23 08:14:46,186 [run_tag] DEBUG tag force:False 08:14:46 2024-08-23 08:14:46,186 [check_head_tag] DEBUG check head tag 08:14:46 2024-08-23 08:14:46,188 [execute] INFO git cat-file --batch-check 08:14:46 2024-08-23 08:14:46,189 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 08:14:46 2024-08-23 08:14:46,193 [execute] INFO git cat-file --batch 08:14:46 2024-08-23 08:14:46,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 08:14:46 2024-08-23 08:14:46,218 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:14:46 2024-08-23 08:14:46,219 [execute] INFO git tag -a v3.2.0-dev.32 -m v3.2.0-dev.32 08:14:46 2024-08-23 08:14:46,219 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.32', '-m', 'v3.2.0-dev.32'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 08:14:46 2024-08-23 08:14:46,223 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:14:46 3.2.0-dev.32 [Pipeline] } 08:14:46 $ docker exec --env ******** --env ******** cb558d6b5b1a87c356bd6b22c397e0210d6a37893caf291b74d998b63be6c3cf ssh-agent -k 08:14:46 unset SSH_AUTH_SOCK; 08:14:46 unset SSH_AGENT_PID; 08:14:46 echo Agent pid 38 killed; 08:14:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:14:46 + git semver [Pipeline] } 08:14:46 $ docker stop --time=1 cb558d6b5b1a87c356bd6b22c397e0210d6a37893caf291b74d998b63be6c3cf 08:14:48 $ docker rm -f --volumes cb558d6b5b1a87c356bd6b22c397e0210d6a37893caf291b74d998b63be6c3cf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:14:48 08:14:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:14:48 0.23.1-centos7: Pulling from edgex-lftools 08:14:48 ab5ef0e58194: Pulling fs layer 08:14:48 9712f1f96733: Pulling fs layer 08:14:48 63f879dbbcfc: Pulling fs layer 08:14:48 0d9ebad4ef96: Pulling fs layer 08:14:48 e9a5061849ea: Pulling fs layer 08:14:48 d747dcd14b5f: Pulling fs layer 08:14:48 2de7ff778b66: Pulling fs layer 08:14:48 0d9ebad4ef96: Waiting 08:14:48 e9a5061849ea: Waiting 08:14:48 2de7ff778b66: Waiting 08:14:48 9712f1f96733: Verifying Checksum 08:14:48 9712f1f96733: Download complete 08:14:49 63f879dbbcfc: Verifying Checksum 08:14:49 63f879dbbcfc: Download complete 08:14:49 e9a5061849ea: Verifying Checksum 08:14:49 e9a5061849ea: Download complete 08:14:49 d747dcd14b5f: Verifying Checksum 08:14:49 d747dcd14b5f: Download complete 08:14:49 ab5ef0e58194: Verifying Checksum 08:14:49 ab5ef0e58194: Download complete 08:14:49 0d9ebad4ef96: Verifying Checksum 08:14:49 0d9ebad4ef96: Download complete 08:14:49 2de7ff778b66: Verifying Checksum 08:14:49 2de7ff778b66: Download complete 08:14:52 ab5ef0e58194: Pull complete 08:14:52 9712f1f96733: Pull complete 08:14:52 63f879dbbcfc: Pull complete 08:14:56 0d9ebad4ef96: Pull complete 08:14:56 e9a5061849ea: Pull complete 08:14:56 d747dcd14b5f: Pull complete 08:14:57 2de7ff778b66: Pull complete 08:14:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:14:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:14:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:57 prd-ubuntu20.04-docker-8c-8g-8228 does not seem to be running inside a container 08:14:57 $ 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 08:15:05 $ docker top 514c7091cbe046b2e89a69d57fac12b28567e9a45386552285adef83630918e4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:15:05 provisioning config files... 08:15:05 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8213529112724440371tmp 08:15:05 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15346259347128039789tmp 08:15:05 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18330339068899191008tmp [Pipeline] { [Pipeline] echo 08:15:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:15:05 ---> sigul-configuration.sh 08:15:05 gpg: directory `/root/.gnupg' created 08:15:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:15:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:15:05 gpg: keyring `/root/.gnupg/secring.gpg' created 08:15:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:15:05 gpg: CAST5 encrypted data 08:15:05 gpg: encrypted with 1 passphrase 08:15:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:15:06 + mkdir /home/jenkins 08:15:06 + mkdir /home/jenkins/sigul [Pipeline] sh 08:15:06 + 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 08:15:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:15:06 ---> sigul-install.sh 08:15:06 Sigul already installed; skipping installation. [Pipeline] sh 08:15:07 + git tag --list 08:15:07 0.7.1 08:15:07 delhi-tag 08:15:07 v1.0.0 08:15:07 v1.1.0 08:15:07 v1.1.1 08:15:07 v1.1.2 08:15:07 v1.2.0 08:15:07 v1.2.1 08:15:07 v1.2.2 08:15:07 v1.2.3 08:15:07 v1.3.0 08:15:07 v1.4.0 08:15:07 v2.0.0 08:15:07 v2.1.0 08:15:07 v2.1.1 08:15:07 v2.2.0 08:15:07 v2.3.0 08:15:07 v2.3.1 08:15:07 v3.0 08:15:07 v3.0.0 08:15:07 v3.0.1-dev.1 08:15:07 v3.1 08:15:07 v3.1.0 08:15:07 v3.1.0-dev.1 08:15:07 v3.1.0-dev.10 08:15:07 v3.1.0-dev.11 08:15:07 v3.1.0-dev.12 08:15:07 v3.1.0-dev.13 08:15:07 v3.1.0-dev.14 08:15:07 v3.1.0-dev.15 08:15:07 v3.1.0-dev.16 08:15:07 v3.1.0-dev.17 08:15:07 v3.1.0-dev.18 08:15:07 v3.1.0-dev.19 08:15:07 v3.1.0-dev.2 08:15:07 v3.1.0-dev.20 08:15:07 v3.1.0-dev.21 08:15:07 v3.1.0-dev.22 08:15:07 v3.1.0-dev.23 08:15:07 v3.1.0-dev.24 08:15:07 v3.1.0-dev.25 08:15:07 v3.1.0-dev.26 08:15:07 v3.1.0-dev.27 08:15:07 v3.1.0-dev.28 08:15:07 v3.1.0-dev.29 08:15:07 v3.1.0-dev.3 08:15:07 v3.1.0-dev.30 08:15:07 v3.1.0-dev.31 08:15:07 v3.1.0-dev.32 08:15:07 v3.1.0-dev.33 08:15:07 v3.1.0-dev.34 08:15:07 v3.1.0-dev.35 08:15:07 v3.1.0-dev.36 08:15:07 v3.1.0-dev.37 08:15:07 v3.1.0-dev.38 08:15:07 v3.1.0-dev.39 08:15:07 v3.1.0-dev.4 08:15:07 v3.1.0-dev.40 08:15:07 v3.1.0-dev.41 08:15:07 v3.1.0-dev.5 08:15:07 v3.1.0-dev.6 08:15:07 v3.1.0-dev.7 08:15:07 v3.1.0-dev.8 08:15:07 v3.1.0-dev.9 08:15:07 v3.1.1 08:15:07 v3.1.1-dev.1 08:15:07 v3.2.0-dev.1 08:15:07 v3.2.0-dev.10 08:15:07 v3.2.0-dev.11 08:15:07 v3.2.0-dev.12 08:15:07 v3.2.0-dev.13 08:15:07 v3.2.0-dev.14 08:15:07 v3.2.0-dev.15 08:15:07 v3.2.0-dev.16 08:15:07 v3.2.0-dev.17 08:15:07 v3.2.0-dev.18 08:15:07 v3.2.0-dev.19 08:15:07 v3.2.0-dev.2 08:15:07 v3.2.0-dev.20 08:15:07 v3.2.0-dev.21 08:15:07 v3.2.0-dev.22 08:15:07 v3.2.0-dev.23 08:15:07 v3.2.0-dev.24 08:15:07 v3.2.0-dev.25 08:15:07 v3.2.0-dev.26 08:15:07 v3.2.0-dev.27 08:15:07 v3.2.0-dev.28 08:15:07 v3.2.0-dev.29 08:15:07 v3.2.0-dev.3 08:15:07 v3.2.0-dev.30 08:15:07 v3.2.0-dev.31 08:15:07 v3.2.0-dev.32 08:15:07 v3.2.0-dev.4 08:15:07 v3.2.0-dev.5 08:15:07 v3.2.0-dev.6 08:15:07 v3.2.0-dev.7 08:15:07 v3.2.0-dev.8 08:15:07 v3.2.0-dev.9 [Pipeline] sh 08:15:07 + lftools sign git-tag v3.2.0-dev.32 08:15:07 Signing Git tag with Sigul... 08:15:07 Signing v3.2.0-dev.32 [Pipeline] echo 08:15:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:15:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:15:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:15:08 $ docker stop --time=1 514c7091cbe046b2e89a69d57fac12b28567e9a45386552285adef83630918e4 08:15:09 $ docker rm -f --volumes 514c7091cbe046b2e89a69d57fac12b28567e9a45386552285adef83630918e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:15:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:15:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:15:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:10 prd-ubuntu20.04-docker-8c-8g-8228 does not seem to be running inside a container 08:15:10 $ 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 08:15:11 $ docker top 442301d57f4e190182d6dfe929c8e65e4f7aaa7eebf7f1230410bb5755c373eb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:15:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:15:11 [ssh-agent] Looking for ssh-agent implementation... 08:15:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:15:11 $ docker exec 442301d57f4e190182d6dfe929c8e65e4f7aaa7eebf7f1230410bb5755c373eb ssh-agent 08:15:11 SSH_AUTH_SOCK=/tmp/ssh-vqs486FXwUoF/agent.32 08:15:11 SSH_AGENT_PID=38 08:15:11 Running ssh-add (command line suppressed) 08:15:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9222442111243344940.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9222442111243344940.key) 08:15:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:15:11 + git semver bump pre 08:15:11 2024-08-23 08:15:11,882 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:15:11 2024-08-23 08:15:11,882 [bump_version] DEBUG bumping version:3.2.0-dev.32 on axis:pre with prefix:dev 08:15:11 2024-08-23 08:15:11,882 [bump_version] DEBUG bumped version:3.2.0-dev.33 08:15:11 2024-08-23 08:15:11,882 [write_version] DEBUG write version:3.2.0-dev.33 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 08:15:11 2024-08-23 08:15:11,882 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:15:11 2024-08-23 08:15:11,882 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:15:11 2024-08-23 08:15:11,884 [execute] INFO git cat-file --batch-check 08:15:11 2024-08-23 08:15:11,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:15:11 2024-08-23 08:15:11,890 [execute] INFO git cat-file --batch 08:15:11 2024-08-23 08:15:11,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:15:11 2024-08-23 08:15:11,895 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:15:11 3.2.0-dev.33 [Pipeline] } 08:15:11 $ docker exec --env ******** --env ******** 442301d57f4e190182d6dfe929c8e65e4f7aaa7eebf7f1230410bb5755c373eb ssh-agent -k 08:15:12 unset SSH_AUTH_SOCK; 08:15:12 unset SSH_AGENT_PID; 08:15:12 echo Agent pid 38 killed; 08:15:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:15:12 + git semver [Pipeline] } 08:15:12 $ docker stop --time=1 442301d57f4e190182d6dfe929c8e65e4f7aaa7eebf7f1230410bb5755c373eb 08:15:13 $ docker rm -f --volumes 442301d57f4e190182d6dfe929c8e65e4f7aaa7eebf7f1230410bb5755c373eb [Pipeline] // withDockerContainer [Pipeline] sh 08:15:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:15:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:15:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:14 prd-ubuntu20.04-docker-8c-8g-8228 does not seem to be running inside a container 08:15:14 $ 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 08:15:15 $ docker top f10ce6748939c287495267c7c9f1d96e3be14bce54d9823fa3ce79ba11cd1fd1 -eo pid,comm 08:15:15 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). 08:15:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:15:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:15:15 [ssh-agent] Looking for ssh-agent implementation... 08:15:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:15:15 $ docker exec f10ce6748939c287495267c7c9f1d96e3be14bce54d9823fa3ce79ba11cd1fd1 ssh-agent 08:15:15 SSH_AUTH_SOCK=/tmp/ssh-jTSQgQJRLwfq/agent.33 08:15:15 SSH_AGENT_PID=39 08:15:15 Running ssh-add (command line suppressed) 08:15:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15057853367396119696.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15057853367396119696.key) 08:15:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:15:15 + git semver push 08:15:16 2024-08-23 08:15:16,014 [run_push] DEBUG push 08:15:16 2024-08-23 08:15:16,015 [execute] INFO git cat-file --batch-check 08:15:16 2024-08-23 08:15:16,015 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:15:16 2024-08-23 08:15:16,019 [execute] INFO git rev-list 54430339e0d92e607e0b29d980a7301913a1be21 -- 08:15:16 2024-08-23 08:15:16,019 [execute] DEBUG Popen(['git', 'rev-list', '54430339e0d92e607e0b29d980a7301913a1be21', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:15:16 2024-08-23 08:15:16,033 [execute] INFO git fetch -v origin 08:15:16 2024-08-23 08:15:16,034 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:15:16 2024-08-23 08:15:16,589 [run_push] DEBUG no remote changes detected 08:15:16 2024-08-23 08:15:16,590 [execute] INFO git push origin semver 08:15:16 2024-08-23 08:15:16,590 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:15:17 2024-08-23 08:15:17,410 [run_push] DEBUG push all version tags 08:15:17 2024-08-23 08:15:17,410 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:15:17 2024-08-23 08:15:17,411 [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) 08:15:18 2024-08-23 08:15:18,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 08:15:18 3.2.0-dev.33 [Pipeline] } 08:15:18 $ docker exec --env ******** --env ******** f10ce6748939c287495267c7c9f1d96e3be14bce54d9823fa3ce79ba11cd1fd1 ssh-agent -k 08:15:18 unset SSH_AUTH_SOCK; 08:15:18 unset SSH_AGENT_PID; 08:15:18 echo Agent pid 39 killed; 08:15:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:15:18 + git semver [Pipeline] } 08:15:19 $ docker stop --time=1 f10ce6748939c287495267c7c9f1d96e3be14bce54d9823fa3ce79ba11cd1fd1 08:15:20 $ docker rm -f --volumes f10ce6748939c287495267c7c9f1d96e3be14bce54d9823fa3ce79ba11cd1fd1 [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 08:15:21 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 08:15:21 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:15:21 total 16 08:15:21 drwxr-xr-x 3 root root 4096 Aug 23 07:53 . 08:15:21 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 08:15 .. 08:15:21 drwxr-xr-x 2 root root 4096 Aug 23 07:53 cost 08:15:21 -rw-r--r-- 1 root root 85 Aug 23 07:53 cost.csv 08:15:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:15:21 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 08:15:21 total 16 08:15:21 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 07:53 . 08:15:21 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 08:15 .. 08:15:21 drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 07:53 cost 08:15:21 -rw-r--r-- 1 jenkins jenkins 85 Aug 23 07:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:15:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:15:22 ---> package-listing.sh 08:15:22 ++ facter osfamily 08:15:22 ++ tr '[:upper:]' '[:lower:]' 08:15:22 + OS_FAMILY=debian 08:15:22 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 08:15:22 + START_PACKAGES=/tmp/packages_start.txt 08:15:22 + END_PACKAGES=/tmp/packages_end.txt 08:15:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:15:22 + PACKAGES=/tmp/packages_start.txt 08:15:22 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 08:15:22 + PACKAGES=/tmp/packages_end.txt 08:15:22 + case "${OS_FAMILY}" in 08:15:22 + dpkg -l 08:15:22 + grep '^ii' 08:15:22 + '[' -f /tmp/packages_start.txt ']' 08:15:22 + '[' -f /tmp/packages_end.txt ']' 08:15:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:15:22 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 08:15:22 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 08:15:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 08:15:22 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 08:15:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:15:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:23 prd-ubuntu20.04-docker-8c-8g-8228 does not seem to be running inside a container 08:15:23 $ 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 08:15:23 $ docker top 9828d4e53d4086e5b51c89483e4fbb9318850910e3b6d64cdb55eabbe647cbf4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:15:24 + touch /tmp/pre-build-complete [Pipeline] sh 08:15:24 + mkdir -p /var/log/sysstat [Pipeline] sh 08:15:24 + ls /var/log/sa-host 08:15:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:24 provisioning config files... 08:15:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7665962232957841828tmp [Pipeline] { [Pipeline] echo 08:15:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:15:24 ---> create-netrc.sh [Pipeline] } 08:15:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:15:25 ---> python-tools-install.sh [Pipeline] echo 08:15:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:15:25 ---> sudo-logs.sh 08:15:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:15:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:15:25 ---> job-cost.sh 08:15:25 lf-activate-venv: SKIPPING 08:15:25 DEBUG: total: 0.2199999988079071 08:15:25 INFO: Retrieving Stack Cost... 08:15:26 INFO: Retrieving Pricing Info for: v3-standard-8 08:15:26 INFO: Archiving Costs [Pipeline] echo 08:15:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:15:26 ---> logs-deploy.sh 08:15:26 lf-activate-venv: SKIPPING 08:15:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/307 08:15:26 INFO: archiving workspace using pattern(s): 08:15:27 Archives upload complete. 08:15:27 INFO: archiving logs to Nexus