Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 160aeeac7f80da201deb091151152d5490173ec8 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-ssh5075897192512826303.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh5907269823525036940.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 f3350a1713306dce7682ed7e37d5774890d03277 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-ssh6838036027687950347.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh1904953777922043921.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-ssh15201281513737132819.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8769 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 160aeeac7f80da201deb091151152d5490173ec8 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 160aeeac7f80da201deb091151152d5490173ec8 # timeout=10 Commit message: "Merge pull request #1617 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.52" > git rev-list --no-walk a573d62abfd76acfce2b94ed3564a5c4c2542b9a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:22:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:22:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:22:44 ========================================================= 05:22:44 EdgeX Global Pipelines Version Info 05:22:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:22:45 ------------------- 05:22:45 stable info: 05:22:45 ------------------- 05:22:45 Commited By: Cherry Wang cherry@iotechsys.com 05:22:45 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 05:22:45 Message: update stable to v1.0.263 05:22:46 ------------------- 05:22:46 experimental info: 05:22:46 ------------------- 05:22:46 Commited By: Cherry Wang cherry@iotechsys.com 05:22:46 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 05:22:46 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 160aeeac7f80da201deb091151152d5490173ec8 [Pipeline] echo 05:22:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 160aeea [Pipeline] echo 05:22:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:22:47 provisioning config files... 05:22:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8863433093460735244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:47 ---> ****-login.sh 05:22:47 nexus3.edgexfoundry.org:10001 05:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:47 Configure a credential helper to remove this warning. See 05:22:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:47 05:22:47 Login Succeeded 05:22:47 nexus3.edgexfoundry.org:10002 05:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:47 Configure a credential helper to remove this warning. See 05:22:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:47 05:22:47 Login Succeeded 05:22:47 nexus3.edgexfoundry.org:10003 05:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:47 Configure a credential helper to remove this warning. See 05:22:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:47 05:22:47 Login Succeeded 05:22:47 nexus3.edgexfoundry.org:10004 05:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:47 Configure a credential helper to remove this warning. See 05:22:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:47 05:22:47 Login Succeeded 05:22:47 ****.io 05:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:22:48 Configure a credential helper to remove this warning. See 05:22:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:22:48 05:22:48 Login Succeeded 05:22:48 ---> ****-login.sh ends [Pipeline] } 05:22:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:22:48 + git rev-list -1 --merges 160aeeac7f80da201deb091151152d5490173ec8~1..160aeeac7f80da201deb091151152d5490173ec8 [Pipeline] echo 05:22:48 -----------> git rev-list -1 --merges 160aeeac7f80da201deb091151152d5490173ec8~1..160aeeac7f80da201deb091151152d5490173ec8 160aeeac7f80da201deb091151152d5490173ec8 05:22:48 160aeeac7f80da201deb091151152d5490173ec8 [false] [Pipeline] sh 05:22:48 + git log --format=format:%s -1 160aeeac7f80da201deb091151152d5490173ec8 [Pipeline] echo 05:22:48 ========================================================= 05:22:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:22:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:22:49 + git log --format=format:%s -1 160aeeac7f80da201deb091151152d5490173ec8 [Pipeline] echo 05:22:49 [semverPrep] GIT_COMMIT: 160aeeac7f80da201deb091151152d5490173ec8, Commit Message: Merge pull request #1617 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.52 [Pipeline] echo 05:22:49 [semverPrep] This is not a build commit. [Pipeline] sh 05:22:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:22:49 + grep -v github /etc/ssh/ssh_known_hosts 05:22:49 + [ -e /tmp/ssh_known_hosts ] 05:22:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:22:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:22:49 + sudo tee -a /etc/ssh/ssh_known_hosts 05:22:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:22:50 05:22:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:22:50 0.1.4: Pulling from edgex-devops/py-git-semver 05:22:50 b85a868b505f: Pulling fs layer 05:22:50 e2be974225ed: Pulling fs layer 05:22:50 339a4e72a1f5: Pulling fs layer 05:22:50 988bab9f4d93: Pulling fs layer 05:22:50 1469e6f7b9e6: Pulling fs layer 05:22:50 eaf3925da568: Pulling fs layer 05:22:50 bab4dde63d76: Pulling fs layer 05:22:50 bde34c3a00c8: Pulling fs layer 05:22:50 b352a97aabf1: Pulling fs layer 05:22:50 4872d77fe225: Pulling fs layer 05:22:50 5851b861e8e6: Pulling fs layer 05:22:50 1469e6f7b9e6: Waiting 05:22:50 eaf3925da568: Waiting 05:22:50 bab4dde63d76: Waiting 05:22:50 bde34c3a00c8: Waiting 05:22:50 b352a97aabf1: Waiting 05:22:50 4872d77fe225: Waiting 05:22:50 5851b861e8e6: Waiting 05:22:50 988bab9f4d93: Waiting 05:22:50 e2be974225ed: Download complete 05:22:50 988bab9f4d93: Download complete 05:22:50 1469e6f7b9e6: Verifying Checksum 05:22:50 1469e6f7b9e6: Download complete 05:22:50 eaf3925da568: Download complete 05:22:50 339a4e72a1f5: Verifying Checksum 05:22:50 339a4e72a1f5: Download complete 05:22:50 bde34c3a00c8: Download complete 05:22:50 b352a97aabf1: Download complete 05:22:50 4872d77fe225: Verifying Checksum 05:22:50 4872d77fe225: Download complete 05:22:50 5851b861e8e6: Download complete 05:22:50 b85a868b505f: Download complete 05:22:50 bab4dde63d76: Verifying Checksum 05:22:51 b85a868b505f: Pull complete 05:22:51 e2be974225ed: Pull complete 05:22:52 339a4e72a1f5: Pull complete 05:22:52 988bab9f4d93: Pull complete 05:22:52 1469e6f7b9e6: Pull complete 05:22:52 eaf3925da568: Pull complete 05:22:55 bab4dde63d76: Pull complete 05:22:55 bde34c3a00c8: Pull complete 05:22:55 b352a97aabf1: Pull complete 05:22:55 4872d77fe225: Pull complete 05:22:55 5851b861e8e6: Pull complete 05:22:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:22:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:22:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:55 prd-ubuntu20.04-docker-8c-8g-8769 does not seem to be running inside a container 05:22:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:23:00 $ docker top c07a157973000146e37f38bd3d41f91ce27462970b62b12a6a884efbf0a66485 -eo pid,comm 05:23:00 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). 05:23:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:23:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:00 [ssh-agent] Looking for ssh-agent implementation... 05:23:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:00 $ docker exec c07a157973000146e37f38bd3d41f91ce27462970b62b12a6a884efbf0a66485 ssh-agent 05:23:00 SSH_AUTH_SOCK=/tmp/ssh-QPyfv4pSKiQF/agent.32 05:23:00 SSH_AGENT_PID=38 05:23:00 Running ssh-add (command line suppressed) 05:23:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12523328297050660988.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12523328297050660988.key) 05:23:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:01 + git tag --points-at HEAD [Pipeline] } 05:23:01 $ docker exec --env ******** --env ******** c07a157973000146e37f38bd3d41f91ce27462970b62b12a6a884efbf0a66485 ssh-agent -k 05:23:01 unset SSH_AUTH_SOCK; 05:23:01 unset SSH_AGENT_PID; 05:23:01 echo Agent pid 38 killed; 05:23:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:23:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:01 [ssh-agent] Looking for ssh-agent implementation... 05:23:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:01 $ docker exec c07a157973000146e37f38bd3d41f91ce27462970b62b12a6a884efbf0a66485 ssh-agent 05:23:01 SSH_AUTH_SOCK=/tmp/ssh-PmqN4hAR1Y5O/agent.71 05:23:01 SSH_AGENT_PID=77 05:23:01 Running ssh-add (command line suppressed) 05:23:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17199574502969516124.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17199574502969516124.key) 05:23:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:01 + git semver init 05:23:02 2024-08-27 05:23:01,991 [run_init] DEBUG init version:0.0.0 force:False 05:23:02 2024-08-27 05:23:01,992 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:23:02 2024-08-27 05:23:01,993 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:23:02 2024-08-27 05:23:01,993 [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) 05:23:04 2024-08-27 05:23:04,060 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:23:04 2024-08-27 05:23:04,060 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:23:04 2024-08-27 05:23:04,060 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:23:04 2024-08-27 05:23:04,061 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:23:04 3.2.0-dev.33 [Pipeline] } 05:23:04 $ docker exec --env ******** --env ******** c07a157973000146e37f38bd3d41f91ce27462970b62b12a6a884efbf0a66485 ssh-agent -k 05:23:04 unset SSH_AUTH_SOCK; 05:23:04 unset SSH_AGENT_PID; 05:23:04 echo Agent pid 77 killed; 05:23:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:23:05 + git semver [Pipeline] } 05:23:05 $ docker stop --time=1 c07a157973000146e37f38bd3d41f91ce27462970b62b12a6a884efbf0a66485 05:23:06 $ docker rm -f --volumes c07a157973000146e37f38bd3d41f91ce27462970b62b12a6a884efbf0a66485 [Pipeline] // withDockerContainer [Pipeline] sh 05:23:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:23:07 Stashed 1 file(s) [Pipeline] echo 05:23:07 [edgeXSemver]: initialized semver on version 3.2.0-dev.33 [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 05:23:07 provisioning config files... 05:23:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15744128722453272292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:23:07 ---> ****-login.sh 05:23:07 nexus3.edgexfoundry.org:10001 05:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:23:07 Configure a credential helper to remove this warning. See 05:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:23:07 05:23:07 Login Succeeded 05:23:07 nexus3.edgexfoundry.org:10002 05:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:23:07 Configure a credential helper to remove this warning. See 05:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:23:07 05:23:07 Login Succeeded 05:23:07 nexus3.edgexfoundry.org:10003 05:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:23:07 Configure a credential helper to remove this warning. See 05:23:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:23:07 05:23:07 Login Succeeded 05:23:07 nexus3.edgexfoundry.org:10004 05:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:23:08 Configure a credential helper to remove this warning. See 05:23:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:23:08 05:23:08 Login Succeeded 05:23:08 ****.io 05:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:23:08 Configure a credential helper to remove this warning. See 05:23:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:23:08 05:23:08 Login Succeeded 05:23:08 ---> ****-login.sh ends [Pipeline] } 05:23:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:23:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:23:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:23:08 ========================================================= 05:23:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:23:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:08 + 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 . 05:23:08 Sending build context to Docker daemon 25.2MB 05:23:08 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:23:08 Step 2/10 : FROM ${BASE} AS builder 05:23:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:23:09 619be1103602: Pulling fs layer 05:23:09 7862e08f4a3e: Pulling fs layer 05:23:09 5df492c9dc93: Pulling fs layer 05:23:09 7629e6793208: Pulling fs layer 05:23:09 4f4fb700ef54: Pulling fs layer 05:23:09 fb5054dd5b73: Pulling fs layer 05:23:09 eeca6798cff9: Pulling fs layer 05:23:09 aa269ceb94a6: Pulling fs layer 05:23:09 ada007ff1a6a: Pulling fs layer 05:23:09 7629e6793208: Waiting 05:23:09 4f4fb700ef54: Waiting 05:23:09 fb5054dd5b73: Waiting 05:23:09 eeca6798cff9: Waiting 05:23:09 7862e08f4a3e: Verifying Checksum 05:23:09 7862e08f4a3e: Download complete 05:23:09 7629e6793208: Verifying Checksum 05:23:09 7629e6793208: Download complete 05:23:09 4f4fb700ef54: Verifying Checksum 05:23:09 4f4fb700ef54: Download complete 05:23:09 fb5054dd5b73: Verifying Checksum 05:23:09 fb5054dd5b73: Download complete 05:23:09 619be1103602: Verifying Checksum 05:23:09 619be1103602: Download complete 05:23:09 eeca6798cff9: Verifying Checksum 05:23:09 eeca6798cff9: Download complete 05:23:09 619be1103602: Pull complete 05:23:09 ada007ff1a6a: Verifying Checksum 05:23:09 ada007ff1a6a: Download complete 05:23:09 7862e08f4a3e: Pull complete 05:23:09 5df492c9dc93: Verifying Checksum 05:23:09 5df492c9dc93: Download complete 05:23:09 aa269ceb94a6: Verifying Checksum 05:23:09 aa269ceb94a6: Download complete 05:23:12 5df492c9dc93: Pull complete 05:23:12 7629e6793208: Pull complete 05:23:12 4f4fb700ef54: Pull complete 05:23:12 fb5054dd5b73: Pull complete 05:23:12 eeca6798cff9: Pull complete 05:23:15 aa269ceb94a6: Pull complete 05:23:15 ada007ff1a6a: Pull complete 05:23:15 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:23:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:23:15 ---> f489d0715acc 05:23:15 Step 3/10 : ARG MAKE=make build 05:23:22 ---> Running in 1f5335abde5c 05:23:22 Removing intermediate container 1f5335abde5c 05:23:22 ---> 75af4705bdf9 05:23:22 Step 4/10 : WORKDIR /device-sdk-go 05:23:22 ---> Running in 17d0a9e11288 05:23:22 Removing intermediate container 17d0a9e11288 05:23:22 ---> 1e541548fccd 05:23:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:23:22 ---> Running in 51cc708b79ce 05:23:22 Removing intermediate container 51cc708b79ce 05:23:22 ---> a9de65ff7cc1 05:23:22 Step 6/10 : RUN apk add --update --no-cache make git 05:23:22 ---> Running in 53a3b3153d89 05:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:23:22 OK: 264 MiB in 52 packages 05:23:22 Still waiting to schedule task 05:23:22 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8770’ is offline 05:23:22 Removing intermediate container 53a3b3153d89 05:23:22 ---> 3ae2184c7cdd 05:23:22 Step 7/10 : COPY go.mod vendor* ./ 05:23:22 ---> 82460e351b6f 05:23:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:23:22 ---> Running in e57237234c5e 05:24:18 Removing intermediate container e57237234c5e 05:24:18 ---> f81e2fdce6de 05:24:18 Step 9/10 : COPY . . 05:24:18 ---> 8f7ff0891036 05:24:18 Step 10/10 : RUN ${MAKE} 05:24:18 ---> Running in 27ed8c90d226 05:24:18 noop 05:24:18 Removing intermediate container 27ed8c90d226 05:24:18 ---> 48009b27be73 05:24:18 Successfully built 48009b27be73 05:24:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:18 + docker inspect -f . ci-base-image-x86_64 05:24:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:19 prd-ubuntu20.04-docker-8c-8g-8769 does not seem to be running inside a container 05:24:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:24:19 $ docker top ac210f9997f748cd1a8b0451f0fa8bf4feb8deb1cbc17adad2167bff2db7050b -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:20 + go version 05:24:20 go version go1.21.9 linux/amd64 [Pipeline] } 05:24:20 $ docker stop --time=1 ac210f9997f748cd1a8b0451f0fa8bf4feb8deb1cbc17adad2167bff2db7050b 05:24:21 $ docker rm -f --volumes ac210f9997f748cd1a8b0451f0fa8bf4feb8deb1cbc17adad2167bff2db7050b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:22 + docker inspect -f . ci-base-image-x86_64 05:24:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:22 prd-ubuntu20.04-docker-8c-8g-8769 does not seem to be running inside a container 05:24:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:24:22 $ docker top c641b25eedb2bbbe1a4d6d032642d701dabeeb0a763431a5cadcb94bcbcf76b8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:24:23 + make test 05:24:23 go test -race -coverprofile=coverage.out ./... 05:24:31 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:24:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.022s coverage: 26.0% of statements 05:24:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.030s coverage: 79.4% of statements 05:24:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.042s coverage: 86.0% of statements 05:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:24:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:24:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.074s coverage: 52.2% of statements 05:24:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:25:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.032s coverage: 14.4% of statements 05:25:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.164s coverage: 44.6% of statements 05:25:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.051s coverage: 68.5% of statements 05:25:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 89.2% of statements 05:25:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.4% of statements 05:25:34 GO111MODULE=on go vet ./... 05:25:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:25:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:25:35 ./bin/test-attribution-txt.sh [Pipeline] echo 05:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:25:35 $ docker stop --time=1 c641b25eedb2bbbe1a4d6d032642d701dabeeb0a763431a5cadcb94bcbcf76b8 05:25:43 $ docker rm -f --volumes c641b25eedb2bbbe1a4d6d032642d701dabeeb0a763431a5cadcb94bcbcf76b8 [Pipeline] // withDockerContainer [Pipeline] sh 05:25:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:25:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:25:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:25:44 + ls -al . 05:25:44 total 380 05:25:44 drwxrwxr-x 11 jenkins jenkins 4096 Aug 27 05:24 . 05:25:44 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 05:22 .. 05:25:44 -rw-rw-r-- 1 jenkins jenkins 140 Aug 27 05:22 .dockerignore 05:25:44 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 05:25 .git 05:25:44 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 05:22 .github 05:25:44 -rw-rw-r-- 1 jenkins jenkins 137 Aug 27 05:22 .gitignore 05:25:44 -rw-rw-r-- 1 jenkins jenkins 42 Aug 27 05:22 .golangci.yml 05:25:44 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 05:23 .semver 05:25:44 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 27 05:22 CHANGELOG.md 05:25:44 -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 05:22 GOVERNANCE.md 05:25:44 -rw-rw-r-- 1 jenkins jenkins 885 Aug 27 05:22 Jenkinsfile 05:25:44 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 27 05:22 LICENSE 05:25:44 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 27 05:22 Makefile 05:25:44 -rw-rw-r-- 1 jenkins jenkins 619 Aug 27 05:22 OWNERS.md 05:25:44 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 27 05:22 README.md 05:25:44 -rw-rw-r-- 1 jenkins jenkins 12 Aug 27 05:23 VERSION 05:25:44 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 05:22 bin 05:25:44 -rw-r--r-- 1 jenkins jenkins 126053 Aug 27 05:25 coverage.out 05:25:44 drwxrwxr-x 5 jenkins jenkins 4096 Aug 27 05:22 example 05:25:44 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 27 05:22 go.mod 05:25:44 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 27 05:22 go.sum 05:25:44 drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 05:22 internal 05:25:44 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 05:22 openapi 05:25:44 drwxrwxr-x 6 jenkins jenkins 4096 Aug 27 05:22 pkg 05:25:44 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 05:22 snap 05:25:44 -rw-rw-r-- 1 jenkins jenkins 222 Aug 27 05:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:45 + 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=160aeeac7f80da201deb091151152d5490173ec8 --label arch=amd64 --label version=3.2.0-dev.33 . 05:25:45 Sending build context to Docker daemon 25.32MB 05:25:45 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:25:45 Step 2/24 : FROM ${BASE} AS builder 05:25:45 ---> 48009b27be73 05:25:45 Step 3/24 : ARG MAKE=make build 05:25:45 ---> Running in d6e4637d6518 05:25:45 Removing intermediate container d6e4637d6518 05:25:45 ---> 460541c754d6 05:25:45 Step 4/24 : WORKDIR /device-sdk-go 05:25:45 ---> Running in d7fe239f6846 05:25:45 Removing intermediate container d7fe239f6846 05:25:45 ---> 4c8063801aac 05:25:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:25:45 ---> Running in 9b9b6b784aca 05:25:45 Removing intermediate container 9b9b6b784aca 05:25:45 ---> fba62070c8e3 05:25:45 Step 6/24 : RUN apk add --update --no-cache make git 05:25:45 ---> Running in 0c64f8992960 05:25:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:25:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:25:46 OK: 264 MiB in 52 packages 05:25:47 Removing intermediate container 0c64f8992960 05:25:47 ---> 4ffcd75d6fe4 05:25:47 Step 7/24 : COPY go.mod vendor* ./ 05:25:47 ---> 8a5700b2bcaf 05:25:47 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:25:47 ---> Running in da8739e40215 05:25:47 Removing intermediate container da8739e40215 05:25:47 ---> 8a2327679e94 05:25:47 Step 9/24 : COPY . . 05:25:48 ---> 5567c5dc372b 05:25:48 Step 10/24 : RUN ${MAKE} 05:25:48 ---> Running in 99442f917f3e 05:25:48 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.33 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.33" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:26:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8772 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:26:16 Running in /w/workspace/device-sdk-go/308 [Pipeline] { [Pipeline] checkout 05:26:19 The recommended git tool is: git 05:26:27 Removing intermediate container 99442f917f3e 05:26:27 ---> f6f3a40a667e 05:26:27 Step 11/24 : FROM alpine:3.18 05:26:27 3.18: Pulling from library/alpine 05:26:27 930bdd4d222e: Pulling fs layer 05:26:27 930bdd4d222e: Download complete 05:26:27 930bdd4d222e: Pull complete 05:26:27 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 05:26:27 Status: Downloaded newer image for alpine:3.18 05:26:27 ---> 18f865063206 05:26:27 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:26:27 ---> Running in d9f0fcb165e2 05:26:27 Removing intermediate container d9f0fcb165e2 05:26:27 ---> afb3fae6b853 05:26:27 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:26:27 ---> Running in f0c7c858316d 05:26:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:26:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:26:27 (1/1) Installing dumb-init (1.2.5-r2) 05:26:27 Executing busybox-1.36.1-r7.trigger 05:26:27 OK: 7 MiB in 16 packages 05:26:27 Removing intermediate container f0c7c858316d 05:26:27 ---> 429c0497ebea 05:26:27 Step 14/24 : RUN apk --no-cache upgrade 05:26:27 ---> Running in 7ef4ddd86f6e 05:26:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:26:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:26:27 OK: 7 MiB in 16 packages 05:26:27 Removing intermediate container 7ef4ddd86f6e 05:26:27 ---> 6fc4dbcc89b4 05:26:27 Step 15/24 : WORKDIR / 05:26:27 ---> Running in 5c66d382263f 05:26:27 Removing intermediate container 5c66d382263f 05:26:27 ---> 2e033c2dd158 05:26:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:26:27 ---> a3835d89627f 05:26:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:26:27 ---> 9547b9b7d07b 05:26:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:26:27 ---> ef52d5f8a90b 05:26:27 Step 19/24 : EXPOSE 59999 05:26:27 ---> Running in 3d3477ef1494 05:26:27 Removing intermediate container 3d3477ef1494 05:26:27 ---> fde91d5f3866 05:26:27 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:26:27 ---> Running in 0da19a1fdbb8 05:26:27 Removing intermediate container 0da19a1fdbb8 05:26:27 ---> 091c5db328c1 05:26:27 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:26:27 ---> Running in 36029dd64028 05:26:27 Removing intermediate container 36029dd64028 05:26:27 ---> d167090f0705 05:26:27 Step 22/24 : LABEL arch=amd64 05:26:27 ---> Running in 6364ebde8f74 05:26:28 using credential edgex-jenkins-ssh 05:26:28 Cloning the remote Git repository 05:26:28 Removing intermediate container 6364ebde8f74 05:26:28 ---> f8465a8ffdfb 05:26:28 Step 23/24 : LABEL git_sha=160aeeac7f80da201deb091151152d5490173ec8 05:26:28 ---> Running in a0322cd3a609 05:26:28 Removing intermediate container a0322cd3a609 05:26:28 ---> 91c538896c6f 05:26:28 Step 24/24 : LABEL version=3.2.0-dev.33 05:26:28 ---> Running in 32d21404577a 05:26:28 Removing intermediate container 32d21404577a 05:26:28 ---> bfc28535d9e5 05:26:28 [Warning] One or more build-args [ARCH] were not consumed 05:26:28 Successfully built bfc28535d9e5 05:26:28 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 05:26:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:26:28 05:26:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:26:28 > git init /w/workspace/device-sdk-go/308 # timeout=10 05:26:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:26:28 > git --version # timeout=10 05:26:28 > git --version # 'git version 2.25.1' 05:26:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:26:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:26:29 latest: Pulling from edgex-lftools-log-publisher 05:26:29 5eb5b503b376: Pulling fs layer 05:26:29 5c69ac0246d0: Pulling fs layer 05:26:29 ec43610c2a17: Pulling fs layer 05:26:29 3a2ae6a8a46f: Pulling fs layer 05:26:29 33b1e0a273af: Pulling fs layer 05:26:29 5d3b04190fa2: Pulling fs layer 05:26:29 2f39f015ded8: Pulling fs layer 05:26:29 2f39f015ded8: Waiting 05:26:29 3a2ae6a8a46f: Waiting 05:26:29 5d3b04190fa2: Waiting 05:26:29 33b1e0a273af: Waiting 05:26:29 5c69ac0246d0: Download complete 05:26:29 3a2ae6a8a46f: Verifying Checksum 05:26:29 3a2ae6a8a46f: Download complete 05:26:29 ec43610c2a17: Verifying Checksum 05:26:29 ec43610c2a17: Download complete 05:26:29 33b1e0a273af: Verifying Checksum 05:26:29 33b1e0a273af: Download complete 05:26:29 5d3b04190fa2: Verifying Checksum 05:26:29 5d3b04190fa2: Download complete 05:26:29 5eb5b503b376: Verifying Checksum 05:26:29 5eb5b503b376: Download complete 05:26:29 2f39f015ded8: Download complete 05:26:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:26:30 5eb5b503b376: Pull complete 05:26:30 5c69ac0246d0: Pull complete 05:26:30 ec43610c2a17: Pull complete 05:26:30 3a2ae6a8a46f: Pull complete 05:26:31 33b1e0a273af: Pull complete 05:26:31 5d3b04190fa2: Pull complete 05:26:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:26:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:26:33 Avoid second fetch 05:26:33 Checking out Revision 160aeeac7f80da201deb091151152d5490173ec8 (main) 05:26:34 Commit message: "Merge pull request #1617 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.52" 05:26:33 > git config core.sparsecheckout # timeout=10 05:26:33 > git checkout -f 160aeeac7f80da201deb091151152d5490173ec8 # timeout=10 05:26:35 2f39f015ded8: Pull complete 05:26:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:26:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:26:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:35 prd-ubuntu20.04-docker-8c-8g-8769 does not seem to be running inside a container 05:26:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:26:38 05:26:38 GitHub has been notified of this commit’s build result 05:26:38 05:26:40 $ docker top 3d8b7bba54824cc665652ffbcf825d99387eddf5381f228990ea1f53abd45301 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:26:41 ---> job-cost.sh 05:26:41 lf-activate-venv: SKIPPING 05:26:41 INFO: No Stack... 05:26:41 INFO: Retrieving Pricing Info for: v3-standard-8 05:26:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:26:41 % Total % Received % Xferd Average Speed Time Time Time Current 05:26:41 Dload Upload Total Spent Left Speed 05:26:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 05:26:41 INFO: Archiving Costs [Pipeline] sh 05:26:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:26:41 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:26:41 + cut -d, -f6 [Pipeline] lock 05:26:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-308-stack-cost] 05:26:41 Resource [jenkins-edgexfoundry-device-sdk-go-main-308-stack-cost] did not exist. Created. 05:26:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-308-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:26:42 + sudo tee /etc/docker/daemon.new+ 05:26:42 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:26:42 { 05:26:42 "registry-mirrors": [ 05:26:42 "https://nexus3.edgexfoundry.org:10001" 05:26:42 ], 05:26:42 "bip": "10.250.0.254/24", 05:26:42 "hosts": [ 05:26:42 "tcp://0.0.0.0:5555", 05:26:42 "unix:///var/run/docker.sock" 05:26:42 ], 05:26:42 "mtu": 1458, 05:26:42 "selinux-enabled": true, 05:26:42 "seccomp-profile": "/etc/docker/seccomp.json" 05:26:42 } [Pipeline] sh 05:26:42 + echo total: 0.2199999988079071 [Pipeline] stash 05:26:42 Stashed 1 file(s) [Pipeline] } 05:26:42 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-308-stack-cost] [Pipeline] // lock [Pipeline] } 05:26:42 $ docker stop --time=1 3d8b7bba54824cc665652ffbcf825d99387eddf5381f228990ea1f53abd45301 05:26:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 05:26:43 $ docker rm -f --volumes 3d8b7bba54824cc665652ffbcf825d99387eddf5381f228990ea1f53abd45301 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:26:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:27:02 provisioning config files... 05:27:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/308@tmp/config6375910059528627558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:02 ---> ****-login.sh 05:27:02 nexus3.edgexfoundry.org:10001 05:27:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:03 Configure a credential helper to remove this warning. See 05:27:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:03 05:27:03 Login Succeeded 05:27:03 nexus3.edgexfoundry.org:10002 05:27:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:03 Configure a credential helper to remove this warning. See 05:27:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:03 05:27:03 Login Succeeded 05:27:03 nexus3.edgexfoundry.org:10003 05:27:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:04 Configure a credential helper to remove this warning. See 05:27:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:04 05:27:04 Login Succeeded 05:27:04 nexus3.edgexfoundry.org:10004 05:27:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:04 Configure a credential helper to remove this warning. See 05:27:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:04 05:27:04 Login Succeeded 05:27:04 ****.io 05:27:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:27:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:27:05 Configure a credential helper to remove this warning. See 05:27:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:27:05 05:27:05 Login Succeeded 05:27:05 ---> ****-login.sh ends [Pipeline] } 05:27:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:27:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:27:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:27:05 ========================================================= 05:27:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:27:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:05 + 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 . 05:27:06 Sending build context to Docker daemon 13.03MB 05:27:06 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:27:06 Step 2/10 : FROM ${BASE} AS builder 05:27:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:27:06 c6b39de5b339: Pulling fs layer 05:27:06 a69c41024577: Pulling fs layer 05:27:06 d6de4b400683: Pulling fs layer 05:27:06 35cb2a7552d0: Pulling fs layer 05:27:06 4f4fb700ef54: Pulling fs layer 05:27:06 464afbd9ba4c: Pulling fs layer 05:27:06 00f215d4a9da: Pulling fs layer 05:27:06 d496ad576159: Pulling fs layer 05:27:06 464afbd9ba4c: Waiting 05:27:06 00f215d4a9da: Waiting 05:27:06 d496ad576159: Waiting 05:27:06 35cb2a7552d0: Waiting 05:27:06 4f4fb700ef54: Waiting 05:27:06 a69c41024577: Verifying Checksum 05:27:06 a69c41024577: Download complete 05:27:06 35cb2a7552d0: Verifying Checksum 05:27:06 35cb2a7552d0: Download complete 05:27:06 4f4fb700ef54: Verifying Checksum 05:27:06 4f4fb700ef54: Download complete 05:27:06 464afbd9ba4c: Verifying Checksum 05:27:06 464afbd9ba4c: Download complete 05:27:06 c6b39de5b339: Verifying Checksum 05:27:06 c6b39de5b339: Download complete 05:27:07 d496ad576159: Verifying Checksum 05:27:07 d496ad576159: Download complete 05:27:07 c6b39de5b339: Pull complete 05:27:08 a69c41024577: Pull complete 05:27:08 d6de4b400683: Verifying Checksum 05:27:08 d6de4b400683: Download complete 05:27:09 00f215d4a9da: Verifying Checksum 05:27:09 00f215d4a9da: Download complete 05:27:22 d6de4b400683: Pull complete 05:27:22 35cb2a7552d0: Pull complete 05:27:22 4f4fb700ef54: Pull complete 05:27:23 464afbd9ba4c: Pull complete 05:27:33 00f215d4a9da: Pull complete 05:27:34 d496ad576159: Pull complete 05:27:34 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:27:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:27:34 ---> f246e2811388 05:27:34 Step 3/10 : ARG MAKE=make build 05:27:36 ---> Running in 187951fd5287 05:27:36 Removing intermediate container 187951fd5287 05:27:36 ---> 0be36bca347e 05:27:36 Step 4/10 : WORKDIR /device-sdk-go 05:27:36 ---> Running in 800ecd4fff50 05:27:37 Removing intermediate container 800ecd4fff50 05:27:37 ---> 7e993ae10e35 05:27:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:27:37 ---> Running in 10a27dd4d88d 05:27:37 Removing intermediate container 10a27dd4d88d 05:27:37 ---> a7314425737a 05:27:37 Step 6/10 : RUN apk add --update --no-cache make git 05:27:37 ---> Running in 96c043d38991 05:27:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:27:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:27:40 OK: 266 MiB in 52 packages 05:27:41 Removing intermediate container 96c043d38991 05:27:41 ---> 742c6f4a484e 05:27:41 Step 7/10 : COPY go.mod vendor* ./ 05:27:42 ---> 89618a1571d3 05:27:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:27:42 ---> Running in 8ba02bce1f32 05:29:48 Removing intermediate container 8ba02bce1f32 05:29:48 ---> 93feda93094f 05:29:48 Step 9/10 : COPY . . 05:29:48 ---> 9ddc580a9602 05:29:48 Step 10/10 : RUN ${MAKE} 05:29:48 ---> Running in 44ae96a854a0 05:29:48 noop 05:29:48 Removing intermediate container 44ae96a854a0 05:29:48 ---> 2df23d22146b 05:29:48 Successfully built 2df23d22146b 05:29:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:49 + docker inspect -f . ci-base-image-arm64 05:29:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:49 prd-ubuntu20.04-docker-arm64-4c-16g-8772 does not seem to be running inside a container 05:29:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/308 -v /w/workspace/device-sdk-go/308:/w/workspace/device-sdk-go/308:rw,z -v /w/workspace/device-sdk-go/308@tmp:/w/workspace/device-sdk-go/308@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 05:29:50 $ docker top 77a3a03a14d94450a82af8eab7170453a3732daf2dee1cbe1dce8a57528bf3f4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:51 + go version 05:29:51 go version go1.21.9 linux/arm64 [Pipeline] } 05:29:51 $ docker stop --time=1 77a3a03a14d94450a82af8eab7170453a3732daf2dee1cbe1dce8a57528bf3f4 05:29:53 $ docker rm -f --volumes 77a3a03a14d94450a82af8eab7170453a3732daf2dee1cbe1dce8a57528bf3f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:53 + docker inspect -f . ci-base-image-arm64 05:29:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:54 prd-ubuntu20.04-docker-arm64-4c-16g-8772 does not seem to be running inside a container 05:29:54 $ 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/308 -v /w/workspace/device-sdk-go/308:/w/workspace/device-sdk-go/308:rw,z -v /w/workspace/device-sdk-go/308@tmp:/w/workspace/device-sdk-go/308@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 05:29:55 $ docker top a7b44c47d5b6b799493a3c1a5900a46abdf15b4d5f0735c8cee5206a739715a5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:56 + git config --global --add safe.directory /w/workspace/device-sdk-go/308 [Pipeline] fileExists [Pipeline] sh 05:29:56 + make test 05:29:56 go test -race -coverprofile=coverage.out ./... 05:30:53 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:34:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:34:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:34:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:34:29 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:34:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:34:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.127s coverage: 26.0% of statements 05:34:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.186s coverage: 79.4% of statements 05:34:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:34:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:34:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.306s coverage: 86.0% of statements 05:35:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:35:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.483s coverage: 52.2% of statements 05:35:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.207s coverage: 14.4% of statements 05:35:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.743s coverage: 44.6% of statements 05:35:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:35:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:35:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.350s coverage: 68.5% of statements 05:35:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.397s coverage: 89.2% of statements 05:35:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:35:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.249s coverage: 5.4% of statements 05:35:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:35:23 GO111MODULE=on go vet ./... 05:39:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:39:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:39:31 ./bin/test-attribution-txt.sh [Pipeline] echo 05:39:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:39:31 $ docker stop --time=1 a7b44c47d5b6b799493a3c1a5900a46abdf15b4d5f0735c8cee5206a739715a5 05:39:33 $ docker rm -f --volumes a7b44c47d5b6b799493a3c1a5900a46abdf15b4d5f0735c8cee5206a739715a5 [Pipeline] // withDockerContainer [Pipeline] sh 05:39:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:39:35 Warning: overwriting stash ‘coverage-report’ 05:39:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:39:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:39:36 + ls -al . 05:39:36 total 376 05:39:36 drwxrwxr-x 10 jenkins jenkins 4096 Aug 27 05:30 . 05:39:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 05:26 .. 05:39:36 -rw-rw-r-- 1 jenkins jenkins 140 Aug 27 05:26 .dockerignore 05:39:36 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 05:26 .git 05:39:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 05:26 .github 05:39:36 -rw-rw-r-- 1 jenkins jenkins 137 Aug 27 05:26 .gitignore 05:39:36 -rw-rw-r-- 1 jenkins jenkins 42 Aug 27 05:26 .golangci.yml 05:39:36 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 27 05:26 CHANGELOG.md 05:39:36 -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 05:26 GOVERNANCE.md 05:39:36 -rw-rw-r-- 1 jenkins jenkins 885 Aug 27 05:26 Jenkinsfile 05:39:36 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 27 05:26 LICENSE 05:39:36 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 27 05:26 Makefile 05:39:36 -rw-rw-r-- 1 jenkins jenkins 619 Aug 27 05:26 OWNERS.md 05:39:36 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 27 05:26 README.md 05:39:36 -rw-rw-r-- 1 jenkins jenkins 12 Aug 27 05:23 VERSION 05:39:36 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 05:26 bin 05:39:36 -rw-r--r-- 1 jenkins jenkins 126053 Aug 27 05:35 coverage.out 05:39:36 drwxrwxr-x 5 jenkins jenkins 4096 Aug 27 05:26 example 05:39:36 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 27 05:26 go.mod 05:39:36 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 27 05:26 go.sum 05:39:36 drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 05:26 internal 05:39:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 05:26 openapi 05:39:36 drwxrwxr-x 6 jenkins jenkins 4096 Aug 27 05:26 pkg 05:39:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 05:26 snap 05:39:36 -rw-rw-r-- 1 jenkins jenkins 222 Aug 27 05:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:37 + 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=160aeeac7f80da201deb091151152d5490173ec8 --label arch=arm64 --label version=3.2.0-dev.33 . 05:39:37 Sending build context to Docker daemon 13.16MB 05:39:37 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:39:37 Step 2/24 : FROM ${BASE} AS builder 05:39:37 ---> 2df23d22146b 05:39:37 Step 3/24 : ARG MAKE=make build 05:39:38 ---> Running in 54ad1aa90745 05:39:38 Removing intermediate container 54ad1aa90745 05:39:38 ---> 3fd6f632e8ad 05:39:38 Step 4/24 : WORKDIR /device-sdk-go 05:39:38 ---> Running in 3a74216809b6 05:39:38 Removing intermediate container 3a74216809b6 05:39:38 ---> db3b882b3632 05:39:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:39:38 ---> Running in f3b08ff5a075 05:39:39 Removing intermediate container f3b08ff5a075 05:39:39 ---> ae39d1c79823 05:39:39 Step 6/24 : RUN apk add --update --no-cache make git 05:39:39 ---> Running in 6e54f469d012 05:39:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:39:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:39:42 OK: 266 MiB in 52 packages 05:39:42 Removing intermediate container 6e54f469d012 05:39:42 ---> fa6ba71fc684 05:39:42 Step 7/24 : COPY go.mod vendor* ./ 05:39:43 ---> 797e717cf3b2 05:39:43 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:39:43 ---> Running in 34d8b07ea93e 05:39:45 Removing intermediate container 34d8b07ea93e 05:39:45 ---> 6035c5ee4a4b 05:39:45 Step 9/24 : COPY . . 05:39:47 ---> bf8cdf8e2bf2 05:39:47 Step 10/24 : RUN ${MAKE} 05:39:47 ---> Running in 0737a1d8c352 05:39:48 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.33 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.33" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:43:54 Removing intermediate container 0737a1d8c352 05:43:54 ---> 82f1999f9167 05:43:54 Step 11/24 : FROM alpine:3.18 05:43:54 3.18: Pulling from library/alpine 05:43:54 4983c3fe2029: Pulling fs layer 05:43:54 4983c3fe2029: Download complete 05:43:54 4983c3fe2029: Pull complete 05:43:54 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 05:43:54 Status: Downloaded newer image for alpine:3.18 05:43:54 ---> a0237000ae83 05:43:54 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:43:54 ---> Running in 6cec18930370 05:43:54 Removing intermediate container 6cec18930370 05:43:54 ---> bc133065e850 05:43:54 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:43:54 ---> Running in c4a33075972a 05:43:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:43:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:43:56 (1/1) Installing dumb-init (1.2.5-r2) 05:43:56 Executing busybox-1.36.1-r7.trigger 05:43:56 OK: 8 MiB in 16 packages 05:43:57 Removing intermediate container c4a33075972a 05:43:57 ---> 0c21b70171e2 05:43:57 Step 14/24 : RUN apk --no-cache upgrade 05:43:57 ---> Running in 5d2b6a4b9fef 05:43:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:43:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:44:00 OK: 8 MiB in 16 packages 05:44:01 Removing intermediate container 5d2b6a4b9fef 05:44:01 ---> 069c60ed3f40 05:44:01 Step 15/24 : WORKDIR / 05:44:01 ---> Running in 9e0171b47b01 05:44:01 Removing intermediate container 9e0171b47b01 05:44:01 ---> db4ac44550f0 05:44:01 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:44:02 ---> e631a73cc391 05:44:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:44:04 ---> 2c03552f4588 05:44:04 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:44:05 ---> 53fdde83cb9a 05:44:05 Step 19/24 : EXPOSE 59999 05:44:05 ---> Running in 14b12685d95e 05:44:05 Removing intermediate container 14b12685d95e 05:44:05 ---> 9a5ecbbf0522 05:44:05 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:44:05 ---> Running in 0c34e5bbf30d 05:44:06 Removing intermediate container 0c34e5bbf30d 05:44:06 ---> 2ab4e3a11eed 05:44:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:44:06 ---> Running in 59fa14f52903 05:44:06 Removing intermediate container 59fa14f52903 05:44:06 ---> 22ddf26f9c73 05:44:06 Step 22/24 : LABEL arch=arm64 05:44:06 ---> Running in cc45b059c25f 05:44:06 Removing intermediate container cc45b059c25f 05:44:06 ---> ea898ada6a5f 05:44:06 Step 23/24 : LABEL git_sha=160aeeac7f80da201deb091151152d5490173ec8 05:44:06 ---> Running in 3d3ec59a0bee 05:44:07 Removing intermediate container 3d3ec59a0bee 05:44:07 ---> 6a7345c99625 05:44:07 Step 24/24 : LABEL version=3.2.0-dev.33 05:44:07 ---> Running in 8729beb86366 05:44:07 Removing intermediate container 8729beb86366 05:44:07 ---> f23a5a86d4f4 05:44:07 [Warning] One or more build-args [ARCH] were not consumed 05:44:07 Successfully built f23a5a86d4f4 05:44:07 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 05:44:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:08 05:44:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:08 arm64: Pulling from edgex-lftools-log-publisher 05:44:08 8998bd30e6a1: Pulling fs layer 05:44:08 04944245beec: Pulling fs layer 05:44:08 699f458cf7ca: Pulling fs layer 05:44:08 765212b225bb: Pulling fs layer 05:44:08 f23df028b6ca: Pulling fs layer 05:44:08 d65c8cfc05b1: Pulling fs layer 05:44:08 2437ff75d9bd: Pulling fs layer 05:44:08 f23df028b6ca: Waiting 05:44:08 d65c8cfc05b1: Waiting 05:44:08 2437ff75d9bd: Waiting 05:44:08 765212b225bb: Waiting 05:44:08 04944245beec: Verifying Checksum 05:44:08 04944245beec: Download complete 05:44:08 765212b225bb: Download complete 05:44:08 f23df028b6ca: Download complete 05:44:08 d65c8cfc05b1: Verifying Checksum 05:44:08 d65c8cfc05b1: Download complete 05:44:09 699f458cf7ca: Verifying Checksum 05:44:09 699f458cf7ca: Download complete 05:44:09 8998bd30e6a1: Verifying Checksum 05:44:12 2437ff75d9bd: Verifying Checksum 05:44:12 2437ff75d9bd: Download complete 05:44:14 8998bd30e6a1: Pull complete 05:44:15 04944245beec: Pull complete 05:44:16 699f458cf7ca: Pull complete 05:44:16 765212b225bb: Pull complete 05:44:17 f23df028b6ca: Pull complete 05:44:18 d65c8cfc05b1: Pull complete 05:44:36 2437ff75d9bd: Pull complete 05:44:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:44:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:36 prd-ubuntu20.04-docker-arm64-4c-16g-8772 does not seem to be running inside a container 05:44:36 $ 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/308 -v /w/workspace/device-sdk-go/308:/w/workspace/device-sdk-go/308:rw,z -v /w/workspace/device-sdk-go/308@tmp:/w/workspace/device-sdk-go/308@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 05:44:39 $ docker top 0c8d2c5070e29492305b69b4778b52eee47596c0ad10449bf2bec88eb97cfdbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:40 ---> job-cost.sh 05:44:40 lf-activate-venv: SKIPPING 05:44:40 INFO: No Stack... 05:44:40 INFO: Retrieving Pricing Info for: v3-standard-4 05:44:41 INFO: Archiving Costs [Pipeline] sh 05:44:42 + cat /w/workspace/device-sdk-go/308/archives/cost.csv 05:44:42 + cut -d, -f6 [Pipeline] lock 05:44:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-308-stack-cost] 05:44:42 Resource [jenkins-edgexfoundry-device-sdk-go-main-308-stack-cost] did not exist. Created. 05:44:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-308-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:44:43 /w/workspace/device-sdk-go/308@tmp/durable-5b41fd8d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:44:43 + echo total: 0.10999999940395355 [Pipeline] stash 05:44:43 Warning: overwriting stash ‘stack-cost’ 05:44:43 Stashed 1 file(s) [Pipeline] } 05:44:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-308-stack-cost] [Pipeline] // lock [Pipeline] } 05:44:43 $ docker stop --time=1 0c8d2c5070e29492305b69b4778b52eee47596c0ad10449bf2bec88eb97cfdbd 05:44:45 $ docker rm -f --volumes 0c8d2c5070e29492305b69b4778b52eee47596c0ad10449bf2bec88eb97cfdbd [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 05:44:45 provisioning config files... 05:44:45 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14741310473213898182tmp [Pipeline] { [Pipeline] sh 05:44:46 + set +x 05:44:46 + curl -s https://codecov.io/bash 05:44:46 + bash -s -- 05:44:46 05:44:46 _____ _ 05:44:46 / ____| | | 05:44:46 | | ___ __| | ___ ___ _____ __ 05:44:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:44:46 | |___| (_) | (_| | __/ (_| (_) \ V / 05:44:46 \_____\___/ \__,_|\___|\___\___/ \_/ 05:44:46 Bash-1.0.6 05:44:46 05:44:46 05:44:46 ==> git version 2.25.1 found 05:44:46 ==> 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 05:44:46 Release-Date: 2020-01-08 05:44:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:44:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:44:46 ==> Jenkins CI detected. 05:44:46 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:44:46 project root: . 05:44:46 --> token set from env 05:44:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:44:46 ==> Running gcov in . (disable via -X gcov) 05:44:46 ==> Python coveragepy not found 05:44:46 ==> Searching for coverage reports in: 05:44:46 + . 05:44:46 -> Found 1 reports 05:44:46 ==> Detecting git/mercurial file structure 05:44:46 ==> Reading reports 05:44:46 + ./coverage.out bytes=126053 05:44:46 ==> Appending adjustments 05:44:46 https://docs.codecov.io/docs/fixing-reports 05:44:46 + Found adjustments 05:44:46 ==> Gzipping contents 05:44:46 20K /tmp/codecov.tZLtuH.gz 05:44:46 ==> Uploading reports 05:44:46 url: https://codecov.io 05:44:46 query: branch=main&commit=160aeeac7f80da201deb091151152d5490173ec8&build=308&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F308%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:44:46 -> Pinging Codecov 05:44:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=160aeeac7f80da201deb091151152d5490173ec8&build=308&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F308%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:44:46 -> Uploading to 05:44:46 https://storage.googleapis.com/codecov/v4/raw/2024-08-27/7E55EF52A471D76F132DFD9A03CDDE97/160aeeac7f80da201deb091151152d5490173ec8/e8242f86-2c00-4e47-9e8a-a0b95e509cea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240827%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240827T054446Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b829b8d09c430587bee35c234495ef34e71f547358868bb4be545ca16d007d11 05:44:46 % Total % Received % Xferd Average Speed Time Time Time Current 05:44:46 Dload Upload Total Spent Left Speed 05:44:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17149 0 0 100 17149 0 72665 --:--:-- --:--:-- --:--:-- 72665 05:44:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/160aeeac7f80da201deb091151152d5490173ec8 [Pipeline] } 05:44:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:44:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:44:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:44:47 05:44:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:44:47 latest: Pulling from edgex-devops/edgex-snyk-go 05:44:47 619be1103602: Already exists 05:44:47 f8ea3408117e: Pulling fs layer 05:44:47 91320369b822: Pulling fs layer 05:44:47 0406650e8295: Pulling fs layer 05:44:47 4f4fb700ef54: Pulling fs layer 05:44:47 96d80e3f36e1: Pulling fs layer 05:44:47 bcf3aedb951c: Pulling fs layer 05:44:47 4f4fb700ef54: Waiting 05:44:47 96d80e3f36e1: Waiting 05:44:47 bcf3aedb951c: Waiting 05:44:47 0406650e8295: Verifying Checksum 05:44:47 0406650e8295: Download complete 05:44:47 4f4fb700ef54: Verifying Checksum 05:44:47 4f4fb700ef54: Download complete 05:44:48 f8ea3408117e: Pull complete 05:44:48 96d80e3f36e1: Verifying Checksum 05:44:48 96d80e3f36e1: Download complete 05:44:48 91320369b822: Download complete 05:44:48 bcf3aedb951c: Verifying Checksum 05:44:48 bcf3aedb951c: Download complete 05:44:51 91320369b822: Pull complete 05:44:51 0406650e8295: Pull complete 05:44:51 4f4fb700ef54: Pull complete 05:44:51 96d80e3f36e1: Pull complete 05:44:54 bcf3aedb951c: Pull complete 05:44:54 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 05:44:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 05:44:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:54 prd-ubuntu20.04-docker-8c-8g-8769 does not seem to be running inside a container 05:44:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 05:44:58 $ docker top fe4e6dc9e6ece5e6fae116e4a48ac9b4d30844c4be44504066d6fbdb587ea742 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] echo 05:44:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:44:59 + set -o pipefail 05:44:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:45:05 05:45:05 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:45:05 05:45:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/80c02c92-da95-4ab8-8040-370374fa7a13/history/f1d85b13-531b-4d59-a0a8-6e67ad152d11 05:45:05 05:45:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:45:05 05:45:05 05:45:05 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 05:45:05 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:45:05 $ docker stop --time=1 fe4e6dc9e6ece5e6fae116e4a48ac9b4d30844c4be44504066d6fbdb587ea742 05:45:10 $ docker rm -f --volumes fe4e6dc9e6ece5e6fae116e4a48ac9b4d30844c4be44504066d6fbdb587ea742 [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 05:45:11 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:11 provisioning config files... 05:45:11 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16096312128020202153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:11 --> edgex-publish-swagger.sh 05:45:11 === Publish openapi/v3 API === 05:45:11 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:45:11 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:45:11 % Total % Received % Xferd Average Speed Time Time Time Current 05:45:11 Dload Upload Total Spent Left Speed 05:45:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28528 100 156 100 28372 379 69031 --:--:-- --:--:-- --:--:-- 69242 100 28528 100 156 100 28372 379 69031 --:--:-- --:--:-- --:--:-- 69242 05:45:11 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 05:45:11 [Pipeline] } 05:45:11 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 05:45:12 + git log --format=format:%s -1 160aeeac7f80da201deb091151152d5490173ec8 [Pipeline] sh 05:45:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:12 prd-ubuntu20.04-docker-8c-8g-8769 does not seem to be running inside a container 05:45:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:45:13 $ docker top 3f5b296f1af45ce203da3a508523fd6a9f7c4dca3e2f32f8684021f27a5778e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:13 [ssh-agent] Looking for ssh-agent implementation... 05:45:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:13 $ docker exec 3f5b296f1af45ce203da3a508523fd6a9f7c4dca3e2f32f8684021f27a5778e8 ssh-agent 05:45:13 SSH_AUTH_SOCK=/tmp/ssh-RGE9zRfztQq9/agent.32 05:45:13 SSH_AGENT_PID=38 05:45:13 Running ssh-add (command line suppressed) 05:45:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7526105935169748759.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7526105935169748759.key) 05:45:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:13 + git semver tag 05:45:14 2024-08-27 05:45:14,087 [run_tag] DEBUG tag force:False 05:45:14 2024-08-27 05:45:14,087 [check_head_tag] DEBUG check head tag 05:45:14 2024-08-27 05:45:14,089 [execute] INFO git cat-file --batch-check 05:45:14 2024-08-27 05:45:14,089 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:45:14 2024-08-27 05:45:14,092 [execute] INFO git cat-file --batch 05:45:14 2024-08-27 05:45:14,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:45:14 2024-08-27 05:45:14,119 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:45:14 2024-08-27 05:45:14,119 [execute] INFO git tag -a v3.2.0-dev.33 -m v3.2.0-dev.33 05:45:14 2024-08-27 05:45:14,120 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.33', '-m', 'v3.2.0-dev.33'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:45:14 2024-08-27 05:45:14,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:45:14 3.2.0-dev.33 [Pipeline] } 05:45:14 $ docker exec --env ******** --env ******** 3f5b296f1af45ce203da3a508523fd6a9f7c4dca3e2f32f8684021f27a5778e8 ssh-agent -k 05:45:14 unset SSH_AUTH_SOCK; 05:45:14 unset SSH_AGENT_PID; 05:45:14 echo Agent pid 38 killed; 05:45:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:14 + git semver [Pipeline] } 05:45:14 $ docker stop --time=1 3f5b296f1af45ce203da3a508523fd6a9f7c4dca3e2f32f8684021f27a5778e8 05:45:16 $ docker rm -f --volumes 3f5b296f1af45ce203da3a508523fd6a9f7c4dca3e2f32f8684021f27a5778e8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:16 05:45:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:16 0.23.1-centos7: Pulling from edgex-lftools 05:45:16 ab5ef0e58194: Pulling fs layer 05:45:16 9712f1f96733: Pulling fs layer 05:45:16 63f879dbbcfc: Pulling fs layer 05:45:16 0d9ebad4ef96: Pulling fs layer 05:45:16 e9a5061849ea: Pulling fs layer 05:45:16 d747dcd14b5f: Pulling fs layer 05:45:16 2de7ff778b66: Pulling fs layer 05:45:16 2de7ff778b66: Waiting 05:45:16 d747dcd14b5f: Waiting 05:45:16 0d9ebad4ef96: Waiting 05:45:16 9712f1f96733: Verifying Checksum 05:45:16 9712f1f96733: Download complete 05:45:17 63f879dbbcfc: Verifying Checksum 05:45:17 63f879dbbcfc: Download complete 05:45:17 0d9ebad4ef96: Verifying Checksum 05:45:17 0d9ebad4ef96: Download complete 05:45:17 d747dcd14b5f: Verifying Checksum 05:45:17 d747dcd14b5f: Download complete 05:45:17 e9a5061849ea: Verifying Checksum 05:45:17 ab5ef0e58194: Download complete 05:45:17 2de7ff778b66: Verifying Checksum 05:45:17 2de7ff778b66: Download complete 05:45:19 ab5ef0e58194: Pull complete 05:45:19 9712f1f96733: Pull complete 05:45:20 63f879dbbcfc: Pull complete 05:45:24 0d9ebad4ef96: Pull complete 05:45:24 e9a5061849ea: Pull complete 05:45:24 d747dcd14b5f: Pull complete 05:45:25 2de7ff778b66: Pull complete 05:45:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:45:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:25 prd-ubuntu20.04-docker-8c-8g-8769 does not seem to be running inside a container 05:45:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:45:30 $ docker top 31a2594fe2096c183dfbb92c1fff227290d77150c251fbcf8640e20cb575e63e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:45:30 provisioning config files... 05:45:30 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9377068951956978689tmp 05:45:30 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3320431881906163627tmp 05:45:30 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config602310787934438074tmp [Pipeline] { [Pipeline] echo 05:45:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:45:31 ---> sigul-configuration.sh 05:45:31 gpg: directory `/root/.gnupg' created 05:45:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:45:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:45:31 gpg: keyring `/root/.gnupg/secring.gpg' created 05:45:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:45:31 gpg: CAST5 encrypted data 05:45:31 gpg: encrypted with 1 passphrase 05:45:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:45:31 + mkdir /home/jenkins 05:45:31 + mkdir /home/jenkins/sigul [Pipeline] sh 05:45:31 + 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 05:45:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:45:31 ---> sigul-install.sh 05:45:31 Sigul already installed; skipping installation. [Pipeline] sh 05:45:32 + git tag --list 05:45:32 0.7.1 05:45:32 delhi-tag 05:45:32 v1.0.0 05:45:32 v1.1.0 05:45:32 v1.1.1 05:45:32 v1.1.2 05:45:32 v1.2.0 05:45:32 v1.2.1 05:45:32 v1.2.2 05:45:32 v1.2.3 05:45:32 v1.3.0 05:45:32 v1.4.0 05:45:32 v2.0.0 05:45:32 v2.1.0 05:45:32 v2.1.1 05:45:32 v2.2.0 05:45:32 v2.3.0 05:45:32 v2.3.1 05:45:32 v3.0 05:45:32 v3.0.0 05:45:32 v3.0.1-dev.1 05:45:32 v3.1 05:45:32 v3.1.0 05:45:32 v3.1.0-dev.1 05:45:32 v3.1.0-dev.10 05:45:32 v3.1.0-dev.11 05:45:32 v3.1.0-dev.12 05:45:32 v3.1.0-dev.13 05:45:32 v3.1.0-dev.14 05:45:32 v3.1.0-dev.15 05:45:32 v3.1.0-dev.16 05:45:32 v3.1.0-dev.17 05:45:32 v3.1.0-dev.18 05:45:32 v3.1.0-dev.19 05:45:32 v3.1.0-dev.2 05:45:32 v3.1.0-dev.20 05:45:32 v3.1.0-dev.21 05:45:32 v3.1.0-dev.22 05:45:32 v3.1.0-dev.23 05:45:32 v3.1.0-dev.24 05:45:32 v3.1.0-dev.25 05:45:32 v3.1.0-dev.26 05:45:32 v3.1.0-dev.27 05:45:32 v3.1.0-dev.28 05:45:32 v3.1.0-dev.29 05:45:32 v3.1.0-dev.3 05:45:32 v3.1.0-dev.30 05:45:32 v3.1.0-dev.31 05:45:32 v3.1.0-dev.32 05:45:32 v3.1.0-dev.33 05:45:32 v3.1.0-dev.34 05:45:32 v3.1.0-dev.35 05:45:32 v3.1.0-dev.36 05:45:32 v3.1.0-dev.37 05:45:32 v3.1.0-dev.38 05:45:32 v3.1.0-dev.39 05:45:32 v3.1.0-dev.4 05:45:32 v3.1.0-dev.40 05:45:32 v3.1.0-dev.41 05:45:32 v3.1.0-dev.5 05:45:32 v3.1.0-dev.6 05:45:32 v3.1.0-dev.7 05:45:32 v3.1.0-dev.8 05:45:32 v3.1.0-dev.9 05:45:32 v3.1.1 05:45:32 v3.1.1-dev.1 05:45:32 v3.2.0-dev.1 05:45:32 v3.2.0-dev.10 05:45:32 v3.2.0-dev.11 05:45:32 v3.2.0-dev.12 05:45:32 v3.2.0-dev.13 05:45:32 v3.2.0-dev.14 05:45:32 v3.2.0-dev.15 05:45:32 v3.2.0-dev.16 05:45:32 v3.2.0-dev.17 05:45:32 v3.2.0-dev.18 05:45:32 v3.2.0-dev.19 05:45:32 v3.2.0-dev.2 05:45:32 v3.2.0-dev.20 05:45:32 v3.2.0-dev.21 05:45:32 v3.2.0-dev.22 05:45:32 v3.2.0-dev.23 05:45:32 v3.2.0-dev.24 05:45:32 v3.2.0-dev.25 05:45:32 v3.2.0-dev.26 05:45:32 v3.2.0-dev.27 05:45:32 v3.2.0-dev.28 05:45:32 v3.2.0-dev.29 05:45:32 v3.2.0-dev.3 05:45:32 v3.2.0-dev.30 05:45:32 v3.2.0-dev.31 05:45:32 v3.2.0-dev.32 05:45:32 v3.2.0-dev.33 05:45:32 v3.2.0-dev.4 05:45:32 v3.2.0-dev.5 05:45:32 v3.2.0-dev.6 05:45:32 v3.2.0-dev.7 05:45:32 v3.2.0-dev.8 05:45:32 v3.2.0-dev.9 [Pipeline] sh 05:45:32 + lftools sign git-tag v3.2.0-dev.33 05:45:33 Signing Git tag with Sigul... 05:45:33 Signing v3.2.0-dev.33 [Pipeline] echo 05:45:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:45:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:45:33 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:45:33 $ docker stop --time=1 31a2594fe2096c183dfbb92c1fff227290d77150c251fbcf8640e20cb575e63e 05:45:35 $ docker rm -f --volumes 31a2594fe2096c183dfbb92c1fff227290d77150c251fbcf8640e20cb575e63e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:45:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:35 prd-ubuntu20.04-docker-8c-8g-8769 does not seem to be running inside a container 05:45:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:45:36 $ docker top 1d4070b1f7888bcc8aa27c02f0285bbe451effd3ec279f87e8f729beb72922ad -eo pid,comm 05:45:36 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). 05:45:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:36 [ssh-agent] Looking for ssh-agent implementation... 05:45:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:36 $ docker exec 1d4070b1f7888bcc8aa27c02f0285bbe451effd3ec279f87e8f729beb72922ad ssh-agent 05:45:36 SSH_AUTH_SOCK=/tmp/ssh-Pi4lObdCpPmc/agent.32 05:45:36 SSH_AGENT_PID=38 05:45:36 Running ssh-add (command line suppressed) 05:45:36 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1634149645955352115.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1634149645955352115.key) 05:45:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:37 + git semver bump pre 05:45:37 2024-08-27 05:45:37,203 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:45:37 2024-08-27 05:45:37,203 [bump_version] DEBUG bumping version:3.2.0-dev.33 on axis:pre with prefix:dev 05:45:37 2024-08-27 05:45:37,203 [bump_version] DEBUG bumped version:3.2.0-dev.34 05:45:37 2024-08-27 05:45:37,203 [write_version] DEBUG write version:3.2.0-dev.34 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:45:37 2024-08-27 05:45:37,203 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:45:37 2024-08-27 05:45:37,203 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:45:37 2024-08-27 05:45:37,206 [execute] INFO git cat-file --batch-check 05:45:37 2024-08-27 05:45:37,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:37 2024-08-27 05:45:37,212 [execute] INFO git cat-file --batch 05:45:37 2024-08-27 05:45:37,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:37 2024-08-27 05:45:37,217 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:45:37 3.2.0-dev.34 [Pipeline] } 05:45:37 $ docker exec --env ******** --env ******** 1d4070b1f7888bcc8aa27c02f0285bbe451effd3ec279f87e8f729beb72922ad ssh-agent -k 05:45:37 unset SSH_AUTH_SOCK; 05:45:37 unset SSH_AGENT_PID; 05:45:37 echo Agent pid 38 killed; 05:45:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:37 + git semver [Pipeline] } 05:45:37 $ docker stop --time=1 1d4070b1f7888bcc8aa27c02f0285bbe451effd3ec279f87e8f729beb72922ad 05:45:39 $ docker rm -f --volumes 1d4070b1f7888bcc8aa27c02f0285bbe451effd3ec279f87e8f729beb72922ad [Pipeline] // withDockerContainer [Pipeline] sh 05:45:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:40 prd-ubuntu20.04-docker-8c-8g-8769 does not seem to be running inside a container 05:45:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:45:40 $ docker top b2d763d58727ae508afb9de2dba6d6013a213a535b71e16cb0c0a7959f652df0 -eo pid,comm 05:45:40 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). 05:45:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:40 [ssh-agent] Looking for ssh-agent implementation... 05:45:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:40 $ docker exec b2d763d58727ae508afb9de2dba6d6013a213a535b71e16cb0c0a7959f652df0 ssh-agent 05:45:40 SSH_AUTH_SOCK=/tmp/ssh-S66PL5pgjmSg/agent.32 05:45:40 SSH_AGENT_PID=38 05:45:40 Running ssh-add (command line suppressed) 05:45:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10643577454170532773.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10643577454170532773.key) 05:45:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:41 + git semver push 05:45:41 2024-08-27 05:45:41,359 [run_push] DEBUG push 05:45:41 2024-08-27 05:45:41,360 [execute] INFO git cat-file --batch-check 05:45:41 2024-08-27 05:45:41,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:41 2024-08-27 05:45:41,365 [execute] INFO git rev-list ca2f490e1f0f93b0fa4c3c43cc5e449597b3ed73 -- 05:45:41 2024-08-27 05:45:41,365 [execute] DEBUG Popen(['git', 'rev-list', 'ca2f490e1f0f93b0fa4c3c43cc5e449597b3ed73', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:45:41 2024-08-27 05:45:41,381 [execute] INFO git fetch -v origin 05:45:41 2024-08-27 05:45:41,381 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:45:41 2024-08-27 05:45:41,888 [run_push] DEBUG no remote changes detected 05:45:41 2024-08-27 05:45:41,889 [execute] INFO git push origin semver 05:45:41 2024-08-27 05:45:41,890 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:45:42 2024-08-27 05:45:42,639 [run_push] DEBUG push all version tags 05:45:42 2024-08-27 05:45:42,639 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:45:42 2024-08-27 05:45:42,640 [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) 05:45:43 2024-08-27 05:45:43,335 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:45:43 3.2.0-dev.34 [Pipeline] } 05:45:43 $ docker exec --env ******** --env ******** b2d763d58727ae508afb9de2dba6d6013a213a535b71e16cb0c0a7959f652df0 ssh-agent -k 05:45:43 unset SSH_AUTH_SOCK; 05:45:43 unset SSH_AGENT_PID; 05:45:43 echo Agent pid 38 killed; 05:45:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:43 + git semver [Pipeline] } 05:45:44 $ docker stop --time=1 b2d763d58727ae508afb9de2dba6d6013a213a535b71e16cb0c0a7959f652df0 05:45:45 $ docker rm -f --volumes b2d763d58727ae508afb9de2dba6d6013a213a535b71e16cb0c0a7959f652df0 [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 05:45:46 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:45:46 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:45:46 total 16 05:45:46 drwxr-xr-x 3 root root 4096 Aug 27 05:26 . 05:45:46 drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 05:45 .. 05:45:46 drwxr-xr-x 2 root root 4096 Aug 27 05:26 cost 05:45:46 -rw-r--r-- 1 root root 85 Aug 27 05:26 cost.csv 05:45:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:45:46 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:45:46 total 16 05:45:46 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 05:26 . 05:45:46 drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 05:45 .. 05:45:46 drwxr-xr-x 2 jenkins jenkins 4096 Aug 27 05:26 cost 05:45:46 -rw-r--r-- 1 jenkins jenkins 85 Aug 27 05:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:45:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:45:47 ---> package-listing.sh 05:45:47 ++ facter osfamily 05:45:47 ++ tr '[:upper:]' '[:lower:]' 05:45:47 + OS_FAMILY=debian 05:45:47 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:45:47 + START_PACKAGES=/tmp/packages_start.txt 05:45:47 + END_PACKAGES=/tmp/packages_end.txt 05:45:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:45:47 + PACKAGES=/tmp/packages_start.txt 05:45:47 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:45:47 + PACKAGES=/tmp/packages_end.txt 05:45:47 + case "${OS_FAMILY}" in 05:45:47 + dpkg -l 05:45:47 + grep '^ii' 05:45:47 + '[' -f /tmp/packages_start.txt ']' 05:45:47 + '[' -f /tmp/packages_end.txt ']' 05:45:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:45:47 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:45:47 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:45:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:45:47 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 05:45:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:48 prd-ubuntu20.04-docker-8c-8g-8769 does not seem to be running inside a container 05:45:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:45:48 $ docker top 36e538b4695008faf95ab1b15ec85c0082d19eebdc7bc254f693ea6427d4d300 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:48 + touch /tmp/pre-build-complete [Pipeline] sh 05:45:49 + mkdir -p /var/log/sysstat [Pipeline] sh 05:45:49 + ls /var/log/sa-host 05:45:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:49 provisioning config files... 05:45:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13553495435271331862tmp [Pipeline] { [Pipeline] echo 05:45:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:45:49 ---> create-netrc.sh [Pipeline] } 05:45:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:45:50 ---> python-tools-install.sh [Pipeline] echo 05:45:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:45:50 ---> sudo-logs.sh 05:45:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:45:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:45:51 ---> job-cost.sh 05:45:51 lf-activate-venv: SKIPPING 05:45:51 DEBUG: total: 0.2199999988079071 05:45:51 INFO: Retrieving Stack Cost... 05:45:51 INFO: Retrieving Pricing Info for: v3-standard-8 05:45:51 INFO: Archiving Costs [Pipeline] echo 05:45:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:45:51 ---> logs-deploy.sh 05:45:51 lf-activate-venv: SKIPPING 05:45:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/308 05:45:51 INFO: archiving workspace using pattern(s): 05:45:52 Archives upload complete. 05:45:52 INFO: archiving logs to Nexus